lib/aws-sdk-ecr/errors.rb in aws-sdk-ecr-1.21.0 vs lib/aws-sdk-ecr/errors.rb in aws-sdk-ecr-1.22.0
- old
+ new
@@ -348,9 +348,25 @@
@message || @data[:message]
end
end
+ class ScanNotFoundException < ServiceError
+
+ # @param [Seahorse::Client::RequestContext] context
+ # @param [String] message
+ # @param [Aws::ECR::Types::ScanNotFoundException] data
+ def initialize(context, message, data = Aws::EmptyStructure.new)
+ super(context, message, data)
+ end
+
+ # @return [String]
+ def message
+ @message || @data[:message]
+ end
+
+ end
+
class ServerException < ServiceError
# @param [Seahorse::Client::RequestContext] context
# @param [String] message
# @param [Aws::ECR::Types::ServerException] data