Skip to content

Bedrock  >  Operations  >  get_automated_reasoning_policy_annotations

get_automated_reasoning_policy_annotations

Operation

get_automated_reasoning_policy_annotations async

get_automated_reasoning_policy_annotations(input: GetAutomatedReasoningPolicyAnnotationsInput, plugins: list[Plugin] | None = None) -> GetAutomatedReasoningPolicyAnnotationsOutput

Retrieves the current annotations for an Automated Reasoning policy build workflow. Annotations contain corrections to the rules, variables and types to be applied to the policy.

Parameters:

Name Type Description Default
input GetAutomatedReasoningPolicyAnnotationsInput

An instance of GetAutomatedReasoningPolicyAnnotationsInput.

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
GetAutomatedReasoningPolicyAnnotationsOutput

An instance of GetAutomatedReasoningPolicyAnnotationsOutput.

Input

GetAutomatedReasoningPolicyAnnotationsInput dataclass

Dataclass for GetAutomatedReasoningPolicyAnnotationsInput structure.

Attributes

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 retrieve.

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 retrieve.

Output

GetAutomatedReasoningPolicyAnnotationsOutput dataclass

Dataclass for GetAutomatedReasoningPolicyAnnotationsOutput structure.

Attributes

annotation_set_hash instance-attribute
annotation_set_hash: str

A hash value representing the current state of the annotations. This is used for optimistic concurrency control when updating annotations.

annotations instance-attribute

The current set of annotations containing rules, variables, and types extracted from the source documents. These can be modified before finalizing the policy.

build_workflow_id instance-attribute
build_workflow_id: str

The unique identifier of the build workflow.

name class-attribute instance-attribute
name: str = field(repr=False)

The name of the Automated Reasoning policy.

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 last updated.