Values.CreateMessageTemplateVersionResponseSourceCreates a new Amazon Q in Connect message template version from the current content and configuration of a message template. Versions are immutable and monotonically increasing. Once a version is created, you can reference a specific version of the message template by passing in <message-template-id>:<versionNumber> as the message template identifier. An error is displayed if the supplied messageTemplateContentSha256 is different from the messageTemplateContentSha256 of the message template with $LATEST qualifier. If multiple CreateMessageTemplateVersion requests are made while the message template remains the same, only the first invocation creates a new version and the succeeding requests will return the same response as the first invocation.
type nonrec t = {messageTemplate : ExtendedMessageTemplateData.t option;The message template.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `ConflictException of ConflictException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ServiceQuotaExceededException of ServiceQuotaExceededException.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
| `ConflictException of ConflictException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ServiceQuotaExceededException of ServiceQuotaExceededException.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
| `ConflictException of ConflictException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ServiceQuotaExceededException of ServiceQuotaExceededException.t
| `ThrottlingException of ThrottlingException.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 ]