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

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
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.



1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
# File 'lib/aws-sdk-bedrock/types.rb', line 1219

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.



1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
# File 'lib/aws-sdk-bedrock/types.rb', line 1219

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.



1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
# File 'lib/aws-sdk-bedrock/types.rb', line 1219

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



1219
1220
1221
# File 'lib/aws-sdk-bedrock/types.rb', line 1219

def unknown
  @unknown
end