Skip to content

GetAccountInformationResponse

Source code in docs_src/capo_account/types/get_account_information_response.py
class GetAccountInformationResponse(TypedDict, closed=True):
    account_id: NotRequired["capo_account.types.account_id.AccountId"]
    """<p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. To use this parameter, the caller must be an identity in the <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account">organization's management account</a> or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all features enabled</a>, and the organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html">trusted access</a> enabled for the Account Management service, and optionally a <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#delegated-admin">delegated admin</a> account assigned.</p> <p>This operation can only be called from the management account or the delegated administrator account of an organization for a member account.</p> <note> <p>The management account can't specify its own <code>AccountId</code>.</p> </note>"""
    account_name: NotRequired["capo_account.types.account_name.AccountName"]
    """<p>The name of the account.</p>"""
    account_created_date: NotRequired[
        "capo_account.types.account_created_date.AccountCreatedDate"
    ]
    """<p>The date and time the account was created.</p>"""
    account_state: NotRequired["capo_account.types.account_state.AccountState"]
    """<p>The state of the account. Each account state represents a specific phase in the account lifecycle. Use this information to manage account access, automate workflows, or trigger actions based on account state changes.</p> <p>Valid values: <code>PENDING_ACTIVATION | ACTIVE | SUSPENDED | CLOSED</code> </p>"""

account_created_date instance-attribute

account_created_date: NotRequired[AccountCreatedDate]

The date and time the account was created.

account_id instance-attribute

account_id: NotRequired[AccountId]

Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned.

This operation can only be called from the management account or the delegated administrator account of an organization for a member account.

The management account can't specify its own AccountId.

account_name instance-attribute

account_name: NotRequired[AccountName]

The name of the account.

account_state instance-attribute

account_state: NotRequired[AccountState]

The state of the account. Each account state represents a specific phase in the account lifecycle. Use this information to manage account access, automate workflows, or trigger actions based on account state changes.

Valid values: PENDING_ACTIVATION | ACTIVE | SUSPENDED | CLOSED