Values.SlotCaptureSettingSourceSettings used when Amazon Lex successfully captures a slot value from a user.
type nonrec t = {captureResponse : ResponseSpecification.t option;captureNextStep : DialogState.t option;Specifies the next step that the bot runs when the slot value is captured before the code hook times out.
*)captureConditional : ConditionalSpecification.t option;A list of conditional branches to evaluate after the slot value is captured.
*)failureResponse : ResponseSpecification.t option;failureNextStep : DialogState.t option;Specifies the next step that the bot runs when the slot value code is not recognized.
*)failureConditional : ConditionalSpecification.t option;A list of conditional branches to evaluate when the slot value isn't captured.
*)codeHook : DialogCodeHookInvocationSetting.t option;Code hook called after Amazon Lex successfully captures a slot value.
*)elicitationCodeHook : ElicitationCodeHookInvocationSetting.t option;Code hook called when Amazon Lex doesn't capture a slot value.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `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
| `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
| `List of
[> `Structure of
(string
* [> `String of ButtonText.t ])
list ]
list
| `Map of
([> `String of Name.t ]
* Awso.Botodata.value)
list
| `String of PlainTextMessageValue.t ])
list ])
list ])
list ]
list
| `Map of
([> `String of NonEmptyString.t ]
* [> `String of String_.t ])
list
| `String of Name.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
| `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
| `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
| `List of
[> `Structure of
(string
* [> `String of
ButtonText.t ])
list ]
list
| `Map of
([> `String of Name.t ]
* Awso.Botodata.value)
list
| `String of
PlainTextMessageValue.t ])
list ])
list ])
list ]
list
| `Map of
([> `String of NonEmptyString.t ]
* [> `String of String_.t ])
list
| `Structure of
(string
* [> `Boolean of BoxedBoolean.t
| `Enum of string
| `Map of
([> `String of Name.t ]
* Awso.Botodata.value)
list
| `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
| `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 ])
list ])
list ])
list ])
list ]