:doc:`LexModelBuildingService <../../lex-models>` / Client / delete_bot_channel_association

******************************
delete_bot_channel_association
******************************



.. py:method:: 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.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotChannelAssociation>`_  


  **Request Syntax**
  ::

    response = client.delete_bot_channel_association(
        name='string',
        botName='string',
        botAlias='string'
    )
    
  :type name: string
  :param name: **[REQUIRED]** 

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

    

  
  :type botName: string
  :param botName: **[REQUIRED]** 

    The name of the Amazon Lex bot.

    

  
  :type botAlias: string
  :param botAlias: **[REQUIRED]** 

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

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`LexModelBuildingService.Client.exceptions.NotFoundException`

  
  *   :py:class:`LexModelBuildingService.Client.exceptions.ConflictException`

  
  *   :py:class:`LexModelBuildingService.Client.exceptions.LimitExceededException`

  
  *   :py:class:`LexModelBuildingService.Client.exceptions.InternalFailureException`

  
  *   :py:class:`LexModelBuildingService.Client.exceptions.BadRequestException`

  