aws_sdk_sesv2/client/
get_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 [`GetSuppressedDestination`](crate::operation::get_suppressed_destination::builders::GetSuppressedDestinationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`email_address(impl Into<String>)`](crate::operation::get_suppressed_destination::builders::GetSuppressedDestinationFluentBuilder::email_address) / [`set_email_address(Option<String>)`](crate::operation::get_suppressed_destination::builders::GetSuppressedDestinationFluentBuilder::set_email_address):<br>required: **true**<br><p>The email address that's on the account suppression list.</p><br>
7    /// - On success, responds with [`GetSuppressedDestinationOutput`](crate::operation::get_suppressed_destination::GetSuppressedDestinationOutput) with field(s):
8    ///   - [`suppressed_destination(Option<SuppressedDestination>)`](crate::operation::get_suppressed_destination::GetSuppressedDestinationOutput::suppressed_destination): <p>An object containing information about the suppressed email address.</p>
9    /// - On failure, responds with [`SdkError<GetSuppressedDestinationError>`](crate::operation::get_suppressed_destination::GetSuppressedDestinationError)
10    pub fn get_suppressed_destination(&self) -> crate::operation::get_suppressed_destination::builders::GetSuppressedDestinationFluentBuilder {
11        crate::operation::get_suppressed_destination::builders::GetSuppressedDestinationFluentBuilder::new(self.handle.clone())
12    }
13}