Class: Aws::ApplicationSignals::Errors::ResourceNotFoundException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ResourceNotFoundException.

Parameters:



78
79
80
# File 'lib/aws-sdk-applicationsignals/errors.rb', line 78

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

Instance Method Details

#messageString

Returns:

  • (String)


93
94
95
# File 'lib/aws-sdk-applicationsignals/errors.rb', line 93

def message
  @message || @data[:message]
end

#resource_idString

Returns:

  • (String)


88
89
90
# File 'lib/aws-sdk-applicationsignals/errors.rb', line 88

def resource_id
  @data[:resource_id]
end

#resource_typeString

Returns:

  • (String)


83
84
85
# File 'lib/aws-sdk-applicationsignals/errors.rb', line 83

def resource_type
  @data[:resource_type]
end