Connect.Client.
associate_lex_bot
(**kwargs)¶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 V1 bot. This API only supports the association of Amazon Lex V1 bots.
See also: AWS API Documentation
Request Syntax
response = client.associate_lex_bot(
InstanceId='string',
LexBot={
'Name': 'string',
'LexRegion': 'string'
}
)
[REQUIRED]
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
[REQUIRED]
The Amazon Lex bot to associate with the instance.
The name of the Amazon Lex bot.
The Amazon Web Services Region where the Amazon Lex bot was created.
None
Exceptions
Connect.Client.exceptions.ResourceNotFoundException
Connect.Client.exceptions.ResourceConflictException
Connect.Client.exceptions.InternalServiceException
Connect.Client.exceptions.InvalidRequestException
Connect.Client.exceptions.InvalidParameterException
Connect.Client.exceptions.ServiceQuotaExceededException
Connect.Client.exceptions.ThrottlingException