@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonQLDBSessionClient extends AmazonWebServiceClient implements AmazonQLDBSession
The transactional data APIs for Amazon QLDB
| Modifier and Type | Field and Description |
|---|---|
protected static ClientConfigurationFactory |
configFactory
Client configuration factory providing ClientConfigurations tailored to this client
|
client, clientConfiguration, endpoint, isEndpointOverridden, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
static AmazonQLDBSessionClientBuilder |
builder() |
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
SendCommandResult |
sendCommand(SendCommandRequest request)
Sends a command to an Amazon QLDB ledger.
|
addRequestHandler, addRequestHandler, beforeClientExecution, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getClientConfiguration, getClientId, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerOverride, getSignerProvider, getSignerRegionOverride, getSigningRegion, getTimeOffset, isCsmEnabled, isEndpointOverridden, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shouldGenerateClientSideMonitoringEvents, shutdown, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshutdownprotected static final ClientConfigurationFactory configFactory
public static AmazonQLDBSessionClientBuilder builder()
public SendCommandResult sendCommand(SendCommandRequest request)
Sends a command to an Amazon QLDB ledger.
sendCommand in interface AmazonQLDBSessionsendCommandRequest - BadRequestException - Returned if the request is malformed or contains an error such as an invalid parameter value or a missing
required parameter.InvalidSessionException - Returned if the session doesn't exist anymore because it timed-out or expired.OccConflictException - Returned when a transaction cannot be written to the journal due to a failure in the verification phase
of Optimistic Concurrency Control.RateExceededException - Returned when the rate of requests exceeds the allowed throughput.LimitExceededException - Returned if a resource limit such as number of active sessions is exceeded.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata in interface AmazonQLDBSessionrequest - The originally executed requestCopyright © 2020. All rights reserved.