Module Values.GetEmailTemplateResponseSource

The following element is returned by the service.

Sourcetype nonrec t = {
  1. templateName : EmailTemplateName.t option;
    (*

    The name of the template.

    *)
  2. templateContent : EmailTemplateContent.t option;
    (*

    The content of the email template, composed of a subject line, an HTML part, and a text-only part.

    *)
  3. tags : TagList.t option;
    (*

    An array of objects that define the tags (keys and values) that are associated with the email template.

    *)
}
Sourcetype nonrec error = [
  1. | `BadRequestException of BadRequestException.t
  2. | `NotFoundException of NotFoundException.t
  3. | `TooManyRequestsException of TooManyRequestsException.t
  4. | `Unknown_operation_error of string * string option
]
Sourceval make : ?templateName:??? -> ?templateContent:??? -> ?tags:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BadRequestException of unit | `NotFoundException of unit | `TooManyRequestsException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `BadRequestException of unit | `NotFoundException of unit | `TooManyRequestsException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of TagKey.t ]) list ] list | `String of EmailTemplateName.t | `Structure of (string * [> `String of EmailTemplateSubject.t ]) 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