@aws-sdk/client-braket 3.490.0 → 3.496.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-cjs/Braket.js +1 -37
- package/dist-cjs/BraketClient.js +1 -43
- package/dist-cjs/commands/CancelJobCommand.js +1 -28
- package/dist-cjs/commands/CancelQuantumTaskCommand.js +1 -28
- package/dist-cjs/commands/CreateJobCommand.js +1 -28
- package/dist-cjs/commands/CreateQuantumTaskCommand.js +1 -28
- package/dist-cjs/commands/GetDeviceCommand.js +1 -28
- package/dist-cjs/commands/GetJobCommand.js +1 -28
- package/dist-cjs/commands/GetQuantumTaskCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/SearchDevicesCommand.js +1 -28
- package/dist-cjs/commands/SearchJobsCommand.js +1 -28
- package/dist-cjs/commands/SearchQuantumTasksCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -16
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +1798 -11
- package/dist-cjs/models/BraketServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -243
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/SearchDevicesPaginator.js +1 -7
- package/dist-cjs/pagination/SearchJobsPaginator.js +1 -7
- package/dist-cjs/pagination/SearchQuantumTasksPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -7
- package/dist-cjs/protocols/Aws_restJson1.js +1 -1066
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
|
@@ -1,12 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BraketServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
-
class BraketServiceException extends smithy_client_1.ServiceException {
|
|
7
|
-
constructor(options) {
|
|
8
|
-
super(options);
|
|
9
|
-
Object.setPrototypeOf(this, BraketServiceException.prototype);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.BraketServiceException = BraketServiceException;
|
|
1
|
+
module.exports = require("../index.js");
|
package/dist-cjs/models/index.js
CHANGED
|
@@ -1,243 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SearchQuantumTasksFilterOperator = exports.QuantumTaskStatus = exports.QuantumTaskAdditionalAttributeName = exports.DeviceOfflineException = exports.SearchJobsFilterOperator = exports.JobPrimaryStatus = exports.JobEventType = exports.HybridJobAdditionalAttributeName = exports.ServiceQuotaExceededException = exports.DeviceRetiredException = exports._InstanceType = exports.ConflictException = exports.CancellationStatus = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServiceException = exports.DeviceType = exports.DeviceStatus = exports.QueuePriority = exports.QueueName = exports.AssociationType = exports.CompressionType = exports.AccessDeniedException = void 0;
|
|
4
|
-
const BraketServiceException_1 = require("./BraketServiceException");
|
|
5
|
-
class AccessDeniedException extends BraketServiceException_1.BraketServiceException {
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "AccessDeniedException",
|
|
9
|
-
$fault: "client",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
this.name = "AccessDeniedException";
|
|
13
|
-
this.$fault = "client";
|
|
14
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
18
|
-
exports.CompressionType = {
|
|
19
|
-
GZIP: "GZIP",
|
|
20
|
-
NONE: "NONE",
|
|
21
|
-
};
|
|
22
|
-
exports.AssociationType = {
|
|
23
|
-
RESERVATION_TIME_WINDOW_ARN: "RESERVATION_TIME_WINDOW_ARN",
|
|
24
|
-
};
|
|
25
|
-
exports.QueueName = {
|
|
26
|
-
JOBS_QUEUE: "JOBS_QUEUE",
|
|
27
|
-
QUANTUM_TASKS_QUEUE: "QUANTUM_TASKS_QUEUE",
|
|
28
|
-
};
|
|
29
|
-
exports.QueuePriority = {
|
|
30
|
-
NORMAL: "Normal",
|
|
31
|
-
PRIORITY: "Priority",
|
|
32
|
-
};
|
|
33
|
-
exports.DeviceStatus = {
|
|
34
|
-
OFFLINE: "OFFLINE",
|
|
35
|
-
ONLINE: "ONLINE",
|
|
36
|
-
RETIRED: "RETIRED",
|
|
37
|
-
};
|
|
38
|
-
exports.DeviceType = {
|
|
39
|
-
QPU: "QPU",
|
|
40
|
-
SIMULATOR: "SIMULATOR",
|
|
41
|
-
};
|
|
42
|
-
class InternalServiceException extends BraketServiceException_1.BraketServiceException {
|
|
43
|
-
constructor(opts) {
|
|
44
|
-
super({
|
|
45
|
-
name: "InternalServiceException",
|
|
46
|
-
$fault: "server",
|
|
47
|
-
...opts,
|
|
48
|
-
});
|
|
49
|
-
this.name = "InternalServiceException";
|
|
50
|
-
this.$fault = "server";
|
|
51
|
-
Object.setPrototypeOf(this, InternalServiceException.prototype);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
exports.InternalServiceException = InternalServiceException;
|
|
55
|
-
class ResourceNotFoundException extends BraketServiceException_1.BraketServiceException {
|
|
56
|
-
constructor(opts) {
|
|
57
|
-
super({
|
|
58
|
-
name: "ResourceNotFoundException",
|
|
59
|
-
$fault: "client",
|
|
60
|
-
...opts,
|
|
61
|
-
});
|
|
62
|
-
this.name = "ResourceNotFoundException";
|
|
63
|
-
this.$fault = "client";
|
|
64
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
68
|
-
class ThrottlingException extends BraketServiceException_1.BraketServiceException {
|
|
69
|
-
constructor(opts) {
|
|
70
|
-
super({
|
|
71
|
-
name: "ThrottlingException",
|
|
72
|
-
$fault: "client",
|
|
73
|
-
...opts,
|
|
74
|
-
});
|
|
75
|
-
this.name = "ThrottlingException";
|
|
76
|
-
this.$fault = "client";
|
|
77
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
exports.ThrottlingException = ThrottlingException;
|
|
81
|
-
class ValidationException extends BraketServiceException_1.BraketServiceException {
|
|
82
|
-
constructor(opts) {
|
|
83
|
-
super({
|
|
84
|
-
name: "ValidationException",
|
|
85
|
-
$fault: "client",
|
|
86
|
-
...opts,
|
|
87
|
-
});
|
|
88
|
-
this.name = "ValidationException";
|
|
89
|
-
this.$fault = "client";
|
|
90
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
exports.ValidationException = ValidationException;
|
|
94
|
-
exports.CancellationStatus = {
|
|
95
|
-
CANCELLED: "CANCELLED",
|
|
96
|
-
CANCELLING: "CANCELLING",
|
|
97
|
-
};
|
|
98
|
-
class ConflictException extends BraketServiceException_1.BraketServiceException {
|
|
99
|
-
constructor(opts) {
|
|
100
|
-
super({
|
|
101
|
-
name: "ConflictException",
|
|
102
|
-
$fault: "client",
|
|
103
|
-
...opts,
|
|
104
|
-
});
|
|
105
|
-
this.name = "ConflictException";
|
|
106
|
-
this.$fault = "client";
|
|
107
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
exports.ConflictException = ConflictException;
|
|
111
|
-
exports._InstanceType = {
|
|
112
|
-
ML_C4_2XLARGE: "ml.c4.2xlarge",
|
|
113
|
-
ML_C4_4XLARGE: "ml.c4.4xlarge",
|
|
114
|
-
ML_C4_8XLARGE: "ml.c4.8xlarge",
|
|
115
|
-
ML_C4_XLARGE: "ml.c4.xlarge",
|
|
116
|
-
ML_C5N_18XLARGE: "ml.c5n.18xlarge",
|
|
117
|
-
ML_C5N_2XLARGE: "ml.c5n.2xlarge",
|
|
118
|
-
ML_C5N_4XLARGE: "ml.c5n.4xlarge",
|
|
119
|
-
ML_C5N_9XLARGE: "ml.c5n.9xlarge",
|
|
120
|
-
ML_C5N_XLARGE: "ml.c5n.xlarge",
|
|
121
|
-
ML_C5_18XLARGE: "ml.c5.18xlarge",
|
|
122
|
-
ML_C5_2XLARGE: "ml.c5.2xlarge",
|
|
123
|
-
ML_C5_4XLARGE: "ml.c5.4xlarge",
|
|
124
|
-
ML_C5_9XLARGE: "ml.c5.9xlarge",
|
|
125
|
-
ML_C5_XLARGE: "ml.c5.xlarge",
|
|
126
|
-
ML_G4DN_12XLARGE: "ml.g4dn.12xlarge",
|
|
127
|
-
ML_G4DN_16XLARGE: "ml.g4dn.16xlarge",
|
|
128
|
-
ML_G4DN_2XLARGE: "ml.g4dn.2xlarge",
|
|
129
|
-
ML_G4DN_4XLARGE: "ml.g4dn.4xlarge",
|
|
130
|
-
ML_G4DN_8XLARGE: "ml.g4dn.8xlarge",
|
|
131
|
-
ML_G4DN_XLARGE: "ml.g4dn.xlarge",
|
|
132
|
-
ML_M4_10XLARGE: "ml.m4.10xlarge",
|
|
133
|
-
ML_M4_16XLARGE: "ml.m4.16xlarge",
|
|
134
|
-
ML_M4_2XLARGE: "ml.m4.2xlarge",
|
|
135
|
-
ML_M4_4XLARGE: "ml.m4.4xlarge",
|
|
136
|
-
ML_M4_XLARGE: "ml.m4.xlarge",
|
|
137
|
-
ML_M5_12XLARGE: "ml.m5.12xlarge",
|
|
138
|
-
ML_M5_24XLARGE: "ml.m5.24xlarge",
|
|
139
|
-
ML_M5_2XLARGE: "ml.m5.2xlarge",
|
|
140
|
-
ML_M5_4XLARGE: "ml.m5.4xlarge",
|
|
141
|
-
ML_M5_LARGE: "ml.m5.large",
|
|
142
|
-
ML_M5_XLARGE: "ml.m5.xlarge",
|
|
143
|
-
ML_P2_16XLARGE: "ml.p2.16xlarge",
|
|
144
|
-
ML_P2_8XLARGE: "ml.p2.8xlarge",
|
|
145
|
-
ML_P2_XLARGE: "ml.p2.xlarge",
|
|
146
|
-
ML_P3DN_24XLARGE: "ml.p3dn.24xlarge",
|
|
147
|
-
ML_P3_16XLARGE: "ml.p3.16xlarge",
|
|
148
|
-
ML_P3_2XLARGE: "ml.p3.2xlarge",
|
|
149
|
-
ML_P3_8XLARGE: "ml.p3.8xlarge",
|
|
150
|
-
ML_P4D_24XLARGE: "ml.p4d.24xlarge",
|
|
151
|
-
};
|
|
152
|
-
class DeviceRetiredException extends BraketServiceException_1.BraketServiceException {
|
|
153
|
-
constructor(opts) {
|
|
154
|
-
super({
|
|
155
|
-
name: "DeviceRetiredException",
|
|
156
|
-
$fault: "client",
|
|
157
|
-
...opts,
|
|
158
|
-
});
|
|
159
|
-
this.name = "DeviceRetiredException";
|
|
160
|
-
this.$fault = "client";
|
|
161
|
-
Object.setPrototypeOf(this, DeviceRetiredException.prototype);
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
exports.DeviceRetiredException = DeviceRetiredException;
|
|
165
|
-
class ServiceQuotaExceededException extends BraketServiceException_1.BraketServiceException {
|
|
166
|
-
constructor(opts) {
|
|
167
|
-
super({
|
|
168
|
-
name: "ServiceQuotaExceededException",
|
|
169
|
-
$fault: "client",
|
|
170
|
-
...opts,
|
|
171
|
-
});
|
|
172
|
-
this.name = "ServiceQuotaExceededException";
|
|
173
|
-
this.$fault = "client";
|
|
174
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
178
|
-
exports.HybridJobAdditionalAttributeName = {
|
|
179
|
-
QUEUE_INFO: "QueueInfo",
|
|
180
|
-
};
|
|
181
|
-
exports.JobEventType = {
|
|
182
|
-
CANCELLED: "CANCELLED",
|
|
183
|
-
COMPLETED: "COMPLETED",
|
|
184
|
-
DEPRIORITIZED_DUE_TO_INACTIVITY: "DEPRIORITIZED_DUE_TO_INACTIVITY",
|
|
185
|
-
DOWNLOADING_DATA: "DOWNLOADING_DATA",
|
|
186
|
-
FAILED: "FAILED",
|
|
187
|
-
MAX_RUNTIME_EXCEEDED: "MAX_RUNTIME_EXCEEDED",
|
|
188
|
-
QUEUED_FOR_EXECUTION: "QUEUED_FOR_EXECUTION",
|
|
189
|
-
RUNNING: "RUNNING",
|
|
190
|
-
STARTING_INSTANCE: "STARTING_INSTANCE",
|
|
191
|
-
UPLOADING_RESULTS: "UPLOADING_RESULTS",
|
|
192
|
-
WAITING_FOR_PRIORITY: "WAITING_FOR_PRIORITY",
|
|
193
|
-
};
|
|
194
|
-
exports.JobPrimaryStatus = {
|
|
195
|
-
CANCELLED: "CANCELLED",
|
|
196
|
-
CANCELLING: "CANCELLING",
|
|
197
|
-
COMPLETED: "COMPLETED",
|
|
198
|
-
FAILED: "FAILED",
|
|
199
|
-
QUEUED: "QUEUED",
|
|
200
|
-
RUNNING: "RUNNING",
|
|
201
|
-
};
|
|
202
|
-
exports.SearchJobsFilterOperator = {
|
|
203
|
-
BETWEEN: "BETWEEN",
|
|
204
|
-
CONTAINS: "CONTAINS",
|
|
205
|
-
EQUAL: "EQUAL",
|
|
206
|
-
GT: "GT",
|
|
207
|
-
GTE: "GTE",
|
|
208
|
-
LT: "LT",
|
|
209
|
-
LTE: "LTE",
|
|
210
|
-
};
|
|
211
|
-
class DeviceOfflineException extends BraketServiceException_1.BraketServiceException {
|
|
212
|
-
constructor(opts) {
|
|
213
|
-
super({
|
|
214
|
-
name: "DeviceOfflineException",
|
|
215
|
-
$fault: "client",
|
|
216
|
-
...opts,
|
|
217
|
-
});
|
|
218
|
-
this.name = "DeviceOfflineException";
|
|
219
|
-
this.$fault = "client";
|
|
220
|
-
Object.setPrototypeOf(this, DeviceOfflineException.prototype);
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
exports.DeviceOfflineException = DeviceOfflineException;
|
|
224
|
-
exports.QuantumTaskAdditionalAttributeName = {
|
|
225
|
-
QUEUE_INFO: "QueueInfo",
|
|
226
|
-
};
|
|
227
|
-
exports.QuantumTaskStatus = {
|
|
228
|
-
CANCELLED: "CANCELLED",
|
|
229
|
-
CANCELLING: "CANCELLING",
|
|
230
|
-
COMPLETED: "COMPLETED",
|
|
231
|
-
CREATED: "CREATED",
|
|
232
|
-
FAILED: "FAILED",
|
|
233
|
-
QUEUED: "QUEUED",
|
|
234
|
-
RUNNING: "RUNNING",
|
|
235
|
-
};
|
|
236
|
-
exports.SearchQuantumTasksFilterOperator = {
|
|
237
|
-
BETWEEN: "BETWEEN",
|
|
238
|
-
EQUAL: "EQUAL",
|
|
239
|
-
GT: "GT",
|
|
240
|
-
GTE: "GTE",
|
|
241
|
-
LT: "LT",
|
|
242
|
-
LTE: "LTE",
|
|
243
|
-
};
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateSearchDevices = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const BraketClient_1 = require("../BraketClient");
|
|
6
|
-
const SearchDevicesCommand_1 = require("../commands/SearchDevicesCommand");
|
|
7
|
-
exports.paginateSearchDevices = (0, core_1.createPaginator)(BraketClient_1.BraketClient, SearchDevicesCommand_1.SearchDevicesCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateSearchJobs = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const BraketClient_1 = require("../BraketClient");
|
|
6
|
-
const SearchJobsCommand_1 = require("../commands/SearchJobsCommand");
|
|
7
|
-
exports.paginateSearchJobs = (0, core_1.createPaginator)(BraketClient_1.BraketClient, SearchJobsCommand_1.SearchJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateSearchQuantumTasks = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const BraketClient_1 = require("../BraketClient");
|
|
6
|
-
const SearchQuantumTasksCommand_1 = require("../commands/SearchQuantumTasksCommand");
|
|
7
|
-
exports.paginateSearchQuantumTasks = (0, core_1.createPaginator)(BraketClient_1.BraketClient, SearchQuantumTasksCommand_1.SearchQuantumTasksCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./SearchDevicesPaginator"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./SearchJobsPaginator"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./SearchQuantumTasksPaginator"), exports);
|
|
1
|
+
module.exports = require("../index.js");
|