Skip to content

Get Policy Summary

bedrockagentcorecontrol_get_policy_summary R Documentation

Retrieves a metadata-only summary of a specific policy without decrypting customer content

Description

Retrieves a metadata-only summary of a specific policy without decrypting customer content. This lightweight read operation returns resource identifiers, status, and timestamps, but does not include the policy definition, description, or status reasons. Because this operation does not require access to the customer's KMS key, it is suitable for resource discovery, inventory, and integration scenarios where only metadata is needed.

Usage

bedrockagentcorecontrol_get_policy_summary(policyEngineId, policyId)

Arguments

policyEngineId

[required] The identifier of the policy engine that manages the policy to retrieve the summary for.

policyId

[required] The unique identifier of the policy to retrieve the summary for. This must be a valid policy ID that exists within the specified policy engine.

Value

A list with the following syntax:

list(
  policyId = "string",
  name = "string",
  policyEngineId = "string",
  createdAt = as.POSIXct(
    "2015-01-01"
  ),
  updatedAt = as.POSIXct(
    "2015-01-01"
  ),
  policyArn = "string",
  status = "CREATING"|"ACTIVE"|"UPDATING"|"DELETING"|"CREATE_FAILED"|"UPDATE_FAILED"|"DELETE_FAILED"
)

Request syntax

svc$get_policy_summary(
  policyEngineId = "string",
  policyId = "string"
)