# File lib/aws/s3/multipart_upload.rb, line 297 def close if aborted? nil elsif completed_parts.empty? abort else complete end end