Class: Aws::SecurityHub::Errors::ResourceNotFoundException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::SecurityHub::Errors::ResourceNotFoundException
- Defined in:
- lib/aws-sdk-securityhub/errors.rb
Instance Method Summary collapse
- #code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceNotFoundException
constructor
A new instance of ResourceNotFoundException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceNotFoundException
Returns a new instance of ResourceNotFoundException.
190 191 192 |
# File 'lib/aws-sdk-securityhub/errors.rb', line 190 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
200 201 202 |
# File 'lib/aws-sdk-securityhub/errors.rb', line 200 def code @code || @data[:code] end |
#message ⇒ String
195 196 197 |
# File 'lib/aws-sdk-securityhub/errors.rb', line 195 def @message || @data[:message] end |