:doc:`WAFV2 <../../wafv2>` / Client / get_web_acl

***********
get_web_acl
***********



.. py:method:: WAFV2.Client.get_web_acl(**kwargs)

  

  Retrieves the specified  WebACL.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetWebACL>`_  


  **Request Syntax**
  ::

    response = client.get_web_acl(
        Name='string',
        Scope='CLOUDFRONT'|'REGIONAL',
        Id='string',
        ARN='string'
    )
    
  :type Name: string
  :param Name: 

    The name of the web ACL. You cannot change the name of a web ACL after you create it.

    

  
  :type Scope: string
  :param Scope: 

    Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use ``CLOUDFRONT``.

     

    To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:

     

    
    * CLI - Specify the Region when you use the CloudFront scope: ``--scope=CLOUDFRONT --region=us-east-1``.
     
    * API and SDKs - For all calls, use the Region endpoint us-east-1.
    

    

  
  :type Id: string
  :param Id: 

    The unique identifier for the web ACL. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.

    

  
  :type ARN: string
  :param ARN: 

    The Amazon Resource Name (ARN) of the web ACL that you want to retrieve.

    

  
  
  :rtype: dict
  :returns: 
    

    **Response Syntax**
    ::

        # This section is too large to render.
        # Please see the AWS API Documentation linked below.

    `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetWebACL>`_


    

    **Response Structure**
    ::

        # This section is too large to render.
        # Please see the AWS API Documentation linked below.

    `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetWebACL>`_


    
  **Exceptions**
  
  *   :py:class:`WAFV2.Client.exceptions.WAFInternalErrorException`

  
  *   :py:class:`WAFV2.Client.exceptions.WAFInvalidParameterException`

  
  *   :py:class:`WAFV2.Client.exceptions.WAFNonexistentItemException`

  
  *   :py:class:`WAFV2.Client.exceptions.WAFInvalidOperationException`

  