aws_sdk_auditmanager/client/
get_account_status.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 [`GetAccountStatus`](crate::operation::get_account_status::builders::GetAccountStatusFluentBuilder) operation.
4    ///
5    /// - The fluent builder takes no input, just [`send`](crate::operation::get_account_status::builders::GetAccountStatusFluentBuilder::send) it.
6    /// - On success, responds with [`GetAccountStatusOutput`](crate::operation::get_account_status::GetAccountStatusOutput) with field(s):
7    ///   - [`status(Option<AccountStatus>)`](crate::operation::get_account_status::GetAccountStatusOutput::status): <p>The status of the Amazon Web Services account.</p>
8    /// - On failure, responds with [`SdkError<GetAccountStatusError>`](crate::operation::get_account_status::GetAccountStatusError)
9    pub fn get_account_status(&self) -> crate::operation::get_account_status::builders::GetAccountStatusFluentBuilder {
10        crate::operation::get_account_status::builders::GetAccountStatusFluentBuilder::new(self.handle.clone())
11    }
12}