Class: Aws::PersonalizeEvents::Errors::ResourceNotFoundException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ResourceNotFoundException.

Parameters:



75
76
77
# File 'gems/aws-sdk-personalizeevents/lib/aws-sdk-personalizeevents/errors.rb', line 75

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

Instance Method Details

#messageString

Returns:

  • (String)


80
81
82
# File 'gems/aws-sdk-personalizeevents/lib/aws-sdk-personalizeevents/errors.rb', line 80

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