View Source aws_qldb (aws v0.3.1)
Link to this section Summary
Functions
Ends a given Amazon QLDB journal stream.
Deletes a ledger and all of its contents.
Returns detailed information about a given Amazon QLDB journal stream.
Returns information about a journal export job, including the ledger name, export ID, when it was created, current status, and its start and end time export parameters.
Exports journal contents within a date and time range from a ledger into a specified Amazon Simple Storage Service (Amazon S3) bucket.
Returns a block object at a specified address in a journal.
Returns the digest of a ledger at the latest committed block in the journal.
Returns a revision data object for a specified document ID and block address.
Returns an array of all Amazon QLDB journal stream descriptors for a given ledger.
Returns an array of journal export job descriptions for all ledgers that are associated with the current AWS account and Region.
Returns an array of journal export job descriptions for a specified ledger.
Returns an array of ledger summaries that are associated with the current AWS account and Region.
Creates a journal stream for a given Amazon QLDB ledger.
Adds one or more tags to a specified Amazon QLDB resource.
Removes one or more tags from a specified Amazon QLDB resource.
Link to this section Functions
cancel_journal_kinesis_stream(Client, LedgerName, StreamId, Input)
View SourceEnds a given Amazon QLDB journal stream.
Before a stream can be canceled, its current status must be ACTIVE
.
cancel_journal_kinesis_stream(Client, LedgerName, StreamId, Input0, Options0)
View SourceDeletes 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 using the QLDB API or the AWS Command Line Interface (AWS CLI). You can disable it by calling theUpdateLedger
operation to set the flag to false
. The QLDB console disables deletion protection for you when you use it to delete a ledger.
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 your original stream creation request.describe_journal_kinesis_stream(Client, LedgerName, StreamId, QueryMap, HeadersMap)
View Sourcedescribe_journal_kinesis_stream(Client, LedgerName, StreamId, QueryMap, HeadersMap, Options0)
View SourceReturns information about a journal export job, including the ledger name, export ID, when it was created, current status, and its start and end time export parameters.
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 ExportId
doesn't exist, then throws ResourceNotFoundException
.
Name
doesn't exist, then throws ResourceNotFoundException
.
describe_journal_s3_export(Client, ExportId, Name, QueryMap, HeadersMap)
View Sourcedescribe_journal_s3_export(Client, ExportId, Name, QueryMap, HeadersMap, Options0)
View SourceExports journal contents within a date and time range from a ledger into a specified Amazon Simple Storage Service (Amazon S3) bucket.
The data is written as files in Amazon Ion format.
If the ledger with the given Name
doesn't exist, then throws ResourceNotFoundException
.
If the ledger with the given Name
is in CREATING
status, then throws ResourcePreconditionNotMetException
.
LimitExceededException
.
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.
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 DELETING
status, then throws ResourceNotFoundException
.
If the specified ledger is in CREATING
status, then throws ResourcePreconditionNotMetException
.
InvalidParameterException
.
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.Returns a revision data object for a specified document ID and block address.
Also returns a proof of the specified revision for verification ifDigestTipAddress
is provided.
Returns an array of all Amazon QLDB journal stream descriptors for a given ledger.
The output of each stream descriptor includes the same details that are returned by DescribeJournalKinesisStream
.
MaxResults
items. It is paginated so that you can retrieve all the items by calling ListJournalKinesisStreamsForLedger
multiple times.
list_journal_kinesis_streams_for_ledger(Client, LedgerName, QueryMap, HeadersMap)
View Sourcelist_journal_kinesis_streams_for_ledger(Client, LedgerName, QueryMap, HeadersMap, Options0)
View SourceReturns an array of journal export job descriptions for all ledgers that are associated with the current AWS account and Region.
This action returns a maximum of MaxResults
items, and is paginated so that you can retrieve all the items by calling ListJournalS3Exports
multiple times.
Returns an array of journal export job descriptions for a specified ledger.
This action returns a maximum of MaxResults
items, and is paginated so that you can retrieve all the items by calling ListJournalS3ExportsForLedger
multiple times.
list_journal_s3_exports_for_ledger(Client, Name, QueryMap, HeadersMap)
View Sourcelist_journal_s3_exports_for_ledger(Client, Name, QueryMap, HeadersMap, Options0)
View SourceReturns an array of ledger summaries that are associated with the current AWS account and Region.
This action returns a maximum of 100 items and is paginated so that you can retrieve all the items by callingListLedgers
multiple times.
list_tags_for_resource(Client, ResourceArn, QueryMap, HeadersMap, Options0)
View SourceCreates 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.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.Removes one or more tags from a specified Amazon QLDB resource.
You can specify up to 50 tag keys to remove.