openapi: 3.2.0 info: version: '2019-12-20' x-release: v4 title: Redshift Data API Service API description:

You can use the Amazon Redshift Data API to run queries on Amazon Redshift tables. You can run SQL statements, which are committed if the statement succeeds.

For more information about the Amazon Redshift Data API and CLI usage examples, see Using the Amazon Redshift Data API in the Amazon Redshift Management Guide.

x-logo: url: https://api.apis.guru/v2/cache/logo/https_twitter.com_awscloud_profile_image.png backgroundColor: '#FFFFFF' termsOfService: https://aws.amazon.com/service-terms/ contact: name: Mike Ralphson email: mike.ralphson@gmail.com url: https://github.com/mermade/aws2openapi x-twitter: PermittedSoc license: name: Apache 2.0 License url: http://www.apache.org/licenses/ x-providerName: amazonaws.com x-serviceName: redshift-data x-aws-signingName: redshift-data x-origin: - contentType: application/json url: https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/redshift-data-2019-12-20.normal.json converter: url: https://github.com/mermade/aws2openapi version: 1.0.0 x-apisguru-driver: external x-apiClientRegistration: url: https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct x-apisguru-categories: - cloud x-preferred: true servers: - url: http://redshift-data.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The Redshift Data API Service multi-region endpoint - url: https://redshift-data.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The Redshift Data API Service multi-region endpoint - url: http://redshift-data.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The Redshift Data API Service endpoint for China (Beijing) and China (Ningxia) - url: https://redshift-data.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The Redshift Data API Service endpoint for China (Beijing) and China (Ningxia) security: - hmac: [] tags: - name: Redshift Data API Service paths: /#X-Amz-Target=RedshiftData.BatchExecuteStatement: parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' post: operationId: BatchExecuteStatement description: '

Runs one or more SQL statements, which can be data manipulation language (DML) or data definition language (DDL). Depending on the authorization method, use one of the following combinations of request parameters:

For more information about the Amazon Redshift Data API and CLI usage examples, see Using the Amazon Redshift Data API in the Amazon Redshift Management Guide.

' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/BatchExecuteStatementOutput' '480': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' '481': description: ActiveStatementsExceededException content: application/json: schema: $ref: '#/components/schemas/ActiveStatementsExceededException' '482': description: BatchExecuteStatementException content: application/json: schema: $ref: '#/components/schemas/BatchExecuteStatementException' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/BatchExecuteStatementInput' parameters: - name: X-Amz-Target in: header required: true schema: type: string enum: - RedshiftData.BatchExecuteStatement summary: Amazon Redshift Data - Batch Execute Statement x-microcks-operation: delay: 0 dispatcher: FALLBACK tags: - Redshift Data API Service /#X-Amz-Target=RedshiftData.CancelStatement: parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' post: operationId: CancelStatement description:

Cancels a running query. To be canceled, a query must be running.

For more information about the Amazon Redshift Data API and CLI usage examples, see Using the Amazon Redshift Data API in the Amazon Redshift Management Guide.

responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/CancelStatementResponse' '480': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' '481': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' '482': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' '483': description: DatabaseConnectionException content: application/json: schema: $ref: '#/components/schemas/DatabaseConnectionException' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CancelStatementRequest' parameters: - name: X-Amz-Target in: header required: true schema: type: string enum: - RedshiftData.CancelStatement summary: Amazon Redshift Data - Cancel Statement x-microcks-operation: delay: 0 dispatcher: FALLBACK tags: - Redshift Data API Service /#X-Amz-Target=RedshiftData.DescribeStatement: parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' post: operationId: DescribeStatement description:

Describes the details about a specific instance when a query was run by the Amazon Redshift Data API. The information includes when the query started, when it finished, the query status, the number of rows returned, and the SQL statement.

For more information about the Amazon Redshift Data API and CLI usage examples, see Using the Amazon Redshift Data API in the Amazon Redshift Management Guide.

responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/DescribeStatementResponse' '480': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' '481': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' '482': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/DescribeStatementRequest' parameters: - name: X-Amz-Target in: header required: true schema: type: string enum: - RedshiftData.DescribeStatement summary: Amazon Redshift Data - Describe Statement x-microcks-operation: delay: 0 dispatcher: FALLBACK tags: - Redshift Data API Service /#X-Amz-Target=RedshiftData.DescribeTable: parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' post: operationId: DescribeTable description: '

Describes the detailed information about a table from metadata in the cluster. The information includes its columns. A token is returned to page through the column list. Depending on the authorization method, use one of the following combinations of request parameters:

For more information about the Amazon Redshift Data API and CLI usage examples, see Using the Amazon Redshift Data API in the Amazon Redshift Management Guide.

' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/DescribeTableResponse' '480': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' '481': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' '482': description: DatabaseConnectionException content: application/json: schema: $ref: '#/components/schemas/DatabaseConnectionException' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/DescribeTableRequest' parameters: - name: MaxResults in: query schema: type: string description: Pagination limit required: false - name: NextToken in: query schema: type: string description: Pagination token required: false - name: X-Amz-Target in: header required: true schema: type: string enum: - RedshiftData.DescribeTable summary: Amazon Redshift Data - Describe Table x-microcks-operation: delay: 0 dispatcher: FALLBACK tags: - Redshift Data API Service /#X-Amz-Target=RedshiftData.ExecuteStatement: parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' post: operationId: ExecuteStatement description: '

Runs an SQL statement, which can be data manipulation language (DML) or data definition language (DDL). This statement must be a single SQL statement. Depending on the authorization method, use one of the following combinations of request parameters:

For more information about the Amazon Redshift Data API and CLI usage examples, see Using the Amazon Redshift Data API in the Amazon Redshift Management Guide.

' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/ExecuteStatementOutput' '480': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' '481': description: ExecuteStatementException content: application/json: schema: $ref: '#/components/schemas/ExecuteStatementException' '482': description: ActiveStatementsExceededException content: application/json: schema: $ref: '#/components/schemas/ActiveStatementsExceededException' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ExecuteStatementInput' parameters: - name: X-Amz-Target in: header required: true schema: type: string enum: - RedshiftData.ExecuteStatement summary: Amazon Redshift Data - Execute Statement x-microcks-operation: delay: 0 dispatcher: FALLBACK tags: - Redshift Data API Service /#X-Amz-Target=RedshiftData.GetStatementResult: parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' post: operationId: GetStatementResult description:

Fetches the temporarily cached result of an SQL statement. A token is returned to page through the statement results.

For more information about the Amazon Redshift Data API and CLI usage examples, see Using the Amazon Redshift Data API in the Amazon Redshift Management Guide.

responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/GetStatementResultResponse' '480': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' '481': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' '482': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/GetStatementResultRequest' parameters: - name: NextToken in: query schema: type: string description: Pagination token required: false - name: X-Amz-Target in: header required: true schema: type: string enum: - RedshiftData.GetStatementResult summary: Amazon Redshift Data - Get Statement Result x-microcks-operation: delay: 0 dispatcher: FALLBACK tags: - Redshift Data API Service /#X-Amz-Target=RedshiftData.ListDatabases: parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' post: operationId: ListDatabases description: '

List the databases in a cluster. A token is returned to page through the database list. Depending on the authorization method, use one of the following combinations of request parameters:

For more information about the Amazon Redshift Data API and CLI usage examples, see Using the Amazon Redshift Data API in the Amazon Redshift Management Guide.

' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/ListDatabasesResponse' '480': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' '481': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' '482': description: DatabaseConnectionException content: application/json: schema: $ref: '#/components/schemas/DatabaseConnectionException' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ListDatabasesRequest' parameters: - name: MaxResults in: query schema: type: string description: Pagination limit required: false - name: NextToken in: query schema: type: string description: Pagination token required: false - name: X-Amz-Target in: header required: true schema: type: string enum: - RedshiftData.ListDatabases summary: Amazon Redshift Data - List Databases x-microcks-operation: delay: 0 dispatcher: FALLBACK tags: - Redshift Data API Service /#X-Amz-Target=RedshiftData.ListSchemas: parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' post: operationId: ListSchemas description: '

Lists the schemas in a database. A token is returned to page through the schema list. Depending on the authorization method, use one of the following combinations of request parameters:

For more information about the Amazon Redshift Data API and CLI usage examples, see Using the Amazon Redshift Data API in the Amazon Redshift Management Guide.

' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/ListSchemasResponse' '480': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' '481': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' '482': description: DatabaseConnectionException content: application/json: schema: $ref: '#/components/schemas/DatabaseConnectionException' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ListSchemasRequest' parameters: - name: MaxResults in: query schema: type: string description: Pagination limit required: false - name: NextToken in: query schema: type: string description: Pagination token required: false - name: X-Amz-Target in: header required: true schema: type: string enum: - RedshiftData.ListSchemas summary: Amazon Redshift Data - List Schemas x-microcks-operation: delay: 0 dispatcher: FALLBACK tags: - Redshift Data API Service /#X-Amz-Target=RedshiftData.ListStatements: parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' post: operationId: ListStatements description:

List of SQL statements. By default, only finished statements are shown. A token is returned to page through the statement list.

For more information about the Amazon Redshift Data API and CLI usage examples, see Using the Amazon Redshift Data API in the Amazon Redshift Management Guide.

responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/ListStatementsResponse' '480': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' '481': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ListStatementsRequest' parameters: - name: MaxResults in: query schema: type: string description: Pagination limit required: false - name: NextToken in: query schema: type: string description: Pagination token required: false - name: X-Amz-Target in: header required: true schema: type: string enum: - RedshiftData.ListStatements summary: Amazon Redshift Data - List Statements x-microcks-operation: delay: 0 dispatcher: FALLBACK tags: - Redshift Data API Service /#X-Amz-Target=RedshiftData.ListTables: parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' post: operationId: ListTables description: '

List the tables in a database. If neither SchemaPattern nor TablePattern are specified, then all tables in the database are returned. A token is returned to page through the table list. Depending on the authorization method, use one of the following combinations of request parameters:

For more information about the Amazon Redshift Data API and CLI usage examples, see Using the Amazon Redshift Data API in the Amazon Redshift Management Guide.

' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/ListTablesResponse' '480': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' '481': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' '482': description: DatabaseConnectionException content: application/json: schema: $ref: '#/components/schemas/DatabaseConnectionException' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ListTablesRequest' parameters: - name: MaxResults in: query schema: type: string description: Pagination limit required: false - name: NextToken in: query schema: type: string description: Pagination token required: false - name: X-Amz-Target in: header required: true schema: type: string enum: - RedshiftData.ListTables summary: Amazon Redshift Data - List Tables x-microcks-operation: delay: 0 dispatcher: FALLBACK tags: - Redshift Data API Service components: schemas: StatementStatusString: type: string enum: - SUBMITTED - PICKED - STARTED - FINISHED - ABORTED - FAILED InternalServerException: {} ParameterName: type: string pattern: ^[0-9a-zA-Z_]+$ Field: type: object properties: blobValue: allOf: - $ref: '#/components/schemas/Blob' - description: 'A value of the BLOB data type. ' booleanValue: allOf: - $ref: '#/components/schemas/BoxedBoolean' - description: 'A value of the Boolean data type. ' doubleValue: allOf: - $ref: '#/components/schemas/BoxedDouble' - description: 'A value of the double data type. ' isNull: allOf: - $ref: '#/components/schemas/BoxedBoolean' - description: 'A value that indicates whether the data is NULL. ' longValue: allOf: - $ref: '#/components/schemas/BoxedLong' - description: 'A value of the long data type. ' stringValue: allOf: - $ref: '#/components/schemas/String' - description: 'A value of the string data type. ' description: 'A data value in a column. ' BoxedDouble: type: number format: double ListStatementsRequest: type: object title: ListStatementsRequest properties: MaxResults: allOf: - $ref: '#/components/schemas/ListStatementsLimit' - description: 'The maximum number of SQL statements to return in the response. If more SQL statements exist than fit in one response, then NextToken is returned to page through the results. ' NextToken: allOf: - $ref: '#/components/schemas/String' - description: 'A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request. ' RoleLevel: allOf: - $ref: '#/components/schemas/Boolean' - description: 'A value that filters which statements to return in the response. If true, all statements run by the caller''s IAM role are returned. If false, only statements run by the caller''s IAM role in the current IAM session are returned. The default is true. ' StatementName: allOf: - $ref: '#/components/schemas/StatementNameString' - description: 'The name of the SQL statement specified as input to BatchExecuteStatement or ExecuteStatement to identify the query. You can list multiple statements by providing a prefix that matches the beginning of the statement name. For example, to list myStatement1, myStatement2, myStatement3, and so on, then provide the a value of myStatement. Data API does a case-sensitive match of SQL statement names to the prefix value you provide. ' Status: allOf: - $ref: '#/components/schemas/StatusString' - description: '

The status of the SQL statement to list. Status values are defined as follows:

' ListTablesResponse: type: object properties: NextToken: allOf: - $ref: '#/components/schemas/String' - description: 'A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request. ' Tables: allOf: - $ref: '#/components/schemas/TableList' - description: 'The tables that match the request pattern. ' ParameterValue: type: string minLength: 1 StatementNameString: type: string minLength: 0 maxLength: 500 ClientToken: type: string minLength: 1 maxLength: 64 ListTablesRequest: type: object required: - Database title: ListTablesRequest properties: ClusterIdentifier: allOf: - $ref: '#/components/schemas/Location' - description: 'The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials. ' ConnectedDatabase: allOf: - $ref: '#/components/schemas/String' - description: 'A database name. The connected database is specified when you connect with your authentication credentials. ' Database: allOf: - $ref: '#/components/schemas/String' - description: The name of the database that contains the tables to list. If ConnectedDatabase is not specified, this is also the database to connect to with your authentication credentials. DbUser: allOf: - $ref: '#/components/schemas/String' - description: 'The database user name. This parameter is required when connecting to a cluster as a database user and authenticating using temporary credentials. ' MaxResults: allOf: - $ref: '#/components/schemas/PageSize' - description: 'The maximum number of tables to return in the response. If more tables exist than fit in one response, then NextToken is returned to page through the results. ' NextToken: allOf: - $ref: '#/components/schemas/String' - description: 'A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request. ' SchemaPattern: allOf: - $ref: '#/components/schemas/String' - description: 'A pattern to filter results by schema name. Within a schema pattern, "%" means match any substring of 0 or more characters and "_" means match any one character. Only schema name entries matching the search pattern are returned. If SchemaPattern is not specified, then all tables that match TablePattern are returned. If neither SchemaPattern or TablePattern are specified, then all tables are returned. ' SecretArn: allOf: - $ref: '#/components/schemas/SecretArn' - description: 'The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using Secrets Manager. ' TablePattern: allOf: - $ref: '#/components/schemas/String' - description: 'A pattern to filter results by table name. Within a table pattern, "%" means match any substring of 0 or more characters and "_" means match any one character. Only table name entries matching the search pattern are returned. If TablePattern is not specified, then all tables that match SchemaPatternare returned. If neither SchemaPattern or TablePattern are specified, then all tables are returned. ' WorkgroupName: allOf: - $ref: '#/components/schemas/WorkgroupNameString' - 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. SchemaList: type: array items: $ref: '#/components/schemas/String' BatchExecuteStatementException: {} SqlParameter: type: object required: - name - value properties: name: allOf: - $ref: '#/components/schemas/ParameterName' - description: The name of the parameter. value: allOf: - $ref: '#/components/schemas/ParameterValue' - 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. ' description: A parameter used in a SQL statement. PageSize: type: integer minimum: 0 maximum: 1000 ExecuteStatementException: {} DescribeTableRequest: type: object required: - Database title: DescribeTableRequest properties: ClusterIdentifier: allOf: - $ref: '#/components/schemas/Location' - description: 'The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials. ' ConnectedDatabase: allOf: - $ref: '#/components/schemas/String' - description: 'A database name. The connected database is specified when you connect with your authentication credentials. ' Database: allOf: - $ref: '#/components/schemas/String' - description: The name of the database that contains the tables to be described. If ConnectedDatabase is not specified, this is also the database to connect to with your authentication credentials. DbUser: allOf: - $ref: '#/components/schemas/String' - description: 'The database user name. This parameter is required when connecting to a cluster as a database user and authenticating using temporary credentials. ' MaxResults: allOf: - $ref: '#/components/schemas/PageSize' - description: 'The maximum number of tables to return in the response. If more tables exist than fit in one response, then NextToken is returned to page through the results. ' NextToken: allOf: - $ref: '#/components/schemas/String' - description: 'A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request. ' Schema: allOf: - $ref: '#/components/schemas/String' - description: 'The schema that contains the table. If no schema is specified, then matching tables for all schemas are returned. ' SecretArn: allOf: - $ref: '#/components/schemas/SecretArn' - description: 'The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using Secrets Manager. ' Table: allOf: - $ref: '#/components/schemas/String' - description: The table name. If no table is specified, then all tables for all matching schemas are returned. If no table and no schema is specified, then all tables for all schemas in the database are returned WorkgroupName: allOf: - $ref: '#/components/schemas/WorkgroupNameString' - 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. TableList: type: array items: $ref: '#/components/schemas/TableMember' StatementData: type: object required: - Id properties: CreatedAt: allOf: - $ref: '#/components/schemas/Timestamp' - description: 'The date and time (UTC) the statement was created. ' Id: allOf: - $ref: '#/components/schemas/StatementId' - description: 'The SQL statement identifier. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API. ' IsBatchStatement: allOf: - $ref: '#/components/schemas/Boolean' - description: A value that indicates whether the statement is a batch query request. QueryParameters: allOf: - $ref: '#/components/schemas/SqlParametersList' - description: The parameters used in a SQL statement. QueryString: allOf: - $ref: '#/components/schemas/StatementString' - description: The SQL statement. QueryStrings: allOf: - $ref: '#/components/schemas/StatementStringList' - description: One or more SQL statements. Each query string in the array corresponds to one of the queries in a batch query request. SecretArn: allOf: - $ref: '#/components/schemas/SecretArn' - description: 'The name or Amazon Resource Name (ARN) of the secret that enables access to the database. ' StatementName: allOf: - $ref: '#/components/schemas/StatementNameString' - description: 'The name of the SQL statement. ' Status: allOf: - $ref: '#/components/schemas/StatusString' - description: 'The status of the SQL statement. An example is the that the SQL statement finished. ' UpdatedAt: allOf: - $ref: '#/components/schemas/Timestamp' - description: The date and time (UTC) that the statement metadata was last updated. description: The SQL statement to run. DescribeTableResponse: type: object properties: ColumnList: allOf: - $ref: '#/components/schemas/ColumnList' - description: 'A list of columns in the table. ' NextToken: allOf: - $ref: '#/components/schemas/String' - description: 'A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request. ' TableName: allOf: - $ref: '#/components/schemas/String' - description: 'The table name. ' ColumnList: type: array items: $ref: '#/components/schemas/ColumnMetadata' SqlList: type: array items: $ref: '#/components/schemas/StatementString' minItems: 1 maxItems: 40 ActiveStatementsExceededException: {} StatusString: type: string enum: - SUBMITTED - PICKED - STARTED - FINISHED - ABORTED - FAILED - ALL ColumnMetadata: type: object properties: columnDefault: allOf: - $ref: '#/components/schemas/String' - description: 'The default value of the column. ' isCaseSensitive: allOf: - $ref: '#/components/schemas/bool' - description: 'A value that indicates whether the column is case-sensitive. ' isCurrency: allOf: - $ref: '#/components/schemas/bool' - description: A value that indicates whether the column contains currency values. isSigned: allOf: - $ref: '#/components/schemas/bool' - description: A value that indicates whether an integer column is signed. label: allOf: - $ref: '#/components/schemas/String' - description: 'The label for the column. ' length: allOf: - $ref: '#/components/schemas/Integer' - description: The length of the column. name: allOf: - $ref: '#/components/schemas/String' - description: 'The name of the column. ' nullable: allOf: - $ref: '#/components/schemas/Integer' - description: 'A value that indicates whether the column is nullable. ' precision: allOf: - $ref: '#/components/schemas/Integer' - description: 'The precision value of a decimal number column. ' scale: allOf: - $ref: '#/components/schemas/Integer' - description: 'The scale value of a decimal number column. ' schemaName: allOf: - $ref: '#/components/schemas/String' - description: The name of the schema that contains the table that includes the column. tableName: allOf: - $ref: '#/components/schemas/String' - description: 'The name of the table that includes the column. ' typeName: allOf: - $ref: '#/components/schemas/String' - description: 'The database-specific data type of the column. ' description: 'The properties (metadata) of a column. ' StatementId: type: string pattern: ^[a-z0-9]{8}(-[a-z0-9]{4}){3}-[a-z0-9]{12}(:\d+)?$ Long: type: integer FieldList: type: array items: $ref: '#/components/schemas/Field' ResourceNotFoundException: {} DatabaseConnectionException: {} DatabaseList: type: array items: $ref: '#/components/schemas/String' StatementList: type: array items: $ref: '#/components/schemas/StatementData' ListDatabasesRequest: type: object required: - Database title: ListDatabasesRequest properties: ClusterIdentifier: allOf: - $ref: '#/components/schemas/Location' - description: 'The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials. ' Database: allOf: - $ref: '#/components/schemas/String' - description: 'The name of the database. This parameter is required when authenticating using either Secrets Manager or temporary credentials. ' DbUser: allOf: - $ref: '#/components/schemas/String' - description: 'The database user name. This parameter is required when connecting to a cluster as a database user and authenticating using temporary credentials. ' MaxResults: allOf: - $ref: '#/components/schemas/PageSize' - description: 'The maximum number of databases to return in the response. If more databases exist than fit in one response, then NextToken is returned to page through the results. ' NextToken: allOf: - $ref: '#/components/schemas/String' - description: 'A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request. ' SecretArn: allOf: - $ref: '#/components/schemas/SecretArn' - description: 'The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using Secrets Manager. ' WorkgroupName: allOf: - $ref: '#/components/schemas/WorkgroupNameString' - 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. GetStatementResultResponse: type: object required: - Records properties: ColumnMetadata: allOf: - $ref: '#/components/schemas/ColumnMetadataList' - description: 'The properties (metadata) of a column. ' NextToken: allOf: - $ref: '#/components/schemas/String' - description: 'A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request. ' Records: allOf: - $ref: '#/components/schemas/SqlRecords' - description: The results of the SQL statement. TotalNumRows: allOf: - $ref: '#/components/schemas/Long' - description: 'The total number of rows in the result set returned from a query. You can use this number to estimate the number of calls to the GetStatementResult operation needed to page through the results. ' WorkgroupNameString: type: string pattern: ^(([a-z0-9-]+)|(arn:(aws(-[a-z]+)*):redshift-serverless:[a-z]{2}(-gov)?-[a-z]+-\d{1}:\d{12}:workgroup/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}))$ minLength: 3 maxLength: 128 SubStatementData: type: object required: - Id properties: CreatedAt: allOf: - $ref: '#/components/schemas/Timestamp' - description: 'The date and time (UTC) the statement was created. ' Duration: allOf: - $ref: '#/components/schemas/Long' - description: The amount of time in nanoseconds that the statement ran. Error: allOf: - $ref: '#/components/schemas/String' - description: The error message from the cluster if the SQL statement encountered an error while running. HasResultSet: allOf: - $ref: '#/components/schemas/Boolean' - description: A value that indicates whether the statement has a result set. The result set can be empty. The value is true for an empty result set. Id: allOf: - $ref: '#/components/schemas/StatementId' - description: The identifier of the SQL statement. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API. A suffix indicates the number of the SQL statement. For example, d9b6c0c9-0747-4bf4-b142-e8883122f766:2 has a suffix of :2 that indicates the second SQL statement of a batch query. QueryString: allOf: - $ref: '#/components/schemas/StatementString' - description: The SQL statement text. RedshiftQueryId: allOf: - $ref: '#/components/schemas/Long' - description: 'The SQL statement identifier. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API. ' ResultRows: allOf: - $ref: '#/components/schemas/Long' - description: Either the number of rows returned from the SQL statement or the number of rows affected. If result size is greater than zero, the result rows can be the number of rows affected by SQL statements such as INSERT, UPDATE, DELETE, COPY, and others. A -1 indicates the value is null. ResultSize: allOf: - $ref: '#/components/schemas/Long' - description: The size in bytes of the returned results. A -1 indicates the value is null. Status: allOf: - $ref: '#/components/schemas/StatementStatusString' - description: 'The status of the SQL statement. An example is the that the SQL statement finished. ' UpdatedAt: allOf: - $ref: '#/components/schemas/Timestamp' - description: The date and time (UTC) that the statement metadata was last updated. description: Information about an SQL statement. Timestamp: type: string format: date-time CancelStatementResponse: type: object properties: Status: allOf: - $ref: '#/components/schemas/Boolean' - description: 'A value that indicates whether the cancel statement succeeded (true). ' ListStatementsResponse: type: object required: - Statements properties: NextToken: allOf: - $ref: '#/components/schemas/String' - description: 'A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request. ' Statements: allOf: - $ref: '#/components/schemas/StatementList' - description: 'The SQL statements. ' ListStatementsLimit: type: integer minimum: 0 maximum: 100 GetStatementResultRequest: type: object required: - Id title: GetStatementResultRequest properties: Id: allOf: - $ref: '#/components/schemas/StatementId' - description: 'The identifier of the SQL statement whose results are to be fetched. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API. A suffix indicates then number of the SQL statement. For example, d9b6c0c9-0747-4bf4-b142-e8883122f766:2 has a suffix of :2 that indicates the second SQL statement of a batch query. This identifier is returned by BatchExecuteStatment, ExecuteStatment, and ListStatements. ' NextToken: allOf: - $ref: '#/components/schemas/String' - description: 'A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request. ' SqlRecords: type: array items: $ref: '#/components/schemas/FieldList' ColumnMetadataList: type: array items: $ref: '#/components/schemas/ColumnMetadata' ListSchemasResponse: type: object properties: NextToken: allOf: - $ref: '#/components/schemas/String' - description: 'A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request. ' Schemas: allOf: - $ref: '#/components/schemas/SchemaList' - description: 'The schemas that match the request pattern. ' DescribeStatementResponse: type: object required: - Id properties: ClusterIdentifier: allOf: - $ref: '#/components/schemas/String' - description: 'The cluster identifier. ' CreatedAt: allOf: - $ref: '#/components/schemas/Timestamp' - description: 'The date and time (UTC) when the SQL statement was submitted to run. ' Database: allOf: - $ref: '#/components/schemas/String' - description: 'The name of the database. ' DbUser: allOf: - $ref: '#/components/schemas/String' - description: 'The database user name. ' Duration: allOf: - $ref: '#/components/schemas/Long' - description: 'The amount of time in nanoseconds that the statement ran. ' Error: allOf: - $ref: '#/components/schemas/String' - description: 'The error message from the cluster if the SQL statement encountered an error while running. ' HasResultSet: allOf: - $ref: '#/components/schemas/Boolean' - description: A value that indicates whether the statement has a result set. The result set can be empty. The value is true for an empty result set. The value is true if any substatement returns a result set. Id: allOf: - $ref: '#/components/schemas/StatementId' - description: 'The identifier of the SQL statement described. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API. ' QueryParameters: allOf: - $ref: '#/components/schemas/SqlParametersList' - description: The parameters for the SQL statement. QueryString: allOf: - $ref: '#/components/schemas/StatementString' - description: 'The SQL statement text. ' RedshiftPid: allOf: - $ref: '#/components/schemas/Long' - description: 'The process identifier from Amazon Redshift. ' RedshiftQueryId: allOf: - $ref: '#/components/schemas/Long' - description: 'The identifier of the query generated by Amazon Redshift. These identifiers are also available in the query column of the STL_QUERY system view. ' ResultRows: allOf: - $ref: '#/components/schemas/Long' - description: Either the number of rows returned from the SQL statement or the number of rows affected. If result size is greater than zero, the result rows can be the number of rows affected by SQL statements such as INSERT, UPDATE, DELETE, COPY, and others. A -1 indicates the value is null. ResultSize: allOf: - $ref: '#/components/schemas/Long' - description: The size in bytes of the returned results. A -1 indicates the value is null. SecretArn: allOf: - $ref: '#/components/schemas/SecretArn' - description: 'The name or Amazon Resource Name (ARN) of the secret that enables access to the database. ' Status: allOf: - $ref: '#/components/schemas/StatusString' - description: '

The status of the SQL statement being described. Status values are defined as follows:

' SubStatements: allOf: - $ref: '#/components/schemas/SubStatementList' - description: The SQL statements from a multiple statement run. UpdatedAt: allOf: - $ref: '#/components/schemas/Timestamp' - description: 'The date and time (UTC) that the metadata for the SQL statement was last updated. An example is the time the status last changed. ' WorkgroupName: allOf: - $ref: '#/components/schemas/WorkgroupNameString' - description: The serverless workgroup name or Amazon Resource Name (ARN). BatchExecuteStatementInput: type: object required: - Database - Sqls title: BatchExecuteStatementInput properties: ClientToken: allOf: - $ref: '#/components/schemas/ClientToken' - description: A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. ClusterIdentifier: allOf: - $ref: '#/components/schemas/Location' - description: 'The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials. ' Database: allOf: - $ref: '#/components/schemas/String' - description: 'The name of the database. This parameter is required when authenticating using either Secrets Manager or temporary credentials. ' DbUser: allOf: - $ref: '#/components/schemas/String' - description: 'The database user name. This parameter is required when connecting to a cluster as a database user and authenticating using temporary credentials. ' SecretArn: allOf: - $ref: '#/components/schemas/SecretArn' - description: 'The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using Secrets Manager. ' Sqls: allOf: - $ref: '#/components/schemas/SqlList' - description: One or more SQL statements to run.
 The SQL statements are run as a single transaction. They run serially in the order of the array. Subsequent SQL statements don't start until the previous statement in the array completes. If any SQL statement fails, then because they are run as one transaction, all work is rolled back.</p> 
StatementName: allOf: - $ref: '#/components/schemas/StatementNameString' - description: 'The name of the SQL statements. You can name the SQL statements when you create them to identify the query. ' WithEvent: allOf: - $ref: '#/components/schemas/Boolean' - description: 'A value that indicates whether to send an event to the Amazon EventBridge event bus after the SQL statements run. ' WorkgroupName: allOf: - $ref: '#/components/schemas/WorkgroupNameString' - 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. SubStatementList: type: array items: $ref: '#/components/schemas/SubStatementData' ValidationException: {} ListSchemasRequest: type: object required: - Database title: ListSchemasRequest properties: ClusterIdentifier: allOf: - $ref: '#/components/schemas/Location' - description: 'The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials. ' ConnectedDatabase: allOf: - $ref: '#/components/schemas/String' - description: 'A database name. The connected database is specified when you connect with your authentication credentials. ' Database: allOf: - $ref: '#/components/schemas/String' - description: The name of the database that contains the schemas to list. If ConnectedDatabase is not specified, this is also the database to connect to with your authentication credentials. DbUser: allOf: - $ref: '#/components/schemas/String' - description: 'The database user name. This parameter is required when connecting to a cluster as a database user and authenticating using temporary credentials. ' MaxResults: allOf: - $ref: '#/components/schemas/PageSize' - description: 'The maximum number of schemas to return in the response. If more schemas exist than fit in one response, then NextToken is returned to page through the results. ' NextToken: allOf: - $ref: '#/components/schemas/String' - description: 'A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request. ' SchemaPattern: allOf: - $ref: '#/components/schemas/String' - description: 'A pattern to filter results by schema name. Within a schema pattern, "%" means match any substring of 0 or more characters and "_" means match any one character. Only schema name entries matching the search pattern are returned. ' SecretArn: allOf: - $ref: '#/components/schemas/SecretArn' - description: 'The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using Secrets Manager. ' WorkgroupName: allOf: - $ref: '#/components/schemas/WorkgroupNameString' - 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. SecretArn: type: string StatementStringList: type: array items: $ref: '#/components/schemas/StatementString' bool: type: boolean TableMember: type: object properties: name: allOf: - $ref: '#/components/schemas/String' - description: 'The name of the table. ' schema: allOf: - $ref: '#/components/schemas/String' - description: 'The schema containing the table. ' type: allOf: - $ref: '#/components/schemas/String' - description: 'The type of the table. Possible values include TABLE, VIEW, SYSTEM TABLE, GLOBAL TEMPORARY, LOCAL TEMPORARY, ALIAS, and SYNONYM. ' description: 'The properties of a table. ' StatementString: type: string Blob: type: string ListDatabasesResponse: type: object properties: Databases: allOf: - $ref: '#/components/schemas/DatabaseList' - description: 'The names of databases. ' NextToken: allOf: - $ref: '#/components/schemas/String' - description: 'A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request. ' BoxedLong: type: integer BoxedBoolean: type: boolean DescribeStatementRequest: type: object required: - Id title: DescribeStatementRequest properties: Id: allOf: - $ref: '#/components/schemas/StatementId' - description: 'The identifier of the SQL statement to describe. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API. A suffix indicates the number of the SQL statement. For example, d9b6c0c9-0747-4bf4-b142-e8883122f766:2 has a suffix of :2 that indicates the second SQL statement of a batch query. This identifier is returned by BatchExecuteStatment, ExecuteStatement, and ListStatements. ' ExecuteStatementInput: type: object required: - Database - Sql title: ExecuteStatementInput properties: ClientToken: allOf: - $ref: '#/components/schemas/ClientToken' - description: A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. ClusterIdentifier: allOf: - $ref: '#/components/schemas/Location' - description: 'The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials. ' Database: allOf: - $ref: '#/components/schemas/String' - description: 'The name of the database. This parameter is required when authenticating using either Secrets Manager or temporary credentials. ' DbUser: allOf: - $ref: '#/components/schemas/String' - description: 'The database user name. This parameter is required when connecting to a cluster as a database user and authenticating using temporary credentials. ' Parameters: allOf: - $ref: '#/components/schemas/SqlParametersList' - description: The parameters for the SQL statement. SecretArn: allOf: - $ref: '#/components/schemas/SecretArn' - description: 'The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using Secrets Manager. ' Sql: allOf: - $ref: '#/components/schemas/StatementString' - description: 'The SQL statement text to run. ' StatementName: allOf: - $ref: '#/components/schemas/StatementNameString' - description: 'The name of the SQL statement. You can name the SQL statement when you create it to identify the query. ' WithEvent: allOf: - $ref: '#/components/schemas/Boolean' - description: 'A value that indicates whether to send an event to the Amazon EventBridge event bus after the SQL statement runs. ' WorkgroupName: allOf: - $ref: '#/components/schemas/WorkgroupNameString' - 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. ExecuteStatementOutput: type: object properties: ClusterIdentifier: allOf: - $ref: '#/components/schemas/Location' - description: 'The cluster identifier. This element is not returned when connecting to a serverless workgroup. ' CreatedAt: allOf: - $ref: '#/components/schemas/Timestamp' - description: 'The date and time (UTC) the statement was created. ' Database: allOf: - $ref: '#/components/schemas/String' - description: The name of the database. DbUser: allOf: - $ref: '#/components/schemas/String' - description: The database user name. Id: allOf: - $ref: '#/components/schemas/StatementId' - description: 'The identifier of the SQL statement whose results are to be fetched. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API. ' SecretArn: allOf: - $ref: '#/components/schemas/SecretArn' - description: 'The name or ARN of the secret that enables access to the database. ' WorkgroupName: allOf: - $ref: '#/components/schemas/WorkgroupNameString' - description: The serverless workgroup name or Amazon Resource Name (ARN). This element is not returned when connecting to a provisioned cluster. BatchExecuteStatementOutput: type: object properties: ClusterIdentifier: allOf: - $ref: '#/components/schemas/Location' - description: 'The cluster identifier. This element is not returned when connecting to a serverless workgroup. ' CreatedAt: allOf: - $ref: '#/components/schemas/Timestamp' - description: 'The date and time (UTC) the statement was created. ' Database: allOf: - $ref: '#/components/schemas/String' - description: The name of the database. DbUser: allOf: - $ref: '#/components/schemas/String' - description: The database user name. Id: allOf: - $ref: '#/components/schemas/StatementId' - description: 'The identifier of the SQL statement whose results are to be fetched. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API. This identifier is returned by BatchExecuteStatment. ' SecretArn: allOf: - $ref: '#/components/schemas/SecretArn' - description: 'The name or ARN of the secret that enables access to the database. ' WorkgroupName: allOf: - $ref: '#/components/schemas/WorkgroupNameString' - description: The serverless workgroup name or Amazon Resource Name (ARN). This element is not returned when connecting to a provisioned cluster. CancelStatementRequest: type: object required: - Id title: CancelStatementRequest properties: Id: allOf: - $ref: '#/components/schemas/StatementId' - description: 'The identifier of the SQL statement to cancel. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API. This identifier is returned by BatchExecuteStatment, ExecuteStatment, and ListStatements. ' String: type: string Integer: type: integer Boolean: type: boolean Location: type: string SqlParametersList: type: array items: $ref: '#/components/schemas/SqlParameter' minItems: 1 parameters: X-Amz-Credential: name: X-Amz-Credential in: header schema: type: string required: false X-Amz-Date: name: X-Amz-Date in: header schema: type: string required: false X-Amz-Algorithm: name: X-Amz-Algorithm in: header schema: type: string required: false X-Amz-Security-Token: name: X-Amz-Security-Token in: header schema: type: string required: false X-Amz-Content-Sha256: name: X-Amz-Content-Sha256 in: header schema: type: string required: false X-Amz-Signature: name: X-Amz-Signature in: header schema: type: string required: false X-Amz-SignedHeaders: name: X-Amz-SignedHeaders in: header schema: type: string required: false securitySchemes: hmac: type: apiKey name: Authorization in: header description: Amazon Signature authorization v4 x-amazon-apigateway-authtype: awsSigv4 externalDocs: description: Amazon Web Services documentation url: https://docs.aws.amazon.com/redshift-data/ x-hasEquivalentPaths: true