Module Values.ConditionalBranchSource

A set of actions that Amazon Lex should run if the condition is matched.

Sourcetype nonrec t = {
  1. name : Name.t;
    (*

    The name of the branch.

    *)
  2. condition : Condition.t;
    (*

    Contains the expression to evaluate. If the condition is true, the branch's actions are taken.

    *)
  3. nextStep : DialogState.t;
    (*

    The next step in the conversation.

    *)
  4. response : ResponseSpecification.t option;
}
Sourceval context_ : string
Sourceval make : ?response:??? -> name:Name.t -> condition:Condition.t -> nextStep:DialogState.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of Name.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 | `Map of ([> `String of NonEmptyString.t ] * [> `String of String_.t ]) list | `String of ConditionExpression.t | `Structure of (string * [> `Boolean of BoxedBoolean.t | `Enum of string | `Map of ([> `String of Name.t ] * Awso.Botodata.value) list | `String of Name.t ]) 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