Class: AWS.Braket
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.Braket
- Identifier:
- braket
- API Version:
- 2019-09-01
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
The Amazon Braket API Reference provides information about the operations and structures supported in Amazon Braket.
Sending a Request Using Braket
var braket = new AWS.Braket();
braket.cancelQuantumTask(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Locking the API Version
In order to ensure that the Braket object uses this specific API, you can
construct the object by passing the apiVersion
option to the constructor:
var braket = new AWS.Braket({apiVersion: '2019-09-01'});
You can also set the API version globally in AWS.config.apiVersions
using
the braket service identifier:
AWS.config.apiVersions = {
braket: '2019-09-01',
// other service API versions
};
var braket = new AWS.Braket();
Constructor Summary collapse
-
new AWS.Braket(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary collapse
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary collapse
-
cancelQuantumTask(params = {}, callback) ⇒ AWS.Request
Cancels the specified task.
.
-
createQuantumTask(params = {}, callback) ⇒ AWS.Request
Creates a quantum task.
.
-
getDevice(params = {}, callback) ⇒ AWS.Request
Retrieves the devices available in Amazon Braket.
.
-
getQuantumTask(params = {}, callback) ⇒ AWS.Request
Retrieves the specified quantum task.
.
-
listTagsForResource(params = {}, callback) ⇒ AWS.Request
Shows the tags associated with this resource.
.
-
searchDevices(params = {}, callback) ⇒ AWS.Request
Searches for devices using the specified filters.
.
-
searchQuantumTasks(params = {}, callback) ⇒ AWS.Request
Searches for tasks that match the specified filter values.
.
-
tagResource(params = {}, callback) ⇒ AWS.Request
Add a tag to the specified resource.
.
-
untagResource(params = {}, callback) ⇒ AWS.Request
Remove tags from a resource.
.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
new AWS.Braket(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.
Property Details
Method Details
listTagsForResource(params = {}, callback) ⇒ AWS.Request
Shows the tags associated with this resource.
searchDevices(params = {}, callback) ⇒ AWS.Request
Searches for devices using the specified filters.