Values.RenderMessageTemplateResponseSourceRenders the Amazon Q in Connect message template based on the attribute values provided and generates the message content. For any variable present in the message template, if the attribute value is neither provided in the attribute request parameter nor the default attribute of the message template, the rendered message content will keep the variable placeholder as it is and return the attribute keys that are missing.
type nonrec t = {content : MessageTemplateContentProvider.t option;The content of the message template.
*)sourceConfigurationSummary : MessageTemplateSourceConfigurationSummary.t option;The source configuration of the message template.
*)attributesNotInterpolated : MessageTemplateAttributeKeyList.t option;The attribute keys that are not resolved.
*)attachments : MessageTemplateAttachmentList.t option;The message template attachments.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `String of MessageTemplateAttributeKey.t
| `Structure of
(string
* [> `Enum of string
| `String of AttachmentFileName.t
| `Timestamp of SyntheticTimestamp_date_time.t ])
list ]
list
| `Structure of
(string
* [> `Structure of
(string
* [> `Enum of string
| `List of
[> `String of WhatsAppMessageTemplateComponent.t
| `Structure of
(string * [> `String of EmailHeaderKey.t ]) list ]
list
| `String of NonEmptyUnlimitedString.t
| `Structure of
(string
* [> `Enum of string
| `String of NonEmptyUnlimitedString.t
| `Structure of
(string
* [> `String of NonEmptyUnlimitedString.t ])
list ])
list ])
list ])
list ])
list ]