@aws-sdk/client-snowball 3.1077.0 → 3.1079.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 (89) hide show
  1. package/dist-cjs/index.js +35 -273
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CancelClusterCommand.js +2 -14
  4. package/dist-es/commands/CancelJobCommand.js +2 -14
  5. package/dist-es/commands/CreateAddressCommand.js +2 -14
  6. package/dist-es/commands/CreateClusterCommand.js +2 -14
  7. package/dist-es/commands/CreateJobCommand.js +2 -14
  8. package/dist-es/commands/CreateLongTermPricingCommand.js +2 -14
  9. package/dist-es/commands/CreateReturnShippingLabelCommand.js +2 -14
  10. package/dist-es/commands/DescribeAddressCommand.js +2 -14
  11. package/dist-es/commands/DescribeAddressesCommand.js +2 -14
  12. package/dist-es/commands/DescribeClusterCommand.js +2 -14
  13. package/dist-es/commands/DescribeJobCommand.js +2 -14
  14. package/dist-es/commands/DescribeReturnShippingLabelCommand.js +2 -14
  15. package/dist-es/commands/GetJobManifestCommand.js +2 -14
  16. package/dist-es/commands/GetJobUnlockCodeCommand.js +2 -14
  17. package/dist-es/commands/GetSnowballUsageCommand.js +2 -14
  18. package/dist-es/commands/GetSoftwareUpdatesCommand.js +2 -14
  19. package/dist-es/commands/ListClusterJobsCommand.js +2 -14
  20. package/dist-es/commands/ListClustersCommand.js +2 -14
  21. package/dist-es/commands/ListCompatibleImagesCommand.js +2 -14
  22. package/dist-es/commands/ListJobsCommand.js +2 -14
  23. package/dist-es/commands/ListLongTermPricingCommand.js +2 -14
  24. package/dist-es/commands/ListPickupLocationsCommand.js +2 -14
  25. package/dist-es/commands/ListServiceVersionsCommand.js +2 -14
  26. package/dist-es/commands/UpdateClusterCommand.js +2 -14
  27. package/dist-es/commands/UpdateJobCommand.js +2 -14
  28. package/dist-es/commands/UpdateJobShipmentStateCommand.js +2 -14
  29. package/dist-es/commands/UpdateLongTermPricingCommand.js +2 -14
  30. package/dist-es/index.js +1 -0
  31. package/dist-types/commandBuilder.d.ts +18 -0
  32. package/dist-types/commands/CancelClusterCommand.d.ts +3 -8
  33. package/dist-types/commands/CancelJobCommand.d.ts +3 -8
  34. package/dist-types/commands/CreateAddressCommand.d.ts +3 -8
  35. package/dist-types/commands/CreateClusterCommand.d.ts +3 -8
  36. package/dist-types/commands/CreateJobCommand.d.ts +3 -8
  37. package/dist-types/commands/CreateLongTermPricingCommand.d.ts +3 -8
  38. package/dist-types/commands/CreateReturnShippingLabelCommand.d.ts +3 -8
  39. package/dist-types/commands/DescribeAddressCommand.d.ts +3 -8
  40. package/dist-types/commands/DescribeAddressesCommand.d.ts +3 -8
  41. package/dist-types/commands/DescribeClusterCommand.d.ts +3 -8
  42. package/dist-types/commands/DescribeJobCommand.d.ts +3 -8
  43. package/dist-types/commands/DescribeReturnShippingLabelCommand.d.ts +3 -8
  44. package/dist-types/commands/GetJobManifestCommand.d.ts +3 -8
  45. package/dist-types/commands/GetJobUnlockCodeCommand.d.ts +3 -8
  46. package/dist-types/commands/GetSnowballUsageCommand.d.ts +3 -8
  47. package/dist-types/commands/GetSoftwareUpdatesCommand.d.ts +3 -8
  48. package/dist-types/commands/ListClusterJobsCommand.d.ts +3 -8
  49. package/dist-types/commands/ListClustersCommand.d.ts +3 -8
  50. package/dist-types/commands/ListCompatibleImagesCommand.d.ts +3 -8
  51. package/dist-types/commands/ListJobsCommand.d.ts +3 -8
  52. package/dist-types/commands/ListLongTermPricingCommand.d.ts +3 -8
  53. package/dist-types/commands/ListPickupLocationsCommand.d.ts +3 -8
  54. package/dist-types/commands/ListServiceVersionsCommand.d.ts +3 -8
  55. package/dist-types/commands/UpdateClusterCommand.d.ts +3 -8
  56. package/dist-types/commands/UpdateJobCommand.d.ts +3 -8
  57. package/dist-types/commands/UpdateJobShipmentStateCommand.d.ts +3 -8
  58. package/dist-types/commands/UpdateLongTermPricingCommand.d.ts +3 -8
  59. package/dist-types/index.d.ts +1 -0
  60. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  61. package/dist-types/ts3.4/commands/CancelClusterCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/CancelJobCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/CreateAddressCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/CreateJobCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/CreateLongTermPricingCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/CreateReturnShippingLabelCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/DescribeAddressCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/DescribeAddressesCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/DescribeClusterCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/DescribeJobCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/DescribeReturnShippingLabelCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/GetJobManifestCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/GetJobUnlockCodeCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/GetSnowballUsageCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/GetSoftwareUpdatesCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/ListClusterJobsCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/ListCompatibleImagesCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/ListLongTermPricingCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/ListPickupLocationsCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/ListServiceVersionsCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/UpdateJobCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/UpdateJobShipmentStateCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/UpdateLongTermPricingCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/index.d.ts +1 -0
  89. package/package.json +8 -8
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1078.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -1327,328 +1328,89 @@ class SnowballClient extends Client {
1327
1328
  }
1328
1329
  }
1329
1330
 
1330
- class CancelClusterCommand extends Command
1331
- .classBuilder()
1332
- .ep(commonParams)
1333
- .m(function (Command, cs, config, o) {
1334
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1335
- })
1336
- .s("AWSIESnowballJobManagementService", "CancelCluster", {})
1337
- .n("SnowballClient", "CancelClusterCommand")
1338
- .sc(CancelCluster$)
1339
- .build() {
1331
+ const command = makeBuilder(commonParams, "AWSIESnowballJobManagementService", "SnowballClient", getEndpointPlugin);
1332
+ const _ep0 = {};
1333
+ const _mw0 = (Command, cs, config, o) => [];
1334
+
1335
+ class CancelClusterCommand extends command(_ep0, _mw0, "CancelCluster", CancelCluster$) {
1340
1336
  }
1341
1337
 
1342
- class CancelJobCommand extends Command
1343
- .classBuilder()
1344
- .ep(commonParams)
1345
- .m(function (Command, cs, config, o) {
1346
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1347
- })
1348
- .s("AWSIESnowballJobManagementService", "CancelJob", {})
1349
- .n("SnowballClient", "CancelJobCommand")
1350
- .sc(CancelJob$)
1351
- .build() {
1338
+ class CancelJobCommand extends command(_ep0, _mw0, "CancelJob", CancelJob$) {
1352
1339
  }
1353
1340
 
1354
- class CreateAddressCommand extends Command
1355
- .classBuilder()
1356
- .ep(commonParams)
1357
- .m(function (Command, cs, config, o) {
1358
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1359
- })
1360
- .s("AWSIESnowballJobManagementService", "CreateAddress", {})
1361
- .n("SnowballClient", "CreateAddressCommand")
1362
- .sc(CreateAddress$)
1363
- .build() {
1341
+ class CreateAddressCommand extends command(_ep0, _mw0, "CreateAddress", CreateAddress$) {
1364
1342
  }
1365
1343
 
1366
- class CreateClusterCommand extends Command
1367
- .classBuilder()
1368
- .ep(commonParams)
1369
- .m(function (Command, cs, config, o) {
1370
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1371
- })
1372
- .s("AWSIESnowballJobManagementService", "CreateCluster", {})
1373
- .n("SnowballClient", "CreateClusterCommand")
1374
- .sc(CreateCluster$)
1375
- .build() {
1344
+ class CreateClusterCommand extends command(_ep0, _mw0, "CreateCluster", CreateCluster$) {
1376
1345
  }
1377
1346
 
1378
- class CreateJobCommand extends Command
1379
- .classBuilder()
1380
- .ep(commonParams)
1381
- .m(function (Command, cs, config, o) {
1382
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1383
- })
1384
- .s("AWSIESnowballJobManagementService", "CreateJob", {})
1385
- .n("SnowballClient", "CreateJobCommand")
1386
- .sc(CreateJob$)
1387
- .build() {
1347
+ class CreateJobCommand extends command(_ep0, _mw0, "CreateJob", CreateJob$) {
1388
1348
  }
1389
1349
 
1390
- class CreateLongTermPricingCommand extends Command
1391
- .classBuilder()
1392
- .ep(commonParams)
1393
- .m(function (Command, cs, config, o) {
1394
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1395
- })
1396
- .s("AWSIESnowballJobManagementService", "CreateLongTermPricing", {})
1397
- .n("SnowballClient", "CreateLongTermPricingCommand")
1398
- .sc(CreateLongTermPricing$)
1399
- .build() {
1350
+ class CreateLongTermPricingCommand extends command(_ep0, _mw0, "CreateLongTermPricing", CreateLongTermPricing$) {
1400
1351
  }
1401
1352
 
1402
- class CreateReturnShippingLabelCommand extends Command
1403
- .classBuilder()
1404
- .ep(commonParams)
1405
- .m(function (Command, cs, config, o) {
1406
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1407
- })
1408
- .s("AWSIESnowballJobManagementService", "CreateReturnShippingLabel", {})
1409
- .n("SnowballClient", "CreateReturnShippingLabelCommand")
1410
- .sc(CreateReturnShippingLabel$)
1411
- .build() {
1353
+ class CreateReturnShippingLabelCommand extends command(_ep0, _mw0, "CreateReturnShippingLabel", CreateReturnShippingLabel$) {
1412
1354
  }
1413
1355
 
1414
- class DescribeAddressCommand extends Command
1415
- .classBuilder()
1416
- .ep(commonParams)
1417
- .m(function (Command, cs, config, o) {
1418
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1419
- })
1420
- .s("AWSIESnowballJobManagementService", "DescribeAddress", {})
1421
- .n("SnowballClient", "DescribeAddressCommand")
1422
- .sc(DescribeAddress$)
1423
- .build() {
1356
+ class DescribeAddressCommand extends command(_ep0, _mw0, "DescribeAddress", DescribeAddress$) {
1424
1357
  }
1425
1358
 
1426
- class DescribeAddressesCommand extends Command
1427
- .classBuilder()
1428
- .ep(commonParams)
1429
- .m(function (Command, cs, config, o) {
1430
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1431
- })
1432
- .s("AWSIESnowballJobManagementService", "DescribeAddresses", {})
1433
- .n("SnowballClient", "DescribeAddressesCommand")
1434
- .sc(DescribeAddresses$)
1435
- .build() {
1359
+ class DescribeAddressesCommand extends command(_ep0, _mw0, "DescribeAddresses", DescribeAddresses$) {
1436
1360
  }
1437
1361
 
1438
- class DescribeClusterCommand extends Command
1439
- .classBuilder()
1440
- .ep(commonParams)
1441
- .m(function (Command, cs, config, o) {
1442
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1443
- })
1444
- .s("AWSIESnowballJobManagementService", "DescribeCluster", {})
1445
- .n("SnowballClient", "DescribeClusterCommand")
1446
- .sc(DescribeCluster$)
1447
- .build() {
1362
+ class DescribeClusterCommand extends command(_ep0, _mw0, "DescribeCluster", DescribeCluster$) {
1448
1363
  }
1449
1364
 
1450
- class DescribeJobCommand extends Command
1451
- .classBuilder()
1452
- .ep(commonParams)
1453
- .m(function (Command, cs, config, o) {
1454
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1455
- })
1456
- .s("AWSIESnowballJobManagementService", "DescribeJob", {})
1457
- .n("SnowballClient", "DescribeJobCommand")
1458
- .sc(DescribeJob$)
1459
- .build() {
1365
+ class DescribeJobCommand extends command(_ep0, _mw0, "DescribeJob", DescribeJob$) {
1460
1366
  }
1461
1367
 
1462
- class DescribeReturnShippingLabelCommand extends Command
1463
- .classBuilder()
1464
- .ep(commonParams)
1465
- .m(function (Command, cs, config, o) {
1466
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1467
- })
1468
- .s("AWSIESnowballJobManagementService", "DescribeReturnShippingLabel", {})
1469
- .n("SnowballClient", "DescribeReturnShippingLabelCommand")
1470
- .sc(DescribeReturnShippingLabel$)
1471
- .build() {
1368
+ class DescribeReturnShippingLabelCommand extends command(_ep0, _mw0, "DescribeReturnShippingLabel", DescribeReturnShippingLabel$) {
1472
1369
  }
1473
1370
 
1474
- class GetJobManifestCommand extends Command
1475
- .classBuilder()
1476
- .ep(commonParams)
1477
- .m(function (Command, cs, config, o) {
1478
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1479
- })
1480
- .s("AWSIESnowballJobManagementService", "GetJobManifest", {})
1481
- .n("SnowballClient", "GetJobManifestCommand")
1482
- .sc(GetJobManifest$)
1483
- .build() {
1371
+ class GetJobManifestCommand extends command(_ep0, _mw0, "GetJobManifest", GetJobManifest$) {
1484
1372
  }
1485
1373
 
1486
- class GetJobUnlockCodeCommand extends Command
1487
- .classBuilder()
1488
- .ep(commonParams)
1489
- .m(function (Command, cs, config, o) {
1490
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1491
- })
1492
- .s("AWSIESnowballJobManagementService", "GetJobUnlockCode", {})
1493
- .n("SnowballClient", "GetJobUnlockCodeCommand")
1494
- .sc(GetJobUnlockCode$)
1495
- .build() {
1374
+ class GetJobUnlockCodeCommand extends command(_ep0, _mw0, "GetJobUnlockCode", GetJobUnlockCode$) {
1496
1375
  }
1497
1376
 
1498
- class GetSnowballUsageCommand extends Command
1499
- .classBuilder()
1500
- .ep(commonParams)
1501
- .m(function (Command, cs, config, o) {
1502
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1503
- })
1504
- .s("AWSIESnowballJobManagementService", "GetSnowballUsage", {})
1505
- .n("SnowballClient", "GetSnowballUsageCommand")
1506
- .sc(GetSnowballUsage$)
1507
- .build() {
1377
+ class GetSnowballUsageCommand extends command(_ep0, _mw0, "GetSnowballUsage", GetSnowballUsage$) {
1508
1378
  }
1509
1379
 
1510
- class GetSoftwareUpdatesCommand extends Command
1511
- .classBuilder()
1512
- .ep(commonParams)
1513
- .m(function (Command, cs, config, o) {
1514
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1515
- })
1516
- .s("AWSIESnowballJobManagementService", "GetSoftwareUpdates", {})
1517
- .n("SnowballClient", "GetSoftwareUpdatesCommand")
1518
- .sc(GetSoftwareUpdates$)
1519
- .build() {
1380
+ class GetSoftwareUpdatesCommand extends command(_ep0, _mw0, "GetSoftwareUpdates", GetSoftwareUpdates$) {
1520
1381
  }
1521
1382
 
1522
- class ListClusterJobsCommand extends Command
1523
- .classBuilder()
1524
- .ep(commonParams)
1525
- .m(function (Command, cs, config, o) {
1526
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1527
- })
1528
- .s("AWSIESnowballJobManagementService", "ListClusterJobs", {})
1529
- .n("SnowballClient", "ListClusterJobsCommand")
1530
- .sc(ListClusterJobs$)
1531
- .build() {
1383
+ class ListClusterJobsCommand extends command(_ep0, _mw0, "ListClusterJobs", ListClusterJobs$) {
1532
1384
  }
1533
1385
 
1534
- class ListClustersCommand extends Command
1535
- .classBuilder()
1536
- .ep(commonParams)
1537
- .m(function (Command, cs, config, o) {
1538
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1539
- })
1540
- .s("AWSIESnowballJobManagementService", "ListClusters", {})
1541
- .n("SnowballClient", "ListClustersCommand")
1542
- .sc(ListClusters$)
1543
- .build() {
1386
+ class ListClustersCommand extends command(_ep0, _mw0, "ListClusters", ListClusters$) {
1544
1387
  }
1545
1388
 
1546
- class ListCompatibleImagesCommand extends Command
1547
- .classBuilder()
1548
- .ep(commonParams)
1549
- .m(function (Command, cs, config, o) {
1550
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1551
- })
1552
- .s("AWSIESnowballJobManagementService", "ListCompatibleImages", {})
1553
- .n("SnowballClient", "ListCompatibleImagesCommand")
1554
- .sc(ListCompatibleImages$)
1555
- .build() {
1389
+ class ListCompatibleImagesCommand extends command(_ep0, _mw0, "ListCompatibleImages", ListCompatibleImages$) {
1556
1390
  }
1557
1391
 
1558
- class ListJobsCommand extends Command
1559
- .classBuilder()
1560
- .ep(commonParams)
1561
- .m(function (Command, cs, config, o) {
1562
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1563
- })
1564
- .s("AWSIESnowballJobManagementService", "ListJobs", {})
1565
- .n("SnowballClient", "ListJobsCommand")
1566
- .sc(ListJobs$)
1567
- .build() {
1392
+ class ListJobsCommand extends command(_ep0, _mw0, "ListJobs", ListJobs$) {
1568
1393
  }
1569
1394
 
1570
- class ListLongTermPricingCommand extends Command
1571
- .classBuilder()
1572
- .ep(commonParams)
1573
- .m(function (Command, cs, config, o) {
1574
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1575
- })
1576
- .s("AWSIESnowballJobManagementService", "ListLongTermPricing", {})
1577
- .n("SnowballClient", "ListLongTermPricingCommand")
1578
- .sc(ListLongTermPricing$)
1579
- .build() {
1395
+ class ListLongTermPricingCommand extends command(_ep0, _mw0, "ListLongTermPricing", ListLongTermPricing$) {
1580
1396
  }
1581
1397
 
1582
- class ListPickupLocationsCommand extends Command
1583
- .classBuilder()
1584
- .ep(commonParams)
1585
- .m(function (Command, cs, config, o) {
1586
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1587
- })
1588
- .s("AWSIESnowballJobManagementService", "ListPickupLocations", {})
1589
- .n("SnowballClient", "ListPickupLocationsCommand")
1590
- .sc(ListPickupLocations$)
1591
- .build() {
1398
+ class ListPickupLocationsCommand extends command(_ep0, _mw0, "ListPickupLocations", ListPickupLocations$) {
1592
1399
  }
1593
1400
 
1594
- class ListServiceVersionsCommand extends Command
1595
- .classBuilder()
1596
- .ep(commonParams)
1597
- .m(function (Command, cs, config, o) {
1598
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1599
- })
1600
- .s("AWSIESnowballJobManagementService", "ListServiceVersions", {})
1601
- .n("SnowballClient", "ListServiceVersionsCommand")
1602
- .sc(ListServiceVersions$)
1603
- .build() {
1401
+ class ListServiceVersionsCommand extends command(_ep0, _mw0, "ListServiceVersions", ListServiceVersions$) {
1604
1402
  }
1605
1403
 
1606
- class UpdateClusterCommand extends Command
1607
- .classBuilder()
1608
- .ep(commonParams)
1609
- .m(function (Command, cs, config, o) {
1610
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1611
- })
1612
- .s("AWSIESnowballJobManagementService", "UpdateCluster", {})
1613
- .n("SnowballClient", "UpdateClusterCommand")
1614
- .sc(UpdateCluster$)
1615
- .build() {
1404
+ class UpdateClusterCommand extends command(_ep0, _mw0, "UpdateCluster", UpdateCluster$) {
1616
1405
  }
1617
1406
 
1618
- class UpdateJobCommand extends Command
1619
- .classBuilder()
1620
- .ep(commonParams)
1621
- .m(function (Command, cs, config, o) {
1622
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1623
- })
1624
- .s("AWSIESnowballJobManagementService", "UpdateJob", {})
1625
- .n("SnowballClient", "UpdateJobCommand")
1626
- .sc(UpdateJob$)
1627
- .build() {
1407
+ class UpdateJobCommand extends command(_ep0, _mw0, "UpdateJob", UpdateJob$) {
1628
1408
  }
1629
1409
 
1630
- class UpdateJobShipmentStateCommand extends Command
1631
- .classBuilder()
1632
- .ep(commonParams)
1633
- .m(function (Command, cs, config, o) {
1634
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1635
- })
1636
- .s("AWSIESnowballJobManagementService", "UpdateJobShipmentState", {})
1637
- .n("SnowballClient", "UpdateJobShipmentStateCommand")
1638
- .sc(UpdateJobShipmentState$)
1639
- .build() {
1410
+ class UpdateJobShipmentStateCommand extends command(_ep0, _mw0, "UpdateJobShipmentState", UpdateJobShipmentState$) {
1640
1411
  }
1641
1412
 
1642
- class UpdateLongTermPricingCommand extends Command
1643
- .classBuilder()
1644
- .ep(commonParams)
1645
- .m(function (Command, cs, config, o) {
1646
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1647
- })
1648
- .s("AWSIESnowballJobManagementService", "UpdateLongTermPricing", {})
1649
- .n("SnowballClient", "UpdateLongTermPricingCommand")
1650
- .sc(UpdateLongTermPricing$)
1651
- .build() {
1413
+ class UpdateLongTermPricingCommand extends command(_ep0, _mw0, "UpdateLongTermPricing", UpdateLongTermPricing$) {
1652
1414
  }
1653
1415
 
1654
1416
  const paginateDescribeAddresses = createPaginator(SnowballClient, DescribeAddressesCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "AWSIESnowballJobManagementService", "SnowballClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CancelCluster$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CancelClusterCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSIESnowballJobManagementService", "CancelCluster", {})
13
- .n("SnowballClient", "CancelClusterCommand")
14
- .sc(CancelCluster$)
15
- .build() {
3
+ export class CancelClusterCommand extends command(_ep0, _mw0, "CancelCluster", CancelCluster$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CancelJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CancelJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSIESnowballJobManagementService", "CancelJob", {})
13
- .n("SnowballClient", "CancelJobCommand")
14
- .sc(CancelJob$)
15
- .build() {
3
+ export class CancelJobCommand extends command(_ep0, _mw0, "CancelJob", CancelJob$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateAddress$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateAddressCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSIESnowballJobManagementService", "CreateAddress", {})
13
- .n("SnowballClient", "CreateAddressCommand")
14
- .sc(CreateAddress$)
15
- .build() {
3
+ export class CreateAddressCommand extends command(_ep0, _mw0, "CreateAddress", CreateAddress$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateCluster$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateClusterCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSIESnowballJobManagementService", "CreateCluster", {})
13
- .n("SnowballClient", "CreateClusterCommand")
14
- .sc(CreateCluster$)
15
- .build() {
3
+ export class CreateClusterCommand extends command(_ep0, _mw0, "CreateCluster", CreateCluster$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSIESnowballJobManagementService", "CreateJob", {})
13
- .n("SnowballClient", "CreateJobCommand")
14
- .sc(CreateJob$)
15
- .build() {
3
+ export class CreateJobCommand extends command(_ep0, _mw0, "CreateJob", CreateJob$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateLongTermPricing$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateLongTermPricingCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSIESnowballJobManagementService", "CreateLongTermPricing", {})
13
- .n("SnowballClient", "CreateLongTermPricingCommand")
14
- .sc(CreateLongTermPricing$)
15
- .build() {
3
+ export class CreateLongTermPricingCommand extends command(_ep0, _mw0, "CreateLongTermPricing", CreateLongTermPricing$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateReturnShippingLabel$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateReturnShippingLabelCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSIESnowballJobManagementService", "CreateReturnShippingLabel", {})
13
- .n("SnowballClient", "CreateReturnShippingLabelCommand")
14
- .sc(CreateReturnShippingLabel$)
15
- .build() {
3
+ export class CreateReturnShippingLabelCommand extends command(_ep0, _mw0, "CreateReturnShippingLabel", CreateReturnShippingLabel$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeAddress$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeAddressCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSIESnowballJobManagementService", "DescribeAddress", {})
13
- .n("SnowballClient", "DescribeAddressCommand")
14
- .sc(DescribeAddress$)
15
- .build() {
3
+ export class DescribeAddressCommand extends command(_ep0, _mw0, "DescribeAddress", DescribeAddress$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeAddresses$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeAddressesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSIESnowballJobManagementService", "DescribeAddresses", {})
13
- .n("SnowballClient", "DescribeAddressesCommand")
14
- .sc(DescribeAddresses$)
15
- .build() {
3
+ export class DescribeAddressesCommand extends command(_ep0, _mw0, "DescribeAddresses", DescribeAddresses$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeCluster$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeClusterCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSIESnowballJobManagementService", "DescribeCluster", {})
13
- .n("SnowballClient", "DescribeClusterCommand")
14
- .sc(DescribeCluster$)
15
- .build() {
3
+ export class DescribeClusterCommand extends command(_ep0, _mw0, "DescribeCluster", DescribeCluster$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSIESnowballJobManagementService", "DescribeJob", {})
13
- .n("SnowballClient", "DescribeJobCommand")
14
- .sc(DescribeJob$)
15
- .build() {
3
+ export class DescribeJobCommand extends command(_ep0, _mw0, "DescribeJob", DescribeJob$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeReturnShippingLabel$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeReturnShippingLabelCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSIESnowballJobManagementService", "DescribeReturnShippingLabel", {})
13
- .n("SnowballClient", "DescribeReturnShippingLabelCommand")
14
- .sc(DescribeReturnShippingLabel$)
15
- .build() {
3
+ export class DescribeReturnShippingLabelCommand extends command(_ep0, _mw0, "DescribeReturnShippingLabel", DescribeReturnShippingLabel$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetJobManifest$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetJobManifestCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSIESnowballJobManagementService", "GetJobManifest", {})
13
- .n("SnowballClient", "GetJobManifestCommand")
14
- .sc(GetJobManifest$)
15
- .build() {
3
+ export class GetJobManifestCommand extends command(_ep0, _mw0, "GetJobManifest", GetJobManifest$) {
16
4
  }