Start Query
athena.start_query_execution
ActionAmazon Web Servicesconnection required
Calls the AWS athena API (SigV4).
Start an Athena SQL query over S3.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Amazon Athena
- Secret shape
- {"access_key_id", "secret_access_key"}
- Config it needs
- region
- Resolved by
- config.connection_id, else node.connection_id
Configuration
5 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
region AWS region (overrides the connection). | string | No | — | — | — |
query SQL to run; the call is refused without it. | string | Yes | — | — | — |
database Glue/Athena database. | string | No | — | — | — |
output_location s3://… results prefix. | string | No | — | — | — |
workgroup Athena workgroup. | string | No | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
query_execution_id | string | — |
{
"query_execution_id": ""
}Notes
- Asynchronous: poll get_query_execution until state is SUCCEEDED.
Related Amazon Athena nodes
See Start Query run in a workflow.
In a technical demo we add the Amazon Athena connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.