2019/05/14 - Amazon Chime - 8 new api methods
Changes Amazon Chime private bots GA release.
Deletes the events configuration that allows a bot to receive outgoing events.
See also: AWS API Documentation
Request Syntax
client.delete_events_configuration( AccountId='string', BotId='string' )
string
[REQUIRED]
The Amazon Chime account ID.
string
[REQUIRED]
The bot ID.
None
Creates a bot for an Amazon Chime Enterprise account.
See also: AWS API Documentation
Request Syntax
client.create_bot( AccountId='string', DisplayName='string', Domain='string' )
string
[REQUIRED]
The Amazon Chime account ID.
string
[REQUIRED]
The bot display name.
string
The domain of the Amazon Chime Enterprise account.
dict
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.
Regenerates the security token for a bot.
See also: AWS API Documentation
Request Syntax
client.regenerate_security_token( AccountId='string', BotId='string' )
string
[REQUIRED]
The Amazon Chime account ID.
string
[REQUIRED]
The bot ID.
dict
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) --
A resource that allows Enterprise account administrators to configure an interface to receive events from Amazon Chime.
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.
Lists the bots associated with the administrator's Amazon Chime Enterprise account ID.
See also: AWS API Documentation
Request Syntax
client.list_bots( AccountId='string', MaxResults=123, NextToken='string' )
string
[REQUIRED]
The Amazon Chime account ID.
integer
The maximum number of results to return in a single call. Default is 10.
string
The token to use to retrieve the next page of results.
dict
Response Syntax
{ 'Bots': [ { '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' }, ], 'NextToken': 'string' }
Response Structure
(dict) --
Bots (list) --
List of bots and bot details.
(dict) --
A resource that allows Enterprise account administrators to configure an interface to receive events from Amazon Chime.
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.
NextToken (string) --
The token to use to retrieve the next page of results.
Retrieves details for the specified bot, such as bot email address, bot type, status, and display name.
See also: AWS API Documentation
Request Syntax
client.get_bot( AccountId='string', BotId='string' )
string
[REQUIRED]
The Amazon Chime account ID.
string
[REQUIRED]
The bot ID.
dict
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 chat 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.
Updates the status of the specified bot, such as starting or stopping the bot from running in your Amazon Chime Enterprise account.
See also: AWS API Documentation
Request Syntax
client.update_bot( AccountId='string', BotId='string', Disabled=True|False )
string
[REQUIRED]
The Amazon Chime account ID.
string
[REQUIRED]
The bot ID.
boolean
When true, stops the specified bot from running in your account.
dict
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 updated 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.
Gets details for an events configuration that allows a bot to receive outgoing events, such as an HTTPS endpoint or Lambda function ARN.
See also: AWS API Documentation
Request Syntax
client.get_events_configuration( AccountId='string', BotId='string' )
string
[REQUIRED]
The Amazon Chime account ID.
string
[REQUIRED]
The bot ID.
dict
Response Syntax
{ 'EventsConfiguration': { 'BotId': 'string', 'OutboundEventsHTTPSEndpoint': 'string', 'LambdaFunctionArn': 'string' } }
Response Structure
(dict) --
EventsConfiguration (dict) --
The events configuration details.
BotId (string) --
The bot ID.
OutboundEventsHTTPSEndpoint (string) --
HTTPS endpoint that allows a bot to receive outgoing events.
LambdaFunctionArn (string) --
Lambda function ARN that allows a bot to receive outgoing events.
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 .
See also: AWS API Documentation
Request Syntax
client.put_events_configuration( AccountId='string', BotId='string', OutboundEventsHTTPSEndpoint='string', LambdaFunctionArn='string' )
string
[REQUIRED]
The Amazon Chime account ID.
string
[REQUIRED]
The bot ID.
string
HTTPS endpoint that allows the bot to receive outgoing events.
string
Lambda function ARN that allows the bot to receive outgoing events.
dict
Response Syntax
{ 'EventsConfiguration': { 'BotId': 'string', 'OutboundEventsHTTPSEndpoint': 'string', 'LambdaFunctionArn': 'string' } }
Response Structure
(dict) --
EventsConfiguration (dict) --
The configuration that allows a bot to receive outgoing events. Can be either an HTTPS endpoint or a Lambda function ARN.
BotId (string) --
The bot ID.
OutboundEventsHTTPSEndpoint (string) --
HTTPS endpoint that allows a bot to receive outgoing events.
LambdaFunctionArn (string) --
Lambda function ARN that allows a bot to receive outgoing events.