@aws-sdk/client-braket 3.42.0 → 3.43.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/CHANGELOG.md +11 -0
- package/README.md +7 -7
- package/dist-cjs/Braket.js +60 -0
- package/dist-cjs/commands/CancelJobCommand.js +36 -0
- package/dist-cjs/commands/CreateJobCommand.js +36 -0
- package/dist-cjs/commands/GetJobCommand.js +36 -0
- package/dist-cjs/commands/SearchJobsCommand.js +36 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/models/models_0.js +237 -24
- package/dist-cjs/pagination/SearchJobsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +824 -25
- package/dist-es/Braket.js +60 -0
- package/dist-es/commands/CancelJobCommand.js +39 -0
- package/dist-es/commands/CreateJobCommand.js +39 -0
- package/dist-es/commands/GetJobCommand.js +39 -0
- package/dist-es/commands/SearchJobsCommand.js +39 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +189 -21
- package/dist-es/pagination/SearchJobsPaginator.js +74 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +887 -66
- package/dist-types/Braket.d.ts +28 -0
- package/dist-types/BraketClient.d.ts +6 -2
- package/dist-types/commands/CancelJobCommand.d.ts +35 -0
- package/dist-types/commands/CreateJobCommand.d.ts +35 -0
- package/dist-types/commands/GetJobCommand.d.ts +35 -0
- package/dist-types/commands/SearchJobsCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +674 -37
- package/dist-types/pagination/SearchJobsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +12 -0
- package/dist-types/ts3.4/Braket.d.ts +20 -0
- package/dist-types/ts3.4/BraketClient.d.ts +6 -2
- package/dist-types/ts3.4/commands/CancelJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SearchJobsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +413 -30
- package/dist-types/ts3.4/pagination/SearchJobsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 11/28/2021 ([#3072](https://github.com/aws/aws-sdk-js-v3/issues/3072)) ([2ad1622](https://github.com/aws/aws-sdk-js-v3/commit/2ad1622ba8586b926fe508055211803bb29e3976))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-braket
|
package/README.md
CHANGED
|
@@ -24,16 +24,16 @@ using your favorite package manager:
|
|
|
24
24
|
|
|
25
25
|
The AWS SDK is modulized by clients and commands.
|
|
26
26
|
To send a request, you only need to import the `BraketClient` and
|
|
27
|
-
the commands you need, for example `
|
|
27
|
+
the commands you need, for example `CancelJobCommand`:
|
|
28
28
|
|
|
29
29
|
```js
|
|
30
30
|
// ES5 example
|
|
31
|
-
const { BraketClient,
|
|
31
|
+
const { BraketClient, CancelJobCommand } = require("@aws-sdk/client-braket");
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
```ts
|
|
35
35
|
// ES6+ example
|
|
36
|
-
import { BraketClient,
|
|
36
|
+
import { BraketClient, CancelJobCommand } from "@aws-sdk/client-braket";
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
### Usage
|
|
@@ -52,7 +52,7 @@ const client = new BraketClient({ region: "REGION" });
|
|
|
52
52
|
const params = {
|
|
53
53
|
/** input parameters */
|
|
54
54
|
};
|
|
55
|
-
const command = new
|
|
55
|
+
const command = new CancelJobCommand(params);
|
|
56
56
|
```
|
|
57
57
|
|
|
58
58
|
#### Async/await
|
|
@@ -131,7 +131,7 @@ const client = new AWS.Braket({ region: "REGION" });
|
|
|
131
131
|
|
|
132
132
|
// async/await.
|
|
133
133
|
try {
|
|
134
|
-
const data = await client.
|
|
134
|
+
const data = await client.cancelJob(params);
|
|
135
135
|
// process data.
|
|
136
136
|
} catch (error) {
|
|
137
137
|
// error handling.
|
|
@@ -139,7 +139,7 @@ try {
|
|
|
139
139
|
|
|
140
140
|
// Promises.
|
|
141
141
|
client
|
|
142
|
-
.
|
|
142
|
+
.cancelJob(params)
|
|
143
143
|
.then((data) => {
|
|
144
144
|
// process data.
|
|
145
145
|
})
|
|
@@ -148,7 +148,7 @@ client
|
|
|
148
148
|
});
|
|
149
149
|
|
|
150
150
|
// callbacks.
|
|
151
|
-
client.
|
|
151
|
+
client.cancelJob(params, (err, data) => {
|
|
152
152
|
// proccess err and data.
|
|
153
153
|
});
|
|
154
154
|
```
|
package/dist-cjs/Braket.js
CHANGED
|
@@ -2,16 +2,34 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Braket = void 0;
|
|
4
4
|
const BraketClient_1 = require("./BraketClient");
|
|
5
|
+
const CancelJobCommand_1 = require("./commands/CancelJobCommand");
|
|
5
6
|
const CancelQuantumTaskCommand_1 = require("./commands/CancelQuantumTaskCommand");
|
|
7
|
+
const CreateJobCommand_1 = require("./commands/CreateJobCommand");
|
|
6
8
|
const CreateQuantumTaskCommand_1 = require("./commands/CreateQuantumTaskCommand");
|
|
7
9
|
const GetDeviceCommand_1 = require("./commands/GetDeviceCommand");
|
|
10
|
+
const GetJobCommand_1 = require("./commands/GetJobCommand");
|
|
8
11
|
const GetQuantumTaskCommand_1 = require("./commands/GetQuantumTaskCommand");
|
|
9
12
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
10
13
|
const SearchDevicesCommand_1 = require("./commands/SearchDevicesCommand");
|
|
14
|
+
const SearchJobsCommand_1 = require("./commands/SearchJobsCommand");
|
|
11
15
|
const SearchQuantumTasksCommand_1 = require("./commands/SearchQuantumTasksCommand");
|
|
12
16
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
13
17
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
14
18
|
class Braket extends BraketClient_1.BraketClient {
|
|
19
|
+
cancelJob(args, optionsOrCb, cb) {
|
|
20
|
+
const command = new CancelJobCommand_1.CancelJobCommand(args);
|
|
21
|
+
if (typeof optionsOrCb === "function") {
|
|
22
|
+
this.send(command, optionsOrCb);
|
|
23
|
+
}
|
|
24
|
+
else if (typeof cb === "function") {
|
|
25
|
+
if (typeof optionsOrCb !== "object")
|
|
26
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
27
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
28
|
+
}
|
|
29
|
+
else {
|
|
30
|
+
return this.send(command, optionsOrCb);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
15
33
|
cancelQuantumTask(args, optionsOrCb, cb) {
|
|
16
34
|
const command = new CancelQuantumTaskCommand_1.CancelQuantumTaskCommand(args);
|
|
17
35
|
if (typeof optionsOrCb === "function") {
|
|
@@ -26,6 +44,20 @@ class Braket extends BraketClient_1.BraketClient {
|
|
|
26
44
|
return this.send(command, optionsOrCb);
|
|
27
45
|
}
|
|
28
46
|
}
|
|
47
|
+
createJob(args, optionsOrCb, cb) {
|
|
48
|
+
const command = new CreateJobCommand_1.CreateJobCommand(args);
|
|
49
|
+
if (typeof optionsOrCb === "function") {
|
|
50
|
+
this.send(command, optionsOrCb);
|
|
51
|
+
}
|
|
52
|
+
else if (typeof cb === "function") {
|
|
53
|
+
if (typeof optionsOrCb !== "object")
|
|
54
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
55
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
return this.send(command, optionsOrCb);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
29
61
|
createQuantumTask(args, optionsOrCb, cb) {
|
|
30
62
|
const command = new CreateQuantumTaskCommand_1.CreateQuantumTaskCommand(args);
|
|
31
63
|
if (typeof optionsOrCb === "function") {
|
|
@@ -54,6 +86,20 @@ class Braket extends BraketClient_1.BraketClient {
|
|
|
54
86
|
return this.send(command, optionsOrCb);
|
|
55
87
|
}
|
|
56
88
|
}
|
|
89
|
+
getJob(args, optionsOrCb, cb) {
|
|
90
|
+
const command = new GetJobCommand_1.GetJobCommand(args);
|
|
91
|
+
if (typeof optionsOrCb === "function") {
|
|
92
|
+
this.send(command, optionsOrCb);
|
|
93
|
+
}
|
|
94
|
+
else if (typeof cb === "function") {
|
|
95
|
+
if (typeof optionsOrCb !== "object")
|
|
96
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
97
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
98
|
+
}
|
|
99
|
+
else {
|
|
100
|
+
return this.send(command, optionsOrCb);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
57
103
|
getQuantumTask(args, optionsOrCb, cb) {
|
|
58
104
|
const command = new GetQuantumTaskCommand_1.GetQuantumTaskCommand(args);
|
|
59
105
|
if (typeof optionsOrCb === "function") {
|
|
@@ -96,6 +142,20 @@ class Braket extends BraketClient_1.BraketClient {
|
|
|
96
142
|
return this.send(command, optionsOrCb);
|
|
97
143
|
}
|
|
98
144
|
}
|
|
145
|
+
searchJobs(args, optionsOrCb, cb) {
|
|
146
|
+
const command = new SearchJobsCommand_1.SearchJobsCommand(args);
|
|
147
|
+
if (typeof optionsOrCb === "function") {
|
|
148
|
+
this.send(command, optionsOrCb);
|
|
149
|
+
}
|
|
150
|
+
else if (typeof cb === "function") {
|
|
151
|
+
if (typeof optionsOrCb !== "object")
|
|
152
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
153
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
154
|
+
}
|
|
155
|
+
else {
|
|
156
|
+
return this.send(command, optionsOrCb);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
99
159
|
searchQuantumTasks(args, optionsOrCb, cb) {
|
|
100
160
|
const command = new SearchQuantumTasksCommand_1.SearchQuantumTasksCommand(args);
|
|
101
161
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CancelJobCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class CancelJobCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "BraketClient";
|
|
18
|
+
const commandName = "CancelJobCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CancelJobRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CancelJobResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1CancelJobCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1CancelJobCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CancelJobCommand = CancelJobCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateJobCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class CreateJobCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "BraketClient";
|
|
18
|
+
const commandName = "CreateJobCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreateJobRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CreateJobResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1CreateJobCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1CreateJobCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CreateJobCommand = CreateJobCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetJobCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class GetJobCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "BraketClient";
|
|
18
|
+
const commandName = "GetJobCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetJobRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.GetJobResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1GetJobCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1GetJobCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.GetJobCommand = GetJobCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SearchJobsCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class SearchJobsCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "BraketClient";
|
|
18
|
+
const commandName = "SearchJobsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.SearchJobsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.SearchJobsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1SearchJobsCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1SearchJobsCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.SearchJobsCommand = SearchJobsCommand;
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./CancelJobCommand"), exports);
|
|
4
5
|
tslib_1.__exportStar(require("./CancelQuantumTaskCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./CreateJobCommand"), exports);
|
|
5
7
|
tslib_1.__exportStar(require("./CreateQuantumTaskCommand"), exports);
|
|
6
8
|
tslib_1.__exportStar(require("./GetDeviceCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./GetJobCommand"), exports);
|
|
7
10
|
tslib_1.__exportStar(require("./GetQuantumTaskCommand"), exports);
|
|
8
11
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
9
12
|
tslib_1.__exportStar(require("./SearchDevicesCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./SearchJobsCommand"), exports);
|
|
10
14
|
tslib_1.__exportStar(require("./SearchQuantumTasksCommand"), exports);
|
|
11
15
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
12
16
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
@@ -1,24 +1,36 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.CreateQuantumTaskResponse = exports.CreateQuantumTaskRequest = exports.CancelQuantumTaskResponse = exports.CancelQuantumTaskRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.SearchJobsResponse = exports.JobSummary = exports.SearchJobsRequest = exports.SearchJobsFilter = exports.SearchJobsFilterOperator = exports.GetJobResponse = exports.JobPrimaryStatus = exports.JobEventDetails = exports.JobEventType = exports.GetJobRequest = exports.ServiceQuotaExceededException = exports.DeviceRetiredException = exports.CreateJobResponse = exports.CreateJobRequest = exports.JobStoppingCondition = exports.JobOutputDataConfig = exports.InstanceConfig = exports._InstanceType = exports.InputFileConfig = exports.DataSource = exports.S3DataSource = exports.DeviceConfig = exports.JobCheckpointConfig = exports.ConflictException = exports.CancelJobResponse = exports.CancellationStatus = exports.CancelJobRequest = exports.SearchDevicesResponse = exports.DeviceSummary = exports.SearchDevicesRequest = exports.SearchDevicesFilter = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServiceException = exports.GetDeviceResponse = exports.DeviceType = exports.DeviceStatus = exports.GetDeviceRequest = exports.AlgorithmSpecification = exports.ScriptModeConfig = exports.CompressionType = exports.ContainerImage = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.SearchQuantumTasksResponse = exports.QuantumTaskSummary = exports.SearchQuantumTasksRequest = exports.SearchQuantumTasksFilter = exports.SearchQuantumTasksFilterOperator = exports.GetQuantumTaskResponse = exports.QuantumTaskStatus = exports.GetQuantumTaskRequest = exports.DeviceOfflineException = void 0;
|
|
4
5
|
var AccessDeniedException;
|
|
5
6
|
(function (AccessDeniedException) {
|
|
6
7
|
AccessDeniedException.filterSensitiveLog = (obj) => ({
|
|
7
8
|
...obj,
|
|
8
9
|
});
|
|
9
10
|
})(AccessDeniedException = exports.AccessDeniedException || (exports.AccessDeniedException = {}));
|
|
10
|
-
var
|
|
11
|
-
(function (
|
|
12
|
-
|
|
11
|
+
var ContainerImage;
|
|
12
|
+
(function (ContainerImage) {
|
|
13
|
+
ContainerImage.filterSensitiveLog = (obj) => ({
|
|
13
14
|
...obj,
|
|
14
15
|
});
|
|
15
|
-
})(
|
|
16
|
-
var
|
|
17
|
-
(function (
|
|
18
|
-
|
|
16
|
+
})(ContainerImage = exports.ContainerImage || (exports.ContainerImage = {}));
|
|
17
|
+
var CompressionType;
|
|
18
|
+
(function (CompressionType) {
|
|
19
|
+
CompressionType["GZIP"] = "GZIP";
|
|
20
|
+
CompressionType["NONE"] = "NONE";
|
|
21
|
+
})(CompressionType = exports.CompressionType || (exports.CompressionType = {}));
|
|
22
|
+
var ScriptModeConfig;
|
|
23
|
+
(function (ScriptModeConfig) {
|
|
24
|
+
ScriptModeConfig.filterSensitiveLog = (obj) => ({
|
|
19
25
|
...obj,
|
|
20
26
|
});
|
|
21
|
-
})(
|
|
27
|
+
})(ScriptModeConfig = exports.ScriptModeConfig || (exports.ScriptModeConfig = {}));
|
|
28
|
+
var AlgorithmSpecification;
|
|
29
|
+
(function (AlgorithmSpecification) {
|
|
30
|
+
AlgorithmSpecification.filterSensitiveLog = (obj) => ({
|
|
31
|
+
...obj,
|
|
32
|
+
});
|
|
33
|
+
})(AlgorithmSpecification = exports.AlgorithmSpecification || (exports.AlgorithmSpecification = {}));
|
|
22
34
|
var GetDeviceRequest;
|
|
23
35
|
(function (GetDeviceRequest) {
|
|
24
36
|
GetDeviceRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -90,6 +102,218 @@ var SearchDevicesResponse;
|
|
|
90
102
|
...obj,
|
|
91
103
|
});
|
|
92
104
|
})(SearchDevicesResponse = exports.SearchDevicesResponse || (exports.SearchDevicesResponse = {}));
|
|
105
|
+
var CancelJobRequest;
|
|
106
|
+
(function (CancelJobRequest) {
|
|
107
|
+
CancelJobRequest.filterSensitiveLog = (obj) => ({
|
|
108
|
+
...obj,
|
|
109
|
+
});
|
|
110
|
+
})(CancelJobRequest = exports.CancelJobRequest || (exports.CancelJobRequest = {}));
|
|
111
|
+
var CancellationStatus;
|
|
112
|
+
(function (CancellationStatus) {
|
|
113
|
+
CancellationStatus["CANCELLED"] = "CANCELLED";
|
|
114
|
+
CancellationStatus["CANCELLING"] = "CANCELLING";
|
|
115
|
+
})(CancellationStatus = exports.CancellationStatus || (exports.CancellationStatus = {}));
|
|
116
|
+
var CancelJobResponse;
|
|
117
|
+
(function (CancelJobResponse) {
|
|
118
|
+
CancelJobResponse.filterSensitiveLog = (obj) => ({
|
|
119
|
+
...obj,
|
|
120
|
+
});
|
|
121
|
+
})(CancelJobResponse = exports.CancelJobResponse || (exports.CancelJobResponse = {}));
|
|
122
|
+
var ConflictException;
|
|
123
|
+
(function (ConflictException) {
|
|
124
|
+
ConflictException.filterSensitiveLog = (obj) => ({
|
|
125
|
+
...obj,
|
|
126
|
+
});
|
|
127
|
+
})(ConflictException = exports.ConflictException || (exports.ConflictException = {}));
|
|
128
|
+
var JobCheckpointConfig;
|
|
129
|
+
(function (JobCheckpointConfig) {
|
|
130
|
+
JobCheckpointConfig.filterSensitiveLog = (obj) => ({
|
|
131
|
+
...obj,
|
|
132
|
+
});
|
|
133
|
+
})(JobCheckpointConfig = exports.JobCheckpointConfig || (exports.JobCheckpointConfig = {}));
|
|
134
|
+
var DeviceConfig;
|
|
135
|
+
(function (DeviceConfig) {
|
|
136
|
+
DeviceConfig.filterSensitiveLog = (obj) => ({
|
|
137
|
+
...obj,
|
|
138
|
+
});
|
|
139
|
+
})(DeviceConfig = exports.DeviceConfig || (exports.DeviceConfig = {}));
|
|
140
|
+
var S3DataSource;
|
|
141
|
+
(function (S3DataSource) {
|
|
142
|
+
S3DataSource.filterSensitiveLog = (obj) => ({
|
|
143
|
+
...obj,
|
|
144
|
+
});
|
|
145
|
+
})(S3DataSource = exports.S3DataSource || (exports.S3DataSource = {}));
|
|
146
|
+
var DataSource;
|
|
147
|
+
(function (DataSource) {
|
|
148
|
+
DataSource.filterSensitiveLog = (obj) => ({
|
|
149
|
+
...obj,
|
|
150
|
+
});
|
|
151
|
+
})(DataSource = exports.DataSource || (exports.DataSource = {}));
|
|
152
|
+
var InputFileConfig;
|
|
153
|
+
(function (InputFileConfig) {
|
|
154
|
+
InputFileConfig.filterSensitiveLog = (obj) => ({
|
|
155
|
+
...obj,
|
|
156
|
+
});
|
|
157
|
+
})(InputFileConfig = exports.InputFileConfig || (exports.InputFileConfig = {}));
|
|
158
|
+
var _InstanceType;
|
|
159
|
+
(function (_InstanceType) {
|
|
160
|
+
_InstanceType["ML_C4_2XLARGE"] = "ml.c4.2xlarge";
|
|
161
|
+
_InstanceType["ML_C4_4XLARGE"] = "ml.c4.4xlarge";
|
|
162
|
+
_InstanceType["ML_C4_8XLARGE"] = "ml.c4.8xlarge";
|
|
163
|
+
_InstanceType["ML_C4_XLARGE"] = "ml.c4.xlarge";
|
|
164
|
+
_InstanceType["ML_C5N_18XLARGE"] = "ml.c5n.18xlarge";
|
|
165
|
+
_InstanceType["ML_C5N_2XLARGE"] = "ml.c5n.2xlarge";
|
|
166
|
+
_InstanceType["ML_C5N_4XLARGE"] = "ml.c5n.4xlarge";
|
|
167
|
+
_InstanceType["ML_C5N_9XLARGE"] = "ml.c5n.9xlarge";
|
|
168
|
+
_InstanceType["ML_C5N_XLARGE"] = "ml.c5n.xlarge";
|
|
169
|
+
_InstanceType["ML_C5_18XLARGE"] = "ml.c5.18xlarge";
|
|
170
|
+
_InstanceType["ML_C5_2XLARGE"] = "ml.c5.2xlarge";
|
|
171
|
+
_InstanceType["ML_C5_4XLARGE"] = "ml.c5.4xlarge";
|
|
172
|
+
_InstanceType["ML_C5_9XLARGE"] = "ml.c5.9xlarge";
|
|
173
|
+
_InstanceType["ML_C5_XLARGE"] = "ml.c5.xlarge";
|
|
174
|
+
_InstanceType["ML_G4DN_12XLARGE"] = "ml.g4dn.12xlarge";
|
|
175
|
+
_InstanceType["ML_G4DN_16XLARGE"] = "ml.g4dn.16xlarge";
|
|
176
|
+
_InstanceType["ML_G4DN_2XLARGE"] = "ml.g4dn.2xlarge";
|
|
177
|
+
_InstanceType["ML_G4DN_4XLARGE"] = "ml.g4dn.4xlarge";
|
|
178
|
+
_InstanceType["ML_G4DN_8XLARGE"] = "ml.g4dn.8xlarge";
|
|
179
|
+
_InstanceType["ML_G4DN_XLARGE"] = "ml.g4dn.xlarge";
|
|
180
|
+
_InstanceType["ML_M4_10XLARGE"] = "ml.m4.10xlarge";
|
|
181
|
+
_InstanceType["ML_M4_16XLARGE"] = "ml.m4.16xlarge";
|
|
182
|
+
_InstanceType["ML_M4_2XLARGE"] = "ml.m4.2xlarge";
|
|
183
|
+
_InstanceType["ML_M4_4XLARGE"] = "ml.m4.4xlarge";
|
|
184
|
+
_InstanceType["ML_M4_XLARGE"] = "ml.m4.xlarge";
|
|
185
|
+
_InstanceType["ML_M5_12XLARGE"] = "ml.m5.12xlarge";
|
|
186
|
+
_InstanceType["ML_M5_24XLARGE"] = "ml.m5.24xlarge";
|
|
187
|
+
_InstanceType["ML_M5_2XLARGE"] = "ml.m5.2xlarge";
|
|
188
|
+
_InstanceType["ML_M5_4XLARGE"] = "ml.m5.4xlarge";
|
|
189
|
+
_InstanceType["ML_M5_LARGE"] = "ml.m5.large";
|
|
190
|
+
_InstanceType["ML_M5_XLARGE"] = "ml.m5.xlarge";
|
|
191
|
+
_InstanceType["ML_P2_16XLARGE"] = "ml.p2.16xlarge";
|
|
192
|
+
_InstanceType["ML_P2_8XLARGE"] = "ml.p2.8xlarge";
|
|
193
|
+
_InstanceType["ML_P2_XLARGE"] = "ml.p2.xlarge";
|
|
194
|
+
_InstanceType["ML_P3DN_24XLARGE"] = "ml.p3dn.24xlarge";
|
|
195
|
+
_InstanceType["ML_P3_16XLARGE"] = "ml.p3.16xlarge";
|
|
196
|
+
_InstanceType["ML_P3_2XLARGE"] = "ml.p3.2xlarge";
|
|
197
|
+
_InstanceType["ML_P3_8XLARGE"] = "ml.p3.8xlarge";
|
|
198
|
+
_InstanceType["ML_P4D_24XLARGE"] = "ml.p4d.24xlarge";
|
|
199
|
+
})(_InstanceType = exports._InstanceType || (exports._InstanceType = {}));
|
|
200
|
+
var InstanceConfig;
|
|
201
|
+
(function (InstanceConfig) {
|
|
202
|
+
InstanceConfig.filterSensitiveLog = (obj) => ({
|
|
203
|
+
...obj,
|
|
204
|
+
});
|
|
205
|
+
})(InstanceConfig = exports.InstanceConfig || (exports.InstanceConfig = {}));
|
|
206
|
+
var JobOutputDataConfig;
|
|
207
|
+
(function (JobOutputDataConfig) {
|
|
208
|
+
JobOutputDataConfig.filterSensitiveLog = (obj) => ({
|
|
209
|
+
...obj,
|
|
210
|
+
});
|
|
211
|
+
})(JobOutputDataConfig = exports.JobOutputDataConfig || (exports.JobOutputDataConfig = {}));
|
|
212
|
+
var JobStoppingCondition;
|
|
213
|
+
(function (JobStoppingCondition) {
|
|
214
|
+
JobStoppingCondition.filterSensitiveLog = (obj) => ({
|
|
215
|
+
...obj,
|
|
216
|
+
});
|
|
217
|
+
})(JobStoppingCondition = exports.JobStoppingCondition || (exports.JobStoppingCondition = {}));
|
|
218
|
+
var CreateJobRequest;
|
|
219
|
+
(function (CreateJobRequest) {
|
|
220
|
+
CreateJobRequest.filterSensitiveLog = (obj) => ({
|
|
221
|
+
...obj,
|
|
222
|
+
});
|
|
223
|
+
})(CreateJobRequest = exports.CreateJobRequest || (exports.CreateJobRequest = {}));
|
|
224
|
+
var CreateJobResponse;
|
|
225
|
+
(function (CreateJobResponse) {
|
|
226
|
+
CreateJobResponse.filterSensitiveLog = (obj) => ({
|
|
227
|
+
...obj,
|
|
228
|
+
});
|
|
229
|
+
})(CreateJobResponse = exports.CreateJobResponse || (exports.CreateJobResponse = {}));
|
|
230
|
+
var DeviceRetiredException;
|
|
231
|
+
(function (DeviceRetiredException) {
|
|
232
|
+
DeviceRetiredException.filterSensitiveLog = (obj) => ({
|
|
233
|
+
...obj,
|
|
234
|
+
});
|
|
235
|
+
})(DeviceRetiredException = exports.DeviceRetiredException || (exports.DeviceRetiredException = {}));
|
|
236
|
+
var ServiceQuotaExceededException;
|
|
237
|
+
(function (ServiceQuotaExceededException) {
|
|
238
|
+
ServiceQuotaExceededException.filterSensitiveLog = (obj) => ({
|
|
239
|
+
...obj,
|
|
240
|
+
});
|
|
241
|
+
})(ServiceQuotaExceededException = exports.ServiceQuotaExceededException || (exports.ServiceQuotaExceededException = {}));
|
|
242
|
+
var GetJobRequest;
|
|
243
|
+
(function (GetJobRequest) {
|
|
244
|
+
GetJobRequest.filterSensitiveLog = (obj) => ({
|
|
245
|
+
...obj,
|
|
246
|
+
});
|
|
247
|
+
})(GetJobRequest = exports.GetJobRequest || (exports.GetJobRequest = {}));
|
|
248
|
+
var JobEventType;
|
|
249
|
+
(function (JobEventType) {
|
|
250
|
+
JobEventType["CANCELLED"] = "CANCELLED";
|
|
251
|
+
JobEventType["COMPLETED"] = "COMPLETED";
|
|
252
|
+
JobEventType["DEPRIORITIZED_DUE_TO_INACTIVITY"] = "DEPRIORITIZED_DUE_TO_INACTIVITY";
|
|
253
|
+
JobEventType["DOWNLOADING_DATA"] = "DOWNLOADING_DATA";
|
|
254
|
+
JobEventType["FAILED"] = "FAILED";
|
|
255
|
+
JobEventType["MAX_RUNTIME_EXCEEDED"] = "MAX_RUNTIME_EXCEEDED";
|
|
256
|
+
JobEventType["QUEUED_FOR_EXECUTION"] = "QUEUED_FOR_EXECUTION";
|
|
257
|
+
JobEventType["RUNNING"] = "RUNNING";
|
|
258
|
+
JobEventType["STARTING_INSTANCE"] = "STARTING_INSTANCE";
|
|
259
|
+
JobEventType["UPLOADING_RESULTS"] = "UPLOADING_RESULTS";
|
|
260
|
+
JobEventType["WAITING_FOR_PRIORITY"] = "WAITING_FOR_PRIORITY";
|
|
261
|
+
})(JobEventType = exports.JobEventType || (exports.JobEventType = {}));
|
|
262
|
+
var JobEventDetails;
|
|
263
|
+
(function (JobEventDetails) {
|
|
264
|
+
JobEventDetails.filterSensitiveLog = (obj) => ({
|
|
265
|
+
...obj,
|
|
266
|
+
});
|
|
267
|
+
})(JobEventDetails = exports.JobEventDetails || (exports.JobEventDetails = {}));
|
|
268
|
+
var JobPrimaryStatus;
|
|
269
|
+
(function (JobPrimaryStatus) {
|
|
270
|
+
JobPrimaryStatus["CANCELLED"] = "CANCELLED";
|
|
271
|
+
JobPrimaryStatus["CANCELLING"] = "CANCELLING";
|
|
272
|
+
JobPrimaryStatus["COMPLETED"] = "COMPLETED";
|
|
273
|
+
JobPrimaryStatus["FAILED"] = "FAILED";
|
|
274
|
+
JobPrimaryStatus["QUEUED"] = "QUEUED";
|
|
275
|
+
JobPrimaryStatus["RUNNING"] = "RUNNING";
|
|
276
|
+
})(JobPrimaryStatus = exports.JobPrimaryStatus || (exports.JobPrimaryStatus = {}));
|
|
277
|
+
var GetJobResponse;
|
|
278
|
+
(function (GetJobResponse) {
|
|
279
|
+
GetJobResponse.filterSensitiveLog = (obj) => ({
|
|
280
|
+
...obj,
|
|
281
|
+
});
|
|
282
|
+
})(GetJobResponse = exports.GetJobResponse || (exports.GetJobResponse = {}));
|
|
283
|
+
var SearchJobsFilterOperator;
|
|
284
|
+
(function (SearchJobsFilterOperator) {
|
|
285
|
+
SearchJobsFilterOperator["BETWEEN"] = "BETWEEN";
|
|
286
|
+
SearchJobsFilterOperator["CONTAINS"] = "CONTAINS";
|
|
287
|
+
SearchJobsFilterOperator["EQUAL"] = "EQUAL";
|
|
288
|
+
SearchJobsFilterOperator["GT"] = "GT";
|
|
289
|
+
SearchJobsFilterOperator["GTE"] = "GTE";
|
|
290
|
+
SearchJobsFilterOperator["LT"] = "LT";
|
|
291
|
+
SearchJobsFilterOperator["LTE"] = "LTE";
|
|
292
|
+
})(SearchJobsFilterOperator = exports.SearchJobsFilterOperator || (exports.SearchJobsFilterOperator = {}));
|
|
293
|
+
var SearchJobsFilter;
|
|
294
|
+
(function (SearchJobsFilter) {
|
|
295
|
+
SearchJobsFilter.filterSensitiveLog = (obj) => ({
|
|
296
|
+
...obj,
|
|
297
|
+
});
|
|
298
|
+
})(SearchJobsFilter = exports.SearchJobsFilter || (exports.SearchJobsFilter = {}));
|
|
299
|
+
var SearchJobsRequest;
|
|
300
|
+
(function (SearchJobsRequest) {
|
|
301
|
+
SearchJobsRequest.filterSensitiveLog = (obj) => ({
|
|
302
|
+
...obj,
|
|
303
|
+
});
|
|
304
|
+
})(SearchJobsRequest = exports.SearchJobsRequest || (exports.SearchJobsRequest = {}));
|
|
305
|
+
var JobSummary;
|
|
306
|
+
(function (JobSummary) {
|
|
307
|
+
JobSummary.filterSensitiveLog = (obj) => ({
|
|
308
|
+
...obj,
|
|
309
|
+
});
|
|
310
|
+
})(JobSummary = exports.JobSummary || (exports.JobSummary = {}));
|
|
311
|
+
var SearchJobsResponse;
|
|
312
|
+
(function (SearchJobsResponse) {
|
|
313
|
+
SearchJobsResponse.filterSensitiveLog = (obj) => ({
|
|
314
|
+
...obj,
|
|
315
|
+
});
|
|
316
|
+
})(SearchJobsResponse = exports.SearchJobsResponse || (exports.SearchJobsResponse = {}));
|
|
93
317
|
var ListTagsForResourceRequest;
|
|
94
318
|
(function (ListTagsForResourceRequest) {
|
|
95
319
|
ListTagsForResourceRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -108,23 +332,12 @@ var CancelQuantumTaskRequest;
|
|
|
108
332
|
...obj,
|
|
109
333
|
});
|
|
110
334
|
})(CancelQuantumTaskRequest = exports.CancelQuantumTaskRequest || (exports.CancelQuantumTaskRequest = {}));
|
|
111
|
-
var CancellationStatus;
|
|
112
|
-
(function (CancellationStatus) {
|
|
113
|
-
CancellationStatus["CANCELLED"] = "CANCELLED";
|
|
114
|
-
CancellationStatus["CANCELLING"] = "CANCELLING";
|
|
115
|
-
})(CancellationStatus = exports.CancellationStatus || (exports.CancellationStatus = {}));
|
|
116
335
|
var CancelQuantumTaskResponse;
|
|
117
336
|
(function (CancelQuantumTaskResponse) {
|
|
118
337
|
CancelQuantumTaskResponse.filterSensitiveLog = (obj) => ({
|
|
119
338
|
...obj,
|
|
120
339
|
});
|
|
121
340
|
})(CancelQuantumTaskResponse = exports.CancelQuantumTaskResponse || (exports.CancelQuantumTaskResponse = {}));
|
|
122
|
-
var ConflictException;
|
|
123
|
-
(function (ConflictException) {
|
|
124
|
-
ConflictException.filterSensitiveLog = (obj) => ({
|
|
125
|
-
...obj,
|
|
126
|
-
});
|
|
127
|
-
})(ConflictException = exports.ConflictException || (exports.ConflictException = {}));
|
|
128
341
|
var CreateQuantumTaskRequest;
|
|
129
342
|
(function (CreateQuantumTaskRequest) {
|
|
130
343
|
CreateQuantumTaskRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -137,12 +350,12 @@ var CreateQuantumTaskResponse;
|
|
|
137
350
|
...obj,
|
|
138
351
|
});
|
|
139
352
|
})(CreateQuantumTaskResponse = exports.CreateQuantumTaskResponse || (exports.CreateQuantumTaskResponse = {}));
|
|
140
|
-
var
|
|
141
|
-
(function (
|
|
142
|
-
|
|
353
|
+
var DeviceOfflineException;
|
|
354
|
+
(function (DeviceOfflineException) {
|
|
355
|
+
DeviceOfflineException.filterSensitiveLog = (obj) => ({
|
|
143
356
|
...obj,
|
|
144
357
|
});
|
|
145
|
-
})(
|
|
358
|
+
})(DeviceOfflineException = exports.DeviceOfflineException || (exports.DeviceOfflineException = {}));
|
|
146
359
|
var GetQuantumTaskRequest;
|
|
147
360
|
(function (GetQuantumTaskRequest) {
|
|
148
361
|
GetQuantumTaskRequest.filterSensitiveLog = (obj) => ({
|