Statement Status
redshift_data.describe_statement
ActionAmazon Web Servicesconnection required
Calls the AWS redshift_data API (SigV4).
Check whether a statement has finished.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Amazon Redshift Data API
- 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 | — | — | — |
statement_id Id from execute_statement. | string | Yes | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
status | string | — |
error | string | — |
result_rows | number | — |
statement_id The statement this status describes. | string | — |
duration_ms | number | — |
{
"duration_ms": 0,
"error": "",
"result_rows": 0,
"statement_id": "",
"status": ""
}Related Amazon Redshift Data API nodes
See Statement Status run in a workflow.
In a technical demo we add the Amazon Redshift Data API connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.