@aws-sdk/client-braket 3.298.0 → 3.300.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/CancelJobCommand.d.ts +3 -0
- package/dist-types/commands/CancelQuantumTaskCommand.d.ts +4 -0
- package/dist-types/commands/CreateJobCommand.d.ts +51 -0
- package/dist-types/commands/CreateQuantumTaskCommand.d.ts +13 -0
- package/dist-types/commands/GetDeviceCommand.d.ts +3 -0
- package/dist-types/commands/GetJobCommand.d.ts +3 -0
- package/dist-types/commands/GetQuantumTaskCommand.d.ts +3 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/SearchDevicesCommand.d.ts +12 -0
- package/dist-types/commands/SearchJobsCommand.d.ts +13 -0
- package/dist-types/commands/SearchQuantumTasksCommand.d.ts +13 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/package.json +12 -12
|
@@ -26,6 +26,9 @@ export interface CancelJobCommandOutput extends CancelJobResponse, __MetadataBea
|
|
|
26
26
|
* import { BraketClient, CancelJobCommand } from "@aws-sdk/client-braket"; // ES Modules import
|
|
27
27
|
* // const { BraketClient, CancelJobCommand } = require("@aws-sdk/client-braket"); // CommonJS import
|
|
28
28
|
* const client = new BraketClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* jobArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new CancelJobCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface CancelQuantumTaskCommandOutput extends CancelQuantumTaskRespons
|
|
|
26
26
|
* import { BraketClient, CancelQuantumTaskCommand } from "@aws-sdk/client-braket"; // ES Modules import
|
|
27
27
|
* // const { BraketClient, CancelQuantumTaskCommand } = require("@aws-sdk/client-braket"); // CommonJS import
|
|
28
28
|
* const client = new BraketClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* quantumTaskArn: "STRING_VALUE", // required
|
|
31
|
+
* clientToken: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new CancelQuantumTaskCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,57 @@ export interface CreateJobCommandOutput extends CreateJobResponse, __MetadataBea
|
|
|
26
26
|
* import { BraketClient, CreateJobCommand } from "@aws-sdk/client-braket"; // ES Modules import
|
|
27
27
|
* // const { BraketClient, CreateJobCommand } = require("@aws-sdk/client-braket"); // CommonJS import
|
|
28
28
|
* const client = new BraketClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* clientToken: "STRING_VALUE", // required
|
|
31
|
+
* algorithmSpecification: {
|
|
32
|
+
* scriptModeConfig: {
|
|
33
|
+
* entryPoint: "STRING_VALUE", // required
|
|
34
|
+
* s3Uri: "STRING_VALUE", // required
|
|
35
|
+
* compressionType: "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* containerImage: {
|
|
38
|
+
* uri: "STRING_VALUE", // required
|
|
39
|
+
* },
|
|
40
|
+
* },
|
|
41
|
+
* inputDataConfig: [
|
|
42
|
+
* {
|
|
43
|
+
* channelName: "STRING_VALUE", // required
|
|
44
|
+
* contentType: "STRING_VALUE",
|
|
45
|
+
* dataSource: {
|
|
46
|
+
* s3DataSource: {
|
|
47
|
+
* s3Uri: "STRING_VALUE", // required
|
|
48
|
+
* },
|
|
49
|
+
* },
|
|
50
|
+
* },
|
|
51
|
+
* ],
|
|
52
|
+
* outputDataConfig: {
|
|
53
|
+
* kmsKeyId: "STRING_VALUE",
|
|
54
|
+
* s3Path: "STRING_VALUE", // required
|
|
55
|
+
* },
|
|
56
|
+
* checkpointConfig: {
|
|
57
|
+
* localPath: "STRING_VALUE",
|
|
58
|
+
* s3Uri: "STRING_VALUE", // required
|
|
59
|
+
* },
|
|
60
|
+
* jobName: "STRING_VALUE", // required
|
|
61
|
+
* roleArn: "STRING_VALUE", // required
|
|
62
|
+
* stoppingCondition: {
|
|
63
|
+
* maxRuntimeInSeconds: Number("int"),
|
|
64
|
+
* },
|
|
65
|
+
* instanceConfig: {
|
|
66
|
+
* instanceType: "STRING_VALUE", // required
|
|
67
|
+
* volumeSizeInGb: Number("int"), // required
|
|
68
|
+
* instanceCount: Number("int"),
|
|
69
|
+
* },
|
|
70
|
+
* hyperParameters: {
|
|
71
|
+
* "<keys>": "STRING_VALUE",
|
|
72
|
+
* },
|
|
73
|
+
* deviceConfig: {
|
|
74
|
+
* device: "STRING_VALUE", // required
|
|
75
|
+
* },
|
|
76
|
+
* tags: {
|
|
77
|
+
* "<keys>": "STRING_VALUE",
|
|
78
|
+
* },
|
|
79
|
+
* };
|
|
29
80
|
* const command = new CreateJobCommand(input);
|
|
30
81
|
* const response = await client.send(command);
|
|
31
82
|
* ```
|
|
@@ -26,6 +26,19 @@ export interface CreateQuantumTaskCommandOutput extends CreateQuantumTaskRespons
|
|
|
26
26
|
* import { BraketClient, CreateQuantumTaskCommand } from "@aws-sdk/client-braket"; // ES Modules import
|
|
27
27
|
* // const { BraketClient, CreateQuantumTaskCommand } = require("@aws-sdk/client-braket"); // CommonJS import
|
|
28
28
|
* const client = new BraketClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* clientToken: "STRING_VALUE", // required
|
|
31
|
+
* deviceArn: "STRING_VALUE", // required
|
|
32
|
+
* deviceParameters: "STRING_VALUE",
|
|
33
|
+
* shots: Number("long"), // required
|
|
34
|
+
* outputS3Bucket: "STRING_VALUE", // required
|
|
35
|
+
* outputS3KeyPrefix: "STRING_VALUE", // required
|
|
36
|
+
* action: "STRING_VALUE", // required
|
|
37
|
+
* tags: {
|
|
38
|
+
* "<keys>": "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* jobToken: "STRING_VALUE",
|
|
41
|
+
* };
|
|
29
42
|
* const command = new CreateQuantumTaskCommand(input);
|
|
30
43
|
* const response = await client.send(command);
|
|
31
44
|
* ```
|
|
@@ -35,6 +35,9 @@ export interface GetDeviceCommandOutput extends GetDeviceResponse, __MetadataBea
|
|
|
35
35
|
* import { BraketClient, GetDeviceCommand } from "@aws-sdk/client-braket"; // ES Modules import
|
|
36
36
|
* // const { BraketClient, GetDeviceCommand } = require("@aws-sdk/client-braket"); // CommonJS import
|
|
37
37
|
* const client = new BraketClient(config);
|
|
38
|
+
* const input = {
|
|
39
|
+
* deviceArn: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
38
41
|
* const command = new GetDeviceCommand(input);
|
|
39
42
|
* const response = await client.send(command);
|
|
40
43
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetJobCommandOutput extends GetJobResponse, __MetadataBearer {
|
|
|
26
26
|
* import { BraketClient, GetJobCommand } from "@aws-sdk/client-braket"; // ES Modules import
|
|
27
27
|
* // const { BraketClient, GetJobCommand } = require("@aws-sdk/client-braket"); // CommonJS import
|
|
28
28
|
* const client = new BraketClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* jobArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetJobCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetQuantumTaskCommandOutput extends GetQuantumTaskResponse, __M
|
|
|
26
26
|
* import { BraketClient, GetQuantumTaskCommand } from "@aws-sdk/client-braket"; // ES Modules import
|
|
27
27
|
* // const { BraketClient, GetQuantumTaskCommand } = require("@aws-sdk/client-braket"); // CommonJS import
|
|
28
28
|
* const client = new BraketClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* quantumTaskArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetQuantumTaskCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
26
|
* import { BraketClient, ListTagsForResourceCommand } from "@aws-sdk/client-braket"; // ES Modules import
|
|
27
27
|
* // const { BraketClient, ListTagsForResourceCommand } = require("@aws-sdk/client-braket"); // CommonJS import
|
|
28
28
|
* const client = new BraketClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,18 @@ export interface SearchDevicesCommandOutput extends SearchDevicesResponse, __Met
|
|
|
26
26
|
* import { BraketClient, SearchDevicesCommand } from "@aws-sdk/client-braket"; // ES Modules import
|
|
27
27
|
* // const { BraketClient, SearchDevicesCommand } = require("@aws-sdk/client-braket"); // CommonJS import
|
|
28
28
|
* const client = new BraketClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* nextToken: "STRING_VALUE",
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* filters: [ // required
|
|
33
|
+
* {
|
|
34
|
+
* name: "STRING_VALUE", // required
|
|
35
|
+
* values: [ // required
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* },
|
|
39
|
+
* ],
|
|
40
|
+
* };
|
|
29
41
|
* const command = new SearchDevicesCommand(input);
|
|
30
42
|
* const response = await client.send(command);
|
|
31
43
|
* ```
|
|
@@ -26,6 +26,19 @@ export interface SearchJobsCommandOutput extends SearchJobsResponse, __MetadataB
|
|
|
26
26
|
* import { BraketClient, SearchJobsCommand } from "@aws-sdk/client-braket"; // ES Modules import
|
|
27
27
|
* // const { BraketClient, SearchJobsCommand } = require("@aws-sdk/client-braket"); // CommonJS import
|
|
28
28
|
* const client = new BraketClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* nextToken: "STRING_VALUE",
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* filters: [ // required
|
|
33
|
+
* {
|
|
34
|
+
* name: "STRING_VALUE", // required
|
|
35
|
+
* values: [ // required
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* operator: "STRING_VALUE", // required
|
|
39
|
+
* },
|
|
40
|
+
* ],
|
|
41
|
+
* };
|
|
29
42
|
* const command = new SearchJobsCommand(input);
|
|
30
43
|
* const response = await client.send(command);
|
|
31
44
|
* ```
|
|
@@ -26,6 +26,19 @@ export interface SearchQuantumTasksCommandOutput extends SearchQuantumTasksRespo
|
|
|
26
26
|
* import { BraketClient, SearchQuantumTasksCommand } from "@aws-sdk/client-braket"; // ES Modules import
|
|
27
27
|
* // const { BraketClient, SearchQuantumTasksCommand } = require("@aws-sdk/client-braket"); // CommonJS import
|
|
28
28
|
* const client = new BraketClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* nextToken: "STRING_VALUE",
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* filters: [ // required
|
|
33
|
+
* {
|
|
34
|
+
* name: "STRING_VALUE", // required
|
|
35
|
+
* values: [ // required
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* operator: "STRING_VALUE", // required
|
|
39
|
+
* },
|
|
40
|
+
* ],
|
|
41
|
+
* };
|
|
29
42
|
* const command = new SearchQuantumTasksCommand(input);
|
|
30
43
|
* const response = await client.send(command);
|
|
31
44
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
26
26
|
* import { BraketClient, TagResourceCommand } from "@aws-sdk/client-braket"; // ES Modules import
|
|
27
27
|
* // const { BraketClient, TagResourceCommand } = require("@aws-sdk/client-braket"); // CommonJS import
|
|
28
28
|
* const client = new BraketClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* tags: { // required
|
|
32
|
+
* "<keys>": "STRING_VALUE",
|
|
33
|
+
* },
|
|
34
|
+
* };
|
|
29
35
|
* const command = new TagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
26
26
|
* import { BraketClient, UntagResourceCommand } from "@aws-sdk/client-braket"; // ES Modules import
|
|
27
27
|
* // const { BraketClient, UntagResourceCommand } = require("@aws-sdk/client-braket"); // CommonJS import
|
|
28
28
|
* const client = new BraketClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* tagKeys: [ // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UntagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-braket",
|
|
3
3
|
"description": "AWS SDK for JavaScript Braket Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.300.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,23 +21,23 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
30
30
|
"@aws-sdk/middleware-content-length": "3.296.0",
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.299.0",
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0",
|
|
57
57
|
"uuid": "^8.3.2"
|