@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSBraket extends Object implements AWSBraket
AWSBraket
. Convenient method forms pass through to the corresponding overload that
takes a request object, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
CancelJobResult |
cancelJob(CancelJobRequest request)
Cancels an Amazon Braket job.
|
CancelQuantumTaskResult |
cancelQuantumTask(CancelQuantumTaskRequest request)
Cancels the specified task.
|
CreateJobResult |
createJob(CreateJobRequest request)
Creates an Amazon Braket job.
|
CreateQuantumTaskResult |
createQuantumTask(CreateQuantumTaskRequest request)
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 request)
Retrieves the devices available in Amazon Braket.
|
GetJobResult |
getJob(GetJobRequest request)
Retrieves the specified Amazon Braket job.
|
GetQuantumTaskResult |
getQuantumTask(GetQuantumTaskRequest request)
Retrieves the specified quantum task.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Shows the tags associated with this resource.
|
SearchDevicesResult |
searchDevices(SearchDevicesRequest request)
Searches for devices using the specified filters.
|
SearchJobsResult |
searchJobs(SearchJobsRequest request)
Searches for Amazon Braket jobs that match the specified filter values.
|
SearchQuantumTasksResult |
searchQuantumTasks(SearchQuantumTasksRequest request)
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 request)
Add a tag to the specified resource.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Remove tags from a resource.
|
public CancelJobResult cancelJob(CancelJobRequest request)
AWSBraket
Cancels an Amazon Braket job.
cancelJob
in interface AWSBraket
public CancelQuantumTaskResult cancelQuantumTask(CancelQuantumTaskRequest request)
AWSBraket
Cancels the specified task.
cancelQuantumTask
in interface AWSBraket
public CreateJobResult createJob(CreateJobRequest request)
AWSBraket
Creates an Amazon Braket job.
createJob
in interface AWSBraket
public CreateQuantumTaskResult createQuantumTask(CreateQuantumTaskRequest request)
AWSBraket
Creates a quantum task.
createQuantumTask
in interface AWSBraket
public GetDeviceResult getDevice(GetDeviceRequest request)
AWSBraket
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.
getDevice
in interface AWSBraket
public GetJobResult getJob(GetJobRequest request)
AWSBraket
Retrieves the specified Amazon Braket job.
getJob
in interface AWSBraket
public GetQuantumTaskResult getQuantumTask(GetQuantumTaskRequest request)
AWSBraket
Retrieves the specified quantum task.
getQuantumTask
in interface AWSBraket
public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AWSBraket
Shows the tags associated with this resource.
listTagsForResource
in interface AWSBraket
public SearchDevicesResult searchDevices(SearchDevicesRequest request)
AWSBraket
Searches for devices using the specified filters.
searchDevices
in interface AWSBraket
public SearchJobsResult searchJobs(SearchJobsRequest request)
AWSBraket
Searches for Amazon Braket jobs that match the specified filter values.
searchJobs
in interface AWSBraket
public SearchQuantumTasksResult searchQuantumTasks(SearchQuantumTasksRequest request)
AWSBraket
Searches for tasks that match the specified filter values.
searchQuantumTasks
in interface AWSBraket
public TagResourceResult tagResource(TagResourceRequest request)
AWSBraket
Add a tag to the specified resource.
tagResource
in interface AWSBraket
public UntagResourceResult untagResource(UntagResourceRequest request)
AWSBraket
Remove tags from a resource.
untagResource
in interface AWSBraket
public void shutdown()
AWSBraket
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AWSBraket
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.
getCachedResponseMetadata
in interface AWSBraket
request
- The originally executed request.