@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSBraketAsyncClient extends AWSBraketClient implements AWSBraketAsync
AsyncHandler can be used to receive notification when
an asynchronous operation completes.
The Amazon Braket API Reference provides information about the operations and structures supported in Amazon Braket.
configFactoryclient, clientConfiguration, endpoint, isEndpointOverridden, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_PREFIXbuilder, cancelQuantumTask, createQuantumTask, getCachedResponseMetadata, getDevice, getQuantumTask, listTagsForResource, searchDevices, searchQuantumTasks, tagResource, untagResourceaddRequestHandler, 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, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancelQuantumTask, createQuantumTask, getCachedResponseMetadata, getDevice, getQuantumTask, listTagsForResource, searchDevices, searchQuantumTasks, tagResource, untagResourcepublic static AWSBraketAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CancelQuantumTaskResult> cancelQuantumTaskAsync(CancelQuantumTaskRequest request)
AWSBraketAsyncCancels the specified task.
cancelQuantumTaskAsync in interface AWSBraketAsyncpublic Future<CancelQuantumTaskResult> cancelQuantumTaskAsync(CancelQuantumTaskRequest request, AsyncHandler<CancelQuantumTaskRequest,CancelQuantumTaskResult> asyncHandler)
AWSBraketAsyncCancels the specified task.
cancelQuantumTaskAsync in interface AWSBraketAsyncasyncHandler - 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.public Future<CreateQuantumTaskResult> createQuantumTaskAsync(CreateQuantumTaskRequest request)
AWSBraketAsyncCreates a quantum task.
createQuantumTaskAsync in interface AWSBraketAsyncpublic Future<CreateQuantumTaskResult> createQuantumTaskAsync(CreateQuantumTaskRequest request, AsyncHandler<CreateQuantumTaskRequest,CreateQuantumTaskResult> asyncHandler)
AWSBraketAsyncCreates a quantum task.
createQuantumTaskAsync in interface AWSBraketAsyncasyncHandler - 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.public Future<GetDeviceResult> getDeviceAsync(GetDeviceRequest request)
AWSBraketAsyncRetrieves the devices available in Amazon Braket.
getDeviceAsync in interface AWSBraketAsyncpublic Future<GetDeviceResult> getDeviceAsync(GetDeviceRequest request, AsyncHandler<GetDeviceRequest,GetDeviceResult> asyncHandler)
AWSBraketAsyncRetrieves the devices available in Amazon Braket.
getDeviceAsync in interface AWSBraketAsyncasyncHandler - 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.public Future<GetQuantumTaskResult> getQuantumTaskAsync(GetQuantumTaskRequest request)
AWSBraketAsyncRetrieves the specified quantum task.
getQuantumTaskAsync in interface AWSBraketAsyncpublic Future<GetQuantumTaskResult> getQuantumTaskAsync(GetQuantumTaskRequest request, AsyncHandler<GetQuantumTaskRequest,GetQuantumTaskResult> asyncHandler)
AWSBraketAsyncRetrieves the specified quantum task.
getQuantumTaskAsync in interface AWSBraketAsyncasyncHandler - 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.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSBraketAsyncShows the tags associated with this resource.
listTagsForResourceAsync in interface AWSBraketAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSBraketAsyncShows the tags associated with this resource.
listTagsForResourceAsync in interface AWSBraketAsyncasyncHandler - 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.public Future<SearchDevicesResult> searchDevicesAsync(SearchDevicesRequest request)
AWSBraketAsyncSearches for devices using the specified filters.
searchDevicesAsync in interface AWSBraketAsyncpublic Future<SearchDevicesResult> searchDevicesAsync(SearchDevicesRequest request, AsyncHandler<SearchDevicesRequest,SearchDevicesResult> asyncHandler)
AWSBraketAsyncSearches for devices using the specified filters.
searchDevicesAsync in interface AWSBraketAsyncasyncHandler - 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.public Future<SearchQuantumTasksResult> searchQuantumTasksAsync(SearchQuantumTasksRequest request)
AWSBraketAsyncSearches for tasks that match the specified filter values.
searchQuantumTasksAsync in interface AWSBraketAsyncpublic Future<SearchQuantumTasksResult> searchQuantumTasksAsync(SearchQuantumTasksRequest request, AsyncHandler<SearchQuantumTasksRequest,SearchQuantumTasksResult> asyncHandler)
AWSBraketAsyncSearches for tasks that match the specified filter values.
searchQuantumTasksAsync in interface AWSBraketAsyncasyncHandler - 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.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSBraketAsyncAdd a tag to the specified resource.
tagResourceAsync in interface AWSBraketAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSBraketAsyncAdd a tag to the specified resource.
tagResourceAsync in interface AWSBraketAsyncasyncHandler - 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.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSBraketAsyncRemove tags from a resource.
untagResourceAsync in interface AWSBraketAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSBraketAsyncRemove tags from a resource.
untagResourceAsync in interface AWSBraketAsyncasyncHandler - 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.public void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AWSBraketshutdown in class AWSBraketClientCopyright © 2021. All rights reserved.