Values.IntentClosingSettingSourceProvides a statement the Amazon Lex conveys to the user when the intent is successfully fulfilled.
type nonrec t = {closingResponse : ResponseSpecification.t option;The response that Amazon Lex sends to the user when the intent is complete.
*)active : BoxedBoolean.t option;Specifies whether an intent's closing response is used. When this field is false, the closing response isn't sent to the user. If the active field isn't specified, the default is true.
*)nextStep : DialogState.t option;Specifies the next step that the bot executes after playing the intent's closing response.
*)conditional : ConditionalSpecification.t option;A list of conditional branches associated with the intent's closing response. These branches are executed when the nextStep attribute is set to EvalutateConditional.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Boolean of BoxedBoolean.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 ]