Class: Aws::LexModelsV2::Types::DialogAction

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

Overview

Defines the action that the bot executes at runtime when the conversation reaches this step.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#slot_to_elicitString

If the dialog action is ‘ElicitSlot`, defines the slot to elicit from the user.

Returns:

  • (String)


7200
7201
7202
7203
7204
7205
7206
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 7200

class DialogAction < Struct.new(
  :type,
  :slot_to_elicit,
  :suppress_next_message)
  SENSITIVE = []
  include Aws::Structure
end

#suppress_next_messageBoolean

When true the next message for the intent is not used.

Returns:

  • (Boolean)


7200
7201
7202
7203
7204
7205
7206
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 7200

class DialogAction < Struct.new(
  :type,
  :slot_to_elicit,
  :suppress_next_message)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The action that the bot should execute.

Returns:

  • (String)


7200
7201
7202
7203
7204
7205
7206
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 7200

class DialogAction < Struct.new(
  :type,
  :slot_to_elicit,
  :suppress_next_message)
  SENSITIVE = []
  include Aws::Structure
end