Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
data CommitTransactionRequest Source #
Contains the details of the transaction to commit.
See: newCommitTransactionRequest
smart constructor.
CommitTransactionRequest' | |
|
Instances
newCommitTransactionRequest Source #
Create a value of CommitTransactionRequest
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:transactionId:CommitTransactionRequest'
, commitTransactionRequest_transactionId
- Specifies the transaction ID of the transaction to commit.
$sel:commitDigest:CommitTransactionRequest'
, commitTransactionRequest_commitDigest
- 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.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.
commitTransactionRequest_transactionId :: Lens' CommitTransactionRequest Text Source #
Specifies the transaction ID of the transaction to commit.
commitTransactionRequest_commitDigest :: Lens' CommitTransactionRequest ByteString Source #
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.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.