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.

FieldTypeRequiredDefaultConstraintsExample
region
AWS region (overrides the connection).
stringNo———
query
SQL to run; the call is refused without it.
stringYes———
database
Glue/Athena database.
stringNo———
output_location
s3://… results prefix.
stringNo———
workgroup
Athena workgroup.
stringNo———

Output

One shape.

result

FieldTypeExample
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.