pub struct SetIdentityFeedbackForwardingEnabled<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* 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
impl<C, M, R> SetIdentityFeedbackForwardingEnabled<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> SetIdentityFeedbackForwardingEnabled<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<SetIdentityFeedbackForwardingEnabledOutput, SdkError<SetIdentityFeedbackForwardingEnabledError>> where
R::Policy: SmithyRetryPolicy<SetIdentityFeedbackForwardingEnabledInputOperationOutputAlias, SetIdentityFeedbackForwardingEnabledOutput, SetIdentityFeedbackForwardingEnabledError, SetIdentityFeedbackForwardingEnabledInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<SetIdentityFeedbackForwardingEnabledOutput, SdkError<SetIdentityFeedbackForwardingEnabledError>> where
R::Policy: SmithyRetryPolicy<SetIdentityFeedbackForwardingEnabledInputOperationOutputAlias, SetIdentityFeedbackForwardingEnabledOutput, SetIdentityFeedbackForwardingEnabledError, SetIdentityFeedbackForwardingEnabledInputOperationRetryAlias>,
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.
The identity for which to set bounce and complaint notification forwarding. Examples: user@example.com
, example.com
.
The identity for which to set bounce and complaint notification forwarding. Examples: user@example.com
, example.com
.
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.
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
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for SetIdentityFeedbackForwardingEnabled<C, M, R>
impl<C, M, R> Send for SetIdentityFeedbackForwardingEnabled<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for SetIdentityFeedbackForwardingEnabled<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for SetIdentityFeedbackForwardingEnabled<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for SetIdentityFeedbackForwardingEnabled<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more