Description Usage Arguments Details Value References Examples
Downloadsthe results of a single query execution specified by
query_execution_id
to filename
. This request does not execute
the query but returns results. Use start_query_execution()
to run a query.
1 2 3 |
query_execution_id |
unique ID of the query execution. |
filename |
download location of the athena result |
aws_access_key_id |
AWS access key id |
aws_secret_access_key |
AWS secret access key |
aws_session_token |
AWS session token |
region_name |
region name |
profile_name |
profile name |
This is useful for downloading large results where it is undesireable to load the full dataset into memory.
the filename
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
start_query_execution(
query = "SELECT * FROM elb_logs LIMIT 100",
database = "sampledb",
output_location = "s3://aws-athena-query-results-redacted",
profile = "personal"
) -> sqe
# wait a bit
save_query_results(sqe, filename)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.