Struct aws_sdk_ses::operation::set_identity_feedback_forwarding_enabled::builders::SetIdentityFeedbackForwardingEnabledFluentBuilder
source · pub struct SetIdentityFeedbackForwardingEnabledFluentBuilder { /* 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§
source§impl SetIdentityFeedbackForwardingEnabledFluentBuilder
impl SetIdentityFeedbackForwardingEnabledFluentBuilder
sourcepub fn as_input(&self) -> &SetIdentityFeedbackForwardingEnabledInputBuilder
pub fn as_input(&self) -> &SetIdentityFeedbackForwardingEnabledInputBuilder
Access the SetIdentityFeedbackForwardingEnabled as a reference.
sourcepub async fn send(
self
) -> Result<SetIdentityFeedbackForwardingEnabledOutput, SdkError<SetIdentityFeedbackForwardingEnabledError, HttpResponse>>
pub async fn send( self ) -> Result<SetIdentityFeedbackForwardingEnabledOutput, SdkError<SetIdentityFeedbackForwardingEnabledError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<SetIdentityFeedbackForwardingEnabledOutput, SetIdentityFeedbackForwardingEnabledError, Self>
pub fn customize( self ) -> CustomizableOperation<SetIdentityFeedbackForwardingEnabledOutput, SetIdentityFeedbackForwardingEnabledError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_identity(&self) -> &Option<String>
pub fn get_identity(&self) -> &Option<String>
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 forwards bounce and complaint notifications as email. true
specifies that Amazon SES forwards bounce and complaint notifications as email, in addition to any Amazon SNS topic publishing otherwise specified. false
specifies that Amazon SES publishes 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 forwards bounce and complaint notifications as email. true
specifies that Amazon SES forwards bounce and complaint notifications as email, in addition to any Amazon SNS topic publishing otherwise specified. false
specifies that Amazon SES publishes 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 get_forwarding_enabled(&self) -> &Option<bool>
pub fn get_forwarding_enabled(&self) -> &Option<bool>
Sets whether Amazon SES forwards bounce and complaint notifications as email. true
specifies that Amazon SES forwards bounce and complaint notifications as email, in addition to any Amazon SNS topic publishing otherwise specified. false
specifies that Amazon SES publishes 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§
source§impl Clone for SetIdentityFeedbackForwardingEnabledFluentBuilder
impl Clone for SetIdentityFeedbackForwardingEnabledFluentBuilder
source§fn clone(&self) -> SetIdentityFeedbackForwardingEnabledFluentBuilder
fn clone(&self) -> SetIdentityFeedbackForwardingEnabledFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for SetIdentityFeedbackForwardingEnabledFluentBuilder
impl !RefUnwindSafe for SetIdentityFeedbackForwardingEnabledFluentBuilder
impl Send for SetIdentityFeedbackForwardingEnabledFluentBuilder
impl Sync for SetIdentityFeedbackForwardingEnabledFluentBuilder
impl Unpin for SetIdentityFeedbackForwardingEnabledFluentBuilder
impl !UnwindSafe for SetIdentityFeedbackForwardingEnabledFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more