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::States::Errors::ResourceNotFound

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ResourceNotFound.

Parameters:



291
292
293
# File 'gems/aws-sdk-states/lib/aws-sdk-states/errors.rb', line 291

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

Instance Method Details

#messageString

Returns:

  • (String)


296
297
298
# File 'gems/aws-sdk-states/lib/aws-sdk-states/errors.rb', line 296

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

#resource_nameString

Returns:

  • (String)


301
302
303
# File 'gems/aws-sdk-states/lib/aws-sdk-states/errors.rb', line 301

def resource_name
  @data[:resource_name]
end