@aws-sdk/client-snowball 3.927.0 → 3.929.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/dist-cjs/index.js +1020 -1230
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/SnowballClient.js +2 -0
  4. package/dist-es/commands/CancelClusterCommand.js +3 -9
  5. package/dist-es/commands/CancelJobCommand.js +3 -9
  6. package/dist-es/commands/CreateAddressCommand.js +3 -9
  7. package/dist-es/commands/CreateClusterCommand.js +3 -9
  8. package/dist-es/commands/CreateJobCommand.js +3 -10
  9. package/dist-es/commands/CreateLongTermPricingCommand.js +3 -9
  10. package/dist-es/commands/CreateReturnShippingLabelCommand.js +3 -9
  11. package/dist-es/commands/DescribeAddressCommand.js +3 -9
  12. package/dist-es/commands/DescribeAddressesCommand.js +3 -9
  13. package/dist-es/commands/DescribeClusterCommand.js +3 -9
  14. package/dist-es/commands/DescribeJobCommand.js +3 -10
  15. package/dist-es/commands/DescribeReturnShippingLabelCommand.js +3 -9
  16. package/dist-es/commands/GetJobManifestCommand.js +3 -9
  17. package/dist-es/commands/GetJobUnlockCodeCommand.js +3 -9
  18. package/dist-es/commands/GetSnowballUsageCommand.js +3 -9
  19. package/dist-es/commands/GetSoftwareUpdatesCommand.js +3 -9
  20. package/dist-es/commands/ListClusterJobsCommand.js +3 -9
  21. package/dist-es/commands/ListClustersCommand.js +3 -9
  22. package/dist-es/commands/ListCompatibleImagesCommand.js +3 -9
  23. package/dist-es/commands/ListJobsCommand.js +3 -9
  24. package/dist-es/commands/ListLongTermPricingCommand.js +3 -9
  25. package/dist-es/commands/ListPickupLocationsCommand.js +3 -9
  26. package/dist-es/commands/ListServiceVersionsCommand.js +3 -9
  27. package/dist-es/commands/UpdateClusterCommand.js +3 -9
  28. package/dist-es/commands/UpdateJobCommand.js +3 -10
  29. package/dist-es/commands/UpdateJobShipmentStateCommand.js +3 -9
  30. package/dist-es/commands/UpdateLongTermPricingCommand.js +3 -9
  31. package/dist-es/models/models_0.js +0 -23
  32. package/dist-es/runtimeConfig.shared.js +7 -0
  33. package/dist-es/schemas/schemas_0.js +935 -0
  34. package/dist-types/SnowballClient.d.ts +10 -1
  35. package/dist-types/models/models_0.d.ts +0 -20
  36. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  37. package/dist-types/runtimeConfig.d.ts +1 -0
  38. package/dist-types/runtimeConfig.native.d.ts +1 -0
  39. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  40. package/dist-types/schemas/schemas_0.d.ts +145 -0
  41. package/dist-types/ts3.4/SnowballClient.d.ts +4 -0
  42. package/dist-types/ts3.4/models/models_0.d.ts +0 -13
  43. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  44. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  45. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  46. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  47. package/dist-types/ts3.4/schemas/schemas_0.d.ts +151 -0
  48. package/package.json +5 -5
  49. package/dist-es/protocols/Aws_json1_1.js +0 -985
  50. package/dist-types/protocols/Aws_json1_1.d.ts +0 -245
  51. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -329
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,8 +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
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class SnowballClient extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,18 +110,18 @@ class SnowballClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class SnowballServiceException extends smithyClient.ServiceException {
113
+ let SnowballServiceException$1 = class SnowballServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, SnowballServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
120
  const AddressType = {
121
121
  AWS_SHIP: "AWS_SHIP",
122
122
  CUST_PICKUP: "CUST_PICKUP",
123
123
  };
124
- class InvalidJobStateException extends SnowballServiceException {
124
+ let InvalidJobStateException$1 = class InvalidJobStateException extends SnowballServiceException$1 {
125
125
  name = "InvalidJobStateException";
126
126
  $fault = "client";
127
127
  Message;
@@ -134,8 +134,8 @@ class InvalidJobStateException extends SnowballServiceException {
134
134
  Object.setPrototypeOf(this, InvalidJobStateException.prototype);
135
135
  this.Message = opts.Message;
136
136
  }
137
- }
138
- class InvalidResourceException extends SnowballServiceException {
137
+ };
138
+ let InvalidResourceException$1 = class InvalidResourceException extends SnowballServiceException$1 {
139
139
  name = "InvalidResourceException";
140
140
  $fault = "client";
141
141
  Message;
@@ -150,8 +150,8 @@ class InvalidResourceException extends SnowballServiceException {
150
150
  this.Message = opts.Message;
151
151
  this.ResourceType = opts.ResourceType;
152
152
  }
153
- }
154
- class KMSRequestFailedException extends SnowballServiceException {
153
+ };
154
+ let KMSRequestFailedException$1 = class KMSRequestFailedException extends SnowballServiceException$1 {
155
155
  name = "KMSRequestFailedException";
156
156
  $fault = "client";
157
157
  Message;
@@ -164,8 +164,8 @@ class KMSRequestFailedException extends SnowballServiceException {
164
164
  Object.setPrototypeOf(this, KMSRequestFailedException.prototype);
165
165
  this.Message = opts.Message;
166
166
  }
167
- }
168
- class InvalidAddressException extends SnowballServiceException {
167
+ };
168
+ let InvalidAddressException$1 = class InvalidAddressException extends SnowballServiceException$1 {
169
169
  name = "InvalidAddressException";
170
170
  $fault = "client";
171
171
  Message;
@@ -178,8 +178,8 @@ class InvalidAddressException extends SnowballServiceException {
178
178
  Object.setPrototypeOf(this, InvalidAddressException.prototype);
179
179
  this.Message = opts.Message;
180
180
  }
181
- }
182
- class UnsupportedAddressException extends SnowballServiceException {
181
+ };
182
+ let UnsupportedAddressException$1 = class UnsupportedAddressException extends SnowballServiceException$1 {
183
183
  name = "UnsupportedAddressException";
184
184
  $fault = "client";
185
185
  Message;
@@ -192,7 +192,7 @@ class UnsupportedAddressException extends SnowballServiceException {
192
192
  Object.setPrototypeOf(this, UnsupportedAddressException.prototype);
193
193
  this.Message = opts.Message;
194
194
  }
195
- }
195
+ };
196
196
  const JobType = {
197
197
  EXPORT: "EXPORT",
198
198
  IMPORT: "IMPORT",
@@ -261,7 +261,7 @@ const SnowballType = {
261
261
  V3_5C: "V3_5C",
262
262
  V3_5S: "V3_5S",
263
263
  };
264
- class Ec2RequestFailedException extends SnowballServiceException {
264
+ let Ec2RequestFailedException$1 = class Ec2RequestFailedException extends SnowballServiceException$1 {
265
265
  name = "Ec2RequestFailedException";
266
266
  $fault = "client";
267
267
  Message;
@@ -274,8 +274,8 @@ class Ec2RequestFailedException extends SnowballServiceException {
274
274
  Object.setPrototypeOf(this, Ec2RequestFailedException.prototype);
275
275
  this.Message = opts.Message;
276
276
  }
277
- }
278
- class InvalidInputCombinationException extends SnowballServiceException {
277
+ };
278
+ let InvalidInputCombinationException$1 = class InvalidInputCombinationException extends SnowballServiceException$1 {
279
279
  name = "InvalidInputCombinationException";
280
280
  $fault = "client";
281
281
  Message;
@@ -288,8 +288,8 @@ class InvalidInputCombinationException extends SnowballServiceException {
288
288
  Object.setPrototypeOf(this, InvalidInputCombinationException.prototype);
289
289
  this.Message = opts.Message;
290
290
  }
291
- }
292
- class ClusterLimitExceededException extends SnowballServiceException {
291
+ };
292
+ let ClusterLimitExceededException$1 = class ClusterLimitExceededException extends SnowballServiceException$1 {
293
293
  name = "ClusterLimitExceededException";
294
294
  $fault = "client";
295
295
  Message;
@@ -302,7 +302,7 @@ class ClusterLimitExceededException extends SnowballServiceException {
302
302
  Object.setPrototypeOf(this, ClusterLimitExceededException.prototype);
303
303
  this.Message = opts.Message;
304
304
  }
305
- }
305
+ };
306
306
  const ImpactLevel = {
307
307
  IL2: "IL2",
308
308
  IL4: "IL4",
@@ -315,7 +315,7 @@ const LongTermPricingType = {
315
315
  ONE_YEAR: "OneYear",
316
316
  THREE_YEAR: "ThreeYear",
317
317
  };
318
- class ConflictException extends SnowballServiceException {
318
+ let ConflictException$1 = class ConflictException extends SnowballServiceException$1 {
319
319
  name = "ConflictException";
320
320
  $fault = "client";
321
321
  ConflictResource;
@@ -330,14 +330,14 @@ class ConflictException extends SnowballServiceException {
330
330
  this.ConflictResource = opts.ConflictResource;
331
331
  this.Message = opts.Message;
332
332
  }
333
- }
333
+ };
334
334
  const ShippingLabelStatus = {
335
335
  FAILED: "Failed",
336
336
  IN_PROGRESS: "InProgress",
337
337
  SUCCEEDED: "Succeeded",
338
338
  TIMED_OUT: "TimedOut",
339
339
  };
340
- class ReturnShippingLabelAlreadyExistsException extends SnowballServiceException {
340
+ let ReturnShippingLabelAlreadyExistsException$1 = class ReturnShippingLabelAlreadyExistsException extends SnowballServiceException$1 {
341
341
  name = "ReturnShippingLabelAlreadyExistsException";
342
342
  $fault = "client";
343
343
  Message;
@@ -350,8 +350,8 @@ class ReturnShippingLabelAlreadyExistsException extends SnowballServiceException
350
350
  Object.setPrototypeOf(this, ReturnShippingLabelAlreadyExistsException.prototype);
351
351
  this.Message = opts.Message;
352
352
  }
353
- }
354
- class InvalidNextTokenException extends SnowballServiceException {
353
+ };
354
+ let InvalidNextTokenException$1 = class InvalidNextTokenException extends SnowballServiceException$1 {
355
355
  name = "InvalidNextTokenException";
356
356
  $fault = "client";
357
357
  Message;
@@ -364,7 +364,7 @@ class InvalidNextTokenException extends SnowballServiceException {
364
364
  Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
365
365
  this.Message = opts.Message;
366
366
  }
367
- }
367
+ };
368
368
  const ClusterState = {
369
369
  AWAITING_QUORUM: "AwaitingQuorum",
370
370
  CANCELLED: "Cancelled",
@@ -380,1020 +380,945 @@ const ShipmentState = {
380
380
  RECEIVED: "RECEIVED",
381
381
  RETURNED: "RETURNED",
382
382
  };
383
- const PickupDetailsFilterSensitiveLog = (obj) => ({
384
- ...obj,
385
- ...(obj.PhoneNumber && { PhoneNumber: smithyClient.SENSITIVE_STRING }),
386
- ...(obj.Email && { Email: smithyClient.SENSITIVE_STRING }),
387
- });
388
- const CreateJobRequestFilterSensitiveLog = (obj) => ({
389
- ...obj,
390
- ...(obj.PickupDetails && { PickupDetails: PickupDetailsFilterSensitiveLog(obj.PickupDetails) }),
391
- });
392
- const JobMetadataFilterSensitiveLog = (obj) => ({
393
- ...obj,
394
- ...(obj.PickupDetails && { PickupDetails: PickupDetailsFilterSensitiveLog(obj.PickupDetails) }),
395
- });
396
- const DescribeJobResultFilterSensitiveLog = (obj) => ({
397
- ...obj,
398
- ...(obj.JobMetadata && { JobMetadata: JobMetadataFilterSensitiveLog(obj.JobMetadata) }),
399
- ...(obj.SubJobMetadata && { SubJobMetadata: obj.SubJobMetadata.map((item) => JobMetadataFilterSensitiveLog(item)) }),
400
- });
401
- const UpdateJobRequestFilterSensitiveLog = (obj) => ({
402
- ...obj,
403
- ...(obj.PickupDetails && { PickupDetails: PickupDetailsFilterSensitiveLog(obj.PickupDetails) }),
404
- });
405
383
 
406
- const se_CancelClusterCommand = async (input, context) => {
407
- const headers = sharedHeaders("CancelCluster");
408
- let body;
409
- body = JSON.stringify(smithyClient._json(input));
410
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
411
- };
412
- const se_CancelJobCommand = async (input, context) => {
413
- const headers = sharedHeaders("CancelJob");
414
- let body;
415
- body = JSON.stringify(smithyClient._json(input));
416
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
417
- };
418
- const se_CreateAddressCommand = async (input, context) => {
419
- const headers = sharedHeaders("CreateAddress");
420
- let body;
421
- body = JSON.stringify(smithyClient._json(input));
422
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
423
- };
424
- const se_CreateClusterCommand = async (input, context) => {
425
- const headers = sharedHeaders("CreateCluster");
426
- let body;
427
- body = JSON.stringify(se_CreateClusterRequest(input));
428
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
429
- };
430
- const se_CreateJobCommand = async (input, context) => {
431
- const headers = sharedHeaders("CreateJob");
432
- let body;
433
- body = JSON.stringify(se_CreateJobRequest(input));
434
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
435
- };
436
- const se_CreateLongTermPricingCommand = async (input, context) => {
437
- const headers = sharedHeaders("CreateLongTermPricing");
438
- let body;
439
- body = JSON.stringify(smithyClient._json(input));
440
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
441
- };
442
- const se_CreateReturnShippingLabelCommand = async (input, context) => {
443
- const headers = sharedHeaders("CreateReturnShippingLabel");
444
- let body;
445
- body = JSON.stringify(smithyClient._json(input));
446
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
447
- };
448
- const se_DescribeAddressCommand = async (input, context) => {
449
- const headers = sharedHeaders("DescribeAddress");
450
- let body;
451
- body = JSON.stringify(smithyClient._json(input));
452
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
453
- };
454
- const se_DescribeAddressesCommand = async (input, context) => {
455
- const headers = sharedHeaders("DescribeAddresses");
456
- let body;
457
- body = JSON.stringify(smithyClient._json(input));
458
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
459
- };
460
- const se_DescribeClusterCommand = async (input, context) => {
461
- const headers = sharedHeaders("DescribeCluster");
462
- let body;
463
- body = JSON.stringify(smithyClient._json(input));
464
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
465
- };
466
- const se_DescribeJobCommand = async (input, context) => {
467
- const headers = sharedHeaders("DescribeJob");
468
- let body;
469
- body = JSON.stringify(smithyClient._json(input));
470
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
471
- };
472
- const se_DescribeReturnShippingLabelCommand = async (input, context) => {
473
- const headers = sharedHeaders("DescribeReturnShippingLabel");
474
- let body;
475
- body = JSON.stringify(smithyClient._json(input));
476
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
477
- };
478
- const se_GetJobManifestCommand = async (input, context) => {
479
- const headers = sharedHeaders("GetJobManifest");
480
- let body;
481
- body = JSON.stringify(smithyClient._json(input));
482
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
483
- };
484
- const se_GetJobUnlockCodeCommand = async (input, context) => {
485
- const headers = sharedHeaders("GetJobUnlockCode");
486
- let body;
487
- body = JSON.stringify(smithyClient._json(input));
488
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
489
- };
490
- const se_GetSnowballUsageCommand = async (input, context) => {
491
- const headers = sharedHeaders("GetSnowballUsage");
492
- let body;
493
- body = JSON.stringify(smithyClient._json(input));
494
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
495
- };
496
- const se_GetSoftwareUpdatesCommand = async (input, context) => {
497
- const headers = sharedHeaders("GetSoftwareUpdates");
498
- let body;
499
- body = JSON.stringify(smithyClient._json(input));
500
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
501
- };
502
- const se_ListClusterJobsCommand = async (input, context) => {
503
- const headers = sharedHeaders("ListClusterJobs");
504
- let body;
505
- body = JSON.stringify(smithyClient._json(input));
506
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
507
- };
508
- const se_ListClustersCommand = async (input, context) => {
509
- const headers = sharedHeaders("ListClusters");
510
- let body;
511
- body = JSON.stringify(smithyClient._json(input));
512
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
513
- };
514
- const se_ListCompatibleImagesCommand = async (input, context) => {
515
- const headers = sharedHeaders("ListCompatibleImages");
516
- let body;
517
- body = JSON.stringify(smithyClient._json(input));
518
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
519
- };
520
- const se_ListJobsCommand = async (input, context) => {
521
- const headers = sharedHeaders("ListJobs");
522
- let body;
523
- body = JSON.stringify(smithyClient._json(input));
524
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
525
- };
526
- const se_ListLongTermPricingCommand = async (input, context) => {
527
- const headers = sharedHeaders("ListLongTermPricing");
528
- let body;
529
- body = JSON.stringify(smithyClient._json(input));
530
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
531
- };
532
- const se_ListPickupLocationsCommand = async (input, context) => {
533
- const headers = sharedHeaders("ListPickupLocations");
534
- let body;
535
- body = JSON.stringify(smithyClient._json(input));
536
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
537
- };
538
- const se_ListServiceVersionsCommand = async (input, context) => {
539
- const headers = sharedHeaders("ListServiceVersions");
540
- let body;
541
- body = JSON.stringify(smithyClient._json(input));
542
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
543
- };
544
- const se_UpdateClusterCommand = async (input, context) => {
545
- const headers = sharedHeaders("UpdateCluster");
546
- let body;
547
- body = JSON.stringify(se_UpdateClusterRequest(input));
548
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
549
- };
550
- const se_UpdateJobCommand = async (input, context) => {
551
- const headers = sharedHeaders("UpdateJob");
552
- let body;
553
- body = JSON.stringify(se_UpdateJobRequest(input));
554
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
555
- };
556
- const se_UpdateJobShipmentStateCommand = async (input, context) => {
557
- const headers = sharedHeaders("UpdateJobShipmentState");
558
- let body;
559
- body = JSON.stringify(smithyClient._json(input));
560
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
561
- };
562
- const se_UpdateLongTermPricingCommand = async (input, context) => {
563
- const headers = sharedHeaders("UpdateLongTermPricing");
564
- let body;
565
- body = JSON.stringify(smithyClient._json(input));
566
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
567
- };
568
- const de_CancelClusterCommand = async (output, context) => {
569
- if (output.statusCode >= 300) {
570
- return de_CommandError(output, context);
571
- }
572
- const data = await core$1.parseJsonBody(output.body, context);
573
- let contents = {};
574
- contents = smithyClient._json(data);
575
- const response = {
576
- $metadata: deserializeMetadata(output),
577
- ...contents,
578
- };
579
- return response;
580
- };
581
- const de_CancelJobCommand = async (output, context) => {
582
- if (output.statusCode >= 300) {
583
- return de_CommandError(output, context);
584
- }
585
- const data = await core$1.parseJsonBody(output.body, context);
586
- let contents = {};
587
- contents = smithyClient._json(data);
588
- const response = {
589
- $metadata: deserializeMetadata(output),
590
- ...contents,
591
- };
592
- return response;
593
- };
594
- const de_CreateAddressCommand = async (output, context) => {
595
- if (output.statusCode >= 300) {
596
- return de_CommandError(output, context);
597
- }
598
- const data = await core$1.parseJsonBody(output.body, context);
599
- let contents = {};
600
- contents = smithyClient._json(data);
601
- const response = {
602
- $metadata: deserializeMetadata(output),
603
- ...contents,
604
- };
605
- return response;
606
- };
607
- const de_CreateClusterCommand = async (output, context) => {
608
- if (output.statusCode >= 300) {
609
- return de_CommandError(output, context);
610
- }
611
- const data = await core$1.parseJsonBody(output.body, context);
612
- let contents = {};
613
- contents = de_CreateClusterResult(data);
614
- const response = {
615
- $metadata: deserializeMetadata(output),
616
- ...contents,
617
- };
618
- return response;
619
- };
620
- const de_CreateJobCommand = async (output, context) => {
621
- if (output.statusCode >= 300) {
622
- return de_CommandError(output, context);
623
- }
624
- const data = await core$1.parseJsonBody(output.body, context);
625
- let contents = {};
626
- contents = smithyClient._json(data);
627
- const response = {
628
- $metadata: deserializeMetadata(output),
629
- ...contents,
630
- };
631
- return response;
632
- };
633
- const de_CreateLongTermPricingCommand = async (output, context) => {
634
- if (output.statusCode >= 300) {
635
- return de_CommandError(output, context);
636
- }
637
- const data = await core$1.parseJsonBody(output.body, context);
638
- let contents = {};
639
- contents = smithyClient._json(data);
640
- const response = {
641
- $metadata: deserializeMetadata(output),
642
- ...contents,
643
- };
644
- return response;
645
- };
646
- const de_CreateReturnShippingLabelCommand = async (output, context) => {
647
- if (output.statusCode >= 300) {
648
- return de_CommandError(output, context);
649
- }
650
- const data = await core$1.parseJsonBody(output.body, context);
651
- let contents = {};
652
- contents = smithyClient._json(data);
653
- const response = {
654
- $metadata: deserializeMetadata(output),
655
- ...contents,
656
- };
657
- return response;
658
- };
659
- const de_DescribeAddressCommand = async (output, context) => {
660
- if (output.statusCode >= 300) {
661
- return de_CommandError(output, context);
662
- }
663
- const data = await core$1.parseJsonBody(output.body, context);
664
- let contents = {};
665
- contents = smithyClient._json(data);
666
- const response = {
667
- $metadata: deserializeMetadata(output),
668
- ...contents,
669
- };
670
- return response;
671
- };
672
- const de_DescribeAddressesCommand = async (output, context) => {
673
- if (output.statusCode >= 300) {
674
- return de_CommandError(output, context);
675
- }
676
- const data = await core$1.parseJsonBody(output.body, context);
677
- let contents = {};
678
- contents = smithyClient._json(data);
679
- const response = {
680
- $metadata: deserializeMetadata(output),
681
- ...contents,
682
- };
683
- return response;
684
- };
685
- const de_DescribeClusterCommand = async (output, context) => {
686
- if (output.statusCode >= 300) {
687
- return de_CommandError(output, context);
688
- }
689
- const data = await core$1.parseJsonBody(output.body, context);
690
- let contents = {};
691
- contents = de_DescribeClusterResult(data);
692
- const response = {
693
- $metadata: deserializeMetadata(output),
694
- ...contents,
695
- };
696
- return response;
697
- };
698
- const de_DescribeJobCommand = async (output, context) => {
699
- if (output.statusCode >= 300) {
700
- return de_CommandError(output, context);
701
- }
702
- const data = await core$1.parseJsonBody(output.body, context);
703
- let contents = {};
704
- contents = de_DescribeJobResult(data);
705
- const response = {
706
- $metadata: deserializeMetadata(output),
707
- ...contents,
708
- };
709
- return response;
710
- };
711
- const de_DescribeReturnShippingLabelCommand = async (output, context) => {
712
- if (output.statusCode >= 300) {
713
- return de_CommandError(output, context);
714
- }
715
- const data = await core$1.parseJsonBody(output.body, context);
716
- let contents = {};
717
- contents = de_DescribeReturnShippingLabelResult(data);
718
- const response = {
719
- $metadata: deserializeMetadata(output),
720
- ...contents,
721
- };
722
- return response;
723
- };
724
- const de_GetJobManifestCommand = async (output, context) => {
725
- if (output.statusCode >= 300) {
726
- return de_CommandError(output, context);
727
- }
728
- const data = await core$1.parseJsonBody(output.body, context);
729
- let contents = {};
730
- contents = smithyClient._json(data);
731
- const response = {
732
- $metadata: deserializeMetadata(output),
733
- ...contents,
734
- };
735
- return response;
736
- };
737
- const de_GetJobUnlockCodeCommand = async (output, context) => {
738
- if (output.statusCode >= 300) {
739
- return de_CommandError(output, context);
740
- }
741
- const data = await core$1.parseJsonBody(output.body, context);
742
- let contents = {};
743
- contents = smithyClient._json(data);
744
- const response = {
745
- $metadata: deserializeMetadata(output),
746
- ...contents,
747
- };
748
- return response;
749
- };
750
- const de_GetSnowballUsageCommand = async (output, context) => {
751
- if (output.statusCode >= 300) {
752
- return de_CommandError(output, context);
753
- }
754
- const data = await core$1.parseJsonBody(output.body, context);
755
- let contents = {};
756
- contents = smithyClient._json(data);
757
- const response = {
758
- $metadata: deserializeMetadata(output),
759
- ...contents,
760
- };
761
- return response;
762
- };
763
- const de_GetSoftwareUpdatesCommand = async (output, context) => {
764
- if (output.statusCode >= 300) {
765
- return de_CommandError(output, context);
766
- }
767
- const data = await core$1.parseJsonBody(output.body, context);
768
- let contents = {};
769
- contents = smithyClient._json(data);
770
- const response = {
771
- $metadata: deserializeMetadata(output),
772
- ...contents,
773
- };
774
- return response;
775
- };
776
- const de_ListClusterJobsCommand = async (output, context) => {
777
- if (output.statusCode >= 300) {
778
- return de_CommandError(output, context);
779
- }
780
- const data = await core$1.parseJsonBody(output.body, context);
781
- let contents = {};
782
- contents = de_ListClusterJobsResult(data);
783
- const response = {
784
- $metadata: deserializeMetadata(output),
785
- ...contents,
786
- };
787
- return response;
788
- };
789
- const de_ListClustersCommand = async (output, context) => {
790
- if (output.statusCode >= 300) {
791
- return de_CommandError(output, context);
792
- }
793
- const data = await core$1.parseJsonBody(output.body, context);
794
- let contents = {};
795
- contents = de_ListClustersResult(data);
796
- const response = {
797
- $metadata: deserializeMetadata(output),
798
- ...contents,
799
- };
800
- return response;
801
- };
802
- const de_ListCompatibleImagesCommand = async (output, context) => {
803
- if (output.statusCode >= 300) {
804
- return de_CommandError(output, context);
805
- }
806
- const data = await core$1.parseJsonBody(output.body, context);
807
- let contents = {};
808
- contents = smithyClient._json(data);
809
- const response = {
810
- $metadata: deserializeMetadata(output),
811
- ...contents,
812
- };
813
- return response;
814
- };
815
- const de_ListJobsCommand = async (output, context) => {
816
- if (output.statusCode >= 300) {
817
- return de_CommandError(output, context);
818
- }
819
- const data = await core$1.parseJsonBody(output.body, context);
820
- let contents = {};
821
- contents = de_ListJobsResult(data);
822
- const response = {
823
- $metadata: deserializeMetadata(output),
824
- ...contents,
825
- };
826
- return response;
827
- };
828
- const de_ListLongTermPricingCommand = async (output, context) => {
829
- if (output.statusCode >= 300) {
830
- return de_CommandError(output, context);
831
- }
832
- const data = await core$1.parseJsonBody(output.body, context);
833
- let contents = {};
834
- contents = de_ListLongTermPricingResult(data);
835
- const response = {
836
- $metadata: deserializeMetadata(output),
837
- ...contents,
838
- };
839
- return response;
840
- };
841
- const de_ListPickupLocationsCommand = async (output, context) => {
842
- if (output.statusCode >= 300) {
843
- return de_CommandError(output, context);
844
- }
845
- const data = await core$1.parseJsonBody(output.body, context);
846
- let contents = {};
847
- contents = smithyClient._json(data);
848
- const response = {
849
- $metadata: deserializeMetadata(output),
850
- ...contents,
851
- };
852
- return response;
853
- };
854
- const de_ListServiceVersionsCommand = async (output, context) => {
855
- if (output.statusCode >= 300) {
856
- return de_CommandError(output, context);
857
- }
858
- const data = await core$1.parseJsonBody(output.body, context);
859
- let contents = {};
860
- contents = smithyClient._json(data);
861
- const response = {
862
- $metadata: deserializeMetadata(output),
863
- ...contents,
864
- };
865
- return response;
866
- };
867
- const de_UpdateClusterCommand = async (output, context) => {
868
- if (output.statusCode >= 300) {
869
- return de_CommandError(output, context);
870
- }
871
- const data = await core$1.parseJsonBody(output.body, context);
872
- let contents = {};
873
- contents = smithyClient._json(data);
874
- const response = {
875
- $metadata: deserializeMetadata(output),
876
- ...contents,
877
- };
878
- return response;
879
- };
880
- const de_UpdateJobCommand = async (output, context) => {
881
- if (output.statusCode >= 300) {
882
- return de_CommandError(output, context);
883
- }
884
- const data = await core$1.parseJsonBody(output.body, context);
885
- let contents = {};
886
- contents = smithyClient._json(data);
887
- const response = {
888
- $metadata: deserializeMetadata(output),
889
- ...contents,
890
- };
891
- return response;
892
- };
893
- const de_UpdateJobShipmentStateCommand = async (output, context) => {
894
- if (output.statusCode >= 300) {
895
- return de_CommandError(output, context);
896
- }
897
- const data = await core$1.parseJsonBody(output.body, context);
898
- let contents = {};
899
- contents = smithyClient._json(data);
900
- const response = {
901
- $metadata: deserializeMetadata(output),
902
- ...contents,
903
- };
904
- return response;
905
- };
906
- const de_UpdateLongTermPricingCommand = async (output, context) => {
907
- if (output.statusCode >= 300) {
908
- return de_CommandError(output, context);
909
- }
910
- const data = await core$1.parseJsonBody(output.body, context);
911
- let contents = {};
912
- contents = smithyClient._json(data);
913
- const response = {
914
- $metadata: deserializeMetadata(output),
915
- ...contents,
916
- };
917
- return response;
918
- };
919
- const de_CommandError = async (output, context) => {
920
- const parsedOutput = {
921
- ...output,
922
- body: await core$1.parseJsonErrorBody(output.body, context),
923
- };
924
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
925
- switch (errorCode) {
926
- case "InvalidJobStateException":
927
- case "com.amazonaws.snowball#InvalidJobStateException":
928
- throw await de_InvalidJobStateExceptionRes(parsedOutput);
929
- case "InvalidResourceException":
930
- case "com.amazonaws.snowball#InvalidResourceException":
931
- throw await de_InvalidResourceExceptionRes(parsedOutput);
932
- case "KMSRequestFailedException":
933
- case "com.amazonaws.snowball#KMSRequestFailedException":
934
- throw await de_KMSRequestFailedExceptionRes(parsedOutput);
935
- case "InvalidAddressException":
936
- case "com.amazonaws.snowball#InvalidAddressException":
937
- throw await de_InvalidAddressExceptionRes(parsedOutput);
938
- case "UnsupportedAddressException":
939
- case "com.amazonaws.snowball#UnsupportedAddressException":
940
- throw await de_UnsupportedAddressExceptionRes(parsedOutput);
941
- case "Ec2RequestFailedException":
942
- case "com.amazonaws.snowball#Ec2RequestFailedException":
943
- throw await de_Ec2RequestFailedExceptionRes(parsedOutput);
944
- case "InvalidInputCombinationException":
945
- case "com.amazonaws.snowball#InvalidInputCombinationException":
946
- throw await de_InvalidInputCombinationExceptionRes(parsedOutput);
947
- case "ClusterLimitExceededException":
948
- case "com.amazonaws.snowball#ClusterLimitExceededException":
949
- throw await de_ClusterLimitExceededExceptionRes(parsedOutput);
950
- case "ConflictException":
951
- case "com.amazonaws.snowball#ConflictException":
952
- throw await de_ConflictExceptionRes(parsedOutput);
953
- case "ReturnShippingLabelAlreadyExistsException":
954
- case "com.amazonaws.snowball#ReturnShippingLabelAlreadyExistsException":
955
- throw await de_ReturnShippingLabelAlreadyExistsExceptionRes(parsedOutput);
956
- case "InvalidNextTokenException":
957
- case "com.amazonaws.snowball#InvalidNextTokenException":
958
- throw await de_InvalidNextTokenExceptionRes(parsedOutput);
959
- default:
960
- const parsedBody = parsedOutput.body;
961
- return throwDefaultError({
962
- output,
963
- parsedBody,
964
- errorCode,
965
- });
966
- }
967
- };
968
- const de_ClusterLimitExceededExceptionRes = async (parsedOutput, context) => {
969
- const body = parsedOutput.body;
970
- const deserialized = smithyClient._json(body);
971
- const exception = new ClusterLimitExceededException({
972
- $metadata: deserializeMetadata(parsedOutput),
973
- ...deserialized,
974
- });
975
- return smithyClient.decorateServiceException(exception, body);
976
- };
977
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
978
- const body = parsedOutput.body;
979
- const deserialized = smithyClient._json(body);
980
- const exception = new ConflictException({
981
- $metadata: deserializeMetadata(parsedOutput),
982
- ...deserialized,
983
- });
984
- return smithyClient.decorateServiceException(exception, body);
985
- };
986
- const de_Ec2RequestFailedExceptionRes = async (parsedOutput, context) => {
987
- const body = parsedOutput.body;
988
- const deserialized = smithyClient._json(body);
989
- const exception = new Ec2RequestFailedException({
990
- $metadata: deserializeMetadata(parsedOutput),
991
- ...deserialized,
992
- });
993
- return smithyClient.decorateServiceException(exception, body);
994
- };
995
- const de_InvalidAddressExceptionRes = async (parsedOutput, context) => {
996
- const body = parsedOutput.body;
997
- const deserialized = smithyClient._json(body);
998
- const exception = new InvalidAddressException({
999
- $metadata: deserializeMetadata(parsedOutput),
1000
- ...deserialized,
1001
- });
1002
- return smithyClient.decorateServiceException(exception, body);
1003
- };
1004
- const de_InvalidInputCombinationExceptionRes = async (parsedOutput, context) => {
1005
- const body = parsedOutput.body;
1006
- const deserialized = smithyClient._json(body);
1007
- const exception = new InvalidInputCombinationException({
1008
- $metadata: deserializeMetadata(parsedOutput),
1009
- ...deserialized,
1010
- });
1011
- return smithyClient.decorateServiceException(exception, body);
1012
- };
1013
- const de_InvalidJobStateExceptionRes = async (parsedOutput, context) => {
1014
- const body = parsedOutput.body;
1015
- const deserialized = smithyClient._json(body);
1016
- const exception = new InvalidJobStateException({
1017
- $metadata: deserializeMetadata(parsedOutput),
1018
- ...deserialized,
1019
- });
1020
- return smithyClient.decorateServiceException(exception, body);
1021
- };
1022
- const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
1023
- const body = parsedOutput.body;
1024
- const deserialized = smithyClient._json(body);
1025
- const exception = new InvalidNextTokenException({
1026
- $metadata: deserializeMetadata(parsedOutput),
1027
- ...deserialized,
1028
- });
1029
- return smithyClient.decorateServiceException(exception, body);
1030
- };
1031
- const de_InvalidResourceExceptionRes = async (parsedOutput, context) => {
1032
- const body = parsedOutput.body;
1033
- const deserialized = smithyClient._json(body);
1034
- const exception = new InvalidResourceException({
1035
- $metadata: deserializeMetadata(parsedOutput),
1036
- ...deserialized,
1037
- });
1038
- return smithyClient.decorateServiceException(exception, body);
1039
- };
1040
- const de_KMSRequestFailedExceptionRes = async (parsedOutput, context) => {
1041
- const body = parsedOutput.body;
1042
- const deserialized = smithyClient._json(body);
1043
- const exception = new KMSRequestFailedException({
1044
- $metadata: deserializeMetadata(parsedOutput),
1045
- ...deserialized,
1046
- });
1047
- return smithyClient.decorateServiceException(exception, body);
1048
- };
1049
- const de_ReturnShippingLabelAlreadyExistsExceptionRes = async (parsedOutput, context) => {
1050
- const body = parsedOutput.body;
1051
- const deserialized = smithyClient._json(body);
1052
- const exception = new ReturnShippingLabelAlreadyExistsException({
1053
- $metadata: deserializeMetadata(parsedOutput),
1054
- ...deserialized,
1055
- });
1056
- return smithyClient.decorateServiceException(exception, body);
1057
- };
1058
- const de_UnsupportedAddressExceptionRes = async (parsedOutput, context) => {
1059
- const body = parsedOutput.body;
1060
- const deserialized = smithyClient._json(body);
1061
- const exception = new UnsupportedAddressException({
1062
- $metadata: deserializeMetadata(parsedOutput),
1063
- ...deserialized,
1064
- });
1065
- return smithyClient.decorateServiceException(exception, body);
1066
- };
1067
- const se_CreateClusterRequest = (input, context) => {
1068
- return smithyClient.take(input, {
1069
- AddressId: [],
1070
- Description: [],
1071
- ForceCreateJobs: [],
1072
- ForwardingAddressId: [],
1073
- InitialClusterSize: [],
1074
- JobType: [],
1075
- KmsKeyARN: [],
1076
- LongTermPricingIds: smithyClient._json,
1077
- Notification: smithyClient._json,
1078
- OnDeviceServiceConfiguration: (_) => se_OnDeviceServiceConfiguration(_),
1079
- RemoteManagement: [],
1080
- Resources: smithyClient._json,
1081
- RoleARN: [],
1082
- ShippingOption: [],
1083
- SnowballCapacityPreference: [],
1084
- SnowballType: [],
1085
- TaxDocuments: smithyClient._json,
1086
- });
1087
- };
1088
- const se_CreateJobRequest = (input, context) => {
1089
- return smithyClient.take(input, {
1090
- AddressId: [],
1091
- ClusterId: [],
1092
- Description: [],
1093
- DeviceConfiguration: smithyClient._json,
1094
- ForwardingAddressId: [],
1095
- ImpactLevel: [],
1096
- JobType: [],
1097
- KmsKeyARN: [],
1098
- LongTermPricingId: [],
1099
- Notification: smithyClient._json,
1100
- OnDeviceServiceConfiguration: (_) => se_OnDeviceServiceConfiguration(_),
1101
- PickupDetails: (_) => se_PickupDetails(_),
1102
- RemoteManagement: [],
1103
- Resources: smithyClient._json,
1104
- RoleARN: [],
1105
- ShippingOption: [],
1106
- SnowballCapacityPreference: [],
1107
- SnowballType: [],
1108
- TaxDocuments: smithyClient._json,
1109
- });
1110
- };
1111
- const se_OnDeviceServiceConfiguration = (input, context) => {
1112
- return smithyClient.take(input, {
1113
- EKSOnDeviceService: smithyClient._json,
1114
- NFSOnDeviceService: smithyClient._json,
1115
- S3OnDeviceService: (_) => se_S3OnDeviceServiceConfiguration(_),
1116
- TGWOnDeviceService: smithyClient._json,
1117
- });
1118
- };
1119
- const se_PickupDetails = (input, context) => {
1120
- return smithyClient.take(input, {
1121
- DevicePickupId: [],
1122
- Email: [],
1123
- IdentificationExpirationDate: (_) => _.getTime() / 1_000,
1124
- IdentificationIssuingOrg: [],
1125
- IdentificationNumber: [],
1126
- Name: [],
1127
- PhoneNumber: [],
1128
- });
1129
- };
1130
- const se_S3OnDeviceServiceConfiguration = (input, context) => {
1131
- return smithyClient.take(input, {
1132
- FaultTolerance: [],
1133
- ServiceSize: [],
1134
- StorageLimit: smithyClient.serializeFloat,
1135
- StorageUnit: [],
1136
- });
1137
- };
1138
- const se_UpdateClusterRequest = (input, context) => {
1139
- return smithyClient.take(input, {
1140
- AddressId: [],
1141
- ClusterId: [],
1142
- Description: [],
1143
- ForwardingAddressId: [],
1144
- Notification: smithyClient._json,
1145
- OnDeviceServiceConfiguration: (_) => se_OnDeviceServiceConfiguration(_),
1146
- Resources: smithyClient._json,
1147
- RoleARN: [],
1148
- ShippingOption: [],
1149
- });
1150
- };
1151
- const se_UpdateJobRequest = (input, context) => {
1152
- return smithyClient.take(input, {
1153
- AddressId: [],
1154
- Description: [],
1155
- ForwardingAddressId: [],
1156
- JobId: [],
1157
- Notification: smithyClient._json,
1158
- OnDeviceServiceConfiguration: (_) => se_OnDeviceServiceConfiguration(_),
1159
- PickupDetails: (_) => se_PickupDetails(_),
1160
- Resources: smithyClient._json,
1161
- RoleARN: [],
1162
- ShippingOption: [],
1163
- SnowballCapacityPreference: [],
1164
- });
1165
- };
1166
- const de_ClusterListEntry = (output, context) => {
1167
- return smithyClient.take(output, {
1168
- ClusterId: smithyClient.expectString,
1169
- ClusterState: smithyClient.expectString,
1170
- CreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1171
- Description: smithyClient.expectString,
1172
- });
1173
- };
1174
- const de_ClusterListEntryList = (output, context) => {
1175
- const retVal = (output || [])
1176
- .filter((e) => e != null)
1177
- .map((entry) => {
1178
- return de_ClusterListEntry(entry);
1179
- });
1180
- return retVal;
1181
- };
1182
- const de_ClusterMetadata = (output, context) => {
1183
- return smithyClient.take(output, {
1184
- AddressId: smithyClient.expectString,
1185
- ClusterId: smithyClient.expectString,
1186
- ClusterState: smithyClient.expectString,
1187
- CreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1188
- Description: smithyClient.expectString,
1189
- ForwardingAddressId: smithyClient.expectString,
1190
- JobType: smithyClient.expectString,
1191
- KmsKeyARN: smithyClient.expectString,
1192
- Notification: smithyClient._json,
1193
- OnDeviceServiceConfiguration: (_) => de_OnDeviceServiceConfiguration(_),
1194
- Resources: smithyClient._json,
1195
- RoleARN: smithyClient.expectString,
1196
- ShippingOption: smithyClient.expectString,
1197
- SnowballType: smithyClient.expectString,
1198
- TaxDocuments: smithyClient._json,
1199
- });
1200
- };
1201
- const de_CreateClusterResult = (output, context) => {
1202
- return smithyClient.take(output, {
1203
- ClusterId: smithyClient.expectString,
1204
- JobListEntries: (_) => de_JobListEntryList(_),
1205
- });
1206
- };
1207
- const de_DescribeClusterResult = (output, context) => {
1208
- return smithyClient.take(output, {
1209
- ClusterMetadata: (_) => de_ClusterMetadata(_),
1210
- });
1211
- };
1212
- const de_DescribeJobResult = (output, context) => {
1213
- return smithyClient.take(output, {
1214
- JobMetadata: (_) => de_JobMetadata(_),
1215
- SubJobMetadata: (_) => de_JobMetadataList(_),
1216
- });
1217
- };
1218
- const de_DescribeReturnShippingLabelResult = (output, context) => {
1219
- return smithyClient.take(output, {
1220
- ExpirationDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1221
- ReturnShippingLabelURI: smithyClient.expectString,
1222
- Status: smithyClient.expectString,
1223
- });
1224
- };
1225
- const de_JobListEntry = (output, context) => {
1226
- return smithyClient.take(output, {
1227
- CreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1228
- Description: smithyClient.expectString,
1229
- IsMaster: smithyClient.expectBoolean,
1230
- JobId: smithyClient.expectString,
1231
- JobState: smithyClient.expectString,
1232
- JobType: smithyClient.expectString,
1233
- SnowballType: smithyClient.expectString,
1234
- });
1235
- };
1236
- const de_JobListEntryList = (output, context) => {
1237
- const retVal = (output || [])
1238
- .filter((e) => e != null)
1239
- .map((entry) => {
1240
- return de_JobListEntry(entry);
1241
- });
1242
- return retVal;
1243
- };
1244
- const de_JobMetadata = (output, context) => {
1245
- return smithyClient.take(output, {
1246
- AddressId: smithyClient.expectString,
1247
- ClusterId: smithyClient.expectString,
1248
- CreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1249
- DataTransferProgress: smithyClient._json,
1250
- Description: smithyClient.expectString,
1251
- DeviceConfiguration: smithyClient._json,
1252
- ForwardingAddressId: smithyClient.expectString,
1253
- ImpactLevel: smithyClient.expectString,
1254
- JobId: smithyClient.expectString,
1255
- JobLogInfo: smithyClient._json,
1256
- JobState: smithyClient.expectString,
1257
- JobType: smithyClient.expectString,
1258
- KmsKeyARN: smithyClient.expectString,
1259
- LongTermPricingId: smithyClient.expectString,
1260
- Notification: smithyClient._json,
1261
- OnDeviceServiceConfiguration: (_) => de_OnDeviceServiceConfiguration(_),
1262
- PickupDetails: (_) => de_PickupDetails(_),
1263
- RemoteManagement: smithyClient.expectString,
1264
- Resources: smithyClient._json,
1265
- RoleARN: smithyClient.expectString,
1266
- ShippingDetails: smithyClient._json,
1267
- SnowballCapacityPreference: smithyClient.expectString,
1268
- SnowballId: smithyClient.expectString,
1269
- SnowballType: smithyClient.expectString,
1270
- TaxDocuments: smithyClient._json,
1271
- });
1272
- };
1273
- const de_JobMetadataList = (output, context) => {
1274
- const retVal = (output || [])
1275
- .filter((e) => e != null)
1276
- .map((entry) => {
1277
- return de_JobMetadata(entry);
1278
- });
1279
- return retVal;
1280
- };
1281
- const de_ListClusterJobsResult = (output, context) => {
1282
- return smithyClient.take(output, {
1283
- JobListEntries: (_) => de_JobListEntryList(_),
1284
- NextToken: smithyClient.expectString,
1285
- });
1286
- };
1287
- const de_ListClustersResult = (output, context) => {
1288
- return smithyClient.take(output, {
1289
- ClusterListEntries: (_) => de_ClusterListEntryList(_),
1290
- NextToken: smithyClient.expectString,
1291
- });
1292
- };
1293
- const de_ListJobsResult = (output, context) => {
1294
- return smithyClient.take(output, {
1295
- JobListEntries: (_) => de_JobListEntryList(_),
1296
- NextToken: smithyClient.expectString,
1297
- });
1298
- };
1299
- const de_ListLongTermPricingResult = (output, context) => {
1300
- return smithyClient.take(output, {
1301
- LongTermPricingEntries: (_) => de_LongTermPricingEntryList(_),
1302
- NextToken: smithyClient.expectString,
1303
- });
1304
- };
1305
- const de_LongTermPricingEntryList = (output, context) => {
1306
- const retVal = (output || [])
1307
- .filter((e) => e != null)
1308
- .map((entry) => {
1309
- return de_LongTermPricingListEntry(entry);
1310
- });
1311
- return retVal;
1312
- };
1313
- const de_LongTermPricingListEntry = (output, context) => {
1314
- return smithyClient.take(output, {
1315
- CurrentActiveJob: smithyClient.expectString,
1316
- IsLongTermPricingAutoRenew: smithyClient.expectBoolean,
1317
- JobIds: smithyClient._json,
1318
- LongTermPricingEndDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1319
- LongTermPricingId: smithyClient.expectString,
1320
- LongTermPricingStartDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1321
- LongTermPricingStatus: smithyClient.expectString,
1322
- LongTermPricingType: smithyClient.expectString,
1323
- ReplacementJob: smithyClient.expectString,
1324
- SnowballType: smithyClient.expectString,
1325
- });
1326
- };
1327
- const de_OnDeviceServiceConfiguration = (output, context) => {
1328
- return smithyClient.take(output, {
1329
- EKSOnDeviceService: smithyClient._json,
1330
- NFSOnDeviceService: smithyClient._json,
1331
- S3OnDeviceService: (_) => de_S3OnDeviceServiceConfiguration(_),
1332
- TGWOnDeviceService: smithyClient._json,
1333
- });
1334
- };
1335
- const de_PickupDetails = (output, context) => {
1336
- return smithyClient.take(output, {
1337
- DevicePickupId: smithyClient.expectString,
1338
- Email: smithyClient.expectString,
1339
- IdentificationExpirationDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1340
- IdentificationIssuingOrg: smithyClient.expectString,
1341
- IdentificationNumber: smithyClient.expectString,
1342
- Name: smithyClient.expectString,
1343
- PhoneNumber: smithyClient.expectString,
1344
- });
1345
- };
1346
- const de_S3OnDeviceServiceConfiguration = (output, context) => {
1347
- return smithyClient.take(output, {
1348
- FaultTolerance: smithyClient.expectInt32,
1349
- ServiceSize: smithyClient.expectInt32,
1350
- StorageLimit: smithyClient.limitedParseDouble,
1351
- StorageUnit: smithyClient.expectString,
1352
- });
1353
- };
1354
- const deserializeMetadata = (output) => ({
1355
- httpStatusCode: output.statusCode,
1356
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1357
- extendedRequestId: output.headers["x-amz-id-2"],
1358
- cfId: output.headers["x-amz-cf-id"],
1359
- });
1360
- const throwDefaultError = smithyClient.withBaseException(SnowballServiceException);
1361
- const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
1362
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1363
- const contents = {
1364
- protocol,
1365
- hostname,
1366
- port,
1367
- method: "POST",
1368
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
1369
- headers,
1370
- };
1371
- if (body !== undefined) {
1372
- contents.body = body;
1373
- }
1374
- return new protocolHttp.HttpRequest(contents);
1375
- };
1376
- function sharedHeaders(operation) {
1377
- return {
1378
- "content-type": "application/x-amz-json-1.1",
1379
- "x-amz-target": `AWSIESnowballJobManagementService.${operation}`,
1380
- };
1381
- }
384
+ const _A = "Address";
385
+ const _AI = "AddressId";
386
+ const _AIm = "AmiId";
387
+ const _AL = "AddressList";
388
+ const _Ad = "Addresses";
389
+ const _BA = "BucketArn";
390
+ const _BM = "BeginMarker";
391
+ const _BT = "BytesTransferred";
392
+ const _C = "Company";
393
+ const _CA = "CreateAddress";
394
+ const _CAJ = "CurrentActiveJob";
395
+ const _CAR = "CreateAddressRequest";
396
+ const _CARr = "CreateAddressResult";
397
+ const _CC = "CancelCluster";
398
+ const _CCR = "CancelClusterRequest";
399
+ const _CCRa = "CancelClusterResult";
400
+ const _CCRr = "CreateClusterRequest";
401
+ const _CCRre = "CreateClusterResult";
402
+ const _CCr = "CreateCluster";
403
+ const _CD = "CreationDate";
404
+ const _CE = "ConflictException";
405
+ const _CI = "ClusterId";
406
+ const _CIL = "CompatibleImageList";
407
+ const _CIo = "CompatibleImage";
408
+ const _CIom = "CompatibleImages";
409
+ const _CJ = "CancelJob";
410
+ const _CJR = "CancelJobRequest";
411
+ const _CJRa = "CancelJobResult";
412
+ const _CJRr = "CreateJobRequest";
413
+ const _CJRre = "CreateJobResult";
414
+ const _CJr = "CreateJob";
415
+ const _CLE = "ClusterListEntry";
416
+ const _CLEE = "ClusterLimitExceededException";
417
+ const _CLEL = "ClusterListEntryList";
418
+ const _CLEl = "ClusterListEntries";
419
+ const _CLTP = "CreateLongTermPricing";
420
+ const _CLTPR = "CreateLongTermPricingRequest";
421
+ const _CLTPRr = "CreateLongTermPricingResult";
422
+ const _CM = "ClusterMetadata";
423
+ const _CR = "ConflictResource";
424
+ const _CRSL = "CreateReturnShippingLabel";
425
+ const _CRSLR = "CreateReturnShippingLabelRequest";
426
+ const _CRSLRr = "CreateReturnShippingLabelResult";
427
+ const _CS = "ClusterState";
428
+ const _Ci = "City";
429
+ const _Co = "Country";
430
+ const _D = "Description";
431
+ const _DA = "DescribeAddress";
432
+ const _DAR = "DescribeAddressesRequest";
433
+ const _DARe = "DescribeAddressesResult";
434
+ const _DARes = "DescribeAddressRequest";
435
+ const _DAResc = "DescribeAddressResult";
436
+ const _DAe = "DescribeAddresses";
437
+ const _DC = "DeviceConfiguration";
438
+ const _DCR = "DescribeClusterRequest";
439
+ const _DCRe = "DescribeClusterResult";
440
+ const _DCe = "DescribeCluster";
441
+ const _DJ = "DescribeJob";
442
+ const _DJR = "DescribeJobRequest";
443
+ const _DJRe = "DescribeJobResult";
444
+ const _DPI = "DevicePickupId";
445
+ const _DPSTARN = "DevicePickupSnsTopicARN";
446
+ const _DRSL = "DescribeReturnShippingLabel";
447
+ const _DRSLR = "DescribeReturnShippingLabelRequest";
448
+ const _DRSLRe = "DescribeReturnShippingLabelResult";
449
+ const _DS = "DependentService";
450
+ const _DSL = "DependentServiceList";
451
+ const _DSe = "DependentServices";
452
+ const _DT = "DataTransfer";
453
+ const _DTP = "DataTransferProgress";
454
+ const _E = "Email";
455
+ const _EAR = "Ec2AmiResource";
456
+ const _EARL = "Ec2AmiResourceList";
457
+ const _EARc = "Ec2AmiResources";
458
+ const _ED = "ExpirationDate";
459
+ const _EKSAV = "EKSAnywhereVersion";
460
+ const _EKSODS = "EKSOnDeviceService";
461
+ const _EKSODSC = "EKSOnDeviceServiceConfiguration";
462
+ const _EM = "EndMarker";
463
+ const _ERARN = "EventResourceARN";
464
+ const _ERFE = "Ec2RequestFailedException";
465
+ const _ET = "EventTriggers";
466
+ const _ETD = "EventTriggerDefinition";
467
+ const _ETDL = "EventTriggerDefinitionList";
468
+ const _FAI = "ForwardingAddressId";
469
+ const _FCJ = "ForceCreateJobs";
470
+ const _FT = "FaultTolerance";
471
+ const _GJM = "GetJobManifest";
472
+ const _GJMR = "GetJobManifestRequest";
473
+ const _GJMRe = "GetJobManifestResult";
474
+ const _GJUC = "GetJobUnlockCode";
475
+ const _GJUCR = "GetJobUnlockCodeRequest";
476
+ const _GJUCRe = "GetJobUnlockCodeResult";
477
+ const _GSTIN = "GSTIN";
478
+ const _GSU = "GetSnowballUsage";
479
+ const _GSUR = "GetSnowballUsageRequest";
480
+ const _GSURe = "GetSnowballUsageResult";
481
+ const _GSURet = "GetSoftwareUpdatesRequest";
482
+ const _GSUReto = "GetSoftwareUpdatesResult";
483
+ const _GSUe = "GetSoftwareUpdates";
484
+ const _IAE = "InvalidAddressException";
485
+ const _ICS = "InitialClusterSize";
486
+ const _IED = "IdentificationExpirationDate";
487
+ const _IICE = "InvalidInputCombinationException";
488
+ const _IIO = "IdentificationIssuingOrg";
489
+ const _IJSE = "InvalidJobStateException";
490
+ const _IL = "ImpactLevel";
491
+ const _ILTPAR = "IsLongTermPricingAutoRenew";
492
+ const _IM = "IsMaster";
493
+ const _IN = "IdentificationNumber";
494
+ const _IND = "IND";
495
+ const _INDTD = "INDTaxDocuments";
496
+ const _INTE = "InvalidNextTokenException";
497
+ const _IR = "IsRestricted";
498
+ const _IRE = "InvalidResourceException";
499
+ const _IS = "InboundShipment";
500
+ const _IWE = "IsWifiEnabled";
501
+ const _JCRURI = "JobCompletionReportURI";
502
+ const _JFLURI = "JobFailureLogURI";
503
+ const _JI = "JobId";
504
+ const _JIo = "JobIds";
505
+ const _JL = "JobLogs";
506
+ const _JLE = "JobListEntries";
507
+ const _JLEL = "JobListEntryList";
508
+ const _JLEo = "JobListEntry";
509
+ const _JLI = "JobLogInfo";
510
+ const _JM = "JobMetadata";
511
+ const _JML = "JobMetadataList";
512
+ const _JR = "JobResource";
513
+ const _JS = "JobState";
514
+ const _JSLURI = "JobSuccessLogURI";
515
+ const _JSTN = "JobStatesToNotify";
516
+ const _JT = "JobType";
517
+ const _KKARN = "KmsKeyARN";
518
+ const _KMSRFE = "KMSRequestFailedException";
519
+ const _KR = "KeyRange";
520
+ const _KV = "KubernetesVersion";
521
+ const _L = "Landmark";
522
+ const _LA = "LambdaArn";
523
+ const _LC = "ListClusters";
524
+ const _LCI = "ListCompatibleImages";
525
+ const _LCIR = "ListCompatibleImagesRequest";
526
+ const _LCIRi = "ListCompatibleImagesResult";
527
+ const _LCJ = "ListClusterJobs";
528
+ const _LCJR = "ListClusterJobsRequest";
529
+ const _LCJRi = "ListClusterJobsResult";
530
+ const _LCR = "ListClustersRequest";
531
+ const _LCRi = "ListClustersResult";
532
+ const _LJ = "ListJobs";
533
+ const _LJR = "ListJobsRequest";
534
+ const _LJRi = "ListJobsResult";
535
+ const _LLTP = "ListLongTermPricing";
536
+ const _LLTPR = "ListLongTermPricingRequest";
537
+ const _LLTPRi = "ListLongTermPricingResult";
538
+ const _LPL = "ListPickupLocations";
539
+ const _LPLR = "ListPickupLocationsRequest";
540
+ const _LPLRi = "ListPickupLocationsResult";
541
+ const _LR = "LambdaResources";
542
+ const _LRL = "LambdaResourceList";
543
+ const _LRa = "LambdaResource";
544
+ const _LSV = "ListServiceVersions";
545
+ const _LSVR = "ListServiceVersionsRequest";
546
+ const _LSVRi = "ListServiceVersionsResult";
547
+ const _LTPE = "LongTermPricingEntries";
548
+ const _LTPED = "LongTermPricingEndDate";
549
+ const _LTPEL = "LongTermPricingEntryList";
550
+ const _LTPI = "LongTermPricingIds";
551
+ const _LTPIo = "LongTermPricingId";
552
+ const _LTPLE = "LongTermPricingListEntry";
553
+ const _LTPS = "LongTermPricingStatus";
554
+ const _LTPSD = "LongTermPricingStartDate";
555
+ const _LTPT = "LongTermPricingType";
556
+ const _M = "Message";
557
+ const _MR = "MaxResults";
558
+ const _MURI = "ManifestURI";
559
+ const _N = "Name";
560
+ const _NA = "NotifyAll";
561
+ const _NFSODS = "NFSOnDeviceService";
562
+ const _NFSODSC = "NFSOnDeviceServiceConfiguration";
563
+ const _NT = "NextToken";
564
+ const _No = "Notification";
565
+ const _ODSC = "OnDeviceServiceConfiguration";
566
+ const _OS = "OutboundShipment";
567
+ const _OT = "ObjectsTransferred";
568
+ const _PC = "PostalCode";
569
+ const _PD = "PickupDetails";
570
+ const _PN = "PhoneNumber";
571
+ const _POD = "PrefectureOrDistrict";
572
+ const _R = "Resources";
573
+ const _RARN = "RoleARN";
574
+ const _RJ = "ReplacementJob";
575
+ const _RM = "RemoteManagement";
576
+ const _RSLAEE = "ReturnShippingLabelAlreadyExistsException";
577
+ const _RSLURI = "ReturnShippingLabelURI";
578
+ const _RT = "ResourceType";
579
+ const _S = "Street1";
580
+ const _SAI = "SnowballAmiId";
581
+ const _SCP = "SnowballCapacityPreference";
582
+ const _SD = "ShippingDetails";
583
+ const _SDC = "SnowconeDeviceConfiguration";
584
+ const _SI = "SnowballId";
585
+ const _SIU = "SnowballsInUse";
586
+ const _SJM = "SubJobMetadata";
587
+ const _SL = "SnowballLimit";
588
+ const _SLt = "StorageLimit";
589
+ const _SN = "ServiceName";
590
+ const _SO = "ShippingOption";
591
+ const _SODS = "S3OnDeviceService";
592
+ const _SODSC = "S3OnDeviceServiceConfiguration";
593
+ const _SOP = "StateOrProvince";
594
+ const _SR = "S3Resources";
595
+ const _SRL = "S3ResourceList";
596
+ const _SRe = "S3Resource";
597
+ const _SS = "ServiceSize";
598
+ const _SSh = "ShipmentState";
599
+ const _ST = "SnowballType";
600
+ const _STARN = "SnsTopicARN";
601
+ const _SU = "StorageUnit";
602
+ const _SV = "ServiceVersion";
603
+ const _SVL = "ServiceVersionList";
604
+ const _SVe = "ServiceVersions";
605
+ const _Sh = "Shipment";
606
+ const _St = "Street2";
607
+ const _Sta = "Status";
608
+ const _Str = "Street3";
609
+ const _T = "Type";
610
+ const _TB = "TotalBytes";
611
+ const _TD = "TaxDocuments";
612
+ const _TGWODS = "TGWOnDeviceService";
613
+ const _TGWODSC = "TGWOnDeviceServiceConfiguration";
614
+ const _TN = "TrackingNumber";
615
+ const _TO = "TotalObjects";
616
+ const _TODS = "TargetOnDeviceServices";
617
+ const _TODSL = "TargetOnDeviceServiceList";
618
+ const _TODSa = "TargetOnDeviceService";
619
+ const _TOr = "TransferOption";
620
+ const _UAE = "UnsupportedAddressException";
621
+ const _UC = "UnlockCode";
622
+ const _UCR = "UpdateClusterRequest";
623
+ const _UCRp = "UpdateClusterResult";
624
+ const _UCp = "UpdateCluster";
625
+ const _UJ = "UpdateJob";
626
+ const _UJR = "UpdateJobRequest";
627
+ const _UJRp = "UpdateJobResult";
628
+ const _UJSS = "UpdateJobShipmentState";
629
+ const _UJSSR = "UpdateJobShipmentStateRequest";
630
+ const _UJSSRp = "UpdateJobShipmentStateResult";
631
+ const _ULTP = "UpdateLongTermPricing";
632
+ const _ULTPR = "UpdateLongTermPricingRequest";
633
+ const _ULTPRp = "UpdateLongTermPricingResult";
634
+ const _UURI = "UpdatesURI";
635
+ const _V = "Version";
636
+ const _WC = "WirelessConnection";
637
+ const _c = "client";
638
+ const _e = "error";
639
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.snowball";
640
+ const n0 = "com.amazonaws.snowball";
641
+ var Email = [0, n0, _E, 8, 0];
642
+ var PhoneNumber = [0, n0, _PN, 8, 0];
643
+ var Address = [
644
+ 3,
645
+ n0,
646
+ _A,
647
+ 0,
648
+ [_AI, _N, _C, _S, _St, _Str, _Ci, _SOP, _POD, _L, _Co, _PC, _PN, _IR, _T],
649
+ [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0],
650
+ ];
651
+ var CancelClusterRequest = [3, n0, _CCR, 0, [_CI], [0]];
652
+ var CancelClusterResult = [3, n0, _CCRa, 0, [], []];
653
+ var CancelJobRequest = [3, n0, _CJR, 0, [_JI], [0]];
654
+ var CancelJobResult = [3, n0, _CJRa, 0, [], []];
655
+ var ClusterLimitExceededException = [
656
+ -3,
657
+ n0,
658
+ _CLEE,
659
+ {
660
+ [_e]: _c,
661
+ },
662
+ [_M],
663
+ [0],
664
+ ];
665
+ schema.TypeRegistry.for(n0).registerError(ClusterLimitExceededException, ClusterLimitExceededException$1);
666
+ var ClusterListEntry = [3, n0, _CLE, 0, [_CI, _CS, _CD, _D], [0, 0, 4, 0]];
667
+ var ClusterMetadata = [
668
+ 3,
669
+ n0,
670
+ _CM,
671
+ 0,
672
+ [_CI, _D, _KKARN, _RARN, _CS, _JT, _ST, _CD, _R, _AI, _SO, _No, _FAI, _TD, _ODSC],
673
+ [
674
+ 0,
675
+ 0,
676
+ 0,
677
+ 0,
678
+ 0,
679
+ 0,
680
+ 0,
681
+ 4,
682
+ () => JobResource,
683
+ 0,
684
+ 0,
685
+ () => Notification,
686
+ 0,
687
+ () => TaxDocuments,
688
+ () => OnDeviceServiceConfiguration,
689
+ ],
690
+ ];
691
+ var CompatibleImage = [3, n0, _CIo, 0, [_AIm, _N], [0, 0]];
692
+ var ConflictException = [
693
+ -3,
694
+ n0,
695
+ _CE,
696
+ {
697
+ [_e]: _c,
698
+ },
699
+ [_CR, _M],
700
+ [0, 0],
701
+ ];
702
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
703
+ var CreateAddressRequest = [3, n0, _CAR, 0, [_A], [() => Address]];
704
+ var CreateAddressResult = [3, n0, _CARr, 0, [_AI], [0]];
705
+ var CreateClusterRequest = [
706
+ 3,
707
+ n0,
708
+ _CCRr,
709
+ 0,
710
+ [_JT, _R, _ODSC, _D, _AI, _KKARN, _RARN, _ST, _SO, _No, _FAI, _TD, _RM, _ICS, _FCJ, _LTPI, _SCP],
711
+ [
712
+ 0,
713
+ () => JobResource,
714
+ () => OnDeviceServiceConfiguration,
715
+ 0,
716
+ 0,
717
+ 0,
718
+ 0,
719
+ 0,
720
+ 0,
721
+ () => Notification,
722
+ 0,
723
+ () => TaxDocuments,
724
+ 0,
725
+ 1,
726
+ 2,
727
+ 64 | 0,
728
+ 0,
729
+ ],
730
+ ];
731
+ var CreateClusterResult = [3, n0, _CCRre, 0, [_CI, _JLE], [0, () => JobListEntryList]];
732
+ var CreateJobRequest = [
733
+ 3,
734
+ n0,
735
+ _CJRr,
736
+ 0,
737
+ [_JT, _R, _ODSC, _D, _AI, _KKARN, _RARN, _SCP, _SO, _No, _CI, _ST, _FAI, _TD, _DC, _RM, _LTPIo, _IL, _PD],
738
+ [
739
+ 0,
740
+ () => JobResource,
741
+ () => OnDeviceServiceConfiguration,
742
+ 0,
743
+ 0,
744
+ 0,
745
+ 0,
746
+ 0,
747
+ 0,
748
+ () => Notification,
749
+ 0,
750
+ 0,
751
+ 0,
752
+ () => TaxDocuments,
753
+ () => DeviceConfiguration,
754
+ 0,
755
+ 0,
756
+ 0,
757
+ [() => PickupDetails, 0],
758
+ ],
759
+ ];
760
+ var CreateJobResult = [3, n0, _CJRre, 0, [_JI], [0]];
761
+ var CreateLongTermPricingRequest = [3, n0, _CLTPR, 0, [_LTPT, _ILTPAR, _ST], [0, 2, 0]];
762
+ var CreateLongTermPricingResult = [3, n0, _CLTPRr, 0, [_LTPIo], [0]];
763
+ var CreateReturnShippingLabelRequest = [3, n0, _CRSLR, 0, [_JI, _SO], [0, 0]];
764
+ var CreateReturnShippingLabelResult = [3, n0, _CRSLRr, 0, [_Sta], [0]];
765
+ var DataTransfer = [3, n0, _DT, 0, [_BT, _OT, _TB, _TO], [1, 1, 1, 1]];
766
+ var DependentService = [3, n0, _DS, 0, [_SN, _SV], [0, () => ServiceVersion]];
767
+ var DescribeAddressesRequest = [3, n0, _DAR, 0, [_MR, _NT], [1, 0]];
768
+ var DescribeAddressesResult = [3, n0, _DARe, 0, [_Ad, _NT], [() => AddressList, 0]];
769
+ var DescribeAddressRequest = [3, n0, _DARes, 0, [_AI], [0]];
770
+ var DescribeAddressResult = [3, n0, _DAResc, 0, [_A], [() => Address]];
771
+ var DescribeClusterRequest = [3, n0, _DCR, 0, [_CI], [0]];
772
+ var DescribeClusterResult = [3, n0, _DCRe, 0, [_CM], [() => ClusterMetadata]];
773
+ var DescribeJobRequest = [3, n0, _DJR, 0, [_JI], [0]];
774
+ var DescribeJobResult = [
775
+ 3,
776
+ n0,
777
+ _DJRe,
778
+ 0,
779
+ [_JM, _SJM],
780
+ [
781
+ [() => JobMetadata, 0],
782
+ [() => JobMetadataList, 0],
783
+ ],
784
+ ];
785
+ var DescribeReturnShippingLabelRequest = [3, n0, _DRSLR, 0, [_JI], [0]];
786
+ var DescribeReturnShippingLabelResult = [
787
+ 3,
788
+ n0,
789
+ _DRSLRe,
790
+ 0,
791
+ [_Sta, _ED, _RSLURI],
792
+ [0, 4, 0],
793
+ ];
794
+ var DeviceConfiguration = [3, n0, _DC, 0, [_SDC], [() => SnowconeDeviceConfiguration]];
795
+ var Ec2AmiResource = [3, n0, _EAR, 0, [_AIm, _SAI], [0, 0]];
796
+ var Ec2RequestFailedException = [
797
+ -3,
798
+ n0,
799
+ _ERFE,
800
+ {
801
+ [_e]: _c,
802
+ },
803
+ [_M],
804
+ [0],
805
+ ];
806
+ schema.TypeRegistry.for(n0).registerError(Ec2RequestFailedException, Ec2RequestFailedException$1);
807
+ var EKSOnDeviceServiceConfiguration = [3, n0, _EKSODSC, 0, [_KV, _EKSAV], [0, 0]];
808
+ var EventTriggerDefinition = [3, n0, _ETD, 0, [_ERARN], [0]];
809
+ var GetJobManifestRequest = [3, n0, _GJMR, 0, [_JI], [0]];
810
+ var GetJobManifestResult = [3, n0, _GJMRe, 0, [_MURI], [0]];
811
+ var GetJobUnlockCodeRequest = [3, n0, _GJUCR, 0, [_JI], [0]];
812
+ var GetJobUnlockCodeResult = [3, n0, _GJUCRe, 0, [_UC], [0]];
813
+ var GetSnowballUsageRequest = [3, n0, _GSUR, 0, [], []];
814
+ var GetSnowballUsageResult = [3, n0, _GSURe, 0, [_SL, _SIU], [1, 1]];
815
+ var GetSoftwareUpdatesRequest = [3, n0, _GSURet, 0, [_JI], [0]];
816
+ var GetSoftwareUpdatesResult = [3, n0, _GSUReto, 0, [_UURI], [0]];
817
+ var INDTaxDocuments = [3, n0, _INDTD, 0, [_GSTIN], [0]];
818
+ var InvalidAddressException = [
819
+ -3,
820
+ n0,
821
+ _IAE,
822
+ {
823
+ [_e]: _c,
824
+ },
825
+ [_M],
826
+ [0],
827
+ ];
828
+ schema.TypeRegistry.for(n0).registerError(InvalidAddressException, InvalidAddressException$1);
829
+ var InvalidInputCombinationException = [
830
+ -3,
831
+ n0,
832
+ _IICE,
833
+ {
834
+ [_e]: _c,
835
+ },
836
+ [_M],
837
+ [0],
838
+ ];
839
+ schema.TypeRegistry.for(n0).registerError(InvalidInputCombinationException, InvalidInputCombinationException$1);
840
+ var InvalidJobStateException = [
841
+ -3,
842
+ n0,
843
+ _IJSE,
844
+ {
845
+ [_e]: _c,
846
+ },
847
+ [_M],
848
+ [0],
849
+ ];
850
+ schema.TypeRegistry.for(n0).registerError(InvalidJobStateException, InvalidJobStateException$1);
851
+ var InvalidNextTokenException = [
852
+ -3,
853
+ n0,
854
+ _INTE,
855
+ {
856
+ [_e]: _c,
857
+ },
858
+ [_M],
859
+ [0],
860
+ ];
861
+ schema.TypeRegistry.for(n0).registerError(InvalidNextTokenException, InvalidNextTokenException$1);
862
+ var InvalidResourceException = [
863
+ -3,
864
+ n0,
865
+ _IRE,
866
+ {
867
+ [_e]: _c,
868
+ },
869
+ [_M, _RT],
870
+ [0, 0],
871
+ ];
872
+ schema.TypeRegistry.for(n0).registerError(InvalidResourceException, InvalidResourceException$1);
873
+ var JobListEntry = [
874
+ 3,
875
+ n0,
876
+ _JLEo,
877
+ 0,
878
+ [_JI, _JS, _IM, _JT, _ST, _CD, _D],
879
+ [0, 0, 2, 0, 0, 4, 0],
880
+ ];
881
+ var JobLogs = [3, n0, _JL, 0, [_JCRURI, _JSLURI, _JFLURI], [0, 0, 0]];
882
+ var JobMetadata = [
883
+ 3,
884
+ n0,
885
+ _JM,
886
+ 0,
887
+ [
888
+ _JI,
889
+ _JS,
890
+ _JT,
891
+ _ST,
892
+ _CD,
893
+ _R,
894
+ _D,
895
+ _KKARN,
896
+ _RARN,
897
+ _AI,
898
+ _SD,
899
+ _SCP,
900
+ _No,
901
+ _DTP,
902
+ _JLI,
903
+ _CI,
904
+ _FAI,
905
+ _TD,
906
+ _DC,
907
+ _RM,
908
+ _LTPIo,
909
+ _ODSC,
910
+ _IL,
911
+ _PD,
912
+ _SI,
913
+ ],
914
+ [
915
+ 0,
916
+ 0,
917
+ 0,
918
+ 0,
919
+ 4,
920
+ () => JobResource,
921
+ 0,
922
+ 0,
923
+ 0,
924
+ 0,
925
+ () => ShippingDetails,
926
+ 0,
927
+ () => Notification,
928
+ () => DataTransfer,
929
+ () => JobLogs,
930
+ 0,
931
+ 0,
932
+ () => TaxDocuments,
933
+ () => DeviceConfiguration,
934
+ 0,
935
+ 0,
936
+ () => OnDeviceServiceConfiguration,
937
+ 0,
938
+ [() => PickupDetails, 0],
939
+ 0,
940
+ ],
941
+ ];
942
+ var JobResource = [
943
+ 3,
944
+ n0,
945
+ _JR,
946
+ 0,
947
+ [_SR, _LR, _EARc],
948
+ [() => S3ResourceList, () => LambdaResourceList, () => Ec2AmiResourceList],
949
+ ];
950
+ var KeyRange = [3, n0, _KR, 0, [_BM, _EM], [0, 0]];
951
+ var KMSRequestFailedException = [
952
+ -3,
953
+ n0,
954
+ _KMSRFE,
955
+ {
956
+ [_e]: _c,
957
+ },
958
+ [_M],
959
+ [0],
960
+ ];
961
+ schema.TypeRegistry.for(n0).registerError(KMSRequestFailedException, KMSRequestFailedException$1);
962
+ var LambdaResource = [3, n0, _LRa, 0, [_LA, _ET], [0, () => EventTriggerDefinitionList]];
963
+ var ListClusterJobsRequest = [3, n0, _LCJR, 0, [_CI, _MR, _NT], [0, 1, 0]];
964
+ var ListClusterJobsResult = [3, n0, _LCJRi, 0, [_JLE, _NT], [() => JobListEntryList, 0]];
965
+ var ListClustersRequest = [3, n0, _LCR, 0, [_MR, _NT], [1, 0]];
966
+ var ListClustersResult = [3, n0, _LCRi, 0, [_CLEl, _NT], [() => ClusterListEntryList, 0]];
967
+ var ListCompatibleImagesRequest = [3, n0, _LCIR, 0, [_MR, _NT], [1, 0]];
968
+ var ListCompatibleImagesResult = [
969
+ 3,
970
+ n0,
971
+ _LCIRi,
972
+ 0,
973
+ [_CIom, _NT],
974
+ [() => CompatibleImageList, 0],
975
+ ];
976
+ var ListJobsRequest = [3, n0, _LJR, 0, [_MR, _NT], [1, 0]];
977
+ var ListJobsResult = [3, n0, _LJRi, 0, [_JLE, _NT], [() => JobListEntryList, 0]];
978
+ var ListLongTermPricingRequest = [3, n0, _LLTPR, 0, [_MR, _NT], [1, 0]];
979
+ var ListLongTermPricingResult = [
980
+ 3,
981
+ n0,
982
+ _LLTPRi,
983
+ 0,
984
+ [_LTPE, _NT],
985
+ [() => LongTermPricingEntryList, 0],
986
+ ];
987
+ var ListPickupLocationsRequest = [3, n0, _LPLR, 0, [_MR, _NT], [1, 0]];
988
+ var ListPickupLocationsResult = [3, n0, _LPLRi, 0, [_Ad, _NT], [() => AddressList, 0]];
989
+ var ListServiceVersionsRequest = [
990
+ 3,
991
+ n0,
992
+ _LSVR,
993
+ 0,
994
+ [_SN, _DSe, _MR, _NT],
995
+ [0, () => DependentServiceList, 1, 0],
996
+ ];
997
+ var ListServiceVersionsResult = [
998
+ 3,
999
+ n0,
1000
+ _LSVRi,
1001
+ 0,
1002
+ [_SVe, _SN, _DSe, _NT],
1003
+ [() => ServiceVersionList, 0, () => DependentServiceList, 0],
1004
+ ];
1005
+ var LongTermPricingListEntry = [
1006
+ 3,
1007
+ n0,
1008
+ _LTPLE,
1009
+ 0,
1010
+ [_LTPIo, _LTPED, _LTPSD, _LTPT, _CAJ, _RJ, _ILTPAR, _LTPS, _ST, _JIo],
1011
+ [0, 4, 4, 0, 0, 0, 2, 0, 0, 64 | 0],
1012
+ ];
1013
+ var NFSOnDeviceServiceConfiguration = [3, n0, _NFSODSC, 0, [_SLt, _SU], [1, 0]];
1014
+ var Notification = [3, n0, _No, 0, [_STARN, _JSTN, _NA, _DPSTARN], [0, 64 | 0, 2, 0]];
1015
+ var OnDeviceServiceConfiguration = [
1016
+ 3,
1017
+ n0,
1018
+ _ODSC,
1019
+ 0,
1020
+ [_NFSODS, _TGWODS, _EKSODS, _SODS],
1021
+ [
1022
+ () => NFSOnDeviceServiceConfiguration,
1023
+ () => TGWOnDeviceServiceConfiguration,
1024
+ () => EKSOnDeviceServiceConfiguration,
1025
+ () => S3OnDeviceServiceConfiguration,
1026
+ ],
1027
+ ];
1028
+ var PickupDetails = [
1029
+ 3,
1030
+ n0,
1031
+ _PD,
1032
+ 0,
1033
+ [_N, _PN, _E, _IN, _IED, _IIO, _DPI],
1034
+ [0, [() => PhoneNumber, 0], [() => Email, 0], 0, 4, 0, 0],
1035
+ ];
1036
+ var ReturnShippingLabelAlreadyExistsException = [
1037
+ -3,
1038
+ n0,
1039
+ _RSLAEE,
1040
+ {
1041
+ [_e]: _c,
1042
+ },
1043
+ [_M],
1044
+ [0],
1045
+ ];
1046
+ schema.TypeRegistry.for(n0).registerError(ReturnShippingLabelAlreadyExistsException, ReturnShippingLabelAlreadyExistsException$1);
1047
+ var S3OnDeviceServiceConfiguration = [
1048
+ 3,
1049
+ n0,
1050
+ _SODSC,
1051
+ 0,
1052
+ [_SLt, _SU, _SS, _FT],
1053
+ [1, 0, 1, 1],
1054
+ ];
1055
+ var S3Resource = [
1056
+ 3,
1057
+ n0,
1058
+ _SRe,
1059
+ 0,
1060
+ [_BA, _KR, _TODS],
1061
+ [0, () => KeyRange, () => TargetOnDeviceServiceList],
1062
+ ];
1063
+ var ServiceVersion = [3, n0, _SV, 0, [_V], [0]];
1064
+ var Shipment = [3, n0, _Sh, 0, [_Sta, _TN], [0, 0]];
1065
+ var ShippingDetails = [
1066
+ 3,
1067
+ n0,
1068
+ _SD,
1069
+ 0,
1070
+ [_SO, _IS, _OS],
1071
+ [0, () => Shipment, () => Shipment],
1072
+ ];
1073
+ var SnowconeDeviceConfiguration = [3, n0, _SDC, 0, [_WC], [() => WirelessConnection]];
1074
+ var TargetOnDeviceService = [3, n0, _TODSa, 0, [_SN, _TOr], [0, 0]];
1075
+ var TaxDocuments = [3, n0, _TD, 0, [_IND], [() => INDTaxDocuments]];
1076
+ var TGWOnDeviceServiceConfiguration = [3, n0, _TGWODSC, 0, [_SLt, _SU], [1, 0]];
1077
+ var UnsupportedAddressException = [
1078
+ -3,
1079
+ n0,
1080
+ _UAE,
1081
+ {
1082
+ [_e]: _c,
1083
+ },
1084
+ [_M],
1085
+ [0],
1086
+ ];
1087
+ schema.TypeRegistry.for(n0).registerError(UnsupportedAddressException, UnsupportedAddressException$1);
1088
+ var UpdateClusterRequest = [
1089
+ 3,
1090
+ n0,
1091
+ _UCR,
1092
+ 0,
1093
+ [_CI, _RARN, _D, _R, _ODSC, _AI, _SO, _No, _FAI],
1094
+ [0, 0, 0, () => JobResource, () => OnDeviceServiceConfiguration, 0, 0, () => Notification, 0],
1095
+ ];
1096
+ var UpdateClusterResult = [3, n0, _UCRp, 0, [], []];
1097
+ var UpdateJobRequest = [
1098
+ 3,
1099
+ n0,
1100
+ _UJR,
1101
+ 0,
1102
+ [_JI, _RARN, _No, _R, _ODSC, _AI, _SO, _D, _SCP, _FAI, _PD],
1103
+ [
1104
+ 0,
1105
+ 0,
1106
+ () => Notification,
1107
+ () => JobResource,
1108
+ () => OnDeviceServiceConfiguration,
1109
+ 0,
1110
+ 0,
1111
+ 0,
1112
+ 0,
1113
+ 0,
1114
+ [() => PickupDetails, 0],
1115
+ ],
1116
+ ];
1117
+ var UpdateJobResult = [3, n0, _UJRp, 0, [], []];
1118
+ var UpdateJobShipmentStateRequest = [3, n0, _UJSSR, 0, [_JI, _SSh], [0, 0]];
1119
+ var UpdateJobShipmentStateResult = [3, n0, _UJSSRp, 0, [], []];
1120
+ var UpdateLongTermPricingRequest = [3, n0, _ULTPR, 0, [_LTPIo, _RJ, _ILTPAR], [0, 0, 2]];
1121
+ var UpdateLongTermPricingResult = [3, n0, _ULTPRp, 0, [], []];
1122
+ var WirelessConnection = [3, n0, _WC, 0, [_IWE], [2]];
1123
+ var SnowballServiceException = [-3, _s, "SnowballServiceException", 0, [], []];
1124
+ schema.TypeRegistry.for(_s).registerError(SnowballServiceException, SnowballServiceException$1);
1125
+ var AddressList = [1, n0, _AL, 0, () => Address];
1126
+ var ClusterListEntryList = [1, n0, _CLEL, 0, () => ClusterListEntry];
1127
+ var CompatibleImageList = [1, n0, _CIL, 0, () => CompatibleImage];
1128
+ var DependentServiceList = [1, n0, _DSL, 0, () => DependentService];
1129
+ var Ec2AmiResourceList = [1, n0, _EARL, 0, () => Ec2AmiResource];
1130
+ var EventTriggerDefinitionList = [1, n0, _ETDL, 0, () => EventTriggerDefinition];
1131
+ var JobListEntryList = [1, n0, _JLEL, 0, () => JobListEntry];
1132
+ var JobMetadataList = [1, n0, _JML, 0, [() => JobMetadata, 0]];
1133
+ var LambdaResourceList = [1, n0, _LRL, 0, () => LambdaResource];
1134
+ var LongTermPricingEntryList = [1, n0, _LTPEL, 0, () => LongTermPricingListEntry];
1135
+ var S3ResourceList = [1, n0, _SRL, 0, () => S3Resource];
1136
+ var ServiceVersionList = [1, n0, _SVL, 0, () => ServiceVersion];
1137
+ var TargetOnDeviceServiceList = [1, n0, _TODSL, 0, () => TargetOnDeviceService];
1138
+ var CancelCluster = [
1139
+ 9,
1140
+ n0,
1141
+ _CC,
1142
+ 0,
1143
+ () => CancelClusterRequest,
1144
+ () => CancelClusterResult,
1145
+ ];
1146
+ var CancelJob = [9, n0, _CJ, 0, () => CancelJobRequest, () => CancelJobResult];
1147
+ var CreateAddress = [
1148
+ 9,
1149
+ n0,
1150
+ _CA,
1151
+ 0,
1152
+ () => CreateAddressRequest,
1153
+ () => CreateAddressResult,
1154
+ ];
1155
+ var CreateCluster = [
1156
+ 9,
1157
+ n0,
1158
+ _CCr,
1159
+ 0,
1160
+ () => CreateClusterRequest,
1161
+ () => CreateClusterResult,
1162
+ ];
1163
+ var CreateJob = [9, n0, _CJr, 0, () => CreateJobRequest, () => CreateJobResult];
1164
+ var CreateLongTermPricing = [
1165
+ 9,
1166
+ n0,
1167
+ _CLTP,
1168
+ 0,
1169
+ () => CreateLongTermPricingRequest,
1170
+ () => CreateLongTermPricingResult,
1171
+ ];
1172
+ var CreateReturnShippingLabel = [
1173
+ 9,
1174
+ n0,
1175
+ _CRSL,
1176
+ 0,
1177
+ () => CreateReturnShippingLabelRequest,
1178
+ () => CreateReturnShippingLabelResult,
1179
+ ];
1180
+ var DescribeAddress = [
1181
+ 9,
1182
+ n0,
1183
+ _DA,
1184
+ 0,
1185
+ () => DescribeAddressRequest,
1186
+ () => DescribeAddressResult,
1187
+ ];
1188
+ var DescribeAddresses = [
1189
+ 9,
1190
+ n0,
1191
+ _DAe,
1192
+ 0,
1193
+ () => DescribeAddressesRequest,
1194
+ () => DescribeAddressesResult,
1195
+ ];
1196
+ var DescribeCluster = [
1197
+ 9,
1198
+ n0,
1199
+ _DCe,
1200
+ 0,
1201
+ () => DescribeClusterRequest,
1202
+ () => DescribeClusterResult,
1203
+ ];
1204
+ var DescribeJob = [9, n0, _DJ, 0, () => DescribeJobRequest, () => DescribeJobResult];
1205
+ var DescribeReturnShippingLabel = [
1206
+ 9,
1207
+ n0,
1208
+ _DRSL,
1209
+ 0,
1210
+ () => DescribeReturnShippingLabelRequest,
1211
+ () => DescribeReturnShippingLabelResult,
1212
+ ];
1213
+ var GetJobManifest = [
1214
+ 9,
1215
+ n0,
1216
+ _GJM,
1217
+ 0,
1218
+ () => GetJobManifestRequest,
1219
+ () => GetJobManifestResult,
1220
+ ];
1221
+ var GetJobUnlockCode = [
1222
+ 9,
1223
+ n0,
1224
+ _GJUC,
1225
+ 0,
1226
+ () => GetJobUnlockCodeRequest,
1227
+ () => GetJobUnlockCodeResult,
1228
+ ];
1229
+ var GetSnowballUsage = [
1230
+ 9,
1231
+ n0,
1232
+ _GSU,
1233
+ 0,
1234
+ () => GetSnowballUsageRequest,
1235
+ () => GetSnowballUsageResult,
1236
+ ];
1237
+ var GetSoftwareUpdates = [
1238
+ 9,
1239
+ n0,
1240
+ _GSUe,
1241
+ 0,
1242
+ () => GetSoftwareUpdatesRequest,
1243
+ () => GetSoftwareUpdatesResult,
1244
+ ];
1245
+ var ListClusterJobs = [
1246
+ 9,
1247
+ n0,
1248
+ _LCJ,
1249
+ 0,
1250
+ () => ListClusterJobsRequest,
1251
+ () => ListClusterJobsResult,
1252
+ ];
1253
+ var ListClusters = [9, n0, _LC, 0, () => ListClustersRequest, () => ListClustersResult];
1254
+ var ListCompatibleImages = [
1255
+ 9,
1256
+ n0,
1257
+ _LCI,
1258
+ 0,
1259
+ () => ListCompatibleImagesRequest,
1260
+ () => ListCompatibleImagesResult,
1261
+ ];
1262
+ var ListJobs = [9, n0, _LJ, 0, () => ListJobsRequest, () => ListJobsResult];
1263
+ var ListLongTermPricing = [
1264
+ 9,
1265
+ n0,
1266
+ _LLTP,
1267
+ 0,
1268
+ () => ListLongTermPricingRequest,
1269
+ () => ListLongTermPricingResult,
1270
+ ];
1271
+ var ListPickupLocations = [
1272
+ 9,
1273
+ n0,
1274
+ _LPL,
1275
+ 0,
1276
+ () => ListPickupLocationsRequest,
1277
+ () => ListPickupLocationsResult,
1278
+ ];
1279
+ var ListServiceVersions = [
1280
+ 9,
1281
+ n0,
1282
+ _LSV,
1283
+ 0,
1284
+ () => ListServiceVersionsRequest,
1285
+ () => ListServiceVersionsResult,
1286
+ ];
1287
+ var UpdateCluster = [
1288
+ 9,
1289
+ n0,
1290
+ _UCp,
1291
+ 0,
1292
+ () => UpdateClusterRequest,
1293
+ () => UpdateClusterResult,
1294
+ ];
1295
+ var UpdateJob = [9, n0, _UJ, 0, () => UpdateJobRequest, () => UpdateJobResult];
1296
+ var UpdateJobShipmentState = [
1297
+ 9,
1298
+ n0,
1299
+ _UJSS,
1300
+ 0,
1301
+ () => UpdateJobShipmentStateRequest,
1302
+ () => UpdateJobShipmentStateResult,
1303
+ ];
1304
+ var UpdateLongTermPricing = [
1305
+ 9,
1306
+ n0,
1307
+ _ULTP,
1308
+ 0,
1309
+ () => UpdateLongTermPricingRequest,
1310
+ () => UpdateLongTermPricingResult,
1311
+ ];
1382
1312
 
1383
1313
  class CancelClusterCommand extends smithyClient.Command
1384
1314
  .classBuilder()
1385
1315
  .ep(commonParams)
1386
1316
  .m(function (Command, cs, config, o) {
1387
- return [
1388
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1389
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1390
- ];
1317
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1391
1318
  })
1392
1319
  .s("AWSIESnowballJobManagementService", "CancelCluster", {})
1393
1320
  .n("SnowballClient", "CancelClusterCommand")
1394
- .f(void 0, void 0)
1395
- .ser(se_CancelClusterCommand)
1396
- .de(de_CancelClusterCommand)
1321
+ .sc(CancelCluster)
1397
1322
  .build() {
1398
1323
  }
1399
1324
 
@@ -1401,16 +1326,11 @@ class CancelJobCommand extends smithyClient.Command
1401
1326
  .classBuilder()
1402
1327
  .ep(commonParams)
1403
1328
  .m(function (Command, cs, config, o) {
1404
- return [
1405
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1406
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1407
- ];
1329
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1408
1330
  })
1409
1331
  .s("AWSIESnowballJobManagementService", "CancelJob", {})
1410
1332
  .n("SnowballClient", "CancelJobCommand")
1411
- .f(void 0, void 0)
1412
- .ser(se_CancelJobCommand)
1413
- .de(de_CancelJobCommand)
1333
+ .sc(CancelJob)
1414
1334
  .build() {
1415
1335
  }
1416
1336
 
@@ -1418,16 +1338,11 @@ class CreateAddressCommand extends smithyClient.Command
1418
1338
  .classBuilder()
1419
1339
  .ep(commonParams)
1420
1340
  .m(function (Command, cs, config, o) {
1421
- return [
1422
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1423
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1424
- ];
1341
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1425
1342
  })
1426
1343
  .s("AWSIESnowballJobManagementService", "CreateAddress", {})
1427
1344
  .n("SnowballClient", "CreateAddressCommand")
1428
- .f(void 0, void 0)
1429
- .ser(se_CreateAddressCommand)
1430
- .de(de_CreateAddressCommand)
1345
+ .sc(CreateAddress)
1431
1346
  .build() {
1432
1347
  }
1433
1348
 
@@ -1435,16 +1350,11 @@ class CreateClusterCommand extends smithyClient.Command
1435
1350
  .classBuilder()
1436
1351
  .ep(commonParams)
1437
1352
  .m(function (Command, cs, config, o) {
1438
- return [
1439
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1440
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1441
- ];
1353
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1442
1354
  })
1443
1355
  .s("AWSIESnowballJobManagementService", "CreateCluster", {})
1444
1356
  .n("SnowballClient", "CreateClusterCommand")
1445
- .f(void 0, void 0)
1446
- .ser(se_CreateClusterCommand)
1447
- .de(de_CreateClusterCommand)
1357
+ .sc(CreateCluster)
1448
1358
  .build() {
1449
1359
  }
1450
1360
 
@@ -1452,16 +1362,11 @@ class CreateJobCommand extends smithyClient.Command
1452
1362
  .classBuilder()
1453
1363
  .ep(commonParams)
1454
1364
  .m(function (Command, cs, config, o) {
1455
- return [
1456
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1457
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1458
- ];
1365
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1459
1366
  })
1460
1367
  .s("AWSIESnowballJobManagementService", "CreateJob", {})
1461
1368
  .n("SnowballClient", "CreateJobCommand")
1462
- .f(CreateJobRequestFilterSensitiveLog, void 0)
1463
- .ser(se_CreateJobCommand)
1464
- .de(de_CreateJobCommand)
1369
+ .sc(CreateJob)
1465
1370
  .build() {
1466
1371
  }
1467
1372
 
@@ -1469,16 +1374,11 @@ class CreateLongTermPricingCommand extends smithyClient.Command
1469
1374
  .classBuilder()
1470
1375
  .ep(commonParams)
1471
1376
  .m(function (Command, cs, config, o) {
1472
- return [
1473
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1474
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1475
- ];
1377
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1476
1378
  })
1477
1379
  .s("AWSIESnowballJobManagementService", "CreateLongTermPricing", {})
1478
1380
  .n("SnowballClient", "CreateLongTermPricingCommand")
1479
- .f(void 0, void 0)
1480
- .ser(se_CreateLongTermPricingCommand)
1481
- .de(de_CreateLongTermPricingCommand)
1381
+ .sc(CreateLongTermPricing)
1482
1382
  .build() {
1483
1383
  }
1484
1384
 
@@ -1486,16 +1386,11 @@ class CreateReturnShippingLabelCommand extends smithyClient.Command
1486
1386
  .classBuilder()
1487
1387
  .ep(commonParams)
1488
1388
  .m(function (Command, cs, config, o) {
1489
- return [
1490
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1491
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1492
- ];
1389
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1493
1390
  })
1494
1391
  .s("AWSIESnowballJobManagementService", "CreateReturnShippingLabel", {})
1495
1392
  .n("SnowballClient", "CreateReturnShippingLabelCommand")
1496
- .f(void 0, void 0)
1497
- .ser(se_CreateReturnShippingLabelCommand)
1498
- .de(de_CreateReturnShippingLabelCommand)
1393
+ .sc(CreateReturnShippingLabel)
1499
1394
  .build() {
1500
1395
  }
1501
1396
 
@@ -1503,16 +1398,11 @@ class DescribeAddressCommand extends smithyClient.Command
1503
1398
  .classBuilder()
1504
1399
  .ep(commonParams)
1505
1400
  .m(function (Command, cs, config, o) {
1506
- return [
1507
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1508
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1509
- ];
1401
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1510
1402
  })
1511
1403
  .s("AWSIESnowballJobManagementService", "DescribeAddress", {})
1512
1404
  .n("SnowballClient", "DescribeAddressCommand")
1513
- .f(void 0, void 0)
1514
- .ser(se_DescribeAddressCommand)
1515
- .de(de_DescribeAddressCommand)
1405
+ .sc(DescribeAddress)
1516
1406
  .build() {
1517
1407
  }
1518
1408
 
@@ -1520,16 +1410,11 @@ class DescribeAddressesCommand extends smithyClient.Command
1520
1410
  .classBuilder()
1521
1411
  .ep(commonParams)
1522
1412
  .m(function (Command, cs, config, o) {
1523
- return [
1524
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1525
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1526
- ];
1413
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1527
1414
  })
1528
1415
  .s("AWSIESnowballJobManagementService", "DescribeAddresses", {})
1529
1416
  .n("SnowballClient", "DescribeAddressesCommand")
1530
- .f(void 0, void 0)
1531
- .ser(se_DescribeAddressesCommand)
1532
- .de(de_DescribeAddressesCommand)
1417
+ .sc(DescribeAddresses)
1533
1418
  .build() {
1534
1419
  }
1535
1420
 
@@ -1537,16 +1422,11 @@ class DescribeClusterCommand extends smithyClient.Command
1537
1422
  .classBuilder()
1538
1423
  .ep(commonParams)
1539
1424
  .m(function (Command, cs, config, o) {
1540
- return [
1541
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1542
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1543
- ];
1425
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1544
1426
  })
1545
1427
  .s("AWSIESnowballJobManagementService", "DescribeCluster", {})
1546
1428
  .n("SnowballClient", "DescribeClusterCommand")
1547
- .f(void 0, void 0)
1548
- .ser(se_DescribeClusterCommand)
1549
- .de(de_DescribeClusterCommand)
1429
+ .sc(DescribeCluster)
1550
1430
  .build() {
1551
1431
  }
1552
1432
 
@@ -1554,16 +1434,11 @@ class DescribeJobCommand extends smithyClient.Command
1554
1434
  .classBuilder()
1555
1435
  .ep(commonParams)
1556
1436
  .m(function (Command, cs, config, o) {
1557
- return [
1558
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1559
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1560
- ];
1437
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1561
1438
  })
1562
1439
  .s("AWSIESnowballJobManagementService", "DescribeJob", {})
1563
1440
  .n("SnowballClient", "DescribeJobCommand")
1564
- .f(void 0, DescribeJobResultFilterSensitiveLog)
1565
- .ser(se_DescribeJobCommand)
1566
- .de(de_DescribeJobCommand)
1441
+ .sc(DescribeJob)
1567
1442
  .build() {
1568
1443
  }
1569
1444
 
@@ -1571,16 +1446,11 @@ class DescribeReturnShippingLabelCommand extends smithyClient.Command
1571
1446
  .classBuilder()
1572
1447
  .ep(commonParams)
1573
1448
  .m(function (Command, cs, config, o) {
1574
- return [
1575
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1576
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1577
- ];
1449
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1578
1450
  })
1579
1451
  .s("AWSIESnowballJobManagementService", "DescribeReturnShippingLabel", {})
1580
1452
  .n("SnowballClient", "DescribeReturnShippingLabelCommand")
1581
- .f(void 0, void 0)
1582
- .ser(se_DescribeReturnShippingLabelCommand)
1583
- .de(de_DescribeReturnShippingLabelCommand)
1453
+ .sc(DescribeReturnShippingLabel)
1584
1454
  .build() {
1585
1455
  }
1586
1456
 
@@ -1588,16 +1458,11 @@ class GetJobManifestCommand extends smithyClient.Command
1588
1458
  .classBuilder()
1589
1459
  .ep(commonParams)
1590
1460
  .m(function (Command, cs, config, o) {
1591
- return [
1592
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1593
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1594
- ];
1461
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1595
1462
  })
1596
1463
  .s("AWSIESnowballJobManagementService", "GetJobManifest", {})
1597
1464
  .n("SnowballClient", "GetJobManifestCommand")
1598
- .f(void 0, void 0)
1599
- .ser(se_GetJobManifestCommand)
1600
- .de(de_GetJobManifestCommand)
1465
+ .sc(GetJobManifest)
1601
1466
  .build() {
1602
1467
  }
1603
1468
 
@@ -1605,16 +1470,11 @@ class GetJobUnlockCodeCommand extends smithyClient.Command
1605
1470
  .classBuilder()
1606
1471
  .ep(commonParams)
1607
1472
  .m(function (Command, cs, config, o) {
1608
- return [
1609
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1610
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1611
- ];
1473
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1612
1474
  })
1613
1475
  .s("AWSIESnowballJobManagementService", "GetJobUnlockCode", {})
1614
1476
  .n("SnowballClient", "GetJobUnlockCodeCommand")
1615
- .f(void 0, void 0)
1616
- .ser(se_GetJobUnlockCodeCommand)
1617
- .de(de_GetJobUnlockCodeCommand)
1477
+ .sc(GetJobUnlockCode)
1618
1478
  .build() {
1619
1479
  }
1620
1480
 
@@ -1622,16 +1482,11 @@ class GetSnowballUsageCommand extends smithyClient.Command
1622
1482
  .classBuilder()
1623
1483
  .ep(commonParams)
1624
1484
  .m(function (Command, cs, config, o) {
1625
- return [
1626
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1627
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1628
- ];
1485
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1629
1486
  })
1630
1487
  .s("AWSIESnowballJobManagementService", "GetSnowballUsage", {})
1631
1488
  .n("SnowballClient", "GetSnowballUsageCommand")
1632
- .f(void 0, void 0)
1633
- .ser(se_GetSnowballUsageCommand)
1634
- .de(de_GetSnowballUsageCommand)
1489
+ .sc(GetSnowballUsage)
1635
1490
  .build() {
1636
1491
  }
1637
1492
 
@@ -1639,16 +1494,11 @@ class GetSoftwareUpdatesCommand extends smithyClient.Command
1639
1494
  .classBuilder()
1640
1495
  .ep(commonParams)
1641
1496
  .m(function (Command, cs, config, o) {
1642
- return [
1643
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1644
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1645
- ];
1497
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1646
1498
  })
1647
1499
  .s("AWSIESnowballJobManagementService", "GetSoftwareUpdates", {})
1648
1500
  .n("SnowballClient", "GetSoftwareUpdatesCommand")
1649
- .f(void 0, void 0)
1650
- .ser(se_GetSoftwareUpdatesCommand)
1651
- .de(de_GetSoftwareUpdatesCommand)
1501
+ .sc(GetSoftwareUpdates)
1652
1502
  .build() {
1653
1503
  }
1654
1504
 
@@ -1656,16 +1506,11 @@ class ListClusterJobsCommand extends smithyClient.Command
1656
1506
  .classBuilder()
1657
1507
  .ep(commonParams)
1658
1508
  .m(function (Command, cs, config, o) {
1659
- return [
1660
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1661
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1662
- ];
1509
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1663
1510
  })
1664
1511
  .s("AWSIESnowballJobManagementService", "ListClusterJobs", {})
1665
1512
  .n("SnowballClient", "ListClusterJobsCommand")
1666
- .f(void 0, void 0)
1667
- .ser(se_ListClusterJobsCommand)
1668
- .de(de_ListClusterJobsCommand)
1513
+ .sc(ListClusterJobs)
1669
1514
  .build() {
1670
1515
  }
1671
1516
 
@@ -1673,16 +1518,11 @@ class ListClustersCommand extends smithyClient.Command
1673
1518
  .classBuilder()
1674
1519
  .ep(commonParams)
1675
1520
  .m(function (Command, cs, config, o) {
1676
- return [
1677
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1678
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1679
- ];
1521
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1680
1522
  })
1681
1523
  .s("AWSIESnowballJobManagementService", "ListClusters", {})
1682
1524
  .n("SnowballClient", "ListClustersCommand")
1683
- .f(void 0, void 0)
1684
- .ser(se_ListClustersCommand)
1685
- .de(de_ListClustersCommand)
1525
+ .sc(ListClusters)
1686
1526
  .build() {
1687
1527
  }
1688
1528
 
@@ -1690,16 +1530,11 @@ class ListCompatibleImagesCommand extends smithyClient.Command
1690
1530
  .classBuilder()
1691
1531
  .ep(commonParams)
1692
1532
  .m(function (Command, cs, config, o) {
1693
- return [
1694
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1695
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1696
- ];
1533
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1697
1534
  })
1698
1535
  .s("AWSIESnowballJobManagementService", "ListCompatibleImages", {})
1699
1536
  .n("SnowballClient", "ListCompatibleImagesCommand")
1700
- .f(void 0, void 0)
1701
- .ser(se_ListCompatibleImagesCommand)
1702
- .de(de_ListCompatibleImagesCommand)
1537
+ .sc(ListCompatibleImages)
1703
1538
  .build() {
1704
1539
  }
1705
1540
 
@@ -1707,16 +1542,11 @@ class ListJobsCommand extends smithyClient.Command
1707
1542
  .classBuilder()
1708
1543
  .ep(commonParams)
1709
1544
  .m(function (Command, cs, config, o) {
1710
- return [
1711
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1712
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1713
- ];
1545
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1714
1546
  })
1715
1547
  .s("AWSIESnowballJobManagementService", "ListJobs", {})
1716
1548
  .n("SnowballClient", "ListJobsCommand")
1717
- .f(void 0, void 0)
1718
- .ser(se_ListJobsCommand)
1719
- .de(de_ListJobsCommand)
1549
+ .sc(ListJobs)
1720
1550
  .build() {
1721
1551
  }
1722
1552
 
@@ -1724,16 +1554,11 @@ class ListLongTermPricingCommand extends smithyClient.Command
1724
1554
  .classBuilder()
1725
1555
  .ep(commonParams)
1726
1556
  .m(function (Command, cs, config, o) {
1727
- return [
1728
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1729
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1730
- ];
1557
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1731
1558
  })
1732
1559
  .s("AWSIESnowballJobManagementService", "ListLongTermPricing", {})
1733
1560
  .n("SnowballClient", "ListLongTermPricingCommand")
1734
- .f(void 0, void 0)
1735
- .ser(se_ListLongTermPricingCommand)
1736
- .de(de_ListLongTermPricingCommand)
1561
+ .sc(ListLongTermPricing)
1737
1562
  .build() {
1738
1563
  }
1739
1564
 
@@ -1741,16 +1566,11 @@ class ListPickupLocationsCommand extends smithyClient.Command
1741
1566
  .classBuilder()
1742
1567
  .ep(commonParams)
1743
1568
  .m(function (Command, cs, config, o) {
1744
- return [
1745
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1746
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1747
- ];
1569
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1748
1570
  })
1749
1571
  .s("AWSIESnowballJobManagementService", "ListPickupLocations", {})
1750
1572
  .n("SnowballClient", "ListPickupLocationsCommand")
1751
- .f(void 0, void 0)
1752
- .ser(se_ListPickupLocationsCommand)
1753
- .de(de_ListPickupLocationsCommand)
1573
+ .sc(ListPickupLocations)
1754
1574
  .build() {
1755
1575
  }
1756
1576
 
@@ -1758,16 +1578,11 @@ class ListServiceVersionsCommand extends smithyClient.Command
1758
1578
  .classBuilder()
1759
1579
  .ep(commonParams)
1760
1580
  .m(function (Command, cs, config, o) {
1761
- return [
1762
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1763
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1764
- ];
1581
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1765
1582
  })
1766
1583
  .s("AWSIESnowballJobManagementService", "ListServiceVersions", {})
1767
1584
  .n("SnowballClient", "ListServiceVersionsCommand")
1768
- .f(void 0, void 0)
1769
- .ser(se_ListServiceVersionsCommand)
1770
- .de(de_ListServiceVersionsCommand)
1585
+ .sc(ListServiceVersions)
1771
1586
  .build() {
1772
1587
  }
1773
1588
 
@@ -1775,16 +1590,11 @@ class UpdateClusterCommand extends smithyClient.Command
1775
1590
  .classBuilder()
1776
1591
  .ep(commonParams)
1777
1592
  .m(function (Command, cs, config, o) {
1778
- return [
1779
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1780
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1781
- ];
1593
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1782
1594
  })
1783
1595
  .s("AWSIESnowballJobManagementService", "UpdateCluster", {})
1784
1596
  .n("SnowballClient", "UpdateClusterCommand")
1785
- .f(void 0, void 0)
1786
- .ser(se_UpdateClusterCommand)
1787
- .de(de_UpdateClusterCommand)
1597
+ .sc(UpdateCluster)
1788
1598
  .build() {
1789
1599
  }
1790
1600
 
@@ -1792,16 +1602,11 @@ class UpdateJobCommand extends smithyClient.Command
1792
1602
  .classBuilder()
1793
1603
  .ep(commonParams)
1794
1604
  .m(function (Command, cs, config, o) {
1795
- return [
1796
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1797
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1798
- ];
1605
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1799
1606
  })
1800
1607
  .s("AWSIESnowballJobManagementService", "UpdateJob", {})
1801
1608
  .n("SnowballClient", "UpdateJobCommand")
1802
- .f(UpdateJobRequestFilterSensitiveLog, void 0)
1803
- .ser(se_UpdateJobCommand)
1804
- .de(de_UpdateJobCommand)
1609
+ .sc(UpdateJob)
1805
1610
  .build() {
1806
1611
  }
1807
1612
 
@@ -1809,16 +1614,11 @@ class UpdateJobShipmentStateCommand extends smithyClient.Command
1809
1614
  .classBuilder()
1810
1615
  .ep(commonParams)
1811
1616
  .m(function (Command, cs, config, o) {
1812
- return [
1813
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1814
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1815
- ];
1617
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1816
1618
  })
1817
1619
  .s("AWSIESnowballJobManagementService", "UpdateJobShipmentState", {})
1818
1620
  .n("SnowballClient", "UpdateJobShipmentStateCommand")
1819
- .f(void 0, void 0)
1820
- .ser(se_UpdateJobShipmentStateCommand)
1821
- .de(de_UpdateJobShipmentStateCommand)
1621
+ .sc(UpdateJobShipmentState)
1822
1622
  .build() {
1823
1623
  }
1824
1624
 
@@ -1826,16 +1626,11 @@ class UpdateLongTermPricingCommand extends smithyClient.Command
1826
1626
  .classBuilder()
1827
1627
  .ep(commonParams)
1828
1628
  .m(function (Command, cs, config, o) {
1829
- return [
1830
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1831
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1832
- ];
1629
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1833
1630
  })
1834
1631
  .s("AWSIESnowballJobManagementService", "UpdateLongTermPricing", {})
1835
1632
  .n("SnowballClient", "UpdateLongTermPricingCommand")
1836
- .f(void 0, void 0)
1837
- .ser(se_UpdateLongTermPricingCommand)
1838
- .de(de_UpdateLongTermPricingCommand)
1633
+ .sc(UpdateLongTermPricing)
1839
1634
  .build() {
1840
1635
  }
1841
1636
 
@@ -1897,37 +1692,34 @@ Object.defineProperty(exports, "__Client", {
1897
1692
  exports.AddressType = AddressType;
1898
1693
  exports.CancelClusterCommand = CancelClusterCommand;
1899
1694
  exports.CancelJobCommand = CancelJobCommand;
1900
- exports.ClusterLimitExceededException = ClusterLimitExceededException;
1695
+ exports.ClusterLimitExceededException = ClusterLimitExceededException$1;
1901
1696
  exports.ClusterState = ClusterState;
1902
- exports.ConflictException = ConflictException;
1697
+ exports.ConflictException = ConflictException$1;
1903
1698
  exports.CreateAddressCommand = CreateAddressCommand;
1904
1699
  exports.CreateClusterCommand = CreateClusterCommand;
1905
1700
  exports.CreateJobCommand = CreateJobCommand;
1906
- exports.CreateJobRequestFilterSensitiveLog = CreateJobRequestFilterSensitiveLog;
1907
1701
  exports.CreateLongTermPricingCommand = CreateLongTermPricingCommand;
1908
1702
  exports.CreateReturnShippingLabelCommand = CreateReturnShippingLabelCommand;
1909
1703
  exports.DescribeAddressCommand = DescribeAddressCommand;
1910
1704
  exports.DescribeAddressesCommand = DescribeAddressesCommand;
1911
1705
  exports.DescribeClusterCommand = DescribeClusterCommand;
1912
1706
  exports.DescribeJobCommand = DescribeJobCommand;
1913
- exports.DescribeJobResultFilterSensitiveLog = DescribeJobResultFilterSensitiveLog;
1914
1707
  exports.DescribeReturnShippingLabelCommand = DescribeReturnShippingLabelCommand;
1915
1708
  exports.DeviceServiceName = DeviceServiceName;
1916
- exports.Ec2RequestFailedException = Ec2RequestFailedException;
1709
+ exports.Ec2RequestFailedException = Ec2RequestFailedException$1;
1917
1710
  exports.GetJobManifestCommand = GetJobManifestCommand;
1918
1711
  exports.GetJobUnlockCodeCommand = GetJobUnlockCodeCommand;
1919
1712
  exports.GetSnowballUsageCommand = GetSnowballUsageCommand;
1920
1713
  exports.GetSoftwareUpdatesCommand = GetSoftwareUpdatesCommand;
1921
1714
  exports.ImpactLevel = ImpactLevel;
1922
- exports.InvalidAddressException = InvalidAddressException;
1923
- exports.InvalidInputCombinationException = InvalidInputCombinationException;
1924
- exports.InvalidJobStateException = InvalidJobStateException;
1925
- exports.InvalidNextTokenException = InvalidNextTokenException;
1926
- exports.InvalidResourceException = InvalidResourceException;
1927
- exports.JobMetadataFilterSensitiveLog = JobMetadataFilterSensitiveLog;
1715
+ exports.InvalidAddressException = InvalidAddressException$1;
1716
+ exports.InvalidInputCombinationException = InvalidInputCombinationException$1;
1717
+ exports.InvalidJobStateException = InvalidJobStateException$1;
1718
+ exports.InvalidNextTokenException = InvalidNextTokenException$1;
1719
+ exports.InvalidResourceException = InvalidResourceException$1;
1928
1720
  exports.JobState = JobState;
1929
1721
  exports.JobType = JobType;
1930
- exports.KMSRequestFailedException = KMSRequestFailedException;
1722
+ exports.KMSRequestFailedException = KMSRequestFailedException$1;
1931
1723
  exports.ListClusterJobsCommand = ListClusterJobsCommand;
1932
1724
  exports.ListClustersCommand = ListClustersCommand;
1933
1725
  exports.ListCompatibleImagesCommand = ListCompatibleImagesCommand;
@@ -1936,9 +1728,8 @@ exports.ListLongTermPricingCommand = ListLongTermPricingCommand;
1936
1728
  exports.ListPickupLocationsCommand = ListPickupLocationsCommand;
1937
1729
  exports.ListServiceVersionsCommand = ListServiceVersionsCommand;
1938
1730
  exports.LongTermPricingType = LongTermPricingType;
1939
- exports.PickupDetailsFilterSensitiveLog = PickupDetailsFilterSensitiveLog;
1940
1731
  exports.RemoteManagement = RemoteManagement;
1941
- exports.ReturnShippingLabelAlreadyExistsException = ReturnShippingLabelAlreadyExistsException;
1732
+ exports.ReturnShippingLabelAlreadyExistsException = ReturnShippingLabelAlreadyExistsException$1;
1942
1733
  exports.ServiceName = ServiceName;
1943
1734
  exports.ShipmentState = ShipmentState;
1944
1735
  exports.ShippingLabelStatus = ShippingLabelStatus;
@@ -1946,14 +1737,13 @@ exports.ShippingOption = ShippingOption;
1946
1737
  exports.Snowball = Snowball;
1947
1738
  exports.SnowballCapacity = SnowballCapacity;
1948
1739
  exports.SnowballClient = SnowballClient;
1949
- exports.SnowballServiceException = SnowballServiceException;
1740
+ exports.SnowballServiceException = SnowballServiceException$1;
1950
1741
  exports.SnowballType = SnowballType;
1951
1742
  exports.StorageUnit = StorageUnit;
1952
1743
  exports.TransferOption = TransferOption;
1953
- exports.UnsupportedAddressException = UnsupportedAddressException;
1744
+ exports.UnsupportedAddressException = UnsupportedAddressException$1;
1954
1745
  exports.UpdateClusterCommand = UpdateClusterCommand;
1955
1746
  exports.UpdateJobCommand = UpdateJobCommand;
1956
- exports.UpdateJobRequestFilterSensitiveLog = UpdateJobRequestFilterSensitiveLog;
1957
1747
  exports.UpdateJobShipmentStateCommand = UpdateJobShipmentStateCommand;
1958
1748
  exports.UpdateLongTermPricingCommand = UpdateLongTermPricingCommand;
1959
1749
  exports.paginateDescribeAddresses = paginateDescribeAddresses;