Retrieves a list of policies within the AgentCore Policy engine
Source:R/bedrockagentcorecontrol_operations.R
bedrockagentcorecontrol_list_policies.RdRetrieves a list of policies within the AgentCore Policy engine. This operation supports pagination and filtering to help administrators manage and discover policies across policy engines. Results can be filtered by policy engine or resource associations.
See https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_policies/ for full documentation.
Usage
bedrockagentcorecontrol_list_policies(
nextToken = NULL,
maxResults = NULL,
policyEngineId,
targetResourceScope = NULL
)Arguments
- nextToken
A pagination token returned from a previous
list_policiescall. Use this token to retrieve the next page of results when the response is paginated.- maxResults
The maximum number of policies to return in a single response. If not specified, the default is 10 policies per page, with a maximum of 100 per page.
- policyEngineId
[required] The identifier of the policy engine whose policies to retrieve.
- targetResourceScope
Optional filter to list policies that apply to a specific resource scope or resource type. This helps narrow down policy results to those relevant for particular Amazon Web Services resources, agent tools, or operational contexts within the policy engine ecosystem.