Struct aws_sdk_sesv2::types::builders::ExportMetricBuilder
source · #[non_exhaustive]pub struct ExportMetricBuilder { /* private fields */ }
Expand description
A builder for ExportMetric
.
Implementations§
source§impl ExportMetricBuilder
impl ExportMetricBuilder
sourcepub fn name(self, input: Metric) -> Self
pub fn name(self, input: Metric) -> Self
The metric to export, 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_name(self, input: Option<Metric>) -> Self
pub fn set_name(self, input: Option<Metric>) -> Self
The metric to export, 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_name(&self) -> &Option<Metric>
pub fn get_name(&self) -> &Option<Metric>
The metric to export, 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 aggregation(self, input: MetricAggregation) -> Self
pub fn aggregation(self, input: MetricAggregation) -> Self
The aggregation to apply to a metric, can be one of the following:
-
VOLUME
- The volume of events for this metric. -
RATE
- The rate for this metric relative to theSEND
metric volume.
sourcepub fn set_aggregation(self, input: Option<MetricAggregation>) -> Self
pub fn set_aggregation(self, input: Option<MetricAggregation>) -> Self
The aggregation to apply to a metric, can be one of the following:
-
VOLUME
- The volume of events for this metric. -
RATE
- The rate for this metric relative to theSEND
metric volume.
sourcepub fn get_aggregation(&self) -> &Option<MetricAggregation>
pub fn get_aggregation(&self) -> &Option<MetricAggregation>
The aggregation to apply to a metric, can be one of the following:
-
VOLUME
- The volume of events for this metric. -
RATE
- The rate for this metric relative to theSEND
metric volume.
sourcepub fn build(self) -> ExportMetric
pub fn build(self) -> ExportMetric
Consumes the builder and constructs a ExportMetric
.
Trait Implementations§
source§impl Clone for ExportMetricBuilder
impl Clone for ExportMetricBuilder
source§fn clone(&self) -> ExportMetricBuilder
fn clone(&self) -> ExportMetricBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExportMetricBuilder
impl Debug for ExportMetricBuilder
source§impl Default for ExportMetricBuilder
impl Default for ExportMetricBuilder
source§fn default() -> ExportMetricBuilder
fn default() -> ExportMetricBuilder
source§impl PartialEq for ExportMetricBuilder
impl PartialEq for ExportMetricBuilder
source§fn eq(&self, other: &ExportMetricBuilder) -> bool
fn eq(&self, other: &ExportMetricBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExportMetricBuilder
Auto Trait Implementations§
impl Freeze for ExportMetricBuilder
impl RefUnwindSafe for ExportMetricBuilder
impl Send for ExportMetricBuilder
impl Sync for ExportMetricBuilder
impl Unpin for ExportMetricBuilder
impl UnwindSafe for ExportMetricBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more