#[non_exhaustive]pub struct BatchGetMetricDataQueryBuilder { /* private fields */ }Expand description
A builder for BatchGetMetricDataQuery.
Implementations§
source§impl BatchGetMetricDataQueryBuilder
impl BatchGetMetricDataQueryBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The query identifier.
This field is required.sourcepub fn namespace(self, input: MetricNamespace) -> Self
pub fn namespace(self, input: MetricNamespace) -> Self
The query namespace - e.g. VDM
sourcepub fn set_namespace(self, input: Option<MetricNamespace>) -> Self
pub fn set_namespace(self, input: Option<MetricNamespace>) -> Self
The query namespace - e.g. VDM
sourcepub fn get_namespace(&self) -> &Option<MetricNamespace>
pub fn get_namespace(&self) -> &Option<MetricNamespace>
The query namespace - e.g. VDM
sourcepub fn metric(self, input: Metric) -> Self
pub fn metric(self, input: Metric) -> Self
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 set_metric(self, input: Option<Metric>) -> Self
pub fn set_metric(self, input: Option<Metric>) -> Self
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 get_metric(&self) -> &Option<Metric>
pub fn get_metric(&self) -> &Option<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, k: MetricDimensionName, v: impl Into<String>) -> Self
pub fn dimensions(self, k: MetricDimensionName, v: impl Into<String>) -> Self
Adds a key-value pair to dimensions.
To override the contents of this collection use set_dimensions.
An object that contains mapping between MetricDimensionName and MetricDimensionValue to filter metrics by.
sourcepub fn set_dimensions(
self,
input: Option<HashMap<MetricDimensionName, String>>
) -> Self
pub fn set_dimensions( self, input: Option<HashMap<MetricDimensionName, String>> ) -> Self
An object that contains mapping between MetricDimensionName and MetricDimensionValue to filter metrics by.
sourcepub fn get_dimensions(&self) -> &Option<HashMap<MetricDimensionName, String>>
pub fn get_dimensions(&self) -> &Option<HashMap<MetricDimensionName, String>>
An object that contains mapping between MetricDimensionName and MetricDimensionValue to filter metrics by.
sourcepub fn start_date(self, input: DateTime) -> Self
pub fn start_date(self, input: DateTime) -> Self
Represents the start date for the query interval.
This field is required.sourcepub fn set_start_date(self, input: Option<DateTime>) -> Self
pub fn set_start_date(self, input: Option<DateTime>) -> Self
Represents the start date for the query interval.
sourcepub fn get_start_date(&self) -> &Option<DateTime>
pub fn get_start_date(&self) -> &Option<DateTime>
Represents the start date for the query interval.
sourcepub fn end_date(self, input: DateTime) -> Self
pub fn end_date(self, input: DateTime) -> Self
Represents the end date for the query interval.
This field is required.sourcepub fn set_end_date(self, input: Option<DateTime>) -> Self
pub fn set_end_date(self, input: Option<DateTime>) -> Self
Represents the end date for the query interval.
sourcepub fn get_end_date(&self) -> &Option<DateTime>
pub fn get_end_date(&self) -> &Option<DateTime>
Represents the end date for the query interval.
sourcepub fn build(self) -> Result<BatchGetMetricDataQuery, BuildError>
pub fn build(self) -> Result<BatchGetMetricDataQuery, BuildError>
Consumes the builder and constructs a BatchGetMetricDataQuery.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for BatchGetMetricDataQueryBuilder
impl Clone for BatchGetMetricDataQueryBuilder
source§fn clone(&self) -> BatchGetMetricDataQueryBuilder
fn clone(&self) -> BatchGetMetricDataQueryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for BatchGetMetricDataQueryBuilder
impl Default for BatchGetMetricDataQueryBuilder
source§fn default() -> BatchGetMetricDataQueryBuilder
fn default() -> BatchGetMetricDataQueryBuilder
source§impl PartialEq for BatchGetMetricDataQueryBuilder
impl PartialEq for BatchGetMetricDataQueryBuilder
source§fn eq(&self, other: &BatchGetMetricDataQueryBuilder) -> bool
fn eq(&self, other: &BatchGetMetricDataQueryBuilder) -> bool
self and other values to be equal, and is used
by ==.