BedrockClient.update_automated_reasoning_policy
rboto-bedrock==0.4.0 · Service index · Types
Model summary (excerpt): Updates an existing Automated Reasoning policy with new rules, variables, or configuration. This creates a new version of the policy while preserving the previous version.
Install and imports
from rboto import BedrockClient
from rboto_bedrock.types import (
AutomatedReasoningPolicyDefinition,
UpdateAutomatedReasoningPolicyOutput,
)
Signature
async def update_automated_reasoning_policy(
*,
policy_arn: str,
policy_definition: AutomatedReasoningPolicyDefinition,
name: str | None = None,
description: str | None = None,
) -> UpdateAutomatedReasoningPolicyOutput: ...
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_arn |
Yes | The Amazon Resource Name (ARN) of the Automated Reasoning policy to update. This must be the ARN of a draft policy. |
policy_definition |
Yes | The updated policy definition containing the formal logic rules, variables, and types. |
name |
No | The updated name for the Automated Reasoning policy. |
description |
No | The updated description for the Automated Reasoning policy. |
Output
UpdateAutomatedReasoningPolicyOutput.
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_arn |
str |
Always present | — |
name |
str |
Always present | — |
definition_hash |
str |
Always present | — |
updated_at |
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
AutomatedReasoningPolicyDefinition, UpdateAutomatedReasoningPolicyOutput
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.exceptions:
AccessDeniedError, ConflictError, InternalServerError, ResourceNotFoundError, ThrottlingError, TooManyTagsError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.