BedrockAgentCoreControlClient.update_policy_engine
rboto-bedrock-agentcore-control==0.4.0 · Service index · Types
Model summary (excerpt): Updates an existing policy engine within the AgentCore Policy system. This operation allows modification of the policy engine description while maintaining its identity. This is an asynchronous operation. Use the GetPolicyEngine operation to poll the status field to track completion.
Install and imports
from rboto import BedrockAgentCoreControlClient
from rboto_bedrock_agentcore_control.types import (
UpdatePolicyEngineOutput,
UpdatedDescription,
)
Signature
async def update_policy_engine(
*,
policy_engine_id: str,
description: UpdatedDescription | None = None,
) -> UpdatePolicyEngineOutput: ...
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 unique identifier of the policy engine to be updated. |
description |
No | The new description for the policy engine. |
Output
UpdatePolicyEngineOutput.
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_engine_id |
str |
Always present | — |
name |
str |
Always present | — |
created_at |
str |
Always present | — |
updated_at |
str |
Always present | — |
policy_engine_arn |
str |
Always present | — |
status |
PolicyEngineStatusOutput |
Always present | PolicyEngineStatusOutput |
encryption_key_arn |
str | None |
Always present | — |
description |
str | None |
Always present | — |
status_reasons |
list[str] |
Always present | — |
| 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.
Related types
UpdatePolicyEngineOutput, UpdatedDescription
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, ConflictError, InternalServerError, ResourceNotFoundError, ThrottlingError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.