Package-level declarations

Types

Link copied to clipboard
interface QldbClient : SdkClient

The resource management API for Amazon QLDB

Properties

Link copied to clipboard
const val SdkVersion: String
Link copied to clipboard
Link copied to clipboard
const val ServiceId: String

Functions

Link copied to clipboard

Ends a given Amazon QLDB journal stream. Before a stream can be canceled, its current status must be ACTIVE.

Link copied to clipboard
inline suspend fun QldbClient.createLedger(crossinline block: CreateLedgerRequest.Builder.() -> Unit): CreateLedgerResponse

Creates a new ledger in your Amazon Web Services account in the current Region.

Link copied to clipboard
inline suspend fun QldbClient.deleteLedger(crossinline block: DeleteLedgerRequest.Builder.() -> Unit): DeleteLedgerResponse

Deletes a ledger and all of its contents. This action is irreversible.

Link copied to clipboard

Returns detailed information about a given Amazon QLDB journal stream. The output includes the Amazon Resource Name (ARN), stream name, current status, creation time, and the parameters of the original stream creation request.

Link copied to clipboard

Returns information about a journal export job, including the ledger name, export ID, creation time, current status, and the parameters of the original export creation request.

Link copied to clipboard

Returns information about a ledger, including its state, permissions mode, encryption at rest settings, and when it was created.

Link copied to clipboard

Exports journal contents within a date and time range from a ledger into a specified Amazon Simple Storage Service (Amazon S3) bucket. A journal export job can write the data objects in either the text or binary representation of Amazon Ion format, or in JSON Lines text format.

Link copied to clipboard
inline suspend fun QldbClient.getBlock(crossinline block: GetBlockRequest.Builder.() -> Unit): GetBlockResponse

Returns a block object at a specified address in a journal. Also returns a proof of the specified block for verification if DigestTipAddress is provided.

Link copied to clipboard
inline suspend fun QldbClient.getDigest(crossinline block: GetDigestRequest.Builder.() -> Unit): GetDigestResponse

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.

Link copied to clipboard
inline suspend fun QldbClient.getRevision(crossinline block: GetRevisionRequest.Builder.() -> Unit): GetRevisionResponse

Returns a revision data object for a specified document ID and block address. Also returns a proof of the specified revision for verification if DigestTipAddress is provided.

Link copied to clipboard

Returns all Amazon QLDB journal streams for a given ledger.

Link copied to clipboard

Returns all journal export jobs for all ledgers that are associated with the current Amazon Web Services account and Region.

Link copied to clipboard

Returns all journal export jobs for a specified ledger.

Link copied to clipboard
inline suspend fun QldbClient.listLedgers(crossinline block: ListLedgersRequest.Builder.() -> Unit): ListLedgersResponse

Returns all ledgers that are associated with the current Amazon Web Services account and Region.

Link copied to clipboard

Returns all tags for a specified Amazon QLDB resource.

Link copied to clipboard

Creates a journal stream for a given Amazon QLDB ledger. The stream captures every document revision that is committed to the ledger's journal and delivers the data to a specified Amazon Kinesis Data Streams resource.

Link copied to clipboard
inline suspend fun QldbClient.tagResource(crossinline block: TagResourceRequest.Builder.() -> Unit): TagResourceResponse

Adds one or more tags to a specified Amazon QLDB resource.

Link copied to clipboard

Removes one or more tags from a specified Amazon QLDB resource. You can specify up to 50 tag keys to remove.

Link copied to clipboard
inline suspend fun QldbClient.updateLedger(crossinline block: UpdateLedgerRequest.Builder.() -> Unit): UpdateLedgerResponse

Updates properties on a ledger.

Link copied to clipboard

Updates the permissions mode of a ledger.

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.