Module Values.FulfillmentUpdateResponseSpecificationSource

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

Sourcetype nonrec t = {
  1. 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.

    *)
  2. messageGroups : MessageGroupsList.t;
    (*

    1 - 5 message groups that contain update messages. Amazon Lex chooses one of the messages to play to the user.

    *)
  3. allowInterrupt : BoxedBoolean.t option;
    (*

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

    *)
}
Sourceval context_ : string
Sourceval make : ?allowInterrupt:??? -> frequencyInSeconds:FulfillmentUpdateResponseFrequency.t -> messageGroups:MessageGroupsList.t -> unit -> t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t