Skip to main content
Run a single SQL statement (DML or DDL) against an Amazon Redshift cluster or Serverless workgroup using the Redshift Data API. The statement runs asynchronously - the action returns a statement Id, which the Redshift Data Get Statement Result V2 action uses to fetch the rows. Set Wait Time Seconds to have the API wait (up to 30 seconds) for the statement to finish before responding. Provide the target data warehouse and the authentication details as one of the following combinations:
  • Cluster + Secrets Manager - Cluster Identifier, Database and Secret ARN.
  • Cluster + temporary credentials as an IAM identity - Cluster Identifier and Database.
  • Cluster + temporary credentials as a database user - Cluster Identifier, Database and Database User.
  • Serverless workgroup - Workgroup Name and Database, optionally with Secret ARN.
External DocumentationTo learn more, visit the AWS documentation.

Basic Parameters

Advanced Parameters

Example Output

Workflow Library Example

Redshift Data Execute Statement with Aws and Send Results Via Email
Workflow LibraryPreview this Workflow on desktop