Module Values.ExtendedMessageTemplateDataSource

The extended data of a message template.

Sourcetype nonrec t = {
  1. messageTemplateArn : ArnWithQualifier.t option;
    (*

    The Amazon Resource Name (ARN) of the message template.

    *)
  2. messageTemplateId : Uuid.t option;
    (*

    The identifier of the message template.

    *)
  3. knowledgeBaseArn : Arn.t option;
    (*

    The Amazon Resource Name (ARN) of the knowledge base.

    *)
  4. knowledgeBaseId : Uuid.t option;
    (*

    The identifier of the knowledge base.

    *)
  5. name : Name.t option;
    (*

    The name of the message template.

    *)
  6. channel : Channel.t option;
    (*

    The channel of the message template.

    *)
  7. channelSubtype : ChannelSubtype.t option;
    (*

    The channel subtype this message template applies to.

    *)
  8. createdTime : SyntheticTimestamp_date_time.t option;
    (*

    The timestamp when the message template was created.

    *)
  9. lastModifiedTime : SyntheticTimestamp_date_time.t option;
    (*

    The timestamp when the message template data was last modified.

    *)
  10. lastModifiedBy : GenericArn.t option;
    (*

    The Amazon Resource Name (ARN) of the user who last updated the message template data.

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

    The content of the message template.

    *)
  12. description : Description.t option;
    (*

    The description of the message template.

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

    *)
  14. sourceConfigurationSummary : MessageTemplateSourceConfigurationSummary.t option;
    (*

    The source configuration summary of the message template.

    *)
  15. groupingConfiguration : GroupingConfiguration.t option;
  16. 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.

    *)
  17. attributeTypes : MessageTemplateAttributeTypeList.t option;
    (*

    The types of attributes contain the message template.

    *)
  18. attachments : MessageTemplateAttachmentList.t option;
    (*

    The message template attachments.

    *)
  19. isActive : Boolean.t option;
    (*

    Whether the version of the message template is activated.

    *)
  20. versionNumber : Version.t option;
    (*

    The version number of the message template version.

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

    *)
  22. tags : Tags.t option;
    (*

    The tags used to organize, track, or control access for this resource.

    *)
}
Sourceval make : ?messageTemplateArn:??? -> ?messageTemplateId:??? -> ?knowledgeBaseArn:??? -> ?knowledgeBaseId:??? -> ?name:??? -> ?channel:??? -> ?channelSubtype:??? -> ?createdTime:??? -> ?lastModifiedTime:??? -> ?lastModifiedBy:??? -> ?content:??? -> ?description:??? -> ?language:??? -> ?sourceConfigurationSummary:??? -> ?groupingConfiguration:??? -> ?defaultAttributes:??? -> ?attributeTypes:??? -> ?attachments:??? -> ?isActive:??? -> ?versionNumber:??? -> ?messageTemplateContentSha256:??? -> ?tags:??? -> unit -> t
Sourceval to_value : t -> [> `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 ]
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