create_automated_reasoning_policy_version¶
Operation¶
create_automated_reasoning_policy_version
async
¶
create_automated_reasoning_policy_version(input: CreateAutomatedReasoningPolicyVersionInput, plugins: list[Plugin] | None = None) -> CreateAutomatedReasoningPolicyVersionOutput
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.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
CreateAutomatedReasoningPolicyVersionInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
CreateAutomatedReasoningPolicyVersionOutput
|
An instance of |
Input¶
CreateAutomatedReasoningPolicyVersionInput
dataclass
¶
Dataclass for CreateAutomatedReasoningPolicyVersionInput structure.
Attributes¶
client_request_token
class-attribute
instance-attribute
¶
client_request_token: str | None = None
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.
last_updated_definition_hash
class-attribute
instance-attribute
¶
last_updated_definition_hash: str | None = None
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.
policy_arn
class-attribute
instance-attribute
¶
policy_arn: str | None = None
The Amazon Resource Name (ARN) of the Automated Reasoning policy for which to create a version.
Output¶
CreateAutomatedReasoningPolicyVersionOutput
dataclass
¶
Dataclass for CreateAutomatedReasoningPolicyVersionOutput structure.
Attributes¶
created_at
instance-attribute
¶
created_at: datetime
The timestamp when the policy version was created.
definition_hash
instance-attribute
¶
definition_hash: str
The hash of the policy definition for this version.
description
class-attribute
instance-attribute
¶
description: str | None = field(repr=False, default=None)
The description of the policy version.
name
class-attribute
instance-attribute
¶
name: str = field(repr=False)
The name of the policy version.
policy_arn
instance-attribute
¶
policy_arn: str
The versioned Amazon Resource Name (ARN) of the policy version.