Struct aws_sdk_ses::types::IdentityNotificationAttributes
source · #[non_exhaustive]pub struct IdentityNotificationAttributes {
pub bounce_topic: String,
pub complaint_topic: String,
pub delivery_topic: String,
pub forwarding_enabled: bool,
pub headers_in_bounce_notifications_enabled: bool,
pub headers_in_complaint_notifications_enabled: bool,
pub headers_in_delivery_notifications_enabled: bool,
}
Expand description
Represents the notification attributes of an identity, including whether an identity has Amazon Simple Notification Service (Amazon SNS) topics set for bounce, complaint, and/or delivery notifications, and whether feedback forwarding is enabled for bounce and complaint notifications.
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.bounce_topic: String
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES publishes bounce notifications.
complaint_topic: String
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES publishes complaint notifications.
delivery_topic: String
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES publishes delivery notifications.
forwarding_enabled: bool
Describes whether Amazon SES forwards bounce and complaint notifications as email. true
indicates that Amazon SES forwards bounce and complaint notifications as email, while false
indicates that bounce and complaint notifications are published only to the specified bounce and complaint Amazon SNS topics.
headers_in_bounce_notifications_enabled: bool
Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of type Bounce
. A value of true
specifies that Amazon SES includes headers in bounce notifications, and a value of false
specifies that Amazon SES does not include headers in bounce notifications.
headers_in_complaint_notifications_enabled: bool
Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of type Complaint
. A value of true
specifies that Amazon SES includes headers in complaint notifications, and a value of false
specifies that Amazon SES does not include headers in complaint notifications.
headers_in_delivery_notifications_enabled: bool
Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of type Delivery
. A value of true
specifies that Amazon SES includes headers in delivery notifications, and a value of false
specifies that Amazon SES does not include headers in delivery notifications.
Implementations§
source§impl IdentityNotificationAttributes
impl IdentityNotificationAttributes
sourcepub fn bounce_topic(&self) -> &str
pub fn bounce_topic(&self) -> &str
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES publishes bounce notifications.
sourcepub fn complaint_topic(&self) -> &str
pub fn complaint_topic(&self) -> &str
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES publishes complaint notifications.
sourcepub fn delivery_topic(&self) -> &str
pub fn delivery_topic(&self) -> &str
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES publishes delivery notifications.
sourcepub fn forwarding_enabled(&self) -> bool
pub fn forwarding_enabled(&self) -> bool
Describes whether Amazon SES forwards bounce and complaint notifications as email. true
indicates that Amazon SES forwards bounce and complaint notifications as email, while false
indicates that bounce and complaint notifications are published only to the specified bounce and complaint Amazon SNS topics.
sourcepub fn headers_in_bounce_notifications_enabled(&self) -> bool
pub fn headers_in_bounce_notifications_enabled(&self) -> bool
Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of type Bounce
. A value of true
specifies that Amazon SES includes headers in bounce notifications, and a value of false
specifies that Amazon SES does not include headers in bounce notifications.
sourcepub fn headers_in_complaint_notifications_enabled(&self) -> bool
pub fn headers_in_complaint_notifications_enabled(&self) -> bool
Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of type Complaint
. A value of true
specifies that Amazon SES includes headers in complaint notifications, and a value of false
specifies that Amazon SES does not include headers in complaint notifications.
sourcepub fn headers_in_delivery_notifications_enabled(&self) -> bool
pub fn headers_in_delivery_notifications_enabled(&self) -> bool
Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of type Delivery
. A value of true
specifies that Amazon SES includes headers in delivery notifications, and a value of false
specifies that Amazon SES does not include headers in delivery notifications.
source§impl IdentityNotificationAttributes
impl IdentityNotificationAttributes
sourcepub fn builder() -> IdentityNotificationAttributesBuilder
pub fn builder() -> IdentityNotificationAttributesBuilder
Creates a new builder-style object to manufacture IdentityNotificationAttributes
.
Trait Implementations§
source§impl Clone for IdentityNotificationAttributes
impl Clone for IdentityNotificationAttributes
source§fn clone(&self) -> IdentityNotificationAttributes
fn clone(&self) -> IdentityNotificationAttributes
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for IdentityNotificationAttributes
impl PartialEq for IdentityNotificationAttributes
source§fn eq(&self, other: &IdentityNotificationAttributes) -> bool
fn eq(&self, other: &IdentityNotificationAttributes) -> bool
self
and other
values to be equal, and is used
by ==
.