Skip to content

AutomatedReasoningPolicyTestResult

Source code in docs_src/capo_bedrock/types/automated_reasoning_policy_test_result.py
class AutomatedReasoningPolicyTestResult(TypedDict, closed=True):
    test_case: "capo_bedrock.types.automated_reasoning_policy_test_case.AutomatedReasoningPolicyTestCase"
    """<p>The test case that was executed, including the input content, expected results, and configuration parameters used during validation.</p>"""
    policy_arn: (
        "capo_bedrock.types.automated_reasoning_policy_arn.AutomatedReasoningPolicyArn"
    )
    """<p>The Amazon Resource Name (ARN) of the Automated Reasoning policy that was tested.</p>"""
    test_run_status: "capo_bedrock.types.automated_reasoning_policy_test_run_status.AutomatedReasoningPolicyTestRunStatus"
    """<p>The overall status of the test run (e.g., COMPLETED, FAILED, IN_PROGRESS).</p>"""
    test_findings: NotRequired[
        "capo_bedrock.types.automated_reasoning_check_finding_list.AutomatedReasoningCheckFindingList"
    ]
    """<p>Detailed findings from the test run, including any issues, violations, or unexpected behaviors discovered.</p>"""
    test_run_result: NotRequired[
        "capo_bedrock.types.automated_reasoning_policy_test_run_result.AutomatedReasoningPolicyTestRunResult"
    ]
    """<p>The overall result of the test run, indicating whether the policy passed or failed validation.</p>"""
    aggregated_test_findings_result: NotRequired[
        "capo_bedrock.types.automated_reasoning_check_result.AutomatedReasoningCheckResult"
    ]
    """<p>A summary of all test findings, aggregated to provide an overall assessment of policy quality and correctness.</p>"""
    updated_at: "capo_bedrock.types.timestamp.Timestamp"
    """<p>The timestamp when the test results were last updated.</p>"""

aggregated_test_findings_result instance-attribute

aggregated_test_findings_result: NotRequired[AutomatedReasoningCheckResult]

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

policy_arn instance-attribute

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 instance-attribute

test_findings: NotRequired[AutomatedReasoningCheckFindingList]

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

test_run_result instance-attribute

test_run_result: NotRequired[AutomatedReasoningPolicyTestRunResult]

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: Timestamp

The timestamp when the test results were last updated.