Module Values.PromptSpecificationSource

Specifies a list of message groups that Amazon Lex sends to a user to elicit a response.

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

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

    *)
  2. maxRetries : PromptMaxRetries.t;
    (*

    The maximum number of times the bot tries to elicit a response from the user using this prompt.

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

    Indicates whether the user can interrupt a speech prompt from the bot.

    *)
  4. messageSelectionStrategy : MessageSelectionStrategy.t option;
    (*

    Indicates how a message is selected from a message group among retries.

    *)
  5. promptAttemptsSpecification : PromptAttemptsSpecificationMap.t option;
    (*

    Specifies the advanced settings on each attempt of the prompt.

    *)
}
Sourceval context_ : string
Sourceval make : ?allowInterrupt:??? -> ?messageSelectionStrategy:??? -> ?promptAttemptsSpecification:??? -> messageGroups:MessageGroupsList.t -> maxRetries:PromptMaxRetries.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of BoxedBoolean.t | `Enum of string | `Integer of PromptMaxRetries.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 | `Map of ([> `Enum of string ] * [> `Structure of (string * [> `Boolean of BoxedBoolean.t | `Structure of (string * [> `Boolean of BoxedBoolean.t | `Integer of TimeInMilliSeconds.t | `Structure of (string * [> `Integer of TimeInMilliSeconds.t | `String of DTMFCharacter.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