Class: Aws::QLDBSession::Types::CommitTransactionRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-qldbsession/types.rb

Overview

Contains the details of the transaction to commit.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#commit_digestString

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.

Returns:

  • (String)


87
88
89
90
91
92
# File 'lib/aws-sdk-qldbsession/types.rb', line 87

class CommitTransactionRequest < Struct.new(
  :transaction_id,
  :commit_digest)
  SENSITIVE = []
  include Aws::Structure
end

#transaction_idString

Specifies the transaction ID of the transaction to commit.

Returns:

  • (String)


87
88
89
90
91
92
# File 'lib/aws-sdk-qldbsession/types.rb', line 87

class CommitTransactionRequest < Struct.new(
  :transaction_id,
  :commit_digest)
  SENSITIVE = []
  include Aws::Structure
end