npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@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

Output

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.
    • 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.

Output

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.

Output

Output schema unknown

GetQuantumTask

amazonaws_braket.GetQuantumTask({
  "quantumTaskArn": ""
}, context)

Input

  • input object
    • quantumTaskArn required string

Output

CancelQuantumTask

amazonaws_braket.CancelQuantumTask({
  "quantumTaskArn": "",
  "clientToken": ""
}, context)

Input

  • input object
    • quantumTaskArn required string
    • clientToken required string: The client token associated with the request.

Output

SearchQuantumTasks

amazonaws_braket.SearchQuantumTasks({
  "filters": []
}, context)

Input

  • input object
    • maxResults string
    • nextToken string
    • filters required array: Array of SearchQuantumTasksFilter objects.
    • 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.

Output

ListTagsForResource

amazonaws_braket.ListTagsForResource({
  "resourceArn": ""
}, context)

Input

  • input object
    • resourceArn required string

Output

TagResource

amazonaws_braket.TagResource({
  "resourceArn": "",
  "tags": {}
}, context)

Input

  • input object
    • resourceArn required string
    • tags required object: Specify the tags to add to the resource.

Output

UntagResource

amazonaws_braket.UntagResource({
  "resourceArn": "",
  "tagKeys": []
}, context)

Input

  • input object
    • resourceArn required string
    • tagKeys required array

Output

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

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

ResourceNotFoundException

SearchDevicesFilter

  • SearchDevicesFilter object: The filter to use for searching devices.

SearchDevicesFilterNameString

  • SearchDevicesFilterNameString string

SearchDevicesFilterValuesList

  • SearchDevicesFilterValuesList array

SearchDevicesRequest

SearchDevicesRequestFiltersList

SearchDevicesRequestMaxResultsInteger

  • SearchDevicesRequestMaxResultsInteger integer

SearchDevicesResponse

  • SearchDevicesResponse object

SearchQuantumTasksFilter

  • SearchQuantumTasksFilter object: A filter to use to search for tasks.
    • name required
    • operator required
    • values required

SearchQuantumTasksFilterOperator

  • SearchQuantumTasksFilterOperator string (values: LT, LTE, EQUAL, GT, GTE, BETWEEN)

SearchQuantumTasksFilterValuesList

  • SearchQuantumTasksFilterValuesList array

SearchQuantumTasksRequest

SearchQuantumTasksRequestFiltersList

SearchQuantumTasksRequestMaxResultsInteger

  • SearchQuantumTasksRequestMaxResultsInteger integer

SearchQuantumTasksResponse

ServiceQuotaExceededException

String

  • String string

String256

  • String256 string

String64

  • String64 string

SyntheticTimestamp_date_time

  • SyntheticTimestamp_date_time string

TagKeys

TagResourceRequest

  • TagResourceRequest object
    • tags required

TagResourceResponse

  • TagResourceResponse object

TagsMap

  • TagsMap object

ThrottlingException

UntagResourceRequest

  • UntagResourceRequest object

UntagResourceResponse

  • UntagResourceResponse object

ValidationException