amazonka-lexv2-models-2.0: Amazon Lex Model Building V2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.LexV2Models.Types.DialogAction

Description

 
Synopsis

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

Instances details
FromJSON DialogAction Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.DialogAction

ToJSON DialogAction Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.DialogAction

Generic DialogAction Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.DialogAction

Associated Types

type Rep DialogAction :: Type -> Type #

Read DialogAction Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.DialogAction

Show DialogAction Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.DialogAction

NFData DialogAction Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.DialogAction

Methods

rnf :: DialogAction -> () #

Eq DialogAction Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.DialogAction

Hashable DialogAction Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.DialogAction

type Rep DialogAction Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.DialogAction

type Rep DialogAction = D1 ('MetaData "DialogAction" "Amazonka.LexV2Models.Types.DialogAction" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "DialogAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "slotToElicit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "suppressNextMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DialogActionType))))

newDialogAction Source #

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.