:doc:`CloudFront <../../cloudfront>` / Client / disassociate_distribution_web_acl

*********************************
disassociate_distribution_web_acl
*********************************



.. py:method:: CloudFront.Client.disassociate_distribution_web_acl(**kwargs)

  

  Disassociates a distribution from the WAF web ACL.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DisassociateDistributionWebACL>`_  


  **Request Syntax**
  ::

    response = client.disassociate_distribution_web_acl(
        Id='string',
        IfMatch='string'
    )
    
  :type Id: string
  :param Id: **[REQUIRED]** 

    The ID of the distribution.

    

  
  :type IfMatch: string
  :param IfMatch: 

    The value of the ``ETag`` header that you received when retrieving the distribution that you're disassociating from the WAF web ACL.

    

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

    
    ::

      {
          'Id': 'string',
          'ETag': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Id** *(string) --* 

        The ID of the distribution.

        
      

      - **ETag** *(string) --* 

        The current version of the distribution.

        
  
  **Exceptions**
  
  *   :py:class:`CloudFront.Client.exceptions.PreconditionFailed`

  
  *   :py:class:`CloudFront.Client.exceptions.AccessDenied`

  
  *   :py:class:`CloudFront.Client.exceptions.EntityNotFound`

  
  *   :py:class:`CloudFront.Client.exceptions.InvalidArgument`

  
  *   :py:class:`CloudFront.Client.exceptions.InvalidIfMatchVersion`

  