lib/aws-sdk-glue/errors.rb in aws-sdk-glue-1.93.0 vs lib/aws-sdk-glue/errors.rb in aws-sdk-glue-1.94.0

- old
+ new

@@ -37,10 +37,11 @@ # * {CrawlerRunningException} # * {CrawlerStoppingException} # * {EntityNotFoundException} # * {GlueEncryptionException} # * {IdempotentParameterMismatchException} + # * {IllegalBlueprintStateException} # * {IllegalWorkflowStateException} # * {InternalServiceException} # * {InvalidInputException} # * {MLTransformNotReadyException} # * {NoScheduleException} @@ -226,9 +227,24 @@ class IdempotentParameterMismatchException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Glue::Types::IdempotentParameterMismatchException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + + 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]