// 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><important> <p>The <code>Status</code> parameter in the API response will be retired on September 9, 2026. Although both the account <code>State</code> and account <code>Status</code> parameters are currently available in the Organizations APIs (<code>DescribeAccount</code>, <code>ListAccounts</code>, <code>ListAccountsForParent</code>), we recommend that you update your scripts or other code to use the <code>State</code> parameter instead of <code>Status</code> before September 9, 2026.</p> </important>
/// - 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())
}
}