Values.CreateMessageTemplateRequestSourceCreates an Amazon Q in Connect message template. The name of the message template has to be unique for each knowledge base. The channel subtype of the message template is immutable and cannot be modified after creation. After the message template is created, you can use the $LATEST qualifier to reference the created message template.
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.
*)name : Name.t option;The name of the message template.
*)content : MessageTemplateContentProvider.t option;The content of the message template.
*)description : Description.t option;The description of the message template.
*)channelSubtype : ChannelSubtype.t;The channel subtype this message template applies to.
*)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.
*)groupingConfiguration : GroupingConfiguration.t option;clientToken : ClientToken.t option;A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
*)}val make :
?name:??? ->
?content:??? ->
?description:??? ->
?language:??? ->
?sourceConfiguration:??? ->
?defaultAttributes:??? ->
?groupingConfiguration:??? ->
?clientToken:??? ->
?tags:??? ->
knowledgeBaseId:UuidOrArn.t ->
channelSubtype:ChannelSubtype.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Map of
([> `String of TagKey.t ] * [> `String of TagValue.t ]) list
| `String of UuidOrArn.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
* [> `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 ]