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

**********************************
update_chime_webhook_configuration
**********************************



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

  

  Updates a Amazon Chime webhook configuration.

  

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


  **Request Syntax**
  ::

    response = client.update_chime_webhook_configuration(
        ChatConfigurationArn='string',
        WebhookDescription='string',
        WebhookUrl='string',
        SnsTopicArns=[
            'string',
        ],
        IamRoleArn='string',
        LoggingLevel='string'
    )
    
  :type ChatConfigurationArn: string
  :param ChatConfigurationArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the ChimeWebhookConfiguration to update.

    

  
  :type WebhookDescription: string
  :param WebhookDescription: 

    A description of the webhook. We recommend using the convention ``RoomName/WebhookName``.

     

    For more information, see `Tutorial\: Get started with Amazon Chime <https://docs.aws.amazon.com/chatbot/latest/adminguide/chime-setup.html>`__ in the *AWS Chatbot Administrator Guide*.

    

  
  :type WebhookUrl: string
  :param WebhookUrl: 

    The URL for the Amazon Chime webhook.

    

  
  :type SnsTopicArns: list
  :param SnsTopicArns: 

    The ARNs of the SNS topics that deliver notifications to AWS Chatbot.

    

  
    - *(string) --* 

    

  :type IamRoleArn: string
  :param IamRoleArn: 

    A user-defined role that AWS Chatbot assumes. This is not the service-linked role.

     

    For more information, see `IAM policies for AWS Chatbot <https://docs.aws.amazon.com/chatbot/latest/adminguide/chatbot-iam-policies.html>`__ in the *AWS Chatbot Administrator Guide*.

    

  
  :type LoggingLevel: string
  :param LoggingLevel: 

    Logging levels include ``ERROR``, ``INFO``, or ``NONE``.

    

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

    
    ::

      {
          'WebhookConfiguration': {
              'WebhookDescription': 'string',
              'ChatConfigurationArn': 'string',
              'IamRoleArn': 'string',
              'SnsTopicArns': [
                  'string',
              ],
              'ConfigurationName': 'string',
              'LoggingLevel': 'string',
              'Tags': [
                  {
                      'TagKey': 'string',
                      'TagValue': 'string'
                  },
              ],
              'State': 'string',
              'StateReason': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **WebhookConfiguration** *(dict) --* 

        A Amazon Chime webhook configuration.

        
        

        - **WebhookDescription** *(string) --* 

          A description of the webhook. We recommend using the convention ``RoomName/WebhookName``.

           

          For more information, see `Tutorial\: Get started with Amazon Chime <https://docs.aws.amazon.com/chatbot/latest/adminguide/chime-setup.html>`__ in the *AWS Chatbot Administrator Guide*.

          
        

        - **ChatConfigurationArn** *(string) --* 

          The Amazon Resource Name (ARN) of the ChimeWebhookConfiguration.

          
        

        - **IamRoleArn** *(string) --* 

          A user-defined role that AWS Chatbot assumes. This is not the service-linked role.

           

          For more information, see `IAM policies for AWS Chatbot <https://docs.aws.amazon.com/chatbot/latest/adminguide/chatbot-iam-policies.html>`__ in the *AWS Chatbot Administrator Guide*.

          
        

        - **SnsTopicArns** *(list) --* 

          The Amazon Resource Names (ARNs) of the SNS topics that deliver notifications to AWS Chatbot.

          
          

          - *(string) --* 
      
        

        - **ConfigurationName** *(string) --* 

          The name of the configuration.

          
        

        - **LoggingLevel** *(string) --* 

          Logging levels include ``ERROR``, ``INFO``, or ``NONE``.

          
        

        - **Tags** *(list) --* 

          A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.

          
          

          - *(dict) --* 

            A key-value pair. A tag consists of a tag key and a tag value. Tag keys and tag values are both required, but tag values can be empty (null) strings.

             

            .. warning::

               

              Do not include confidential or sensitive information in this field.

               

             

            For more information, see `User-Defined Tag Restrictions <https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html>`__ in the *AWS Billing and Cost Management User Guide*.

            
            

            - **TagKey** *(string) --* 

              The key of the tag.

              
            

            - **TagValue** *(string) --* 

              The value of the tag.

              
        
      
        

        - **State** *(string) --* 

          Either ``ENABLED`` or ``DISABLED``. The resource returns ``DISABLED`` if the organization's AWS Chatbot policy has explicitly denied that configuration. For example, if Amazon Chime is disabled.

          
        

        - **StateReason** *(string) --* 

          Provided if State is ``DISABLED``. Provides context as to why the resource is disabled.

          
    
  
  **Exceptions**
  
  *   :py:class:`Chatbot.Client.exceptions.InvalidParameterException`

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

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

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

  