public Task <DeleteObjectResponse> DeleteObjectAsync(string bucketName, string resource, Action <DeleteObjectRequest> config = null, CancellationToken token = default) { DeleteObjectRequest req = new DeleteObjectRequest(bucketName, resource); config?.Invoke(req); return(_operations.DeleteAsync(req, token)); }