| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.LexV2Models.Types.DialogAction
Description
Documentation
data DialogAction Source #
Defines the action that the bot executes at runtime when the conversation reaches this step.
See: newDialogAction smart constructor.
Constructors
| DialogAction' | |
Fields
| |
Instances
Arguments
| :: DialogActionType | |
| -> DialogAction |
Create a value of DialogAction with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:slotToElicit:DialogAction', dialogAction_slotToElicit - If the dialog action is ElicitSlot, defines the slot to elicit from
the user.
$sel:suppressNextMessage:DialogAction', dialogAction_suppressNextMessage - When true the next message for the intent is not used.
$sel:type':DialogAction', dialogAction_type - The action that the bot should execute.
dialogAction_slotToElicit :: Lens' DialogAction (Maybe Text) Source #
If the dialog action is ElicitSlot, defines the slot to elicit from
the user.
dialogAction_suppressNextMessage :: Lens' DialogAction (Maybe Bool) Source #
When true the next message for the intent is not used.
dialogAction_type :: Lens' DialogAction DialogActionType Source #
The action that the bot should execute.