@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSBraketAsync extends AWSBraket
AsyncHandler
can be used to receive notification when
an asynchronous operation completes.
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSBraketAsync
instead.
The Amazon Braket API Reference provides information about the operations and structures supported in Amazon Braket.
ENDPOINT_PREFIX
cancelQuantumTask, createQuantumTask, getCachedResponseMetadata, getDevice, getQuantumTask, listTagsForResource, searchDevices, searchQuantumTasks, shutdown, tagResource, untagResource
Future<CancelQuantumTaskResult> cancelQuantumTaskAsync(CancelQuantumTaskRequest cancelQuantumTaskRequest)
Cancels the specified task.
cancelQuantumTaskRequest
- Future<CancelQuantumTaskResult> cancelQuantumTaskAsync(CancelQuantumTaskRequest cancelQuantumTaskRequest, AsyncHandler<CancelQuantumTaskRequest,CancelQuantumTaskResult> asyncHandler)
Cancels the specified task.
cancelQuantumTaskRequest
- 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.Future<CreateQuantumTaskResult> createQuantumTaskAsync(CreateQuantumTaskRequest createQuantumTaskRequest)
Creates a quantum task.
createQuantumTaskRequest
- Future<CreateQuantumTaskResult> createQuantumTaskAsync(CreateQuantumTaskRequest createQuantumTaskRequest, AsyncHandler<CreateQuantumTaskRequest,CreateQuantumTaskResult> asyncHandler)
Creates a quantum task.
createQuantumTaskRequest
- 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.Future<GetDeviceResult> getDeviceAsync(GetDeviceRequest getDeviceRequest)
Retrieves the devices available in Amazon Braket.
getDeviceRequest
- Future<GetDeviceResult> getDeviceAsync(GetDeviceRequest getDeviceRequest, AsyncHandler<GetDeviceRequest,GetDeviceResult> asyncHandler)
Retrieves the devices available in Amazon Braket.
getDeviceRequest
- 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.Future<GetQuantumTaskResult> getQuantumTaskAsync(GetQuantumTaskRequest getQuantumTaskRequest)
Retrieves the specified quantum task.
getQuantumTaskRequest
- Future<GetQuantumTaskResult> getQuantumTaskAsync(GetQuantumTaskRequest getQuantumTaskRequest, AsyncHandler<GetQuantumTaskRequest,GetQuantumTaskResult> asyncHandler)
Retrieves the specified quantum task.
getQuantumTaskRequest
- 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.Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest)
Shows the tags associated with this resource.
listTagsForResourceRequest
- Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
Shows the tags associated with this resource.
listTagsForResourceRequest
- 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.Future<SearchDevicesResult> searchDevicesAsync(SearchDevicesRequest searchDevicesRequest)
Searches for devices using the specified filters.
searchDevicesRequest
- Future<SearchDevicesResult> searchDevicesAsync(SearchDevicesRequest searchDevicesRequest, AsyncHandler<SearchDevicesRequest,SearchDevicesResult> asyncHandler)
Searches for devices using the specified filters.
searchDevicesRequest
- 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.Future<SearchQuantumTasksResult> searchQuantumTasksAsync(SearchQuantumTasksRequest searchQuantumTasksRequest)
Searches for tasks that match the specified filter values.
searchQuantumTasksRequest
- Future<SearchQuantumTasksResult> searchQuantumTasksAsync(SearchQuantumTasksRequest searchQuantumTasksRequest, AsyncHandler<SearchQuantumTasksRequest,SearchQuantumTasksResult> asyncHandler)
Searches for tasks that match the specified filter values.
searchQuantumTasksRequest
- 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.Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest)
Add a tag to the specified resource.
tagResourceRequest
- Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
Add a tag to the specified resource.
tagResourceRequest
- 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.Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest)
Remove tags from a resource.
untagResourceRequest
- Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
Remove tags from a resource.
untagResourceRequest
- 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.