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

CommitTransactionRequest

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

Contains the details of the transaction to commit.

interface CommitTransactionRequest {
CommitDigest: Uint8Array | string;
TransactionId: string;
}

§Properties

§
CommitDigest: Uint8Array | string
[src]

Specifies the commit digest for the transaction to commit. For every active transaction, the commit digest must be passed. QLDB validates CommitDigest and rejects the commit with an error if the digest computed on the client does not match the digest computed by QLDB.

The purpose of the CommitDigest parameter is to ensure that QLDB commits a transaction if and only if the server has processed the exact set of statements sent by the client, in the same order that client sent them, and with no duplicates.

§
TransactionId: string
[src]

Specifies the transaction ID of the transaction to commit.