BedrockClient.create_automated_reasoning_policy_version
rboto-bedrock==0.4.0 · Service index · Types
Model summary (excerpt): Creates a new version of an existing Automated Reasoning policy. This allows you to iterate on your policy rules while maintaining previous versions for rollback or comparison purposes.
Install and imports
from rboto import BedrockClient
from collections.abc import Sequence
from rboto_bedrock.types import (
CreateAutomatedReasoningPolicyVersionOutput,
Tag,
)
Signature
async def create_automated_reasoning_policy_version(
*,
policy_arn: str,
last_updated_definition_hash: str,
client_request_token: str | None = None,
tags: Sequence[Tag] | None = None,
) -> CreateAutomatedReasoningPolicyVersionOutput: ...
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 for which to create a version. |
last_updated_definition_hash |
Yes | The hash of the current policy definition used as a concurrency token to ensure the policy hasn't been modified since you last retrieved it. |
client_request_token |
No | A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. |
tags |
No | A list of tags to associate with the policy version. |
Output
CreateAutomatedReasoningPolicyVersionOutput.
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 | — |
version |
str |
Always present | — |
name |
str |
Always present | — |
description |
str | None |
Always present | — |
definition_hash |
str |
Always present | — |
created_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
CreateAutomatedReasoningPolicyVersionOutput, Tag
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, ServiceQuotaExceededError, ThrottlingError, TooManyTagsError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.