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_id ⇒ String

The Amazon Web Services account ID.

Returns:

  • (String)


5302
5303
5304
5305
5306
5307
5308
5309
5310
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 5302

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

#error_code ⇒ String

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

Returns:

  • (String)


5302
5303
5304
5305
5306
5307
5308
5309
5310
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 5302

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

#error_message ⇒ String

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

Returns:

  • (String)


5302
5303
5304
5305
5306
5307
5308
5309
5310
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 5302

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

#resource_status ⇒ Types::ResourceStatus

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



5302
5303
5304
5305
5306
5307
5308
5309
5310
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 5302

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

#status ⇒ String

The status of Amazon Inspector for the account.

Returns:

  • (String)


5302
5303
5304
5305
5306
5307
5308
5309
5310
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 5302

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