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

RDSDataService

import { RDSDataService } from "https://aws-api.deno.dev/v0.3/services/rdsdataservice.ts?docs=full";
class RDSDataService {
constructor(apiFactory: client.ApiFactory);
async batchExecuteStatement(params: BatchExecuteStatementRequest, opts?: client.RequestOptions): Promise<BatchExecuteStatementResponse>;
async beginTransaction(params: BeginTransactionRequest, opts?: client.RequestOptions): Promise<BeginTransactionResponse>;
async commitTransaction(params: CommitTransactionRequest, opts?: client.RequestOptions): Promise<CommitTransactionResponse>;
async executeSql(params: ExecuteSqlRequest, opts?: client.RequestOptions): Promise<ExecuteSqlResponse>;
async executeStatement(params: ExecuteStatementRequest, opts?: client.RequestOptions): Promise<ExecuteStatementResponse>;
async rollbackTransaction(params: RollbackTransactionRequest, opts?: client.RequestOptions): Promise<RollbackTransactionResponse>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new RDSDataService(apiFactory: client.ApiFactory)
[src]

§Methods

§

Runs a batch SQL statement over an array of data.

You can run bulk update and insert operations for multiple records using a DML statement with different parameter sets. Bulk operations can provide a significant performance improvement over individual insert and update operations.

! IMPORTANT: ! If a call isn't part of a transaction because it doesn't include the transactionID parameter, changes that result from the call are committed automatically.

§

TODO: Failed to render documentation: unhandled top level doc tag pre

§

Ends a SQL transaction started with the BeginTransaction operation and commits the changes.

§

Runs one or more SQL statements.

! IMPORTANT: ! This operation is deprecated. ! Use the BatchExecuteStatement or ExecuteStatement operation.

§

Runs a SQL statement against a database.

! IMPORTANT: ! If a call isn't part of a transaction because it doesn't include the transactionID parameter, changes that result from the call are committed automatically.

The response size limit is 1 MB. If the call returns more than 1 MB of response data, the call is terminated.

§

Performs a rollback of a transaction. Rolling back a transaction cancels its changes.

§Static Properties