libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq FollowUpPrompt Source # 
Instance details

Defined in Amazonka.LexModels.Types.FollowUpPrompt

Read FollowUpPrompt Source # 
Instance details

Defined in Amazonka.LexModels.Types.FollowUpPrompt

Show 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 #

NFData FollowUpPrompt Source # 
Instance details

Defined in Amazonka.LexModels.Types.FollowUpPrompt

Methods

rnf :: FollowUpPrompt -> () #

Hashable FollowUpPrompt Source # 
Instance details

Defined in Amazonka.LexModels.Types.FollowUpPrompt

ToJSON FollowUpPrompt Source # 
Instance details

Defined in Amazonka.LexModels.Types.FollowUpPrompt

FromJSON 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" "libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models" '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.