Chime / Client / create_bot
create_botΒΆ
- Chime.Client.create_bot(**kwargs)ΒΆ
Creates a bot for an Amazon Chime Enterprise account.
See also: AWS API Documentation
Request Syntax
response = client.create_bot( AccountId='string', DisplayName='string', Domain='string' )
- Parameters:
AccountId (string) β
[REQUIRED]
The Amazon Chime account ID.
DisplayName (string) β
[REQUIRED]
The bot display name.
Domain (string) β The domain of the Amazon Chime Enterprise account.
- Return type:
dict
- Returns:
Response Syntax
{ 'Bot': { 'BotId': 'string', 'UserId': 'string', 'DisplayName': 'string', 'BotType': 'ChatBot', 'Disabled': True|False, 'CreatedTimestamp': datetime(2015, 1, 1), 'UpdatedTimestamp': datetime(2015, 1, 1), 'BotEmail': 'string', 'SecurityToken': 'string' } }
Response Structure
(dict) β
Bot (dict) β
The bot details.
BotId (string) β
The bot ID.
UserId (string) β
The unique ID for the bot user.
DisplayName (string) β
The bot display name.
BotType (string) β
The bot type.
Disabled (boolean) β
When true, the bot is stopped from running in your account.
CreatedTimestamp (datetime) β
The bot creation timestamp, in ISO 8601 format.
UpdatedTimestamp (datetime) β
The updated bot timestamp, in ISO 8601 format.
BotEmail (string) β
The bot email address.
SecurityToken (string) β
The security token used to authenticate Amazon Chime with the outgoing event endpoint.
Exceptions
Chime.Client.exceptions.ServiceUnavailableExceptionChime.Client.exceptions.ServiceFailureExceptionChime.Client.exceptions.ForbiddenExceptionChime.Client.exceptions.BadRequestExceptionChime.Client.exceptions.UnauthorizedClientExceptionChime.Client.exceptions.ResourceLimitExceededExceptionChime.Client.exceptions.NotFoundExceptionChime.Client.exceptions.ThrottledClientException