1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeAccount`](crate::operation::describe_account::builders::DescribeAccountFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`account_id(impl Into<String>)`](crate::operation::describe_account::builders::DescribeAccountFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::describe_account::builders::DescribeAccountFluentBuilder::set_account_id):<br>required: **true**<br><p>The unique identifier (ID) of the Amazon Web Services account that you want information about. You can get the ID from the <code>ListAccounts</code> or <code>ListAccountsForParent</code> operations.</p> <p>The <a href="http://wikipedia.org/wiki/regex">regex pattern</a> for an account ID string requires exactly 12 digits.</p><br>
    /// - On success, responds with [`DescribeAccountOutput`](crate::operation::describe_account::DescribeAccountOutput) with field(s):
    ///   - [`account(Option<Account>)`](crate::operation::describe_account::DescribeAccountOutput::account): <p>A structure that contains information about the requested account.</p>
    /// - On failure, responds with [`SdkError<DescribeAccountError>`](crate::operation::describe_account::DescribeAccountError)
    pub fn describe_account(&self) -> crate::operation::describe_account::builders::DescribeAccountFluentBuilder {
        crate::operation::describe_account::builders::DescribeAccountFluentBuilder::new(self.handle.clone())
    }
}