Skip to content

List Policy Stores

verifiedpermissions_list_policy_stores R Documentation

Returns a paginated list of all policy stores in the calling Amazon Web Services account

Description

Returns a paginated list of all policy stores in the calling Amazon Web Services account.

Usage

verifiedpermissions_list_policy_stores(nextToken, maxResults)

Arguments

nextToken

Specifies that you want to receive the next page of results. Valid only if you received a NextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken response to request the next page of results.

maxResults

Specifies the total number of results that you want included in each response. If additional items exist beyond the number you specify, the NextToken response element is returned with a value (not null). Include the specified value as the NextToken request parameter in the next call to the operation to get the next set of results. Note that the service might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results.

If you do not specify this parameter, the operation defaults to 10 policy stores per response. You can specify a maximum of 50 policy stores per response.

Value

A list with the following syntax:

list(
  nextToken = "string",
  policyStores = list(
    list(
      policyStoreId = "string",
      arn = "string",
      createdDate = as.POSIXct(
        "2015-01-01"
      ),
      lastUpdatedDate = as.POSIXct(
        "2015-01-01"
      ),
      description = "string"
    )
  )
)

Request syntax

svc$list_policy_stores(
  nextToken = "string",
  maxResults = 123
)