update_automated_reasoning_policy_annotations¶
Operation¶
update_automated_reasoning_policy_annotations
async
¶
update_automated_reasoning_policy_annotations(input: UpdateAutomatedReasoningPolicyAnnotationsInput, plugins: list[Plugin] | None = None) -> UpdateAutomatedReasoningPolicyAnnotationsOutput
Updates the annotations for an Automated Reasoning policy build workflow. This allows you to modify extracted rules, variables, and types before finalizing the policy.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
UpdateAutomatedReasoningPolicyAnnotationsInput
|
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 |
|---|---|
UpdateAutomatedReasoningPolicyAnnotationsOutput
|
An instance of |
Input¶
UpdateAutomatedReasoningPolicyAnnotationsInput
dataclass
¶
Dataclass for UpdateAutomatedReasoningPolicyAnnotationsInput structure.
Attributes¶
annotations
class-attribute
instance-attribute
¶
annotations: list[AutomatedReasoningPolicyAnnotation] | None = None
The updated annotations containing modified rules, variables, and types for the policy.
build_workflow_id
class-attribute
instance-attribute
¶
build_workflow_id: str | None = None
The unique identifier of the build workflow whose annotations you want to update.
last_updated_annotation_set_hash
class-attribute
instance-attribute
¶
last_updated_annotation_set_hash: str | None = None
The hash value of the annotation set that you're updating. This is used for optimistic concurrency control to prevent conflicting updates.
policy_arn
class-attribute
instance-attribute
¶
policy_arn: str | None = None
The Amazon Resource Name (ARN) of the Automated Reasoning policy whose annotations you want to update.
Output¶
UpdateAutomatedReasoningPolicyAnnotationsOutput
dataclass
¶
Dataclass for UpdateAutomatedReasoningPolicyAnnotationsOutput structure.
Attributes¶
annotation_set_hash
instance-attribute
¶
annotation_set_hash: str
The new hash value representing the updated state of the annotations.
build_workflow_id
instance-attribute
¶
build_workflow_id: str
The unique identifier of the build workflow.
policy_arn
instance-attribute
¶
policy_arn: str
The Amazon Resource Name (ARN) of the Automated Reasoning policy.
updated_at
instance-attribute
¶
updated_at: datetime
The timestamp when the annotations were updated.