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

Description

 
Synopsis

Documentation

data DialogCodeHookInvocationSetting Source #

Settings that specify the dialog code hook that is called by Amazon Lex at a step of the conversation.

See: newDialogCodeHookInvocationSetting smart constructor.

Constructors

DialogCodeHookInvocationSetting' 

Fields

Instances

Instances details
FromJSON DialogCodeHookInvocationSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.DialogCodeHookInvocationSetting

ToJSON DialogCodeHookInvocationSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.DialogCodeHookInvocationSetting

Generic DialogCodeHookInvocationSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.DialogCodeHookInvocationSetting

Associated Types

type Rep DialogCodeHookInvocationSetting :: Type -> Type #

Read DialogCodeHookInvocationSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.DialogCodeHookInvocationSetting

Show DialogCodeHookInvocationSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.DialogCodeHookInvocationSetting

NFData DialogCodeHookInvocationSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.DialogCodeHookInvocationSetting

Eq DialogCodeHookInvocationSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.DialogCodeHookInvocationSetting

Hashable DialogCodeHookInvocationSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.DialogCodeHookInvocationSetting

type Rep DialogCodeHookInvocationSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.DialogCodeHookInvocationSetting

type Rep DialogCodeHookInvocationSetting = D1 ('MetaData "DialogCodeHookInvocationSetting" "Amazonka.LexV2Models.Types.DialogCodeHookInvocationSetting" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "DialogCodeHookInvocationSetting'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "invocationLabel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "enableCodeHookInvocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "active") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "postCodeHookSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PostDialogCodeHookInvocationSpecification))))

newDialogCodeHookInvocationSetting Source #

Create a value of DialogCodeHookInvocationSetting 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:invocationLabel:DialogCodeHookInvocationSetting', dialogCodeHookInvocationSetting_invocationLabel - A label that indicates the dialog step from which the dialog code hook is happening.

$sel:enableCodeHookInvocation:DialogCodeHookInvocationSetting', dialogCodeHookInvocationSetting_enableCodeHookInvocation - Indicates whether a Lambda function should be invoked for the dialog.

$sel:active:DialogCodeHookInvocationSetting', dialogCodeHookInvocationSetting_active - Determines whether a dialog code hook is used when the intent is activated.

$sel:postCodeHookSpecification:DialogCodeHookInvocationSetting', dialogCodeHookInvocationSetting_postCodeHookSpecification - Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.

dialogCodeHookInvocationSetting_invocationLabel :: Lens' DialogCodeHookInvocationSetting (Maybe Text) Source #

A label that indicates the dialog step from which the dialog code hook is happening.

dialogCodeHookInvocationSetting_enableCodeHookInvocation :: Lens' DialogCodeHookInvocationSetting Bool Source #

Indicates whether a Lambda function should be invoked for the dialog.

dialogCodeHookInvocationSetting_active :: Lens' DialogCodeHookInvocationSetting Bool Source #

Determines whether a dialog code hook is used when the intent is activated.

dialogCodeHookInvocationSetting_postCodeHookSpecification :: Lens' DialogCodeHookInvocationSetting PostDialogCodeHookInvocationSpecification Source #

Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.