@aws-sdk/client-braket 3.928.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.
Files changed (34) hide show
  1. package/dist-cjs/index.js +756 -754
  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/runtimeConfig.shared.js +2 -0
  18. package/dist-es/schemas/schemas_0.js +710 -0
  19. package/dist-types/BraketClient.d.ts +10 -1
  20. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  21. package/dist-types/runtimeConfig.d.ts +1 -0
  22. package/dist-types/runtimeConfig.native.d.ts +1 -0
  23. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  24. package/dist-types/schemas/schemas_0.d.ts +94 -0
  25. package/dist-types/ts3.4/BraketClient.d.ts +4 -0
  26. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  27. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  28. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  29. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  30. package/dist-types/ts3.4/schemas/schemas_0.d.ts +100 -0
  31. package/package.json +2 -3
  32. package/dist-es/protocols/Aws_restJson1.js +0 -639
  33. package/dist-types/protocols/Aws_restJson1.d.ts +0 -119
  34. 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
  };
@@ -368,653 +367,716 @@ const SearchQuantumTasksFilterOperator = {
368
367
  LTE: "LTE",
369
368
  };
370
369
 
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
- });
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";
1001
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";
1002
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
+ ];
1003
1070
 
1004
1071
  class CancelJobCommand extends smithyClient.Command
1005
1072
  .classBuilder()
1006
1073
  .ep(commonParams)
1007
1074
  .m(function (Command, cs, config, o) {
1008
- return [
1009
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1010
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1011
- ];
1075
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1012
1076
  })
1013
1077
  .s("Braket", "CancelJob", {})
1014
1078
  .n("BraketClient", "CancelJobCommand")
1015
- .f(void 0, void 0)
1016
- .ser(se_CancelJobCommand)
1017
- .de(de_CancelJobCommand)
1079
+ .sc(CancelJob)
1018
1080
  .build() {
1019
1081
  }
1020
1082
 
@@ -1022,16 +1084,11 @@ class CancelQuantumTaskCommand extends smithyClient.Command
1022
1084
  .classBuilder()
1023
1085
  .ep(commonParams)
1024
1086
  .m(function (Command, cs, config, o) {
1025
- return [
1026
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1027
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1028
- ];
1087
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1029
1088
  })
1030
1089
  .s("Braket", "CancelQuantumTask", {})
1031
1090
  .n("BraketClient", "CancelQuantumTaskCommand")
1032
- .f(void 0, void 0)
1033
- .ser(se_CancelQuantumTaskCommand)
1034
- .de(de_CancelQuantumTaskCommand)
1091
+ .sc(CancelQuantumTask)
1035
1092
  .build() {
1036
1093
  }
1037
1094
 
@@ -1039,16 +1096,11 @@ class CreateJobCommand extends smithyClient.Command
1039
1096
  .classBuilder()
1040
1097
  .ep(commonParams)
1041
1098
  .m(function (Command, cs, config, o) {
1042
- return [
1043
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1044
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1045
- ];
1099
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1046
1100
  })
1047
1101
  .s("Braket", "CreateJob", {})
1048
1102
  .n("BraketClient", "CreateJobCommand")
1049
- .f(void 0, void 0)
1050
- .ser(se_CreateJobCommand)
1051
- .de(de_CreateJobCommand)
1103
+ .sc(CreateJob)
1052
1104
  .build() {
1053
1105
  }
1054
1106
 
@@ -1056,16 +1108,11 @@ class CreateQuantumTaskCommand extends smithyClient.Command
1056
1108
  .classBuilder()
1057
1109
  .ep(commonParams)
1058
1110
  .m(function (Command, cs, config, o) {
1059
- return [
1060
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1061
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1062
- ];
1111
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1063
1112
  })
1064
1113
  .s("Braket", "CreateQuantumTask", {})
1065
1114
  .n("BraketClient", "CreateQuantumTaskCommand")
1066
- .f(void 0, void 0)
1067
- .ser(se_CreateQuantumTaskCommand)
1068
- .de(de_CreateQuantumTaskCommand)
1115
+ .sc(CreateQuantumTask)
1069
1116
  .build() {
1070
1117
  }
1071
1118
 
@@ -1073,16 +1120,11 @@ class GetDeviceCommand extends smithyClient.Command
1073
1120
  .classBuilder()
1074
1121
  .ep(commonParams)
1075
1122
  .m(function (Command, cs, config, o) {
1076
- return [
1077
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1078
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1079
- ];
1123
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1080
1124
  })
1081
1125
  .s("Braket", "GetDevice", {})
1082
1126
  .n("BraketClient", "GetDeviceCommand")
1083
- .f(void 0, void 0)
1084
- .ser(se_GetDeviceCommand)
1085
- .de(de_GetDeviceCommand)
1127
+ .sc(GetDevice)
1086
1128
  .build() {
1087
1129
  }
1088
1130
 
@@ -1090,16 +1132,11 @@ class GetJobCommand extends smithyClient.Command
1090
1132
  .classBuilder()
1091
1133
  .ep(commonParams)
1092
1134
  .m(function (Command, cs, config, o) {
1093
- return [
1094
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1095
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1096
- ];
1135
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1097
1136
  })
1098
1137
  .s("Braket", "GetJob", {})
1099
1138
  .n("BraketClient", "GetJobCommand")
1100
- .f(void 0, void 0)
1101
- .ser(se_GetJobCommand)
1102
- .de(de_GetJobCommand)
1139
+ .sc(GetJob)
1103
1140
  .build() {
1104
1141
  }
1105
1142
 
@@ -1107,16 +1144,11 @@ class GetQuantumTaskCommand extends smithyClient.Command
1107
1144
  .classBuilder()
1108
1145
  .ep(commonParams)
1109
1146
  .m(function (Command, cs, config, o) {
1110
- return [
1111
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1112
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1113
- ];
1147
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1114
1148
  })
1115
1149
  .s("Braket", "GetQuantumTask", {})
1116
1150
  .n("BraketClient", "GetQuantumTaskCommand")
1117
- .f(void 0, void 0)
1118
- .ser(se_GetQuantumTaskCommand)
1119
- .de(de_GetQuantumTaskCommand)
1151
+ .sc(GetQuantumTask)
1120
1152
  .build() {
1121
1153
  }
1122
1154
 
@@ -1124,16 +1156,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1124
1156
  .classBuilder()
1125
1157
  .ep(commonParams)
1126
1158
  .m(function (Command, cs, config, o) {
1127
- return [
1128
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1129
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1130
- ];
1159
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1131
1160
  })
1132
1161
  .s("Braket", "ListTagsForResource", {})
1133
1162
  .n("BraketClient", "ListTagsForResourceCommand")
1134
- .f(void 0, void 0)
1135
- .ser(se_ListTagsForResourceCommand)
1136
- .de(de_ListTagsForResourceCommand)
1163
+ .sc(ListTagsForResource)
1137
1164
  .build() {
1138
1165
  }
1139
1166
 
@@ -1141,16 +1168,11 @@ class SearchDevicesCommand extends smithyClient.Command
1141
1168
  .classBuilder()
1142
1169
  .ep(commonParams)
1143
1170
  .m(function (Command, cs, config, o) {
1144
- return [
1145
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1146
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1147
- ];
1171
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1148
1172
  })
1149
1173
  .s("Braket", "SearchDevices", {})
1150
1174
  .n("BraketClient", "SearchDevicesCommand")
1151
- .f(void 0, void 0)
1152
- .ser(se_SearchDevicesCommand)
1153
- .de(de_SearchDevicesCommand)
1175
+ .sc(SearchDevices)
1154
1176
  .build() {
1155
1177
  }
1156
1178
 
@@ -1158,16 +1180,11 @@ class SearchJobsCommand extends smithyClient.Command
1158
1180
  .classBuilder()
1159
1181
  .ep(commonParams)
1160
1182
  .m(function (Command, cs, config, o) {
1161
- return [
1162
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1163
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1164
- ];
1183
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1165
1184
  })
1166
1185
  .s("Braket", "SearchJobs", {})
1167
1186
  .n("BraketClient", "SearchJobsCommand")
1168
- .f(void 0, void 0)
1169
- .ser(se_SearchJobsCommand)
1170
- .de(de_SearchJobsCommand)
1187
+ .sc(SearchJobs)
1171
1188
  .build() {
1172
1189
  }
1173
1190
 
@@ -1175,16 +1192,11 @@ class SearchQuantumTasksCommand extends smithyClient.Command
1175
1192
  .classBuilder()
1176
1193
  .ep(commonParams)
1177
1194
  .m(function (Command, cs, config, o) {
1178
- return [
1179
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1180
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1181
- ];
1195
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1182
1196
  })
1183
1197
  .s("Braket", "SearchQuantumTasks", {})
1184
1198
  .n("BraketClient", "SearchQuantumTasksCommand")
1185
- .f(void 0, void 0)
1186
- .ser(se_SearchQuantumTasksCommand)
1187
- .de(de_SearchQuantumTasksCommand)
1199
+ .sc(SearchQuantumTasks)
1188
1200
  .build() {
1189
1201
  }
1190
1202
 
@@ -1192,16 +1204,11 @@ class TagResourceCommand extends smithyClient.Command
1192
1204
  .classBuilder()
1193
1205
  .ep(commonParams)
1194
1206
  .m(function (Command, cs, config, o) {
1195
- return [
1196
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1197
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1198
- ];
1207
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1199
1208
  })
1200
1209
  .s("Braket", "TagResource", {})
1201
1210
  .n("BraketClient", "TagResourceCommand")
1202
- .f(void 0, void 0)
1203
- .ser(se_TagResourceCommand)
1204
- .de(de_TagResourceCommand)
1211
+ .sc(TagResource)
1205
1212
  .build() {
1206
1213
  }
1207
1214
 
@@ -1209,16 +1216,11 @@ class UntagResourceCommand extends smithyClient.Command
1209
1216
  .classBuilder()
1210
1217
  .ep(commonParams)
1211
1218
  .m(function (Command, cs, config, o) {
1212
- return [
1213
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1214
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1215
- ];
1219
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1216
1220
  })
1217
1221
  .s("Braket", "UntagResource", {})
1218
1222
  .n("BraketClient", "UntagResourceCommand")
1219
- .f(void 0, void 0)
1220
- .ser(se_UntagResourceCommand)
1221
- .de(de_UntagResourceCommand)
1223
+ .sc(UntagResource)
1222
1224
  .build() {
1223
1225
  }
1224
1226
 
@@ -1255,20 +1257,20 @@ Object.defineProperty(exports, "__Client", {
1255
1257
  enumerable: true,
1256
1258
  get: function () { return smithyClient.Client; }
1257
1259
  });
1258
- exports.AccessDeniedException = AccessDeniedException;
1260
+ exports.AccessDeniedException = AccessDeniedException$1;
1259
1261
  exports.AssociationType = AssociationType;
1260
1262
  exports.Braket = Braket;
1261
1263
  exports.BraketClient = BraketClient;
1262
- exports.BraketServiceException = BraketServiceException;
1264
+ exports.BraketServiceException = BraketServiceException$1;
1263
1265
  exports.CancelJobCommand = CancelJobCommand;
1264
1266
  exports.CancelQuantumTaskCommand = CancelQuantumTaskCommand;
1265
1267
  exports.CancellationStatus = CancellationStatus;
1266
1268
  exports.CompressionType = CompressionType;
1267
- exports.ConflictException = ConflictException;
1269
+ exports.ConflictException = ConflictException$1;
1268
1270
  exports.CreateJobCommand = CreateJobCommand;
1269
1271
  exports.CreateQuantumTaskCommand = CreateQuantumTaskCommand;
1270
- exports.DeviceOfflineException = DeviceOfflineException;
1271
- exports.DeviceRetiredException = DeviceRetiredException;
1272
+ exports.DeviceOfflineException = DeviceOfflineException$1;
1273
+ exports.DeviceRetiredException = DeviceRetiredException$1;
1272
1274
  exports.DeviceStatus = DeviceStatus;
1273
1275
  exports.DeviceType = DeviceType;
1274
1276
  exports.ExperimentalCapabilitiesEnablementType = ExperimentalCapabilitiesEnablementType;
@@ -1276,7 +1278,7 @@ exports.GetDeviceCommand = GetDeviceCommand;
1276
1278
  exports.GetJobCommand = GetJobCommand;
1277
1279
  exports.GetQuantumTaskCommand = GetQuantumTaskCommand;
1278
1280
  exports.HybridJobAdditionalAttributeName = HybridJobAdditionalAttributeName;
1279
- exports.InternalServiceException = InternalServiceException;
1281
+ exports.InternalServiceException = InternalServiceException$1;
1280
1282
  exports.JobEventType = JobEventType;
1281
1283
  exports.JobPrimaryStatus = JobPrimaryStatus;
1282
1284
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
@@ -1284,17 +1286,17 @@ exports.QuantumTaskAdditionalAttributeName = QuantumTaskAdditionalAttributeName;
1284
1286
  exports.QuantumTaskStatus = QuantumTaskStatus;
1285
1287
  exports.QueueName = QueueName;
1286
1288
  exports.QueuePriority = QueuePriority;
1287
- exports.ResourceNotFoundException = ResourceNotFoundException;
1289
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1288
1290
  exports.SearchDevicesCommand = SearchDevicesCommand;
1289
1291
  exports.SearchJobsCommand = SearchJobsCommand;
1290
1292
  exports.SearchJobsFilterOperator = SearchJobsFilterOperator;
1291
1293
  exports.SearchQuantumTasksCommand = SearchQuantumTasksCommand;
1292
1294
  exports.SearchQuantumTasksFilterOperator = SearchQuantumTasksFilterOperator;
1293
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1295
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
1294
1296
  exports.TagResourceCommand = TagResourceCommand;
1295
- exports.ThrottlingException = ThrottlingException;
1297
+ exports.ThrottlingException = ThrottlingException$1;
1296
1298
  exports.UntagResourceCommand = UntagResourceCommand;
1297
- exports.ValidationException = ValidationException;
1299
+ exports.ValidationException = ValidationException$1;
1298
1300
  exports.ValidationExceptionReason = ValidationExceptionReason;
1299
1301
  exports._InstanceType = _InstanceType;
1300
1302
  exports.paginateSearchDevices = paginateSearchDevices;