WAF / Client / list_web_acls
list_web_acls#
- WAF.Client.list_web_acls(**kwargs)#
- Note - This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide. - For the latest version of AWS WAF , use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use. - Returns an array of WebACLSummary objects in the response. - See also: AWS API Documentation - Request Syntax - response = client.list_web_acls( NextMarker='string', Limit=123 ) - Parameters:
- NextMarker (string) – If you specify a value for - Limitand you have more- WebACLobjects than the number that you specify for- Limit, AWS WAF returns a- NextMarkervalue in the response that allows you to list another group of- WebACLobjects. For the second and subsequent- ListWebACLsrequests, specify the value of- NextMarkerfrom the previous response to get information about another batch of- WebACLobjects.
- Limit (integer) – Specifies the number of - WebACLobjects that you want AWS WAF to return for this request. If you have more- WebACLobjects than the number that you specify for- Limit, the response includes a- NextMarkervalue that you can use to get another batch of- WebACLobjects.
 
- Return type:
- dict 
- Returns:
- Response Syntax - { 'NextMarker': 'string', 'WebACLs': [ { 'WebACLId': 'string', 'Name': 'string' }, ] } - Response Structure - (dict) – - NextMarker (string) – - If you have more - WebACLobjects than the number that you specified for- Limitin the request, the response includes a- NextMarkervalue. To list more- WebACLobjects, submit another- ListWebACLsrequest, and specify the- NextMarkervalue from the response in the- NextMarkervalue in the next request.
- WebACLs (list) – - An array of WebACLSummary objects. - (dict) – - Note - This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide. - For the latest version of AWS WAF , use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use. - Contains the identifier and the name or description of the WebACL. - WebACLId (string) – - A unique identifier for a - WebACL. You use- WebACLIdto get information about a- WebACL(see GetWebACL ), update a- WebACL(see UpdateWebACL ), and delete a- WebACLfrom AWS WAF (see DeleteWebACL ).- WebACLIdis returned by CreateWebACL and by ListWebACLs.
- Name (string) – - A friendly name or description of the WebACL. You can’t change the name of a - WebACLafter you create it.
 
 
 
 
 - Exceptions - WAF.Client.exceptions.WAFInternalErrorException
- WAF.Client.exceptions.WAFInvalidAccountException
 - Examples - The following example returns an array of up to 100 web ACLs. - response = client.list_web_acls( Limit=100, ) print(response) - Expected Output: - { 'WebACLs': [ { 'Name': 'WebACLexample', 'WebACLId': 'webacl-1472061481310', }, ], 'ResponseMetadata': { '...': '...', }, }