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.StillWaitingResponseSpecification

Description

 
Synopsis

Documentation

data StillWaitingResponseSpecification Source #

Defines the messages that Amazon Lex sends to a user to remind them that the bot is waiting for a response.

See: newStillWaitingResponseSpecification smart constructor.

Constructors

StillWaitingResponseSpecification' 

Fields

  • allowInterrupt :: Maybe Bool

    Indicates that the user can interrupt the response by speaking while the message is being played.

  • messageGroups :: NonEmpty MessageGroup

    One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.

  • frequencyInSeconds :: Natural

    How often a message should be sent to the user. Minimum of 1 second, maximum of 5 minutes.

  • timeoutInSeconds :: Natural

    If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.

Instances

Instances details
FromJSON StillWaitingResponseSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.StillWaitingResponseSpecification

ToJSON StillWaitingResponseSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.StillWaitingResponseSpecification

Generic StillWaitingResponseSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.StillWaitingResponseSpecification

Associated Types

type Rep StillWaitingResponseSpecification :: Type -> Type #

Read StillWaitingResponseSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.StillWaitingResponseSpecification

Show StillWaitingResponseSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.StillWaitingResponseSpecification

NFData StillWaitingResponseSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.StillWaitingResponseSpecification

Eq StillWaitingResponseSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.StillWaitingResponseSpecification

Hashable StillWaitingResponseSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.StillWaitingResponseSpecification

type Rep StillWaitingResponseSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.StillWaitingResponseSpecification

type Rep StillWaitingResponseSpecification = D1 ('MetaData "StillWaitingResponseSpecification" "Amazonka.LexV2Models.Types.StillWaitingResponseSpecification" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "StillWaitingResponseSpecification'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "allowInterrupt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "messageGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty MessageGroup))) :*: (S1 ('MetaSel ('Just "frequencyInSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "timeoutInSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural))))

newStillWaitingResponseSpecification Source #

Create a value of StillWaitingResponseSpecification 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:allowInterrupt:StillWaitingResponseSpecification', stillWaitingResponseSpecification_allowInterrupt - Indicates that the user can interrupt the response by speaking while the message is being played.

$sel:messageGroups:StillWaitingResponseSpecification', stillWaitingResponseSpecification_messageGroups - One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.

$sel:frequencyInSeconds:StillWaitingResponseSpecification', stillWaitingResponseSpecification_frequencyInSeconds - How often a message should be sent to the user. Minimum of 1 second, maximum of 5 minutes.

$sel:timeoutInSeconds:StillWaitingResponseSpecification', stillWaitingResponseSpecification_timeoutInSeconds - If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.

stillWaitingResponseSpecification_allowInterrupt :: Lens' StillWaitingResponseSpecification (Maybe Bool) Source #

Indicates that the user can interrupt the response by speaking while the message is being played.

stillWaitingResponseSpecification_messageGroups :: Lens' StillWaitingResponseSpecification (NonEmpty MessageGroup) Source #

One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.

stillWaitingResponseSpecification_frequencyInSeconds :: Lens' StillWaitingResponseSpecification Natural Source #

How often a message should be sent to the user. Minimum of 1 second, maximum of 5 minutes.

stillWaitingResponseSpecification_timeoutInSeconds :: Lens' StillWaitingResponseSpecification Natural Source #

If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.