- Navigation GuideYou are on a Client landing page. Commands (operations) are listed on this page. The Client constructor type is linked at the bottom.
QLDBClient
The resource management API for Amazon QLDB
Installation
npm install @aws-sdk/client-qldb
yarn add @aws-sdk/client-qldb
pnpm add @aws-sdk/client-qldb
QLDBClient Operations
Command | Summary |
---|
Command | Summary |
---|---|
CancelJournalKinesisStreamCommand | Ends a given Amazon QLDB journal stream. Before a stream can be canceled, its current status must be You can't restart a stream after you cancel it. Canceled QLDB stream resources are subject to a 7-day retention period, so they are automatically deleted after this limit expires. |
CreateLedgerCommand | Creates a new ledger in your Amazon Web Services account in the current Region. |
DeleteLedgerCommand | Deletes a ledger and all of its contents. This action is irreversible. If deletion protection is enabled, you must first disable it before you can delete the ledger. You can disable it by calling the |
DescribeJournalKinesisStreamCommand | 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. This action does not return any expired journal streams. For more information, see Expiration for terminal streams in the Amazon QLDB Developer Guide. |
DescribeJournalS3ExportCommand | 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. This action does not return any expired export jobs. For more information, see Export job expiration in the Amazon QLDB Developer Guide. If the export job with the given If the ledger with the given |
DescribeLedgerCommand | Returns information about a ledger, including its state, permissions mode, encryption at rest settings, and when it was created. |
ExportJournalToS3Command | 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. If the ledger with the given If the ledger with the given You can initiate up to two concurrent journal export requests for each ledger. Beyond this limit, journal export requests throw |
GetBlockCommand | Returns a block object at a specified address in a journal. Also returns a proof of the specified block for verification if For information about the data contents in a block, see Journal contents in the Amazon QLDB Developer Guide. If the specified ledger doesn't exist or is in If the specified ledger is in If no block exists with the specified address, then throws |
GetDigestCommand | 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. |
GetRevisionCommand | Returns a revision data object for a specified document ID and block address. Also returns a proof of the specified revision for verification if |
ListJournalKinesisStreamsForLedgerCommand | Returns all Amazon QLDB journal streams for a given ledger. This action does not return any expired journal streams. For more information, see Expiration for terminal streams in the Amazon QLDB Developer Guide. This action returns a maximum of |
ListJournalS3ExportsCommand | Returns all journal export jobs for all ledgers that are associated with the current Amazon Web Services account and Region. This action returns a maximum of This action does not return any expired export jobs. For more information, see Export job expiration in the Amazon QLDB Developer Guide. |
ListJournalS3ExportsForLedgerCommand | Returns all journal export jobs for a specified ledger. This action returns a maximum of This action does not return any expired export jobs. For more information, see Export job expiration in the Amazon QLDB Developer Guide. |
ListLedgersCommand | Returns all ledgers that are associated with the current Amazon Web Services account and Region. This action returns a maximum of |
ListTagsForResourceCommand | Returns all tags for a specified Amazon QLDB resource. |
StreamJournalToKinesisCommand | 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. |
TagResourceCommand | Adds one or more tags to a specified Amazon QLDB resource. A resource can have up to 50 tags. If you try to create more than 50 tags for a resource, your request fails and returns an error. |
UntagResourceCommand | Removes one or more tags from a specified Amazon QLDB resource. You can specify up to 50 tag keys to remove. |
UpdateLedgerCommand | Updates properties on a ledger. |
UpdateLedgerPermissionsModeCommand | Updates the permissions mode of a ledger. Before you switch to the |
QLDBClient Configuration
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
defaultsMode Optional | DefaultsMode | Provider<DefaultsMode> | The @smithy/smithy-client#DefaultsMode that will be used to determine how certain default configuration options are resolved in the SDK. |
disableHostPrefix Optional | boolean | Disable dynamically changing the endpoint of the client based on the hostPrefix trait of an operation. |
extensions Optional | RuntimeExtension[] | Optional extensions |
logger Optional | Logger | Optional logger for logging debug/info/warn/error. |
maxAttempts Optional | number | Provider<number> | Value for how many times a request will be made at most in case of retry. |
profile Optional | string | Setting a client profile is similar to setting a value for the AWS_PROFILE environment variable. Setting a profile on a client in code only affects the single client instance, unlike AWS_PROFILE.When set, and only for environments where an AWS configuration file exists, fields configurable by this file will be retrieved from the specified profile within that file. Conflicting code configuration and environment variables will still have higher priority.For client credential resolution that involves checking the AWS configuration file, the client's profile (this value) will be used unless a different profile is set in the credential provider options. |
region Optional | string | Provider<string> | The AWS region to which this client will send requests |
requestHandler Optional | __HttpHandlerUserInput | The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs. |
retryMode Optional | string | Provider<string> | Specifies which retry algorithm to use. |
useDualstackEndpoint Optional | boolean | Provider<boolean> | Enables IPv6/IPv4 dualstack endpoint. |
useFipsEndpoint Optional | boolean | Provider<boolean> | Enables FIPS compatible endpoints. |
Additional config fields are described in the full configuration type: QLDBClientConfig