Class: Aws::PersonalizeEvents::Errors::ResourceInUseException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::PersonalizeEvents::Errors::ResourceInUseException
- Defined in:
- lib/aws-sdk-personalizeevents/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceInUseException
constructor
A new instance of ResourceInUseException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceInUseException
Returns a new instance of ResourceInUseException.
60 61 62 |
# File 'lib/aws-sdk-personalizeevents/errors.rb', line 60 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
65 66 67 |
# File 'lib/aws-sdk-personalizeevents/errors.rb', line 65 def @message || @data[:message] end |