1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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):
    ///   - [`cloudwatch_role_arn(Option<String>)`](crate::operation::get_account::GetAccountOutput::cloudwatch_role_arn): <p>The ARN of an Amazon CloudWatch role for the current Account. </p>
    ///   - [`throttle_settings(Option<ThrottleSettings>)`](crate::operation::get_account::GetAccountOutput::throttle_settings): <p>Specifies the API request limits configured for the current Account.</p>
    ///   - [`features(Option<Vec::<String>>)`](crate::operation::get_account::GetAccountOutput::features): <p>A list of features supported for the account. When usage plans are enabled, the features list will include an entry of <code>"UsagePlans"</code>.</p>
    ///   - [`api_key_version(Option<String>)`](crate::operation::get_account::GetAccountOutput::api_key_version): <p>The version of the API keys used for the 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())
    }
}