Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface BatchExecuteStatementCommandInput

Hierarchy

Index

Properties

Optional database

database: undefined | string

The name of the database.

Optional parameterSets

parameterSets: SqlParameter[][]

The parameter set for the batch operation.

The SQL statement is executed as many times as the number of parameter sets provided. To execute a SQL statement with no parameters, use one of the following options:

  • Specify one or more empty parameter sets.

  • Use the ExecuteStatement operation instead of the BatchExecuteStatement operation.

Array parameters are not supported.

resourceArn

resourceArn: string | undefined

The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.

Optional schema

schema: undefined | string

The name of the database schema.

secretArn

secretArn: string | undefined

The ARN of the secret that enables access to the DB cluster. Enter the database user name and password for the credentials in the secret.

For information about creating the secret, see Create a database secret.

sql

sql: string | undefined

The SQL statement to run. Don't include a semicolon (;) at the end of the SQL statement.

Optional transactionId

transactionId: undefined | string

The identifier of a transaction that was started by using the BeginTransaction operation. Specify the transaction ID of the transaction that you want to include the SQL statement in.

If the SQL statement is not part of a transaction, don't set this parameter.