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 StillWaitingResponseSpecification = StillWaitingResponseSpecification' {}
- newStillWaitingResponseSpecification :: NonEmpty MessageGroup -> Natural -> Natural -> StillWaitingResponseSpecification
- stillWaitingResponseSpecification_allowInterrupt :: Lens' StillWaitingResponseSpecification (Maybe Bool)
- stillWaitingResponseSpecification_messageGroups :: Lens' StillWaitingResponseSpecification (NonEmpty MessageGroup)
- stillWaitingResponseSpecification_frequencyInSeconds :: Lens' StillWaitingResponseSpecification Natural
- stillWaitingResponseSpecification_timeoutInSeconds :: Lens' StillWaitingResponseSpecification Natural
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.
StillWaitingResponseSpecification' | |
|
Instances
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.