Class: Aws::Bedrock::Types::AutomatedReasoningPolicyDefinitionElement

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

Overview

Note:

AutomatedReasoningPolicyDefinitionElement is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of AutomatedReasoningPolicyDefinitionElement corresponding to the set member.

Represents a single element in an Automated Reasoning policy definition, such as a rule, variable, or type definition.

Defined Under Namespace

Classes: PolicyDefinitionRule, PolicyDefinitionType, PolicyDefinitionVariable, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#policy_definition_ruleTypes::AutomatedReasoningPolicyDefinitionRule

Represents a formal logic rule in an Automated Reasoning policy. For example, rules can be expressed as if-then statements that define logical constraints.



1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1136

class AutomatedReasoningPolicyDefinitionElement < Struct.new(
  :policy_definition_variable,
  :policy_definition_type,
  :policy_definition_rule,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class PolicyDefinitionVariable < AutomatedReasoningPolicyDefinitionElement; end
  class PolicyDefinitionType < AutomatedReasoningPolicyDefinitionElement; end
  class PolicyDefinitionRule < AutomatedReasoningPolicyDefinitionElement; end
  class Unknown < AutomatedReasoningPolicyDefinitionElement; end
end

#policy_definition_typeTypes::AutomatedReasoningPolicyDefinitionType

Represents a custom user-defined viarble type in an Automated Reasoning policy. Types are enum-based and provide additional context beyond predefined variable types.



1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1136

class AutomatedReasoningPolicyDefinitionElement < Struct.new(
  :policy_definition_variable,
  :policy_definition_type,
  :policy_definition_rule,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class PolicyDefinitionVariable < AutomatedReasoningPolicyDefinitionElement; end
  class PolicyDefinitionType < AutomatedReasoningPolicyDefinitionElement; end
  class PolicyDefinitionRule < AutomatedReasoningPolicyDefinitionElement; end
  class Unknown < AutomatedReasoningPolicyDefinitionElement; end
end

#policy_definition_variableTypes::AutomatedReasoningPolicyDefinitionVariable

Represents a variable in an Automated Reasoning policy. Variables represent concepts that can have values assigned during natural language translation.



1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1136

class AutomatedReasoningPolicyDefinitionElement < Struct.new(
  :policy_definition_variable,
  :policy_definition_type,
  :policy_definition_rule,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class PolicyDefinitionVariable < AutomatedReasoningPolicyDefinitionElement; end
  class PolicyDefinitionType < AutomatedReasoningPolicyDefinitionElement; end
  class PolicyDefinitionRule < AutomatedReasoningPolicyDefinitionElement; end
  class Unknown < AutomatedReasoningPolicyDefinitionElement; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



1136
1137
1138
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1136

def unknown
  @unknown
end