Class: Aws::States::Errors::ResourceNotFound

Inherits:
ServiceError
  • Object
show all
Defined in:
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:



410
411
412
# File 'lib/aws-sdk-states/errors.rb', line 410

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

Instance Method Details

#messageString

Returns:

  • (String)


415
416
417
# File 'lib/aws-sdk-states/errors.rb', line 415

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

#resource_nameString

Returns:

  • (String)


420
421
422
# File 'lib/aws-sdk-states/errors.rb', line 420

def resource_name
  @data[:resource_name]
end