Module Values.BulkEmailDestinationSource

An array that contains one or more Destinations, as well as the tags and replacement data associated with each of those Destinations.

Sourcetype nonrec t = {
  1. destination : Destination.t;
  2. replacementTags : MessageTagList.t option;
    (*

    A list of tags, in the form of name/value pairs, to apply to an email that you send using SendBulkTemplatedEmail. Tags correspond to characteristics of the email that you define, so that you can publish email sending events.

    *)
  3. replacementTemplateData : TemplateData.t option;
    (*

    A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.

    *)
}
Sourceval context_ : string
Sourceval make : ?replacementTags:??? -> ?replacementTemplateData:??? -> destination:Destination.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of MessageTagName.t ]) list ] list | `String of TemplateData.t | `Structure of (string * [> `List of [> `String of Address.t ] 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