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

Description

 
Synopsis

Documentation

data FulfillmentStartResponseSpecification Source #

Provides settings for a message that is sent to the user when a fulfillment Lambda function starts running.

See: newFulfillmentStartResponseSpecification smart constructor.

Constructors

FulfillmentStartResponseSpecification' 

Fields

  • allowInterrupt :: Maybe Bool

    Determines whether the user can interrupt the start message while it is playing.

  • delayInSeconds :: Natural

    The delay between when the Lambda fulfillment function starts running and the start message is played. If the Lambda function returns before the delay is over, the start message isn't played.

  • messageGroups :: NonEmpty MessageGroup

    One to 5 message groups that contain start messages. Amazon Lex chooses one of the messages to play to the user.

Instances

Instances details
FromJSON FulfillmentStartResponseSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.FulfillmentStartResponseSpecification

ToJSON FulfillmentStartResponseSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.FulfillmentStartResponseSpecification

Generic FulfillmentStartResponseSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.FulfillmentStartResponseSpecification

Read FulfillmentStartResponseSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.FulfillmentStartResponseSpecification

Show FulfillmentStartResponseSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.FulfillmentStartResponseSpecification

NFData FulfillmentStartResponseSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.FulfillmentStartResponseSpecification

Eq FulfillmentStartResponseSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.FulfillmentStartResponseSpecification

Hashable FulfillmentStartResponseSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.FulfillmentStartResponseSpecification

type Rep FulfillmentStartResponseSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.FulfillmentStartResponseSpecification

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

newFulfillmentStartResponseSpecification Source #

Create a value of FulfillmentStartResponseSpecification 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:FulfillmentStartResponseSpecification', fulfillmentStartResponseSpecification_allowInterrupt - Determines whether the user can interrupt the start message while it is playing.

$sel:delayInSeconds:FulfillmentStartResponseSpecification', fulfillmentStartResponseSpecification_delayInSeconds - The delay between when the Lambda fulfillment function starts running and the start message is played. If the Lambda function returns before the delay is over, the start message isn't played.

$sel:messageGroups:FulfillmentStartResponseSpecification', fulfillmentStartResponseSpecification_messageGroups - One to 5 message groups that contain start messages. Amazon Lex chooses one of the messages to play to the user.

fulfillmentStartResponseSpecification_allowInterrupt :: Lens' FulfillmentStartResponseSpecification (Maybe Bool) Source #

Determines whether the user can interrupt the start message while it is playing.

fulfillmentStartResponseSpecification_delayInSeconds :: Lens' FulfillmentStartResponseSpecification Natural Source #

The delay between when the Lambda fulfillment function starts running and the start message is played. If the Lambda function returns before the delay is over, the start message isn't played.

fulfillmentStartResponseSpecification_messageGroups :: Lens' FulfillmentStartResponseSpecification (NonEmpty MessageGroup) Source #

One to 5 message groups that contain start messages. Amazon Lex chooses one of the messages to play to the user.