Module Values.TestRenderTemplateResponseSource

Creates a preview of the MIME content of an email when provided with a template and a set of replacement data. You can execute this operation no more than once per second.

Sourcetype testRenderTemplateResult = {
  1. renderedTemplate : RenderedTemplate.t option;
    (*

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

    *)
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. testRenderTemplateResult : testRenderTemplateResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `InvalidRenderingParameterException of InvalidRenderingParameterException.t
  2. | `MissingRenderingAttributeException of MissingRenderingAttributeException.t
  3. | `TemplateDoesNotExistException of TemplateDoesNotExistException.t
  4. | `Unknown_operation_error of string * string option
]
Sourceval context_ : string
Sourceval make : ?renderedTemplate:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidRenderingParameterException of InvalidRenderingParameterException.t | `MissingRenderingAttributeException of MissingRenderingAttributeException.t | `TemplateDoesNotExistException of TemplateDoesNotExistException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidRenderingParameterException of InvalidRenderingParameterException.t | `MissingRenderingAttributeException of MissingRenderingAttributeException.t | `TemplateDoesNotExistException of TemplateDoesNotExistException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `String of RenderedTemplate.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