Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

BatchExecuteStatementRequest

import type { BatchExecuteStatementRequest } from "https://aws-api.deno.dev/v0.3/services/rdsdataservice.ts?docs=full";

The request parameters represent the input of a SQL statement over an array of data.

interface BatchExecuteStatementRequest {
database?: string | null;
parameterSets?: SqlParameter[][] | null;
resourceArn: string;
schema?: string | null;
secretArn: string;
sql: string;
transactionId?: string | null;
}

§Properties

§
database?: string | null
[src]

The name of the database.

§
parameterSets?: SqlParameter[][] | null
[src]

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.

Note: Array parameters are not supported.

§
resourceArn: string
[src]

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

§
schema?: string | null
[src]

The name of the database schema.

§
secretArn: string
[src]

The name or ARN of the secret that enables access to the DB cluster.

§
sql: string
[src]

The SQL statement to run.

§
transactionId?: string | null
[src]

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.