Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data FulfillmentUpdateResponseSpecification = FulfillmentUpdateResponseSpecification' {}
- newFulfillmentUpdateResponseSpecification :: Natural -> NonEmpty MessageGroup -> FulfillmentUpdateResponseSpecification
- fulfillmentUpdateResponseSpecification_allowInterrupt :: Lens' FulfillmentUpdateResponseSpecification (Maybe Bool)
- fulfillmentUpdateResponseSpecification_frequencyInSeconds :: Lens' FulfillmentUpdateResponseSpecification Natural
- fulfillmentUpdateResponseSpecification_messageGroups :: Lens' FulfillmentUpdateResponseSpecification (NonEmpty MessageGroup)
Documentation
data FulfillmentUpdateResponseSpecification Source #
Provides settings for a message that is sent periodically to the user while a fulfillment Lambda function is running.
See: newFulfillmentUpdateResponseSpecification
smart constructor.
FulfillmentUpdateResponseSpecification' | |
|
Instances
newFulfillmentUpdateResponseSpecification Source #
:: Natural |
|
-> NonEmpty MessageGroup | |
-> FulfillmentUpdateResponseSpecification |
Create a value of FulfillmentUpdateResponseSpecification
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:FulfillmentUpdateResponseSpecification'
, fulfillmentUpdateResponseSpecification_allowInterrupt
- Determines whether the user can interrupt an update message while it is
playing.
$sel:frequencyInSeconds:FulfillmentUpdateResponseSpecification'
, fulfillmentUpdateResponseSpecification_frequencyInSeconds
- The frequency that a message is sent to the user. When the period ends,
Amazon Lex chooses a message from the message groups and plays it to the
user. If the fulfillment Lambda returns before the first period ends, an
update message is not played to the user.
$sel:messageGroups:FulfillmentUpdateResponseSpecification'
, fulfillmentUpdateResponseSpecification_messageGroups
- One to 5 message groups that contain update messages. Amazon Lex chooses
one of the messages to play to the user.
fulfillmentUpdateResponseSpecification_allowInterrupt :: Lens' FulfillmentUpdateResponseSpecification (Maybe Bool) Source #
Determines whether the user can interrupt an update message while it is playing.
fulfillmentUpdateResponseSpecification_frequencyInSeconds :: Lens' FulfillmentUpdateResponseSpecification Natural Source #
The frequency that a message is sent to the user. When the period ends, Amazon Lex chooses a message from the message groups and plays it to the user. If the fulfillment Lambda returns before the first period ends, an update message is not played to the user.
fulfillmentUpdateResponseSpecification_messageGroups :: Lens' FulfillmentUpdateResponseSpecification (NonEmpty MessageGroup) Source #
One to 5 message groups that contain update messages. Amazon Lex chooses one of the messages to play to the user.