Connect / Client / disassociate_bot

disassociate_bot#

Connect.Client.disassociate_bot(**kwargs)#

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

response = client.disassociate_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 disassociate from 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.InternalServiceException

  • Connect.Client.exceptions.InvalidRequestException

  • Connect.Client.exceptions.ThrottlingException