| 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.LexModels.Types.FollowUpPrompt
Description
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.
Constructors
| FollowUpPrompt' | |
Fields 
  | |
Instances
Arguments
| :: 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.