Module Values.StatementSource

A collection of messages that convey information to the user. At runtime, Amazon Lex selects the message to convey.

Sourcetype nonrec t = {
  1. messages : MessageList.t;
    (*

    A collection of message objects.

    *)
  2. responseCard : ResponseCard.t option;
    (*

    At runtime, if the client is using the PostText API, Amazon Lex includes the response card in the response. It substitutes all of the session attributes and slot values for placeholders in the response card.

    *)
}
Sourceval context_ : string
Sourceval make : ?responseCard:??? -> messages:MessageList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `Integer of GroupNumber.t | `String of ContentString.t ]) list ] list | `String of ResponseCard.t ]) 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