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
A rule element within the policy definition that contains a formal logical expression used for validation.
-
#policy_definition_type ⇒ Types::AutomatedReasoningPolicyDefinitionType
A custom type element within the policy definition that defines a set of possible values for variables.
-
#policy_definition_variable ⇒ Types::AutomatedReasoningPolicyDefinitionVariable
A variable element within the policy definition that represents a concept used in logical expressions and rules.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#policy_definition_rule ⇒ Types::AutomatedReasoningPolicyDefinitionRule
A rule element within the policy definition that contains a formal logical expression used for validation.
1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1128 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
A custom type element within the policy definition that defines a set of possible values for variables.
1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1128 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
A variable element within the policy definition that represents a concept used in logical expressions and rules.
1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1128 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
1128 1129 1130 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1128 def unknown @unknown end |