Values.ResponseCardSourceIf you configure a response card when creating your bots, Amazon Lex substitutes the session attributes and slot values that are available, and then returns it. The response card can also come from a Lambda function ( dialogCodeHook and fulfillmentActivity on an intent).
type nonrec t = {version : String_.t option;The version of the response card format.
*)contentType : ContentType.t option;The content type of the response.
*)genericAttachments : GenericAttachmentList.t option;An array of attachment objects representing options.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `String of ButtonTextStringWithLength.t ])
list ]
list
| `String of StringWithLength.t ])
list ]
list
| `String of String_.t ])
list ]