Values.BatchGetMetricDataQuerySourceRepresents a single metric data query to include in a batch.
type nonrec t = {id : QueryIdentifier.t;The query identifier.
*)namespace : MetricNamespace.t;The query namespace - e.g. VDM
*)metric : Metric.t;The queried metric. This can be one of the following: SEND – Emails sent eligible for tracking in the VDM dashboard. This excludes emails sent to the mailbox simulator and emails addressed to more than one recipient. COMPLAINT – Complaints received for your account. This excludes complaints from the mailbox simulator, those originating from your account-level suppression list (if enabled), and those for emails addressed to more than one recipient PERMANENT_BOUNCE – Permanent bounces - i.e. feedback received for emails sent to non-existent mailboxes. Excludes bounces from the mailbox simulator, those originating from your account-level suppression list (if enabled), and those for emails addressed to more than one recipient. TRANSIENT_BOUNCE – Transient bounces - i.e. feedback received for delivery failures excluding issues with non-existent mailboxes. Excludes bounces from the mailbox simulator, and those for emails addressed to more than one recipient. OPEN – Unique open events for emails including open trackers. Excludes opens for emails addressed to more than one recipient. CLICK – Unique click events for emails including wrapped links. Excludes clicks for emails addressed to more than one recipient. DELIVERY – Successful deliveries for email sending attempts. Excludes deliveries to the mailbox simulator and for emails addressed to more than one recipient. DELIVERY_OPEN – Successful deliveries for email sending attempts. Excludes deliveries to the mailbox simulator, for emails addressed to more than one recipient, and emails without open trackers. DELIVERY_CLICK – Successful deliveries for email sending attempts. Excludes deliveries to the mailbox simulator, for emails addressed to more than one recipient, and emails without click trackers. DELIVERY_COMPLAINT – Successful deliveries for email sending attempts. Excludes deliveries to the mailbox simulator, for emails addressed to more than one recipient, and emails addressed to recipients hosted by ISPs with which Amazon SES does not have a feedback loop agreement.
*)dimensions : Dimensions.t option;An object that contains mapping between MetricDimensionName and MetricDimensionValue to filter metrics by.
*)startDate : Timestamp.t;Represents the start date for the query interval.
*)endDate : Timestamp.t;Represents the end date for the query interval.
*)}val make :
?dimensions:??? ->
id:QueryIdentifier.t ->
namespace:MetricNamespace.t ->
metric:Metric.t ->
startDate:Timestamp.t ->
endDate:Timestamp.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Map of
([> `Enum of string ] * [> `String of MetricDimensionValue.t ])
list
| `String of QueryIdentifier.t
| `Timestamp of Timestamp.t ])
list ]