Class: Aws::WorkSpaces::Errors::ResourceNotFoundException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ResourceNotFoundException.

Parameters:



294
295
296
# File 'lib/aws-sdk-workspaces/errors.rb', line 294

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

Instance Method Details

#messageString

Returns:

  • (String)


299
300
301
# File 'lib/aws-sdk-workspaces/errors.rb', line 299

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

#resource_idString

Returns:

  • (String)


304
305
306
# File 'lib/aws-sdk-workspaces/errors.rb', line 304

def resource_id
  @data[:resource_id]
end