@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonQLDBSessionAsync extends AbstractAmazonQLDBSession implements AmazonQLDBSessionAsync
AmazonQLDBSessionAsync
. Convenient method forms pass through to the corresponding
overload that takes a request object and an AsyncHandler
, which throws an
UnsupportedOperationException
.ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
Future<SendCommandResult> |
sendCommandAsync(SendCommandRequest request)
Sends a command to an Amazon QLDB ledger.
|
Future<SendCommandResult> |
sendCommandAsync(SendCommandRequest request,
AsyncHandler<SendCommandRequest,SendCommandResult> asyncHandler)
Sends a command to an Amazon QLDB ledger.
|
getCachedResponseMetadata, sendCommand, shutdown
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCachedResponseMetadata, sendCommand, shutdown
public Future<SendCommandResult> sendCommandAsync(SendCommandRequest request)
AmazonQLDBSessionAsync
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.
sendCommandAsync
in interface AmazonQLDBSessionAsync
public Future<SendCommandResult> sendCommandAsync(SendCommandRequest request, AsyncHandler<SendCommandRequest,SendCommandResult> asyncHandler)
AmazonQLDBSessionAsync
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.
sendCommandAsync
in interface AmazonQLDBSessionAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.