Values.UpdateMessageTemplateRequestSourceUpdates the Amazon Q in Connect message template. Partial update is supported. If any field is not supplied, it will remain unchanged for the message template that is referenced by the $LATEST qualifier. Any modification will only apply to the message template that is referenced by the $LATEST qualifier. The fields for all available versions will remain unchanged.
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.
*)content : MessageTemplateContentProvider.t option;The content of the message template.
*)language : LanguageCode.t option;The language code value for the language in which the quick response is written. The supported language codes include de_DE, en_US, es_ES, fr_FR, id_ID, it_IT, ja_JP, ko_KR, pt_BR, zh_CN, zh_TW
*)sourceConfiguration : MessageTemplateSourceConfiguration.t option;The source configuration of the message template. Only set this argument for WHATSAPP channel subtype.
*)defaultAttributes : MessageTemplateAttributes.t option;An object that specifies the default values to use for variables in the message template. This object contains different categories of key-value pairs. Each key defines a variable or placeholder in the message template. The corresponding value defines the default value for that variable.
*)}val make :
?content:??? ->
?language:??? ->
?sourceConfiguration:??? ->
?defaultAttributes:??? ->
knowledgeBaseId:UuidOrArn.t ->
messageTemplateId:UuidOrArnOrEitherWithQualifier.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `String of UuidOrArn.t
| `Structure of
(string
* [> `Map of
([> `String of MessageTemplateAttributeKey.t ]
* [> `String of MessageTemplateAttributeValue.t ])
list
| `Structure 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 ])
list ]