lib/aws-sdk-glue/errors.rb in aws-sdk-glue-1.178.0 vs lib/aws-sdk-glue/errors.rb in aws-sdk-glue-1.179.0
- old
+ new
@@ -51,10 +51,11 @@
# * {InternalServiceException}
# * {InvalidInputException}
# * {InvalidStateException}
# * {MLTransformNotReadyException}
# * {NoScheduleException}
+ # * {OperationNotSupportedException}
# * {OperationTimeoutException}
# * {PermissionTypeMismatchException}
# * {ResourceNotReadyException}
# * {ResourceNumberLimitExceededException}
# * {SchedulerNotRunningException}
@@ -467,9 +468,24 @@
class NoScheduleException < ServiceError
# @param [Seahorse::Client::RequestContext] context
# @param [String] message
# @param [Aws::Glue::Types::NoScheduleException] data
+ def initialize(context, message, data = Aws::EmptyStructure.new)
+ super(context, message, data)
+ end
+
+ # @return [String]
+ def message
+ @message || @data[:message]
+ end
+ end
+
+ class OperationNotSupportedException < ServiceError
+
+ # @param [Seahorse::Client::RequestContext] context
+ # @param [String] message
+ # @param [Aws::Glue::Types::OperationNotSupportedException] data
def initialize(context, message, data = Aws::EmptyStructure.new)
super(context, message, data)
end
# @return [String]