@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSBraketAsync extends AbstractAWSBraket implements AWSBraketAsync
AWSBraketAsync
. Convenient method forms pass through to the corresponding overload
that takes a request object and an AsyncHandler
, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
cancelJob, cancelQuantumTask, createJob, createQuantumTask, getCachedResponseMetadata, getDevice, getJob, getQuantumTask, listTagsForResource, searchDevices, searchJobs, searchQuantumTasks, shutdown, tagResource, untagResource
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancelJob, cancelQuantumTask, createJob, createQuantumTask, getCachedResponseMetadata, getDevice, getJob, getQuantumTask, listTagsForResource, searchDevices, searchJobs, searchQuantumTasks, shutdown, tagResource, untagResource
public Future<CancelJobResult> cancelJobAsync(CancelJobRequest request)
AWSBraketAsync
Cancels an Amazon Braket job.
cancelJobAsync
in interface AWSBraketAsync
public Future<CancelJobResult> cancelJobAsync(CancelJobRequest request, AsyncHandler<CancelJobRequest,CancelJobResult> asyncHandler)
AWSBraketAsync
Cancels an Amazon Braket job.
cancelJobAsync
in interface AWSBraketAsync
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.public Future<CancelQuantumTaskResult> cancelQuantumTaskAsync(CancelQuantumTaskRequest request)
AWSBraketAsync
Cancels the specified task.
cancelQuantumTaskAsync
in interface AWSBraketAsync
public Future<CancelQuantumTaskResult> cancelQuantumTaskAsync(CancelQuantumTaskRequest request, AsyncHandler<CancelQuantumTaskRequest,CancelQuantumTaskResult> asyncHandler)
AWSBraketAsync
Cancels the specified task.
cancelQuantumTaskAsync
in interface AWSBraketAsync
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.public Future<CreateJobResult> createJobAsync(CreateJobRequest request)
AWSBraketAsync
Creates an Amazon Braket job.
createJobAsync
in interface AWSBraketAsync
public Future<CreateJobResult> createJobAsync(CreateJobRequest request, AsyncHandler<CreateJobRequest,CreateJobResult> asyncHandler)
AWSBraketAsync
Creates an Amazon Braket job.
createJobAsync
in interface AWSBraketAsync
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.public Future<CreateQuantumTaskResult> createQuantumTaskAsync(CreateQuantumTaskRequest request)
AWSBraketAsync
Creates a quantum task.
createQuantumTaskAsync
in interface AWSBraketAsync
public Future<CreateQuantumTaskResult> createQuantumTaskAsync(CreateQuantumTaskRequest request, AsyncHandler<CreateQuantumTaskRequest,CreateQuantumTaskResult> asyncHandler)
AWSBraketAsync
Creates a quantum task.
createQuantumTaskAsync
in interface AWSBraketAsync
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.public Future<GetDeviceResult> getDeviceAsync(GetDeviceRequest request)
AWSBraketAsync
Retrieves the devices available in Amazon Braket.
For backwards compatibility with older versions of BraketSchemas, OpenQASM information is omitted from GetDevice API calls. To get this information the user-agent needs to present a recent version of the BraketSchemas (1.8.0 or later). The Braket SDK automatically reports this for you. If you do not see OpenQASM results in the GetDevice response when using a Braket SDK, you may need to set AWS_EXECUTION_ENV environment variable to configure user-agent. See the code examples provided below for how to do this for the AWS CLI, Boto3, and the Go, Java, and JavaScript/TypeScript SDKs.
getDeviceAsync
in interface AWSBraketAsync
public Future<GetDeviceResult> getDeviceAsync(GetDeviceRequest request, AsyncHandler<GetDeviceRequest,GetDeviceResult> asyncHandler)
AWSBraketAsync
Retrieves the devices available in Amazon Braket.
For backwards compatibility with older versions of BraketSchemas, OpenQASM information is omitted from GetDevice API calls. To get this information the user-agent needs to present a recent version of the BraketSchemas (1.8.0 or later). The Braket SDK automatically reports this for you. If you do not see OpenQASM results in the GetDevice response when using a Braket SDK, you may need to set AWS_EXECUTION_ENV environment variable to configure user-agent. See the code examples provided below for how to do this for the AWS CLI, Boto3, and the Go, Java, and JavaScript/TypeScript SDKs.
getDeviceAsync
in interface AWSBraketAsync
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.public Future<GetJobResult> getJobAsync(GetJobRequest request)
AWSBraketAsync
Retrieves the specified Amazon Braket job.
getJobAsync
in interface AWSBraketAsync
public Future<GetJobResult> getJobAsync(GetJobRequest request, AsyncHandler<GetJobRequest,GetJobResult> asyncHandler)
AWSBraketAsync
Retrieves the specified Amazon Braket job.
getJobAsync
in interface AWSBraketAsync
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.public Future<GetQuantumTaskResult> getQuantumTaskAsync(GetQuantumTaskRequest request)
AWSBraketAsync
Retrieves the specified quantum task.
getQuantumTaskAsync
in interface AWSBraketAsync
public Future<GetQuantumTaskResult> getQuantumTaskAsync(GetQuantumTaskRequest request, AsyncHandler<GetQuantumTaskRequest,GetQuantumTaskResult> asyncHandler)
AWSBraketAsync
Retrieves the specified quantum task.
getQuantumTaskAsync
in interface AWSBraketAsync
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.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSBraketAsync
Shows the tags associated with this resource.
listTagsForResourceAsync
in interface AWSBraketAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSBraketAsync
Shows the tags associated with this resource.
listTagsForResourceAsync
in interface AWSBraketAsync
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.public Future<SearchDevicesResult> searchDevicesAsync(SearchDevicesRequest request)
AWSBraketAsync
Searches for devices using the specified filters.
searchDevicesAsync
in interface AWSBraketAsync
public Future<SearchDevicesResult> searchDevicesAsync(SearchDevicesRequest request, AsyncHandler<SearchDevicesRequest,SearchDevicesResult> asyncHandler)
AWSBraketAsync
Searches for devices using the specified filters.
searchDevicesAsync
in interface AWSBraketAsync
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.public Future<SearchJobsResult> searchJobsAsync(SearchJobsRequest request)
AWSBraketAsync
Searches for Amazon Braket jobs that match the specified filter values.
searchJobsAsync
in interface AWSBraketAsync
public Future<SearchJobsResult> searchJobsAsync(SearchJobsRequest request, AsyncHandler<SearchJobsRequest,SearchJobsResult> asyncHandler)
AWSBraketAsync
Searches for Amazon Braket jobs that match the specified filter values.
searchJobsAsync
in interface AWSBraketAsync
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.public Future<SearchQuantumTasksResult> searchQuantumTasksAsync(SearchQuantumTasksRequest request)
AWSBraketAsync
Searches for tasks that match the specified filter values.
searchQuantumTasksAsync
in interface AWSBraketAsync
public Future<SearchQuantumTasksResult> searchQuantumTasksAsync(SearchQuantumTasksRequest request, AsyncHandler<SearchQuantumTasksRequest,SearchQuantumTasksResult> asyncHandler)
AWSBraketAsync
Searches for tasks that match the specified filter values.
searchQuantumTasksAsync
in interface AWSBraketAsync
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.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSBraketAsync
Add a tag to the specified resource.
tagResourceAsync
in interface AWSBraketAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSBraketAsync
Add a tag to the specified resource.
tagResourceAsync
in interface AWSBraketAsync
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.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSBraketAsync
Remove tags from a resource.
untagResourceAsync
in interface AWSBraketAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSBraketAsync
Remove tags from a resource.
untagResourceAsync
in interface AWSBraketAsync
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.