Class: Aws::Bedrock::Types::AutomatedReasoningPolicyTestResult

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#aggregated_test_findings_resultString

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

Returns:

  • (String)


1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1723

class AutomatedReasoningPolicyTestResult < Struct.new(
  :test_case,
  :policy_arn,
  :test_run_status,
  :test_findings,
  :test_run_result,
  :aggregated_test_findings_result,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#policy_arnString

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

Returns:

  • (String)


1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1723

class AutomatedReasoningPolicyTestResult < Struct.new(
  :test_case,
  :policy_arn,
  :test_run_status,
  :test_findings,
  :test_run_result,
  :aggregated_test_findings_result,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#test_caseTypes::AutomatedReasoningPolicyTestCase

Represents a test for validating an Automated Reasoning policy. tests contain sample inputs and expected outcomes to verify policy behavior.



1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1723

class AutomatedReasoningPolicyTestResult < Struct.new(
  :test_case,
  :policy_arn,
  :test_run_status,
  :test_findings,
  :test_run_result,
  :aggregated_test_findings_result,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#test_findingsArray<Types::AutomatedReasoningCheckFinding>

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



1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1723

class AutomatedReasoningPolicyTestResult < Struct.new(
  :test_case,
  :policy_arn,
  :test_run_status,
  :test_findings,
  :test_run_result,
  :aggregated_test_findings_result,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#test_run_resultString

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

Returns:

  • (String)


1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1723

class AutomatedReasoningPolicyTestResult < Struct.new(
  :test_case,
  :policy_arn,
  :test_run_status,
  :test_findings,
  :test_run_result,
  :aggregated_test_findings_result,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#test_run_statusString

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

Returns:

  • (String)


1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1723

class AutomatedReasoningPolicyTestResult < Struct.new(
  :test_case,
  :policy_arn,
  :test_run_status,
  :test_findings,
  :test_run_result,
  :aggregated_test_findings_result,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#updated_atTime

The timestamp when the test results were last updated.

Returns:

  • (Time)


1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1723

class AutomatedReasoningPolicyTestResult < Struct.new(
  :test_case,
  :policy_arn,
  :test_run_status,
  :test_findings,
  :test_run_result,
  :aggregated_test_findings_result,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end