Module Values.ResponseSpecificationSource

Specifies a list of message groups that Amazon Lex uses to respond the user input.

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

    A collection of responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime.

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

    Indicates whether the user can interrupt a speech response from Amazon Lex.

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