Module Values.StillWaitingResponseSpecificationSource

Defines the messages that Amazon Lex sends to a user to remind them that the bot is waiting for a response.

Sourcetype nonrec t = {
  1. messageGroups : MessageGroupsList.t;
    (*

    One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.

    *)
  2. frequencyInSeconds : StillWaitingResponseFrequency.t;
    (*

    How often a message should be sent to the user. Minimum of 1 second, maximum of 5 minutes.

    *)
  3. timeoutInSeconds : StillWaitingResponseTimeout.t;
    (*

    If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.

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

    Indicates that the user can interrupt the response by speaking while the message is being played.

    *)
}
Sourceval context_ : string
Sourceval make : ?allowInterrupt:??? -> messageGroups:MessageGroupsList.t -> frequencyInSeconds:StillWaitingResponseFrequency.t -> timeoutInSeconds:StillWaitingResponseTimeout.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of BoxedBoolean.t | `Integer of StillWaitingResponseFrequency.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