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

Description

 
Synopsis

Documentation

data SlotCaptureSetting Source #

Settings used when Amazon Lex successfully captures a slot value from a user.

See: newSlotCaptureSetting smart constructor.

Constructors

SlotCaptureSetting' 

Fields

Instances

Instances details
FromJSON SlotCaptureSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotCaptureSetting

ToJSON SlotCaptureSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotCaptureSetting

Generic SlotCaptureSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotCaptureSetting

Associated Types

type Rep SlotCaptureSetting :: Type -> Type #

Read SlotCaptureSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotCaptureSetting

Show SlotCaptureSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotCaptureSetting

NFData SlotCaptureSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotCaptureSetting

Methods

rnf :: SlotCaptureSetting -> () #

Eq SlotCaptureSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotCaptureSetting

Hashable SlotCaptureSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotCaptureSetting

type Rep SlotCaptureSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotCaptureSetting

newSlotCaptureSetting :: SlotCaptureSetting Source #

Create a value of SlotCaptureSetting 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:captureConditional:SlotCaptureSetting', slotCaptureSetting_captureConditional - A list of conditional branches to evaluate after the slot value is captured.

$sel:captureNextStep:SlotCaptureSetting', slotCaptureSetting_captureNextStep - Specifies the next step that the bot runs when the slot value is captured before the code hook times out.

$sel:captureResponse:SlotCaptureSetting', slotCaptureSetting_captureResponse - Undocumented member.

$sel:codeHook:SlotCaptureSetting', slotCaptureSetting_codeHook - Code hook called after Amazon Lex successfully captures a slot value.

$sel:elicitationCodeHook:SlotCaptureSetting', slotCaptureSetting_elicitationCodeHook - Code hook called when Amazon Lex doesn't capture a slot value.

$sel:failureConditional:SlotCaptureSetting', slotCaptureSetting_failureConditional - A list of conditional branches to evaluate when the slot value isn't captured.

$sel:failureNextStep:SlotCaptureSetting', slotCaptureSetting_failureNextStep - Specifies the next step that the bot runs when the slot value code is not recognized.

$sel:failureResponse:SlotCaptureSetting', slotCaptureSetting_failureResponse - Undocumented member.

slotCaptureSetting_captureConditional :: Lens' SlotCaptureSetting (Maybe ConditionalSpecification) Source #

A list of conditional branches to evaluate after the slot value is captured.

slotCaptureSetting_captureNextStep :: Lens' SlotCaptureSetting (Maybe DialogState) Source #

Specifies the next step that the bot runs when the slot value is captured before the code hook times out.

slotCaptureSetting_codeHook :: Lens' SlotCaptureSetting (Maybe DialogCodeHookInvocationSetting) Source #

Code hook called after Amazon Lex successfully captures a slot value.

slotCaptureSetting_elicitationCodeHook :: Lens' SlotCaptureSetting (Maybe ElicitationCodeHookInvocationSetting) Source #

Code hook called when Amazon Lex doesn't capture a slot value.

slotCaptureSetting_failureConditional :: Lens' SlotCaptureSetting (Maybe ConditionalSpecification) Source #

A list of conditional branches to evaluate when the slot value isn't captured.

slotCaptureSetting_failureNextStep :: Lens' SlotCaptureSetting (Maybe DialogState) Source #

Specifies the next step that the bot runs when the slot value code is not recognized.