Returns a paginated list of all policies stored in the specified policy store
Source:R/verifiedpermissions_operations.R
verifiedpermissions_list_policies.RdReturns a paginated list of all policies stored in the specified policy store.
See https://www.paws-r-sdk.com/docs/verifiedpermissions_list_policies/ for full documentation.
Usage
verifiedpermissions_list_policies(
policyStoreId,
nextToken = NULL,
maxResults = NULL,
filter = NULL
)Arguments
- policyStoreId
[required] Specifies the ID of the policy store you want to list policies from.
To specify a policy store, use its ID or alias name. When using an alias name, prefix it with
policy-store-alias/. For example:ID:
PSEXAMPLEabcdefg111111Alias name:
policy-store-alias/example-policy-store
To view aliases, use
list_policy_store_aliases.- nextToken
Specifies that you want to receive the next page of results. Valid only if you received a
NextTokenresponse 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'sNextTokenresponse 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
NextTokenresponse element is returned with a value (not null). Include the specified value as theNextTokenrequest 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 checkNextTokenafter every operation to ensure that you receive all of the results.If you do not specify this parameter, the operation defaults to 10 policies per response. You can specify a maximum of 50 policies per response.
- filter
Specifies a filter that limits the response to only policies that match the specified criteria. For example, you list only the policies that reference a specified principal.