Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CommitTransactionCommand

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

example

Use a bare-bones client and the command you need to make an API call.

import { RDSDataClient, CommitTransactionCommand } from "@aws-sdk/client-rds-data"; // ES Modules import
// const { RDSDataClient, CommitTransactionCommand } = require("@aws-sdk/client-rds-data"); // CommonJS import
const client = new RDSDataClient(config);
const command = new CommitTransactionCommand(input);
const response = await client.send(command);
see

CommitTransactionCommandInput for command's input shape.

see

CommitTransactionCommandOutput for command's response shape.

see

config for RDSDataClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: CommitTransactionCommandInput

Readonly middlewareStack