public Task <UploadPartResponse> UploadPartAsync(string bucketName, string resource, int partNumber, string uploadId, Stream content, Action <UploadPartRequest> config = null, CancellationToken token = default) { UploadPartRequest req = new UploadPartRequest(bucketName, resource, partNumber, uploadId, content); config?.Invoke(req); return(_operations.UploadPartAsync(req, token)); }