@datafire/amazonaws_braket
v5.0.0
Published
DataFire integration for Braket
Downloads
4
Readme
@datafire/amazonaws_braket
Client library for Braket
Installation and Usage
npm install --save @datafire/amazonaws_braket
let amazonaws_braket = require('@datafire/amazonaws_braket').create({
accessKeyId: "",
secretAccessKey: "",
region: ""
});
.then(data => {
console.log(data);
});
Description
The Amazon Braket API Reference provides information about the operations and structures supported in Amazon Braket.
Actions
GetDevice
amazonaws_braket.GetDevice({
"deviceArn": ""
}, context)
Input
- input
object
- deviceArn required
string
- deviceArn required
Output
- output GetDeviceResponse
SearchDevices
amazonaws_braket.SearchDevices({
"filters": []
}, context)
Input
- input
object
- maxResults
string
- nextToken
string
- filters required
array
: The filter values to use to search for a device.- items SearchDevicesFilter
- maxResults
integer
: The maximum number of results to return in the response. - nextToken
string
: A token used for pagination of results returned in the response. Use the token returned from the previous request continue results where the previous request ended.
- maxResults
Output
- output SearchDevicesResponse
CreateQuantumTask
amazonaws_braket.CreateQuantumTask({
"action": "",
"clientToken": "",
"deviceArn": "",
"outputS3Bucket": "",
"outputS3KeyPrefix": "",
"shots": 0
}, context)
Input
- input
object
- tags
object
: Tags to be added to the quantum task you're creating. - action required
string
: The action associated with the task. - clientToken required
string
: The client token associated with the request. - deviceArn required
string
: The ARN of the device to run the task on. - deviceParameters
string
: The parameters for the device to run the task on. - outputS3Bucket required
string
: The S3 bucket to store task result files in. - outputS3KeyPrefix required
string
: The key prefix for the location in the S3 bucket to store task results in. - shots required
integer
: The number of shots to use for the task.
- tags
Output
Output schema unknown
GetQuantumTask
amazonaws_braket.GetQuantumTask({
"quantumTaskArn": ""
}, context)
Input
- input
object
- quantumTaskArn required
string
- quantumTaskArn required
Output
- output GetQuantumTaskResponse
CancelQuantumTask
amazonaws_braket.CancelQuantumTask({
"quantumTaskArn": "",
"clientToken": ""
}, context)
Input
- input
object
- quantumTaskArn required
string
- clientToken required
string
: The client token associated with the request.
- quantumTaskArn required
Output
- output CancelQuantumTaskResponse
SearchQuantumTasks
amazonaws_braket.SearchQuantumTasks({
"filters": []
}, context)
Input
- input
object
- maxResults
string
- nextToken
string
- filters required
array
: Array of SearchQuantumTasksFilter objects.- items SearchQuantumTasksFilter
- maxResults
integer
: Maximum number of results to return in the response. - nextToken
string
: A token used for pagination of results returned in the response. Use the token returned from the previous request continue results where the previous request ended.
- maxResults
Output
- output SearchQuantumTasksResponse
ListTagsForResource
amazonaws_braket.ListTagsForResource({
"resourceArn": ""
}, context)
Input
- input
object
- resourceArn required
string
- resourceArn required
Output
- output ListTagsForResourceResponse
TagResource
amazonaws_braket.TagResource({
"resourceArn": "",
"tags": {}
}, context)
Input
- input
object
- resourceArn required
string
- tags required
object
: Specify the tags to add to the resource.
- resourceArn required
Output
- output TagResourceResponse
UntagResource
amazonaws_braket.UntagResource({
"resourceArn": "",
"tagKeys": []
}, context)
Input
- input
object
- resourceArn required
string
- tagKeys required
array
- resourceArn required
Output
- output UntagResourceResponse
Definitions
AccessDeniedException
CancelQuantumTaskRequest
- CancelQuantumTaskRequest
object
- clientToken required
CancelQuantumTaskResponse
- CancelQuantumTaskResponse
object
- cancellationStatus required
- quantumTaskArn required
CancellationStatus
- CancellationStatus
string
(values: CANCELLING, CANCELLED)
ConflictException
CreateQuantumTaskRequest
- CreateQuantumTaskRequest
object
- tags
- action required
- clientToken required
- deviceArn required
- deviceParameters
- outputS3Bucket required
- outputS3KeyPrefix required
- shots required
CreateQuantumTaskRequestDeviceParametersString
- CreateQuantumTaskRequestDeviceParametersString
string
CreateQuantumTaskRequestOutputS3BucketString
- CreateQuantumTaskRequestOutputS3BucketString
string
CreateQuantumTaskRequestOutputS3KeyPrefixString
- CreateQuantumTaskRequestOutputS3KeyPrefixString
string
CreateQuantumTaskRequestShotsLong
- CreateQuantumTaskRequestShotsLong
integer
CreateQuantumTaskResponse
- CreateQuantumTaskResponse
object
- quantumTaskArn required
DeviceArn
- DeviceArn
string
DeviceOfflineException
DeviceStatus
- DeviceStatus
string
(values: ONLINE, OFFLINE)
DeviceSummary
- DeviceSummary
object
: Includes information about the device.- deviceArn required
- deviceName required
- deviceStatus required
- deviceType required
- providerName required
DeviceSummaryList
- DeviceSummaryList
array
- items DeviceSummary
DeviceType
- DeviceType
string
(values: QPU, SIMULATOR)
GetDeviceRequest
- GetDeviceRequest
object
GetDeviceResponse
- GetDeviceResponse
object
- deviceArn required
- deviceCapabilities required
- deviceName required
- deviceStatus required
- deviceType required
- providerName required
GetQuantumTaskRequest
- GetQuantumTaskRequest
object
GetQuantumTaskResponse
- GetQuantumTaskResponse
object
- tags
- createdAt required
- deviceArn required
- deviceParameters required
- endedAt
- failureReason
- outputS3Bucket required
- outputS3Directory required
- quantumTaskArn required
- shots required
- status required
InternalServiceException
JsonValue
- JsonValue
string
ListTagsForResourceRequest
- ListTagsForResourceRequest
object
ListTagsForResourceResponse
- ListTagsForResourceResponse
object
- tags
Long
- Long
integer
QuantumTaskArn
- QuantumTaskArn
string
QuantumTaskStatus
- QuantumTaskStatus
string
(values: CREATED, QUEUED, RUNNING, COMPLETED, FAILED, CANCELLING, CANCELLED)
QuantumTaskSummary
- QuantumTaskSummary
object
: Includes information about a quantum task.- tags
- createdAt required
- deviceArn required
- endedAt
- outputS3Bucket required
- outputS3Directory required
- quantumTaskArn required
- shots required
- status required
QuantumTaskSummaryList
- QuantumTaskSummaryList
array
- items QuantumTaskSummary
ResourceNotFoundException
SearchDevicesFilter
- SearchDevicesFilter
object
: The filter to use for searching devices.- name required
- values required
- items String256
SearchDevicesFilterNameString
- SearchDevicesFilterNameString
string
SearchDevicesFilterValuesList
- SearchDevicesFilterValuesList
array
- items String256
SearchDevicesRequest
- SearchDevicesRequest
object
- filters required
- items SearchDevicesFilter
- maxResults
- nextToken
- filters required
SearchDevicesRequestFiltersList
- SearchDevicesRequestFiltersList
array
- items SearchDevicesFilter
SearchDevicesRequestMaxResultsInteger
- SearchDevicesRequestMaxResultsInteger
integer
SearchDevicesResponse
- SearchDevicesResponse
object
- devices required
- items DeviceSummary
- nextToken
- devices required
SearchQuantumTasksFilter
- SearchQuantumTasksFilter
object
: A filter to use to search for tasks.- name required
- operator required
- values required
- items String256
SearchQuantumTasksFilterOperator
- SearchQuantumTasksFilterOperator
string
(values: LT, LTE, EQUAL, GT, GTE, BETWEEN)
SearchQuantumTasksFilterValuesList
- SearchQuantumTasksFilterValuesList
array
- items String256
SearchQuantumTasksRequest
- SearchQuantumTasksRequest
object
- filters required
- items SearchQuantumTasksFilter
- maxResults
- nextToken
- filters required
SearchQuantumTasksRequestFiltersList
- SearchQuantumTasksRequestFiltersList
array
- items SearchQuantumTasksFilter
SearchQuantumTasksRequestMaxResultsInteger
- SearchQuantumTasksRequestMaxResultsInteger
integer
SearchQuantumTasksResponse
- SearchQuantumTasksResponse
object
- nextToken
- quantumTasks required
- items QuantumTaskSummary
ServiceQuotaExceededException
String
- String
string
String256
- String256
string
String64
- String64
string
SyntheticTimestamp_date_time
- SyntheticTimestamp_date_time
string
TagKeys
- TagKeys
array
- items String
TagResourceRequest
- TagResourceRequest
object
- tags required
TagResourceResponse
- TagResourceResponse
object
TagsMap
- TagsMap
object
ThrottlingException
UntagResourceRequest
- UntagResourceRequest
object
UntagResourceResponse
- UntagResourceResponse
object