BatchExecuteStatementRequest
¶
Source code in docs_src/capo_rds_data/types/batch_execute_statement_request.py
parameter_sets
instance-attribute
¶
parameter_sets: NotRequired[SqlParameterSets]
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
ExecuteStatementoperation instead of theBatchExecuteStatementoperation.
Array parameters are not supported.
resource_arn
instance-attribute
¶
resource_arn: Arn
The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
schema
instance-attribute
¶
schema: NotRequired[DbName]
The name of the database schema.
Currently, the schema parameter isn't supported.
secret_arn
instance-attribute
¶
secret_arn: Arn
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
instance-attribute
¶
sql: SqlStatement
The SQL statement to run. Don't include a semicolon (;) at the end of the SQL statement.
transaction_id
instance-attribute
¶
transaction_id: NotRequired[Id]
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.