Values.FulfillmentCodeHookSettingsSourceDetermines if a Lambda function should be invoked for a specific intent.
type nonrec t = {enabled : Boolean.t;Indicates whether a Lambda function should be invoked to fulfill a specific intent.
*)postFulfillmentStatusSpecification : PostFulfillmentStatusSpecification.t
option;Provides settings for messages sent to the user for after the Lambda fulfillment function completes. Post-fulfillment messages can be sent for both streaming and non-streaming conversations.
*)fulfillmentUpdatesSpecification : FulfillmentUpdatesSpecification.t option;Provides settings for update messages sent to the user for long-running Lambda fulfillment functions. Fulfillment updates can be used only with streaming conversations.
*)active : BoxedBoolean.t option;Determines whether the fulfillment code hook is used. When active is false, the code hook doesn't run.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Boolean.t
| `Structure of
(string
* [> `Boolean of BoxedBoolean.t
| `Integer of FulfillmentTimeout.t
| `Structure of
(string
* [> `Boolean of BoxedBoolean.t
| `Integer of FulfillmentStartResponseDelay.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 ]