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 |
Synopsis
- data WaitAndContinueSpecification = WaitAndContinueSpecification' {}
- newWaitAndContinueSpecification :: ResponseSpecification -> ResponseSpecification -> WaitAndContinueSpecification
- waitAndContinueSpecification_active :: Lens' WaitAndContinueSpecification (Maybe Bool)
- waitAndContinueSpecification_stillWaitingResponse :: Lens' WaitAndContinueSpecification (Maybe StillWaitingResponseSpecification)
- waitAndContinueSpecification_waitingResponse :: Lens' WaitAndContinueSpecification ResponseSpecification
- waitAndContinueSpecification_continueResponse :: Lens' WaitAndContinueSpecification ResponseSpecification
Documentation
data WaitAndContinueSpecification Source #
Specifies the prompts that Amazon Lex uses while a bot is waiting for customer input.
See: newWaitAndContinueSpecification
smart constructor.
WaitAndContinueSpecification' | |
|
Instances
newWaitAndContinueSpecification Source #
Create a value of WaitAndContinueSpecification
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:active:WaitAndContinueSpecification'
, waitAndContinueSpecification_active
- Specifies whether the bot will wait for a user to respond. When this
field is false, wait and continue responses for a slot aren't used. If
the active
field isn't specified, the default is true.
$sel:stillWaitingResponse:WaitAndContinueSpecification'
, waitAndContinueSpecification_stillWaitingResponse
- A response that Amazon Lex sends periodically to the user to indicate
that the bot is still waiting for input from the user.
$sel:waitingResponse:WaitAndContinueSpecification'
, waitAndContinueSpecification_waitingResponse
- The response that Amazon Lex sends to indicate that the bot is waiting
for the conversation to continue.
$sel:continueResponse:WaitAndContinueSpecification'
, waitAndContinueSpecification_continueResponse
- The response that Amazon Lex sends to indicate that the bot is ready to
continue the conversation.
waitAndContinueSpecification_active :: Lens' WaitAndContinueSpecification (Maybe Bool) Source #
Specifies whether the bot will wait for a user to respond. When this
field is false, wait and continue responses for a slot aren't used. If
the active
field isn't specified, the default is true.
waitAndContinueSpecification_stillWaitingResponse :: Lens' WaitAndContinueSpecification (Maybe StillWaitingResponseSpecification) Source #
A response that Amazon Lex sends periodically to the user to indicate that the bot is still waiting for input from the user.
waitAndContinueSpecification_waitingResponse :: Lens' WaitAndContinueSpecification ResponseSpecification Source #
The response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue.
waitAndContinueSpecification_continueResponse :: Lens' WaitAndContinueSpecification ResponseSpecification Source #
The response that Amazon Lex sends to indicate that the bot is ready to continue the conversation.