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)


8159
8160
8161
8162
8163
8164
8165
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 8159

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

#error_messageString

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

Returns:

  • (String)


8159
8160
8161
8162
8163
8164
8165
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 8159

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

#statusString

The status of Amazon Inspector for the account.

Returns:

  • (String)


8159
8160
8161
8162
8163
8164
8165
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 8159

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