LexModelBuildingService / Client / delete_bot_channel_association

delete_bot_channel_association

LexModelBuildingService.Client.delete_bot_channel_association(**kwargs)

Deletes the association between an Amazon Lex bot and a messaging platform.

This operation requires permission for the lex:DeleteBotChannelAssociation action.

Danger

This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.

See also: AWS API Documentation

Request Syntax

response = client.delete_bot_channel_association(
    name='string',
    botName='string',
    botAlias='string'
)
Parameters:
  • name (string) –

    [REQUIRED]

    The name of the association. The name is case sensitive.

  • botName (string) –

    [REQUIRED]

    The name of the Amazon Lex bot.

  • botAlias (string) –

    [REQUIRED]

    An alias that points to the specific version of the Amazon Lex bot to which this association is being made.

Returns:

None

Exceptions

  • LexModelBuildingService.Client.exceptions.NotFoundException

  • LexModelBuildingService.Client.exceptions.ConflictException

  • LexModelBuildingService.Client.exceptions.LimitExceededException

  • LexModelBuildingService.Client.exceptions.InternalFailureException

  • LexModelBuildingService.Client.exceptions.BadRequestException