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.DialogState

Description

 
Synopsis

Documentation

data DialogState Source #

The current state of the conversation with the user.

See: newDialogState smart constructor.

Constructors

DialogState' 

Fields

Instances

Instances details
FromJSON DialogState Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.DialogState

ToJSON DialogState Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.DialogState

Generic DialogState Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.DialogState

Associated Types

type Rep DialogState :: Type -> Type #

Read DialogState Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.DialogState

Show DialogState Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.DialogState

NFData DialogState Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.DialogState

Methods

rnf :: DialogState -> () #

Eq DialogState Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.DialogState

Hashable DialogState Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.DialogState

type Rep DialogState Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.DialogState

type Rep DialogState = D1 ('MetaData "DialogState" "Amazonka.LexV2Models.Types.DialogState" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "DialogState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dialogAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DialogAction)) :*: (S1 ('MetaSel ('Just "intent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IntentOverride)) :*: S1 ('MetaSel ('Just "sessionAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))))

newDialogState :: DialogState Source #

Create a value of DialogState 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:dialogAction:DialogState', dialogState_dialogAction - Undocumented member.

$sel:intent:DialogState', dialogState_intent - Undocumented member.

$sel:sessionAttributes:DialogState', dialogState_sessionAttributes - Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.

dialogState_sessionAttributes :: Lens' DialogState (Maybe (HashMap Text Text)) Source #

Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.