Module Values.SendDataPointSource

Represents sending statistics data. Each SendDataPoint contains statistics for a 15-minute period of sending activity.

Sourcetype nonrec t = {
  1. timestamp : Timestamp.t option;
    (*

    Time of the data point.

    *)
  2. deliveryAttempts : Counter.t option;
    (*

    Number of emails that have been sent.

    *)
  3. bounces : Counter.t option;
    (*

    Number of emails that have bounced.

    *)
  4. complaints : Counter.t option;
    (*

    Number of unwanted emails that were rejected by recipients.

    *)
  5. rejects : Counter.t option;
    (*

    Number of emails rejected by Amazon SES.

    *)
}
Sourceval make : ?timestamp:??? -> ?deliveryAttempts:??? -> ?bounces:??? -> ?complaints:??? -> ?rejects:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Long of Counter.t | `Timestamp of Timestamp.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