Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Braket

import { Braket } from "https://aws-api.deno.dev/v0.4/services/braket.ts?docs=full";
class Braket {
constructor(apiFactory: client.ApiFactory);
async cancelJob(params: CancelJobRequest, opts?: client.RequestOptions): Promise<CancelJobResponse>;
async cancelQuantumTask(params: CancelQuantumTaskRequest, opts?: client.RequestOptions): Promise<CancelQuantumTaskResponse>;
async createJob(params: CreateJobRequest, opts?: client.RequestOptions): Promise<CreateJobResponse>;
async createQuantumTask(params: CreateQuantumTaskRequest, opts?: client.RequestOptions): Promise<CreateQuantumTaskResponse>;
async getDevice(params: GetDeviceRequest, opts?: client.RequestOptions): Promise<GetDeviceResponse>;
async getJob(params: GetJobRequest, opts?: client.RequestOptions): Promise<GetJobResponse>;
async getQuantumTask(params: GetQuantumTaskRequest, opts?: client.RequestOptions): Promise<GetQuantumTaskResponse>;
async listTagsForResource(params: ListTagsForResourceRequest, opts?: client.RequestOptions): Promise<ListTagsForResourceResponse>;
async searchDevices(params: SearchDevicesRequest, opts?: client.RequestOptions): Promise<SearchDevicesResponse>;
async searchJobs(params: SearchJobsRequest, opts?: client.RequestOptions): Promise<SearchJobsResponse>;
async searchQuantumTasks(params: SearchQuantumTasksRequest, opts?: client.RequestOptions): Promise<SearchQuantumTasksResponse>;
async tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new Braket(apiFactory: client.ApiFactory)
[src]

§Methods

§

Cancels an Amazon Braket job.

§

Cancels the specified task.

§

Creates an Amazon Braket job.

§

Creates a quantum task.

§

Retrieves the devices available in Amazon Braket.

Note: 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.

§
getJob(params: GetJobRequest, opts?: client.RequestOptions): Promise<GetJobResponse>
[src]

Retrieves the specified Amazon Braket job.

§

Retrieves the specified quantum task.

§

Shows the tags associated with this resource.

§

Searches for devices using the specified filters.

§

Searches for Amazon Braket jobs that match the specified filter values.

§

Searches for tasks that match the specified filter values.

§
tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

Add a tag to the specified resource.

§
untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

Remove tags from a resource.

§Static Properties