update_automated_reasoning_policy_annotations¶
Operation¶
update_automated_reasoning_policy_annotations
¶
update_automated_reasoning_policy_annotations(request: UpdateAutomatedReasoningPolicyAnnotationsInput | UpdateAutomatedReasoningPolicyAnnotationsInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[UpdateAutomatedReasoningPolicyAnnotationsInputDict]) -> 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 |
|---|---|---|---|
request
|
UpdateAutomatedReasoningPolicyAnnotationsInput | UpdateAutomatedReasoningPolicyAnnotationsInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[UpdateAutomatedReasoningPolicyAnnotationsInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
UpdateAutomatedReasoningPolicyAnnotationsOutput
|
An instance of |
update_automated_reasoning_policy_annotations
async
¶
update_automated_reasoning_policy_annotations(request: UpdateAutomatedReasoningPolicyAnnotationsInput | UpdateAutomatedReasoningPolicyAnnotationsInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[UpdateAutomatedReasoningPolicyAnnotationsInputDict]) -> 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 |
|---|---|---|---|
request
|
UpdateAutomatedReasoningPolicyAnnotationsInput | UpdateAutomatedReasoningPolicyAnnotationsInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[UpdateAutomatedReasoningPolicyAnnotationsInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
UpdateAutomatedReasoningPolicyAnnotationsOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
UpdateAutomatedReasoningPolicyAnnotationsInputDict
¶
Bases: TypedDict
Dictionary form of UpdateAutomatedReasoningPolicyAnnotationsInput.
Attributes¶
annotations
instance-attribute
¶
annotations: Required[Sequence[AutomatedReasoningPolicyAnnotation | AutomatedReasoningPolicyAnnotationDict]]
The updated annotations containing modified rules, variables, and types for the policy.
build_workflow_id
instance-attribute
¶
The unique identifier of the build workflow whose annotations you want to update.
last_updated_annotation_set_hash
instance-attribute
¶
The hash value of the annotation set that you're updating. This is used for optimistic concurrency control to prevent conflicting updates.
UpdateAutomatedReasoningPolicyAnnotationsInput
dataclass
¶
Bases: _SerdeShape
Dataclass for UpdateAutomatedReasoningPolicyAnnotationsInput structure.
Attributes¶
annotations
class-attribute
instance-attribute
¶
annotations: list[AutomatedReasoningPolicyAnnotation] | 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 = ...
The unique identifier of the build workflow whose annotations you want to update.
Output¶
UpdateAutomatedReasoningPolicyAnnotationsOutput
dataclass
¶
Bases: _SerdeShape
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.
response_metadata
class-attribute
instance-attribute
¶
Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.