Athena
Reference: https://docs.aws.amazon.com/cli/latest/reference/athena/
Execute A Query
The query will be executed in the background.
Example Response
The QueryExecutionId
will be used to retrieve the query status and query results.
Retrieve the Query Status
Retrieve the Query Results
You can "stream" the output by setting the
--page-size <N>
argument.Or, you can paginate the results by setting the
--max-items <N>
and the--starting-token <NEXT_TOKEN>
arguments, where the<NEXT_TOKEN>
is obtained from the lastget-query-results
call.
Prepared Statement
Create the Prepared Statement
Execute the Prepared Statement
The prepared statement can be triggered by executing the EXECUTE
query.
Retrieve the Prepared Statement
List the Prepared Statements
Last updated