Module Values.WaitAndContinueSpecificationSource

Specifies the prompts that Amazon Lex uses while a bot is waiting for customer input.

Sourcetype nonrec t = {
  1. waitingResponse : ResponseSpecification.t;
    (*

    The response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue.

    *)
  2. continueResponse : ResponseSpecification.t;
    (*

    The response that Amazon Lex sends to indicate that the bot is ready to continue the conversation.

    *)
  3. stillWaitingResponse : StillWaitingResponseSpecification.t option;
    (*

    A response that Amazon Lex sends periodically to the user to indicate that the bot is still waiting for input from the user.

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

    Specifies whether the bot will wait for a user to respond. When this field is false, wait and continue responses for a slot aren't used. If the active field isn't specified, the default is true.

    *)
}
Sourceval context_ : string
Sourceval make : ?stillWaitingResponse:??? -> ?active:??? -> waitingResponse:ResponseSpecification.t -> continueResponse:ResponseSpecification.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of BoxedBoolean.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 ]) 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