aws_sdk_sesv2/client/put_suppressed_destination.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 [`PutSuppressedDestination`](crate::operation::put_suppressed_destination::builders::PutSuppressedDestinationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`email_address(impl Into<String>)`](crate::operation::put_suppressed_destination::builders::PutSuppressedDestinationFluentBuilder::email_address) / [`set_email_address(Option<String>)`](crate::operation::put_suppressed_destination::builders::PutSuppressedDestinationFluentBuilder::set_email_address):<br>required: **true**<br><p>The email address that should be added to the suppression list for your account.</p><br>
7 /// - [`reason(SuppressionListReason)`](crate::operation::put_suppressed_destination::builders::PutSuppressedDestinationFluentBuilder::reason) / [`set_reason(Option<SuppressionListReason>)`](crate::operation::put_suppressed_destination::builders::PutSuppressedDestinationFluentBuilder::set_reason):<br>required: **true**<br><p>The factors that should cause the email address to be added to the suppression list for your account.</p><br>
8 /// - On success, responds with [`PutSuppressedDestinationOutput`](crate::operation::put_suppressed_destination::PutSuppressedDestinationOutput)
9 /// - On failure, responds with [`SdkError<PutSuppressedDestinationError>`](crate::operation::put_suppressed_destination::PutSuppressedDestinationError)
10 pub fn put_suppressed_destination(&self) -> crate::operation::put_suppressed_destination::builders::PutSuppressedDestinationFluentBuilder {
11 crate::operation::put_suppressed_destination::builders::PutSuppressedDestinationFluentBuilder::new(self.handle.clone())
12 }
13}