@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSBraket
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSBraket
instead.
The Amazon Braket API Reference provides information about the operations and structures supported in Amazon Braket.
Additional Resources:
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
CancelJobResult |
cancelJob(CancelJobRequest cancelJobRequest)
Cancels an Amazon Braket job.
|
CancelQuantumTaskResult |
cancelQuantumTask(CancelQuantumTaskRequest cancelQuantumTaskRequest)
Cancels the specified task.
|
CreateJobResult |
createJob(CreateJobRequest createJobRequest)
Creates an Amazon Braket job.
|
CreateQuantumTaskResult |
createQuantumTask(CreateQuantumTaskRequest createQuantumTaskRequest)
Creates a quantum task.
|
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.
|
GetDeviceResult |
getDevice(GetDeviceRequest getDeviceRequest)
Retrieves the devices available in Amazon Braket.
|
GetJobResult |
getJob(GetJobRequest getJobRequest)
Retrieves the specified Amazon Braket job.
|
GetQuantumTaskResult |
getQuantumTask(GetQuantumTaskRequest getQuantumTaskRequest)
Retrieves the specified quantum task.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Shows the tags associated with this resource.
|
SearchDevicesResult |
searchDevices(SearchDevicesRequest searchDevicesRequest)
Searches for devices using the specified filters.
|
SearchJobsResult |
searchJobs(SearchJobsRequest searchJobsRequest)
Searches for Amazon Braket jobs that match the specified filter values.
|
SearchQuantumTasksResult |
searchQuantumTasks(SearchQuantumTasksRequest searchQuantumTasksRequest)
Searches for tasks that match the specified filter values.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
TagResourceResult |
tagResource(TagResourceRequest tagResourceRequest)
Add a tag to the specified resource.
|
UntagResourceResult |
untagResource(UntagResourceRequest untagResourceRequest)
Remove tags from a resource.
|
static final String ENDPOINT_PREFIX
CancelJobResult cancelJob(CancelJobRequest cancelJobRequest)
Cancels an Amazon Braket job.
cancelJobRequest
- ResourceNotFoundException
- The specified resource was not found.AccessDeniedException
- You do not have sufficient access to perform this action.ConflictException
- An error occurred due to a conflict.ThrottlingException
- The throttling rate limit is met.InternalServiceException
- The request processing has failed because of an unknown error, exception, or failure.ValidationException
- The input fails to satisfy the constraints specified by an AWS service.CancelQuantumTaskResult cancelQuantumTask(CancelQuantumTaskRequest cancelQuantumTaskRequest)
Cancels the specified task.
cancelQuantumTaskRequest
- ResourceNotFoundException
- The specified resource was not found.AccessDeniedException
- You do not have sufficient access to perform this action.ConflictException
- An error occurred due to a conflict.ThrottlingException
- The throttling rate limit is met.InternalServiceException
- The request processing has failed because of an unknown error, exception, or failure.ValidationException
- The input fails to satisfy the constraints specified by an AWS service.CreateJobResult createJob(CreateJobRequest createJobRequest)
Creates an Amazon Braket job.
createJobRequest
- ConflictException
- An error occurred due to a conflict.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The throttling rate limit is met.DeviceOfflineException
- The specified device is currently offline.DeviceRetiredException
- The specified device has been retired.InternalServiceException
- The request processing has failed because of an unknown error, exception, or failure.ServiceQuotaExceededException
- The request failed because a service quota is exceeded.ValidationException
- The input fails to satisfy the constraints specified by an AWS service.CreateQuantumTaskResult createQuantumTask(CreateQuantumTaskRequest createQuantumTaskRequest)
Creates a quantum task.
createQuantumTaskRequest
- AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The throttling rate limit is met.DeviceOfflineException
- The specified device is currently offline.DeviceRetiredException
- The specified device has been retired.InternalServiceException
- The request processing has failed because of an unknown error, exception, or failure.ServiceQuotaExceededException
- The request failed because a service quota is exceeded.ValidationException
- The input fails to satisfy the constraints specified by an AWS service.GetDeviceResult getDevice(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
- ResourceNotFoundException
- The specified resource was not found.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The throttling rate limit is met.InternalServiceException
- The request processing has failed because of an unknown error, exception, or failure.ValidationException
- The input fails to satisfy the constraints specified by an AWS service.GetJobResult getJob(GetJobRequest getJobRequest)
Retrieves the specified Amazon Braket job.
getJobRequest
- ResourceNotFoundException
- The specified resource was not found.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The throttling rate limit is met.InternalServiceException
- The request processing has failed because of an unknown error, exception, or failure.ValidationException
- The input fails to satisfy the constraints specified by an AWS service.GetQuantumTaskResult getQuantumTask(GetQuantumTaskRequest getQuantumTaskRequest)
Retrieves the specified quantum task.
getQuantumTaskRequest
- ResourceNotFoundException
- The specified resource was not found.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The throttling rate limit is met.InternalServiceException
- The request processing has failed because of an unknown error, exception, or failure.ValidationException
- The input fails to satisfy the constraints specified by an AWS service.ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Shows the tags associated with this resource.
listTagsForResourceRequest
- ResourceNotFoundException
- The specified resource was not found.InternalServiceException
- The request processing has failed because of an unknown error, exception, or failure.ValidationException
- The input fails to satisfy the constraints specified by an AWS service.SearchDevicesResult searchDevices(SearchDevicesRequest searchDevicesRequest)
Searches for devices using the specified filters.
searchDevicesRequest
- AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The throttling rate limit is met.InternalServiceException
- The request processing has failed because of an unknown error, exception, or failure.ValidationException
- The input fails to satisfy the constraints specified by an AWS service.SearchJobsResult searchJobs(SearchJobsRequest searchJobsRequest)
Searches for Amazon Braket jobs that match the specified filter values.
searchJobsRequest
- AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The throttling rate limit is met.InternalServiceException
- The request processing has failed because of an unknown error, exception, or failure.ValidationException
- The input fails to satisfy the constraints specified by an AWS service.SearchQuantumTasksResult searchQuantumTasks(SearchQuantumTasksRequest searchQuantumTasksRequest)
Searches for tasks that match the specified filter values.
searchQuantumTasksRequest
- AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The throttling rate limit is met.InternalServiceException
- The request processing has failed because of an unknown error, exception, or failure.ValidationException
- The input fails to satisfy the constraints specified by an AWS service.TagResourceResult tagResource(TagResourceRequest tagResourceRequest)
Add a tag to the specified resource.
tagResourceRequest
- ResourceNotFoundException
- The specified resource was not found.InternalServiceException
- The request processing has failed because of an unknown error, exception, or failure.ValidationException
- The input fails to satisfy the constraints specified by an AWS service.UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest)
Remove tags from a resource.
untagResourceRequest
- ResourceNotFoundException
- The specified resource was not found.InternalServiceException
- The request processing has failed because of an unknown error, exception, or failure.ValidationException
- The input fails to satisfy the constraints specified by an AWS service.void shutdown()
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 a request.
request
- The originally executed request.