lib/aws-sdk-glue/errors.rb in aws-sdk-glue-1.107.0 vs lib/aws-sdk-glue/errors.rb in aws-sdk-glue-1.108.0

- old
+ new

@@ -38,10 +38,11 @@ # * {CrawlerStoppingException} # * {EntityNotFoundException} # * {GlueEncryptionException} # * {IdempotentParameterMismatchException} # * {IllegalBlueprintStateException} + # * {IllegalSessionStateException} # * {IllegalWorkflowStateException} # * {InternalServiceException} # * {InvalidInputException} # * {InvalidStateException} # * {MLTransformNotReadyException} @@ -245,9 +246,24 @@ class IllegalBlueprintStateException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Glue::Types::IllegalBlueprintStateException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + + class IllegalSessionStateException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::Glue::Types::IllegalSessionStateException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String]