You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Chime::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::Chime::Client
- Defined in:
- (unknown)
Overview
An API client for Amazon Chime. To construct a client, you need to configure a :region
and :credentials
.
chime = Aws::Chime::Client.new(
region: region_name,
credentials: credentials,
# ...
)
See #initialize for a full list of supported configuration options.
Region
You can configure a default region in the following locations:
ENV['AWS_REGION']
Aws.config[:region]
Go here for a list of supported regions.
Credentials
Default credentials are loaded automatically from the following locations:
ENV['AWS_ACCESS_KEY_ID']
andENV['AWS_SECRET_ACCESS_KEY']
Aws.config[:credentials]
- The shared credentials ini file at
~/.aws/credentials
(more information) - From an instance profile when running on EC2
You can also construct a credentials object from one of the following classes:
Alternatively, you configure credentials with :access_key_id
and
:secret_access_key
:
# load credentials from disk
creds = YAML.load(File.read('/path/to/secrets'))
Aws::Chime::Client.new(
access_key_id: creds['access_key_id'],
secret_access_key: creds['secret_access_key']
)
Always load your credentials from outside your application. Avoid configuring credentials statically and never commit them to source control.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
Constructor collapse
-
#initialize(options = {}) ⇒ Aws::Chime::Client
constructor
Constructs an API client.
API Operations collapse
-
#associate_phone_number_with_user(options = {}) ⇒ Struct
Associates a phone number with the specified Amazon Chime user.
.
-
#associate_phone_numbers_with_voice_connector(options = {}) ⇒ Types::AssociatePhoneNumbersWithVoiceConnectorResponse
Associates phone numbers with the specified Amazon Chime Voice Connector.
.
-
#associate_phone_numbers_with_voice_connector_group(options = {}) ⇒ Types::AssociatePhoneNumbersWithVoiceConnectorGroupResponse
Associates phone numbers with the specified Amazon Chime Voice Connector group.
.
-
#associate_signin_delegate_groups_with_account(options = {}) ⇒ Struct
Associates the specified sign-in delegate groups with the specified Amazon Chime account.
.
-
#batch_create_attendee(options = {}) ⇒ Types::BatchCreateAttendeeResponse
Creates up to 100 new attendees for an active Amazon Chime SDK meeting.
-
#batch_create_room_membership(options = {}) ⇒ Types::BatchCreateRoomMembershipResponse
Adds up to 50 members to a chat room in an Amazon Chime Enterprise account.
-
#batch_delete_phone_number(options = {}) ⇒ Types::BatchDeletePhoneNumberResponse
Moves phone numbers into the Deletion queue.
-
#batch_suspend_user(options = {}) ⇒ Types::BatchSuspendUserResponse
Suspends up to 50 users from a
Team
orEnterpriseLWA
Amazon Chime account. -
#batch_unsuspend_user(options = {}) ⇒ Types::BatchUnsuspendUserResponse
Removes the suspension from up to 50 previously suspended users for the specified Amazon Chime
EnterpriseLWA
account. -
#batch_update_phone_number(options = {}) ⇒ Types::BatchUpdatePhoneNumberResponse
Updates phone number product types or calling names.
-
#batch_update_user(options = {}) ⇒ Types::BatchUpdateUserResponse
Updates user details within the UpdateUserRequestItem object for up to 20 users for the specified Amazon Chime account.
-
#create_account(options = {}) ⇒ Types::CreateAccountResponse
Creates an Amazon Chime account under the administrator's AWS account.
-
#create_app_instance(options = {}) ⇒ Types::CreateAppInstanceResponse
Creates an Amazon Chime Messaging SDK
AppInstance
under an AWS Account. -
#create_app_instance_admin(options = {}) ⇒ Types::CreateAppInstanceAdminResponse
Promotes an
AppInstanceUser
to anAppInstanceAdmin
. -
#create_app_instance_user(options = {}) ⇒ Types::CreateAppInstanceUserResponse
Creates a user under an Amazon Chime
AppInstance
. -
#create_attendee(options = {}) ⇒ Types::CreateAttendeeResponse
Creates a new attendee for an active Amazon Chime SDK meeting.
-
#create_bot(options = {}) ⇒ Types::CreateBotResponse
Creates a bot for an Amazon Chime Enterprise account.
.
-
#create_channel(options = {}) ⇒ Types::CreateChannelResponse
Creates a channel to which you can add users and send messages.
Restriction: You can't change a channel's privacy.
. -
#create_channel_ban(options = {}) ⇒ Types::CreateChannelBanResponse
Permanently bans a member from a channel.
-
#create_channel_membership(options = {}) ⇒ Types::CreateChannelMembershipResponse
Adds a user to a channel.
-
#create_channel_moderator(options = {}) ⇒ Types::CreateChannelModeratorResponse
Creates a new
ChannelModerator
. -
#create_meeting(options = {}) ⇒ Types::CreateMeetingResponse
Creates a new Amazon Chime SDK meeting in the specified media Region with no initial attendees.
-
#create_meeting_dial_out(options = {}) ⇒ Types::CreateMeetingDialOutResponse
Uses the join token and call metadata in a meeting request (From number, To number, and so forth) to initiate an outbound call to a public switched telephone network (PSTN) and joins them into Chime meeting.
-
#create_meeting_with_attendees(options = {}) ⇒ Types::CreateMeetingWithAttendeesResponse
Creates a new Amazon Chime SDK meeting in the specified media Region, with attendees.
-
#create_phone_number_order(options = {}) ⇒ Types::CreatePhoneNumberOrderResponse
Creates an order for phone numbers to be provisioned.
-
#create_proxy_session(options = {}) ⇒ Types::CreateProxySessionResponse
Creates a proxy session on the specified Amazon Chime Voice Connector for the specified participant phone numbers.
.
-
#create_room(options = {}) ⇒ Types::CreateRoomResponse
Creates a chat room for the specified Amazon Chime Enterprise account.
.
-
#create_room_membership(options = {}) ⇒ Types::CreateRoomMembershipResponse
Adds a member to a chat room in an Amazon Chime Enterprise account.
-
#create_sip_media_application(options = {}) ⇒ Types::CreateSipMediaApplicationResponse
Creates a SIP media application.
.
-
#create_sip_media_application_call(options = {}) ⇒ Types::CreateSipMediaApplicationCallResponse
Creates an outbound call to a phone number from the phone number specified in the request, and it invokes the endpoint of the specified
sipMediaApplicationId
..
-
#create_sip_rule(options = {}) ⇒ Types::CreateSipRuleResponse
Creates a SIP rule which can be used to run a SIP media application as a target for a specific trigger type.
.
-
#create_user(options = {}) ⇒ Types::CreateUserResponse
Creates a user under the specified Amazon Chime account.
.
-
#create_voice_connector(options = {}) ⇒ Types::CreateVoiceConnectorResponse
Creates an Amazon Chime Voice Connector under the administrator's AWS account.
-
#create_voice_connector_group(options = {}) ⇒ Types::CreateVoiceConnectorGroupResponse
Creates an Amazon Chime Voice Connector group under the administrator's AWS account.
-
#delete_account(options = {}) ⇒ Struct
Deletes the specified Amazon Chime account.
-
#delete_app_instance(options = {}) ⇒ Struct
Deletes an
AppInstance
and all associated data asynchronously..
-
#delete_app_instance_admin(options = {}) ⇒ Struct
Demotes an
AppInstanceAdmin
to anAppInstanceUser
. -
#delete_app_instance_streaming_configurations(options = {}) ⇒ Struct
Deletes the streaming configurations of an app instance.
.
-
#delete_app_instance_user(options = {}) ⇒ Struct
Deletes an
AppInstanceUser
..
-
#delete_attendee(options = {}) ⇒ Struct
Deletes an attendee from the specified Amazon Chime SDK meeting and deletes their
JoinToken
. -
#delete_channel(options = {}) ⇒ Struct
Immediately makes a channel and its memberships inaccessible and marks them for deletion.
-
#delete_channel_ban(options = {}) ⇒ Struct
Removes a user from a channel's ban list.
.
-
#delete_channel_membership(options = {}) ⇒ Struct
Removes a member from a channel.
.
-
#delete_channel_message(options = {}) ⇒ Struct
Deletes a channel message.
-
#delete_channel_moderator(options = {}) ⇒ Struct
Deletes a channel moderator.
.
-
#delete_events_configuration(options = {}) ⇒ Struct
Deletes the events configuration that allows a bot to receive outgoing events.
.
-
#delete_meeting(options = {}) ⇒ Struct
Deletes the specified Amazon Chime SDK meeting.
-
#delete_phone_number(options = {}) ⇒ Struct
Moves the specified phone number into the Deletion queue.
-
#delete_proxy_session(options = {}) ⇒ Struct
Deletes the specified proxy session from the specified Amazon Chime Voice Connector.
.
-
#delete_room(options = {}) ⇒ Struct
Deletes a chat room in an Amazon Chime Enterprise account.
.
-
#delete_room_membership(options = {}) ⇒ Struct
Removes a member from a chat room in an Amazon Chime Enterprise account.
.
-
#delete_sip_media_application(options = {}) ⇒ Struct
Deletes a SIP media application.
.
-
#delete_sip_rule(options = {}) ⇒ Struct
Deletes a SIP rule.
-
#delete_voice_connector(options = {}) ⇒ Struct
Deletes the specified Amazon Chime Voice Connector.
-
#delete_voice_connector_emergency_calling_configuration(options = {}) ⇒ Struct
Deletes the emergency calling configuration details from the specified Amazon Chime Voice Connector.
.
-
#delete_voice_connector_group(options = {}) ⇒ Struct
Deletes the specified Amazon Chime Voice Connector group.
-
#delete_voice_connector_origination(options = {}) ⇒ Struct
Deletes the origination settings for the specified Amazon Chime Voice Connector.
If emergency calling is configured for the Amazon Chime Voice Connector, it must be deleted prior to deleting the origination settings.
-
#delete_voice_connector_proxy(options = {}) ⇒ Struct
Deletes the proxy configuration from the specified Amazon Chime Voice Connector.
.
-
#delete_voice_connector_streaming_configuration(options = {}) ⇒ Struct
Deletes the streaming configuration for the specified Amazon Chime Voice Connector.
.
-
#delete_voice_connector_termination(options = {}) ⇒ Struct
Deletes the termination settings for the specified Amazon Chime Voice Connector.
If emergency calling is configured for the Amazon Chime Voice Connector, it must be deleted prior to deleting the termination settings.
-
#delete_voice_connector_termination_credentials(options = {}) ⇒ Struct
Deletes the specified SIP credentials used by your equipment to authenticate during call termination.
.
-
#describe_app_instance(options = {}) ⇒ Types::DescribeAppInstanceResponse
Returns the full details of an
AppInstance
..
-
#describe_app_instance_admin(options = {}) ⇒ Types::DescribeAppInstanceAdminResponse
Returns the full details of an
AppInstanceAdmin
..
-
#describe_app_instance_user(options = {}) ⇒ Types::DescribeAppInstanceUserResponse
Returns the full details of an
AppInstanceUser
..
-
#describe_channel(options = {}) ⇒ Types::DescribeChannelResponse
Returns the full details of a channel in an Amazon Chime app instance.
.
-
#describe_channel_ban(options = {}) ⇒ Types::DescribeChannelBanResponse
Returns the full details of a channel ban.
.
-
#describe_channel_membership(options = {}) ⇒ Types::DescribeChannelMembershipResponse
Returns the full details of a user's channel membership.
.
-
#describe_channel_membership_for_app_instance_user(options = {}) ⇒ Types::DescribeChannelMembershipForAppInstanceUserResponse
Returns the details of a channel based on the membership of the
AppInstanceUser
specified..
-
#describe_channel_moderated_by_app_instance_user(options = {}) ⇒ Types::DescribeChannelModeratedByAppInstanceUserResponse
Returns the full details of a channel moderated by the specified
AppInstanceUser
..
-
#describe_channel_moderator(options = {}) ⇒ Types::DescribeChannelModeratorResponse
Returns the full details of a single ChannelModerator.
.
-
#disassociate_phone_number_from_user(options = {}) ⇒ Struct
Disassociates the primary provisioned phone number from the specified Amazon Chime user.
.
-
#disassociate_phone_numbers_from_voice_connector(options = {}) ⇒ Types::DisassociatePhoneNumbersFromVoiceConnectorResponse
Disassociates the specified phone numbers from the specified Amazon Chime Voice Connector.
.
-
#disassociate_phone_numbers_from_voice_connector_group(options = {}) ⇒ Types::DisassociatePhoneNumbersFromVoiceConnectorGroupResponse
Disassociates the specified phone numbers from the specified Amazon Chime Voice Connector group.
.
-
#disassociate_signin_delegate_groups_from_account(options = {}) ⇒ Struct
Disassociates the specified sign-in delegate groups from the specified Amazon Chime account.
.
-
#get_account(options = {}) ⇒ Types::GetAccountResponse
Retrieves details for the specified Amazon Chime account, such as account type and supported licenses.
.
-
#get_account_settings(options = {}) ⇒ Types::GetAccountSettingsResponse
Retrieves account settings for the specified Amazon Chime account ID, such as remote control and dial out settings.
-
#get_app_instance_retention_settings(options = {}) ⇒ Types::GetAppInstanceRetentionSettingsResponse
Gets the retention settings for an app instance.
.
-
#get_app_instance_streaming_configurations(options = {}) ⇒ Types::GetAppInstanceStreamingConfigurationsResponse
Gets the streaming settings for an app instance.
.
-
#get_attendee(options = {}) ⇒ Types::GetAttendeeResponse
Gets the Amazon Chime SDK attendee details for a specified meeting ID and attendee ID.
-
#get_bot(options = {}) ⇒ Types::GetBotResponse
Retrieves details for the specified bot, such as bot email address, bot type, status, and display name.
.
-
#get_channel_message(options = {}) ⇒ Types::GetChannelMessageResponse
Gets the full details of a channel message.
.
-
#get_events_configuration(options = {}) ⇒ Types::GetEventsConfigurationResponse
Gets details for an events configuration that allows a bot to receive outgoing events, such as an HTTPS endpoint or Lambda function ARN.
-
#get_global_settings(options = {}) ⇒ Types::GetGlobalSettingsResponse
Retrieves global settings for the administrator's AWS account, such as Amazon Chime Business Calling and Amazon Chime Voice Connector settings.
.
-
#get_meeting(options = {}) ⇒ Types::GetMeetingResponse
Gets the Amazon Chime SDK meeting details for the specified meeting ID.
-
#get_messaging_session_endpoint(options = {}) ⇒ Types::GetMessagingSessionEndpointResponse
The endpoint for the messaging session.
.
-
#get_phone_number(options = {}) ⇒ Types::GetPhoneNumberResponse
Retrieves details for the specified phone number ID, such as associations, capabilities, and product type.
.
-
#get_phone_number_order(options = {}) ⇒ Types::GetPhoneNumberOrderResponse
Retrieves details for the specified phone number order, such as order creation timestamp, phone numbers in E.164 format, product type, and order status.
.
-
#get_phone_number_settings(options = {}) ⇒ Types::GetPhoneNumberSettingsResponse
Retrieves the phone number settings for the administrator's AWS account, such as the default outbound calling name.
.
-
#get_proxy_session(options = {}) ⇒ Types::GetProxySessionResponse
Gets the specified proxy session details for the specified Amazon Chime Voice Connector.
.
-
#get_retention_settings(options = {}) ⇒ Types::GetRetentionSettingsResponse
Gets the retention settings for the specified Amazon Chime Enterprise account.
-
#get_room(options = {}) ⇒ Types::GetRoomResponse
Retrieves room details, such as the room name, for a room in an Amazon Chime Enterprise account.
.
-
#get_sip_media_application(options = {}) ⇒ Types::GetSipMediaApplicationResponse
Retrieves the information for a SIP media application, including name, AWS Region, and endpoints.
.
-
#get_sip_media_application_logging_configuration(options = {}) ⇒ Types::GetSipMediaApplicationLoggingConfigurationResponse
Returns the logging configuration for the specified SIP media application.
.
-
#get_sip_rule(options = {}) ⇒ Types::GetSipRuleResponse
Retrieves the details of a SIP rule, such as the rule ID, name, triggers, and target endpoints.
.
-
#get_user(options = {}) ⇒ Types::GetUserResponse
Retrieves details for the specified user ID, such as primary email address, license type, and personal meeting PIN.
To retrieve user details with an email address instead of a user ID, use the ListUsers action, and then filter by email address.
. -
#get_user_settings(options = {}) ⇒ Types::GetUserSettingsResponse
Retrieves settings for the specified user ID, such as any associated phone number settings.
.
-
#get_voice_connector(options = {}) ⇒ Types::GetVoiceConnectorResponse
Retrieves details for the specified Amazon Chime Voice Connector, such as timestamps, name, outbound host, and encryption requirements.
.
-
#get_voice_connector_emergency_calling_configuration(options = {}) ⇒ Types::GetVoiceConnectorEmergencyCallingConfigurationResponse
Gets the emergency calling configuration details for the specified Amazon Chime Voice Connector.
.
-
#get_voice_connector_group(options = {}) ⇒ Types::GetVoiceConnectorGroupResponse
Retrieves details for the specified Amazon Chime Voice Connector group, such as timestamps, name, and associated
VoiceConnectorItems
..
-
#get_voice_connector_logging_configuration(options = {}) ⇒ Types::GetVoiceConnectorLoggingConfigurationResponse
Retrieves the logging configuration details for the specified Amazon Chime Voice Connector.
-
#get_voice_connector_origination(options = {}) ⇒ Types::GetVoiceConnectorOriginationResponse
Retrieves origination setting details for the specified Amazon Chime Voice Connector.
.
-
#get_voice_connector_proxy(options = {}) ⇒ Types::GetVoiceConnectorProxyResponse
Gets the proxy configuration details for the specified Amazon Chime Voice Connector.
.
-
#get_voice_connector_streaming_configuration(options = {}) ⇒ Types::GetVoiceConnectorStreamingConfigurationResponse
Retrieves the streaming configuration details for the specified Amazon Chime Voice Connector.
-
#get_voice_connector_termination(options = {}) ⇒ Types::GetVoiceConnectorTerminationResponse
Retrieves termination setting details for the specified Amazon Chime Voice Connector.
.
-
#get_voice_connector_termination_health(options = {}) ⇒ Types::GetVoiceConnectorTerminationHealthResponse
Retrieves information about the last time a SIP
OPTIONS
ping was received from your SIP infrastructure for the specified Amazon Chime Voice Connector..
-
#invite_users(options = {}) ⇒ Types::InviteUsersResponse
Sends email to a maximum of 50 users, inviting them to the specified Amazon Chime
Team
account. -
#list_accounts(options = {}) ⇒ Types::ListAccountsResponse
Lists the Amazon Chime accounts under the administrator's AWS account.
-
#list_app_instance_admins(options = {}) ⇒ Types::ListAppInstanceAdminsResponse
Returns a list of the administrators in the app instance.
.
-
#list_app_instance_users(options = {}) ⇒ Types::ListAppInstanceUsersResponse
List all
AppInstanceUsers
created under a single app instance..
-
#list_app_instances(options = {}) ⇒ Types::ListAppInstancesResponse
Lists all Amazon Chime app instances created under a single AWS account.
.
-
#list_attendee_tags(options = {}) ⇒ Types::ListAttendeeTagsResponse
Lists the tags applied to an Amazon Chime SDK attendee resource.
.
-
#list_attendees(options = {}) ⇒ Types::ListAttendeesResponse
Lists the attendees for the specified Amazon Chime SDK meeting.
-
#list_bots(options = {}) ⇒ Types::ListBotsResponse
Lists the bots associated with the administrator's Amazon Chime Enterprise account ID.
.
-
#list_channel_bans(options = {}) ⇒ Types::ListChannelBansResponse
Lists all the users banned from a particular channel.
.
-
#list_channel_memberships(options = {}) ⇒ Types::ListChannelMembershipsResponse
Lists all channel memberships in a channel.
.
-
#list_channel_memberships_for_app_instance_user(options = {}) ⇒ Types::ListChannelMembershipsForAppInstanceUserResponse
Lists all channels that a particular
AppInstanceUser
is a part of. -
#list_channel_messages(options = {}) ⇒ Types::ListChannelMessagesResponse
List all the messages in a channel.
-
#list_channel_moderators(options = {}) ⇒ Types::ListChannelModeratorsResponse
Lists all the moderators for a channel.
.
-
#list_channels(options = {}) ⇒ Types::ListChannelsResponse
Lists all Channels created under a single Chime App as a paginated list.
-
#list_channels_moderated_by_app_instance_user(options = {}) ⇒ Types::ListChannelsModeratedByAppInstanceUserResponse
A list of the channels moderated by an app instance user.
.
-
#list_meeting_tags(options = {}) ⇒ Types::ListMeetingTagsResponse
Lists the tags applied to an Amazon Chime SDK meeting resource.
.
-
#list_meetings(options = {}) ⇒ Types::ListMeetingsResponse
Lists up to 100 active Amazon Chime SDK meetings.
-
#list_phone_number_orders(options = {}) ⇒ Types::ListPhoneNumberOrdersResponse
Lists the phone number orders for the administrator's Amazon Chime account.
.
-
#list_phone_numbers(options = {}) ⇒ Types::ListPhoneNumbersResponse
Lists the phone numbers for the specified Amazon Chime account, Amazon Chime user, Amazon Chime Voice Connector, or Amazon Chime Voice Connector group.
.
-
#list_proxy_sessions(options = {}) ⇒ Types::ListProxySessionsResponse
Lists the proxy sessions for the specified Amazon Chime Voice Connector.
.
-
#list_room_memberships(options = {}) ⇒ Types::ListRoomMembershipsResponse
Lists the membership details for the specified room in an Amazon Chime Enterprise account, such as the members' IDs, email addresses, and names.
.
-
#list_rooms(options = {}) ⇒ Types::ListRoomsResponse
Lists the room details for the specified Amazon Chime Enterprise account.
-
#list_sip_media_applications(options = {}) ⇒ Types::ListSipMediaApplicationsResponse
Lists the SIP media applications under the administrator's AWS account.
.
-
#list_sip_rules(options = {}) ⇒ Types::ListSipRulesResponse
Lists the SIP rules under the administrator's AWS account.
.
-
#list_tags_for_resource(options = {}) ⇒ Types::ListTagsForResourceResponse
Lists the tags applied to an Amazon Chime SDK meeting resource.
.
-
#list_users(options = {}) ⇒ Types::ListUsersResponse
Lists the users that belong to the specified Amazon Chime account.
-
#list_voice_connector_groups(options = {}) ⇒ Types::ListVoiceConnectorGroupsResponse
Lists the Amazon Chime Voice Connector groups for the administrator's AWS account.
.
-
#list_voice_connector_termination_credentials(options = {}) ⇒ Types::ListVoiceConnectorTerminationCredentialsResponse
Lists the SIP credentials for the specified Amazon Chime Voice Connector.
.
-
#list_voice_connectors(options = {}) ⇒ Types::ListVoiceConnectorsResponse
Lists the Amazon Chime Voice Connectors for the administrator's AWS account.
.
-
#logout_user(options = {}) ⇒ Struct
Logs out the specified user from all of the devices they are currently logged into.
.
-
#put_app_instance_retention_settings(options = {}) ⇒ Types::PutAppInstanceRetentionSettingsResponse
Sets the amount of time in days that a given app instance retains data.
.
-
#put_app_instance_streaming_configurations(options = {}) ⇒ Types::PutAppInstanceStreamingConfigurationsResponse
The data streaming configurations of an app instance.
.
-
#put_events_configuration(options = {}) ⇒ Types::PutEventsConfigurationResponse
Creates an events configuration that allows a bot to receive outgoing events sent by Amazon Chime.
-
#put_retention_settings(options = {}) ⇒ Types::PutRetentionSettingsResponse
Puts retention settings for the specified Amazon Chime Enterprise account.
-
#put_sip_media_application_logging_configuration(options = {}) ⇒ Types::PutSipMediaApplicationLoggingConfigurationResponse
Updates the logging configuration for the specified SIP media application.
.
-
#put_voice_connector_emergency_calling_configuration(options = {}) ⇒ Types::PutVoiceConnectorEmergencyCallingConfigurationResponse
Puts emergency calling configuration details to the specified Amazon Chime Voice Connector, such as emergency phone numbers and calling countries.
-
#put_voice_connector_logging_configuration(options = {}) ⇒ Types::PutVoiceConnectorLoggingConfigurationResponse
Adds a logging configuration for the specified Amazon Chime Voice Connector.
-
#put_voice_connector_origination(options = {}) ⇒ Types::PutVoiceConnectorOriginationResponse
Adds origination settings for the specified Amazon Chime Voice Connector.
If emergency calling is configured for the Amazon Chime Voice Connector, it must be deleted prior to turning off origination settings.
-
#put_voice_connector_proxy(options = {}) ⇒ Types::PutVoiceConnectorProxyResponse
Puts the specified proxy configuration to the specified Amazon Chime Voice Connector.
.
-
#put_voice_connector_streaming_configuration(options = {}) ⇒ Types::PutVoiceConnectorStreamingConfigurationResponse
Adds a streaming configuration for the specified Amazon Chime Voice Connector.
-
#put_voice_connector_termination(options = {}) ⇒ Types::PutVoiceConnectorTerminationResponse
Adds termination settings for the specified Amazon Chime Voice Connector.
If emergency calling is configured for the Amazon Chime Voice Connector, it must be deleted prior to turning off termination settings.
-
#put_voice_connector_termination_credentials(options = {}) ⇒ Struct
Adds termination SIP credentials for the specified Amazon Chime Voice Connector.
.
-
#redact_channel_message(options = {}) ⇒ Types::RedactChannelMessageResponse
Redacts message content, but not metadata.
-
#redact_conversation_message(options = {}) ⇒ Struct
Redacts the specified message from the specified Amazon Chime conversation.
.
-
#redact_room_message(options = {}) ⇒ Struct
Redacts the specified message from the specified Amazon Chime channel.
.
-
#regenerate_security_token(options = {}) ⇒ Types::RegenerateSecurityTokenResponse
Regenerates the security token for a bot.
.
-
#reset_personal_pin(options = {}) ⇒ Types::ResetPersonalPINResponse
Resets the personal meeting PIN for the specified user on an Amazon Chime account.
-
#restore_phone_number(options = {}) ⇒ Types::RestorePhoneNumberResponse
Moves a phone number from the Deletion queue back into the phone number Inventory.
.
-
#search_available_phone_numbers(options = {}) ⇒ Types::SearchAvailablePhoneNumbersResponse
Searches phone numbers that can be ordered.
.
-
#send_channel_message(options = {}) ⇒ Types::SendChannelMessageResponse
Sends a message to a particular channel that the member is a part of.
STANDARD
messages can contain 4KB of data and the 1KB of metadata. -
#tag_attendee(options = {}) ⇒ Struct
Applies the specified tags to the specified Amazon Chime SDK attendee.
.
-
#tag_meeting(options = {}) ⇒ Struct
Applies the specified tags to the specified Amazon Chime SDK meeting.
.
-
#tag_resource(options = {}) ⇒ Struct
Applies the specified tags to the specified Amazon Chime SDK meeting resource.
.
-
#untag_attendee(options = {}) ⇒ Struct
Untags the specified tags from the specified Amazon Chime SDK attendee.
.
-
#untag_meeting(options = {}) ⇒ Struct
Untags the specified tags from the specified Amazon Chime SDK meeting.
.
-
#untag_resource(options = {}) ⇒ Struct
Untags the specified tags from the specified Amazon Chime SDK meeting resource.
.
-
#update_account(options = {}) ⇒ Types::UpdateAccountResponse
Updates account details for the specified Amazon Chime account.
-
#update_account_settings(options = {}) ⇒ Struct
Updates the settings for the specified Amazon Chime account.
-
#update_app_instance(options = {}) ⇒ Types::UpdateAppInstanceResponse
Updates
AppInstance
metadata..
-
#update_app_instance_user(options = {}) ⇒ Types::UpdateAppInstanceUserResponse
Updates the details for an
AppInstanceUser
. -
#update_bot(options = {}) ⇒ Types::UpdateBotResponse
Updates the status of the specified bot, such as starting or stopping the bot from running in your Amazon Chime Enterprise account.
.
-
#update_channel(options = {}) ⇒ Types::UpdateChannelResponse
Update a channel's attributes.
Restriction: You can't change a channel's privacy.
. -
#update_channel_message(options = {}) ⇒ Types::UpdateChannelMessageResponse
Updates the content of a message.
.
-
#update_channel_read_marker(options = {}) ⇒ Types::UpdateChannelReadMarkerResponse
Sets the timestamp to the point when a user last read messages in a channel.
.
-
#update_global_settings(options = {}) ⇒ Struct
Updates global settings for the administrator's AWS account, such as Amazon Chime Business Calling and Amazon Chime Voice Connector settings.
.
-
#update_phone_number(options = {}) ⇒ Types::UpdatePhoneNumberResponse
Updates phone number details, such as product type or calling name, for the specified phone number ID.
-
#update_phone_number_settings(options = {}) ⇒ Struct
Updates the phone number settings for the administrator's AWS account, such as the default outbound calling name.
-
#update_proxy_session(options = {}) ⇒ Types::UpdateProxySessionResponse
Updates the specified proxy session details, such as voice or SMS capabilities.
.
-
#update_room(options = {}) ⇒ Types::UpdateRoomResponse
Updates room details, such as the room name, for a room in an Amazon Chime Enterprise account.
.
-
#update_room_membership(options = {}) ⇒ Types::UpdateRoomMembershipResponse
Updates room membership details, such as the member role, for a room in an Amazon Chime Enterprise account.
-
#update_sip_media_application(options = {}) ⇒ Types::UpdateSipMediaApplicationResponse
Updates the details for the specified SIP media application.
.
-
#update_sip_rule(options = {}) ⇒ Types::UpdateSipRuleResponse
Updates the details for the specified SIP rule.
.
-
#update_user(options = {}) ⇒ Types::UpdateUserResponse
Updates user details for a specified user ID.
-
#update_user_settings(options = {}) ⇒ Struct
Updates the settings for the specified user, such as phone number settings.
.
-
#update_voice_connector(options = {}) ⇒ Types::UpdateVoiceConnectorResponse
Updates details for the specified Amazon Chime Voice Connector.
.
-
#update_voice_connector_group(options = {}) ⇒ Types::UpdateVoiceConnectorGroupResponse
Updates details for the specified Amazon Chime Voice Connector group, such as the name and Amazon Chime Voice Connector priority ranking.
.
Instance Method Summary collapse
-
#wait_until(waiter_name, params = {}) {|waiter| ... } ⇒ Boolean
Waiters polls an API operation until a resource enters a desired state.
-
#waiter_names ⇒ Array<Symbol>
Returns the list of supported waiters.
Methods inherited from Seahorse::Client::Base
add_plugin, api, #build_request, clear_plugins, define, new, #operation, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options = {}) ⇒ Aws::Chime::Client
Constructs an API client.
Instance Method Details
#associate_phone_number_with_user(options = {}) ⇒ Struct
Associates a phone number with the specified Amazon Chime user.
#associate_phone_numbers_with_voice_connector(options = {}) ⇒ Types::AssociatePhoneNumbersWithVoiceConnectorResponse
Associates phone numbers with the specified Amazon Chime Voice Connector.
#associate_phone_numbers_with_voice_connector_group(options = {}) ⇒ Types::AssociatePhoneNumbersWithVoiceConnectorGroupResponse
Associates phone numbers with the specified Amazon Chime Voice Connector group.
#associate_signin_delegate_groups_with_account(options = {}) ⇒ Struct
Associates the specified sign-in delegate groups with the specified Amazon Chime account.
#batch_create_attendee(options = {}) ⇒ Types::BatchCreateAttendeeResponse
Creates up to 100 new attendees for an active Amazon Chime SDK meeting. For more information about the Amazon Chime SDK, see Using the Amazon Chime SDK in the Amazon Chime Developer Guide.
#batch_create_room_membership(options = {}) ⇒ Types::BatchCreateRoomMembershipResponse
Adds up to 50 members to a chat room in an Amazon Chime Enterprise account. Members can be either users or bots. The member role designates whether the member is a chat room administrator or a general chat room member.
#batch_delete_phone_number(options = {}) ⇒ Types::BatchDeletePhoneNumberResponse
Moves phone numbers into the Deletion queue. Phone numbers must be disassociated from any users or Amazon Chime Voice Connectors before they can be deleted.
Phone numbers remain in the Deletion queue for 7 days before they are deleted permanently.
#batch_suspend_user(options = {}) ⇒ Types::BatchSuspendUserResponse
Suspends up to 50 users from a Team
or EnterpriseLWA
Amazon Chime account. For more information about different account types, see Managing Your Amazon Chime Accounts in the Amazon Chime Administration Guide.
Users suspended from a Team
account are disassociated from the account, but they can continue to use Amazon Chime as free users. To remove the suspension from suspended Team
account users, invite them to the Team
account again. You can use the InviteUsers action to do so.
Users suspended from an EnterpriseLWA
account are immediately signed out of Amazon Chime and can no longer sign in. To remove the suspension from suspended EnterpriseLWA
account users, use the BatchUnsuspendUser action.
To sign out users without suspending them, use the LogoutUser action.
#batch_unsuspend_user(options = {}) ⇒ Types::BatchUnsuspendUserResponse
Removes the suspension from up to 50 previously suspended users for the specified Amazon Chime EnterpriseLWA
account. Only users on EnterpriseLWA
accounts can be unsuspended using this action. For more information about different account types, see Managing Your Amazon Chime Accounts in the Amazon Chime Administration Guide.
Previously suspended users who are unsuspended using this action are returned to Registered
status. Users who are not previously suspended are ignored.
#batch_update_phone_number(options = {}) ⇒ Types::BatchUpdatePhoneNumberResponse
Updates phone number product types or calling names. You can update one attribute at a time for each UpdatePhoneNumberRequestItem
. For example, you can update either the product type or the calling name.
For product types, choose from Amazon Chime Business Calling and Amazon Chime Voice Connector. For toll-free numbers, you must use the Amazon Chime Voice Connector product type.
Updates to outbound calling names can take up to 72 hours to complete. Pending updates to outbound calling names must be complete before you can request another update.
#batch_update_user(options = {}) ⇒ Types::BatchUpdateUserResponse
Updates user details within the UpdateUserRequestItem object for up to 20 users for the specified Amazon Chime account. Currently, only LicenseType
updates are supported for this action.
#create_account(options = {}) ⇒ Types::CreateAccountResponse
Creates an Amazon Chime account under the administrator's AWS account. Only Team
account types are currently supported for this action. For more information about different account types, see Managing Your Amazon Chime Accounts in the Amazon Chime Administration Guide.
#create_app_instance(options = {}) ⇒ Types::CreateAppInstanceResponse
Creates an Amazon Chime Messaging SDK AppInstance
under an AWS Account. Only Messaging SDK customers use this API. CreateAppInstance
supports idempotency
behavior as described in the AWS API Standard.
#create_app_instance_admin(options = {}) ⇒ Types::CreateAppInstanceAdminResponse
Promotes an AppInstanceUser
to an AppInstanceAdmin
. The promoted user can perform the following actions.
-
ChannelModerator
actions across all channels in the app instance. -
DeleteChannelMessage
actions.
Only an AppInstanceUser
can be promoted to an AppInstanceAdmin
role.
#create_app_instance_user(options = {}) ⇒ Types::CreateAppInstanceUserResponse
Creates a user under an Amazon Chime AppInstance
. The request consists of a unique appInstanceUserId
and Name
for that user.
#create_attendee(options = {}) ⇒ Types::CreateAttendeeResponse
Creates a new attendee for an active Amazon Chime SDK meeting. For more information about the Amazon Chime SDK, see Using the Amazon Chime SDK in the Amazon Chime Developer Guide.
#create_bot(options = {}) ⇒ Types::CreateBotResponse
Creates a bot for an Amazon Chime Enterprise account.
#create_channel(options = {}) ⇒ Types::CreateChannelResponse
Creates a channel to which you can add users and send messages.
Restriction: You can't change a channel's privacy.
#create_channel_ban(options = {}) ⇒ Types::CreateChannelBanResponse
Permanently bans a member from a channel. Moderators can't add banned members to a channel. To undo a ban, you first have to DeleteChannelBan
, and then CreateChannelMembership
. Bans are cleaned up when you delete users or channels.
If you ban a user who is already part of a channel, that user is automatically kicked from the channel.
#create_channel_membership(options = {}) ⇒ Types::CreateChannelMembershipResponse
Adds a user to a channel. The InvitedBy
response field is derived from the request header. A channel member can:
-
List messages
-
Send messages
-
Receive messages
-
Edit their own messages
-
Leave the channel
Privacy settings impact this action as follows:
-
Public Channels: You do not need to be a member to list messages, but you must be a member to send messages.
-
Private Channels: You must be a member to list or send messages.
#create_channel_moderator(options = {}) ⇒ Types::CreateChannelModeratorResponse
Creates a new ChannelModerator
. A channel moderator can:
-
Add and remove other members of the channel.
-
Add and remove other moderators of the channel.
-
Add and remove user bans for the channel.
-
Redact messages in the channel.
-
List messages in the channel.
#create_meeting(options = {}) ⇒ Types::CreateMeetingResponse
Creates a new Amazon Chime SDK meeting in the specified media Region with no initial attendees. For more information about specifying media Regions, see Amazon Chime SDK Media Regions in the Amazon Chime Developer Guide. For more information about the Amazon Chime SDK, see Using the Amazon Chime SDK in the Amazon Chime Developer Guide.
#create_meeting_dial_out(options = {}) ⇒ Types::CreateMeetingDialOutResponse
Uses the join token and call metadata in a meeting request (From number, To number, and so forth) to initiate an outbound call to a public switched telephone network (PSTN) and joins them into Chime meeting. Also ensures that the From number belongs to the customer.
To play welcome audio or implement an interactive voice response (IVR), use the CreateSipMediaApplicationCall
API with the corresponding SIP media application ID.
#create_meeting_with_attendees(options = {}) ⇒ Types::CreateMeetingWithAttendeesResponse
Creates a new Amazon Chime SDK meeting in the specified media Region, with attendees. For more information about specifying media Regions, see Amazon Chime SDK Media Regions in the Amazon Chime Developer Guide. For more information about the Amazon Chime SDK, see Using the Amazon Chime SDK in the Amazon Chime Developer Guide.
#create_phone_number_order(options = {}) ⇒ Types::CreatePhoneNumberOrderResponse
Creates an order for phone numbers to be provisioned. Choose from Amazon Chime Business Calling and Amazon Chime Voice Connector product types. For toll-free numbers, you must use the Amazon Chime Voice Connector product type.
#create_proxy_session(options = {}) ⇒ Types::CreateProxySessionResponse
Creates a proxy session on the specified Amazon Chime Voice Connector for the specified participant phone numbers.
#create_room(options = {}) ⇒ Types::CreateRoomResponse
Creates a chat room for the specified Amazon Chime Enterprise account.
#create_room_membership(options = {}) ⇒ Types::CreateRoomMembershipResponse
Adds a member to a chat room in an Amazon Chime Enterprise account. A member can be either a user or a bot. The member role designates whether the member is a chat room administrator or a general chat room member.
#create_sip_media_application(options = {}) ⇒ Types::CreateSipMediaApplicationResponse
Creates a SIP media application.
#create_sip_media_application_call(options = {}) ⇒ Types::CreateSipMediaApplicationCallResponse
Creates an outbound call to a phone number from the phone number specified in the request, and it invokes the endpoint of the specified sipMediaApplicationId
.
#create_sip_rule(options = {}) ⇒ Types::CreateSipRuleResponse
Creates a SIP rule which can be used to run a SIP media application as a target for a specific trigger type.
#create_user(options = {}) ⇒ Types::CreateUserResponse
Creates a user under the specified Amazon Chime account.
#create_voice_connector(options = {}) ⇒ Types::CreateVoiceConnectorResponse
Creates an Amazon Chime Voice Connector under the administrator's AWS account. You can choose to create an Amazon Chime Voice Connector in a specific AWS Region.
Enabling CreateVoiceConnectorRequest$RequireEncryption configures your Amazon Chime Voice Connector to use TLS transport for SIP signaling and Secure RTP (SRTP) for media. Inbound calls use TLS transport, and unencrypted outbound calls are blocked.
#create_voice_connector_group(options = {}) ⇒ Types::CreateVoiceConnectorGroupResponse
Creates an Amazon Chime Voice Connector group under the administrator's AWS account. You can associate Amazon Chime Voice Connectors with the Amazon Chime Voice Connector group by including VoiceConnectorItems
in the request.
You can include Amazon Chime Voice Connectors from different AWS Regions in your group. This creates a fault tolerant mechanism for fallback in case of availability events.
#delete_account(options = {}) ⇒ Struct
Deletes the specified Amazon Chime account. You must suspend all users before deleting a Team
account. You can use the BatchSuspendUser action to do so.
For EnterpriseLWA
and EnterpriseAD
accounts, you must release the claimed domains for your Amazon Chime account before deletion. As soon as you release the domain, all users under that account are suspended.
Deleted accounts appear in your Disabled
accounts list for 90 days. To restore a deleted account from your Disabled
accounts list, you must contact AWS Support.
After 90 days, deleted accounts are permanently removed from your Disabled
accounts list.
#delete_app_instance(options = {}) ⇒ Struct
Deletes an AppInstance
and all associated data asynchronously.
#delete_app_instance_admin(options = {}) ⇒ Struct
Demotes an AppInstanceAdmin
to an AppInstanceUser
. This action does not delete the user.
#delete_app_instance_streaming_configurations(options = {}) ⇒ Struct
Deletes the streaming configurations of an app instance.
#delete_app_instance_user(options = {}) ⇒ Struct
Deletes an AppInstanceUser
.
#delete_attendee(options = {}) ⇒ Struct
Deletes an attendee from the specified Amazon Chime SDK meeting and deletes their JoinToken
. Attendees are automatically deleted when a Amazon Chime SDK meeting is deleted. For more information about the Amazon Chime SDK, see Using the Amazon Chime SDK in the Amazon Chime Developer Guide.
#delete_channel(options = {}) ⇒ Struct
Immediately makes a channel and its memberships inaccessible and marks them for deletion. This is an irreversible process.
#delete_channel_ban(options = {}) ⇒ Struct
Removes a user from a channel's ban list.
#delete_channel_membership(options = {}) ⇒ Struct
Removes a member from a channel.
#delete_channel_message(options = {}) ⇒ Struct
Deletes a channel message. Only admins can perform this action. Deletion makes messages inaccessible immediately. A background process deletes any revisions created by UpdateChannelMessage
.
#delete_channel_moderator(options = {}) ⇒ Struct
Deletes a channel moderator.
#delete_events_configuration(options = {}) ⇒ Struct
Deletes the events configuration that allows a bot to receive outgoing events.
#delete_meeting(options = {}) ⇒ Struct
Deletes the specified Amazon Chime SDK meeting. When a meeting is deleted, its attendees are also deleted and clients can no longer join it. For more information about the Amazon Chime SDK, see Using the Amazon Chime SDK in the Amazon Chime Developer Guide.
#delete_phone_number(options = {}) ⇒ Struct
Moves the specified phone number into the Deletion queue. A phone number must be disassociated from any users or Amazon Chime Voice Connectors before it can be deleted.
Deleted phone numbers remain in the Deletion queue for 7 days before they are deleted permanently.
#delete_proxy_session(options = {}) ⇒ Struct
Deletes the specified proxy session from the specified Amazon Chime Voice Connector.
#delete_room(options = {}) ⇒ Struct
Deletes a chat room in an Amazon Chime Enterprise account.
#delete_room_membership(options = {}) ⇒ Struct
Removes a member from a chat room in an Amazon Chime Enterprise account.
#delete_sip_media_application(options = {}) ⇒ Struct
Deletes a SIP media application.
#delete_sip_rule(options = {}) ⇒ Struct
Deletes a SIP rule. You must disable a SIP rule before you can delete it.
#delete_voice_connector(options = {}) ⇒ Struct
Deletes the specified Amazon Chime Voice Connector. Any phone numbers associated with the Amazon Chime Voice Connector must be disassociated from it before it can be deleted.
#delete_voice_connector_emergency_calling_configuration(options = {}) ⇒ Struct
Deletes the emergency calling configuration details from the specified Amazon Chime Voice Connector.
#delete_voice_connector_group(options = {}) ⇒ Struct
Deletes the specified Amazon Chime Voice Connector group. Any VoiceConnectorItems
and phone numbers associated with the group must be removed before it can be deleted.
#delete_voice_connector_origination(options = {}) ⇒ Struct
Deletes the origination settings for the specified Amazon Chime Voice Connector.
If emergency calling is configured for the Amazon Chime Voice Connector, it must be deleted prior to deleting the origination settings.
#delete_voice_connector_proxy(options = {}) ⇒ Struct
Deletes the proxy configuration from the specified Amazon Chime Voice Connector.
#delete_voice_connector_streaming_configuration(options = {}) ⇒ Struct
Deletes the streaming configuration for the specified Amazon Chime Voice Connector.
#delete_voice_connector_termination(options = {}) ⇒ Struct
Deletes the termination settings for the specified Amazon Chime Voice Connector.
If emergency calling is configured for the Amazon Chime Voice Connector, it must be deleted prior to deleting the termination settings.
#delete_voice_connector_termination_credentials(options = {}) ⇒ Struct
Deletes the specified SIP credentials used by your equipment to authenticate during call termination.
#describe_app_instance(options = {}) ⇒ Types::DescribeAppInstanceResponse
Returns the full details of an AppInstance
.
#describe_app_instance_admin(options = {}) ⇒ Types::DescribeAppInstanceAdminResponse
Returns the full details of an AppInstanceAdmin
.
#describe_app_instance_user(options = {}) ⇒ Types::DescribeAppInstanceUserResponse
Returns the full details of an AppInstanceUser
.
#describe_channel(options = {}) ⇒ Types::DescribeChannelResponse
Returns the full details of a channel in an Amazon Chime app instance.
#describe_channel_ban(options = {}) ⇒ Types::DescribeChannelBanResponse
Returns the full details of a channel ban.
#describe_channel_membership(options = {}) ⇒ Types::DescribeChannelMembershipResponse
Returns the full details of a user's channel membership.
#describe_channel_membership_for_app_instance_user(options = {}) ⇒ Types::DescribeChannelMembershipForAppInstanceUserResponse
Returns the details of a channel based on the membership of the AppInstanceUser
specified.
#describe_channel_moderated_by_app_instance_user(options = {}) ⇒ Types::DescribeChannelModeratedByAppInstanceUserResponse
Returns the full details of a channel moderated by the specified AppInstanceUser
.
#describe_channel_moderator(options = {}) ⇒ Types::DescribeChannelModeratorResponse
Returns the full details of a single ChannelModerator.
#disassociate_phone_number_from_user(options = {}) ⇒ Struct
Disassociates the primary provisioned phone number from the specified Amazon Chime user.
#disassociate_phone_numbers_from_voice_connector(options = {}) ⇒ Types::DisassociatePhoneNumbersFromVoiceConnectorResponse
Disassociates the specified phone numbers from the specified Amazon Chime Voice Connector.
#disassociate_phone_numbers_from_voice_connector_group(options = {}) ⇒ Types::DisassociatePhoneNumbersFromVoiceConnectorGroupResponse
Disassociates the specified phone numbers from the specified Amazon Chime Voice Connector group.
#disassociate_signin_delegate_groups_from_account(options = {}) ⇒ Struct
Disassociates the specified sign-in delegate groups from the specified Amazon Chime account.
#get_account(options = {}) ⇒ Types::GetAccountResponse
Retrieves details for the specified Amazon Chime account, such as account type and supported licenses.
#get_account_settings(options = {}) ⇒ Types::GetAccountSettingsResponse
Retrieves account settings for the specified Amazon Chime account ID, such as remote control and dial out settings. For more information about these settings, see Use the Policies Page in the Amazon Chime Administration Guide.
#get_app_instance_retention_settings(options = {}) ⇒ Types::GetAppInstanceRetentionSettingsResponse
Gets the retention settings for an app instance.
#get_app_instance_streaming_configurations(options = {}) ⇒ Types::GetAppInstanceStreamingConfigurationsResponse
Gets the streaming settings for an app instance.
#get_attendee(options = {}) ⇒ Types::GetAttendeeResponse
Gets the Amazon Chime SDK attendee details for a specified meeting ID and attendee ID. For more information about the Amazon Chime SDK, see Using the Amazon Chime SDK in the Amazon Chime Developer Guide.
#get_bot(options = {}) ⇒ Types::GetBotResponse
Retrieves details for the specified bot, such as bot email address, bot type, status, and display name.
#get_channel_message(options = {}) ⇒ Types::GetChannelMessageResponse
Gets the full details of a channel message.
#get_events_configuration(options = {}) ⇒ Types::GetEventsConfigurationResponse
Gets details for an events configuration that allows a bot to receive outgoing events, such as an HTTPS endpoint or Lambda function ARN.
#get_global_settings(options = {}) ⇒ Types::GetGlobalSettingsResponse
Retrieves global settings for the administrator's AWS account, such as Amazon Chime Business Calling and Amazon Chime Voice Connector settings.
#get_meeting(options = {}) ⇒ Types::GetMeetingResponse
Gets the Amazon Chime SDK meeting details for the specified meeting ID. For more information about the Amazon Chime SDK, see Using the Amazon Chime SDK in the Amazon Chime Developer Guide.
#get_messaging_session_endpoint(options = {}) ⇒ Types::GetMessagingSessionEndpointResponse
The endpoint for the messaging session.
#get_phone_number(options = {}) ⇒ Types::GetPhoneNumberResponse
Retrieves details for the specified phone number ID, such as associations, capabilities, and product type.
#get_phone_number_order(options = {}) ⇒ Types::GetPhoneNumberOrderResponse
Retrieves details for the specified phone number order, such as order creation timestamp, phone numbers in E.164 format, product type, and order status.
#get_phone_number_settings(options = {}) ⇒ Types::GetPhoneNumberSettingsResponse
Retrieves the phone number settings for the administrator's AWS account, such as the default outbound calling name.
#get_proxy_session(options = {}) ⇒ Types::GetProxySessionResponse
Gets the specified proxy session details for the specified Amazon Chime Voice Connector.
#get_retention_settings(options = {}) ⇒ Types::GetRetentionSettingsResponse
Gets the retention settings for the specified Amazon Chime Enterprise account. For more information about retention settings, see Managing Chat Retention Policies in the Amazon Chime Administration Guide.
#get_room(options = {}) ⇒ Types::GetRoomResponse
Retrieves room details, such as the room name, for a room in an Amazon Chime Enterprise account.
#get_sip_media_application(options = {}) ⇒ Types::GetSipMediaApplicationResponse
Retrieves the information for a SIP media application, including name, AWS Region, and endpoints.
#get_sip_media_application_logging_configuration(options = {}) ⇒ Types::GetSipMediaApplicationLoggingConfigurationResponse
Returns the logging configuration for the specified SIP media application.
#get_sip_rule(options = {}) ⇒ Types::GetSipRuleResponse
Retrieves the details of a SIP rule, such as the rule ID, name, triggers, and target endpoints.
#get_user(options = {}) ⇒ Types::GetUserResponse
Retrieves details for the specified user ID, such as primary email address, license type, and personal meeting PIN.
To retrieve user details with an email address instead of a user ID, use the ListUsers action, and then filter by email address.
#get_user_settings(options = {}) ⇒ Types::GetUserSettingsResponse
Retrieves settings for the specified user ID, such as any associated phone number settings.
#get_voice_connector(options = {}) ⇒ Types::GetVoiceConnectorResponse
Retrieves details for the specified Amazon Chime Voice Connector, such as timestamps, name, outbound host, and encryption requirements.
#get_voice_connector_emergency_calling_configuration(options = {}) ⇒ Types::GetVoiceConnectorEmergencyCallingConfigurationResponse
Gets the emergency calling configuration details for the specified Amazon Chime Voice Connector.
#get_voice_connector_group(options = {}) ⇒ Types::GetVoiceConnectorGroupResponse
Retrieves details for the specified Amazon Chime Voice Connector group, such as timestamps, name, and associated VoiceConnectorItems
.
#get_voice_connector_logging_configuration(options = {}) ⇒ Types::GetVoiceConnectorLoggingConfigurationResponse
Retrieves the logging configuration details for the specified Amazon Chime Voice Connector. Shows whether SIP message logs are enabled for sending to Amazon CloudWatch.
#get_voice_connector_origination(options = {}) ⇒ Types::GetVoiceConnectorOriginationResponse
Retrieves origination setting details for the specified Amazon Chime Voice Connector.
#get_voice_connector_proxy(options = {}) ⇒ Types::GetVoiceConnectorProxyResponse
Gets the proxy configuration details for the specified Amazon Chime Voice Connector.
#get_voice_connector_streaming_configuration(options = {}) ⇒ Types::GetVoiceConnectorStreamingConfigurationResponse
Retrieves the streaming configuration details for the specified Amazon Chime Voice Connector. Shows whether media streaming is enabled for sending to Amazon Kinesis. It also shows the retention period, in hours, for the Amazon Kinesis data.
#get_voice_connector_termination(options = {}) ⇒ Types::GetVoiceConnectorTerminationResponse
Retrieves termination setting details for the specified Amazon Chime Voice Connector.
#get_voice_connector_termination_health(options = {}) ⇒ Types::GetVoiceConnectorTerminationHealthResponse
Retrieves information about the last time a SIP OPTIONS
ping was received from your SIP infrastructure for the specified Amazon Chime Voice Connector.
#invite_users(options = {}) ⇒ Types::InviteUsersResponse
Sends email to a maximum of 50 users, inviting them to the specified Amazon Chime Team
account. Only Team
account types are currently supported for this action.
#list_accounts(options = {}) ⇒ Types::ListAccountsResponse
Lists the Amazon Chime accounts under the administrator's AWS account. You can filter accounts by account name prefix. To find out which Amazon Chime account a user belongs to, you can filter by the user's email address, which returns one account result.
#list_app_instance_admins(options = {}) ⇒ Types::ListAppInstanceAdminsResponse
Returns a list of the administrators in the app instance.
#list_app_instance_users(options = {}) ⇒ Types::ListAppInstanceUsersResponse
List all AppInstanceUsers
created under a single app instance.
#list_app_instances(options = {}) ⇒ Types::ListAppInstancesResponse
Lists all Amazon Chime app instances created under a single AWS account.
#list_attendee_tags(options = {}) ⇒ Types::ListAttendeeTagsResponse
Lists the tags applied to an Amazon Chime SDK attendee resource.
#list_attendees(options = {}) ⇒ Types::ListAttendeesResponse
Lists the attendees for the specified Amazon Chime SDK meeting. For more information about the Amazon Chime SDK, see Using the Amazon Chime SDK in the Amazon Chime Developer Guide.
#list_bots(options = {}) ⇒ Types::ListBotsResponse
Lists the bots associated with the administrator's Amazon Chime Enterprise account ID.
#list_channel_bans(options = {}) ⇒ Types::ListChannelBansResponse
Lists all the users banned from a particular channel.
#list_channel_memberships(options = {}) ⇒ Types::ListChannelMembershipsResponse
Lists all channel memberships in a channel.
#list_channel_memberships_for_app_instance_user(options = {}) ⇒ Types::ListChannelMembershipsForAppInstanceUserResponse
Lists all channels that a particular AppInstanceUser
is a part of. Only an AppInstanceAdmin
can call the API with a user ARN that is not their own.
#list_channel_messages(options = {}) ⇒ Types::ListChannelMessagesResponse
List all the messages in a channel. Returns a paginated list of ChannelMessages
. Sorted in descending order by default, based on the creation timestamp.
Redacted messages appear in the results as empty, since they are only redacted, not deleted. Deleted messages do not appear in the results. This action always returns the latest version of an edited message.
#list_channel_moderators(options = {}) ⇒ Types::ListChannelModeratorsResponse
Lists all the moderators for a channel.
#list_channels(options = {}) ⇒ Types::ListChannelsResponse
Lists all Channels created under a single Chime App as a paginated list. You can specify filters to narrow results.
Functionality & restrictions
-
Use privacy =
PUBLIC
to retrieve all public channels in the account -
Only an
AppInstanceAdmin
can set privacy =PRIVATE
to list the private channels in an account.
#list_channels_moderated_by_app_instance_user(options = {}) ⇒ Types::ListChannelsModeratedByAppInstanceUserResponse
A list of the channels moderated by an app instance user.
#list_meeting_tags(options = {}) ⇒ Types::ListMeetingTagsResponse
Lists the tags applied to an Amazon Chime SDK meeting resource.
#list_meetings(options = {}) ⇒ Types::ListMeetingsResponse
Lists up to 100 active Amazon Chime SDK meetings. For more information about the Amazon Chime SDK, see Using the Amazon Chime SDK in the Amazon Chime Developer Guide.
#list_phone_number_orders(options = {}) ⇒ Types::ListPhoneNumberOrdersResponse
Lists the phone number orders for the administrator's Amazon Chime account.
#list_phone_numbers(options = {}) ⇒ Types::ListPhoneNumbersResponse
Lists the phone numbers for the specified Amazon Chime account, Amazon Chime user, Amazon Chime Voice Connector, or Amazon Chime Voice Connector group.
#list_proxy_sessions(options = {}) ⇒ Types::ListProxySessionsResponse
Lists the proxy sessions for the specified Amazon Chime Voice Connector.
#list_room_memberships(options = {}) ⇒ Types::ListRoomMembershipsResponse
Lists the membership details for the specified room in an Amazon Chime Enterprise account, such as the members' IDs, email addresses, and names.
#list_rooms(options = {}) ⇒ Types::ListRoomsResponse
Lists the room details for the specified Amazon Chime Enterprise account. Optionally, filter the results by a member ID (user ID or bot ID) to see a list of rooms that the member belongs to.
#list_sip_media_applications(options = {}) ⇒ Types::ListSipMediaApplicationsResponse
Lists the SIP media applications under the administrator's AWS account.
#list_sip_rules(options = {}) ⇒ Types::ListSipRulesResponse
Lists the SIP rules under the administrator's AWS account.
#list_tags_for_resource(options = {}) ⇒ Types::ListTagsForResourceResponse
Lists the tags applied to an Amazon Chime SDK meeting resource.
#list_users(options = {}) ⇒ Types::ListUsersResponse
Lists the users that belong to the specified Amazon Chime account. You can specify an email address to list only the user that the email address belongs to.
#list_voice_connector_groups(options = {}) ⇒ Types::ListVoiceConnectorGroupsResponse
Lists the Amazon Chime Voice Connector groups for the administrator's AWS account.
#list_voice_connector_termination_credentials(options = {}) ⇒ Types::ListVoiceConnectorTerminationCredentialsResponse
Lists the SIP credentials for the specified Amazon Chime Voice Connector.
#list_voice_connectors(options = {}) ⇒ Types::ListVoiceConnectorsResponse
Lists the Amazon Chime Voice Connectors for the administrator's AWS account.
#logout_user(options = {}) ⇒ Struct
Logs out the specified user from all of the devices they are currently logged into.
#put_app_instance_retention_settings(options = {}) ⇒ Types::PutAppInstanceRetentionSettingsResponse
Sets the amount of time in days that a given app instance retains data.
#put_app_instance_streaming_configurations(options = {}) ⇒ Types::PutAppInstanceStreamingConfigurationsResponse
The data streaming configurations of an app instance.
#put_events_configuration(options = {}) ⇒ Types::PutEventsConfigurationResponse
Creates an events configuration that allows a bot to receive outgoing events sent by Amazon Chime. Choose either an HTTPS endpoint or a Lambda function ARN. For more information, see Bot.
#put_retention_settings(options = {}) ⇒ Types::PutRetentionSettingsResponse
Puts retention settings for the specified Amazon Chime Enterprise account. We recommend using AWS CloudTrail to monitor usage of this API for your account. For more information, see Logging Amazon Chime API Calls with AWS CloudTrail in the Amazon Chime Administration Guide.
To turn off existing retention settings, remove the number of days from the corresponding RetentionDays field in the RetentionSettings object. For more information about retention settings, see Managing Chat Retention Policies in the Amazon Chime Administration Guide.
#put_sip_media_application_logging_configuration(options = {}) ⇒ Types::PutSipMediaApplicationLoggingConfigurationResponse
Updates the logging configuration for the specified SIP media application.
#put_voice_connector_emergency_calling_configuration(options = {}) ⇒ Types::PutVoiceConnectorEmergencyCallingConfigurationResponse
Puts emergency calling configuration details to the specified Amazon Chime Voice Connector, such as emergency phone numbers and calling countries. Origination and termination settings must be enabled for the Amazon Chime Voice Connector before emergency calling can be configured.
#put_voice_connector_logging_configuration(options = {}) ⇒ Types::PutVoiceConnectorLoggingConfigurationResponse
Adds a logging configuration for the specified Amazon Chime Voice Connector. The logging configuration specifies whether SIP message logs are enabled for sending to Amazon CloudWatch Logs.
#put_voice_connector_origination(options = {}) ⇒ Types::PutVoiceConnectorOriginationResponse
Adds origination settings for the specified Amazon Chime Voice Connector.
If emergency calling is configured for the Amazon Chime Voice Connector, it must be deleted prior to turning off origination settings.
#put_voice_connector_proxy(options = {}) ⇒ Types::PutVoiceConnectorProxyResponse
Puts the specified proxy configuration to the specified Amazon Chime Voice Connector.
#put_voice_connector_streaming_configuration(options = {}) ⇒ Types::PutVoiceConnectorStreamingConfigurationResponse
Adds a streaming configuration for the specified Amazon Chime Voice Connector. The streaming configuration specifies whether media streaming is enabled for sending to Amazon Kinesis. It also sets the retention period, in hours, for the Amazon Kinesis data.
#put_voice_connector_termination(options = {}) ⇒ Types::PutVoiceConnectorTerminationResponse
Adds termination settings for the specified Amazon Chime Voice Connector.
If emergency calling is configured for the Amazon Chime Voice Connector, it must be deleted prior to turning off termination settings.
#put_voice_connector_termination_credentials(options = {}) ⇒ Struct
Adds termination SIP credentials for the specified Amazon Chime Voice Connector.
#redact_channel_message(options = {}) ⇒ Types::RedactChannelMessageResponse
Redacts message content, but not metadata. The message exists in the back end, but the action returns null content, and the state shows as redacted.
#redact_conversation_message(options = {}) ⇒ Struct
Redacts the specified message from the specified Amazon Chime conversation.
#redact_room_message(options = {}) ⇒ Struct
Redacts the specified message from the specified Amazon Chime channel.
#regenerate_security_token(options = {}) ⇒ Types::RegenerateSecurityTokenResponse
Regenerates the security token for a bot.
#reset_personal_pin(options = {}) ⇒ Types::ResetPersonalPINResponse
Resets the personal meeting PIN for the specified user on an Amazon Chime account. Returns the User object with the updated personal meeting PIN.
#restore_phone_number(options = {}) ⇒ Types::RestorePhoneNumberResponse
Moves a phone number from the Deletion queue back into the phone number Inventory.
#search_available_phone_numbers(options = {}) ⇒ Types::SearchAvailablePhoneNumbersResponse
Searches phone numbers that can be ordered.
#send_channel_message(options = {}) ⇒ Types::SendChannelMessageResponse
Sends a message to a particular channel that the member is a part of.
STANDARD
messages can contain 4KB of data and the 1KB of metadata. CONTROL
messages can contain 30 bytes of data and no metadata.
#tag_attendee(options = {}) ⇒ Struct
Applies the specified tags to the specified Amazon Chime SDK attendee.
#tag_meeting(options = {}) ⇒ Struct
Applies the specified tags to the specified Amazon Chime SDK meeting.
#tag_resource(options = {}) ⇒ Struct
Applies the specified tags to the specified Amazon Chime SDK meeting resource.
#untag_attendee(options = {}) ⇒ Struct
Untags the specified tags from the specified Amazon Chime SDK attendee.
#untag_meeting(options = {}) ⇒ Struct
Untags the specified tags from the specified Amazon Chime SDK meeting.
#untag_resource(options = {}) ⇒ Struct
Untags the specified tags from the specified Amazon Chime SDK meeting resource.
#update_account(options = {}) ⇒ Types::UpdateAccountResponse
Updates account details for the specified Amazon Chime account. Currently, only account name updates are supported for this action.
#update_account_settings(options = {}) ⇒ Struct
Updates the settings for the specified Amazon Chime account. You can update settings for remote control of shared screens, or for the dial-out option. For more information about these settings, see Use the Policies Page in the Amazon Chime Administration Guide.
#update_app_instance(options = {}) ⇒ Types::UpdateAppInstanceResponse
Updates AppInstance
metadata.
#update_app_instance_user(options = {}) ⇒ Types::UpdateAppInstanceUserResponse
Updates the details for an AppInstanceUser
. You can update names and metadata.
#update_bot(options = {}) ⇒ Types::UpdateBotResponse
Updates the status of the specified bot, such as starting or stopping the bot from running in your Amazon Chime Enterprise account.
#update_channel(options = {}) ⇒ Types::UpdateChannelResponse
Update a channel's attributes.
Restriction: You can't change a channel's privacy.
#update_channel_message(options = {}) ⇒ Types::UpdateChannelMessageResponse
Updates the content of a message.
#update_channel_read_marker(options = {}) ⇒ Types::UpdateChannelReadMarkerResponse
Sets the timestamp to the point when a user last read messages in a channel.
#update_global_settings(options = {}) ⇒ Struct
Updates global settings for the administrator's AWS account, such as Amazon Chime Business Calling and Amazon Chime Voice Connector settings.
#update_phone_number(options = {}) ⇒ Types::UpdatePhoneNumberResponse
Updates phone number details, such as product type or calling name, for the specified phone number ID. You can update one phone number detail at a time. For example, you can update either the product type or the calling name in one action.
For toll-free numbers, you must use the Amazon Chime Voice Connector product type.
Updates to outbound calling names can take up to 72 hours to complete. Pending updates to outbound calling names must be complete before you can request another update.
#update_phone_number_settings(options = {}) ⇒ Struct
Updates the phone number settings for the administrator's AWS account, such as the default outbound calling name. You can update the default outbound calling name once every seven days. Outbound calling names can take up to 72 hours to update.
#update_proxy_session(options = {}) ⇒ Types::UpdateProxySessionResponse
Updates the specified proxy session details, such as voice or SMS capabilities.
#update_room(options = {}) ⇒ Types::UpdateRoomResponse
Updates room details, such as the room name, for a room in an Amazon Chime Enterprise account.
#update_room_membership(options = {}) ⇒ Types::UpdateRoomMembershipResponse
Updates room membership details, such as the member role, for a room in an Amazon Chime Enterprise account. The member role designates whether the member is a chat room administrator or a general chat room member. The member role can be updated only for user IDs.
#update_sip_media_application(options = {}) ⇒ Types::UpdateSipMediaApplicationResponse
Updates the details for the specified SIP media application.
#update_sip_rule(options = {}) ⇒ Types::UpdateSipRuleResponse
Updates the details for the specified SIP rule.
#update_user(options = {}) ⇒ Types::UpdateUserResponse
Updates user details for a specified user ID. Currently, only LicenseType
updates are supported for this action.
#update_user_settings(options = {}) ⇒ Struct
Updates the settings for the specified user, such as phone number settings.
#update_voice_connector(options = {}) ⇒ Types::UpdateVoiceConnectorResponse
Updates details for the specified Amazon Chime Voice Connector.
#update_voice_connector_group(options = {}) ⇒ Types::UpdateVoiceConnectorGroupResponse
Updates details for the specified Amazon Chime Voice Connector group, such as the name and Amazon Chime Voice Connector priority ranking.
#wait_until(waiter_name, params = {}) {|waiter| ... } ⇒ Boolean
Waiters polls an API operation until a resource enters a desired state.
Basic Usage
Waiters will poll until they are succesful, they fail by entering a terminal state, or until a maximum number of attempts are made.
# polls in a loop, sleeping between attempts client.waiter_until(waiter_name, params)
Configuration
You can configure the maximum number of polling attempts, and the delay (in seconds) between each polling attempt. You configure waiters by passing a block to #wait_until:
# poll for ~25 seconds
client.wait_until(...) do |w|
w.max_attempts = 5
w.delay = 5
end
Callbacks
You can be notified before each polling attempt and before each
delay. If you throw :success
or :failure
from these callbacks,
it will terminate the waiter.
started_at = Time.now
client.wait_until(...) do |w|
# disable max attempts
w.max_attempts = nil
# poll for 1 hour, instead of a number of attempts
w.before_wait do |attempts, response|
throw :failure if Time.now - started_at > 3600
end
end
Handling Errors
When a waiter is successful, it returns true
. When a waiter
fails, it raises an error. All errors raised extend from
Waiters::Errors::WaiterFailed.
begin
client.wait_until(...)
rescue Aws::Waiters::Errors::WaiterFailed
# resource did not enter the desired state in time
end
#waiter_names ⇒ Array<Symbol>
Returns the list of supported waiters. The following table lists the supported waiters and the client method they call:
Waiter Name | Client Method | Default Delay: | Default Max Attempts: |
---|