public function downloadQueuedPdf($appId, $scanId, $queueId, $outFile, array $queryParams = [])
    {
        $response = $this->client->get($this->uri($appId, $scanId, 'pdfs') . '/queues/' . $queueId . '/downloads', [
            'sink'  => $outFile,
            'query' => $queryParams,
        ]);

        return $this->handleResponse($response);
    }