associate_bot

associate_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 or Amazon Lex V2 bot.

See also: AWS API Documentation

Request Syntax

response = client.associate_bot(
    InstanceId='string',
    LexBot={
        'Name': 'string',
        'LexRegion': 'string'
    },
    LexV2Bot={
        'AliasArn': '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) --

    Configuration information of an Amazon Lex bot.

    • 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.

  • LexV2Bot (dict) --

    The Amazon Lex V2 bot to associate with the instance.

    • AliasArn (string) --

      The Amazon Resource Name (ARN) of the Amazon Lex V2 bot.

Returns

None

Exceptions

  • Connect.Client.exceptions.ResourceNotFoundException
  • Connect.Client.exceptions.ResourceConflictException
  • Connect.Client.exceptions.InternalServiceException
  • Connect.Client.exceptions.InvalidRequestException
  • Connect.Client.exceptions.LimitExceededException
  • Connect.Client.exceptions.ServiceQuotaExceededException
  • Connect.Client.exceptions.ThrottlingException