Class: Aws::Inspector2::Types::State

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

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#error_codeString

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

Returns:

  • (String)


6466
6467
6468
6469
6470
6471
6472
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 6466

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

#error_messageString

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

Returns:

  • (String)


6466
6467
6468
6469
6470
6471
6472
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 6466

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

#statusString

The status of Amazon Inspector for the account.

Returns:

  • (String)


6466
6467
6468
6469
6470
6471
6472
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 6466

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