Class: Aws::QLDBSession::Types::CommitTransactionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::QLDBSession::Types::CommitTransactionRequest
- Defined in:
- gems/aws-sdk-qldbsession/lib/aws-sdk-qldbsession/types.rb
Overview
Contains the details of the transaction to commit.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#commit_digest ⇒ String
Specifies the commit digest for the transaction to commit.
-
#transaction_id ⇒ String
Specifies the transaction ID of the transaction to commit.
Instance Attribute Details
#commit_digest ⇒ String
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.
87 88 89 90 91 92 |
# File 'gems/aws-sdk-qldbsession/lib/aws-sdk-qldbsession/types.rb', line 87 class CommitTransactionRequest < Struct.new( :transaction_id, :commit_digest) SENSITIVE = [] include Aws::Structure end |
#transaction_id ⇒ String
Specifies the transaction ID of the transaction to commit.
87 88 89 90 91 92 |
# File 'gems/aws-sdk-qldbsession/lib/aws-sdk-qldbsession/types.rb', line 87 class CommitTransactionRequest < Struct.new( :transaction_id, :commit_digest) SENSITIVE = [] include Aws::Structure end |