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 FulfillmentStartResponseSpecification = FulfillmentStartResponseSpecification' {}
- newFulfillmentStartResponseSpecification :: Natural -> NonEmpty MessageGroup -> FulfillmentStartResponseSpecification
- fulfillmentStartResponseSpecification_allowInterrupt :: Lens' FulfillmentStartResponseSpecification (Maybe Bool)
- fulfillmentStartResponseSpecification_delayInSeconds :: Lens' FulfillmentStartResponseSpecification Natural
- fulfillmentStartResponseSpecification_messageGroups :: Lens' FulfillmentStartResponseSpecification (NonEmpty MessageGroup)
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.
FulfillmentStartResponseSpecification' | |
|
Instances
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.