ChimeClient

Deprecated

This namespace has been deprecated

Most of these APIs are no longer supported and will not be updated. We recommend using the latest versions in the Amazon Chime SDK API reference, in the Amazon Chime SDK.

Using the latest versions requires migrating to dedicated namespaces. For more information, refer to Migrating from the Amazon Chime namespace in the Amazon Chime SDK Developer Guide.

The Amazon Chime application programming interface (API) is designed so administrators can perform key tasks, such as creating and managing Amazon Chime accounts, users, and Voice Connectors. This guide provides detailed information about the Amazon Chime API, including operations, types, inputs and outputs, and error codes.

You can use an AWS SDK, the AWS Command Line Interface (AWS CLI), or the REST API to make API calls for Amazon Chime. We recommend using an AWS SDK or the AWS CLI. The page for each API action contains a See Also section that includes links to information about using the action with a language-specific AWS SDK or the AWS CLI.

Using an AWS SDK

You don't need to write code to calculate a signature for request authentication. The SDK clients authenticate your requests by using access keys that you provide. For more information about AWS SDKs, see the AWS Developer Center.

Using the AWS CLI

Use your access keys with the AWS CLI to make API calls. For information about setting up the AWS CLI, see Installing the AWS Command Line Interface in the AWS Command Line Interface User Guide. For a list of available Amazon Chime commands, see the Amazon Chime commands in the AWS CLI Command Reference.

Using REST APIs

If you use REST to make API calls, you must authenticate your request by providing a signature. Amazon Chime supports Signature Version 4. For more information, see Signature Version 4 Signing Process in the Amazon Web Services General Reference.

When making REST API calls, use the service name chime and REST endpoint https://service.chime.aws.amazon.com.

Administrative permissions are controlled using AWS Identity and Access Management (IAM). For more information, see Identity and Access Management for Amazon Chime in the Amazon Chime Administration Guide.

Properties

Link copied to clipboard
abstract override val config: ChimeClient.Config

ChimeClient's configuration

Functions

Link copied to clipboard

Associates a phone number with the specified Amazon Chime user.

Link copied to clipboard

Associates the specified sign-in delegate groups with the specified Amazon Chime account.

Link copied to clipboard

Adds up to 50 members to a chat room in an Amazon Chime Enterprise account. Members can be users or bots. The member role designates whether the member is a chat room administrator or a general chat room member.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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 account types, in the Amazon Chime Administration Guide.

Link copied to clipboard

Updates phone number product types or calling names. You can update one attribute at a time for each UpdatePhoneNumberRequestItem. For example, you can update the product type or the calling name.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard
abstract suspend fun createBot(input: CreateBotRequest): CreateBotResponse

Creates a bot for an Amazon Chime Enterprise account.

Link copied to clipboard

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 join them into a Chime meeting. Also ensures that the From number belongs to the customer.

Link copied to clipboard

Creates an order for phone numbers to be provisioned. For toll-free numbers, you cannot use the Amazon Chime Business Calling product type. For numbers outside the U.S., you must use the Amazon Chime SIP Media Application Dial-In product type.

Link copied to clipboard
abstract suspend fun createRoom(input: CreateRoomRequest): CreateRoomResponse

Creates a chat room for the specified Amazon Chime Enterprise account.

Link copied to clipboard

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.

Link copied to clipboard
abstract suspend fun createUser(input: CreateUserRequest): CreateUserResponse

Creates a user under the specified Amazon Chime account.

Link copied to clipboard

Deletes the specified Amazon Chime account. You must suspend all users before deleting Team account. You can use the BatchSuspendUser action to dodo.

Link copied to clipboard

Deletes the events configuration that allows a bot to receive outgoing events.

Link copied to clipboard

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.

Link copied to clipboard
abstract suspend fun deleteRoom(input: DeleteRoomRequest): DeleteRoomResponse

Deletes a chat room in an Amazon Chime Enterprise account.

Link copied to clipboard

Removes a member from a chat room in an Amazon Chime Enterprise account.

Link copied to clipboard

Disassociates the primary provisioned phone number from the specified Amazon Chime user.

Disassociates the specified sign-in delegate groups from the specified Amazon Chime account.

Link copied to clipboard
abstract suspend fun getAccount(input: GetAccountRequest): GetAccountResponse

Retrieves details for the specified Amazon Chime account, such as account type and supported licenses.

Link copied to clipboard

Retrieves account settings for the specified Amazon Chime account ID, such as remote control and dialout settings. For more information about these settings, see Use the Policies Page in the Amazon Chime Administration Guide.

Link copied to clipboard
abstract suspend fun getBot(input: GetBotRequest): GetBotResponse

Retrieves details for the specified bot, such as bot email address, bot type, status, and display name.

Link copied to clipboard

Gets details for an events configuration that allows a bot to receive outgoing events, such as an HTTPS endpoint or Lambda function ARN.

Link copied to clipboard
abstract suspend fun getGlobalSettings(input: GetGlobalSettingsRequest = GetGlobalSettingsRequest { }): GetGlobalSettingsResponse

Retrieves global settings for the administrator's AWS account, such as Amazon Chime Business Calling and Amazon Chime Voice Connector settings.

Link copied to clipboard

Retrieves details for the specified phone number ID, such as associations, capabilities, and product type.

Link copied to clipboard

Retrieves details for the specified phone number order, such as the order creation timestamp, phone numbers in E.164 format, product type, and order status.

Link copied to clipboard
abstract suspend fun getPhoneNumberSettings(input: GetPhoneNumberSettingsRequest = GetPhoneNumberSettingsRequest { }): GetPhoneNumberSettingsResponse

Retrieves the phone number settings for the administrator's AWS account, such as the default outbound calling name.

Link copied to clipboard

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.

Link copied to clipboard
abstract suspend fun getRoom(input: GetRoomRequest): GetRoomResponse

Retrieves room details, such as the room name, for a room in an Amazon Chime Enterprise account.

Link copied to clipboard
abstract suspend fun getUser(input: GetUserRequest): GetUserResponse

Retrieves details for the specified user ID, such as primary email address, license type,and personal meeting PIN.

Link copied to clipboard

Retrieves settings for the specified user ID, such as any associated phone number settings.

Link copied to clipboard
abstract suspend fun inviteUsers(input: InviteUsersRequest): 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.

Link copied to clipboard
abstract suspend fun listAccounts(input: ListAccountsRequest = ListAccountsRequest { }): 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.

Link copied to clipboard
abstract suspend fun listBots(input: ListBotsRequest): ListBotsResponse

Lists the bots associated with the administrator's Amazon Chime Enterprise account ID.

Link copied to clipboard
abstract suspend fun listPhoneNumberOrders(input: ListPhoneNumberOrdersRequest = ListPhoneNumberOrdersRequest { }): ListPhoneNumberOrdersResponse

Lists the phone number orders for the administrator's Amazon Chime account.

Link copied to clipboard
abstract suspend fun listPhoneNumbers(input: ListPhoneNumbersRequest = ListPhoneNumbersRequest { }): ListPhoneNumbersResponse

Lists the phone numbers for the specified Amazon Chime account, Amazon Chime user, Amazon Chime Voice Connector, or Amazon Chime Voice Connector group.

Link copied to clipboard

Lists the membership details for the specified room in an Amazon Chime Enterprise account, such as the members' IDs, email addresses, and names.

Link copied to clipboard
abstract suspend fun listRooms(input: ListRoomsRequest): 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.

Link copied to clipboard
Link copied to clipboard
abstract suspend fun listUsers(input: ListUsersRequest): 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.

Link copied to clipboard
abstract suspend fun logoutUser(input: LogoutUserRequest): LogoutUserResponse

Logs out the specified user from all of the devices they are currently logged into.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

Redacts the specified message from the specified Amazon Chime conversation.

Link copied to clipboard

Redacts the specified message from the specified Amazon Chime channel.

Link copied to clipboard

Regenerates the security token for a bot.

Link copied to clipboard

Resets the personal meeting PIN for the specified user on an Amazon Chime account. Returns the User object with the updated personal meeting PIN.

Link copied to clipboard

Moves a phone number from the Deletion queue back into the phone number Inventory.

Link copied to clipboard
abstract suspend fun searchAvailablePhoneNumbers(input: SearchAvailablePhoneNumbersRequest = SearchAvailablePhoneNumbersRequest { }): SearchAvailablePhoneNumbersResponse

Searches for phone numbers that can be ordered. For US numbers, provide at least one of the following search filters: AreaCode, City, State, or TollFreePrefix. If you provide City, you must also provide State. Numbers outside the US only support the PhoneNumberType filter, which you must use.

Link copied to clipboard

Updates account details for the specified Amazon Chime account. Currently, only account name and default license updates are supported for this action.

Link copied to clipboard

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.

Link copied to clipboard
abstract suspend fun updateBot(input: UpdateBotRequest): UpdateBotResponse

Updates the status of the specified bot, such as starting or stopping the bot from running in your Amazon Chime Enterprise account.

Link copied to clipboard
abstract suspend fun updateGlobalSettings(input: UpdateGlobalSettingsRequest = UpdateGlobalSettingsRequest { }): UpdateGlobalSettingsResponse

Updates global settings for the administrator's AWS account, such as Amazon Chime Business Calling and Amazon Chime Voice Connector settings.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard
abstract suspend fun updateRoom(input: UpdateRoomRequest): UpdateRoomResponse

Updates room details, such as the room name, for a room in an Amazon Chime Enterprise account.

Link copied to clipboard

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.

Link copied to clipboard
abstract suspend fun updateUser(input: UpdateUserRequest): UpdateUserResponse

Updates user details for a specified user ID. Currently, only LicenseType updates are supported for this action.

Link copied to clipboard

Updates the settings for the specified user, such as phone number settings.

Inherited functions

Link copied to clipboard

Associates a phone number with the specified Amazon Chime user.

Link copied to clipboard

Associates the specified sign-in delegate groups with the specified Amazon Chime account.

Link copied to clipboard

Adds up to 50 members to a chat room in an Amazon Chime Enterprise account. Members can be users or bots. The member role designates whether the member is a chat room administrator or a general chat room member.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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 account types, in the Amazon Chime Administration Guide.

Link copied to clipboard

Updates phone number product types or calling names. You can update one attribute at a time for each UpdatePhoneNumberRequestItem. For example, you can update the product type or the calling name.

Link copied to clipboard

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.

Link copied to clipboard
expect abstract fun close()
Link copied to clipboard

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.

Link copied to clipboard
inline suspend fun ChimeClient.createBot(crossinline block: CreateBotRequest.Builder.() -> Unit): CreateBotResponse

Creates a bot for an Amazon Chime Enterprise account.

Link copied to clipboard

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 join them into a Chime meeting. Also ensures that the From number belongs to the customer.

Link copied to clipboard

Creates an order for phone numbers to be provisioned. For toll-free numbers, you cannot use the Amazon Chime Business Calling product type. For numbers outside the U.S., you must use the Amazon Chime SIP Media Application Dial-In product type.

Link copied to clipboard
inline suspend fun ChimeClient.createRoom(crossinline block: CreateRoomRequest.Builder.() -> Unit): CreateRoomResponse

Creates a chat room for the specified Amazon Chime Enterprise account.

Link copied to clipboard

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.

Link copied to clipboard
inline suspend fun ChimeClient.createUser(crossinline block: CreateUserRequest.Builder.() -> Unit): CreateUserResponse

Creates a user under the specified Amazon Chime account.

Link copied to clipboard

Deletes the specified Amazon Chime account. You must suspend all users before deleting Team account. You can use the BatchSuspendUser action to dodo.

Link copied to clipboard

Deletes the events configuration that allows a bot to receive outgoing events.

Link copied to clipboard

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.

Link copied to clipboard
inline suspend fun ChimeClient.deleteRoom(crossinline block: DeleteRoomRequest.Builder.() -> Unit): DeleteRoomResponse

Deletes a chat room in an Amazon Chime Enterprise account.

Link copied to clipboard

Removes a member from a chat room in an Amazon Chime Enterprise account.

Link copied to clipboard

Disassociates the primary provisioned phone number from the specified Amazon Chime user.

Disassociates the specified sign-in delegate groups from the specified Amazon Chime account.

Link copied to clipboard
inline suspend fun ChimeClient.getAccount(crossinline block: GetAccountRequest.Builder.() -> Unit): GetAccountResponse

Retrieves details for the specified Amazon Chime account, such as account type and supported licenses.

Link copied to clipboard

Retrieves account settings for the specified Amazon Chime account ID, such as remote control and dialout settings. For more information about these settings, see Use the Policies Page in the Amazon Chime Administration Guide.

Link copied to clipboard
inline suspend fun ChimeClient.getBot(crossinline block: GetBotRequest.Builder.() -> Unit): GetBotResponse

Retrieves details for the specified bot, such as bot email address, bot type, status, and display name.

Link copied to clipboard

Gets details for an events configuration that allows a bot to receive outgoing events, such as an HTTPS endpoint or Lambda function ARN.

Link copied to clipboard

Retrieves global settings for the administrator's AWS account, such as Amazon Chime Business Calling and Amazon Chime Voice Connector settings.

Link copied to clipboard

Retrieves details for the specified phone number ID, such as associations, capabilities, and product type.

Link copied to clipboard

Retrieves details for the specified phone number order, such as the order creation timestamp, phone numbers in E.164 format, product type, and order status.

Link copied to clipboard

Retrieves the phone number settings for the administrator's AWS account, such as the default outbound calling name.

Link copied to clipboard

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.

Link copied to clipboard
inline suspend fun ChimeClient.getRoom(crossinline block: GetRoomRequest.Builder.() -> Unit): GetRoomResponse

Retrieves room details, such as the room name, for a room in an Amazon Chime Enterprise account.

Link copied to clipboard
inline suspend fun ChimeClient.getUser(crossinline block: GetUserRequest.Builder.() -> Unit): GetUserResponse

Retrieves details for the specified user ID, such as primary email address, license type,and personal meeting PIN.

Link copied to clipboard

Retrieves settings for the specified user ID, such as any associated phone number settings.

Link copied to clipboard
inline suspend fun ChimeClient.inviteUsers(crossinline block: InviteUsersRequest.Builder.() -> Unit): 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.

Link copied to clipboard
inline suspend fun ChimeClient.listAccounts(crossinline block: ListAccountsRequest.Builder.() -> Unit): 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.

Link copied to clipboard
Link copied to clipboard
inline suspend fun ChimeClient.listBots(crossinline block: ListBotsRequest.Builder.() -> Unit): ListBotsResponse

Lists the bots associated with the administrator's Amazon Chime Enterprise account ID.

Link copied to clipboard
Link copied to clipboard

Lists the phone number orders for the administrator's Amazon Chime account.

Link copied to clipboard

Lists the phone numbers for the specified Amazon Chime account, Amazon Chime user, Amazon Chime Voice Connector, or Amazon Chime Voice Connector group.

Link copied to clipboard

Lists the membership details for the specified room in an Amazon Chime Enterprise account, such as the members' IDs, email addresses, and names.

Link copied to clipboard
inline suspend fun ChimeClient.listRooms(crossinline block: ListRoomsRequest.Builder.() -> Unit): 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.

Link copied to clipboard
Link copied to clipboard
inline suspend fun ChimeClient.listUsers(crossinline block: ListUsersRequest.Builder.() -> Unit): 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.

Link copied to clipboard
inline suspend fun ChimeClient.logoutUser(crossinline block: LogoutUserRequest.Builder.() -> Unit): LogoutUserResponse

Logs out the specified user from all of the devices they are currently logged into.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

Redacts the specified message from the specified Amazon Chime conversation.

Link copied to clipboard

Redacts the specified message from the specified Amazon Chime channel.

Link copied to clipboard

Regenerates the security token for a bot.

Link copied to clipboard

Resets the personal meeting PIN for the specified user on an Amazon Chime account. Returns the User object with the updated personal meeting PIN.

Link copied to clipboard

Moves a phone number from the Deletion queue back into the phone number Inventory.

Link copied to clipboard

Searches for phone numbers that can be ordered. For US numbers, provide at least one of the following search filters: AreaCode, City, State, or TollFreePrefix. If you provide City, you must also provide State. Numbers outside the US only support the PhoneNumberType filter, which you must use.

Link copied to clipboard

Updates account details for the specified Amazon Chime account. Currently, only account name and default license updates are supported for this action.

Link copied to clipboard

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.

Link copied to clipboard
inline suspend fun ChimeClient.updateBot(crossinline block: UpdateBotRequest.Builder.() -> Unit): UpdateBotResponse

Updates the status of the specified bot, such as starting or stopping the bot from running in your Amazon Chime Enterprise account.

Link copied to clipboard

Updates global settings for the administrator's AWS account, such as Amazon Chime Business Calling and Amazon Chime Voice Connector settings.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard
inline suspend fun ChimeClient.updateRoom(crossinline block: UpdateRoomRequest.Builder.() -> Unit): UpdateRoomResponse

Updates room details, such as the room name, for a room in an Amazon Chime Enterprise account.

Link copied to clipboard

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.

Link copied to clipboard
inline suspend fun ChimeClient.updateUser(crossinline block: UpdateUserRequest.Builder.() -> Unit): UpdateUserResponse

Updates user details for a specified user ID. Currently, only LicenseType updates are supported for this action.

Link copied to clipboard

Updates the settings for the specified user, such as phone number settings.

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.