fms_list_policies: Returns an array of PolicySummary objects

Description Usage Arguments Value Request syntax

View source: R/fms_operations.R

Description

Returns an array of PolicySummary objects.

Usage

1
fms_list_policies(NextToken, MaxResults)

Arguments

NextToken

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.

MaxResults

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.

Value

A list with the following syntax:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
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"
)

Request syntax

1
2
3
4
svc$list_policies(
  NextToken = "string",
  MaxResults = 123
)

paws.security.identity documentation built on Aug. 23, 2021, 9:16 a.m.