Struct aws_sdk_pinpointemail::client::fluent_builders::PutEmailIdentityFeedbackAttributes
source · [−]pub struct PutEmailIdentityFeedbackAttributes<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
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.
When you enable feedback forwarding, Amazon Pinpoint sends you email notifications when bounce or complaint events occur. Amazon Pinpoint sends this notification to the address that you specified in the Return-Path header of the original email.
When you disable feedback forwarding, Amazon Pinpoint sends notifications through other mechanisms, such as by notifying an Amazon SNS topic. 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, Amazon Pinpoint sends 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 that you want to configure bounce and complaint feedback forwarding for.
The email identity that you want to configure bounce and complaint feedback forwarding for.
Sets the feedback forwarding configuration for the identity.
If the value is true
, Amazon Pinpoint sends you email notifications when bounce or complaint events occur. Amazon Pinpoint sends this notification to the address that you specified in the Return-Path header of the original email.
When you set this value to false
, Amazon Pinpoint sends notifications through other mechanisms, such as by notifying an Amazon SNS topic or another event destination. 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, Amazon Pinpoint sends 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
, Amazon Pinpoint sends you email notifications when bounce or complaint events occur. Amazon Pinpoint sends this notification to the address that you specified in the Return-Path header of the original email.
When you set this value to false
, Amazon Pinpoint sends notifications through other mechanisms, such as by notifying an Amazon SNS topic or another event destination. 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, Amazon Pinpoint sends 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