Module Values.UpdateMessageTemplateRequestSource

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

Sourcetype nonrec t = {
  1. knowledgeBaseId : UuidOrArn.t;
    (*

    The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.

    *)
  2. messageTemplateId : UuidOrArnOrEitherWithQualifier.t;
    (*

    The identifier of the message template. Can be either the ID or the ARN. It cannot contain any qualifier.

    *)
  3. content : MessageTemplateContentProvider.t option;
    (*

    The content of the message template.

    *)
  4. 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

    *)
  5. sourceConfiguration : MessageTemplateSourceConfiguration.t option;
    (*

    The source configuration of the message template. Only set this argument for WHATSAPP channel subtype.

    *)
  6. 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.

    *)
}
Sourceval context_ : string
Sourceval make : ?content:??? -> ?language:??? -> ?sourceConfiguration:??? -> ?defaultAttributes:??? -> knowledgeBaseId:UuidOrArn.t -> messageTemplateId:UuidOrArnOrEitherWithQualifier.t -> unit -> t
Sourceval 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 ]
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