Struct aws_sdk_sesv2::types::BatchGetMetricDataQuery
source · #[non_exhaustive]pub struct BatchGetMetricDataQuery {
pub id: String,
pub namespace: MetricNamespace,
pub metric: Metric,
pub dimensions: Option<HashMap<MetricDimensionName, String>>,
pub start_date: DateTime,
pub end_date: DateTime,
}Expand description
Represents a single metric data query to include in a batch.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: StringThe query identifier.
namespace: MetricNamespaceThe query namespace - e.g. VDM
metric: MetricThe 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: Option<HashMap<MetricDimensionName, String>>An object that contains mapping between MetricDimensionName and MetricDimensionValue to filter metrics by.
start_date: DateTimeRepresents the start date for the query interval.
end_date: DateTimeRepresents the end date for the query interval.
Implementations§
source§impl BatchGetMetricDataQuery
impl BatchGetMetricDataQuery
sourcepub fn namespace(&self) -> &MetricNamespace
pub fn namespace(&self) -> &MetricNamespace
The query namespace - e.g. VDM
sourcepub fn metric(&self) -> &Metric
pub fn metric(&self) -> &Metric
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.
sourcepub fn dimensions(&self) -> Option<&HashMap<MetricDimensionName, String>>
pub fn dimensions(&self) -> Option<&HashMap<MetricDimensionName, String>>
An object that contains mapping between MetricDimensionName and MetricDimensionValue to filter metrics by.
sourcepub fn start_date(&self) -> &DateTime
pub fn start_date(&self) -> &DateTime
Represents the start date for the query interval.
source§impl BatchGetMetricDataQuery
impl BatchGetMetricDataQuery
sourcepub fn builder() -> BatchGetMetricDataQueryBuilder
pub fn builder() -> BatchGetMetricDataQueryBuilder
Creates a new builder-style object to manufacture BatchGetMetricDataQuery.
Trait Implementations§
source§impl Clone for BatchGetMetricDataQuery
impl Clone for BatchGetMetricDataQuery
source§fn clone(&self) -> BatchGetMetricDataQuery
fn clone(&self) -> BatchGetMetricDataQuery
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for BatchGetMetricDataQuery
impl Debug for BatchGetMetricDataQuery
source§impl PartialEq for BatchGetMetricDataQuery
impl PartialEq for BatchGetMetricDataQuery
source§fn eq(&self, other: &BatchGetMetricDataQuery) -> bool
fn eq(&self, other: &BatchGetMetricDataQuery) -> bool
self and other values to be equal, and is used
by ==.