1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetAccount`](crate::operation::get_account::builders::GetAccountFluentBuilder) operation.
    ///
    /// - The fluent builder takes no input, just [`send`](crate::operation::get_account::builders::GetAccountFluentBuilder::send) it.
    /// - On success, responds with [`GetAccountOutput`](crate::operation::get_account::GetAccountOutput) with field(s):
    ///   - [`dedicated_ip_auto_warmup_enabled(bool)`](crate::operation::get_account::GetAccountOutput::dedicated_ip_auto_warmup_enabled): <p>Indicates whether or not the automatic warm-up feature is enabled for dedicated IP addresses that are associated with your account.</p>
    ///   - [`enforcement_status(Option<String>)`](crate::operation::get_account::GetAccountOutput::enforcement_status): <p>The reputation status of your Amazon SES account. The status can be one of the following:</p> <ul>  <li>   <p><code>HEALTHY</code> – There are no reputation-related issues that currently impact your account.</p></li>  <li>   <p><code>PROBATION</code> – We've identified potential issues with your Amazon SES account. We're placing your account under review while you work on correcting these issues.</p></li>  <li>   <p><code>SHUTDOWN</code> – Your account's ability to send email is currently paused because of an issue with the email sent from your account. When you correct the issue, you can contact us and request that your account's ability to send email is resumed.</p></li> </ul>
    ///   - [`production_access_enabled(bool)`](crate::operation::get_account::GetAccountOutput::production_access_enabled): <p>Indicates whether or not your account has production access in the current Amazon Web Services Region.</p> <p>If the value is <code>false</code>, then your account is in the <i>sandbox</i>. When your account is in the sandbox, you can only send email to verified identities.</p> <p>If the value is <code>true</code>, then your account has production access. When your account has production access, you can send email to any address. The sending quota and maximum sending rate for your account vary based on your specific use case.</p>
    ///   - [`send_quota(Option<SendQuota>)`](crate::operation::get_account::GetAccountOutput::send_quota): <p>An object that contains information about the per-day and per-second sending limits for your Amazon SES account in the current Amazon Web Services Region.</p>
    ///   - [`sending_enabled(bool)`](crate::operation::get_account::GetAccountOutput::sending_enabled): <p>Indicates whether or not email sending is enabled for your Amazon SES account in the current Amazon Web Services Region.</p>
    ///   - [`suppression_attributes(Option<SuppressionAttributes>)`](crate::operation::get_account::GetAccountOutput::suppression_attributes): <p>An object that contains information about the email address suppression preferences for your account in the current Amazon Web Services Region.</p>
    ///   - [`details(Option<AccountDetails>)`](crate::operation::get_account::GetAccountOutput::details): <p>An object that defines your account details.</p>
    ///   - [`vdm_attributes(Option<VdmAttributes>)`](crate::operation::get_account::GetAccountOutput::vdm_attributes): <p>The VDM attributes that apply to your Amazon SES account.</p>
    /// - On failure, responds with [`SdkError<GetAccountError>`](crate::operation::get_account::GetAccountError)
    pub fn get_account(&self) -> crate::operation::get_account::builders::GetAccountFluentBuilder {
        crate::operation::get_account::builders::GetAccountFluentBuilder::new(self.handle.clone())
    }
}