QLDB.Client.get_digest(**kwargs)¶Returns the digest of a ledger at the latest committed block in the journal. The response includes a 256-bit hash value and a block address.
See also: AWS API Documentation
Request Syntax
response = client.get_digest(
Name='string'
)
[REQUIRED]
The name of the ledger.
{
'Digest': b'bytes',
'DigestTipAddress': {
'IonText': 'string'
}
}
Response Structure
The 256-bit hash value representing the digest returned by a GetDigest request.
The latest block location covered by the digest that you requested. An address is an Amazon Ion structure that has two fields: strandId and sequenceNo .
An Amazon Ion plaintext value contained in a ValueHolder structure.
Exceptions
QLDB.Client.exceptions.InvalidParameterExceptionQLDB.Client.exceptions.ResourceNotFoundExceptionQLDB.Client.exceptions.ResourcePreconditionNotMetException