pub struct PutEmailIdentityFeedbackAttributes<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to PutEmailIdentityFeedbackAttributes
.
Used to enable or disable feedback forwarding for an identity. This setting determines what happens when an identity is used to send an email that results in a bounce or complaint event.
If the value is true
, you receive email notifications when bounce or complaint events occur. These notifications are sent to the address that you specified in the Return-Path
header of the original email.
You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications (for example, by setting up an event destination), you receive an email notification when these events occur (even if this setting is disabled).
Implementations
impl<C, M, R> PutEmailIdentityFeedbackAttributes<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> PutEmailIdentityFeedbackAttributes<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<PutEmailIdentityFeedbackAttributesOutput, SdkError<PutEmailIdentityFeedbackAttributesError>> where
R::Policy: SmithyRetryPolicy<PutEmailIdentityFeedbackAttributesInputOperationOutputAlias, PutEmailIdentityFeedbackAttributesOutput, PutEmailIdentityFeedbackAttributesError, PutEmailIdentityFeedbackAttributesInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<PutEmailIdentityFeedbackAttributesOutput, SdkError<PutEmailIdentityFeedbackAttributesError>> where
R::Policy: SmithyRetryPolicy<PutEmailIdentityFeedbackAttributesInputOperationOutputAlias, PutEmailIdentityFeedbackAttributesOutput, PutEmailIdentityFeedbackAttributesError, PutEmailIdentityFeedbackAttributesInputOperationRetryAlias>,
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 email identity.
The email identity.
Sets the feedback forwarding configuration for the identity.
If the value is true
, you receive email notifications when bounce or complaint events occur. These notifications are sent to the address that you specified in the Return-Path
header of the original email.
You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications (for example, by setting up an event destination), you receive an email notification when these events occur (even if this setting is disabled).
Sets the feedback forwarding configuration for the identity.
If the value is true
, you receive email notifications when bounce or complaint events occur. These notifications are sent to the address that you specified in the Return-Path
header of the original email.
You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications (for example, by setting up an event destination), you receive an email notification when these events occur (even if this setting is disabled).
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for PutEmailIdentityFeedbackAttributes<C, M, R>
impl<C, M, R> Send for PutEmailIdentityFeedbackAttributes<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for PutEmailIdentityFeedbackAttributes<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for PutEmailIdentityFeedbackAttributes<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for PutEmailIdentityFeedbackAttributes<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