FailedAccount - Inspector
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

FailedAccount

An object with details on why an account failed to enable Amazon Inspector.

Contents

accountId

The Amazon Web Services account ID.

Type: String

Length Constraints: Fixed length of 12.

Pattern: ^\d{12}$

Required: Yes

errorCode

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

Type: String

Valid Values: ALREADY_ENABLED | ENABLE_IN_PROGRESS | DISABLE_IN_PROGRESS | SUSPEND_IN_PROGRESS | RESOURCE_NOT_FOUND | ACCESS_DENIED | INTERNAL_ERROR | SSM_UNAVAILABLE | SSM_THROTTLED | EVENTBRIDGE_UNAVAILABLE | EVENTBRIDGE_THROTTLED | RESOURCE_SCAN_NOT_DISABLED | DISASSOCIATE_ALL_MEMBERS | ACCOUNT_IS_ISOLATED

Required: Yes

errorMessage

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

Type: String

Length Constraints: Minimum length of 1.

Required: Yes

resourceStatus

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

Type: ResourceStatus object

Required: No

status

The status of Amazon Inspector for the account.

Type: String

Valid Values: ENABLING | ENABLED | DISABLING | DISABLED | SUSPENDING | SUSPENDED

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: