Class: Aws::LexModelsV2::Types::ConditionalSpecification

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

Overview

Provides a list of conditional branches. Branches are evaluated in the order that they are entered in the list. The first branch with a condition that evaluates to true is executed. The last branch in the list is the default branch. The default branch should not have any condition expression. The default branch is executed if no other branch has a matching condition.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#activeBoolean

Determines whether a conditional branch is active. When active is false, the conditions are not evaluated.

Returns:

  • (Boolean)


3087
3088
3089
3090
3091
3092
3093
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 3087

class ConditionalSpecification < Struct.new(
  :active,
  :conditional_branches,
  :default_branch)
  SENSITIVE = []
  include Aws::Structure
end

#conditional_branchesArray<Types::ConditionalBranch>

A list of conditional branches. A conditional branch is made up of a condition, a response and a next step. The response and next step are executed when the condition is true.

Returns:



3087
3088
3089
3090
3091
3092
3093
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 3087

class ConditionalSpecification < Struct.new(
  :active,
  :conditional_branches,
  :default_branch)
  SENSITIVE = []
  include Aws::Structure
end

#default_branchTypes::DefaultConditionalBranch

The conditional branch that should be followed when the conditions for other branches are not satisfied. A conditional branch is made up of a condition, a response and a next step.



3087
3088
3089
3090
3091
3092
3093
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 3087

class ConditionalSpecification < Struct.new(
  :active,
  :conditional_branches,
  :default_branch)
  SENSITIVE = []
  include Aws::Structure
end