public Task <DeleteObjectResponse> DeleteObjectAsync(string url, Action <PreSignedDeleteObjectRequest>?config = null, CancellationToken token = default) { PreSignedDeleteObjectRequest request = new PreSignedDeleteObjectRequest(url); config?.Invoke(request); return(PreSignedObjectOperations.SendPreSignedDeleteObjectAsync(request, token)); }
public Task <DeleteObjectResponse> SendPreSignedDeleteObjectAsync(PreSignedDeleteObjectRequest request, CancellationToken token = default) { return(_handler.SendRequestAsync <PreSignedDeleteObjectRequest, DeleteObjectResponse>(request, token)); }