2021/06/15 - Amazon Connect Service - 3 new api methods
Changes This release adds new sets of APIs: AssociateBot, DisassociateBot, and ListBots. You can use it to programmatically add an Amazon Lex bot or Amazon Lex V2 bot on the specified Amazon Connect instance
This API is in preview release for Amazon Connect and is subject to change.
For the specified version of Amazon Lex, returns a paginated list of all the Amazon Lex bots currently associated with the instance.
See also: AWS API Documentation
Request Syntax
client.list_bots( InstanceId='string', NextToken='string', MaxResults=123, LexVersion='V1'|'V2' )
string
[REQUIRED]
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
integer
The maximum number of results to return per page.
string
[REQUIRED]
The version of Amazon Lex or Amazon Lex V2.
dict
Response Syntax
{ 'LexBots': [ { 'LexBot': { 'Name': 'string', 'LexRegion': 'string' }, 'LexV2Bot': { 'AliasArn': 'string' } }, ], 'NextToken': 'string' }
Response Structure
(dict) --
LexBots (list) --
The names and Regions of the Amazon Lex or Amazon Lex V2 bots associated with the specified instance.
(dict) --
Configuration information of an Amazon Lex or Amazon Lex V2 bot.
LexBot (dict) --
Configuration information of an Amazon Lex bot.
Name (string) --
The name of the Amazon Lex bot.
LexRegion (string) --
The Region that the Amazon Lex bot was created in.
LexV2Bot (dict) --
Configuration information of an Amazon Lex V2 bot.
AliasArn (string) --
The Amazon Resource Name (ARN) of the Amazon Lex V2 bot.
NextToken (string) --
If there are additional results, this is the token for the next set of results.
This API is in preview release for Amazon Connect and is subject to change.
Allows the specified Amazon Connect instance to access the specified Amazon Lex or Amazon Lex V2 bot.
See also: AWS API Documentation
Request Syntax
client.associate_bot( InstanceId='string', LexBot={ 'Name': 'string', 'LexRegion': 'string' }, LexV2Bot={ 'AliasArn': 'string' } )
string
[REQUIRED]
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
dict
Configuration information of an Amazon Lex bot.
Name (string) --
The name of the Amazon Lex bot.
LexRegion (string) --
The Region that the Amazon Lex bot was created in.
dict
The Amazon Lex V2 bot to associate with the instance.
AliasArn (string) --
The Amazon Resource Name (ARN) of the Amazon Lex V2 bot.
None
This API is in preview release for Amazon Connect and is subject to change.
Revokes authorization from the specified instance to access the specified Amazon Lex or Amazon Lex V2 bot.
See also: AWS API Documentation
Request Syntax
client.disassociate_bot( InstanceId='string', LexBot={ 'Name': 'string', 'LexRegion': 'string' }, LexV2Bot={ 'AliasArn': 'string' } )
string
[REQUIRED]
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
dict
Configuration information of an Amazon Lex bot.
Name (string) --
The name of the Amazon Lex bot.
LexRegion (string) --
The Region that the Amazon Lex bot was created in.
dict
The Amazon Lex V2 bot to disassociate from the instance.
AliasArn (string) --
The Amazon Resource Name (ARN) of the Amazon Lex V2 bot.
None