Class: Aws::Bedrock::Types::AutomatedReasoningPolicyDefinitionElement
- Inherits:
-
Struct
- Object
- Struct
- Aws::Bedrock::Types::AutomatedReasoningPolicyDefinitionElement
- Defined in:
- gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb
Overview
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.
Direct Known Subclasses
PolicyDefinitionRule, PolicyDefinitionType, PolicyDefinitionVariable, Unknown
Defined Under Namespace
Classes: PolicyDefinitionRule, PolicyDefinitionType, PolicyDefinitionVariable, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#policy_definition_rule ⇒ Types::AutomatedReasoningPolicyDefinitionRule
Represents a formal logic rule in an Automated Reasoning policy.
-
#policy_definition_type ⇒ Types::AutomatedReasoningPolicyDefinitionType
Represents a custom user-defined viarble type in an Automated Reasoning policy.
-
#policy_definition_variable ⇒ Types::AutomatedReasoningPolicyDefinitionVariable
Represents a variable in an Automated Reasoning policy.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#policy_definition_rule ⇒ Types::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_type ⇒ Types::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_variable ⇒ Types::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 |
#unknown ⇒ Object
Returns the value of attribute unknown
1136 1137 1138 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1136 def unknown @unknown end |