Values.FulfillmentUpdateResponseSpecificationSourceProvides settings for a message that is sent periodically to the user while a fulfillment Lambda function is running.
type nonrec t = {frequencyInSeconds : FulfillmentUpdateResponseFrequency.t;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.
*)messageGroups : MessageGroupsList.t;1 - 5 message groups that contain update messages. Amazon Lex chooses one of the messages to play to the user.
*)allowInterrupt : BoxedBoolean.t option;Determines whether the user can interrupt an update message while it is playing.
*)}val make :
?allowInterrupt:??? ->
frequencyInSeconds:FulfillmentUpdateResponseFrequency.t ->
messageGroups:MessageGroupsList.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of BoxedBoolean.t
| `Integer of FulfillmentUpdateResponseFrequency.t
| `List of
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `String of
ButtonText.t ])
list ]
list
| `String of PlainTextMessageValue.t ])
list ])
list ]
list
| `Structure of
(string
* [> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `String of ButtonText.t ])
list ]
list
| `String of PlainTextMessageValue.t ])
list ])
list ])
list ]
list ])
list ]