1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`PutSuppressedDestination`](crate::operation::put_suppressed_destination::builders::PutSuppressedDestinationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`PutSuppressedDestinationOutput`](crate::operation::put_suppressed_destination::PutSuppressedDestinationOutput)
    /// - On failure, responds with [`SdkError<PutSuppressedDestinationError>`](crate::operation::put_suppressed_destination::PutSuppressedDestinationError)
    pub fn put_suppressed_destination(&self) -> crate::operation::put_suppressed_destination::builders::PutSuppressedDestinationFluentBuilder {
        crate::operation::put_suppressed_destination::builders::PutSuppressedDestinationFluentBuilder::new(self.handle.clone())
    }
}