Class: Aws::LexModelsV2::Types::ConditionalBranch

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

Overview

A set of actions that Amazon Lex should run if the condition is matched.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#conditionTypes::Condition

Contains the expression to evaluate. If the condition is true, the branch's actions are taken.

Returns:



3052
3053
3054
3055
3056
3057
3058
3059
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 3052

class ConditionalBranch < Struct.new(
  :name,
  :condition,
  :next_step,
  :response)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the branch.

Returns:

  • (String)


3052
3053
3054
3055
3056
3057
3058
3059
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 3052

class ConditionalBranch < Struct.new(
  :name,
  :condition,
  :next_step,
  :response)
  SENSITIVE = []
  include Aws::Structure
end

#next_stepTypes::DialogState

The next step in the conversation.

Returns:



3052
3053
3054
3055
3056
3057
3058
3059
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 3052

class ConditionalBranch < Struct.new(
  :name,
  :condition,
  :next_step,
  :response)
  SENSITIVE = []
  include Aws::Structure
end

#responseTypes::ResponseSpecification

Specifies a list of message groups that Amazon Lex uses to respond the user input.



3052
3053
3054
3055
3056
3057
3058
3059
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 3052

class ConditionalBranch < Struct.new(
  :name,
  :condition,
  :next_step,
  :response)
  SENSITIVE = []
  include Aws::Structure
end