Get Policy Generation
| bedrockagentcorecontrol_get_policy_generation | R Documentation |
Retrieves information about a policy generation request within the AgentCore Policy system¶
Description¶
Retrieves information about a policy generation request within the AgentCore Policy system. Policy generation converts natural language descriptions into Cedar policy statements using AI-powered translation, enabling non-technical users to create policies.
Usage¶
bedrockagentcorecontrol_get_policy_generation(policyGenerationId,
policyEngineId)
Arguments¶
policyGenerationId |
[required] The unique identifier of the policy generation request
to be retrieved. This must be a valid generation ID from a previous
|
policyEngineId |
[required] The identifier of the policy engine associated with the policy generation request. This provides the context for the generation operation and schema validation. |
Value¶
A list with the following syntax:
list(
policyEngineId = "string",
policyGenerationId = "string",
name = "string",
policyGenerationArn = "string",
resource = list(
arn = "string"
),
createdAt = as.POSIXct(
"2015-01-01"
),
updatedAt = as.POSIXct(
"2015-01-01"
),
status = "GENERATING"|"GENERATED"|"GENERATE_FAILED"|"DELETE_FAILED",
findings = "string",
statusReasons = list(
"string"
)
)
Request syntax¶
svc$get_policy_generation(
policyGenerationId = "string",
policyEngineId = "string"
)