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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


3155
3156
3157
3158
3159
3160
3161
3162
3163
# File 'lib/aws-sdk-inspector2/types.rb', line 3155

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)


3155
3156
3157
3158
3159
3160
3161
3162
3163
# File 'lib/aws-sdk-inspector2/types.rb', line 3155

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)


3155
3156
3157
3158
3159
3160
3161
3162
3163
# File 'lib/aws-sdk-inspector2/types.rb', line 3155

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.



3155
3156
3157
3158
3159
3160
3161
3162
3163
# File 'lib/aws-sdk-inspector2/types.rb', line 3155

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)


3155
3156
3157
3158
3159
3160
3161
3162
3163
# File 'lib/aws-sdk-inspector2/types.rb', line 3155

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