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
sourceimpl SetIdentityFeedbackForwardingEnabled
impl SetIdentityFeedbackForwardingEnabled
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
sourceimpl Clone for SetIdentityFeedbackForwardingEnabled
impl Clone for SetIdentityFeedbackForwardingEnabled
sourcefn clone(&self) -> SetIdentityFeedbackForwardingEnabled
fn clone(&self) -> SetIdentityFeedbackForwardingEnabled
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for SetIdentityFeedbackForwardingEnabled
impl Send for SetIdentityFeedbackForwardingEnabled
impl Sync for SetIdentityFeedbackForwardingEnabled
impl Unpin for SetIdentityFeedbackForwardingEnabled
impl !UnwindSafe for SetIdentityFeedbackForwardingEnabled
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more