@aws-sdk/client-snowball 3.1076.0 → 3.1078.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 (101) hide show
  1. package/dist-cjs/index.js +38 -275
  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-es/runtimeConfig.browser.js +0 -2
  32. package/dist-es/runtimeConfig.js +1 -2
  33. package/dist-es/runtimeConfig.native.js +0 -2
  34. package/dist-es/runtimeConfig.shared.js +2 -0
  35. package/dist-types/commandBuilder.d.ts +18 -0
  36. package/dist-types/commands/CancelClusterCommand.d.ts +3 -8
  37. package/dist-types/commands/CancelJobCommand.d.ts +3 -8
  38. package/dist-types/commands/CreateAddressCommand.d.ts +3 -8
  39. package/dist-types/commands/CreateClusterCommand.d.ts +3 -8
  40. package/dist-types/commands/CreateJobCommand.d.ts +3 -8
  41. package/dist-types/commands/CreateLongTermPricingCommand.d.ts +3 -8
  42. package/dist-types/commands/CreateReturnShippingLabelCommand.d.ts +3 -8
  43. package/dist-types/commands/DescribeAddressCommand.d.ts +3 -8
  44. package/dist-types/commands/DescribeAddressesCommand.d.ts +3 -8
  45. package/dist-types/commands/DescribeClusterCommand.d.ts +3 -8
  46. package/dist-types/commands/DescribeJobCommand.d.ts +3 -8
  47. package/dist-types/commands/DescribeReturnShippingLabelCommand.d.ts +3 -8
  48. package/dist-types/commands/GetJobManifestCommand.d.ts +3 -8
  49. package/dist-types/commands/GetJobUnlockCodeCommand.d.ts +3 -8
  50. package/dist-types/commands/GetSnowballUsageCommand.d.ts +3 -8
  51. package/dist-types/commands/GetSoftwareUpdatesCommand.d.ts +3 -8
  52. package/dist-types/commands/ListClusterJobsCommand.d.ts +3 -8
  53. package/dist-types/commands/ListClustersCommand.d.ts +3 -8
  54. package/dist-types/commands/ListCompatibleImagesCommand.d.ts +3 -8
  55. package/dist-types/commands/ListJobsCommand.d.ts +3 -8
  56. package/dist-types/commands/ListLongTermPricingCommand.d.ts +3 -8
  57. package/dist-types/commands/ListPickupLocationsCommand.d.ts +3 -8
  58. package/dist-types/commands/ListServiceVersionsCommand.d.ts +3 -8
  59. package/dist-types/commands/UpdateClusterCommand.d.ts +3 -8
  60. package/dist-types/commands/UpdateJobCommand.d.ts +3 -8
  61. package/dist-types/commands/UpdateJobShipmentStateCommand.d.ts +3 -8
  62. package/dist-types/commands/UpdateLongTermPricingCommand.d.ts +3 -8
  63. package/dist-types/index.d.ts +1 -0
  64. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  65. package/dist-types/runtimeConfig.d.ts +1 -1
  66. package/dist-types/runtimeConfig.native.d.ts +1 -1
  67. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  68. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  69. package/dist-types/ts3.4/commands/CancelClusterCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/CancelJobCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/CreateAddressCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/CreateJobCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/CreateLongTermPricingCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/CreateReturnShippingLabelCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/DescribeAddressCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/DescribeAddressesCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/DescribeClusterCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/DescribeJobCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/DescribeReturnShippingLabelCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/GetJobManifestCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/GetJobUnlockCodeCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/GetSnowballUsageCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/GetSoftwareUpdatesCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/ListClusterJobsCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/ListCompatibleImagesCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/ListLongTermPricingCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/ListPickupLocationsCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/ListServiceVersionsCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/UpdateJobCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/UpdateJobShipmentStateCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/UpdateLongTermPricingCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/index.d.ts +1 -0
  97. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  98. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  99. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  100. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  101. package/package.json +8 -10
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");
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
10
11
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
13
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
15
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
16
  const { AwsJson1_1Protocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultSnowballHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
20
  return {
@@ -67,7 +69,7 @@ const commonParams = {
67
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
68
70
  };
69
71
 
70
- var version = "3.1075.0";
72
+ var version = "3.1077.0";
71
73
  var packageInfo = {
72
74
  version: version};
73
75
 
@@ -1205,6 +1207,7 @@ const getRuntimeConfig$1 = (config) => {
1205
1207
  serviceTarget: "AWSIESnowballJobManagementService",
1206
1208
  },
1207
1209
  serviceId: config?.serviceId ?? "Snowball",
1210
+ sha256: config?.sha256 ?? Sha256,
1208
1211
  urlParser: config?.urlParser ?? parseUrl,
1209
1212
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1210
1213
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1238,7 +1241,6 @@ const getRuntimeConfig = (config) => {
1238
1241
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1239
1242
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1240
1243
  }, config),
1241
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1242
1244
  streamCollector: config?.streamCollector ?? streamCollector,
1243
1245
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1244
1246
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1326,328 +1328,89 @@ class SnowballClient extends Client {
1326
1328
  }
1327
1329
  }
1328
1330
 
1329
- class CancelClusterCommand extends Command
1330
- .classBuilder()
1331
- .ep(commonParams)
1332
- .m(function (Command, cs, config, o) {
1333
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1334
- })
1335
- .s("AWSIESnowballJobManagementService", "CancelCluster", {})
1336
- .n("SnowballClient", "CancelClusterCommand")
1337
- .sc(CancelCluster$)
1338
- .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$) {
1339
1336
  }
1340
1337
 
1341
- class CancelJobCommand extends Command
1342
- .classBuilder()
1343
- .ep(commonParams)
1344
- .m(function (Command, cs, config, o) {
1345
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1346
- })
1347
- .s("AWSIESnowballJobManagementService", "CancelJob", {})
1348
- .n("SnowballClient", "CancelJobCommand")
1349
- .sc(CancelJob$)
1350
- .build() {
1338
+ class CancelJobCommand extends command(_ep0, _mw0, "CancelJob", CancelJob$) {
1351
1339
  }
1352
1340
 
1353
- class CreateAddressCommand extends Command
1354
- .classBuilder()
1355
- .ep(commonParams)
1356
- .m(function (Command, cs, config, o) {
1357
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1358
- })
1359
- .s("AWSIESnowballJobManagementService", "CreateAddress", {})
1360
- .n("SnowballClient", "CreateAddressCommand")
1361
- .sc(CreateAddress$)
1362
- .build() {
1341
+ class CreateAddressCommand extends command(_ep0, _mw0, "CreateAddress", CreateAddress$) {
1363
1342
  }
1364
1343
 
1365
- class CreateClusterCommand extends Command
1366
- .classBuilder()
1367
- .ep(commonParams)
1368
- .m(function (Command, cs, config, o) {
1369
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1370
- })
1371
- .s("AWSIESnowballJobManagementService", "CreateCluster", {})
1372
- .n("SnowballClient", "CreateClusterCommand")
1373
- .sc(CreateCluster$)
1374
- .build() {
1344
+ class CreateClusterCommand extends command(_ep0, _mw0, "CreateCluster", CreateCluster$) {
1375
1345
  }
1376
1346
 
1377
- class CreateJobCommand extends Command
1378
- .classBuilder()
1379
- .ep(commonParams)
1380
- .m(function (Command, cs, config, o) {
1381
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1382
- })
1383
- .s("AWSIESnowballJobManagementService", "CreateJob", {})
1384
- .n("SnowballClient", "CreateJobCommand")
1385
- .sc(CreateJob$)
1386
- .build() {
1347
+ class CreateJobCommand extends command(_ep0, _mw0, "CreateJob", CreateJob$) {
1387
1348
  }
1388
1349
 
1389
- class CreateLongTermPricingCommand extends Command
1390
- .classBuilder()
1391
- .ep(commonParams)
1392
- .m(function (Command, cs, config, o) {
1393
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1394
- })
1395
- .s("AWSIESnowballJobManagementService", "CreateLongTermPricing", {})
1396
- .n("SnowballClient", "CreateLongTermPricingCommand")
1397
- .sc(CreateLongTermPricing$)
1398
- .build() {
1350
+ class CreateLongTermPricingCommand extends command(_ep0, _mw0, "CreateLongTermPricing", CreateLongTermPricing$) {
1399
1351
  }
1400
1352
 
1401
- class CreateReturnShippingLabelCommand extends Command
1402
- .classBuilder()
1403
- .ep(commonParams)
1404
- .m(function (Command, cs, config, o) {
1405
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1406
- })
1407
- .s("AWSIESnowballJobManagementService", "CreateReturnShippingLabel", {})
1408
- .n("SnowballClient", "CreateReturnShippingLabelCommand")
1409
- .sc(CreateReturnShippingLabel$)
1410
- .build() {
1353
+ class CreateReturnShippingLabelCommand extends command(_ep0, _mw0, "CreateReturnShippingLabel", CreateReturnShippingLabel$) {
1411
1354
  }
1412
1355
 
1413
- class DescribeAddressCommand extends Command
1414
- .classBuilder()
1415
- .ep(commonParams)
1416
- .m(function (Command, cs, config, o) {
1417
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1418
- })
1419
- .s("AWSIESnowballJobManagementService", "DescribeAddress", {})
1420
- .n("SnowballClient", "DescribeAddressCommand")
1421
- .sc(DescribeAddress$)
1422
- .build() {
1356
+ class DescribeAddressCommand extends command(_ep0, _mw0, "DescribeAddress", DescribeAddress$) {
1423
1357
  }
1424
1358
 
1425
- class DescribeAddressesCommand extends Command
1426
- .classBuilder()
1427
- .ep(commonParams)
1428
- .m(function (Command, cs, config, o) {
1429
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1430
- })
1431
- .s("AWSIESnowballJobManagementService", "DescribeAddresses", {})
1432
- .n("SnowballClient", "DescribeAddressesCommand")
1433
- .sc(DescribeAddresses$)
1434
- .build() {
1359
+ class DescribeAddressesCommand extends command(_ep0, _mw0, "DescribeAddresses", DescribeAddresses$) {
1435
1360
  }
1436
1361
 
1437
- class DescribeClusterCommand extends Command
1438
- .classBuilder()
1439
- .ep(commonParams)
1440
- .m(function (Command, cs, config, o) {
1441
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1442
- })
1443
- .s("AWSIESnowballJobManagementService", "DescribeCluster", {})
1444
- .n("SnowballClient", "DescribeClusterCommand")
1445
- .sc(DescribeCluster$)
1446
- .build() {
1362
+ class DescribeClusterCommand extends command(_ep0, _mw0, "DescribeCluster", DescribeCluster$) {
1447
1363
  }
1448
1364
 
1449
- class DescribeJobCommand extends Command
1450
- .classBuilder()
1451
- .ep(commonParams)
1452
- .m(function (Command, cs, config, o) {
1453
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1454
- })
1455
- .s("AWSIESnowballJobManagementService", "DescribeJob", {})
1456
- .n("SnowballClient", "DescribeJobCommand")
1457
- .sc(DescribeJob$)
1458
- .build() {
1365
+ class DescribeJobCommand extends command(_ep0, _mw0, "DescribeJob", DescribeJob$) {
1459
1366
  }
1460
1367
 
1461
- class DescribeReturnShippingLabelCommand extends Command
1462
- .classBuilder()
1463
- .ep(commonParams)
1464
- .m(function (Command, cs, config, o) {
1465
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1466
- })
1467
- .s("AWSIESnowballJobManagementService", "DescribeReturnShippingLabel", {})
1468
- .n("SnowballClient", "DescribeReturnShippingLabelCommand")
1469
- .sc(DescribeReturnShippingLabel$)
1470
- .build() {
1368
+ class DescribeReturnShippingLabelCommand extends command(_ep0, _mw0, "DescribeReturnShippingLabel", DescribeReturnShippingLabel$) {
1471
1369
  }
1472
1370
 
1473
- class GetJobManifestCommand extends Command
1474
- .classBuilder()
1475
- .ep(commonParams)
1476
- .m(function (Command, cs, config, o) {
1477
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1478
- })
1479
- .s("AWSIESnowballJobManagementService", "GetJobManifest", {})
1480
- .n("SnowballClient", "GetJobManifestCommand")
1481
- .sc(GetJobManifest$)
1482
- .build() {
1371
+ class GetJobManifestCommand extends command(_ep0, _mw0, "GetJobManifest", GetJobManifest$) {
1483
1372
  }
1484
1373
 
1485
- class GetJobUnlockCodeCommand extends Command
1486
- .classBuilder()
1487
- .ep(commonParams)
1488
- .m(function (Command, cs, config, o) {
1489
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1490
- })
1491
- .s("AWSIESnowballJobManagementService", "GetJobUnlockCode", {})
1492
- .n("SnowballClient", "GetJobUnlockCodeCommand")
1493
- .sc(GetJobUnlockCode$)
1494
- .build() {
1374
+ class GetJobUnlockCodeCommand extends command(_ep0, _mw0, "GetJobUnlockCode", GetJobUnlockCode$) {
1495
1375
  }
1496
1376
 
1497
- class GetSnowballUsageCommand extends Command
1498
- .classBuilder()
1499
- .ep(commonParams)
1500
- .m(function (Command, cs, config, o) {
1501
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1502
- })
1503
- .s("AWSIESnowballJobManagementService", "GetSnowballUsage", {})
1504
- .n("SnowballClient", "GetSnowballUsageCommand")
1505
- .sc(GetSnowballUsage$)
1506
- .build() {
1377
+ class GetSnowballUsageCommand extends command(_ep0, _mw0, "GetSnowballUsage", GetSnowballUsage$) {
1507
1378
  }
1508
1379
 
1509
- class GetSoftwareUpdatesCommand extends Command
1510
- .classBuilder()
1511
- .ep(commonParams)
1512
- .m(function (Command, cs, config, o) {
1513
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1514
- })
1515
- .s("AWSIESnowballJobManagementService", "GetSoftwareUpdates", {})
1516
- .n("SnowballClient", "GetSoftwareUpdatesCommand")
1517
- .sc(GetSoftwareUpdates$)
1518
- .build() {
1380
+ class GetSoftwareUpdatesCommand extends command(_ep0, _mw0, "GetSoftwareUpdates", GetSoftwareUpdates$) {
1519
1381
  }
1520
1382
 
1521
- class ListClusterJobsCommand extends Command
1522
- .classBuilder()
1523
- .ep(commonParams)
1524
- .m(function (Command, cs, config, o) {
1525
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1526
- })
1527
- .s("AWSIESnowballJobManagementService", "ListClusterJobs", {})
1528
- .n("SnowballClient", "ListClusterJobsCommand")
1529
- .sc(ListClusterJobs$)
1530
- .build() {
1383
+ class ListClusterJobsCommand extends command(_ep0, _mw0, "ListClusterJobs", ListClusterJobs$) {
1531
1384
  }
1532
1385
 
1533
- class ListClustersCommand extends Command
1534
- .classBuilder()
1535
- .ep(commonParams)
1536
- .m(function (Command, cs, config, o) {
1537
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1538
- })
1539
- .s("AWSIESnowballJobManagementService", "ListClusters", {})
1540
- .n("SnowballClient", "ListClustersCommand")
1541
- .sc(ListClusters$)
1542
- .build() {
1386
+ class ListClustersCommand extends command(_ep0, _mw0, "ListClusters", ListClusters$) {
1543
1387
  }
1544
1388
 
1545
- class ListCompatibleImagesCommand extends Command
1546
- .classBuilder()
1547
- .ep(commonParams)
1548
- .m(function (Command, cs, config, o) {
1549
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1550
- })
1551
- .s("AWSIESnowballJobManagementService", "ListCompatibleImages", {})
1552
- .n("SnowballClient", "ListCompatibleImagesCommand")
1553
- .sc(ListCompatibleImages$)
1554
- .build() {
1389
+ class ListCompatibleImagesCommand extends command(_ep0, _mw0, "ListCompatibleImages", ListCompatibleImages$) {
1555
1390
  }
1556
1391
 
1557
- class ListJobsCommand extends Command
1558
- .classBuilder()
1559
- .ep(commonParams)
1560
- .m(function (Command, cs, config, o) {
1561
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1562
- })
1563
- .s("AWSIESnowballJobManagementService", "ListJobs", {})
1564
- .n("SnowballClient", "ListJobsCommand")
1565
- .sc(ListJobs$)
1566
- .build() {
1392
+ class ListJobsCommand extends command(_ep0, _mw0, "ListJobs", ListJobs$) {
1567
1393
  }
1568
1394
 
1569
- class ListLongTermPricingCommand extends Command
1570
- .classBuilder()
1571
- .ep(commonParams)
1572
- .m(function (Command, cs, config, o) {
1573
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1574
- })
1575
- .s("AWSIESnowballJobManagementService", "ListLongTermPricing", {})
1576
- .n("SnowballClient", "ListLongTermPricingCommand")
1577
- .sc(ListLongTermPricing$)
1578
- .build() {
1395
+ class ListLongTermPricingCommand extends command(_ep0, _mw0, "ListLongTermPricing", ListLongTermPricing$) {
1579
1396
  }
1580
1397
 
1581
- class ListPickupLocationsCommand extends Command
1582
- .classBuilder()
1583
- .ep(commonParams)
1584
- .m(function (Command, cs, config, o) {
1585
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1586
- })
1587
- .s("AWSIESnowballJobManagementService", "ListPickupLocations", {})
1588
- .n("SnowballClient", "ListPickupLocationsCommand")
1589
- .sc(ListPickupLocations$)
1590
- .build() {
1398
+ class ListPickupLocationsCommand extends command(_ep0, _mw0, "ListPickupLocations", ListPickupLocations$) {
1591
1399
  }
1592
1400
 
1593
- class ListServiceVersionsCommand extends Command
1594
- .classBuilder()
1595
- .ep(commonParams)
1596
- .m(function (Command, cs, config, o) {
1597
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1598
- })
1599
- .s("AWSIESnowballJobManagementService", "ListServiceVersions", {})
1600
- .n("SnowballClient", "ListServiceVersionsCommand")
1601
- .sc(ListServiceVersions$)
1602
- .build() {
1401
+ class ListServiceVersionsCommand extends command(_ep0, _mw0, "ListServiceVersions", ListServiceVersions$) {
1603
1402
  }
1604
1403
 
1605
- class UpdateClusterCommand extends Command
1606
- .classBuilder()
1607
- .ep(commonParams)
1608
- .m(function (Command, cs, config, o) {
1609
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1610
- })
1611
- .s("AWSIESnowballJobManagementService", "UpdateCluster", {})
1612
- .n("SnowballClient", "UpdateClusterCommand")
1613
- .sc(UpdateCluster$)
1614
- .build() {
1404
+ class UpdateClusterCommand extends command(_ep0, _mw0, "UpdateCluster", UpdateCluster$) {
1615
1405
  }
1616
1406
 
1617
- class UpdateJobCommand extends Command
1618
- .classBuilder()
1619
- .ep(commonParams)
1620
- .m(function (Command, cs, config, o) {
1621
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1622
- })
1623
- .s("AWSIESnowballJobManagementService", "UpdateJob", {})
1624
- .n("SnowballClient", "UpdateJobCommand")
1625
- .sc(UpdateJob$)
1626
- .build() {
1407
+ class UpdateJobCommand extends command(_ep0, _mw0, "UpdateJob", UpdateJob$) {
1627
1408
  }
1628
1409
 
1629
- class UpdateJobShipmentStateCommand extends Command
1630
- .classBuilder()
1631
- .ep(commonParams)
1632
- .m(function (Command, cs, config, o) {
1633
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1634
- })
1635
- .s("AWSIESnowballJobManagementService", "UpdateJobShipmentState", {})
1636
- .n("SnowballClient", "UpdateJobShipmentStateCommand")
1637
- .sc(UpdateJobShipmentState$)
1638
- .build() {
1410
+ class UpdateJobShipmentStateCommand extends command(_ep0, _mw0, "UpdateJobShipmentState", UpdateJobShipmentState$) {
1639
1411
  }
1640
1412
 
1641
- class UpdateLongTermPricingCommand extends Command
1642
- .classBuilder()
1643
- .ep(commonParams)
1644
- .m(function (Command, cs, config, o) {
1645
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1646
- })
1647
- .s("AWSIESnowballJobManagementService", "UpdateLongTermPricing", {})
1648
- .n("SnowballClient", "UpdateLongTermPricingCommand")
1649
- .sc(UpdateLongTermPricing$)
1650
- .build() {
1413
+ class UpdateLongTermPricingCommand extends command(_ep0, _mw0, "UpdateLongTermPricing", UpdateLongTermPricing$) {
1651
1414
  }
1652
1415
 
1653
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
  }