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