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:



2979
2980
2981
2982
2983
2984
2985
2986
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 2979

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

#nameString

The name of the branch.

Returns:

  • (String)


2979
2980
2981
2982
2983
2984
2985
2986
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 2979

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

#next_stepTypes::DialogState

The next step in the conversation.

Returns:



2979
2980
2981
2982
2983
2984
2985
2986
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 2979

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.



2979
2980
2981
2982
2983
2984
2985
2986
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 2979

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