class Aws::LexRuntimeV2::Types::DialogAction

The next action that Amazon Lex V2 should take.

@note When making an API call, you may pass DialogAction

data as a hash:

    {
      type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot
      slot_to_elicit: "NonEmptyString",
    }

@!attribute [rw] type

The next action that the bot should take in its interaction with the
user. The possible values are:

* `Close` - Indicates that there will not be a response from the
  user. For example, the statement "Your order has been placed"
  does not require a response.

* `ConfirmIntent` - The next action is asking the user if the intent
  is complete and ready to be fulfilled. This is a yes/no question
  such as "Place the order?"

* `Delegate` - The next action is determined by Amazon Lex V2.

* `ElicitSlot` - The next action is to elicit a slot value from the
  user.
@return [String]

@!attribute [rw] slot_to_elicit

The name of the slot that should be elicited from the user.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/runtime.lex.v2-2020-08-07/DialogAction AWS API Documentation

Constants

SENSITIVE