NetworkFirewall / Client / list_firewall_policies_v2
list_firewall_policies_v2¶
- NetworkFirewall.Client.list_firewall_policies_v2(**kwargs)¶
Retrieves the metadata for the Next Generation policies that you have defined. Depending on your setting for max results and the number of firewall policies, a single call might not return the full list.
See also: AWS API Documentation
Request Syntax
response = client.list_firewall_policies_v2( NextToken='string', MaxResults=123 )
- Parameters:
NextToken (string) – When you request a list of objects with a
MaxResultssetting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns aNextTokenvalue in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.MaxResults (integer) – The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a
NextTokenvalue that you can use in a subsequent call to get the next batch of objects.
- Return type:
dict
- Returns:
Response Syntax
{ 'NextToken': 'string', 'FirewallPoliciesV2': [ { 'Name': 'string', 'Arn': 'string' }, ] }
Response Structure
(dict) –
NextToken (string) –
When you request a list of objects with a
MaxResultssetting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns aNextTokenvalue in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.FirewallPoliciesV2 (list) –
The metadata for the Next Generation policies. Depending on your setting for max results and the number of firewall policies that you have, this might not be the full list.
(dict) –
High-level information about a Next Generation policy, returned in a list of policies. To retrieve the policy’s full properties, rule groups, and settings, use the Next Generation policy describe operation.
Name (string) –
The descriptive name of the Next Generation policy. You can’t change the name of a firewall policy after you create it.
Arn (string) –
The Amazon Resource Name (ARN) of the Next Generation policy.
Exceptions