Class: Aws::Bedrock::Types::AutomatedReasoningPolicyScenario

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#alternate_expressionString

An alternative way to express the same test scenario, used for validation and comparison purposes.

Returns:

  • (String)


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_resultString

The expected outcome when this scenario is evaluated against the policy (e.g., PASS, FAIL, VIOLATION).

Returns:

  • (String)


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

#expressionString

The logical expression or condition that defines this test scenario.

Returns:

  • (String)


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_idsArray<String>

The list of rule identifiers that are expected to be triggered or evaluated by this test scenario.

Returns:

  • (Array<String>)


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