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

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_typeTypes::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_variableTypes::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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



1128
1129
1130
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1128

def unknown
  @unknown
end