예제 #1
0
    public Task <DeleteObjectsResponse> DeleteObjectsAsync(string bucketName, IEnumerable <S3DeleteInfo> objectKeys, Action <DeleteObjectsRequest>?config = null, CancellationToken token = default)
    {
        DeleteObjectsRequest req = new DeleteObjectsRequest(bucketName, objectKeys);

        config?.Invoke(req);

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