@aws-sdk/client-braket 3.934.0 → 3.935.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/index.js +0 -146
- package/dist-es/index.js +1 -1
- package/dist-es/models/errors.js +113 -0
- package/dist-es/models/models_0.js +0 -113
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +2 -1
- package/dist-types/models/errors.d.ts +121 -0
- package/dist-types/models/models_0.d.ts +1 -120
- package/dist-types/ts3.4/index.d.ts +2 -1
- package/dist-types/ts3.4/models/errors.d.ts +69 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -68
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -129,30 +129,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends BraketServiceE
|
|
|
129
129
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
130
130
|
}
|
|
131
131
|
};
|
|
132
|
-
const CompressionType = {
|
|
133
|
-
GZIP: "GZIP",
|
|
134
|
-
NONE: "NONE",
|
|
135
|
-
};
|
|
136
|
-
const AssociationType = {
|
|
137
|
-
RESERVATION_TIME_WINDOW_ARN: "RESERVATION_TIME_WINDOW_ARN",
|
|
138
|
-
};
|
|
139
|
-
const QueueName = {
|
|
140
|
-
JOBS_QUEUE: "JOBS_QUEUE",
|
|
141
|
-
QUANTUM_TASKS_QUEUE: "QUANTUM_TASKS_QUEUE",
|
|
142
|
-
};
|
|
143
|
-
const QueuePriority = {
|
|
144
|
-
NORMAL: "Normal",
|
|
145
|
-
PRIORITY: "Priority",
|
|
146
|
-
};
|
|
147
|
-
const DeviceStatus = {
|
|
148
|
-
OFFLINE: "OFFLINE",
|
|
149
|
-
ONLINE: "ONLINE",
|
|
150
|
-
RETIRED: "RETIRED",
|
|
151
|
-
};
|
|
152
|
-
const DeviceType = {
|
|
153
|
-
QPU: "QPU",
|
|
154
|
-
SIMULATOR: "SIMULATOR",
|
|
155
|
-
};
|
|
156
132
|
let InternalServiceException$1 = class InternalServiceException extends BraketServiceException$1 {
|
|
157
133
|
name = "InternalServiceException";
|
|
158
134
|
$fault = "server";
|
|
@@ -189,9 +165,6 @@ let ThrottlingException$1 = class ThrottlingException extends BraketServiceExcep
|
|
|
189
165
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
190
166
|
}
|
|
191
167
|
};
|
|
192
|
-
const ValidationExceptionReason = {
|
|
193
|
-
PROGRAM_SET_VALIDATION_FAILED: "ProgramSetValidationFailed",
|
|
194
|
-
};
|
|
195
168
|
let ValidationException$1 = class ValidationException extends BraketServiceException$1 {
|
|
196
169
|
name = "ValidationException";
|
|
197
170
|
$fault = "client";
|
|
@@ -208,10 +181,6 @@ let ValidationException$1 = class ValidationException extends BraketServiceExcep
|
|
|
208
181
|
this.programSetValidationFailures = opts.programSetValidationFailures;
|
|
209
182
|
}
|
|
210
183
|
};
|
|
211
|
-
const CancellationStatus = {
|
|
212
|
-
CANCELLED: "CANCELLED",
|
|
213
|
-
CANCELLING: "CANCELLING",
|
|
214
|
-
};
|
|
215
184
|
let ConflictException$1 = class ConflictException extends BraketServiceException$1 {
|
|
216
185
|
name = "ConflictException";
|
|
217
186
|
$fault = "client";
|
|
@@ -224,47 +193,6 @@ let ConflictException$1 = class ConflictException extends BraketServiceException
|
|
|
224
193
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
225
194
|
}
|
|
226
195
|
};
|
|
227
|
-
const _InstanceType = {
|
|
228
|
-
ML_C4_2XLARGE: "ml.c4.2xlarge",
|
|
229
|
-
ML_C4_4XLARGE: "ml.c4.4xlarge",
|
|
230
|
-
ML_C4_8XLARGE: "ml.c4.8xlarge",
|
|
231
|
-
ML_C4_XLARGE: "ml.c4.xlarge",
|
|
232
|
-
ML_C5N_18XLARGE: "ml.c5n.18xlarge",
|
|
233
|
-
ML_C5N_2XLARGE: "ml.c5n.2xlarge",
|
|
234
|
-
ML_C5N_4XLARGE: "ml.c5n.4xlarge",
|
|
235
|
-
ML_C5N_9XLARGE: "ml.c5n.9xlarge",
|
|
236
|
-
ML_C5N_XLARGE: "ml.c5n.xlarge",
|
|
237
|
-
ML_C5_18XLARGE: "ml.c5.18xlarge",
|
|
238
|
-
ML_C5_2XLARGE: "ml.c5.2xlarge",
|
|
239
|
-
ML_C5_4XLARGE: "ml.c5.4xlarge",
|
|
240
|
-
ML_C5_9XLARGE: "ml.c5.9xlarge",
|
|
241
|
-
ML_C5_XLARGE: "ml.c5.xlarge",
|
|
242
|
-
ML_G4DN_12XLARGE: "ml.g4dn.12xlarge",
|
|
243
|
-
ML_G4DN_16XLARGE: "ml.g4dn.16xlarge",
|
|
244
|
-
ML_G4DN_2XLARGE: "ml.g4dn.2xlarge",
|
|
245
|
-
ML_G4DN_4XLARGE: "ml.g4dn.4xlarge",
|
|
246
|
-
ML_G4DN_8XLARGE: "ml.g4dn.8xlarge",
|
|
247
|
-
ML_G4DN_XLARGE: "ml.g4dn.xlarge",
|
|
248
|
-
ML_M4_10XLARGE: "ml.m4.10xlarge",
|
|
249
|
-
ML_M4_16XLARGE: "ml.m4.16xlarge",
|
|
250
|
-
ML_M4_2XLARGE: "ml.m4.2xlarge",
|
|
251
|
-
ML_M4_4XLARGE: "ml.m4.4xlarge",
|
|
252
|
-
ML_M4_XLARGE: "ml.m4.xlarge",
|
|
253
|
-
ML_M5_12XLARGE: "ml.m5.12xlarge",
|
|
254
|
-
ML_M5_24XLARGE: "ml.m5.24xlarge",
|
|
255
|
-
ML_M5_2XLARGE: "ml.m5.2xlarge",
|
|
256
|
-
ML_M5_4XLARGE: "ml.m5.4xlarge",
|
|
257
|
-
ML_M5_LARGE: "ml.m5.large",
|
|
258
|
-
ML_M5_XLARGE: "ml.m5.xlarge",
|
|
259
|
-
ML_P2_16XLARGE: "ml.p2.16xlarge",
|
|
260
|
-
ML_P2_8XLARGE: "ml.p2.8xlarge",
|
|
261
|
-
ML_P2_XLARGE: "ml.p2.xlarge",
|
|
262
|
-
ML_P3DN_24XLARGE: "ml.p3dn.24xlarge",
|
|
263
|
-
ML_P3_16XLARGE: "ml.p3.16xlarge",
|
|
264
|
-
ML_P3_2XLARGE: "ml.p3.2xlarge",
|
|
265
|
-
ML_P3_8XLARGE: "ml.p3.8xlarge",
|
|
266
|
-
ML_P4D_24XLARGE: "ml.p4d.24xlarge",
|
|
267
|
-
};
|
|
268
196
|
let DeviceOfflineException$1 = class DeviceOfflineException extends BraketServiceException$1 {
|
|
269
197
|
name = "DeviceOfflineException";
|
|
270
198
|
$fault = "client";
|
|
@@ -301,63 +229,6 @@ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extend
|
|
|
301
229
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
302
230
|
}
|
|
303
231
|
};
|
|
304
|
-
const HybridJobAdditionalAttributeName = {
|
|
305
|
-
QUEUE_INFO: "QueueInfo",
|
|
306
|
-
};
|
|
307
|
-
const JobEventType = {
|
|
308
|
-
CANCELLED: "CANCELLED",
|
|
309
|
-
COMPLETED: "COMPLETED",
|
|
310
|
-
DEPRIORITIZED_DUE_TO_INACTIVITY: "DEPRIORITIZED_DUE_TO_INACTIVITY",
|
|
311
|
-
DOWNLOADING_DATA: "DOWNLOADING_DATA",
|
|
312
|
-
FAILED: "FAILED",
|
|
313
|
-
MAX_RUNTIME_EXCEEDED: "MAX_RUNTIME_EXCEEDED",
|
|
314
|
-
QUEUED_FOR_EXECUTION: "QUEUED_FOR_EXECUTION",
|
|
315
|
-
RUNNING: "RUNNING",
|
|
316
|
-
STARTING_INSTANCE: "STARTING_INSTANCE",
|
|
317
|
-
UPLOADING_RESULTS: "UPLOADING_RESULTS",
|
|
318
|
-
WAITING_FOR_PRIORITY: "WAITING_FOR_PRIORITY",
|
|
319
|
-
};
|
|
320
|
-
const JobPrimaryStatus = {
|
|
321
|
-
CANCELLED: "CANCELLED",
|
|
322
|
-
CANCELLING: "CANCELLING",
|
|
323
|
-
COMPLETED: "COMPLETED",
|
|
324
|
-
FAILED: "FAILED",
|
|
325
|
-
QUEUED: "QUEUED",
|
|
326
|
-
RUNNING: "RUNNING",
|
|
327
|
-
};
|
|
328
|
-
const SearchJobsFilterOperator = {
|
|
329
|
-
BETWEEN: "BETWEEN",
|
|
330
|
-
CONTAINS: "CONTAINS",
|
|
331
|
-
EQUAL: "EQUAL",
|
|
332
|
-
GT: "GT",
|
|
333
|
-
GTE: "GTE",
|
|
334
|
-
LT: "LT",
|
|
335
|
-
LTE: "LTE",
|
|
336
|
-
};
|
|
337
|
-
const ExperimentalCapabilitiesEnablementType = {
|
|
338
|
-
ALL: "ALL",
|
|
339
|
-
NONE: "NONE",
|
|
340
|
-
};
|
|
341
|
-
const QuantumTaskAdditionalAttributeName = {
|
|
342
|
-
QUEUE_INFO: "QueueInfo",
|
|
343
|
-
};
|
|
344
|
-
const QuantumTaskStatus = {
|
|
345
|
-
CANCELLED: "CANCELLED",
|
|
346
|
-
CANCELLING: "CANCELLING",
|
|
347
|
-
COMPLETED: "COMPLETED",
|
|
348
|
-
CREATED: "CREATED",
|
|
349
|
-
FAILED: "FAILED",
|
|
350
|
-
QUEUED: "QUEUED",
|
|
351
|
-
RUNNING: "RUNNING",
|
|
352
|
-
};
|
|
353
|
-
const SearchQuantumTasksFilterOperator = {
|
|
354
|
-
BETWEEN: "BETWEEN",
|
|
355
|
-
EQUAL: "EQUAL",
|
|
356
|
-
GT: "GT",
|
|
357
|
-
GTE: "GTE",
|
|
358
|
-
LT: "LT",
|
|
359
|
-
LTE: "LTE",
|
|
360
|
-
};
|
|
361
232
|
|
|
362
233
|
const _A = "Association";
|
|
363
234
|
const _ADE = "AccessDeniedException";
|
|
@@ -1250,47 +1121,30 @@ Object.defineProperty(exports, "__Client", {
|
|
|
1250
1121
|
get: function () { return smithyClient.Client; }
|
|
1251
1122
|
});
|
|
1252
1123
|
exports.AccessDeniedException = AccessDeniedException$1;
|
|
1253
|
-
exports.AssociationType = AssociationType;
|
|
1254
1124
|
exports.Braket = Braket;
|
|
1255
1125
|
exports.BraketClient = BraketClient;
|
|
1256
1126
|
exports.BraketServiceException = BraketServiceException$1;
|
|
1257
1127
|
exports.CancelJobCommand = CancelJobCommand;
|
|
1258
1128
|
exports.CancelQuantumTaskCommand = CancelQuantumTaskCommand;
|
|
1259
|
-
exports.CancellationStatus = CancellationStatus;
|
|
1260
|
-
exports.CompressionType = CompressionType;
|
|
1261
1129
|
exports.ConflictException = ConflictException$1;
|
|
1262
1130
|
exports.CreateJobCommand = CreateJobCommand;
|
|
1263
1131
|
exports.CreateQuantumTaskCommand = CreateQuantumTaskCommand;
|
|
1264
1132
|
exports.DeviceOfflineException = DeviceOfflineException$1;
|
|
1265
1133
|
exports.DeviceRetiredException = DeviceRetiredException$1;
|
|
1266
|
-
exports.DeviceStatus = DeviceStatus;
|
|
1267
|
-
exports.DeviceType = DeviceType;
|
|
1268
|
-
exports.ExperimentalCapabilitiesEnablementType = ExperimentalCapabilitiesEnablementType;
|
|
1269
1134
|
exports.GetDeviceCommand = GetDeviceCommand;
|
|
1270
1135
|
exports.GetJobCommand = GetJobCommand;
|
|
1271
1136
|
exports.GetQuantumTaskCommand = GetQuantumTaskCommand;
|
|
1272
|
-
exports.HybridJobAdditionalAttributeName = HybridJobAdditionalAttributeName;
|
|
1273
1137
|
exports.InternalServiceException = InternalServiceException$1;
|
|
1274
|
-
exports.JobEventType = JobEventType;
|
|
1275
|
-
exports.JobPrimaryStatus = JobPrimaryStatus;
|
|
1276
1138
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1277
|
-
exports.QuantumTaskAdditionalAttributeName = QuantumTaskAdditionalAttributeName;
|
|
1278
|
-
exports.QuantumTaskStatus = QuantumTaskStatus;
|
|
1279
|
-
exports.QueueName = QueueName;
|
|
1280
|
-
exports.QueuePriority = QueuePriority;
|
|
1281
1139
|
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
1282
1140
|
exports.SearchDevicesCommand = SearchDevicesCommand;
|
|
1283
1141
|
exports.SearchJobsCommand = SearchJobsCommand;
|
|
1284
|
-
exports.SearchJobsFilterOperator = SearchJobsFilterOperator;
|
|
1285
1142
|
exports.SearchQuantumTasksCommand = SearchQuantumTasksCommand;
|
|
1286
|
-
exports.SearchQuantumTasksFilterOperator = SearchQuantumTasksFilterOperator;
|
|
1287
1143
|
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
1288
1144
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1289
1145
|
exports.ThrottlingException = ThrottlingException$1;
|
|
1290
1146
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1291
1147
|
exports.ValidationException = ValidationException$1;
|
|
1292
|
-
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
1293
|
-
exports._InstanceType = _InstanceType;
|
|
1294
1148
|
exports.paginateSearchDevices = paginateSearchDevices;
|
|
1295
1149
|
exports.paginateSearchJobs = paginateSearchJobs;
|
|
1296
1150
|
exports.paginateSearchQuantumTasks = paginateSearchQuantumTasks;
|
package/dist-es/index.js
CHANGED
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { BraketServiceException as __BaseException } from "./BraketServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "AccessDeniedException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class InternalServiceException extends __BaseException {
|
|
15
|
+
name = "InternalServiceException";
|
|
16
|
+
$fault = "server";
|
|
17
|
+
constructor(opts) {
|
|
18
|
+
super({
|
|
19
|
+
name: "InternalServiceException",
|
|
20
|
+
$fault: "server",
|
|
21
|
+
...opts,
|
|
22
|
+
});
|
|
23
|
+
Object.setPrototypeOf(this, InternalServiceException.prototype);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
27
|
+
name = "ResourceNotFoundException";
|
|
28
|
+
$fault = "client";
|
|
29
|
+
constructor(opts) {
|
|
30
|
+
super({
|
|
31
|
+
name: "ResourceNotFoundException",
|
|
32
|
+
$fault: "client",
|
|
33
|
+
...opts,
|
|
34
|
+
});
|
|
35
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export class ThrottlingException extends __BaseException {
|
|
39
|
+
name = "ThrottlingException";
|
|
40
|
+
$fault = "client";
|
|
41
|
+
constructor(opts) {
|
|
42
|
+
super({
|
|
43
|
+
name: "ThrottlingException",
|
|
44
|
+
$fault: "client",
|
|
45
|
+
...opts,
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export class ValidationException extends __BaseException {
|
|
51
|
+
name = "ValidationException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
reason;
|
|
54
|
+
programSetValidationFailures;
|
|
55
|
+
constructor(opts) {
|
|
56
|
+
super({
|
|
57
|
+
name: "ValidationException",
|
|
58
|
+
$fault: "client",
|
|
59
|
+
...opts,
|
|
60
|
+
});
|
|
61
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
62
|
+
this.reason = opts.reason;
|
|
63
|
+
this.programSetValidationFailures = opts.programSetValidationFailures;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
export class ConflictException extends __BaseException {
|
|
67
|
+
name = "ConflictException";
|
|
68
|
+
$fault = "client";
|
|
69
|
+
constructor(opts) {
|
|
70
|
+
super({
|
|
71
|
+
name: "ConflictException",
|
|
72
|
+
$fault: "client",
|
|
73
|
+
...opts,
|
|
74
|
+
});
|
|
75
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
export class DeviceOfflineException extends __BaseException {
|
|
79
|
+
name = "DeviceOfflineException";
|
|
80
|
+
$fault = "client";
|
|
81
|
+
constructor(opts) {
|
|
82
|
+
super({
|
|
83
|
+
name: "DeviceOfflineException",
|
|
84
|
+
$fault: "client",
|
|
85
|
+
...opts,
|
|
86
|
+
});
|
|
87
|
+
Object.setPrototypeOf(this, DeviceOfflineException.prototype);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
export class DeviceRetiredException extends __BaseException {
|
|
91
|
+
name = "DeviceRetiredException";
|
|
92
|
+
$fault = "client";
|
|
93
|
+
constructor(opts) {
|
|
94
|
+
super({
|
|
95
|
+
name: "DeviceRetiredException",
|
|
96
|
+
$fault: "client",
|
|
97
|
+
...opts,
|
|
98
|
+
});
|
|
99
|
+
Object.setPrototypeOf(this, DeviceRetiredException.prototype);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
103
|
+
name = "ServiceQuotaExceededException";
|
|
104
|
+
$fault = "client";
|
|
105
|
+
constructor(opts) {
|
|
106
|
+
super({
|
|
107
|
+
name: "ServiceQuotaExceededException",
|
|
108
|
+
$fault: "client",
|
|
109
|
+
...opts,
|
|
110
|
+
});
|
|
111
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
@@ -1,16 +1,3 @@
|
|
|
1
|
-
import { BraketServiceException as __BaseException } from "./BraketServiceException";
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
constructor(opts) {
|
|
6
|
-
super({
|
|
7
|
-
name: "AccessDeniedException",
|
|
8
|
-
$fault: "client",
|
|
9
|
-
...opts,
|
|
10
|
-
});
|
|
11
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
1
|
export const CompressionType = {
|
|
15
2
|
GZIP: "GZIP",
|
|
16
3
|
NONE: "NONE",
|
|
@@ -35,77 +22,13 @@ export const DeviceType = {
|
|
|
35
22
|
QPU: "QPU",
|
|
36
23
|
SIMULATOR: "SIMULATOR",
|
|
37
24
|
};
|
|
38
|
-
export class InternalServiceException extends __BaseException {
|
|
39
|
-
name = "InternalServiceException";
|
|
40
|
-
$fault = "server";
|
|
41
|
-
constructor(opts) {
|
|
42
|
-
super({
|
|
43
|
-
name: "InternalServiceException",
|
|
44
|
-
$fault: "server",
|
|
45
|
-
...opts,
|
|
46
|
-
});
|
|
47
|
-
Object.setPrototypeOf(this, InternalServiceException.prototype);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
51
|
-
name = "ResourceNotFoundException";
|
|
52
|
-
$fault = "client";
|
|
53
|
-
constructor(opts) {
|
|
54
|
-
super({
|
|
55
|
-
name: "ResourceNotFoundException",
|
|
56
|
-
$fault: "client",
|
|
57
|
-
...opts,
|
|
58
|
-
});
|
|
59
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
export class ThrottlingException extends __BaseException {
|
|
63
|
-
name = "ThrottlingException";
|
|
64
|
-
$fault = "client";
|
|
65
|
-
constructor(opts) {
|
|
66
|
-
super({
|
|
67
|
-
name: "ThrottlingException",
|
|
68
|
-
$fault: "client",
|
|
69
|
-
...opts,
|
|
70
|
-
});
|
|
71
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
25
|
export const ValidationExceptionReason = {
|
|
75
26
|
PROGRAM_SET_VALIDATION_FAILED: "ProgramSetValidationFailed",
|
|
76
27
|
};
|
|
77
|
-
export class ValidationException extends __BaseException {
|
|
78
|
-
name = "ValidationException";
|
|
79
|
-
$fault = "client";
|
|
80
|
-
reason;
|
|
81
|
-
programSetValidationFailures;
|
|
82
|
-
constructor(opts) {
|
|
83
|
-
super({
|
|
84
|
-
name: "ValidationException",
|
|
85
|
-
$fault: "client",
|
|
86
|
-
...opts,
|
|
87
|
-
});
|
|
88
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
89
|
-
this.reason = opts.reason;
|
|
90
|
-
this.programSetValidationFailures = opts.programSetValidationFailures;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
28
|
export const CancellationStatus = {
|
|
94
29
|
CANCELLED: "CANCELLED",
|
|
95
30
|
CANCELLING: "CANCELLING",
|
|
96
31
|
};
|
|
97
|
-
export class ConflictException extends __BaseException {
|
|
98
|
-
name = "ConflictException";
|
|
99
|
-
$fault = "client";
|
|
100
|
-
constructor(opts) {
|
|
101
|
-
super({
|
|
102
|
-
name: "ConflictException",
|
|
103
|
-
$fault: "client",
|
|
104
|
-
...opts,
|
|
105
|
-
});
|
|
106
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
32
|
export const _InstanceType = {
|
|
110
33
|
ML_C4_2XLARGE: "ml.c4.2xlarge",
|
|
111
34
|
ML_C4_4XLARGE: "ml.c4.4xlarge",
|
|
@@ -147,42 +70,6 @@ export const _InstanceType = {
|
|
|
147
70
|
ML_P3_8XLARGE: "ml.p3.8xlarge",
|
|
148
71
|
ML_P4D_24XLARGE: "ml.p4d.24xlarge",
|
|
149
72
|
};
|
|
150
|
-
export class DeviceOfflineException extends __BaseException {
|
|
151
|
-
name = "DeviceOfflineException";
|
|
152
|
-
$fault = "client";
|
|
153
|
-
constructor(opts) {
|
|
154
|
-
super({
|
|
155
|
-
name: "DeviceOfflineException",
|
|
156
|
-
$fault: "client",
|
|
157
|
-
...opts,
|
|
158
|
-
});
|
|
159
|
-
Object.setPrototypeOf(this, DeviceOfflineException.prototype);
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
export class DeviceRetiredException extends __BaseException {
|
|
163
|
-
name = "DeviceRetiredException";
|
|
164
|
-
$fault = "client";
|
|
165
|
-
constructor(opts) {
|
|
166
|
-
super({
|
|
167
|
-
name: "DeviceRetiredException",
|
|
168
|
-
$fault: "client",
|
|
169
|
-
...opts,
|
|
170
|
-
});
|
|
171
|
-
Object.setPrototypeOf(this, DeviceRetiredException.prototype);
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
175
|
-
name = "ServiceQuotaExceededException";
|
|
176
|
-
$fault = "client";
|
|
177
|
-
constructor(opts) {
|
|
178
|
-
super({
|
|
179
|
-
name: "ServiceQuotaExceededException",
|
|
180
|
-
$fault: "client",
|
|
181
|
-
...opts,
|
|
182
|
-
});
|
|
183
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
73
|
export const HybridJobAdditionalAttributeName = {
|
|
187
74
|
QUEUE_INFO: "QueueInfo",
|
|
188
75
|
};
|
|
@@ -184,7 +184,7 @@ const _vSIG = "volumeSizeInGb";
|
|
|
184
184
|
const n0 = "com.amazonaws.braket";
|
|
185
185
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
186
186
|
import { BraketServiceException as __BraketServiceException } from "../models/BraketServiceException";
|
|
187
|
-
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, DeviceOfflineException as __DeviceOfflineException, DeviceRetiredException as __DeviceRetiredException, InternalServiceException as __InternalServiceException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/
|
|
187
|
+
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, DeviceOfflineException as __DeviceOfflineException, DeviceRetiredException as __DeviceRetiredException, InternalServiceException as __InternalServiceException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
|
|
188
188
|
export var JsonValue = [
|
|
189
189
|
0,
|
|
190
190
|
n0,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -10,5 +10,6 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
10
10
|
export type { BraketExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
12
|
export * from "./pagination";
|
|
13
|
-
export * from "./models";
|
|
13
|
+
export * from "./models/errors";
|
|
14
|
+
export type * from "./models/models_0";
|
|
14
15
|
export { BraketServiceException } from "./models/BraketServiceException";
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { BraketServiceException as __BaseException } from "./BraketServiceException";
|
|
3
|
+
import { ProgramSetValidationFailure, ValidationExceptionReason } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* <p>You do not have sufficient permissions to perform this action.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
9
|
+
readonly name: "AccessDeniedException";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* <p>The request failed because of an unknown error.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export declare class InternalServiceException extends __BaseException {
|
|
21
|
+
readonly name: "InternalServiceException";
|
|
22
|
+
readonly $fault: "server";
|
|
23
|
+
/**
|
|
24
|
+
* @internal
|
|
25
|
+
*/
|
|
26
|
+
constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* <p>The specified resource was not found.</p>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
33
|
+
readonly name: "ResourceNotFoundException";
|
|
34
|
+
readonly $fault: "client";
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* <p>The API throttling rate limit is exceeded.</p>
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
export declare class ThrottlingException extends __BaseException {
|
|
45
|
+
readonly name: "ThrottlingException";
|
|
46
|
+
readonly $fault: "client";
|
|
47
|
+
/**
|
|
48
|
+
* @internal
|
|
49
|
+
*/
|
|
50
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* <p>The input request failed to satisfy constraints expected by Amazon Braket.</p>
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
export declare class ValidationException extends __BaseException {
|
|
57
|
+
readonly name: "ValidationException";
|
|
58
|
+
readonly $fault: "client";
|
|
59
|
+
/**
|
|
60
|
+
* <p>The reason for validation failure.</p>
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
reason?: ValidationExceptionReason | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* <p>The validation failures in the program set submitted in the request.</p>
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
programSetValidationFailures?: ProgramSetValidationFailure[] | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* <p>An error occurred due to a conflict.</p>
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class ConflictException extends __BaseException {
|
|
79
|
+
readonly name: "ConflictException";
|
|
80
|
+
readonly $fault: "client";
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* <p>The specified device is currently offline.</p>
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export declare class DeviceOfflineException extends __BaseException {
|
|
91
|
+
readonly name: "DeviceOfflineException";
|
|
92
|
+
readonly $fault: "client";
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
96
|
+
constructor(opts: __ExceptionOptionType<DeviceOfflineException, __BaseException>);
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* <p>The specified device has been retired.</p>
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
export declare class DeviceRetiredException extends __BaseException {
|
|
103
|
+
readonly name: "DeviceRetiredException";
|
|
104
|
+
readonly $fault: "client";
|
|
105
|
+
/**
|
|
106
|
+
* @internal
|
|
107
|
+
*/
|
|
108
|
+
constructor(opts: __ExceptionOptionType<DeviceRetiredException, __BaseException>);
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* <p>The request failed because a service quota is exceeded.</p>
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
115
|
+
readonly name: "ServiceQuotaExceededException";
|
|
116
|
+
readonly $fault: "client";
|
|
117
|
+
/**
|
|
118
|
+
* @internal
|
|
119
|
+
*/
|
|
120
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
121
|
+
}
|
|
@@ -1,17 +1,4 @@
|
|
|
1
|
-
import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion
|
|
2
|
-
import { BraketServiceException as __BaseException } from "./BraketServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* <p>You do not have sufficient permissions to perform this action.</p>
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
-
readonly name: "AccessDeniedException";
|
|
9
|
-
readonly $fault: "client";
|
|
10
|
-
/**
|
|
11
|
-
* @internal
|
|
12
|
-
*/
|
|
13
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
|
-
}
|
|
1
|
+
import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion } from "@smithy/smithy-client";
|
|
15
2
|
/**
|
|
16
3
|
* <p>Contains metadata about the quantum task action, including the action type and program statistics.</p>
|
|
17
4
|
* @public
|
|
@@ -240,42 +227,6 @@ export interface GetDeviceResponse {
|
|
|
240
227
|
*/
|
|
241
228
|
deviceQueueInfo?: DeviceQueueInfo[] | undefined;
|
|
242
229
|
}
|
|
243
|
-
/**
|
|
244
|
-
* <p>The request failed because of an unknown error.</p>
|
|
245
|
-
* @public
|
|
246
|
-
*/
|
|
247
|
-
export declare class InternalServiceException extends __BaseException {
|
|
248
|
-
readonly name: "InternalServiceException";
|
|
249
|
-
readonly $fault: "server";
|
|
250
|
-
/**
|
|
251
|
-
* @internal
|
|
252
|
-
*/
|
|
253
|
-
constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
|
|
254
|
-
}
|
|
255
|
-
/**
|
|
256
|
-
* <p>The specified resource was not found.</p>
|
|
257
|
-
* @public
|
|
258
|
-
*/
|
|
259
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
260
|
-
readonly name: "ResourceNotFoundException";
|
|
261
|
-
readonly $fault: "client";
|
|
262
|
-
/**
|
|
263
|
-
* @internal
|
|
264
|
-
*/
|
|
265
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
266
|
-
}
|
|
267
|
-
/**
|
|
268
|
-
* <p>The API throttling rate limit is exceeded.</p>
|
|
269
|
-
* @public
|
|
270
|
-
*/
|
|
271
|
-
export declare class ThrottlingException extends __BaseException {
|
|
272
|
-
readonly name: "ThrottlingException";
|
|
273
|
-
readonly $fault: "client";
|
|
274
|
-
/**
|
|
275
|
-
* @internal
|
|
276
|
-
*/
|
|
277
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
278
|
-
}
|
|
279
230
|
/**
|
|
280
231
|
* <p>Contains information about validation failures that occurred during the processing of a program set in a quantum task.</p>
|
|
281
232
|
* @public
|
|
@@ -308,28 +259,6 @@ export declare const ValidationExceptionReason: {
|
|
|
308
259
|
* @public
|
|
309
260
|
*/
|
|
310
261
|
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
311
|
-
/**
|
|
312
|
-
* <p>The input request failed to satisfy constraints expected by Amazon Braket.</p>
|
|
313
|
-
* @public
|
|
314
|
-
*/
|
|
315
|
-
export declare class ValidationException extends __BaseException {
|
|
316
|
-
readonly name: "ValidationException";
|
|
317
|
-
readonly $fault: "client";
|
|
318
|
-
/**
|
|
319
|
-
* <p>The reason for validation failure.</p>
|
|
320
|
-
* @public
|
|
321
|
-
*/
|
|
322
|
-
reason?: ValidationExceptionReason | undefined;
|
|
323
|
-
/**
|
|
324
|
-
* <p>The validation failures in the program set submitted in the request.</p>
|
|
325
|
-
* @public
|
|
326
|
-
*/
|
|
327
|
-
programSetValidationFailures?: ProgramSetValidationFailure[] | undefined;
|
|
328
|
-
/**
|
|
329
|
-
* @internal
|
|
330
|
-
*/
|
|
331
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
332
|
-
}
|
|
333
262
|
/**
|
|
334
263
|
* <p>The filter used to search for devices.</p>
|
|
335
264
|
* @public
|
|
@@ -449,18 +378,6 @@ export interface CancelJobResponse {
|
|
|
449
378
|
*/
|
|
450
379
|
cancellationStatus: CancellationStatus | undefined;
|
|
451
380
|
}
|
|
452
|
-
/**
|
|
453
|
-
* <p>An error occurred due to a conflict.</p>
|
|
454
|
-
* @public
|
|
455
|
-
*/
|
|
456
|
-
export declare class ConflictException extends __BaseException {
|
|
457
|
-
readonly name: "ConflictException";
|
|
458
|
-
readonly $fault: "client";
|
|
459
|
-
/**
|
|
460
|
-
* @internal
|
|
461
|
-
*/
|
|
462
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
463
|
-
}
|
|
464
381
|
/**
|
|
465
382
|
* <p>Contains information about the output locations for hybrid job checkpoint data.</p>
|
|
466
383
|
* @public
|
|
@@ -708,42 +625,6 @@ export interface CreateJobResponse {
|
|
|
708
625
|
*/
|
|
709
626
|
jobArn: string | undefined;
|
|
710
627
|
}
|
|
711
|
-
/**
|
|
712
|
-
* <p>The specified device is currently offline.</p>
|
|
713
|
-
* @public
|
|
714
|
-
*/
|
|
715
|
-
export declare class DeviceOfflineException extends __BaseException {
|
|
716
|
-
readonly name: "DeviceOfflineException";
|
|
717
|
-
readonly $fault: "client";
|
|
718
|
-
/**
|
|
719
|
-
* @internal
|
|
720
|
-
*/
|
|
721
|
-
constructor(opts: __ExceptionOptionType<DeviceOfflineException, __BaseException>);
|
|
722
|
-
}
|
|
723
|
-
/**
|
|
724
|
-
* <p>The specified device has been retired.</p>
|
|
725
|
-
* @public
|
|
726
|
-
*/
|
|
727
|
-
export declare class DeviceRetiredException extends __BaseException {
|
|
728
|
-
readonly name: "DeviceRetiredException";
|
|
729
|
-
readonly $fault: "client";
|
|
730
|
-
/**
|
|
731
|
-
* @internal
|
|
732
|
-
*/
|
|
733
|
-
constructor(opts: __ExceptionOptionType<DeviceRetiredException, __BaseException>);
|
|
734
|
-
}
|
|
735
|
-
/**
|
|
736
|
-
* <p>The request failed because a service quota is exceeded.</p>
|
|
737
|
-
* @public
|
|
738
|
-
*/
|
|
739
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
740
|
-
readonly name: "ServiceQuotaExceededException";
|
|
741
|
-
readonly $fault: "client";
|
|
742
|
-
/**
|
|
743
|
-
* @internal
|
|
744
|
-
*/
|
|
745
|
-
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
746
|
-
}
|
|
747
628
|
/**
|
|
748
629
|
* @public
|
|
749
630
|
* @enum
|
|
@@ -5,5 +5,6 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { BraketExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/errors";
|
|
9
|
+
export * from "./models/models_0";
|
|
9
10
|
export { BraketServiceException } from "./models/BraketServiceException";
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { BraketServiceException as __BaseException } from "./BraketServiceException";
|
|
3
|
+
import {
|
|
4
|
+
ProgramSetValidationFailure,
|
|
5
|
+
ValidationExceptionReason,
|
|
6
|
+
} from "./models_0";
|
|
7
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
readonly name: "AccessDeniedException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
constructor(
|
|
11
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
12
|
+
);
|
|
13
|
+
}
|
|
14
|
+
export declare class InternalServiceException extends __BaseException {
|
|
15
|
+
readonly name: "InternalServiceException";
|
|
16
|
+
readonly $fault: "server";
|
|
17
|
+
constructor(
|
|
18
|
+
opts: __ExceptionOptionType<InternalServiceException, __BaseException>
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
22
|
+
readonly name: "ResourceNotFoundException";
|
|
23
|
+
readonly $fault: "client";
|
|
24
|
+
constructor(
|
|
25
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
export declare class ThrottlingException extends __BaseException {
|
|
29
|
+
readonly name: "ThrottlingException";
|
|
30
|
+
readonly $fault: "client";
|
|
31
|
+
constructor(
|
|
32
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
export declare class ValidationException extends __BaseException {
|
|
36
|
+
readonly name: "ValidationException";
|
|
37
|
+
readonly $fault: "client";
|
|
38
|
+
reason?: ValidationExceptionReason | undefined;
|
|
39
|
+
programSetValidationFailures?: ProgramSetValidationFailure[] | undefined;
|
|
40
|
+
constructor(
|
|
41
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
export declare class ConflictException extends __BaseException {
|
|
45
|
+
readonly name: "ConflictException";
|
|
46
|
+
readonly $fault: "client";
|
|
47
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
48
|
+
}
|
|
49
|
+
export declare class DeviceOfflineException extends __BaseException {
|
|
50
|
+
readonly name: "DeviceOfflineException";
|
|
51
|
+
readonly $fault: "client";
|
|
52
|
+
constructor(
|
|
53
|
+
opts: __ExceptionOptionType<DeviceOfflineException, __BaseException>
|
|
54
|
+
);
|
|
55
|
+
}
|
|
56
|
+
export declare class DeviceRetiredException extends __BaseException {
|
|
57
|
+
readonly name: "DeviceRetiredException";
|
|
58
|
+
readonly $fault: "client";
|
|
59
|
+
constructor(
|
|
60
|
+
opts: __ExceptionOptionType<DeviceRetiredException, __BaseException>
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
64
|
+
readonly name: "ServiceQuotaExceededException";
|
|
65
|
+
readonly $fault: "client";
|
|
66
|
+
constructor(
|
|
67
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
68
|
+
);
|
|
69
|
+
}
|
|
@@ -1,15 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
AutomaticJsonStringConversion as __AutomaticJsonStringConversion,
|
|
3
|
-
ExceptionOptionType as __ExceptionOptionType,
|
|
4
|
-
} from "@smithy/smithy-client";
|
|
5
|
-
import { BraketServiceException as __BaseException } from "./BraketServiceException";
|
|
6
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
7
|
-
readonly name: "AccessDeniedException";
|
|
8
|
-
readonly $fault: "client";
|
|
9
|
-
constructor(
|
|
10
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
11
|
-
);
|
|
12
|
-
}
|
|
1
|
+
import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion } from "@smithy/smithy-client";
|
|
13
2
|
export interface ActionMetadata {
|
|
14
3
|
actionType: string | undefined;
|
|
15
4
|
programCount?: number | undefined;
|
|
@@ -80,27 +69,6 @@ export interface GetDeviceResponse {
|
|
|
80
69
|
deviceCapabilities: __AutomaticJsonStringConversion | string | undefined;
|
|
81
70
|
deviceQueueInfo?: DeviceQueueInfo[] | undefined;
|
|
82
71
|
}
|
|
83
|
-
export declare class InternalServiceException extends __BaseException {
|
|
84
|
-
readonly name: "InternalServiceException";
|
|
85
|
-
readonly $fault: "server";
|
|
86
|
-
constructor(
|
|
87
|
-
opts: __ExceptionOptionType<InternalServiceException, __BaseException>
|
|
88
|
-
);
|
|
89
|
-
}
|
|
90
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
91
|
-
readonly name: "ResourceNotFoundException";
|
|
92
|
-
readonly $fault: "client";
|
|
93
|
-
constructor(
|
|
94
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
95
|
-
);
|
|
96
|
-
}
|
|
97
|
-
export declare class ThrottlingException extends __BaseException {
|
|
98
|
-
readonly name: "ThrottlingException";
|
|
99
|
-
readonly $fault: "client";
|
|
100
|
-
constructor(
|
|
101
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
102
|
-
);
|
|
103
|
-
}
|
|
104
72
|
export interface ProgramSetValidationFailure {
|
|
105
73
|
programIndex: number | undefined;
|
|
106
74
|
inputsIndex?: number | undefined;
|
|
@@ -111,15 +79,6 @@ export declare const ValidationExceptionReason: {
|
|
|
111
79
|
};
|
|
112
80
|
export type ValidationExceptionReason =
|
|
113
81
|
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
114
|
-
export declare class ValidationException extends __BaseException {
|
|
115
|
-
readonly name: "ValidationException";
|
|
116
|
-
readonly $fault: "client";
|
|
117
|
-
reason?: ValidationExceptionReason | undefined;
|
|
118
|
-
programSetValidationFailures?: ProgramSetValidationFailure[] | undefined;
|
|
119
|
-
constructor(
|
|
120
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
121
|
-
);
|
|
122
|
-
}
|
|
123
82
|
export interface SearchDevicesFilter {
|
|
124
83
|
name: string | undefined;
|
|
125
84
|
values: string[] | undefined;
|
|
@@ -153,11 +112,6 @@ export interface CancelJobResponse {
|
|
|
153
112
|
jobArn: string | undefined;
|
|
154
113
|
cancellationStatus: CancellationStatus | undefined;
|
|
155
114
|
}
|
|
156
|
-
export declare class ConflictException extends __BaseException {
|
|
157
|
-
readonly name: "ConflictException";
|
|
158
|
-
readonly $fault: "client";
|
|
159
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
160
|
-
}
|
|
161
115
|
export interface JobCheckpointConfig {
|
|
162
116
|
localPath?: string | undefined;
|
|
163
117
|
s3Uri: string | undefined;
|
|
@@ -248,27 +202,6 @@ export interface CreateJobRequest {
|
|
|
248
202
|
export interface CreateJobResponse {
|
|
249
203
|
jobArn: string | undefined;
|
|
250
204
|
}
|
|
251
|
-
export declare class DeviceOfflineException extends __BaseException {
|
|
252
|
-
readonly name: "DeviceOfflineException";
|
|
253
|
-
readonly $fault: "client";
|
|
254
|
-
constructor(
|
|
255
|
-
opts: __ExceptionOptionType<DeviceOfflineException, __BaseException>
|
|
256
|
-
);
|
|
257
|
-
}
|
|
258
|
-
export declare class DeviceRetiredException extends __BaseException {
|
|
259
|
-
readonly name: "DeviceRetiredException";
|
|
260
|
-
readonly $fault: "client";
|
|
261
|
-
constructor(
|
|
262
|
-
opts: __ExceptionOptionType<DeviceRetiredException, __BaseException>
|
|
263
|
-
);
|
|
264
|
-
}
|
|
265
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
266
|
-
readonly name: "ServiceQuotaExceededException";
|
|
267
|
-
readonly $fault: "client";
|
|
268
|
-
constructor(
|
|
269
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
270
|
-
);
|
|
271
|
-
}
|
|
272
205
|
export declare const HybridJobAdditionalAttributeName: {
|
|
273
206
|
readonly QUEUE_INFO: "QueueInfo";
|
|
274
207
|
};
|
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.935.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-braket",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.935.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|