Module Values.CreateMessageTemplateVersionResponseSource

Creates 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.

Sourcetype nonrec t = {
  1. messageTemplate : ExtendedMessageTemplateData.t option;
    (*

    The message template.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `ConflictException of ConflictException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  5. | `ThrottlingException of ThrottlingException.t
  6. | `ValidationException of ValidationException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?messageTemplate:??? -> unit -> t
Sourceval 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 ]
Sourceval 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 ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t