Class: Aws::CloudWatch::Errors::ResourceNotFoundException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CloudWatch::Errors::ResourceNotFoundException
- Defined in:
- lib/aws-sdk-cloudwatch/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceNotFoundException
constructor
A new instance of ResourceNotFoundException.
- #resource_id ⇒ String
- #resource_type ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceNotFoundException
Returns a new instance of ResourceNotFoundException.
230 231 232 |
# File 'lib/aws-sdk-cloudwatch/errors.rb', line 230 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#resource_id ⇒ String
240 241 242 |
# File 'lib/aws-sdk-cloudwatch/errors.rb', line 240 def resource_id @data[:resource_id] end |
#resource_type ⇒ String
235 236 237 |
# File 'lib/aws-sdk-cloudwatch/errors.rb', line 235 def resource_type @data[:resource_type] end |