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

Inherits:
ServiceError
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatch/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:



334
335
336
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/errors.rb', line 334

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

Instance Method Details

#resource_idString

Returns:

  • (String)


344
345
346
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/errors.rb', line 344

def resource_id
  @data[:resource_id]
end

#resource_typeString

Returns:

  • (String)


339
340
341
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/errors.rb', line 339

def resource_type
  @data[:resource_type]
end