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

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

Overview

Note:

When making an API call, you may pass CommitTransactionRequest data as a hash:

{
  transaction_id: "TransactionId", # required
  commit_digest: "data", # required
}

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)


95
96
97
98
99
100
# File 'gems/aws-sdk-qldbsession/lib/aws-sdk-qldbsession/types.rb', line 95

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)


95
96
97
98
99
100
# File 'gems/aws-sdk-qldbsession/lib/aws-sdk-qldbsession/types.rb', line 95

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