:doc:`Chatbot <../../chatbot>` / Client / associate_to_configuration

**************************
associate_to_configuration
**************************



.. py:method:: Chatbot.Client.associate_to_configuration(**kwargs)

  

  Links a resource (for example, a custom action) to a channel configuration.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/chatbot-2017-10-11/AssociateToConfiguration>`_  


  **Request Syntax**
  ::

    response = client.associate_to_configuration(
        Resource='string',
        ChatConfiguration='string'
    )
    
  :type Resource: string
  :param Resource: **[REQUIRED]** 

    The resource Amazon Resource Name (ARN) to link.

    

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

    The channel configuration to associate with the resource.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`Chatbot.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`Chatbot.Client.exceptions.InternalServiceError`

  
  *   :py:class:`Chatbot.Client.exceptions.UnauthorizedException`

  