amazonka-lex-models-2.0: Amazon Lex Model Building Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.LexModels.Types.FollowUpPrompt

Description

 
Synopsis

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

  • prompt :: Prompt

    Prompts for information from the user.

  • rejectionStatement :: 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.

Instances

Instances details
FromJSON FollowUpPrompt Source # 
Instance details

Defined in Amazonka.LexModels.Types.FollowUpPrompt

ToJSON FollowUpPrompt Source # 
Instance details

Defined in Amazonka.LexModels.Types.FollowUpPrompt

Generic FollowUpPrompt Source # 
Instance details

Defined in Amazonka.LexModels.Types.FollowUpPrompt

Associated Types

type Rep FollowUpPrompt :: Type -> Type #

Read FollowUpPrompt Source # 
Instance details

Defined in Amazonka.LexModels.Types.FollowUpPrompt

Show FollowUpPrompt Source # 
Instance details

Defined in Amazonka.LexModels.Types.FollowUpPrompt

NFData FollowUpPrompt Source # 
Instance details

Defined in Amazonka.LexModels.Types.FollowUpPrompt

Methods

rnf :: FollowUpPrompt -> () #

Eq FollowUpPrompt Source # 
Instance details

Defined in Amazonka.LexModels.Types.FollowUpPrompt

Hashable FollowUpPrompt Source # 
Instance details

Defined in Amazonka.LexModels.Types.FollowUpPrompt

type Rep FollowUpPrompt Source # 
Instance details

Defined in Amazonka.LexModels.Types.FollowUpPrompt

type Rep FollowUpPrompt = D1 ('MetaData "FollowUpPrompt" "Amazonka.LexModels.Types.FollowUpPrompt" "amazonka-lex-models-2.0-8Q1WIjnrCCIAMPuyNOCiG7" 'False) (C1 ('MetaCons "FollowUpPrompt'" 'PrefixI 'True) (S1 ('MetaSel ('Just "prompt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Prompt) :*: S1 ('MetaSel ('Just "rejectionStatement") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Statement)))

newFollowUpPrompt Source #

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.