Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data FollowUpPrompt Source #
A prompt for additional activity after an intent is fulfilled. For
example, after the OrderPizza
intent is fulfilled, you might prompt
the user to find out whether the user wants to order drinks.
See: newFollowUpPrompt
smart constructor.
FollowUpPrompt' | |
|
Instances
:: Prompt | |
-> Statement | |
-> FollowUpPrompt |
Create a value of FollowUpPrompt
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:prompt:FollowUpPrompt'
, followUpPrompt_prompt
- Prompts for information from the user.
$sel:rejectionStatement:FollowUpPrompt'
, followUpPrompt_rejectionStatement
- If the user answers "no" to the question defined in the prompt
field, Amazon Lex responds with this statement to acknowledge that the
intent was canceled.
followUpPrompt_prompt :: Lens' FollowUpPrompt Prompt Source #
Prompts for information from the user.
followUpPrompt_rejectionStatement :: Lens' FollowUpPrompt Statement Source #
If the user answers "no" to the question defined in the prompt
field, Amazon Lex responds with this statement to acknowledge that the
intent was canceled.