Values.GetMessageTemplateResponseSourceRetrieves the Amazon Q in Connect message template. The message template identifier can contain an optional qualifier, for example, <message-template-id>:<qualifier>, which is either an actual version number or an Amazon Q Connect managed qualifier $ACTIVE_VERSION | $LATEST. If it is not supplied, then $LATEST is assumed implicitly.
type nonrec t = {messageTemplate : ExtendedMessageTemplateData.t option;The message template.
*)}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
| `UnauthorizedException of UnauthorizedException.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
| `UnauthorizedException of UnauthorizedException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `List of
[> `Enum of string
| `Structure of
(string
* [> `Enum of string
| `String of AttachmentFileName.t
| `Timestamp of SyntheticTimestamp_date_time.t ])
list ]
list
| `Long of Version.t
| `Map of
([> `String of TagKey.t ] * [> `String of TagValue.t ])
list
| `String of ArnWithQualifier.t
| `Structure of
(string
* [> `List of [> `String of GroupingValue.t ] list
| `Map of
([> `String of MessageTemplateAttributeKey.t ]
* [> `String of MessageTemplateAttributeValue.t ])
list
| `String of GroupingCriteria.t
| `Structure of
(string
* [> `Enum of string
| `List of
[> `String of WhatsAppMessageTemplateComponent.t
| `Structure of
(string * [> `String of EmailHeaderKey.t ])
list ]
list
| `Map of
([> `String of MessageTemplateAttributeKey.t ]
* [> `String of MessageTemplateAttributeValue.t ])
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
| `Timestamp of SyntheticTimestamp_date_time.t ])
list ])
list ]