Skip to content

Bedrock  >  Operations  >  get_automated_reasoning_policy_test_case

get_automated_reasoning_policy_test_case

Operation

get_automated_reasoning_policy_test_case async

get_automated_reasoning_policy_test_case(input: GetAutomatedReasoningPolicyTestCaseInput, plugins: list[Plugin] | None = None) -> GetAutomatedReasoningPolicyTestCaseOutput

Retrieves details about a specific Automated Reasoning policy test.

Parameters:

Name Type Description Default
input GetAutomatedReasoningPolicyTestCaseInput

An instance of GetAutomatedReasoningPolicyTestCaseInput.

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
GetAutomatedReasoningPolicyTestCaseOutput

An instance of GetAutomatedReasoningPolicyTestCaseOutput.

Input

GetAutomatedReasoningPolicyTestCaseInput dataclass

Dataclass for GetAutomatedReasoningPolicyTestCaseInput structure.

Attributes

policy_arn class-attribute instance-attribute
policy_arn: str | None = None

The Amazon Resource Name (ARN) of the Automated Reasoning policy that contains the test.

test_case_id class-attribute instance-attribute
test_case_id: str | None = None

The unique identifier of the test to retrieve.

Output

GetAutomatedReasoningPolicyTestCaseOutput dataclass

Dataclass for GetAutomatedReasoningPolicyTestCaseOutput structure.

Attributes

policy_arn instance-attribute
policy_arn: str

The Amazon Resource Name (ARN) of the policy that contains the test.

test_case instance-attribute

The test details including the content, query, expected result, and metadata.