State - 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).

State

An object that described the state of Amazon Inspector scans for an account.

Contents

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 | EC2_SSM_RESOURCE_DATA_SYNC_LIMIT_EXCEEDED | EC2_SSM_ASSOCIATION_VERSION_LIMIT_EXCEEDED

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

status

The status of Amazon Inspector for the account.

Type: String

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

Required: Yes

See Also

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