class Aws::CloudWatch::Errors::ResourceNotFoundException
Public Class Methods
new(context, message, data = Aws::EmptyStructure.new)
click to toggle source
@param [Seahorse::Client::RequestContext] context @param [String] message @param [Aws::CloudWatch::Types::ResourceNotFoundException] data
Calls superclass method
# File lib/aws-sdk-cloudwatch/errors.rb, line 230 def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end
Public Instance Methods
resource_id()
click to toggle source
@return [String]
# File lib/aws-sdk-cloudwatch/errors.rb, line 240 def resource_id @data[:resource_id] end
resource_type()
click to toggle source
@return [String]
# File lib/aws-sdk-cloudwatch/errors.rb, line 235 def resource_type @data[:resource_type] end