Skip to content

Bedrock  >  Structures  >  AutomatedReasoningPolicyTestResult

AutomatedReasoningPolicyTestResult

Structure Class

AutomatedReasoningPolicyTestResult dataclass

Contains the results of testing an Automated Reasoning policy against various scenarios and validation checks.

Attributes

aggregated_test_findings_result class-attribute instance-attribute
aggregated_test_findings_result: AutomatedReasoningCheckResult | None = None

A summary of all test findings, aggregated to provide an overall assessment of policy quality and correctness.

policy_arn instance-attribute
policy_arn: str

The Amazon Resource Name (ARN) of the Automated Reasoning policy that was tested.

test_case instance-attribute

The test case that was executed, including the input content, expected results, and configuration parameters used during validation.

test_findings class-attribute instance-attribute
test_findings: list[AutomatedReasoningCheckFinding] | None = None

Detailed findings from the test run, including any issues, violations, or unexpected behaviors discovered.

test_run_result class-attribute instance-attribute
test_run_result: AutomatedReasoningPolicyTestRunResult | None = None

The overall result of the test run, indicating whether the policy passed or failed validation.

test_run_status instance-attribute

The overall status of the test run (e.g., COMPLETED, FAILED, IN_PROGRESS).

updated_at instance-attribute
updated_at: datetime

The timestamp when the test results were last updated.