Returns an array of PolicySummary objects.
fms_list_policies(NextToken, MaxResults)If you specify a value for MaxResults and you have more
PolicySummary objects than the number that you specify for
MaxResults, AWS Firewall Manager returns a NextToken value in the
response that allows you to list another group of PolicySummary
objects. For the second and subsequent
list_policies requests, specify the value of
NextToken from the previous response to get information about another
batch of PolicySummary objects.
Specifies the number of PolicySummary objects that you want AWS
Firewall Manager to return for this request. If you have more
PolicySummary objects than the number that you specify for
MaxResults, the response includes a NextToken value that you can use
to get another batch of PolicySummary objects.
A list with the following syntax:
list(
PolicyList = list(
list(
PolicyArn = "string",
PolicyId = "string",
PolicyName = "string",
ResourceType = "string",
SecurityServiceType = "WAF"|"WAFV2"|"SHIELD_ADVANCED"|"SECURITY_GROUPS_COMMON"|"SECURITY_GROUPS_CONTENT_AUDIT"|"SECURITY_GROUPS_USAGE_AUDIT"|"NETWORK_FIREWALL",
RemediationEnabled = TRUE|FALSE
)
),
NextToken = "string"
)
svc$list_policies( NextToken = "string", MaxResults = 123 )