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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lexmodelsv2/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)


7127
7128
7129
7130
7131
7132
7133
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 7127

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)


7127
7128
7129
7130
7131
7132
7133
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 7127

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)


7127
7128
7129
7130
7131
7132
7133
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 7127

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