Retrieves a list of generated policy assets from a policy generation request within the AgentCore Policy system
Source:R/bedrockagentcorecontrol_operations.R
bedrockagentcorecontrol_list_policy_generation_assets.RdRetrieves a list of generated policy assets from a policy generation request within the AgentCore Policy system. This operation returns the actual Cedar policies and related artifacts produced by the AI-powered policy generation process, allowing users to review and select from multiple generated policy options.
See https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_policy_generation_assets/ for full documentation.
Usage
bedrockagentcorecontrol_list_policy_generation_assets(
policyGenerationId,
policyEngineId,
nextToken = NULL,
maxResults = NULL
)Arguments
- policyGenerationId
[required] The unique identifier of the policy generation request whose assets are to be retrieved. This must be a valid generation ID from a previous
start_policy_generationcall that has completed processing.- policyEngineId
[required] The unique identifier of the policy engine associated with the policy generation request. This provides the context for the generation operation and ensures assets are retrieved from the correct policy engine.
- nextToken
A pagination token returned from a previous
list_policy_generation_assetscall. Use this token to retrieve the next page of assets when the response is paginated due to large numbers of generated policy options.- maxResults
The maximum number of policy generation assets to return in a single response. If not specified, the default is 10 assets per page, with a maximum of 100 per page. This helps control response size when dealing with policy generations that produce many alternative policy options.