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