Amazon Redshift · Schema

ExecuteStatementInput

AnalyticsBig DataCloudData LakeData WarehouseETLMachine LearningServerlessSQL

Properties

Name Type Description
Sql string The SQL statement text to run.
ClusterIdentifier string The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials.
SecretArn string The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using Secrets Manager.
DbUser string The database user name. This parameter is required when connecting to a cluster as a database user and authenticating using temporary credentials.
Database string The name of the database. This parameter is required when authenticating using either Secrets Manager or temporary credentials.
WithEvent boolean A value that indicates whether to send an event to the Amazon EventBridge event bus after the SQL statement runs.
StatementName string The name of the SQL statement. You can name the SQL statement when you create it to identify the query.
Parameters array The parameters for the SQL statement.
WorkgroupName string The serverless workgroup name or Amazon Resource Name (ARN). This parameter is required when connecting to a serverless workgroup and authenticating using either Secrets Manager or temporary credentia
ClientToken string A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
ResultFormat string The data format of the result of the SQL statement. If no format is specified, the default is JSON.
SessionKeepAliveSeconds integer The number of seconds to keep the session alive after the query finishes. The maximum time a session can keep alive is 24 hours. After 24 hours, the session is forced closed and the query is terminate
SessionId string The session identifier of the query.
WaitTimeSeconds integer The number of seconds to wait for the SQL statement to complete execution before returning the response. If the SQL statement does not complete within the specified time, the response returns the curr
View JSON Schema on GitHub

JSON Schema

amazon-redshift-execute-statement-input-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-redshift/json-schema/amazon-redshift-execute-statement-input-schema.json",
  "title": "ExecuteStatementInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-redshift-statement-execution-api-openapi.yml#/components/schemas/ExecuteStatementInput",
  "type": "object",
  "properties": {
    "Sql": {
      "type": "string",
      "description": "The SQL statement text to run."
    },
    "ClusterIdentifier": {
      "type": "string",
      "description": "The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials."
    },
    "SecretArn": {
      "type": "string",
      "description": "The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using Secrets Manager."
    },
    "DbUser": {
      "type": "string",
      "description": "The database user name. This parameter is required when connecting to a cluster as a database user and authenticating using temporary credentials."
    },
    "Database": {
      "type": "string",
      "description": "The name of the database. This parameter is required when authenticating using either Secrets Manager or temporary credentials."
    },
    "WithEvent": {
      "type": "boolean",
      "description": "A value that indicates whether to send an event to the Amazon EventBridge event bus after the SQL statement runs."
    },
    "StatementName": {
      "type": "string",
      "description": "The name of the SQL statement. You can name the SQL statement when you create it to identify the query."
    },
    "Parameters": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SqlParameter"
      },
      "description": "The parameters for the SQL statement."
    },
    "WorkgroupName": {
      "type": "string",
      "description": "The serverless workgroup name or Amazon Resource Name (ARN). This parameter is required when connecting to a serverless workgroup and authenticating using either Secrets Manager or temporary credentials."
    },
    "ClientToken": {
      "type": "string",
      "description": "A unique, case-sensitive identifier that you provide to ensure the idempotency of the request."
    },
    "ResultFormat": {
      "type": "string",
      "description": "The data format of the result of the SQL statement. If no format is specified, the default is JSON."
    },
    "SessionKeepAliveSeconds": {
      "type": "integer",
      "description": "The number of seconds to keep the session alive after the query finishes. The maximum time a session can keep alive is 24 hours. After 24 hours, the session is forced closed and the query is terminated."
    },
    "SessionId": {
      "type": "string",
      "description": "The session identifier of the query."
    },
    "WaitTimeSeconds": {
      "type": "integer",
      "description": "The number of seconds to wait for the SQL statement to complete execution before returning the response. If the SQL statement does not complete within the specified time, the response returns the current status. The maximum value is 30 seconds."
    }
  },
  "required": [
    "Sql"
  ],
  "$defs": {
    "SqlParameter": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the parameter."
        },
        "value": {
          "type": "string",
          "description": "The value of the parameter. Amazon Redshift implicitly converts to the proper data type. For more information, see Data types in the Amazon Redshift Database Developer Guide."
        }
      },
      "required": [
        "name",
        "value"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-redshift-execute-statement-input"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.