aws_sdk_ses/client/set_identity_feedback_forwarding_enabled.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`SetIdentityFeedbackForwardingEnabled`](crate::operation::set_identity_feedback_forwarding_enabled::builders::SetIdentityFeedbackForwardingEnabledFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`identity(impl Into<String>)`](crate::operation::set_identity_feedback_forwarding_enabled::builders::SetIdentityFeedbackForwardingEnabledFluentBuilder::identity) / [`set_identity(Option<String>)`](crate::operation::set_identity_feedback_forwarding_enabled::builders::SetIdentityFeedbackForwardingEnabledFluentBuilder::set_identity):<br>required: **true**<br><p>The identity for which to set bounce and complaint notification forwarding. Examples: <code>user@example.com</code>, <code>example.com</code>.</p><br>
7 /// - [`forwarding_enabled(bool)`](crate::operation::set_identity_feedback_forwarding_enabled::builders::SetIdentityFeedbackForwardingEnabledFluentBuilder::forwarding_enabled) / [`set_forwarding_enabled(Option<bool>)`](crate::operation::set_identity_feedback_forwarding_enabled::builders::SetIdentityFeedbackForwardingEnabledFluentBuilder::set_forwarding_enabled):<br>required: **true**<br><p>Sets whether Amazon SES forwards bounce and complaint notifications as email. <code>true</code> specifies that Amazon SES forwards bounce and complaint notifications as email, in addition to any Amazon SNS topic publishing otherwise specified. <code>false</code> specifies that Amazon SES publishes bounce and complaint notifications only through Amazon SNS. This value can only be set to <code>false</code> when Amazon SNS topics are set for both <code>Bounce</code> and <code>Complaint</code> notification types.</p><br>
8 /// - On success, responds with [`SetIdentityFeedbackForwardingEnabledOutput`](crate::operation::set_identity_feedback_forwarding_enabled::SetIdentityFeedbackForwardingEnabledOutput)
9 /// - On failure, responds with [`SdkError<SetIdentityFeedbackForwardingEnabledError>`](crate::operation::set_identity_feedback_forwarding_enabled::SetIdentityFeedbackForwardingEnabledError)
10 pub fn set_identity_feedback_forwarding_enabled(
11 &self,
12 ) -> crate::operation::set_identity_feedback_forwarding_enabled::builders::SetIdentityFeedbackForwardingEnabledFluentBuilder {
13 crate::operation::set_identity_feedback_forwarding_enabled::builders::SetIdentityFeedbackForwardingEnabledFluentBuilder::new(
14 self.handle.clone(),
15 )
16 }
17}