aws_sdk_ses/client/
get_account_sending_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 [`GetAccountSendingEnabled`](crate::operation::get_account_sending_enabled::builders::GetAccountSendingEnabledFluentBuilder) operation.
4    ///
5    /// - The fluent builder takes no input, just [`send`](crate::operation::get_account_sending_enabled::builders::GetAccountSendingEnabledFluentBuilder::send) it.
6    /// - On success, responds with [`GetAccountSendingEnabledOutput`](crate::operation::get_account_sending_enabled::GetAccountSendingEnabledOutput) with field(s):
7    ///   - [`enabled(bool)`](crate::operation::get_account_sending_enabled::GetAccountSendingEnabledOutput::enabled): <p>Describes whether email sending is enabled or disabled for your Amazon SES account in the current Amazon Web Services Region.</p>
8    /// - On failure, responds with [`SdkError<GetAccountSendingEnabledError>`](crate::operation::get_account_sending_enabled::GetAccountSendingEnabledError)
9    pub fn get_account_sending_enabled(&self) -> crate::operation::get_account_sending_enabled::builders::GetAccountSendingEnabledFluentBuilder {
10        crate::operation::get_account_sending_enabled::builders::GetAccountSendingEnabledFluentBuilder::new(self.handle.clone())
11    }
12}