Aborts a multipart upload.
- (void)abortMultipartUpload:(NSString*)objectName :(NSString*)uploadId;
public func abortMultipartUpload(_ objectName: String, _ uploadId: String) throws -> Void
This method aborts the multipart upload of the object named ObjectName specified by UploadId.
When this method is called, all parts that have been uploaded for the multipart upload are deleted from the server. (Note that if any part uploads are currently in progress, it may be necessary to call this method again after they complete.)
If this method is called successfully, the specified UploadId will no longer be valid.
Note: This method is not supported when ServiceProvider is spGoogleStorage (2); Google Cloud Storage does not support multipart uploads.