Class: Aws::Bedrock::Types::AutomatedReasoningPolicyScenario
- Inherits:
-
Struct
- Object
- Struct
- Aws::Bedrock::Types::AutomatedReasoningPolicyScenario
- Defined in:
- gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb
Overview
Represents a test scenario used to validate an Automated Reasoning policy, including the test conditions and expected outcomes.
Constant Summary collapse
- SENSITIVE =
[:expression, :alternate_expression]
Instance Attribute Summary collapse
-
#alternate_expression ⇒ String
An alternative way to express the same test scenario, used for validation and comparison purposes.
-
#expected_result ⇒ String
The expected outcome when this scenario is evaluated against the policy (e.g., PASS, FAIL, VIOLATION).
-
#expression ⇒ String
The logical expression or condition that defines this test scenario.
-
#rule_ids ⇒ Array<String>
The list of rule identifiers that are expected to be triggered or evaluated by this test scenario.
Instance Attribute Details
#alternate_expression ⇒ String
An alternative way to express the same test scenario, used for validation and comparison purposes.
1581 1582 1583 1584 1585 1586 1587 1588 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1581 class AutomatedReasoningPolicyScenario < Struct.new( :expression, :alternate_expression, :rule_ids, :expected_result) SENSITIVE = [:expression, :alternate_expression] include Aws::Structure end |
#expected_result ⇒ String
The expected outcome when this scenario is evaluated against the policy (e.g., PASS, FAIL, VIOLATION).
1581 1582 1583 1584 1585 1586 1587 1588 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1581 class AutomatedReasoningPolicyScenario < Struct.new( :expression, :alternate_expression, :rule_ids, :expected_result) SENSITIVE = [:expression, :alternate_expression] include Aws::Structure end |
#expression ⇒ String
The logical expression or condition that defines this test scenario.
1581 1582 1583 1584 1585 1586 1587 1588 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1581 class AutomatedReasoningPolicyScenario < Struct.new( :expression, :alternate_expression, :rule_ids, :expected_result) SENSITIVE = [:expression, :alternate_expression] include Aws::Structure end |
#rule_ids ⇒ Array<String>
The list of rule identifiers that are expected to be triggered or evaluated by this test scenario.
1581 1582 1583 1584 1585 1586 1587 1588 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1581 class AutomatedReasoningPolicyScenario < Struct.new( :expression, :alternate_expression, :rule_ids, :expected_result) SENSITIVE = [:expression, :alternate_expression] include Aws::Structure end |