rdsdataservice_batch_execute_statement: Runs a batch SQL statement over an array of data

View source: R/rdsdataservice_operations.R

rdsdataservice_batch_execute_statementR Documentation

Runs a batch SQL statement over an array of data

Description

Runs a batch SQL statement over an array of data.

See https://www.paws-r-sdk.com/docs/rdsdataservice_batch_execute_statement/ for full documentation.

Usage

rdsdataservice_batch_execute_statement(
  resourceArn,
  secretArn,
  sql,
  database = NULL,
  schema = NULL,
  parameterSets = NULL,
  transactionId = NULL
)

Arguments

resourceArn

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

secretArn

[required] 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

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

database

The name of the database.

schema

The name of the database schema.

Currently, the schema parameter isn't supported.

parameterSets

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 execute_statement operation instead of the batch_execute_statement operation.

Array parameters are not supported.

transactionId

The identifier of a transaction that was started by using the begin_transaction 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.


paws.database documentation built on Sept. 12, 2024, 6:37 a.m.