@aws-sdk/client-braket 3.927.0 → 3.929.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 +769 -752
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/BraketClient.js +2 -0
- package/dist-es/commands/CancelJobCommand.js +3 -9
- package/dist-es/commands/CancelQuantumTaskCommand.js +3 -9
- package/dist-es/commands/CreateJobCommand.js +3 -9
- package/dist-es/commands/CreateQuantumTaskCommand.js +3 -9
- package/dist-es/commands/GetDeviceCommand.js +3 -9
- package/dist-es/commands/GetJobCommand.js +3 -9
- package/dist-es/commands/GetQuantumTaskCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/SearchDevicesCommand.js +3 -9
- package/dist-es/commands/SearchJobsCommand.js +3 -9
- package/dist-es/commands/SearchQuantumTasksCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/models/models_0.js +12 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +710 -0
- package/dist-types/BraketClient.d.ts +10 -1
- package/dist-types/commands/CreateQuantumTaskCommand.d.ts +3 -0
- package/dist-types/commands/GetQuantumTaskCommand.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +54 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +94 -0
- package/dist-types/ts3.4/BraketClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +26 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +100 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_restJson1.js +0 -637
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -119
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -161
package/dist-cjs/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
|
|
|
6
6
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
7
|
var configResolver = require('@smithy/config-resolver');
|
|
8
8
|
var core = require('@smithy/core');
|
|
9
|
+
var schema = require('@smithy/core/schema');
|
|
9
10
|
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
11
|
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
12
|
var middlewareRetry = require('@smithy/middleware-retry');
|
|
@@ -14,9 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
14
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
15
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
-
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
-
var core$1 = require('@aws-sdk/core');
|
|
19
|
-
var uuid = require('@smithy/uuid');
|
|
20
18
|
|
|
21
19
|
const resolveClientEndpointParameters = (options) => {
|
|
22
20
|
return Object.assign(options, {
|
|
@@ -92,6 +90,7 @@ class BraketClient extends smithyClient.Client {
|
|
|
92
90
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
93
91
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
94
92
|
this.config = _config_8;
|
|
93
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
95
94
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
96
95
|
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
97
96
|
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
@@ -111,14 +110,14 @@ class BraketClient extends smithyClient.Client {
|
|
|
111
110
|
}
|
|
112
111
|
}
|
|
113
112
|
|
|
114
|
-
class BraketServiceException extends smithyClient.ServiceException {
|
|
113
|
+
let BraketServiceException$1 = class BraketServiceException extends smithyClient.ServiceException {
|
|
115
114
|
constructor(options) {
|
|
116
115
|
super(options);
|
|
117
116
|
Object.setPrototypeOf(this, BraketServiceException.prototype);
|
|
118
117
|
}
|
|
119
|
-
}
|
|
118
|
+
};
|
|
120
119
|
|
|
121
|
-
class AccessDeniedException extends BraketServiceException {
|
|
120
|
+
let AccessDeniedException$1 = class AccessDeniedException extends BraketServiceException$1 {
|
|
122
121
|
name = "AccessDeniedException";
|
|
123
122
|
$fault = "client";
|
|
124
123
|
constructor(opts) {
|
|
@@ -129,7 +128,7 @@ class AccessDeniedException extends BraketServiceException {
|
|
|
129
128
|
});
|
|
130
129
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
131
130
|
}
|
|
132
|
-
}
|
|
131
|
+
};
|
|
133
132
|
const CompressionType = {
|
|
134
133
|
GZIP: "GZIP",
|
|
135
134
|
NONE: "NONE",
|
|
@@ -154,7 +153,7 @@ const DeviceType = {
|
|
|
154
153
|
QPU: "QPU",
|
|
155
154
|
SIMULATOR: "SIMULATOR",
|
|
156
155
|
};
|
|
157
|
-
class InternalServiceException extends BraketServiceException {
|
|
156
|
+
let InternalServiceException$1 = class InternalServiceException extends BraketServiceException$1 {
|
|
158
157
|
name = "InternalServiceException";
|
|
159
158
|
$fault = "server";
|
|
160
159
|
constructor(opts) {
|
|
@@ -165,8 +164,8 @@ class InternalServiceException extends BraketServiceException {
|
|
|
165
164
|
});
|
|
166
165
|
Object.setPrototypeOf(this, InternalServiceException.prototype);
|
|
167
166
|
}
|
|
168
|
-
}
|
|
169
|
-
class ResourceNotFoundException extends BraketServiceException {
|
|
167
|
+
};
|
|
168
|
+
let ResourceNotFoundException$1 = class ResourceNotFoundException extends BraketServiceException$1 {
|
|
170
169
|
name = "ResourceNotFoundException";
|
|
171
170
|
$fault = "client";
|
|
172
171
|
constructor(opts) {
|
|
@@ -177,8 +176,8 @@ class ResourceNotFoundException extends BraketServiceException {
|
|
|
177
176
|
});
|
|
178
177
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
179
178
|
}
|
|
180
|
-
}
|
|
181
|
-
class ThrottlingException extends BraketServiceException {
|
|
179
|
+
};
|
|
180
|
+
let ThrottlingException$1 = class ThrottlingException extends BraketServiceException$1 {
|
|
182
181
|
name = "ThrottlingException";
|
|
183
182
|
$fault = "client";
|
|
184
183
|
constructor(opts) {
|
|
@@ -189,11 +188,11 @@ class ThrottlingException extends BraketServiceException {
|
|
|
189
188
|
});
|
|
190
189
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
191
190
|
}
|
|
192
|
-
}
|
|
191
|
+
};
|
|
193
192
|
const ValidationExceptionReason = {
|
|
194
193
|
PROGRAM_SET_VALIDATION_FAILED: "ProgramSetValidationFailed",
|
|
195
194
|
};
|
|
196
|
-
class ValidationException extends BraketServiceException {
|
|
195
|
+
let ValidationException$1 = class ValidationException extends BraketServiceException$1 {
|
|
197
196
|
name = "ValidationException";
|
|
198
197
|
$fault = "client";
|
|
199
198
|
reason;
|
|
@@ -208,12 +207,12 @@ class ValidationException extends BraketServiceException {
|
|
|
208
207
|
this.reason = opts.reason;
|
|
209
208
|
this.programSetValidationFailures = opts.programSetValidationFailures;
|
|
210
209
|
}
|
|
211
|
-
}
|
|
210
|
+
};
|
|
212
211
|
const CancellationStatus = {
|
|
213
212
|
CANCELLED: "CANCELLED",
|
|
214
213
|
CANCELLING: "CANCELLING",
|
|
215
214
|
};
|
|
216
|
-
class ConflictException extends BraketServiceException {
|
|
215
|
+
let ConflictException$1 = class ConflictException extends BraketServiceException$1 {
|
|
217
216
|
name = "ConflictException";
|
|
218
217
|
$fault = "client";
|
|
219
218
|
constructor(opts) {
|
|
@@ -224,7 +223,7 @@ class ConflictException extends BraketServiceException {
|
|
|
224
223
|
});
|
|
225
224
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
226
225
|
}
|
|
227
|
-
}
|
|
226
|
+
};
|
|
228
227
|
const _InstanceType = {
|
|
229
228
|
ML_C4_2XLARGE: "ml.c4.2xlarge",
|
|
230
229
|
ML_C4_4XLARGE: "ml.c4.4xlarge",
|
|
@@ -266,7 +265,7 @@ const _InstanceType = {
|
|
|
266
265
|
ML_P3_8XLARGE: "ml.p3.8xlarge",
|
|
267
266
|
ML_P4D_24XLARGE: "ml.p4d.24xlarge",
|
|
268
267
|
};
|
|
269
|
-
class DeviceOfflineException extends BraketServiceException {
|
|
268
|
+
let DeviceOfflineException$1 = class DeviceOfflineException extends BraketServiceException$1 {
|
|
270
269
|
name = "DeviceOfflineException";
|
|
271
270
|
$fault = "client";
|
|
272
271
|
constructor(opts) {
|
|
@@ -277,8 +276,8 @@ class DeviceOfflineException extends BraketServiceException {
|
|
|
277
276
|
});
|
|
278
277
|
Object.setPrototypeOf(this, DeviceOfflineException.prototype);
|
|
279
278
|
}
|
|
280
|
-
}
|
|
281
|
-
class DeviceRetiredException extends BraketServiceException {
|
|
279
|
+
};
|
|
280
|
+
let DeviceRetiredException$1 = class DeviceRetiredException extends BraketServiceException$1 {
|
|
282
281
|
name = "DeviceRetiredException";
|
|
283
282
|
$fault = "client";
|
|
284
283
|
constructor(opts) {
|
|
@@ -289,8 +288,8 @@ class DeviceRetiredException extends BraketServiceException {
|
|
|
289
288
|
});
|
|
290
289
|
Object.setPrototypeOf(this, DeviceRetiredException.prototype);
|
|
291
290
|
}
|
|
292
|
-
}
|
|
293
|
-
class ServiceQuotaExceededException extends BraketServiceException {
|
|
291
|
+
};
|
|
292
|
+
let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends BraketServiceException$1 {
|
|
294
293
|
name = "ServiceQuotaExceededException";
|
|
295
294
|
$fault = "client";
|
|
296
295
|
constructor(opts) {
|
|
@@ -301,7 +300,7 @@ class ServiceQuotaExceededException extends BraketServiceException {
|
|
|
301
300
|
});
|
|
302
301
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
303
302
|
}
|
|
304
|
-
}
|
|
303
|
+
};
|
|
305
304
|
const HybridJobAdditionalAttributeName = {
|
|
306
305
|
QUEUE_INFO: "QueueInfo",
|
|
307
306
|
};
|
|
@@ -335,6 +334,18 @@ const SearchJobsFilterOperator = {
|
|
|
335
334
|
LT: "LT",
|
|
336
335
|
LTE: "LTE",
|
|
337
336
|
};
|
|
337
|
+
const ExperimentalCapabilitiesEnablementType = {
|
|
338
|
+
ALL: "ALL",
|
|
339
|
+
NONE: "NONE",
|
|
340
|
+
};
|
|
341
|
+
exports.ExperimentalCapabilities = void 0;
|
|
342
|
+
(function (ExperimentalCapabilities) {
|
|
343
|
+
ExperimentalCapabilities.visit = (value, visitor) => {
|
|
344
|
+
if (value.enabled !== undefined)
|
|
345
|
+
return visitor.enabled(value.enabled);
|
|
346
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
347
|
+
};
|
|
348
|
+
})(exports.ExperimentalCapabilities || (exports.ExperimentalCapabilities = {}));
|
|
338
349
|
const QuantumTaskAdditionalAttributeName = {
|
|
339
350
|
QUEUE_INFO: "QueueInfo",
|
|
340
351
|
};
|
|
@@ -356,651 +367,716 @@ const SearchQuantumTasksFilterOperator = {
|
|
|
356
367
|
LTE: "LTE",
|
|
357
368
|
};
|
|
358
369
|
|
|
359
|
-
const
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
const
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
const
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
const
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
const
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
const
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
});
|
|
446
|
-
let body;
|
|
447
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
448
|
-
return b.build();
|
|
449
|
-
};
|
|
450
|
-
const se_GetQuantumTaskCommand = async (input, context) => {
|
|
451
|
-
const b = core.requestBuilder(input, context);
|
|
452
|
-
const headers = {};
|
|
453
|
-
b.bp("/quantum-task/{quantumTaskArn}");
|
|
454
|
-
b.p("quantumTaskArn", () => input.quantumTaskArn, "{quantumTaskArn}", false);
|
|
455
|
-
const query = smithyClient.map({
|
|
456
|
-
[_aAN]: [() => input.additionalAttributeNames !== void 0, () => input[_aAN] || []],
|
|
457
|
-
});
|
|
458
|
-
let body;
|
|
459
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
460
|
-
return b.build();
|
|
461
|
-
};
|
|
462
|
-
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
463
|
-
const b = core.requestBuilder(input, context);
|
|
464
|
-
const headers = {};
|
|
465
|
-
b.bp("/tags/{resourceArn}");
|
|
466
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
467
|
-
let body;
|
|
468
|
-
b.m("GET").h(headers).b(body);
|
|
469
|
-
return b.build();
|
|
470
|
-
};
|
|
471
|
-
const se_SearchDevicesCommand = async (input, context) => {
|
|
472
|
-
const b = core.requestBuilder(input, context);
|
|
473
|
-
const headers = {
|
|
474
|
-
"content-type": "application/json",
|
|
475
|
-
};
|
|
476
|
-
b.bp("/devices");
|
|
477
|
-
let body;
|
|
478
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
479
|
-
filters: (_) => smithyClient._json(_),
|
|
480
|
-
maxResults: [],
|
|
481
|
-
nextToken: [],
|
|
482
|
-
}));
|
|
483
|
-
b.m("POST").h(headers).b(body);
|
|
484
|
-
return b.build();
|
|
485
|
-
};
|
|
486
|
-
const se_SearchJobsCommand = async (input, context) => {
|
|
487
|
-
const b = core.requestBuilder(input, context);
|
|
488
|
-
const headers = {
|
|
489
|
-
"content-type": "application/json",
|
|
490
|
-
};
|
|
491
|
-
b.bp("/jobs");
|
|
492
|
-
let body;
|
|
493
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
494
|
-
filters: (_) => smithyClient._json(_),
|
|
495
|
-
maxResults: [],
|
|
496
|
-
nextToken: [],
|
|
497
|
-
}));
|
|
498
|
-
b.m("POST").h(headers).b(body);
|
|
499
|
-
return b.build();
|
|
500
|
-
};
|
|
501
|
-
const se_SearchQuantumTasksCommand = async (input, context) => {
|
|
502
|
-
const b = core.requestBuilder(input, context);
|
|
503
|
-
const headers = {
|
|
504
|
-
"content-type": "application/json",
|
|
505
|
-
};
|
|
506
|
-
b.bp("/quantum-tasks");
|
|
507
|
-
let body;
|
|
508
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
509
|
-
filters: (_) => smithyClient._json(_),
|
|
510
|
-
maxResults: [],
|
|
511
|
-
nextToken: [],
|
|
512
|
-
}));
|
|
513
|
-
b.m("POST").h(headers).b(body);
|
|
514
|
-
return b.build();
|
|
515
|
-
};
|
|
516
|
-
const se_TagResourceCommand = async (input, context) => {
|
|
517
|
-
const b = core.requestBuilder(input, context);
|
|
518
|
-
const headers = {
|
|
519
|
-
"content-type": "application/json",
|
|
520
|
-
};
|
|
521
|
-
b.bp("/tags/{resourceArn}");
|
|
522
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
523
|
-
let body;
|
|
524
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
525
|
-
tags: (_) => smithyClient._json(_),
|
|
526
|
-
}));
|
|
527
|
-
b.m("POST").h(headers).b(body);
|
|
528
|
-
return b.build();
|
|
529
|
-
};
|
|
530
|
-
const se_UntagResourceCommand = async (input, context) => {
|
|
531
|
-
const b = core.requestBuilder(input, context);
|
|
532
|
-
const headers = {};
|
|
533
|
-
b.bp("/tags/{resourceArn}");
|
|
534
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
535
|
-
const query = smithyClient.map({
|
|
536
|
-
[_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
|
|
537
|
-
});
|
|
538
|
-
let body;
|
|
539
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
540
|
-
return b.build();
|
|
541
|
-
};
|
|
542
|
-
const de_CancelJobCommand = async (output, context) => {
|
|
543
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
544
|
-
return de_CommandError(output, context);
|
|
545
|
-
}
|
|
546
|
-
const contents = smithyClient.map({
|
|
547
|
-
$metadata: deserializeMetadata(output),
|
|
548
|
-
});
|
|
549
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
550
|
-
const doc = smithyClient.take(data, {
|
|
551
|
-
cancellationStatus: smithyClient.expectString,
|
|
552
|
-
jobArn: smithyClient.expectString,
|
|
553
|
-
});
|
|
554
|
-
Object.assign(contents, doc);
|
|
555
|
-
return contents;
|
|
556
|
-
};
|
|
557
|
-
const de_CancelQuantumTaskCommand = async (output, context) => {
|
|
558
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
559
|
-
return de_CommandError(output, context);
|
|
560
|
-
}
|
|
561
|
-
const contents = smithyClient.map({
|
|
562
|
-
$metadata: deserializeMetadata(output),
|
|
563
|
-
});
|
|
564
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
565
|
-
const doc = smithyClient.take(data, {
|
|
566
|
-
cancellationStatus: smithyClient.expectString,
|
|
567
|
-
quantumTaskArn: smithyClient.expectString,
|
|
568
|
-
});
|
|
569
|
-
Object.assign(contents, doc);
|
|
570
|
-
return contents;
|
|
571
|
-
};
|
|
572
|
-
const de_CreateJobCommand = async (output, context) => {
|
|
573
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
574
|
-
return de_CommandError(output, context);
|
|
575
|
-
}
|
|
576
|
-
const contents = smithyClient.map({
|
|
577
|
-
$metadata: deserializeMetadata(output),
|
|
578
|
-
});
|
|
579
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
580
|
-
const doc = smithyClient.take(data, {
|
|
581
|
-
jobArn: smithyClient.expectString,
|
|
582
|
-
});
|
|
583
|
-
Object.assign(contents, doc);
|
|
584
|
-
return contents;
|
|
585
|
-
};
|
|
586
|
-
const de_CreateQuantumTaskCommand = async (output, context) => {
|
|
587
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
588
|
-
return de_CommandError(output, context);
|
|
589
|
-
}
|
|
590
|
-
const contents = smithyClient.map({
|
|
591
|
-
$metadata: deserializeMetadata(output),
|
|
592
|
-
});
|
|
593
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
594
|
-
const doc = smithyClient.take(data, {
|
|
595
|
-
quantumTaskArn: smithyClient.expectString,
|
|
596
|
-
});
|
|
597
|
-
Object.assign(contents, doc);
|
|
598
|
-
return contents;
|
|
599
|
-
};
|
|
600
|
-
const de_GetDeviceCommand = async (output, context) => {
|
|
601
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
602
|
-
return de_CommandError(output, context);
|
|
603
|
-
}
|
|
604
|
-
const contents = smithyClient.map({
|
|
605
|
-
$metadata: deserializeMetadata(output),
|
|
606
|
-
});
|
|
607
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
608
|
-
const doc = smithyClient.take(data, {
|
|
609
|
-
deviceArn: smithyClient.expectString,
|
|
610
|
-
deviceCapabilities: smithyClient.LazyJsonString.from,
|
|
611
|
-
deviceName: smithyClient.expectString,
|
|
612
|
-
deviceQueueInfo: smithyClient._json,
|
|
613
|
-
deviceStatus: smithyClient.expectString,
|
|
614
|
-
deviceType: smithyClient.expectString,
|
|
615
|
-
providerName: smithyClient.expectString,
|
|
616
|
-
});
|
|
617
|
-
Object.assign(contents, doc);
|
|
618
|
-
return contents;
|
|
619
|
-
};
|
|
620
|
-
const de_GetJobCommand = async (output, context) => {
|
|
621
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
622
|
-
return de_CommandError(output, context);
|
|
623
|
-
}
|
|
624
|
-
const contents = smithyClient.map({
|
|
625
|
-
$metadata: deserializeMetadata(output),
|
|
626
|
-
});
|
|
627
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
628
|
-
const doc = smithyClient.take(data, {
|
|
629
|
-
algorithmSpecification: smithyClient._json,
|
|
630
|
-
associations: smithyClient._json,
|
|
631
|
-
billableDuration: smithyClient.expectInt32,
|
|
632
|
-
checkpointConfig: smithyClient._json,
|
|
633
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
634
|
-
deviceConfig: smithyClient._json,
|
|
635
|
-
endedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
636
|
-
events: (_) => de_JobEvents(_),
|
|
637
|
-
failureReason: smithyClient.expectString,
|
|
638
|
-
hyperParameters: smithyClient._json,
|
|
639
|
-
inputDataConfig: smithyClient._json,
|
|
640
|
-
instanceConfig: smithyClient._json,
|
|
641
|
-
jobArn: smithyClient.expectString,
|
|
642
|
-
jobName: smithyClient.expectString,
|
|
643
|
-
outputDataConfig: smithyClient._json,
|
|
644
|
-
queueInfo: smithyClient._json,
|
|
645
|
-
roleArn: smithyClient.expectString,
|
|
646
|
-
startedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
647
|
-
status: smithyClient.expectString,
|
|
648
|
-
stoppingCondition: smithyClient._json,
|
|
649
|
-
tags: smithyClient._json,
|
|
650
|
-
});
|
|
651
|
-
Object.assign(contents, doc);
|
|
652
|
-
return contents;
|
|
653
|
-
};
|
|
654
|
-
const de_GetQuantumTaskCommand = async (output, context) => {
|
|
655
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
656
|
-
return de_CommandError(output, context);
|
|
657
|
-
}
|
|
658
|
-
const contents = smithyClient.map({
|
|
659
|
-
$metadata: deserializeMetadata(output),
|
|
660
|
-
});
|
|
661
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
662
|
-
const doc = smithyClient.take(data, {
|
|
663
|
-
actionMetadata: smithyClient._json,
|
|
664
|
-
associations: smithyClient._json,
|
|
665
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
666
|
-
deviceArn: smithyClient.expectString,
|
|
667
|
-
deviceParameters: smithyClient.LazyJsonString.from,
|
|
668
|
-
endedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
669
|
-
failureReason: smithyClient.expectString,
|
|
670
|
-
jobArn: smithyClient.expectString,
|
|
671
|
-
numSuccessfulShots: smithyClient.expectLong,
|
|
672
|
-
outputS3Bucket: smithyClient.expectString,
|
|
673
|
-
outputS3Directory: smithyClient.expectString,
|
|
674
|
-
quantumTaskArn: smithyClient.expectString,
|
|
675
|
-
queueInfo: smithyClient._json,
|
|
676
|
-
shots: smithyClient.expectLong,
|
|
677
|
-
status: smithyClient.expectString,
|
|
678
|
-
tags: smithyClient._json,
|
|
679
|
-
});
|
|
680
|
-
Object.assign(contents, doc);
|
|
681
|
-
return contents;
|
|
682
|
-
};
|
|
683
|
-
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
684
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
685
|
-
return de_CommandError(output, context);
|
|
686
|
-
}
|
|
687
|
-
const contents = smithyClient.map({
|
|
688
|
-
$metadata: deserializeMetadata(output),
|
|
689
|
-
});
|
|
690
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
691
|
-
const doc = smithyClient.take(data, {
|
|
692
|
-
tags: smithyClient._json,
|
|
693
|
-
});
|
|
694
|
-
Object.assign(contents, doc);
|
|
695
|
-
return contents;
|
|
696
|
-
};
|
|
697
|
-
const de_SearchDevicesCommand = async (output, context) => {
|
|
698
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
699
|
-
return de_CommandError(output, context);
|
|
700
|
-
}
|
|
701
|
-
const contents = smithyClient.map({
|
|
702
|
-
$metadata: deserializeMetadata(output),
|
|
703
|
-
});
|
|
704
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
705
|
-
const doc = smithyClient.take(data, {
|
|
706
|
-
devices: smithyClient._json,
|
|
707
|
-
nextToken: smithyClient.expectString,
|
|
708
|
-
});
|
|
709
|
-
Object.assign(contents, doc);
|
|
710
|
-
return contents;
|
|
711
|
-
};
|
|
712
|
-
const de_SearchJobsCommand = async (output, context) => {
|
|
713
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
714
|
-
return de_CommandError(output, context);
|
|
715
|
-
}
|
|
716
|
-
const contents = smithyClient.map({
|
|
717
|
-
$metadata: deserializeMetadata(output),
|
|
718
|
-
});
|
|
719
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
720
|
-
const doc = smithyClient.take(data, {
|
|
721
|
-
jobs: (_) => de_JobSummaryList(_),
|
|
722
|
-
nextToken: smithyClient.expectString,
|
|
723
|
-
});
|
|
724
|
-
Object.assign(contents, doc);
|
|
725
|
-
return contents;
|
|
726
|
-
};
|
|
727
|
-
const de_SearchQuantumTasksCommand = async (output, context) => {
|
|
728
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
729
|
-
return de_CommandError(output, context);
|
|
730
|
-
}
|
|
731
|
-
const contents = smithyClient.map({
|
|
732
|
-
$metadata: deserializeMetadata(output),
|
|
733
|
-
});
|
|
734
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
735
|
-
const doc = smithyClient.take(data, {
|
|
736
|
-
nextToken: smithyClient.expectString,
|
|
737
|
-
quantumTasks: (_) => de_QuantumTaskSummaryList(_),
|
|
738
|
-
});
|
|
739
|
-
Object.assign(contents, doc);
|
|
740
|
-
return contents;
|
|
741
|
-
};
|
|
742
|
-
const de_TagResourceCommand = async (output, context) => {
|
|
743
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
744
|
-
return de_CommandError(output, context);
|
|
745
|
-
}
|
|
746
|
-
const contents = smithyClient.map({
|
|
747
|
-
$metadata: deserializeMetadata(output),
|
|
748
|
-
});
|
|
749
|
-
await smithyClient.collectBody(output.body, context);
|
|
750
|
-
return contents;
|
|
751
|
-
};
|
|
752
|
-
const de_UntagResourceCommand = async (output, context) => {
|
|
753
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
754
|
-
return de_CommandError(output, context);
|
|
755
|
-
}
|
|
756
|
-
const contents = smithyClient.map({
|
|
757
|
-
$metadata: deserializeMetadata(output),
|
|
758
|
-
});
|
|
759
|
-
await smithyClient.collectBody(output.body, context);
|
|
760
|
-
return contents;
|
|
761
|
-
};
|
|
762
|
-
const de_CommandError = async (output, context) => {
|
|
763
|
-
const parsedOutput = {
|
|
764
|
-
...output,
|
|
765
|
-
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
766
|
-
};
|
|
767
|
-
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
768
|
-
switch (errorCode) {
|
|
769
|
-
case "AccessDeniedException":
|
|
770
|
-
case "com.amazonaws.braket#AccessDeniedException":
|
|
771
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
772
|
-
case "ConflictException":
|
|
773
|
-
case "com.amazonaws.braket#ConflictException":
|
|
774
|
-
throw await de_ConflictExceptionRes(parsedOutput);
|
|
775
|
-
case "InternalServiceException":
|
|
776
|
-
case "com.amazonaws.braket#InternalServiceException":
|
|
777
|
-
throw await de_InternalServiceExceptionRes(parsedOutput);
|
|
778
|
-
case "ResourceNotFoundException":
|
|
779
|
-
case "com.amazonaws.braket#ResourceNotFoundException":
|
|
780
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
781
|
-
case "ThrottlingException":
|
|
782
|
-
case "com.amazonaws.braket#ThrottlingException":
|
|
783
|
-
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
784
|
-
case "ValidationException":
|
|
785
|
-
case "com.amazonaws.braket#ValidationException":
|
|
786
|
-
throw await de_ValidationExceptionRes(parsedOutput);
|
|
787
|
-
case "DeviceOfflineException":
|
|
788
|
-
case "com.amazonaws.braket#DeviceOfflineException":
|
|
789
|
-
throw await de_DeviceOfflineExceptionRes(parsedOutput);
|
|
790
|
-
case "DeviceRetiredException":
|
|
791
|
-
case "com.amazonaws.braket#DeviceRetiredException":
|
|
792
|
-
throw await de_DeviceRetiredExceptionRes(parsedOutput);
|
|
793
|
-
case "ServiceQuotaExceededException":
|
|
794
|
-
case "com.amazonaws.braket#ServiceQuotaExceededException":
|
|
795
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
|
|
796
|
-
default:
|
|
797
|
-
const parsedBody = parsedOutput.body;
|
|
798
|
-
return throwDefaultError({
|
|
799
|
-
output,
|
|
800
|
-
parsedBody,
|
|
801
|
-
errorCode,
|
|
802
|
-
});
|
|
803
|
-
}
|
|
804
|
-
};
|
|
805
|
-
const throwDefaultError = smithyClient.withBaseException(BraketServiceException);
|
|
806
|
-
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
807
|
-
const contents = smithyClient.map({});
|
|
808
|
-
const data = parsedOutput.body;
|
|
809
|
-
const doc = smithyClient.take(data, {
|
|
810
|
-
message: smithyClient.expectString,
|
|
811
|
-
});
|
|
812
|
-
Object.assign(contents, doc);
|
|
813
|
-
const exception = new AccessDeniedException({
|
|
814
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
815
|
-
...contents,
|
|
816
|
-
});
|
|
817
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
818
|
-
};
|
|
819
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
820
|
-
const contents = smithyClient.map({});
|
|
821
|
-
const data = parsedOutput.body;
|
|
822
|
-
const doc = smithyClient.take(data, {
|
|
823
|
-
message: smithyClient.expectString,
|
|
824
|
-
});
|
|
825
|
-
Object.assign(contents, doc);
|
|
826
|
-
const exception = new ConflictException({
|
|
827
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
828
|
-
...contents,
|
|
829
|
-
});
|
|
830
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
831
|
-
};
|
|
832
|
-
const de_DeviceOfflineExceptionRes = async (parsedOutput, context) => {
|
|
833
|
-
const contents = smithyClient.map({});
|
|
834
|
-
const data = parsedOutput.body;
|
|
835
|
-
const doc = smithyClient.take(data, {
|
|
836
|
-
message: smithyClient.expectString,
|
|
837
|
-
});
|
|
838
|
-
Object.assign(contents, doc);
|
|
839
|
-
const exception = new DeviceOfflineException({
|
|
840
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
841
|
-
...contents,
|
|
842
|
-
});
|
|
843
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
844
|
-
};
|
|
845
|
-
const de_DeviceRetiredExceptionRes = async (parsedOutput, context) => {
|
|
846
|
-
const contents = smithyClient.map({});
|
|
847
|
-
const data = parsedOutput.body;
|
|
848
|
-
const doc = smithyClient.take(data, {
|
|
849
|
-
message: smithyClient.expectString,
|
|
850
|
-
});
|
|
851
|
-
Object.assign(contents, doc);
|
|
852
|
-
const exception = new DeviceRetiredException({
|
|
853
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
854
|
-
...contents,
|
|
855
|
-
});
|
|
856
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
857
|
-
};
|
|
858
|
-
const de_InternalServiceExceptionRes = async (parsedOutput, context) => {
|
|
859
|
-
const contents = smithyClient.map({});
|
|
860
|
-
const data = parsedOutput.body;
|
|
861
|
-
const doc = smithyClient.take(data, {
|
|
862
|
-
message: smithyClient.expectString,
|
|
863
|
-
});
|
|
864
|
-
Object.assign(contents, doc);
|
|
865
|
-
const exception = new InternalServiceException({
|
|
866
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
867
|
-
...contents,
|
|
868
|
-
});
|
|
869
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
870
|
-
};
|
|
871
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
872
|
-
const contents = smithyClient.map({});
|
|
873
|
-
const data = parsedOutput.body;
|
|
874
|
-
const doc = smithyClient.take(data, {
|
|
875
|
-
message: smithyClient.expectString,
|
|
876
|
-
});
|
|
877
|
-
Object.assign(contents, doc);
|
|
878
|
-
const exception = new ResourceNotFoundException({
|
|
879
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
880
|
-
...contents,
|
|
881
|
-
});
|
|
882
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
883
|
-
};
|
|
884
|
-
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
885
|
-
const contents = smithyClient.map({});
|
|
886
|
-
const data = parsedOutput.body;
|
|
887
|
-
const doc = smithyClient.take(data, {
|
|
888
|
-
message: smithyClient.expectString,
|
|
889
|
-
});
|
|
890
|
-
Object.assign(contents, doc);
|
|
891
|
-
const exception = new ServiceQuotaExceededException({
|
|
892
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
893
|
-
...contents,
|
|
894
|
-
});
|
|
895
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
896
|
-
};
|
|
897
|
-
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
898
|
-
const contents = smithyClient.map({});
|
|
899
|
-
const data = parsedOutput.body;
|
|
900
|
-
const doc = smithyClient.take(data, {
|
|
901
|
-
message: smithyClient.expectString,
|
|
902
|
-
});
|
|
903
|
-
Object.assign(contents, doc);
|
|
904
|
-
const exception = new ThrottlingException({
|
|
905
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
906
|
-
...contents,
|
|
907
|
-
});
|
|
908
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
909
|
-
};
|
|
910
|
-
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
911
|
-
const contents = smithyClient.map({});
|
|
912
|
-
const data = parsedOutput.body;
|
|
913
|
-
const doc = smithyClient.take(data, {
|
|
914
|
-
message: smithyClient.expectString,
|
|
915
|
-
programSetValidationFailures: smithyClient._json,
|
|
916
|
-
reason: smithyClient.expectString,
|
|
917
|
-
});
|
|
918
|
-
Object.assign(contents, doc);
|
|
919
|
-
const exception = new ValidationException({
|
|
920
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
921
|
-
...contents,
|
|
922
|
-
});
|
|
923
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
924
|
-
};
|
|
925
|
-
const de_JobEventDetails = (output, context) => {
|
|
926
|
-
return smithyClient.take(output, {
|
|
927
|
-
eventType: smithyClient.expectString,
|
|
928
|
-
message: smithyClient.expectString,
|
|
929
|
-
timeOfEvent: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
930
|
-
});
|
|
931
|
-
};
|
|
932
|
-
const de_JobEvents = (output, context) => {
|
|
933
|
-
const retVal = (output || [])
|
|
934
|
-
.filter((e) => e != null)
|
|
935
|
-
.map((entry) => {
|
|
936
|
-
return de_JobEventDetails(entry);
|
|
937
|
-
});
|
|
938
|
-
return retVal;
|
|
939
|
-
};
|
|
940
|
-
const de_JobSummary = (output, context) => {
|
|
941
|
-
return smithyClient.take(output, {
|
|
942
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
943
|
-
device: smithyClient.expectString,
|
|
944
|
-
endedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
945
|
-
jobArn: smithyClient.expectString,
|
|
946
|
-
jobName: smithyClient.expectString,
|
|
947
|
-
startedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
948
|
-
status: smithyClient.expectString,
|
|
949
|
-
tags: smithyClient._json,
|
|
950
|
-
});
|
|
951
|
-
};
|
|
952
|
-
const de_JobSummaryList = (output, context) => {
|
|
953
|
-
const retVal = (output || [])
|
|
954
|
-
.filter((e) => e != null)
|
|
955
|
-
.map((entry) => {
|
|
956
|
-
return de_JobSummary(entry);
|
|
957
|
-
});
|
|
958
|
-
return retVal;
|
|
959
|
-
};
|
|
960
|
-
const de_QuantumTaskSummary = (output, context) => {
|
|
961
|
-
return smithyClient.take(output, {
|
|
962
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
963
|
-
deviceArn: smithyClient.expectString,
|
|
964
|
-
endedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
965
|
-
outputS3Bucket: smithyClient.expectString,
|
|
966
|
-
outputS3Directory: smithyClient.expectString,
|
|
967
|
-
quantumTaskArn: smithyClient.expectString,
|
|
968
|
-
shots: smithyClient.expectLong,
|
|
969
|
-
status: smithyClient.expectString,
|
|
970
|
-
tags: smithyClient._json,
|
|
971
|
-
});
|
|
972
|
-
};
|
|
973
|
-
const de_QuantumTaskSummaryList = (output, context) => {
|
|
974
|
-
const retVal = (output || [])
|
|
975
|
-
.filter((e) => e != null)
|
|
976
|
-
.map((entry) => {
|
|
977
|
-
return de_QuantumTaskSummary(entry);
|
|
978
|
-
});
|
|
979
|
-
return retVal;
|
|
980
|
-
};
|
|
981
|
-
const deserializeMetadata = (output) => ({
|
|
982
|
-
httpStatusCode: output.statusCode,
|
|
983
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
984
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
985
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
986
|
-
});
|
|
370
|
+
const _A = "Association";
|
|
371
|
+
const _ADE = "AccessDeniedException";
|
|
372
|
+
const _AM = "ActionMetadata";
|
|
373
|
+
const _AS = "AlgorithmSpecification";
|
|
374
|
+
const _As = "Associations";
|
|
375
|
+
const _CE = "ConflictException";
|
|
376
|
+
const _CI = "ContainerImage";
|
|
377
|
+
const _CJ = "CancelJob";
|
|
378
|
+
const _CJR = "CancelJobRequest";
|
|
379
|
+
const _CJRa = "CancelJobResponse";
|
|
380
|
+
const _CJRr = "CreateJobRequest";
|
|
381
|
+
const _CJRre = "CreateJobResponse";
|
|
382
|
+
const _CJr = "CreateJob";
|
|
383
|
+
const _CQT = "CancelQuantumTask";
|
|
384
|
+
const _CQTR = "CancelQuantumTaskRequest";
|
|
385
|
+
const _CQTRa = "CancelQuantumTaskResponse";
|
|
386
|
+
const _CQTRr = "CreateQuantumTaskRequest";
|
|
387
|
+
const _CQTRre = "CreateQuantumTaskResponse";
|
|
388
|
+
const _CQTr = "CreateQuantumTask";
|
|
389
|
+
const _DC = "DeviceConfig";
|
|
390
|
+
const _DOE = "DeviceOfflineException";
|
|
391
|
+
const _DQI = "DeviceQueueInfo";
|
|
392
|
+
const _DQIL = "DeviceQueueInfoList";
|
|
393
|
+
const _DRE = "DeviceRetiredException";
|
|
394
|
+
const _DS = "DataSource";
|
|
395
|
+
const _DSL = "DeviceSummaryList";
|
|
396
|
+
const _DSe = "DeviceSummary";
|
|
397
|
+
const _EC = "ExperimentalCapabilities";
|
|
398
|
+
const _GD = "GetDevice";
|
|
399
|
+
const _GDR = "GetDeviceRequest";
|
|
400
|
+
const _GDRe = "GetDeviceResponse";
|
|
401
|
+
const _GJ = "GetJob";
|
|
402
|
+
const _GJR = "GetJobRequest";
|
|
403
|
+
const _GJRe = "GetJobResponse";
|
|
404
|
+
const _GQT = "GetQuantumTask";
|
|
405
|
+
const _GQTR = "GetQuantumTaskRequest";
|
|
406
|
+
const _GQTRe = "GetQuantumTaskResponse";
|
|
407
|
+
const _HJQI = "HybridJobQueueInfo";
|
|
408
|
+
const _IC = "InstanceConfig";
|
|
409
|
+
const _ICL = "InputConfigList";
|
|
410
|
+
const _IFC = "InputFileConfig";
|
|
411
|
+
const _ISE = "InternalServiceException";
|
|
412
|
+
const _JCC = "JobCheckpointConfig";
|
|
413
|
+
const _JE = "JobEvents";
|
|
414
|
+
const _JED = "JobEventDetails";
|
|
415
|
+
const _JODC = "JobOutputDataConfig";
|
|
416
|
+
const _JS = "JobSummary";
|
|
417
|
+
const _JSC = "JobStoppingCondition";
|
|
418
|
+
const _JSL = "JobSummaryList";
|
|
419
|
+
const _JV = "JsonValue";
|
|
420
|
+
const _LTFR = "ListTagsForResource";
|
|
421
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
422
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
423
|
+
const _PSVF = "ProgramSetValidationFailure";
|
|
424
|
+
const _PSVFL = "ProgramSetValidationFailuresList";
|
|
425
|
+
const _QTQI = "QuantumTaskQueueInfo";
|
|
426
|
+
const _QTS = "QuantumTaskSummary";
|
|
427
|
+
const _QTSL = "QuantumTaskSummaryList";
|
|
428
|
+
const _RNFE = "ResourceNotFoundException";
|
|
429
|
+
const _SD = "SearchDevices";
|
|
430
|
+
const _SDF = "SearchDevicesFilter";
|
|
431
|
+
const _SDFL = "SearchDevicesFilterList";
|
|
432
|
+
const _SDR = "SearchDevicesRequest";
|
|
433
|
+
const _SDRe = "SearchDevicesResponse";
|
|
434
|
+
const _SDS = "S3DataSource";
|
|
435
|
+
const _SJ = "SearchJobs";
|
|
436
|
+
const _SJF = "SearchJobsFilter";
|
|
437
|
+
const _SJFL = "SearchJobsFilterList";
|
|
438
|
+
const _SJR = "SearchJobsRequest";
|
|
439
|
+
const _SJRe = "SearchJobsResponse";
|
|
440
|
+
const _SMC = "ScriptModeConfig";
|
|
441
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
442
|
+
const _SQT = "SearchQuantumTasks";
|
|
443
|
+
const _SQTF = "SearchQuantumTasksFilter";
|
|
444
|
+
const _SQTFL = "SearchQuantumTasksFilterList";
|
|
445
|
+
const _SQTR = "SearchQuantumTasksRequest";
|
|
446
|
+
const _SQTRe = "SearchQuantumTasksResponse";
|
|
447
|
+
const _TE = "ThrottlingException";
|
|
448
|
+
const _TR = "TagResource";
|
|
449
|
+
const _TRR = "TagResourceRequest";
|
|
450
|
+
const _TRRa = "TagResourceResponse";
|
|
451
|
+
const _UR = "UntagResource";
|
|
452
|
+
const _URR = "UntagResourceRequest";
|
|
453
|
+
const _URRn = "UntagResourceResponse";
|
|
454
|
+
const _VE = "ValidationException";
|
|
455
|
+
const _a = "application/json";
|
|
987
456
|
const _aAN = "additionalAttributeNames";
|
|
457
|
+
const _aM = "actionMetadata";
|
|
458
|
+
const _aS = "algorithmSpecification";
|
|
459
|
+
const _aT = "actionType";
|
|
460
|
+
const _ac = "action";
|
|
461
|
+
const _ar = "arn";
|
|
462
|
+
const _as = "associations";
|
|
463
|
+
const _bD = "billableDuration";
|
|
464
|
+
const _c = "client";
|
|
465
|
+
const _cA = "createdAt";
|
|
466
|
+
const _cC = "checkpointConfig";
|
|
467
|
+
const _cI = "containerImage";
|
|
468
|
+
const _cN = "channelName";
|
|
469
|
+
const _cS = "cancellationStatus";
|
|
470
|
+
const _cT = "clientToken";
|
|
471
|
+
const _cTo = "contentType";
|
|
472
|
+
const _cTom = "compressionType";
|
|
473
|
+
const _d = "device";
|
|
474
|
+
const _dA = "deviceArn";
|
|
475
|
+
const _dC = "deviceConfig";
|
|
476
|
+
const _dCe = "deviceCapabilities";
|
|
477
|
+
const _dN = "deviceName";
|
|
478
|
+
const _dP = "deviceParameters";
|
|
479
|
+
const _dQI = "deviceQueueInfo";
|
|
480
|
+
const _dS = "deviceStatus";
|
|
481
|
+
const _dSa = "dataSource";
|
|
482
|
+
const _dT = "deviceType";
|
|
483
|
+
const _de = "devices";
|
|
484
|
+
const _e = "error";
|
|
485
|
+
const _eA = "endedAt";
|
|
486
|
+
const _eC = "executableCount";
|
|
487
|
+
const _eCx = "experimentalCapabilities";
|
|
488
|
+
const _eP = "entryPoint";
|
|
489
|
+
const _eT = "eventType";
|
|
490
|
+
const _en = "enabled";
|
|
491
|
+
const _er = "errors";
|
|
492
|
+
const _ev = "events";
|
|
493
|
+
const _f = "filters";
|
|
494
|
+
const _fR = "failureReason";
|
|
495
|
+
const _h = "http";
|
|
496
|
+
const _hE = "httpError";
|
|
497
|
+
const _hP = "hyperParameters";
|
|
498
|
+
const _hQ = "httpQuery";
|
|
499
|
+
const _iC = "instanceConfig";
|
|
500
|
+
const _iCn = "instanceCount";
|
|
501
|
+
const _iDC = "inputDataConfig";
|
|
502
|
+
const _iI = "inputsIndex";
|
|
503
|
+
const _iT = "instanceType";
|
|
504
|
+
const _j = "jobs";
|
|
505
|
+
const _jA = "jobArn";
|
|
506
|
+
const _jN = "jobName";
|
|
507
|
+
const _jT = "jobToken";
|
|
508
|
+
const _kKI = "kmsKeyId";
|
|
509
|
+
const _lP = "localPath";
|
|
510
|
+
const _m = "message";
|
|
511
|
+
const _mR = "maxResults";
|
|
512
|
+
const _mRIS = "maxRuntimeInSeconds";
|
|
513
|
+
const _mT = "mediaType";
|
|
514
|
+
const _n = "name";
|
|
515
|
+
const _nSS = "numSuccessfulShots";
|
|
516
|
+
const _nT = "nextToken";
|
|
517
|
+
const _o = "operator";
|
|
518
|
+
const _oDC = "outputDataConfig";
|
|
519
|
+
const _oSB = "outputS3Bucket";
|
|
520
|
+
const _oSD = "outputS3Directory";
|
|
521
|
+
const _oSKP = "outputS3KeyPrefix";
|
|
522
|
+
const _p = "position";
|
|
523
|
+
const _pC = "programCount";
|
|
524
|
+
const _pI = "programIndex";
|
|
525
|
+
const _pN = "providerName";
|
|
526
|
+
const _pSVF = "programSetValidationFailures";
|
|
527
|
+
const _q = "queue";
|
|
528
|
+
const _qI = "queueInfo";
|
|
529
|
+
const _qP = "queuePriority";
|
|
530
|
+
const _qS = "queueSize";
|
|
531
|
+
const _qT = "quantumTasks";
|
|
532
|
+
const _qTA = "quantumTaskArn";
|
|
533
|
+
const _r = "reason";
|
|
534
|
+
const _rA = "roleArn";
|
|
535
|
+
const _rAe = "resourceArn";
|
|
536
|
+
const _s = "shots";
|
|
537
|
+
const _sA = "startedAt";
|
|
538
|
+
const _sC = "stoppingCondition";
|
|
539
|
+
const _sDS = "s3DataSource";
|
|
540
|
+
const _sMC = "scriptModeConfig";
|
|
541
|
+
const _sP = "s3Path";
|
|
542
|
+
const _sU = "s3Uri";
|
|
543
|
+
const _se = "server";
|
|
544
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.braket";
|
|
545
|
+
const _st = "status";
|
|
546
|
+
const _t = "type";
|
|
988
547
|
const _tK = "tagKeys";
|
|
548
|
+
const _tOE = "timeOfEvent";
|
|
549
|
+
const _ta = "tags";
|
|
550
|
+
const _u = "uri";
|
|
551
|
+
const _v = "values";
|
|
552
|
+
const _vSIG = "volumeSizeInGb";
|
|
553
|
+
const n0 = "com.amazonaws.braket";
|
|
554
|
+
var JsonValue = [
|
|
555
|
+
0,
|
|
556
|
+
n0,
|
|
557
|
+
_JV,
|
|
558
|
+
{
|
|
559
|
+
[_mT]: _a,
|
|
560
|
+
},
|
|
561
|
+
0,
|
|
562
|
+
];
|
|
563
|
+
var AccessDeniedException = [
|
|
564
|
+
-3,
|
|
565
|
+
n0,
|
|
566
|
+
_ADE,
|
|
567
|
+
{
|
|
568
|
+
[_e]: _c,
|
|
569
|
+
[_hE]: 403,
|
|
570
|
+
},
|
|
571
|
+
[_m],
|
|
572
|
+
[0],
|
|
573
|
+
];
|
|
574
|
+
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
575
|
+
var ActionMetadata = [3, n0, _AM, 0, [_aT, _pC, _eC], [0, 1, 1]];
|
|
576
|
+
var AlgorithmSpecification = [
|
|
577
|
+
3,
|
|
578
|
+
n0,
|
|
579
|
+
_AS,
|
|
580
|
+
0,
|
|
581
|
+
[_sMC, _cI],
|
|
582
|
+
[() => ScriptModeConfig, () => ContainerImage],
|
|
583
|
+
];
|
|
584
|
+
var Association = [3, n0, _A, 0, [_ar, _t], [0, 0]];
|
|
585
|
+
var CancelJobRequest = [3, n0, _CJR, 0, [_jA], [[0, 1]]];
|
|
586
|
+
var CancelJobResponse = [3, n0, _CJRa, 0, [_jA, _cS], [0, 0]];
|
|
587
|
+
var CancelQuantumTaskRequest = [
|
|
588
|
+
3,
|
|
589
|
+
n0,
|
|
590
|
+
_CQTR,
|
|
591
|
+
0,
|
|
592
|
+
[_qTA, _cT],
|
|
593
|
+
[
|
|
594
|
+
[0, 1],
|
|
595
|
+
[0, 4],
|
|
596
|
+
],
|
|
597
|
+
];
|
|
598
|
+
var CancelQuantumTaskResponse = [3, n0, _CQTRa, 0, [_qTA, _cS], [0, 0]];
|
|
599
|
+
var ConflictException = [
|
|
600
|
+
-3,
|
|
601
|
+
n0,
|
|
602
|
+
_CE,
|
|
603
|
+
{
|
|
604
|
+
[_e]: _c,
|
|
605
|
+
[_hE]: 409,
|
|
606
|
+
},
|
|
607
|
+
[_m],
|
|
608
|
+
[0],
|
|
609
|
+
];
|
|
610
|
+
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
611
|
+
var ContainerImage = [3, n0, _CI, 0, [_u], [0]];
|
|
612
|
+
var CreateJobRequest = [
|
|
613
|
+
3,
|
|
614
|
+
n0,
|
|
615
|
+
_CJRr,
|
|
616
|
+
0,
|
|
617
|
+
[_cT, _aS, _iDC, _oDC, _cC, _jN, _rA, _sC, _iC, _hP, _dC, _ta, _as],
|
|
618
|
+
[
|
|
619
|
+
[0, 4],
|
|
620
|
+
() => AlgorithmSpecification,
|
|
621
|
+
() => InputConfigList,
|
|
622
|
+
() => JobOutputDataConfig,
|
|
623
|
+
() => JobCheckpointConfig,
|
|
624
|
+
0,
|
|
625
|
+
0,
|
|
626
|
+
() => JobStoppingCondition,
|
|
627
|
+
() => InstanceConfig,
|
|
628
|
+
128 | 0,
|
|
629
|
+
() => DeviceConfig,
|
|
630
|
+
128 | 0,
|
|
631
|
+
() => Associations,
|
|
632
|
+
],
|
|
633
|
+
];
|
|
634
|
+
var CreateJobResponse = [3, n0, _CJRre, 0, [_jA], [0]];
|
|
635
|
+
var CreateQuantumTaskRequest = [
|
|
636
|
+
3,
|
|
637
|
+
n0,
|
|
638
|
+
_CQTRr,
|
|
639
|
+
0,
|
|
640
|
+
[_cT, _dA, _dP, _s, _oSB, _oSKP, _ac, _ta, _jT, _as, _eCx],
|
|
641
|
+
[
|
|
642
|
+
[0, 4],
|
|
643
|
+
0,
|
|
644
|
+
[() => JsonValue, 0],
|
|
645
|
+
1,
|
|
646
|
+
0,
|
|
647
|
+
0,
|
|
648
|
+
[() => JsonValue, 0],
|
|
649
|
+
128 | 0,
|
|
650
|
+
0,
|
|
651
|
+
() => Associations,
|
|
652
|
+
() => ExperimentalCapabilities,
|
|
653
|
+
],
|
|
654
|
+
];
|
|
655
|
+
var CreateQuantumTaskResponse = [3, n0, _CQTRre, 0, [_qTA], [0]];
|
|
656
|
+
var DataSource = [3, n0, _DS, 0, [_sDS], [() => S3DataSource]];
|
|
657
|
+
var DeviceConfig = [3, n0, _DC, 0, [_d], [0]];
|
|
658
|
+
var DeviceOfflineException = [
|
|
659
|
+
-3,
|
|
660
|
+
n0,
|
|
661
|
+
_DOE,
|
|
662
|
+
{
|
|
663
|
+
[_e]: _c,
|
|
664
|
+
[_hE]: 424,
|
|
665
|
+
},
|
|
666
|
+
[_m],
|
|
667
|
+
[0],
|
|
668
|
+
];
|
|
669
|
+
schema.TypeRegistry.for(n0).registerError(DeviceOfflineException, DeviceOfflineException$1);
|
|
670
|
+
var DeviceQueueInfo = [3, n0, _DQI, 0, [_q, _qS, _qP], [0, 0, 0]];
|
|
671
|
+
var DeviceRetiredException = [
|
|
672
|
+
-3,
|
|
673
|
+
n0,
|
|
674
|
+
_DRE,
|
|
675
|
+
{
|
|
676
|
+
[_e]: _c,
|
|
677
|
+
[_hE]: 410,
|
|
678
|
+
},
|
|
679
|
+
[_m],
|
|
680
|
+
[0],
|
|
681
|
+
];
|
|
682
|
+
schema.TypeRegistry.for(n0).registerError(DeviceRetiredException, DeviceRetiredException$1);
|
|
683
|
+
var DeviceSummary = [3, n0, _DSe, 0, [_dA, _dN, _pN, _dT, _dS], [0, 0, 0, 0, 0]];
|
|
684
|
+
var GetDeviceRequest = [3, n0, _GDR, 0, [_dA], [[0, 1]]];
|
|
685
|
+
var GetDeviceResponse = [
|
|
686
|
+
3,
|
|
687
|
+
n0,
|
|
688
|
+
_GDRe,
|
|
689
|
+
0,
|
|
690
|
+
[_dA, _dN, _pN, _dT, _dS, _dCe, _dQI],
|
|
691
|
+
[0, 0, 0, 0, 0, [() => JsonValue, 0], () => DeviceQueueInfoList],
|
|
692
|
+
];
|
|
693
|
+
var GetJobRequest = [
|
|
694
|
+
3,
|
|
695
|
+
n0,
|
|
696
|
+
_GJR,
|
|
697
|
+
0,
|
|
698
|
+
[_jA, _aAN],
|
|
699
|
+
[
|
|
700
|
+
[0, 1],
|
|
701
|
+
[
|
|
702
|
+
64 | 0,
|
|
703
|
+
{
|
|
704
|
+
[_hQ]: _aAN,
|
|
705
|
+
},
|
|
706
|
+
],
|
|
707
|
+
],
|
|
708
|
+
];
|
|
709
|
+
var GetJobResponse = [
|
|
710
|
+
3,
|
|
711
|
+
n0,
|
|
712
|
+
_GJRe,
|
|
713
|
+
0,
|
|
714
|
+
[_st, _jA, _rA, _fR, _jN, _hP, _iDC, _oDC, _sC, _cC, _aS, _iC, _cA, _sA, _eA, _bD, _dC, _ev, _ta, _qI, _as],
|
|
715
|
+
[
|
|
716
|
+
0,
|
|
717
|
+
0,
|
|
718
|
+
0,
|
|
719
|
+
0,
|
|
720
|
+
0,
|
|
721
|
+
128 | 0,
|
|
722
|
+
() => InputConfigList,
|
|
723
|
+
() => JobOutputDataConfig,
|
|
724
|
+
() => JobStoppingCondition,
|
|
725
|
+
() => JobCheckpointConfig,
|
|
726
|
+
() => AlgorithmSpecification,
|
|
727
|
+
() => InstanceConfig,
|
|
728
|
+
5,
|
|
729
|
+
5,
|
|
730
|
+
5,
|
|
731
|
+
1,
|
|
732
|
+
() => DeviceConfig,
|
|
733
|
+
() => JobEvents,
|
|
734
|
+
128 | 0,
|
|
735
|
+
() => HybridJobQueueInfo,
|
|
736
|
+
() => Associations,
|
|
737
|
+
],
|
|
738
|
+
];
|
|
739
|
+
var GetQuantumTaskRequest = [
|
|
740
|
+
3,
|
|
741
|
+
n0,
|
|
742
|
+
_GQTR,
|
|
743
|
+
0,
|
|
744
|
+
[_qTA, _aAN],
|
|
745
|
+
[
|
|
746
|
+
[0, 1],
|
|
747
|
+
[
|
|
748
|
+
64 | 0,
|
|
749
|
+
{
|
|
750
|
+
[_hQ]: _aAN,
|
|
751
|
+
},
|
|
752
|
+
],
|
|
753
|
+
],
|
|
754
|
+
];
|
|
755
|
+
var GetQuantumTaskResponse = [
|
|
756
|
+
3,
|
|
757
|
+
n0,
|
|
758
|
+
_GQTRe,
|
|
759
|
+
0,
|
|
760
|
+
[_qTA, _st, _fR, _dA, _dP, _s, _oSB, _oSD, _cA, _eA, _ta, _jA, _qI, _as, _nSS, _aM, _eCx],
|
|
761
|
+
[
|
|
762
|
+
0,
|
|
763
|
+
0,
|
|
764
|
+
0,
|
|
765
|
+
0,
|
|
766
|
+
[() => JsonValue, 0],
|
|
767
|
+
1,
|
|
768
|
+
0,
|
|
769
|
+
0,
|
|
770
|
+
5,
|
|
771
|
+
5,
|
|
772
|
+
128 | 0,
|
|
773
|
+
0,
|
|
774
|
+
() => QuantumTaskQueueInfo,
|
|
775
|
+
() => Associations,
|
|
776
|
+
1,
|
|
777
|
+
() => ActionMetadata,
|
|
778
|
+
() => ExperimentalCapabilities,
|
|
779
|
+
],
|
|
780
|
+
];
|
|
781
|
+
var HybridJobQueueInfo = [3, n0, _HJQI, 0, [_q, _p, _m], [0, 0, 0]];
|
|
782
|
+
var InputFileConfig = [3, n0, _IFC, 0, [_cN, _cTo, _dSa], [0, 0, () => DataSource]];
|
|
783
|
+
var InstanceConfig = [3, n0, _IC, 0, [_iT, _vSIG, _iCn], [0, 1, 1]];
|
|
784
|
+
var InternalServiceException = [
|
|
785
|
+
-3,
|
|
786
|
+
n0,
|
|
787
|
+
_ISE,
|
|
788
|
+
{
|
|
789
|
+
[_e]: _se,
|
|
790
|
+
[_hE]: 500,
|
|
791
|
+
},
|
|
792
|
+
[_m],
|
|
793
|
+
[0],
|
|
794
|
+
];
|
|
795
|
+
schema.TypeRegistry.for(n0).registerError(InternalServiceException, InternalServiceException$1);
|
|
796
|
+
var JobCheckpointConfig = [3, n0, _JCC, 0, [_lP, _sU], [0, 0]];
|
|
797
|
+
var JobEventDetails = [3, n0, _JED, 0, [_eT, _tOE, _m], [0, 5, 0]];
|
|
798
|
+
var JobOutputDataConfig = [3, n0, _JODC, 0, [_kKI, _sP], [0, 0]];
|
|
799
|
+
var JobStoppingCondition = [3, n0, _JSC, 0, [_mRIS], [1]];
|
|
800
|
+
var JobSummary = [
|
|
801
|
+
3,
|
|
802
|
+
n0,
|
|
803
|
+
_JS,
|
|
804
|
+
0,
|
|
805
|
+
[_st, _jA, _jN, _d, _cA, _sA, _eA, _ta],
|
|
806
|
+
[0, 0, 0, 0, 5, 5, 5, 128 | 0],
|
|
807
|
+
];
|
|
808
|
+
var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rAe], [[0, 1]]];
|
|
809
|
+
var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_ta], [128 | 0]];
|
|
810
|
+
var ProgramSetValidationFailure = [3, n0, _PSVF, 0, [_pI, _iI, _er], [1, 1, 64 | 0]];
|
|
811
|
+
var QuantumTaskQueueInfo = [3, n0, _QTQI, 0, [_q, _p, _qP, _m], [0, 0, 0, 0]];
|
|
812
|
+
var QuantumTaskSummary = [
|
|
813
|
+
3,
|
|
814
|
+
n0,
|
|
815
|
+
_QTS,
|
|
816
|
+
0,
|
|
817
|
+
[_qTA, _st, _dA, _s, _oSB, _oSD, _cA, _eA, _ta],
|
|
818
|
+
[0, 0, 0, 1, 0, 0, 5, 5, 128 | 0],
|
|
819
|
+
];
|
|
820
|
+
var ResourceNotFoundException = [
|
|
821
|
+
-3,
|
|
822
|
+
n0,
|
|
823
|
+
_RNFE,
|
|
824
|
+
{
|
|
825
|
+
[_e]: _c,
|
|
826
|
+
[_hE]: 404,
|
|
827
|
+
},
|
|
828
|
+
[_m],
|
|
829
|
+
[0],
|
|
830
|
+
];
|
|
831
|
+
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
832
|
+
var S3DataSource = [3, n0, _SDS, 0, [_sU], [0]];
|
|
833
|
+
var ScriptModeConfig = [3, n0, _SMC, 0, [_eP, _sU, _cTom], [0, 0, 0]];
|
|
834
|
+
var SearchDevicesFilter = [3, n0, _SDF, 0, [_n, _v], [0, 64 | 0]];
|
|
835
|
+
var SearchDevicesRequest = [
|
|
836
|
+
3,
|
|
837
|
+
n0,
|
|
838
|
+
_SDR,
|
|
839
|
+
0,
|
|
840
|
+
[_nT, _mR, _f],
|
|
841
|
+
[0, 1, () => SearchDevicesFilterList],
|
|
842
|
+
];
|
|
843
|
+
var SearchDevicesResponse = [3, n0, _SDRe, 0, [_de, _nT], [() => DeviceSummaryList, 0]];
|
|
844
|
+
var SearchJobsFilter = [3, n0, _SJF, 0, [_n, _v, _o], [0, 64 | 0, 0]];
|
|
845
|
+
var SearchJobsRequest = [
|
|
846
|
+
3,
|
|
847
|
+
n0,
|
|
848
|
+
_SJR,
|
|
849
|
+
0,
|
|
850
|
+
[_nT, _mR, _f],
|
|
851
|
+
[0, 1, () => SearchJobsFilterList],
|
|
852
|
+
];
|
|
853
|
+
var SearchJobsResponse = [3, n0, _SJRe, 0, [_j, _nT], [() => JobSummaryList, 0]];
|
|
854
|
+
var SearchQuantumTasksFilter = [3, n0, _SQTF, 0, [_n, _v, _o], [0, 64 | 0, 0]];
|
|
855
|
+
var SearchQuantumTasksRequest = [
|
|
856
|
+
3,
|
|
857
|
+
n0,
|
|
858
|
+
_SQTR,
|
|
859
|
+
0,
|
|
860
|
+
[_nT, _mR, _f],
|
|
861
|
+
[0, 1, () => SearchQuantumTasksFilterList],
|
|
862
|
+
];
|
|
863
|
+
var SearchQuantumTasksResponse = [
|
|
864
|
+
3,
|
|
865
|
+
n0,
|
|
866
|
+
_SQTRe,
|
|
867
|
+
0,
|
|
868
|
+
[_qT, _nT],
|
|
869
|
+
[() => QuantumTaskSummaryList, 0],
|
|
870
|
+
];
|
|
871
|
+
var ServiceQuotaExceededException = [
|
|
872
|
+
-3,
|
|
873
|
+
n0,
|
|
874
|
+
_SQEE,
|
|
875
|
+
{
|
|
876
|
+
[_e]: _c,
|
|
877
|
+
[_hE]: 402,
|
|
878
|
+
},
|
|
879
|
+
[_m],
|
|
880
|
+
[0],
|
|
881
|
+
];
|
|
882
|
+
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
|
|
883
|
+
var TagResourceRequest = [3, n0, _TRR, 0, [_rAe, _ta], [[0, 1], 128 | 0]];
|
|
884
|
+
var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
|
|
885
|
+
var ThrottlingException = [
|
|
886
|
+
-3,
|
|
887
|
+
n0,
|
|
888
|
+
_TE,
|
|
889
|
+
{
|
|
890
|
+
[_e]: _c,
|
|
891
|
+
[_hE]: 429,
|
|
892
|
+
},
|
|
893
|
+
[_m],
|
|
894
|
+
[0],
|
|
895
|
+
];
|
|
896
|
+
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
897
|
+
var UntagResourceRequest = [
|
|
898
|
+
3,
|
|
899
|
+
n0,
|
|
900
|
+
_URR,
|
|
901
|
+
0,
|
|
902
|
+
[_rAe, _tK],
|
|
903
|
+
[
|
|
904
|
+
[0, 1],
|
|
905
|
+
[
|
|
906
|
+
64 | 0,
|
|
907
|
+
{
|
|
908
|
+
[_hQ]: _tK,
|
|
909
|
+
},
|
|
910
|
+
],
|
|
911
|
+
],
|
|
912
|
+
];
|
|
913
|
+
var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
|
|
914
|
+
var ValidationException = [
|
|
915
|
+
-3,
|
|
916
|
+
n0,
|
|
917
|
+
_VE,
|
|
918
|
+
{
|
|
919
|
+
[_e]: _c,
|
|
920
|
+
[_hE]: 400,
|
|
921
|
+
},
|
|
922
|
+
[_m, _r, _pSVF],
|
|
923
|
+
[0, 0, () => ProgramSetValidationFailuresList],
|
|
924
|
+
];
|
|
925
|
+
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
926
|
+
var BraketServiceException = [-3, _sm, "BraketServiceException", 0, [], []];
|
|
927
|
+
schema.TypeRegistry.for(_sm).registerError(BraketServiceException, BraketServiceException$1);
|
|
928
|
+
var Associations = [1, n0, _As, 0, () => Association];
|
|
929
|
+
var DeviceQueueInfoList = [1, n0, _DQIL, 0, () => DeviceQueueInfo];
|
|
930
|
+
var DeviceSummaryList = [1, n0, _DSL, 0, () => DeviceSummary];
|
|
931
|
+
var InputConfigList = [1, n0, _ICL, 0, () => InputFileConfig];
|
|
932
|
+
var JobEvents = [1, n0, _JE, 0, () => JobEventDetails];
|
|
933
|
+
var JobSummaryList = [1, n0, _JSL, 0, () => JobSummary];
|
|
934
|
+
var ProgramSetValidationFailuresList = [1, n0, _PSVFL, 0, () => ProgramSetValidationFailure];
|
|
935
|
+
var QuantumTaskSummaryList = [1, n0, _QTSL, 0, () => QuantumTaskSummary];
|
|
936
|
+
var SearchDevicesFilterList = [1, n0, _SDFL, 0, () => SearchDevicesFilter];
|
|
937
|
+
var SearchJobsFilterList = [1, n0, _SJFL, 0, () => SearchJobsFilter];
|
|
938
|
+
var SearchQuantumTasksFilterList = [1, n0, _SQTFL, 0, () => SearchQuantumTasksFilter];
|
|
939
|
+
var ExperimentalCapabilities = [3, n0, _EC, 0, [_en], [0]];
|
|
940
|
+
var CancelJob = [
|
|
941
|
+
9,
|
|
942
|
+
n0,
|
|
943
|
+
_CJ,
|
|
944
|
+
{
|
|
945
|
+
[_h]: ["PUT", "/job/{jobArn}/cancel", 200],
|
|
946
|
+
},
|
|
947
|
+
() => CancelJobRequest,
|
|
948
|
+
() => CancelJobResponse,
|
|
949
|
+
];
|
|
950
|
+
var CancelQuantumTask = [
|
|
951
|
+
9,
|
|
952
|
+
n0,
|
|
953
|
+
_CQT,
|
|
954
|
+
{
|
|
955
|
+
[_h]: ["PUT", "/quantum-task/{quantumTaskArn}/cancel", 200],
|
|
956
|
+
},
|
|
957
|
+
() => CancelQuantumTaskRequest,
|
|
958
|
+
() => CancelQuantumTaskResponse,
|
|
959
|
+
];
|
|
960
|
+
var CreateJob = [
|
|
961
|
+
9,
|
|
962
|
+
n0,
|
|
963
|
+
_CJr,
|
|
964
|
+
{
|
|
965
|
+
[_h]: ["POST", "/job", 201],
|
|
966
|
+
},
|
|
967
|
+
() => CreateJobRequest,
|
|
968
|
+
() => CreateJobResponse,
|
|
969
|
+
];
|
|
970
|
+
var CreateQuantumTask = [
|
|
971
|
+
9,
|
|
972
|
+
n0,
|
|
973
|
+
_CQTr,
|
|
974
|
+
{
|
|
975
|
+
[_h]: ["POST", "/quantum-task", 201],
|
|
976
|
+
},
|
|
977
|
+
() => CreateQuantumTaskRequest,
|
|
978
|
+
() => CreateQuantumTaskResponse,
|
|
979
|
+
];
|
|
980
|
+
var GetDevice = [
|
|
981
|
+
9,
|
|
982
|
+
n0,
|
|
983
|
+
_GD,
|
|
984
|
+
{
|
|
985
|
+
[_h]: ["GET", "/device/{deviceArn}", 200],
|
|
986
|
+
},
|
|
987
|
+
() => GetDeviceRequest,
|
|
988
|
+
() => GetDeviceResponse,
|
|
989
|
+
];
|
|
990
|
+
var GetJob = [
|
|
991
|
+
9,
|
|
992
|
+
n0,
|
|
993
|
+
_GJ,
|
|
994
|
+
{
|
|
995
|
+
[_h]: ["GET", "/job/{jobArn}", 200],
|
|
996
|
+
},
|
|
997
|
+
() => GetJobRequest,
|
|
998
|
+
() => GetJobResponse,
|
|
999
|
+
];
|
|
1000
|
+
var GetQuantumTask = [
|
|
1001
|
+
9,
|
|
1002
|
+
n0,
|
|
1003
|
+
_GQT,
|
|
1004
|
+
{
|
|
1005
|
+
[_h]: ["GET", "/quantum-task/{quantumTaskArn}", 200],
|
|
1006
|
+
},
|
|
1007
|
+
() => GetQuantumTaskRequest,
|
|
1008
|
+
() => GetQuantumTaskResponse,
|
|
1009
|
+
];
|
|
1010
|
+
var ListTagsForResource = [
|
|
1011
|
+
9,
|
|
1012
|
+
n0,
|
|
1013
|
+
_LTFR,
|
|
1014
|
+
{
|
|
1015
|
+
[_h]: ["GET", "/tags/{resourceArn}", 200],
|
|
1016
|
+
},
|
|
1017
|
+
() => ListTagsForResourceRequest,
|
|
1018
|
+
() => ListTagsForResourceResponse,
|
|
1019
|
+
];
|
|
1020
|
+
var SearchDevices = [
|
|
1021
|
+
9,
|
|
1022
|
+
n0,
|
|
1023
|
+
_SD,
|
|
1024
|
+
{
|
|
1025
|
+
[_h]: ["POST", "/devices", 200],
|
|
1026
|
+
},
|
|
1027
|
+
() => SearchDevicesRequest,
|
|
1028
|
+
() => SearchDevicesResponse,
|
|
1029
|
+
];
|
|
1030
|
+
var SearchJobs = [
|
|
1031
|
+
9,
|
|
1032
|
+
n0,
|
|
1033
|
+
_SJ,
|
|
1034
|
+
{
|
|
1035
|
+
[_h]: ["POST", "/jobs", 200],
|
|
1036
|
+
},
|
|
1037
|
+
() => SearchJobsRequest,
|
|
1038
|
+
() => SearchJobsResponse,
|
|
1039
|
+
];
|
|
1040
|
+
var SearchQuantumTasks = [
|
|
1041
|
+
9,
|
|
1042
|
+
n0,
|
|
1043
|
+
_SQT,
|
|
1044
|
+
{
|
|
1045
|
+
[_h]: ["POST", "/quantum-tasks", 200],
|
|
1046
|
+
},
|
|
1047
|
+
() => SearchQuantumTasksRequest,
|
|
1048
|
+
() => SearchQuantumTasksResponse,
|
|
1049
|
+
];
|
|
1050
|
+
var TagResource = [
|
|
1051
|
+
9,
|
|
1052
|
+
n0,
|
|
1053
|
+
_TR,
|
|
1054
|
+
{
|
|
1055
|
+
[_h]: ["POST", "/tags/{resourceArn}", 200],
|
|
1056
|
+
},
|
|
1057
|
+
() => TagResourceRequest,
|
|
1058
|
+
() => TagResourceResponse,
|
|
1059
|
+
];
|
|
1060
|
+
var UntagResource = [
|
|
1061
|
+
9,
|
|
1062
|
+
n0,
|
|
1063
|
+
_UR,
|
|
1064
|
+
{
|
|
1065
|
+
[_h]: ["DELETE", "/tags/{resourceArn}", 200],
|
|
1066
|
+
},
|
|
1067
|
+
() => UntagResourceRequest,
|
|
1068
|
+
() => UntagResourceResponse,
|
|
1069
|
+
];
|
|
989
1070
|
|
|
990
1071
|
class CancelJobCommand extends smithyClient.Command
|
|
991
1072
|
.classBuilder()
|
|
992
1073
|
.ep(commonParams)
|
|
993
1074
|
.m(function (Command, cs, config, o) {
|
|
994
|
-
return [
|
|
995
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
996
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
997
|
-
];
|
|
1075
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
998
1076
|
})
|
|
999
1077
|
.s("Braket", "CancelJob", {})
|
|
1000
1078
|
.n("BraketClient", "CancelJobCommand")
|
|
1001
|
-
.
|
|
1002
|
-
.ser(se_CancelJobCommand)
|
|
1003
|
-
.de(de_CancelJobCommand)
|
|
1079
|
+
.sc(CancelJob)
|
|
1004
1080
|
.build() {
|
|
1005
1081
|
}
|
|
1006
1082
|
|
|
@@ -1008,16 +1084,11 @@ class CancelQuantumTaskCommand extends smithyClient.Command
|
|
|
1008
1084
|
.classBuilder()
|
|
1009
1085
|
.ep(commonParams)
|
|
1010
1086
|
.m(function (Command, cs, config, o) {
|
|
1011
|
-
return [
|
|
1012
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1013
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1014
|
-
];
|
|
1087
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1015
1088
|
})
|
|
1016
1089
|
.s("Braket", "CancelQuantumTask", {})
|
|
1017
1090
|
.n("BraketClient", "CancelQuantumTaskCommand")
|
|
1018
|
-
.
|
|
1019
|
-
.ser(se_CancelQuantumTaskCommand)
|
|
1020
|
-
.de(de_CancelQuantumTaskCommand)
|
|
1091
|
+
.sc(CancelQuantumTask)
|
|
1021
1092
|
.build() {
|
|
1022
1093
|
}
|
|
1023
1094
|
|
|
@@ -1025,16 +1096,11 @@ class CreateJobCommand extends smithyClient.Command
|
|
|
1025
1096
|
.classBuilder()
|
|
1026
1097
|
.ep(commonParams)
|
|
1027
1098
|
.m(function (Command, cs, config, o) {
|
|
1028
|
-
return [
|
|
1029
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1030
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1031
|
-
];
|
|
1099
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1032
1100
|
})
|
|
1033
1101
|
.s("Braket", "CreateJob", {})
|
|
1034
1102
|
.n("BraketClient", "CreateJobCommand")
|
|
1035
|
-
.
|
|
1036
|
-
.ser(se_CreateJobCommand)
|
|
1037
|
-
.de(de_CreateJobCommand)
|
|
1103
|
+
.sc(CreateJob)
|
|
1038
1104
|
.build() {
|
|
1039
1105
|
}
|
|
1040
1106
|
|
|
@@ -1042,16 +1108,11 @@ class CreateQuantumTaskCommand extends smithyClient.Command
|
|
|
1042
1108
|
.classBuilder()
|
|
1043
1109
|
.ep(commonParams)
|
|
1044
1110
|
.m(function (Command, cs, config, o) {
|
|
1045
|
-
return [
|
|
1046
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1047
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1048
|
-
];
|
|
1111
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1049
1112
|
})
|
|
1050
1113
|
.s("Braket", "CreateQuantumTask", {})
|
|
1051
1114
|
.n("BraketClient", "CreateQuantumTaskCommand")
|
|
1052
|
-
.
|
|
1053
|
-
.ser(se_CreateQuantumTaskCommand)
|
|
1054
|
-
.de(de_CreateQuantumTaskCommand)
|
|
1115
|
+
.sc(CreateQuantumTask)
|
|
1055
1116
|
.build() {
|
|
1056
1117
|
}
|
|
1057
1118
|
|
|
@@ -1059,16 +1120,11 @@ class GetDeviceCommand extends smithyClient.Command
|
|
|
1059
1120
|
.classBuilder()
|
|
1060
1121
|
.ep(commonParams)
|
|
1061
1122
|
.m(function (Command, cs, config, o) {
|
|
1062
|
-
return [
|
|
1063
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1064
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1065
|
-
];
|
|
1123
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1066
1124
|
})
|
|
1067
1125
|
.s("Braket", "GetDevice", {})
|
|
1068
1126
|
.n("BraketClient", "GetDeviceCommand")
|
|
1069
|
-
.
|
|
1070
|
-
.ser(se_GetDeviceCommand)
|
|
1071
|
-
.de(de_GetDeviceCommand)
|
|
1127
|
+
.sc(GetDevice)
|
|
1072
1128
|
.build() {
|
|
1073
1129
|
}
|
|
1074
1130
|
|
|
@@ -1076,16 +1132,11 @@ class GetJobCommand extends smithyClient.Command
|
|
|
1076
1132
|
.classBuilder()
|
|
1077
1133
|
.ep(commonParams)
|
|
1078
1134
|
.m(function (Command, cs, config, o) {
|
|
1079
|
-
return [
|
|
1080
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1081
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1082
|
-
];
|
|
1135
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1083
1136
|
})
|
|
1084
1137
|
.s("Braket", "GetJob", {})
|
|
1085
1138
|
.n("BraketClient", "GetJobCommand")
|
|
1086
|
-
.
|
|
1087
|
-
.ser(se_GetJobCommand)
|
|
1088
|
-
.de(de_GetJobCommand)
|
|
1139
|
+
.sc(GetJob)
|
|
1089
1140
|
.build() {
|
|
1090
1141
|
}
|
|
1091
1142
|
|
|
@@ -1093,16 +1144,11 @@ class GetQuantumTaskCommand extends smithyClient.Command
|
|
|
1093
1144
|
.classBuilder()
|
|
1094
1145
|
.ep(commonParams)
|
|
1095
1146
|
.m(function (Command, cs, config, o) {
|
|
1096
|
-
return [
|
|
1097
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1098
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1099
|
-
];
|
|
1147
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1100
1148
|
})
|
|
1101
1149
|
.s("Braket", "GetQuantumTask", {})
|
|
1102
1150
|
.n("BraketClient", "GetQuantumTaskCommand")
|
|
1103
|
-
.
|
|
1104
|
-
.ser(se_GetQuantumTaskCommand)
|
|
1105
|
-
.de(de_GetQuantumTaskCommand)
|
|
1151
|
+
.sc(GetQuantumTask)
|
|
1106
1152
|
.build() {
|
|
1107
1153
|
}
|
|
1108
1154
|
|
|
@@ -1110,16 +1156,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
|
|
|
1110
1156
|
.classBuilder()
|
|
1111
1157
|
.ep(commonParams)
|
|
1112
1158
|
.m(function (Command, cs, config, o) {
|
|
1113
|
-
return [
|
|
1114
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1115
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1116
|
-
];
|
|
1159
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1117
1160
|
})
|
|
1118
1161
|
.s("Braket", "ListTagsForResource", {})
|
|
1119
1162
|
.n("BraketClient", "ListTagsForResourceCommand")
|
|
1120
|
-
.
|
|
1121
|
-
.ser(se_ListTagsForResourceCommand)
|
|
1122
|
-
.de(de_ListTagsForResourceCommand)
|
|
1163
|
+
.sc(ListTagsForResource)
|
|
1123
1164
|
.build() {
|
|
1124
1165
|
}
|
|
1125
1166
|
|
|
@@ -1127,16 +1168,11 @@ class SearchDevicesCommand extends smithyClient.Command
|
|
|
1127
1168
|
.classBuilder()
|
|
1128
1169
|
.ep(commonParams)
|
|
1129
1170
|
.m(function (Command, cs, config, o) {
|
|
1130
|
-
return [
|
|
1131
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1132
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1133
|
-
];
|
|
1171
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1134
1172
|
})
|
|
1135
1173
|
.s("Braket", "SearchDevices", {})
|
|
1136
1174
|
.n("BraketClient", "SearchDevicesCommand")
|
|
1137
|
-
.
|
|
1138
|
-
.ser(se_SearchDevicesCommand)
|
|
1139
|
-
.de(de_SearchDevicesCommand)
|
|
1175
|
+
.sc(SearchDevices)
|
|
1140
1176
|
.build() {
|
|
1141
1177
|
}
|
|
1142
1178
|
|
|
@@ -1144,16 +1180,11 @@ class SearchJobsCommand extends smithyClient.Command
|
|
|
1144
1180
|
.classBuilder()
|
|
1145
1181
|
.ep(commonParams)
|
|
1146
1182
|
.m(function (Command, cs, config, o) {
|
|
1147
|
-
return [
|
|
1148
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1149
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1150
|
-
];
|
|
1183
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1151
1184
|
})
|
|
1152
1185
|
.s("Braket", "SearchJobs", {})
|
|
1153
1186
|
.n("BraketClient", "SearchJobsCommand")
|
|
1154
|
-
.
|
|
1155
|
-
.ser(se_SearchJobsCommand)
|
|
1156
|
-
.de(de_SearchJobsCommand)
|
|
1187
|
+
.sc(SearchJobs)
|
|
1157
1188
|
.build() {
|
|
1158
1189
|
}
|
|
1159
1190
|
|
|
@@ -1161,16 +1192,11 @@ class SearchQuantumTasksCommand extends smithyClient.Command
|
|
|
1161
1192
|
.classBuilder()
|
|
1162
1193
|
.ep(commonParams)
|
|
1163
1194
|
.m(function (Command, cs, config, o) {
|
|
1164
|
-
return [
|
|
1165
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1166
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1167
|
-
];
|
|
1195
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1168
1196
|
})
|
|
1169
1197
|
.s("Braket", "SearchQuantumTasks", {})
|
|
1170
1198
|
.n("BraketClient", "SearchQuantumTasksCommand")
|
|
1171
|
-
.
|
|
1172
|
-
.ser(se_SearchQuantumTasksCommand)
|
|
1173
|
-
.de(de_SearchQuantumTasksCommand)
|
|
1199
|
+
.sc(SearchQuantumTasks)
|
|
1174
1200
|
.build() {
|
|
1175
1201
|
}
|
|
1176
1202
|
|
|
@@ -1178,16 +1204,11 @@ class TagResourceCommand extends smithyClient.Command
|
|
|
1178
1204
|
.classBuilder()
|
|
1179
1205
|
.ep(commonParams)
|
|
1180
1206
|
.m(function (Command, cs, config, o) {
|
|
1181
|
-
return [
|
|
1182
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1183
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1184
|
-
];
|
|
1207
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1185
1208
|
})
|
|
1186
1209
|
.s("Braket", "TagResource", {})
|
|
1187
1210
|
.n("BraketClient", "TagResourceCommand")
|
|
1188
|
-
.
|
|
1189
|
-
.ser(se_TagResourceCommand)
|
|
1190
|
-
.de(de_TagResourceCommand)
|
|
1211
|
+
.sc(TagResource)
|
|
1191
1212
|
.build() {
|
|
1192
1213
|
}
|
|
1193
1214
|
|
|
@@ -1195,16 +1216,11 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
1195
1216
|
.classBuilder()
|
|
1196
1217
|
.ep(commonParams)
|
|
1197
1218
|
.m(function (Command, cs, config, o) {
|
|
1198
|
-
return [
|
|
1199
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1200
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1201
|
-
];
|
|
1219
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1202
1220
|
})
|
|
1203
1221
|
.s("Braket", "UntagResource", {})
|
|
1204
1222
|
.n("BraketClient", "UntagResourceCommand")
|
|
1205
|
-
.
|
|
1206
|
-
.ser(se_UntagResourceCommand)
|
|
1207
|
-
.de(de_UntagResourceCommand)
|
|
1223
|
+
.sc(UntagResource)
|
|
1208
1224
|
.build() {
|
|
1209
1225
|
}
|
|
1210
1226
|
|
|
@@ -1241,27 +1257,28 @@ Object.defineProperty(exports, "__Client", {
|
|
|
1241
1257
|
enumerable: true,
|
|
1242
1258
|
get: function () { return smithyClient.Client; }
|
|
1243
1259
|
});
|
|
1244
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
1260
|
+
exports.AccessDeniedException = AccessDeniedException$1;
|
|
1245
1261
|
exports.AssociationType = AssociationType;
|
|
1246
1262
|
exports.Braket = Braket;
|
|
1247
1263
|
exports.BraketClient = BraketClient;
|
|
1248
|
-
exports.BraketServiceException = BraketServiceException;
|
|
1264
|
+
exports.BraketServiceException = BraketServiceException$1;
|
|
1249
1265
|
exports.CancelJobCommand = CancelJobCommand;
|
|
1250
1266
|
exports.CancelQuantumTaskCommand = CancelQuantumTaskCommand;
|
|
1251
1267
|
exports.CancellationStatus = CancellationStatus;
|
|
1252
1268
|
exports.CompressionType = CompressionType;
|
|
1253
|
-
exports.ConflictException = ConflictException;
|
|
1269
|
+
exports.ConflictException = ConflictException$1;
|
|
1254
1270
|
exports.CreateJobCommand = CreateJobCommand;
|
|
1255
1271
|
exports.CreateQuantumTaskCommand = CreateQuantumTaskCommand;
|
|
1256
|
-
exports.DeviceOfflineException = DeviceOfflineException;
|
|
1257
|
-
exports.DeviceRetiredException = DeviceRetiredException;
|
|
1272
|
+
exports.DeviceOfflineException = DeviceOfflineException$1;
|
|
1273
|
+
exports.DeviceRetiredException = DeviceRetiredException$1;
|
|
1258
1274
|
exports.DeviceStatus = DeviceStatus;
|
|
1259
1275
|
exports.DeviceType = DeviceType;
|
|
1276
|
+
exports.ExperimentalCapabilitiesEnablementType = ExperimentalCapabilitiesEnablementType;
|
|
1260
1277
|
exports.GetDeviceCommand = GetDeviceCommand;
|
|
1261
1278
|
exports.GetJobCommand = GetJobCommand;
|
|
1262
1279
|
exports.GetQuantumTaskCommand = GetQuantumTaskCommand;
|
|
1263
1280
|
exports.HybridJobAdditionalAttributeName = HybridJobAdditionalAttributeName;
|
|
1264
|
-
exports.InternalServiceException = InternalServiceException;
|
|
1281
|
+
exports.InternalServiceException = InternalServiceException$1;
|
|
1265
1282
|
exports.JobEventType = JobEventType;
|
|
1266
1283
|
exports.JobPrimaryStatus = JobPrimaryStatus;
|
|
1267
1284
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
@@ -1269,17 +1286,17 @@ exports.QuantumTaskAdditionalAttributeName = QuantumTaskAdditionalAttributeName;
|
|
|
1269
1286
|
exports.QuantumTaskStatus = QuantumTaskStatus;
|
|
1270
1287
|
exports.QueueName = QueueName;
|
|
1271
1288
|
exports.QueuePriority = QueuePriority;
|
|
1272
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1289
|
+
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
1273
1290
|
exports.SearchDevicesCommand = SearchDevicesCommand;
|
|
1274
1291
|
exports.SearchJobsCommand = SearchJobsCommand;
|
|
1275
1292
|
exports.SearchJobsFilterOperator = SearchJobsFilterOperator;
|
|
1276
1293
|
exports.SearchQuantumTasksCommand = SearchQuantumTasksCommand;
|
|
1277
1294
|
exports.SearchQuantumTasksFilterOperator = SearchQuantumTasksFilterOperator;
|
|
1278
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
1295
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
1279
1296
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1280
|
-
exports.ThrottlingException = ThrottlingException;
|
|
1297
|
+
exports.ThrottlingException = ThrottlingException$1;
|
|
1281
1298
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1282
|
-
exports.ValidationException = ValidationException;
|
|
1299
|
+
exports.ValidationException = ValidationException$1;
|
|
1283
1300
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
1284
1301
|
exports._InstanceType = _InstanceType;
|
|
1285
1302
|
exports.paginateSearchDevices = paginateSearchDevices;
|