class Aws::LexModelBuildingService::Types::FollowUpPrompt
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.
@note When making an API call, you may pass FollowUpPrompt
data as a hash: { prompt: { # required messages: [ # required { content_type: "PlainText", # required, accepts PlainText, SSML, CustomPayload content: "ContentString", # required group_number: 1, }, ], max_attempts: 1, # required response_card: "ResponseCard", }, rejection_statement: { # required messages: [ # required { content_type: "PlainText", # required, accepts PlainText, SSML, CustomPayload content: "ContentString", # required group_number: 1, }, ], response_card: "ResponseCard", }, }
@!attribute [rw] prompt
Prompts for information from the user. @return [Types::Prompt]
@!attribute [rw] rejection_statement
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. @return [Types::Statement]
@see docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/FollowUpPrompt AWS API Documentation
Constants
- SENSITIVE