pub struct BatchExecuteStatementRequest {
pub database: Option<String>,
pub parameter_sets: Option<Vec<Vec<SqlParameter>>>,
pub resource_arn: String,
pub schema: Option<String>,
pub secret_arn: String,
pub sql: String,
pub transaction_id: Option<String>,
}Expand description
The request parameters represent the input of a SQL statement over an array of data.
Fields§
§database: Option<String>The name of the database.
parameter_sets: Option<Vec<Vec<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
ExecuteStatementoperation instead of theBatchExecuteStatementoperation.
Array parameters are not supported.
resource_arn: StringThe Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
schema: Option<String>The name of the database schema.
secret_arn: StringThe name or ARN of the secret that enables access to the DB cluster.
sql: StringThe SQL statement to run.
transaction_id: Option<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.
Trait Implementations§
Source§impl Clone for BatchExecuteStatementRequest
impl Clone for BatchExecuteStatementRequest
Source§fn clone(&self) -> BatchExecuteStatementRequest
fn clone(&self) -> BatchExecuteStatementRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for BatchExecuteStatementRequest
impl Debug for BatchExecuteStatementRequest
Source§impl Default for BatchExecuteStatementRequest
impl Default for BatchExecuteStatementRequest
Source§fn default() -> BatchExecuteStatementRequest
fn default() -> BatchExecuteStatementRequest
Source§impl PartialEq for BatchExecuteStatementRequest
impl PartialEq for BatchExecuteStatementRequest
Source§fn eq(&self, other: &BatchExecuteStatementRequest) -> bool
fn eq(&self, other: &BatchExecuteStatementRequest) -> bool
self and other values to be equal, and is used by ==.