Query Status
athena.get_query_execution
ActionAmazon Web Servicesconnection required
Calls the AWS athena API (SigV4).
Check whether an Athena query has finished.
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
2 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_execution_id Id from start_query_execution. | string | Yes | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
query_execution_id | string | — |
state | string | — |
state_reason | string | — |
data_scanned_bytes | number | — |
{
"data_scanned_bytes": 0,
"query_execution_id": "",
"state": "",
"state_reason": ""
}Related Amazon Athena nodes
See Query Status 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.