Skip to content

FailedAccount

Source code in docs_src/capo_inspector2/types/failed_account.py
class FailedAccount(TypedDict, closed=True):
    account_id: "capo_inspector2.types.account_id.AccountId"
    """<p>The Amazon Web Services account ID.</p>"""
    status: NotRequired["capo_inspector2.types.status.Status"]
    """<p>The status of Amazon Inspector for the account.</p>"""
    resource_status: NotRequired["capo_inspector2.types.resource_status.ResourceStatus"]
    """<p>An object detailing which resources Amazon Inspector is enabled to scan for the account.</p>"""
    error_code: "capo_inspector2.types.error_code.ErrorCode"
    """<p>The error code explaining why the account failed to enable Amazon Inspector.</p>"""
    error_message: "capo_inspector2.types.non_empty_string.NonEmptyString"
    """<p>The error message received when the account failed to enable Amazon Inspector.</p>"""

account_id instance-attribute

account_id: AccountId

The Amazon Web Services account ID.

error_code instance-attribute

error_code: ErrorCode

The error code explaining why the account failed to enable Amazon Inspector.

error_message instance-attribute

error_message: NonEmptyString

The error message received when the account failed to enable Amazon Inspector.

resource_status instance-attribute

resource_status: NotRequired[ResourceStatus]

An object detailing which resources Amazon Inspector is enabled to scan for the account.

status instance-attribute

status: NotRequired[Status]

The status of Amazon Inspector for the account.