Module Smaws_Client_RedshiftData.BatchExecuteStatement

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.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `ActiveSessionsExceededException of Types.active_sessions_exceeded_exception | `ActiveStatementsExceededException of Types.active_statements_exceeded_exception | `BatchExecuteStatementException of Types.batch_execute_statement_exception | `InternalServerException of Types.internal_server_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ValidationException of Types.validation_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.batch_execute_statement_input -> (Types.batch_execute_statement_output, [> Smaws_Lib.Protocols.AwsJson.error | `ActiveSessionsExceededException of Types.active_sessions_exceeded_exception | `ActiveStatementsExceededException of Types.active_statements_exceeded_exception | `BatchExecuteStatementException of Types.batch_execute_statement_exception | `InternalServerException of Types.internal_server_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ValidationException of Types.validation_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.batch_execute_statement_input -> (Types.batch_execute_statement_output Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `ActiveSessionsExceededException of Types.active_sessions_exceeded_exception | `ActiveStatementsExceededException of Types.active_statements_exceeded_exception | `BatchExecuteStatementException of Types.batch_execute_statement_exception | `InternalServerException of Types.internal_server_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ValidationException of Types.validation_exception ] * Smaws_Lib.Response.metadata) Stdlib.result