예제 #1
0
    public Task <DeleteObjectResponse> DeleteObjectAsync(string bucketName, string objectKey, Action <DeleteObjectRequest>?config = null, CancellationToken token = default)
    {
        DeleteObjectRequest req = new DeleteObjectRequest(bucketName, objectKey);

        config?.Invoke(req);

        return(_objectOperations.DeleteObjectAsync(req, token));
    }