function getQueryResults(athenaClient, queryExecutionId) {
    const client = athenaClient;

    const queryParams = {
        QueryExecutionId: queryExecutionId
    };

    return new Promise(function(resolve, reject) {
        client.getQueryResults(queryParams, (err, data) => {
            if (err) {
                return reject(err);
            }
            return resolve(data);
        });
    });
}
The following method will get the query results based on the query id
@param {object} athenaClient  - Object created using create athena client
@param {string} queryExecutionId - AWS Athena Query Id
@returns {Promise} Resolves to AWS Query Response