Struct aws_sdk_sesv2::types::builders::InsightsEventBuilder
source · #[non_exhaustive]pub struct InsightsEventBuilder { /* private fields */ }Expand description
A builder for InsightsEvent.
Implementations§
source§impl InsightsEventBuilder
impl InsightsEventBuilder
sourcepub fn set_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_timestamp(self, input: Option<DateTime>) -> Self
The timestamp of the event.
sourcepub fn get_timestamp(&self) -> &Option<DateTime>
pub fn get_timestamp(&self) -> &Option<DateTime>
The timestamp of the event.
sourcepub fn type(self, input: EventType) -> Self
pub fn type(self, input: EventType) -> Self
The type of event:
-
SEND- The send request was successful and SES will attempt to deliver the message to the recipient’s mail server. (If account-level or global suppression is being used, SES will still count it as a send, but delivery is suppressed.) -
DELIVERY- SES successfully delivered the email to the recipient's mail server. Excludes deliveries to the mailbox simulator, and those from emails addressed to more than one recipient. -
BOUNCE- Feedback received for delivery failures. Additional details about the bounce are provided in theDetailsobject. Excludes bounces from the mailbox simulator, and those from emails addressed to more than one recipient. -
COMPLAINT- Complaint received for the email. Additional details about the complaint are provided in theDetailsobject. This excludes complaints from the mailbox simulator, those originating from your account-level suppression list (if enabled), and those from emails addressed to more than one recipient. -
OPEN- Open event for emails including open trackers. Excludes opens for emails addressed to more than one recipient. -
CLICK- Click event for emails including wrapped links. Excludes clicks for emails addressed to more than one recipient.
sourcepub fn set_type(self, input: Option<EventType>) -> Self
pub fn set_type(self, input: Option<EventType>) -> Self
The type of event:
-
SEND- The send request was successful and SES will attempt to deliver the message to the recipient’s mail server. (If account-level or global suppression is being used, SES will still count it as a send, but delivery is suppressed.) -
DELIVERY- SES successfully delivered the email to the recipient's mail server. Excludes deliveries to the mailbox simulator, and those from emails addressed to more than one recipient. -
BOUNCE- Feedback received for delivery failures. Additional details about the bounce are provided in theDetailsobject. Excludes bounces from the mailbox simulator, and those from emails addressed to more than one recipient. -
COMPLAINT- Complaint received for the email. Additional details about the complaint are provided in theDetailsobject. This excludes complaints from the mailbox simulator, those originating from your account-level suppression list (if enabled), and those from emails addressed to more than one recipient. -
OPEN- Open event for emails including open trackers. Excludes opens for emails addressed to more than one recipient. -
CLICK- Click event for emails including wrapped links. Excludes clicks for emails addressed to more than one recipient.
sourcepub fn get_type(&self) -> &Option<EventType>
pub fn get_type(&self) -> &Option<EventType>
The type of event:
-
SEND- The send request was successful and SES will attempt to deliver the message to the recipient’s mail server. (If account-level or global suppression is being used, SES will still count it as a send, but delivery is suppressed.) -
DELIVERY- SES successfully delivered the email to the recipient's mail server. Excludes deliveries to the mailbox simulator, and those from emails addressed to more than one recipient. -
BOUNCE- Feedback received for delivery failures. Additional details about the bounce are provided in theDetailsobject. Excludes bounces from the mailbox simulator, and those from emails addressed to more than one recipient. -
COMPLAINT- Complaint received for the email. Additional details about the complaint are provided in theDetailsobject. This excludes complaints from the mailbox simulator, those originating from your account-level suppression list (if enabled), and those from emails addressed to more than one recipient. -
OPEN- Open event for emails including open trackers. Excludes opens for emails addressed to more than one recipient. -
CLICK- Click event for emails including wrapped links. Excludes clicks for emails addressed to more than one recipient.
sourcepub fn details(self, input: EventDetails) -> Self
pub fn details(self, input: EventDetails) -> Self
Details about bounce or complaint events.
sourcepub fn set_details(self, input: Option<EventDetails>) -> Self
pub fn set_details(self, input: Option<EventDetails>) -> Self
Details about bounce or complaint events.
sourcepub fn get_details(&self) -> &Option<EventDetails>
pub fn get_details(&self) -> &Option<EventDetails>
Details about bounce or complaint events.
sourcepub fn build(self) -> InsightsEvent
pub fn build(self) -> InsightsEvent
Consumes the builder and constructs a InsightsEvent.
Trait Implementations§
source§impl Clone for InsightsEventBuilder
impl Clone for InsightsEventBuilder
source§fn clone(&self) -> InsightsEventBuilder
fn clone(&self) -> InsightsEventBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for InsightsEventBuilder
impl Debug for InsightsEventBuilder
source§impl Default for InsightsEventBuilder
impl Default for InsightsEventBuilder
source§fn default() -> InsightsEventBuilder
fn default() -> InsightsEventBuilder
source§impl PartialEq for InsightsEventBuilder
impl PartialEq for InsightsEventBuilder
source§fn eq(&self, other: &InsightsEventBuilder) -> bool
fn eq(&self, other: &InsightsEventBuilder) -> bool
self and other values to be equal, and is used
by ==.