@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.
Additional Resources:
ENDPOINT_PREFIX
cancelJob, cancelQuantumTask, createJob, createQuantumTask, getCachedResponseMetadata, getDevice, getJob, getQuantumTask, listTagsForResource, searchDevices, searchJobs, searchQuantumTasks, shutdown, tagResource, untagResource
Future<CancelJobResult> cancelJobAsync(CancelJobRequest cancelJobRequest)
Cancels an Amazon Braket job.
cancelJobRequest
- Future<CancelJobResult> cancelJobAsync(CancelJobRequest cancelJobRequest, AsyncHandler<CancelJobRequest,CancelJobResult> asyncHandler)
Cancels an Amazon Braket job.
cancelJobRequest
- 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<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<CreateJobResult> createJobAsync(CreateJobRequest createJobRequest)
Creates an Amazon Braket job.
createJobRequest
- Future<CreateJobResult> createJobAsync(CreateJobRequest createJobRequest, AsyncHandler<CreateJobRequest,CreateJobResult> asyncHandler)
Creates an Amazon Braket job.
createJobRequest
- 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.
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.
getDeviceRequest
- Future<GetDeviceResult> getDeviceAsync(GetDeviceRequest getDeviceRequest, AsyncHandler<GetDeviceRequest,GetDeviceResult> asyncHandler)
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.
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<GetJobResult> getJobAsync(GetJobRequest getJobRequest)
Retrieves the specified Amazon Braket job.
getJobRequest
- Future<GetJobResult> getJobAsync(GetJobRequest getJobRequest, AsyncHandler<GetJobRequest,GetJobResult> asyncHandler)
Retrieves the specified Amazon Braket job.
getJobRequest
- 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<SearchJobsResult> searchJobsAsync(SearchJobsRequest searchJobsRequest)
Searches for Amazon Braket jobs that match the specified filter values.
searchJobsRequest
- Future<SearchJobsResult> searchJobsAsync(SearchJobsRequest searchJobsRequest, AsyncHandler<SearchJobsRequest,SearchJobsResult> asyncHandler)
Searches for Amazon Braket jobs that match the specified filter values.
searchJobsRequest
- 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.