Values.CreateMessageTemplateVersionRequestSourceCreates 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 = {knowledgeBaseId : UuidOrArn.t;The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
*)messageTemplateId : UuidOrArnOrEitherWithQualifier.t;The identifier of the message template. Can be either the ID or the ARN. It cannot contain any qualifier.
*)messageTemplateContentSha256 : MessageTemplateContentSha256.t option;The checksum value of the message template content that is referenced by the $LATEST qualifier. It can be returned in MessageTemplateData or ExtendedMessageTemplateData. Itβs calculated by content, language, defaultAttributes and Attachments of the message template. If not supplied, the message template version will be created based on the message template content that is referenced by the $LATEST qualifier by default.
*)}val make :
?messageTemplateContentSha256:??? ->
knowledgeBaseId:UuidOrArn.t ->
messageTemplateId:UuidOrArnOrEitherWithQualifier.t ->
unit ->
t