pub struct SetIdentityFeedbackForwardingEnabled { /* private fields */ }
Expand description
Fluent builder constructing a request to SetIdentityFeedbackForwardingEnabled
.
Given an identity (an email address or a domain), enables or disables whether Amazon SES forwards bounce and complaint notifications as email. Feedback forwarding can only be disabled when Amazon Simple Notification Service (Amazon SNS) topics are specified for both bounces and complaints.
Feedback forwarding does not apply to delivery notifications. Delivery notifications are only available through Amazon SNS.
You can execute this operation no more than once per second.
For more information about using notifications with Amazon SES, see the Amazon SES Developer Guide.
Implementations§
source§impl SetIdentityFeedbackForwardingEnabled
impl SetIdentityFeedbackForwardingEnabled
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<SetIdentityFeedbackForwardingEnabled, AwsResponseRetryClassifier>, SdkError<SetIdentityFeedbackForwardingEnabledError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<SetIdentityFeedbackForwardingEnabled, AwsResponseRetryClassifier>, SdkError<SetIdentityFeedbackForwardingEnabledError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<SetIdentityFeedbackForwardingEnabledOutput, SdkError<SetIdentityFeedbackForwardingEnabledError>>
pub async fn send(
self
) -> Result<SetIdentityFeedbackForwardingEnabledOutput, SdkError<SetIdentityFeedbackForwardingEnabledError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn identity(self, input: impl Into<String>) -> Self
pub fn identity(self, input: impl Into<String>) -> Self
The identity for which to set bounce and complaint notification forwarding. Examples: user@example.com
, example.com
.
sourcepub fn set_identity(self, input: Option<String>) -> Self
pub fn set_identity(self, input: Option<String>) -> Self
The identity for which to set bounce and complaint notification forwarding. Examples: user@example.com
, example.com
.
sourcepub fn forwarding_enabled(self, input: bool) -> Self
pub fn forwarding_enabled(self, input: bool) -> Self
Sets whether Amazon SES will forward bounce and complaint notifications as email. true
specifies that Amazon SES will forward bounce and complaint notifications as email, in addition to any Amazon SNS topic publishing otherwise specified. false
specifies that Amazon SES will publish bounce and complaint notifications only through Amazon SNS. This value can only be set to false
when Amazon SNS topics are set for both Bounce
and Complaint
notification types.
sourcepub fn set_forwarding_enabled(self, input: Option<bool>) -> Self
pub fn set_forwarding_enabled(self, input: Option<bool>) -> Self
Sets whether Amazon SES will forward bounce and complaint notifications as email. true
specifies that Amazon SES will forward bounce and complaint notifications as email, in addition to any Amazon SNS topic publishing otherwise specified. false
specifies that Amazon SES will publish bounce and complaint notifications only through Amazon SNS. This value can only be set to false
when Amazon SNS topics are set for both Bounce
and Complaint
notification types.
Trait Implementations§
source§impl Clone for SetIdentityFeedbackForwardingEnabled
impl Clone for SetIdentityFeedbackForwardingEnabled
source§fn clone(&self) -> SetIdentityFeedbackForwardingEnabled
fn clone(&self) -> SetIdentityFeedbackForwardingEnabled
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more