lib/aws-sdk-glue/errors.rb in aws-sdk-glue-1.101.0 vs lib/aws-sdk-glue/errors.rb in aws-sdk-glue-1.102.0

- old
+ new

@@ -45,10 +45,11 @@ # * {InvalidInputException} # * {InvalidStateException} # * {MLTransformNotReadyException} # * {NoScheduleException} # * {OperationTimeoutException} + # * {PermissionTypeMismatchException} # * {ResourceNotReadyException} # * {ResourceNumberLimitExceededException} # * {SchedulerNotRunningException} # * {SchedulerRunningException} # * {SchedulerTransitioningException} @@ -349,9 +350,24 @@ class OperationTimeoutException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Glue::Types::OperationTimeoutException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + + class PermissionTypeMismatchException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::Glue::Types::PermissionTypeMismatchException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String]