def abort_multipart_upload(resource, bucket_name, object_name, upload_id):
    """Abort in-progress multipart upload"""
    mpupload = resource.MultipartUpload(bucket_name, object_name, upload_id)
    return mpupload.abort()