AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::SSMIncidents::Errors::ResourceNotFoundException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ResourceNotFoundException.

Parameters:



104
105
106
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/errors.rb', line 104

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

Instance Method Details

#messageString

Returns:

  • (String)


109
110
111
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/errors.rb', line 109

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

#resource_identifierString

Returns:

  • (String)


114
115
116
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/errors.rb', line 114

def resource_identifier
  @data[:resource_identifier]
end

#resource_typeString

Returns:

  • (String)


119
120
121
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/errors.rb', line 119

def resource_type
  @data[:resource_type]
end