lib/aws-sdk-fsx/errors.rb in aws-sdk-fsx-1.13.0 vs lib/aws-sdk-fsx/errors.rb in aws-sdk-fsx-1.14.0
- old
+ new
@@ -103,9 +103,57 @@
@message || @data[:message]
end
end
+ class DataRepositoryTaskEnded < ServiceError
+
+ # @param [Seahorse::Client::RequestContext] context
+ # @param [String] message
+ # @param [Aws::FSx::Types::DataRepositoryTaskEnded] data
+ def initialize(context, message, data = Aws::EmptyStructure.new)
+ super(context, message, data)
+ end
+
+ # @return [String]
+ def message
+ @message || @data[:message]
+ end
+
+ end
+
+ class DataRepositoryTaskExecuting < ServiceError
+
+ # @param [Seahorse::Client::RequestContext] context
+ # @param [String] message
+ # @param [Aws::FSx::Types::DataRepositoryTaskExecuting] data
+ def initialize(context, message, data = Aws::EmptyStructure.new)
+ super(context, message, data)
+ end
+
+ # @return [String]
+ def message
+ @message || @data[:message]
+ end
+
+ end
+
+ class DataRepositoryTaskNotFound < ServiceError
+
+ # @param [Seahorse::Client::RequestContext] context
+ # @param [String] message
+ # @param [Aws::FSx::Types::DataRepositoryTaskNotFound] data
+ def initialize(context, message, data = Aws::EmptyStructure.new)
+ super(context, message, data)
+ end
+
+ # @return [String]
+ def message
+ @message || @data[:message]
+ end
+
+ end
+
class FileSystemNotFound < ServiceError
# @param [Seahorse::Client::RequestContext] context
# @param [String] message
# @param [Aws::FSx::Types::FileSystemNotFound] data