Class: Aws::Inspector2::Types::FailedAccount

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

The Amazon Web Services account ID.

Returns:

  • (String)


2324
2325
2326
2327
2328
2329
2330
2331
2332
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 2324

class FailedAccount < Struct.new(
  :account_id,
  :error_code,
  :error_message,
  :resource_status,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#error_codeString

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

Returns:

  • (String)


2324
2325
2326
2327
2328
2329
2330
2331
2332
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 2324

class FailedAccount < Struct.new(
  :account_id,
  :error_code,
  :error_message,
  :resource_status,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#error_messageString

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

Returns:

  • (String)


2324
2325
2326
2327
2328
2329
2330
2331
2332
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 2324

class FailedAccount < Struct.new(
  :account_id,
  :error_code,
  :error_message,
  :resource_status,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#resource_statusTypes::ResourceStatus

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



2324
2325
2326
2327
2328
2329
2330
2331
2332
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 2324

class FailedAccount < Struct.new(
  :account_id,
  :error_code,
  :error_message,
  :resource_status,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The status of Amazon Inspector for the account.

Returns:

  • (String)


2324
2325
2326
2327
2328
2329
2330
2331
2332
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 2324

class FailedAccount < Struct.new(
  :account_id,
  :error_code,
  :error_message,
  :resource_status,
  :status)
  SENSITIVE = []
  include Aws::Structure
end