Module Values.TestRenderEmailTemplateResponseSource

The following element is returned by the service.

Sourcetype nonrec t = {
  1. renderedTemplate : RenderedEmailTemplate.t option;
    (*

    The complete MIME message rendered by applying the data in the TemplateData parameter to the template specified in the TemplateName parameter.

    *)
}
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 : ?renderedTemplate:??? -> 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 * [> `String of RenderedEmailTemplate.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