Class: Aws::CloudWatch::Errors::ResourceNotFoundException

Inherits:
ServiceError
  • Object
show all
Defined in:
lib/aws-sdk-cloudwatch/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceNotFoundException

Returns a new instance of ResourceNotFoundException.

Parameters:



230
231
232
# File 'lib/aws-sdk-cloudwatch/errors.rb', line 230

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#resource_idString

Returns:

  • (String)


240
241
242
# File 'lib/aws-sdk-cloudwatch/errors.rb', line 240

def resource_id
  @data[:resource_id]
end

#resource_typeString

Returns:

  • (String)


235
236
237
# File 'lib/aws-sdk-cloudwatch/errors.rb', line 235

def resource_type
  @data[:resource_type]
end