| 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.SlotCaptureSetting
Description
Synopsis
- data SlotCaptureSetting = SlotCaptureSetting' {
- captureConditional :: Maybe ConditionalSpecification
- captureNextStep :: Maybe DialogState
- captureResponse :: Maybe ResponseSpecification
- codeHook :: Maybe DialogCodeHookInvocationSetting
- elicitationCodeHook :: Maybe ElicitationCodeHookInvocationSetting
- failureConditional :: Maybe ConditionalSpecification
- failureNextStep :: Maybe DialogState
- failureResponse :: Maybe ResponseSpecification
- newSlotCaptureSetting :: SlotCaptureSetting
- slotCaptureSetting_captureConditional :: Lens' SlotCaptureSetting (Maybe ConditionalSpecification)
- slotCaptureSetting_captureNextStep :: Lens' SlotCaptureSetting (Maybe DialogState)
- slotCaptureSetting_captureResponse :: Lens' SlotCaptureSetting (Maybe ResponseSpecification)
- slotCaptureSetting_codeHook :: Lens' SlotCaptureSetting (Maybe DialogCodeHookInvocationSetting)
- slotCaptureSetting_elicitationCodeHook :: Lens' SlotCaptureSetting (Maybe ElicitationCodeHookInvocationSetting)
- slotCaptureSetting_failureConditional :: Lens' SlotCaptureSetting (Maybe ConditionalSpecification)
- slotCaptureSetting_failureNextStep :: Lens' SlotCaptureSetting (Maybe DialogState)
- slotCaptureSetting_failureResponse :: Lens' SlotCaptureSetting (Maybe ResponseSpecification)
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
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_captureResponse :: Lens' SlotCaptureSetting (Maybe ResponseSpecification) Source #
Undocumented member.
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.
slotCaptureSetting_failureResponse :: Lens' SlotCaptureSetting (Maybe ResponseSpecification) Source #
Undocumented member.