associate_lex_bot

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'
    }
)
Parameters
  • InstanceId (string) --

    [REQUIRED]

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

  • LexBot (dict) --

    [REQUIRED]

    The Amazon Lex bot to associate with the instance.

    • Name (string) -- [REQUIRED]

      The name of the Amazon Lex bot.

    • LexRegion (string) -- [REQUIRED]

      The Amazon Web Services Region where the Amazon Lex bot was created.

Returns

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