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)


3081
3082
3083
3084
3085
3086
3087
3088
3089
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 3081

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)


3081
3082
3083
3084
3085
3086
3087
3088
3089
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 3081

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)


3081
3082
3083
3084
3085
3086
3087
3088
3089
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 3081

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.



3081
3082
3083
3084
3085
3086
3087
3088
3089
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 3081

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)


3081
3082
3083
3084
3085
3086
3087
3088
3089
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 3081

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