@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface QldbSessionAsyncClient extends SdkClient
builder()
method.
The transactional data APIs for Amazon QLDB
Instead of interacting directly with this API, we recommend using the QLDB driver or the QLDB shell to execute data transactions on a ledger.
If you are working with an AWS SDK, use the QLDB driver. The driver provides a high-level abstraction layer above
this QLDB Session data plane and manages SendCommand API calls for you. For information and a
list of supported programming languages, see Getting started with the
driver in the Amazon QLDB Developer Guide.
If you are working with the AWS Command Line Interface (AWS CLI), use the QLDB shell. The shell is a command line interface that uses the QLDB driver to interact with a ledger. For information, see Accessing Amazon QLDB using the QLDB shell.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static QldbSessionAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
QldbSessionAsyncClient. |
static QldbSessionAsyncClient |
create()
Create a
QldbSessionAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CompletableFuture<SendCommandResponse> |
sendCommand(Consumer<SendCommandRequest.Builder> sendCommandRequest)
Sends a command to an Amazon QLDB ledger.
|
default CompletableFuture<SendCommandResponse> |
sendCommand(SendCommandRequest sendCommandRequest)
Sends a command to an Amazon QLDB ledger.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default CompletableFuture<SendCommandResponse> sendCommand(SendCommandRequest sendCommandRequest)
Sends a command to an Amazon QLDB ledger.
Instead of interacting directly with this API, we recommend using the QLDB driver or the QLDB shell to execute data transactions on a ledger.
If you are working with an AWS SDK, use the QLDB driver. The driver provides a high-level abstraction layer above
this QLDB Session data plane and manages SendCommand API calls for you. For information and a
list of supported programming languages, see Getting started with
the driver in the Amazon QLDB Developer Guide.
If you are working with the AWS Command Line Interface (AWS CLI), use the QLDB shell. The shell is a command line interface that uses the QLDB driver to interact with a ledger. For information, see Accessing Amazon QLDB using the QLDB shell.
sendCommandRequest - default CompletableFuture<SendCommandResponse> sendCommand(Consumer<SendCommandRequest.Builder> sendCommandRequest)
Sends a command to an Amazon QLDB ledger.
Instead of interacting directly with this API, we recommend using the QLDB driver or the QLDB shell to execute data transactions on a ledger.
If you are working with an AWS SDK, use the QLDB driver. The driver provides a high-level abstraction layer above
this QLDB Session data plane and manages SendCommand API calls for you. For information and a
list of supported programming languages, see Getting started with
the driver in the Amazon QLDB Developer Guide.
If you are working with the AWS Command Line Interface (AWS CLI), use the QLDB shell. The shell is a command line interface that uses the QLDB driver to interact with a ledger. For information, see Accessing Amazon QLDB using the QLDB shell.
This is a convenience which creates an instance of the SendCommandRequest.Builder avoiding the need to
create one manually via SendCommandRequest.builder()
sendCommandRequest - A Consumer that will call methods on SendCommandRequest.Builder to create a request.static QldbSessionAsyncClient create()
QldbSessionAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static QldbSessionAsyncClientBuilder builder()
QldbSessionAsyncClient.Copyright © 2023. All rights reserved.