amazonka-lexv2-models-2.0: Amazon Lex Model Building V2 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.LexV2Models.Types.WaitAndContinueSpecification

Description

 
Synopsis

Documentation

data WaitAndContinueSpecification Source #

Specifies the prompts that Amazon Lex uses while a bot is waiting for customer input.

See: newWaitAndContinueSpecification smart constructor.

Constructors

WaitAndContinueSpecification' 

Fields

Instances

Instances details
FromJSON WaitAndContinueSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.WaitAndContinueSpecification

ToJSON WaitAndContinueSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.WaitAndContinueSpecification

Generic WaitAndContinueSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.WaitAndContinueSpecification

Associated Types

type Rep WaitAndContinueSpecification :: Type -> Type #

Read WaitAndContinueSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.WaitAndContinueSpecification

Show WaitAndContinueSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.WaitAndContinueSpecification

NFData WaitAndContinueSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.WaitAndContinueSpecification

Eq WaitAndContinueSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.WaitAndContinueSpecification

Hashable WaitAndContinueSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.WaitAndContinueSpecification

type Rep WaitAndContinueSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.WaitAndContinueSpecification

type Rep WaitAndContinueSpecification = D1 ('MetaData "WaitAndContinueSpecification" "Amazonka.LexV2Models.Types.WaitAndContinueSpecification" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "WaitAndContinueSpecification'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "active") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "stillWaitingResponse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StillWaitingResponseSpecification))) :*: (S1 ('MetaSel ('Just "waitingResponse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResponseSpecification) :*: S1 ('MetaSel ('Just "continueResponse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResponseSpecification))))

newWaitAndContinueSpecification Source #

Create a value of WaitAndContinueSpecification 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:active:WaitAndContinueSpecification', waitAndContinueSpecification_active - Specifies whether the bot will wait for a user to respond. When this field is false, wait and continue responses for a slot aren't used. If the active field isn't specified, the default is true.

$sel:stillWaitingResponse:WaitAndContinueSpecification', waitAndContinueSpecification_stillWaitingResponse - A response that Amazon Lex sends periodically to the user to indicate that the bot is still waiting for input from the user.

$sel:waitingResponse:WaitAndContinueSpecification', waitAndContinueSpecification_waitingResponse - The response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue.

$sel:continueResponse:WaitAndContinueSpecification', waitAndContinueSpecification_continueResponse - The response that Amazon Lex sends to indicate that the bot is ready to continue the conversation.

waitAndContinueSpecification_active :: Lens' WaitAndContinueSpecification (Maybe Bool) Source #

Specifies whether the bot will wait for a user to respond. When this field is false, wait and continue responses for a slot aren't used. If the active field isn't specified, the default is true.

waitAndContinueSpecification_stillWaitingResponse :: Lens' WaitAndContinueSpecification (Maybe StillWaitingResponseSpecification) Source #

A response that Amazon Lex sends periodically to the user to indicate that the bot is still waiting for input from the user.

waitAndContinueSpecification_waitingResponse :: Lens' WaitAndContinueSpecification ResponseSpecification Source #

The response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue.

waitAndContinueSpecification_continueResponse :: Lens' WaitAndContinueSpecification ResponseSpecification Source #

The response that Amazon Lex sends to indicate that the bot is ready to continue the conversation.