#[non_exhaustive]pub struct PutEmailIdentityFeedbackAttributesInput {
pub email_identity: Option<String>,
pub email_forwarding_enabled: bool,
}
Expand description
A request to set the attributes that control how bounce and complaint events are processed.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.email_identity: Option<String>
The email identity that you want to configure bounce and complaint feedback forwarding for.
email_forwarding_enabled: bool
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).
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutEmailIdentityFeedbackAttributes, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutEmailIdentityFeedbackAttributes, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<PutEmailIdentityFeedbackAttributes
>
Creates a new builder-style object to manufacture PutEmailIdentityFeedbackAttributesInput
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).
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
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