Values.ConditionalBranchSourceA set of actions that Amazon Lex should run if the condition is matched.
type nonrec t = {name : Name.t;The name of the branch.
*)condition : Condition.t;Contains the expression to evaluate. If the condition is true, the branch's actions are taken.
*)nextStep : DialogState.t;The next step in the conversation.
*)response : ResponseSpecification.t option;}val make :
?response:??? ->
name:Name.t ->
condition:Condition.t ->
nextStep:DialogState.t ->
unit ->
tval 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 ]