CmdID / aws / aws athena
aws athena get-query-results
Streams the results of a single query execution specified by QueryExecutionId from the Athena query results location in Amazon S3. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--max-resultsThe maximum number of results (rows) to return in this request.--next-tokenA token generated by the Athena service that specifies where to continue pagination if a previous request was truncated.--query-execution-idThe unique ID of the query execution.--query-result-typeWhen you set this to DATA_ROWS or empty, GetQueryResults returns the query results in rows.