@Generated(value="software.amazon.awssdk:codegen") public interface QldbClient extends SdkClient
builder() method.
The control plane for Amazon QLDB
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static QldbClientBuilder |
builder()
Create a builder that can be used to configure and create a
QldbClient. |
static QldbClient |
create()
Create a
QldbClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateLedgerResponse |
createLedger(Consumer<CreateLedgerRequest.Builder> createLedgerRequest)
Creates a new ledger in your AWS account.
|
default CreateLedgerResponse |
createLedger(CreateLedgerRequest createLedgerRequest)
Creates a new ledger in your AWS account.
|
default DeleteLedgerResponse |
deleteLedger(Consumer<DeleteLedgerRequest.Builder> deleteLedgerRequest)
Deletes a ledger and all of its contents.
|
default DeleteLedgerResponse |
deleteLedger(DeleteLedgerRequest deleteLedgerRequest)
Deletes a ledger and all of its contents.
|
default DescribeJournalS3ExportResponse |
describeJournalS3Export(Consumer<DescribeJournalS3ExportRequest.Builder> describeJournalS3ExportRequest)
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.
|
default DescribeJournalS3ExportResponse |
describeJournalS3Export(DescribeJournalS3ExportRequest describeJournalS3ExportRequest)
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.
|
default DescribeLedgerResponse |
describeLedger(Consumer<DescribeLedgerRequest.Builder> describeLedgerRequest)
Returns information about a ledger, including its state and when it was created.
|
default DescribeLedgerResponse |
describeLedger(DescribeLedgerRequest describeLedgerRequest)
Returns information about a ledger, including its state and when it was created.
|
default ExportJournalToS3Response |
exportJournalToS3(Consumer<ExportJournalToS3Request.Builder> exportJournalToS3Request)
Exports journal contents within a date and time range from a ledger into a specified Amazon Simple Storage
Service (Amazon S3) bucket.
|
default ExportJournalToS3Response |
exportJournalToS3(ExportJournalToS3Request exportJournalToS3Request)
Exports journal contents within a date and time range from a ledger into a specified Amazon Simple Storage
Service (Amazon S3) bucket.
|
default GetBlockResponse |
getBlock(Consumer<GetBlockRequest.Builder> getBlockRequest)
Returns a journal block object at a specified address in a ledger.
|
default GetBlockResponse |
getBlock(GetBlockRequest getBlockRequest)
Returns a journal block object at a specified address in a ledger.
|
default GetDigestResponse |
getDigest(Consumer<GetDigestRequest.Builder> getDigestRequest)
Returns the digest of a ledger at the latest committed block in the journal.
|
default GetDigestResponse |
getDigest(GetDigestRequest getDigestRequest)
Returns the digest of a ledger at the latest committed block in the journal.
|
default GetRevisionResponse |
getRevision(Consumer<GetRevisionRequest.Builder> getRevisionRequest)
Returns a revision data object for a specified document ID and block address.
|
default GetRevisionResponse |
getRevision(GetRevisionRequest getRevisionRequest)
Returns a revision data object for a specified document ID and block address.
|
default ListJournalS3ExportsResponse |
listJournalS3Exports(Consumer<ListJournalS3ExportsRequest.Builder> listJournalS3ExportsRequest)
Returns an array of journal export job descriptions for all ledgers that are associated with the current AWS
account and Region.
|
default ListJournalS3ExportsResponse |
listJournalS3Exports(ListJournalS3ExportsRequest listJournalS3ExportsRequest)
Returns an array of journal export job descriptions for all ledgers that are associated with the current AWS
account and Region.
|
default ListJournalS3ExportsForLedgerResponse |
listJournalS3ExportsForLedger(Consumer<ListJournalS3ExportsForLedgerRequest.Builder> listJournalS3ExportsForLedgerRequest)
Returns an array of journal export job descriptions for a specified ledger.
|
default ListJournalS3ExportsForLedgerResponse |
listJournalS3ExportsForLedger(ListJournalS3ExportsForLedgerRequest listJournalS3ExportsForLedgerRequest)
Returns an array of journal export job descriptions for a specified ledger.
|
default ListJournalS3ExportsForLedgerIterable |
listJournalS3ExportsForLedgerPaginator(Consumer<ListJournalS3ExportsForLedgerRequest.Builder> listJournalS3ExportsForLedgerRequest)
Returns an array of journal export job descriptions for a specified ledger.
|
default ListJournalS3ExportsForLedgerIterable |
listJournalS3ExportsForLedgerPaginator(ListJournalS3ExportsForLedgerRequest listJournalS3ExportsForLedgerRequest)
Returns an array of journal export job descriptions for a specified ledger.
|
default ListJournalS3ExportsIterable |
listJournalS3ExportsPaginator(Consumer<ListJournalS3ExportsRequest.Builder> listJournalS3ExportsRequest)
Returns an array of journal export job descriptions for all ledgers that are associated with the current AWS
account and Region.
|
default ListJournalS3ExportsIterable |
listJournalS3ExportsPaginator(ListJournalS3ExportsRequest listJournalS3ExportsRequest)
Returns an array of journal export job descriptions for all ledgers that are associated with the current AWS
account and Region.
|
default ListLedgersResponse |
listLedgers(Consumer<ListLedgersRequest.Builder> listLedgersRequest)
Returns an array of ledger summaries that are associated with the current AWS account and Region.
|
default ListLedgersResponse |
listLedgers(ListLedgersRequest listLedgersRequest)
Returns an array of ledger summaries that are associated with the current AWS account and Region.
|
default ListLedgersIterable |
listLedgersPaginator(Consumer<ListLedgersRequest.Builder> listLedgersRequest)
Returns an array of ledger summaries that are associated with the current AWS account and Region.
|
default ListLedgersIterable |
listLedgersPaginator(ListLedgersRequest listLedgersRequest)
Returns an array of ledger summaries that are associated with the current AWS account and Region.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Returns all tags for a specified Amazon QLDB resource.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Returns all tags for a specified Amazon QLDB resource.
|
static ServiceMetadata |
serviceMetadata() |
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds one or more tags to a specified Amazon QLDB resource.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Adds one or more tags to a specified Amazon QLDB resource.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes one or more tags from a specified Amazon QLDB resource.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Removes one or more tags from a specified Amazon QLDB resource.
|
default UpdateLedgerResponse |
updateLedger(Consumer<UpdateLedgerRequest.Builder> updateLedgerRequest)
Updates properties on a ledger.
|
default UpdateLedgerResponse |
updateLedger(UpdateLedgerRequest updateLedgerRequest)
Updates properties on a ledger.
|
serviceNameclosestatic final String SERVICE_NAME
static QldbClient create()
QldbClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static QldbClientBuilder builder()
QldbClient.default CreateLedgerResponse createLedger(CreateLedgerRequest createLedgerRequest) throws InvalidParameterException, ResourceAlreadyExistsException, LimitExceededException, ResourceInUseException, AwsServiceException, SdkClientException, QldbException
Creates a new ledger in your AWS account.
createLedgerRequest - InvalidParameterException - One or more parameters in the request aren't valid.ResourceAlreadyExistsException - The specified resource already exists.LimitExceededException - You have reached the limit on the maximum number of resources allowed.ResourceInUseException - The specified resource can't be modified at this time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.QldbException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateLedgerResponse createLedger(Consumer<CreateLedgerRequest.Builder> createLedgerRequest) throws InvalidParameterException, ResourceAlreadyExistsException, LimitExceededException, ResourceInUseException, AwsServiceException, SdkClientException, QldbException
Creates a new ledger in your AWS account.
This is a convenience which creates an instance of the CreateLedgerRequest.Builder avoiding the need to
create one manually via CreateLedgerRequest.builder()
createLedgerRequest - A Consumer that will call methods on CreateLedgerRequest.Builder to create a request.InvalidParameterException - One or more parameters in the request aren't valid.ResourceAlreadyExistsException - The specified resource already exists.LimitExceededException - You have reached the limit on the maximum number of resources allowed.ResourceInUseException - The specified resource can't be modified at this time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.QldbException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteLedgerResponse deleteLedger(DeleteLedgerRequest deleteLedgerRequest) throws InvalidParameterException, ResourceNotFoundException, ResourceInUseException, ResourcePreconditionNotMetException, AwsServiceException, SdkClientException, QldbException
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 using the QLDB API
or the AWS Command Line Interface (AWS CLI). You can disable it by calling the UpdateLedger
operation to set the flag to false. The QLDB console disables deletion protection for you when you
use it to delete a ledger.
deleteLedgerRequest - InvalidParameterException - One or more parameters in the request aren't valid.ResourceNotFoundException - The specified resource doesn't exist.ResourceInUseException - The specified resource can't be modified at this time.ResourcePreconditionNotMetException - The operation failed because a condition wasn't satisfied in advance.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.QldbException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteLedgerResponse deleteLedger(Consumer<DeleteLedgerRequest.Builder> deleteLedgerRequest) throws InvalidParameterException, ResourceNotFoundException, ResourceInUseException, ResourcePreconditionNotMetException, AwsServiceException, SdkClientException, QldbException
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 using the QLDB API
or the AWS Command Line Interface (AWS CLI). You can disable it by calling the UpdateLedger
operation to set the flag to false. The QLDB console disables deletion protection for you when you
use it to delete a ledger.
This is a convenience which creates an instance of the DeleteLedgerRequest.Builder avoiding the need to
create one manually via DeleteLedgerRequest.builder()
deleteLedgerRequest - A Consumer that will call methods on DeleteLedgerRequest.Builder to create a request.InvalidParameterException - One or more parameters in the request aren't valid.ResourceNotFoundException - The specified resource doesn't exist.ResourceInUseException - The specified resource can't be modified at this time.ResourcePreconditionNotMetException - The operation failed because a condition wasn't satisfied in advance.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.QldbException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeJournalS3ExportResponse describeJournalS3Export(DescribeJournalS3ExportRequest describeJournalS3ExportRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, QldbException
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.
If the export job with the given ExportId doesn't exist, then throws
ResourceNotFoundException.
If the ledger with the given Name doesn't exist, then throws ResourceNotFoundException.
describeJournalS3ExportRequest - ResourceNotFoundException - The specified resource doesn't exist.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.QldbException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeJournalS3ExportResponse describeJournalS3Export(Consumer<DescribeJournalS3ExportRequest.Builder> describeJournalS3ExportRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, QldbException
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.
If the export job with the given ExportId doesn't exist, then throws
ResourceNotFoundException.
If the ledger with the given Name doesn't exist, then throws ResourceNotFoundException.
This is a convenience which creates an instance of the DescribeJournalS3ExportRequest.Builder avoiding
the need to create one manually via DescribeJournalS3ExportRequest.builder()
describeJournalS3ExportRequest - A Consumer that will call methods on DescribeJournalS3ExportRequest.Builder to create a
request.ResourceNotFoundException - The specified resource doesn't exist.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.QldbException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeLedgerResponse describeLedger(DescribeLedgerRequest describeLedgerRequest) throws InvalidParameterException, ResourceNotFoundException, AwsServiceException, SdkClientException, QldbException
Returns information about a ledger, including its state and when it was created.
describeLedgerRequest - InvalidParameterException - One or more parameters in the request aren't valid.ResourceNotFoundException - The specified resource doesn't exist.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.QldbException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeLedgerResponse describeLedger(Consumer<DescribeLedgerRequest.Builder> describeLedgerRequest) throws InvalidParameterException, ResourceNotFoundException, AwsServiceException, SdkClientException, QldbException
Returns information about a ledger, including its state and when it was created.
This is a convenience which creates an instance of the DescribeLedgerRequest.Builder avoiding the need to
create one manually via DescribeLedgerRequest.builder()
describeLedgerRequest - A Consumer that will call methods on DescribeLedgerRequest.Builder to create a request.InvalidParameterException - One or more parameters in the request aren't valid.ResourceNotFoundException - The specified resource doesn't exist.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.QldbException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ExportJournalToS3Response exportJournalToS3(ExportJournalToS3Request exportJournalToS3Request) throws ResourceNotFoundException, ResourcePreconditionNotMetException, AwsServiceException, SdkClientException, QldbException
Exports 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.
You can initiate up to two concurrent journal export requests for each ledger. Beyond this limit, journal export
requests throw LimitExceededException.
exportJournalToS3Request - ResourceNotFoundException - The specified resource doesn't exist.ResourcePreconditionNotMetException - The operation failed because a condition wasn't satisfied in advance.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.QldbException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ExportJournalToS3Response exportJournalToS3(Consumer<ExportJournalToS3Request.Builder> exportJournalToS3Request) throws ResourceNotFoundException, ResourcePreconditionNotMetException, AwsServiceException, SdkClientException, QldbException
Exports 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.
You can initiate up to two concurrent journal export requests for each ledger. Beyond this limit, journal export
requests throw LimitExceededException.
This is a convenience which creates an instance of the ExportJournalToS3Request.Builder avoiding the need
to create one manually via ExportJournalToS3Request.builder()
exportJournalToS3Request - A Consumer that will call methods on ExportJournalToS3Request.Builder to create a request.ResourceNotFoundException - The specified resource doesn't exist.ResourcePreconditionNotMetException - The operation failed because a condition wasn't satisfied in advance.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.QldbException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetBlockResponse getBlock(GetBlockRequest getBlockRequest) throws InvalidParameterException, ResourceNotFoundException, ResourcePreconditionNotMetException, AwsServiceException, SdkClientException, QldbException
Returns a journal block object at a specified address in a ledger. Also returns a proof of the specified block
for verification if DigestTipAddress is provided.
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.
If no block exists with the specified address, then throws InvalidParameterException.
getBlockRequest - InvalidParameterException - One or more parameters in the request aren't valid.ResourceNotFoundException - The specified resource doesn't exist.ResourcePreconditionNotMetException - The operation failed because a condition wasn't satisfied in advance.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.QldbException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetBlockResponse getBlock(Consumer<GetBlockRequest.Builder> getBlockRequest) throws InvalidParameterException, ResourceNotFoundException, ResourcePreconditionNotMetException, AwsServiceException, SdkClientException, QldbException
Returns a journal block object at a specified address in a ledger. Also returns a proof of the specified block
for verification if DigestTipAddress is provided.
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.
If no block exists with the specified address, then throws InvalidParameterException.
This is a convenience which creates an instance of the GetBlockRequest.Builder avoiding the need to
create one manually via GetBlockRequest.builder()
getBlockRequest - A Consumer that will call methods on GetBlockRequest.Builder to create a request.InvalidParameterException - One or more parameters in the request aren't valid.ResourceNotFoundException - The specified resource doesn't exist.ResourcePreconditionNotMetException - The operation failed because a condition wasn't satisfied in advance.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.QldbException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDigestResponse getDigest(GetDigestRequest getDigestRequest) throws InvalidParameterException, ResourceNotFoundException, ResourcePreconditionNotMetException, AwsServiceException, SdkClientException, QldbException
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.
getDigestRequest - InvalidParameterException - One or more parameters in the request aren't valid.ResourceNotFoundException - The specified resource doesn't exist.ResourcePreconditionNotMetException - The operation failed because a condition wasn't satisfied in advance.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.QldbException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDigestResponse getDigest(Consumer<GetDigestRequest.Builder> getDigestRequest) throws InvalidParameterException, ResourceNotFoundException, ResourcePreconditionNotMetException, AwsServiceException, SdkClientException, QldbException
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.
This is a convenience which creates an instance of the GetDigestRequest.Builder avoiding the need to
create one manually via GetDigestRequest.builder()
getDigestRequest - A Consumer that will call methods on GetDigestRequest.Builder to create a request.InvalidParameterException - One or more parameters in the request aren't valid.ResourceNotFoundException - The specified resource doesn't exist.ResourcePreconditionNotMetException - The operation failed because a condition wasn't satisfied in advance.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.QldbException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetRevisionResponse getRevision(GetRevisionRequest getRevisionRequest) throws InvalidParameterException, ResourceNotFoundException, ResourcePreconditionNotMetException, AwsServiceException, SdkClientException, QldbException
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.
getRevisionRequest - InvalidParameterException - One or more parameters in the request aren't valid.ResourceNotFoundException - The specified resource doesn't exist.ResourcePreconditionNotMetException - The operation failed because a condition wasn't satisfied in advance.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.QldbException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetRevisionResponse getRevision(Consumer<GetRevisionRequest.Builder> getRevisionRequest) throws InvalidParameterException, ResourceNotFoundException, ResourcePreconditionNotMetException, AwsServiceException, SdkClientException, QldbException
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.
This is a convenience which creates an instance of the GetRevisionRequest.Builder avoiding the need to
create one manually via GetRevisionRequest.builder()
getRevisionRequest - A Consumer that will call methods on GetRevisionRequest.Builder to create a request.InvalidParameterException - One or more parameters in the request aren't valid.ResourceNotFoundException - The specified resource doesn't exist.ResourcePreconditionNotMetException - The operation failed because a condition wasn't satisfied in advance.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.QldbException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListJournalS3ExportsResponse listJournalS3Exports(ListJournalS3ExportsRequest listJournalS3ExportsRequest) throws AwsServiceException, SdkClientException, QldbException
Returns 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.
listJournalS3ExportsRequest - SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.QldbException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListJournalS3ExportsResponse listJournalS3Exports(Consumer<ListJournalS3ExportsRequest.Builder> listJournalS3ExportsRequest) throws AwsServiceException, SdkClientException, QldbException
Returns 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.
This is a convenience which creates an instance of the ListJournalS3ExportsRequest.Builder avoiding the
need to create one manually via ListJournalS3ExportsRequest.builder()
listJournalS3ExportsRequest - A Consumer that will call methods on ListJournalS3ExportsRequest.Builder to create a
request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.QldbException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListJournalS3ExportsIterable listJournalS3ExportsPaginator(ListJournalS3ExportsRequest listJournalS3ExportsRequest) throws AwsServiceException, SdkClientException, QldbException
Returns 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.
This is a variant of
listJournalS3Exports(software.amazon.awssdk.services.qldb.model.ListJournalS3ExportsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.qldb.paginators.ListJournalS3ExportsIterable responses = client.listJournalS3ExportsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.qldb.paginators.ListJournalS3ExportsIterable responses = client
.listJournalS3ExportsPaginator(request);
for (software.amazon.awssdk.services.qldb.model.ListJournalS3ExportsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.qldb.paginators.ListJournalS3ExportsIterable responses = client.listJournalS3ExportsPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listJournalS3Exports(software.amazon.awssdk.services.qldb.model.ListJournalS3ExportsRequest)
operation.
listJournalS3ExportsRequest - SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.QldbException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListJournalS3ExportsIterable listJournalS3ExportsPaginator(Consumer<ListJournalS3ExportsRequest.Builder> listJournalS3ExportsRequest) throws AwsServiceException, SdkClientException, QldbException
Returns 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.
This is a variant of
listJournalS3Exports(software.amazon.awssdk.services.qldb.model.ListJournalS3ExportsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.qldb.paginators.ListJournalS3ExportsIterable responses = client.listJournalS3ExportsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.qldb.paginators.ListJournalS3ExportsIterable responses = client
.listJournalS3ExportsPaginator(request);
for (software.amazon.awssdk.services.qldb.model.ListJournalS3ExportsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.qldb.paginators.ListJournalS3ExportsIterable responses = client.listJournalS3ExportsPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listJournalS3Exports(software.amazon.awssdk.services.qldb.model.ListJournalS3ExportsRequest)
operation.
This is a convenience which creates an instance of the ListJournalS3ExportsRequest.Builder avoiding the
need to create one manually via ListJournalS3ExportsRequest.builder()
listJournalS3ExportsRequest - A Consumer that will call methods on ListJournalS3ExportsRequest.Builder to create a
request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.QldbException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListJournalS3ExportsForLedgerResponse listJournalS3ExportsForLedger(ListJournalS3ExportsForLedgerRequest listJournalS3ExportsForLedgerRequest) throws AwsServiceException, SdkClientException, QldbException
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.
listJournalS3ExportsForLedgerRequest - SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.QldbException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListJournalS3ExportsForLedgerResponse listJournalS3ExportsForLedger(Consumer<ListJournalS3ExportsForLedgerRequest.Builder> listJournalS3ExportsForLedgerRequest) throws AwsServiceException, SdkClientException, QldbException
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.
This is a convenience which creates an instance of the ListJournalS3ExportsForLedgerRequest.Builder
avoiding the need to create one manually via ListJournalS3ExportsForLedgerRequest.builder()
listJournalS3ExportsForLedgerRequest - A Consumer that will call methods on ListJournalS3ExportsForLedgerRequest.Builder to
create a request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.QldbException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListJournalS3ExportsForLedgerIterable listJournalS3ExportsForLedgerPaginator(ListJournalS3ExportsForLedgerRequest listJournalS3ExportsForLedgerRequest) throws AwsServiceException, SdkClientException, QldbException
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.
This is a variant of
listJournalS3ExportsForLedger(software.amazon.awssdk.services.qldb.model.ListJournalS3ExportsForLedgerRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.qldb.paginators.ListJournalS3ExportsForLedgerIterable responses = client.listJournalS3ExportsForLedgerPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.qldb.paginators.ListJournalS3ExportsForLedgerIterable responses = client
.listJournalS3ExportsForLedgerPaginator(request);
for (software.amazon.awssdk.services.qldb.model.ListJournalS3ExportsForLedgerResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.qldb.paginators.ListJournalS3ExportsForLedgerIterable responses = client.listJournalS3ExportsForLedgerPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listJournalS3ExportsForLedger(software.amazon.awssdk.services.qldb.model.ListJournalS3ExportsForLedgerRequest)
operation.
listJournalS3ExportsForLedgerRequest - SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.QldbException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListJournalS3ExportsForLedgerIterable listJournalS3ExportsForLedgerPaginator(Consumer<ListJournalS3ExportsForLedgerRequest.Builder> listJournalS3ExportsForLedgerRequest) throws AwsServiceException, SdkClientException, QldbException
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.
This is a variant of
listJournalS3ExportsForLedger(software.amazon.awssdk.services.qldb.model.ListJournalS3ExportsForLedgerRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.qldb.paginators.ListJournalS3ExportsForLedgerIterable responses = client.listJournalS3ExportsForLedgerPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.qldb.paginators.ListJournalS3ExportsForLedgerIterable responses = client
.listJournalS3ExportsForLedgerPaginator(request);
for (software.amazon.awssdk.services.qldb.model.ListJournalS3ExportsForLedgerResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.qldb.paginators.ListJournalS3ExportsForLedgerIterable responses = client.listJournalS3ExportsForLedgerPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listJournalS3ExportsForLedger(software.amazon.awssdk.services.qldb.model.ListJournalS3ExportsForLedgerRequest)
operation.
This is a convenience which creates an instance of the ListJournalS3ExportsForLedgerRequest.Builder
avoiding the need to create one manually via ListJournalS3ExportsForLedgerRequest.builder()
listJournalS3ExportsForLedgerRequest - A Consumer that will call methods on ListJournalS3ExportsForLedgerRequest.Builder to
create a request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.QldbException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListLedgersResponse listLedgers(ListLedgersRequest listLedgersRequest) throws AwsServiceException, SdkClientException, QldbException
Returns 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 calling
ListLedgers multiple times.
listLedgersRequest - SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.QldbException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListLedgersResponse listLedgers(Consumer<ListLedgersRequest.Builder> listLedgersRequest) throws AwsServiceException, SdkClientException, QldbException
Returns 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 calling
ListLedgers multiple times.
This is a convenience which creates an instance of the ListLedgersRequest.Builder avoiding the need to
create one manually via ListLedgersRequest.builder()
listLedgersRequest - A Consumer that will call methods on ListLedgersRequest.Builder to create a request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.QldbException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListLedgersIterable listLedgersPaginator(ListLedgersRequest listLedgersRequest) throws AwsServiceException, SdkClientException, QldbException
Returns 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 calling
ListLedgers multiple times.
This is a variant of listLedgers(software.amazon.awssdk.services.qldb.model.ListLedgersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.qldb.paginators.ListLedgersIterable responses = client.listLedgersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.qldb.paginators.ListLedgersIterable responses = client.listLedgersPaginator(request);
for (software.amazon.awssdk.services.qldb.model.ListLedgersResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.qldb.paginators.ListLedgersIterable responses = client.listLedgersPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listLedgers(software.amazon.awssdk.services.qldb.model.ListLedgersRequest) operation.
listLedgersRequest - SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.QldbException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListLedgersIterable listLedgersPaginator(Consumer<ListLedgersRequest.Builder> listLedgersRequest) throws AwsServiceException, SdkClientException, QldbException
Returns 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 calling
ListLedgers multiple times.
This is a variant of listLedgers(software.amazon.awssdk.services.qldb.model.ListLedgersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.qldb.paginators.ListLedgersIterable responses = client.listLedgersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.qldb.paginators.ListLedgersIterable responses = client.listLedgersPaginator(request);
for (software.amazon.awssdk.services.qldb.model.ListLedgersResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.qldb.paginators.ListLedgersIterable responses = client.listLedgersPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listLedgers(software.amazon.awssdk.services.qldb.model.ListLedgersRequest) operation.
This is a convenience which creates an instance of the ListLedgersRequest.Builder avoiding the need to
create one manually via ListLedgersRequest.builder()
listLedgersRequest - A Consumer that will call methods on ListLedgersRequest.Builder to create a request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.QldbException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws InvalidParameterException, ResourceNotFoundException, AwsServiceException, SdkClientException, QldbException
Returns all tags for a specified Amazon QLDB resource.
listTagsForResourceRequest - InvalidParameterException - One or more parameters in the request aren't valid.ResourceNotFoundException - The specified resource doesn't exist.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.QldbException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws InvalidParameterException, ResourceNotFoundException, AwsServiceException, SdkClientException, QldbException
Returns all tags for a specified Amazon QLDB resource.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.InvalidParameterException - One or more parameters in the request aren't valid.ResourceNotFoundException - The specified resource doesn't exist.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.QldbException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws InvalidParameterException, ResourceNotFoundException, AwsServiceException, SdkClientException, QldbException
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.
tagResourceRequest - InvalidParameterException - One or more parameters in the request aren't valid.ResourceNotFoundException - The specified resource doesn't exist.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.QldbException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws InvalidParameterException, ResourceNotFoundException, AwsServiceException, SdkClientException, QldbException
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.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.InvalidParameterException - One or more parameters in the request aren't valid.ResourceNotFoundException - The specified resource doesn't exist.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.QldbException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws InvalidParameterException, ResourceNotFoundException, AwsServiceException, SdkClientException, QldbException
Removes one or more tags from a specified Amazon QLDB resource. You can specify up to 50 tag keys to remove.
untagResourceRequest - InvalidParameterException - One or more parameters in the request aren't valid.ResourceNotFoundException - The specified resource doesn't exist.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.QldbException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws InvalidParameterException, ResourceNotFoundException, AwsServiceException, SdkClientException, QldbException
Removes one or more tags from a specified Amazon QLDB resource. You can specify up to 50 tag keys to remove.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.InvalidParameterException - One or more parameters in the request aren't valid.ResourceNotFoundException - The specified resource doesn't exist.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.QldbException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateLedgerResponse updateLedger(UpdateLedgerRequest updateLedgerRequest) throws InvalidParameterException, ResourceNotFoundException, AwsServiceException, SdkClientException, QldbException
Updates properties on a ledger.
updateLedgerRequest - InvalidParameterException - One or more parameters in the request aren't valid.ResourceNotFoundException - The specified resource doesn't exist.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.QldbException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateLedgerResponse updateLedger(Consumer<UpdateLedgerRequest.Builder> updateLedgerRequest) throws InvalidParameterException, ResourceNotFoundException, AwsServiceException, SdkClientException, QldbException
Updates properties on a ledger.
This is a convenience which creates an instance of the UpdateLedgerRequest.Builder avoiding the need to
create one manually via UpdateLedgerRequest.builder()
updateLedgerRequest - A Consumer that will call methods on UpdateLedgerRequest.Builder to create a request.InvalidParameterException - One or more parameters in the request aren't valid.ResourceNotFoundException - The specified resource doesn't exist.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.QldbException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstatic ServiceMetadata serviceMetadata()
Copyright © 2019. All rights reserved.