Skip to content

BedrockAgentCoreControlClient.get_policy_summary

rboto-bedrock-agentcore-control==0.4.0 · Service index · Types

Model summary (excerpt): 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...

Install and imports

python -m pip install "rboto[bedrock-agentcore-control]==0.4.0"
from rboto import BedrockAgentCoreControlClient
from rboto_bedrock_agentcore_control.types import (
    GetPolicySummaryOutput,
)

Signature

async def get_policy_summary(
    *,
    policy_engine_id: str,
    policy_id: str,
) -> GetPolicySummaryOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
policy_engine_id Yes The identifier of the policy engine that manages the policy to retrieve the summary for.
policy_id Yes 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.

Output

GetPolicySummaryOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
policy_id str Always present —
name str Always present —
policy_engine_id str Always present —
created_at str Always present —
updated_at str Always present —
policy_arn str Always present —
status PolicyStatusOutput Always present PolicyStatusOutput
enforcement_mode EnforcementModeOutput Always present EnforcementModeOutput

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

GetPolicySummaryOutput

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_bedrock_agentcore_control.exceptions:

AccessDeniedError, InternalServerError, ResourceNotFoundError, ThrottlingError, ValidationError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model