@aws-sdk/client-glacier 3.1077.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 (107) hide show
  1. package/dist-cjs/index.js +41 -333
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AbortMultipartUploadCommand.js +2 -14
  4. package/dist-es/commands/AbortVaultLockCommand.js +2 -14
  5. package/dist-es/commands/AddTagsToVaultCommand.js +2 -14
  6. package/dist-es/commands/CompleteMultipartUploadCommand.js +2 -14
  7. package/dist-es/commands/CompleteVaultLockCommand.js +2 -14
  8. package/dist-es/commands/CreateVaultCommand.js +2 -14
  9. package/dist-es/commands/DeleteArchiveCommand.js +2 -14
  10. package/dist-es/commands/DeleteVaultAccessPolicyCommand.js +2 -14
  11. package/dist-es/commands/DeleteVaultCommand.js +2 -14
  12. package/dist-es/commands/DeleteVaultNotificationsCommand.js +2 -14
  13. package/dist-es/commands/DescribeJobCommand.js +2 -14
  14. package/dist-es/commands/DescribeVaultCommand.js +2 -14
  15. package/dist-es/commands/GetDataRetrievalPolicyCommand.js +2 -14
  16. package/dist-es/commands/GetJobOutputCommand.js +2 -14
  17. package/dist-es/commands/GetVaultAccessPolicyCommand.js +2 -14
  18. package/dist-es/commands/GetVaultLockCommand.js +2 -14
  19. package/dist-es/commands/GetVaultNotificationsCommand.js +2 -14
  20. package/dist-es/commands/InitiateJobCommand.js +2 -14
  21. package/dist-es/commands/InitiateMultipartUploadCommand.js +2 -14
  22. package/dist-es/commands/InitiateVaultLockCommand.js +2 -14
  23. package/dist-es/commands/ListJobsCommand.js +2 -14
  24. package/dist-es/commands/ListMultipartUploadsCommand.js +2 -14
  25. package/dist-es/commands/ListPartsCommand.js +2 -14
  26. package/dist-es/commands/ListProvisionedCapacityCommand.js +2 -14
  27. package/dist-es/commands/ListTagsForVaultCommand.js +2 -14
  28. package/dist-es/commands/ListVaultsCommand.js +2 -14
  29. package/dist-es/commands/PurchaseProvisionedCapacityCommand.js +2 -14
  30. package/dist-es/commands/RemoveTagsFromVaultCommand.js +2 -14
  31. package/dist-es/commands/SetDataRetrievalPolicyCommand.js +2 -14
  32. package/dist-es/commands/SetVaultAccessPolicyCommand.js +2 -14
  33. package/dist-es/commands/SetVaultNotificationsCommand.js +2 -14
  34. package/dist-es/commands/UploadArchiveCommand.js +2 -14
  35. package/dist-es/commands/UploadMultipartPartCommand.js +2 -14
  36. package/dist-es/index.js +1 -0
  37. package/dist-types/commandBuilder.d.ts +18 -0
  38. package/dist-types/commands/AbortMultipartUploadCommand.d.ts +3 -8
  39. package/dist-types/commands/AbortVaultLockCommand.d.ts +3 -8
  40. package/dist-types/commands/AddTagsToVaultCommand.d.ts +3 -8
  41. package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +3 -8
  42. package/dist-types/commands/CompleteVaultLockCommand.d.ts +3 -8
  43. package/dist-types/commands/CreateVaultCommand.d.ts +3 -8
  44. package/dist-types/commands/DeleteArchiveCommand.d.ts +3 -8
  45. package/dist-types/commands/DeleteVaultAccessPolicyCommand.d.ts +3 -8
  46. package/dist-types/commands/DeleteVaultCommand.d.ts +3 -8
  47. package/dist-types/commands/DeleteVaultNotificationsCommand.d.ts +3 -8
  48. package/dist-types/commands/DescribeJobCommand.d.ts +3 -8
  49. package/dist-types/commands/DescribeVaultCommand.d.ts +3 -8
  50. package/dist-types/commands/GetDataRetrievalPolicyCommand.d.ts +3 -8
  51. package/dist-types/commands/GetJobOutputCommand.d.ts +3 -8
  52. package/dist-types/commands/GetVaultAccessPolicyCommand.d.ts +3 -8
  53. package/dist-types/commands/GetVaultLockCommand.d.ts +3 -8
  54. package/dist-types/commands/GetVaultNotificationsCommand.d.ts +3 -8
  55. package/dist-types/commands/InitiateJobCommand.d.ts +3 -8
  56. package/dist-types/commands/InitiateMultipartUploadCommand.d.ts +3 -8
  57. package/dist-types/commands/InitiateVaultLockCommand.d.ts +3 -8
  58. package/dist-types/commands/ListJobsCommand.d.ts +3 -8
  59. package/dist-types/commands/ListMultipartUploadsCommand.d.ts +3 -8
  60. package/dist-types/commands/ListPartsCommand.d.ts +3 -8
  61. package/dist-types/commands/ListProvisionedCapacityCommand.d.ts +3 -8
  62. package/dist-types/commands/ListTagsForVaultCommand.d.ts +3 -8
  63. package/dist-types/commands/ListVaultsCommand.d.ts +3 -8
  64. package/dist-types/commands/PurchaseProvisionedCapacityCommand.d.ts +3 -8
  65. package/dist-types/commands/RemoveTagsFromVaultCommand.d.ts +3 -8
  66. package/dist-types/commands/SetDataRetrievalPolicyCommand.d.ts +3 -8
  67. package/dist-types/commands/SetVaultAccessPolicyCommand.d.ts +3 -8
  68. package/dist-types/commands/SetVaultNotificationsCommand.d.ts +3 -8
  69. package/dist-types/commands/UploadArchiveCommand.d.ts +3 -8
  70. package/dist-types/commands/UploadMultipartPartCommand.d.ts +3 -8
  71. package/dist-types/index.d.ts +1 -0
  72. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  73. package/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/AbortVaultLockCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/AddTagsToVaultCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/CompleteVaultLockCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/CreateVaultCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/DeleteArchiveCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/DeleteVaultAccessPolicyCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/DeleteVaultCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/DeleteVaultNotificationsCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/DescribeJobCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/DescribeVaultCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/GetDataRetrievalPolicyCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/GetJobOutputCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/GetVaultAccessPolicyCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/GetVaultLockCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/GetVaultNotificationsCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/InitiateJobCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/InitiateMultipartUploadCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/InitiateVaultLockCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/ListPartsCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/ListProvisionedCapacityCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/ListTagsForVaultCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/ListVaultsCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/PurchaseProvisionedCapacityCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/RemoveTagsFromVaultCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/SetDataRetrievalPolicyCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/SetVaultAccessPolicyCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/SetVaultNotificationsCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/UploadArchiveCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/UploadMultipartPartCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/index.d.ts +1 -0
  107. package/package.json +11 -11
package/dist-cjs/index.js CHANGED
@@ -1,8 +1,9 @@
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 { getGlacierPlugin } = require("@aws-sdk/middleware-sdk-glacier");
3
3
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
4
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
5
- exports.$Command = Command;
4
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
5
+ const { Command: $Command } = require("@smithy/core/client");
6
+ exports.$Command = $Command;
6
7
  exports.__Client = Client;
7
8
  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");
8
9
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -70,7 +71,7 @@ const commonParams = {
70
71
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
71
72
  };
72
73
 
73
- var version = "3.1076.0";
74
+ var version = "3.1077.0";
74
75
  var packageInfo = {
75
76
  version: version};
76
77
 
@@ -1241,400 +1242,107 @@ class GlacierClient extends Client {
1241
1242
  }
1242
1243
  }
1243
1244
 
1244
- class AbortMultipartUploadCommand extends Command
1245
- .classBuilder()
1246
- .ep(commonParams)
1247
- .m(function (Command, cs, config, o) {
1248
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1249
- })
1250
- .s("Glacier", "AbortMultipartUpload", {})
1251
- .n("GlacierClient", "AbortMultipartUploadCommand")
1252
- .sc(AbortMultipartUpload$)
1253
- .build() {
1245
+ const command = makeBuilder(commonParams, "Glacier", "GlacierClient", getEndpointPlugin);
1246
+ const _ep0 = {};
1247
+ const _mw0 = (Command, cs, config, o) => [];
1248
+
1249
+ class AbortMultipartUploadCommand extends command(_ep0, _mw0, "AbortMultipartUpload", AbortMultipartUpload$) {
1254
1250
  }
1255
1251
 
1256
- class AbortVaultLockCommand extends Command
1257
- .classBuilder()
1258
- .ep(commonParams)
1259
- .m(function (Command, cs, config, o) {
1260
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1261
- })
1262
- .s("Glacier", "AbortVaultLock", {})
1263
- .n("GlacierClient", "AbortVaultLockCommand")
1264
- .sc(AbortVaultLock$)
1265
- .build() {
1252
+ class AbortVaultLockCommand extends command(_ep0, _mw0, "AbortVaultLock", AbortVaultLock$) {
1266
1253
  }
1267
1254
 
1268
- class AddTagsToVaultCommand extends Command
1269
- .classBuilder()
1270
- .ep(commonParams)
1271
- .m(function (Command, cs, config, o) {
1272
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1273
- })
1274
- .s("Glacier", "AddTagsToVault", {})
1275
- .n("GlacierClient", "AddTagsToVaultCommand")
1276
- .sc(AddTagsToVault$)
1277
- .build() {
1255
+ class AddTagsToVaultCommand extends command(_ep0, _mw0, "AddTagsToVault", AddTagsToVault$) {
1278
1256
  }
1279
1257
 
1280
- class CompleteMultipartUploadCommand extends Command
1281
- .classBuilder()
1282
- .ep(commonParams)
1283
- .m(function (Command, cs, config, o) {
1284
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1285
- })
1286
- .s("Glacier", "CompleteMultipartUpload", {})
1287
- .n("GlacierClient", "CompleteMultipartUploadCommand")
1288
- .sc(CompleteMultipartUpload$)
1289
- .build() {
1258
+ class CompleteMultipartUploadCommand extends command(_ep0, _mw0, "CompleteMultipartUpload", CompleteMultipartUpload$) {
1290
1259
  }
1291
1260
 
1292
- class CompleteVaultLockCommand extends Command
1293
- .classBuilder()
1294
- .ep(commonParams)
1295
- .m(function (Command, cs, config, o) {
1296
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1297
- })
1298
- .s("Glacier", "CompleteVaultLock", {})
1299
- .n("GlacierClient", "CompleteVaultLockCommand")
1300
- .sc(CompleteVaultLock$)
1301
- .build() {
1261
+ class CompleteVaultLockCommand extends command(_ep0, _mw0, "CompleteVaultLock", CompleteVaultLock$) {
1302
1262
  }
1303
1263
 
1304
- class CreateVaultCommand extends Command
1305
- .classBuilder()
1306
- .ep(commonParams)
1307
- .m(function (Command, cs, config, o) {
1308
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1309
- })
1310
- .s("Glacier", "CreateVault", {})
1311
- .n("GlacierClient", "CreateVaultCommand")
1312
- .sc(CreateVault$)
1313
- .build() {
1264
+ class CreateVaultCommand extends command(_ep0, _mw0, "CreateVault", CreateVault$) {
1314
1265
  }
1315
1266
 
1316
- class DeleteArchiveCommand extends Command
1317
- .classBuilder()
1318
- .ep(commonParams)
1319
- .m(function (Command, cs, config, o) {
1320
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1321
- })
1322
- .s("Glacier", "DeleteArchive", {})
1323
- .n("GlacierClient", "DeleteArchiveCommand")
1324
- .sc(DeleteArchive$)
1325
- .build() {
1267
+ class DeleteArchiveCommand extends command(_ep0, _mw0, "DeleteArchive", DeleteArchive$) {
1326
1268
  }
1327
1269
 
1328
- class DeleteVaultAccessPolicyCommand extends Command
1329
- .classBuilder()
1330
- .ep(commonParams)
1331
- .m(function (Command, cs, config, o) {
1332
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1333
- })
1334
- .s("Glacier", "DeleteVaultAccessPolicy", {})
1335
- .n("GlacierClient", "DeleteVaultAccessPolicyCommand")
1336
- .sc(DeleteVaultAccessPolicy$)
1337
- .build() {
1270
+ class DeleteVaultAccessPolicyCommand extends command(_ep0, _mw0, "DeleteVaultAccessPolicy", DeleteVaultAccessPolicy$) {
1338
1271
  }
1339
1272
 
1340
- class DeleteVaultCommand extends Command
1341
- .classBuilder()
1342
- .ep(commonParams)
1343
- .m(function (Command, cs, config, o) {
1344
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1345
- })
1346
- .s("Glacier", "DeleteVault", {})
1347
- .n("GlacierClient", "DeleteVaultCommand")
1348
- .sc(DeleteVault$)
1349
- .build() {
1273
+ class DeleteVaultCommand extends command(_ep0, _mw0, "DeleteVault", DeleteVault$) {
1350
1274
  }
1351
1275
 
1352
- class DeleteVaultNotificationsCommand extends Command
1353
- .classBuilder()
1354
- .ep(commonParams)
1355
- .m(function (Command, cs, config, o) {
1356
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1357
- })
1358
- .s("Glacier", "DeleteVaultNotifications", {})
1359
- .n("GlacierClient", "DeleteVaultNotificationsCommand")
1360
- .sc(DeleteVaultNotifications$)
1361
- .build() {
1276
+ class DeleteVaultNotificationsCommand extends command(_ep0, _mw0, "DeleteVaultNotifications", DeleteVaultNotifications$) {
1362
1277
  }
1363
1278
 
1364
- class DescribeJobCommand extends Command
1365
- .classBuilder()
1366
- .ep(commonParams)
1367
- .m(function (Command, cs, config, o) {
1368
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1369
- })
1370
- .s("Glacier", "DescribeJob", {})
1371
- .n("GlacierClient", "DescribeJobCommand")
1372
- .sc(DescribeJob$)
1373
- .build() {
1279
+ class DescribeJobCommand extends command(_ep0, _mw0, "DescribeJob", DescribeJob$) {
1374
1280
  }
1375
1281
 
1376
- class DescribeVaultCommand extends Command
1377
- .classBuilder()
1378
- .ep(commonParams)
1379
- .m(function (Command, cs, config, o) {
1380
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1381
- })
1382
- .s("Glacier", "DescribeVault", {})
1383
- .n("GlacierClient", "DescribeVaultCommand")
1384
- .sc(DescribeVault$)
1385
- .build() {
1282
+ class DescribeVaultCommand extends command(_ep0, _mw0, "DescribeVault", DescribeVault$) {
1386
1283
  }
1387
1284
 
1388
- class GetDataRetrievalPolicyCommand extends Command
1389
- .classBuilder()
1390
- .ep(commonParams)
1391
- .m(function (Command, cs, config, o) {
1392
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1393
- })
1394
- .s("Glacier", "GetDataRetrievalPolicy", {})
1395
- .n("GlacierClient", "GetDataRetrievalPolicyCommand")
1396
- .sc(GetDataRetrievalPolicy$)
1397
- .build() {
1285
+ class GetDataRetrievalPolicyCommand extends command(_ep0, _mw0, "GetDataRetrievalPolicy", GetDataRetrievalPolicy$) {
1398
1286
  }
1399
1287
 
1400
- class GetJobOutputCommand extends Command
1401
- .classBuilder()
1402
- .ep(commonParams)
1403
- .m(function (Command, cs, config, o) {
1404
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1405
- })
1406
- .s("Glacier", "GetJobOutput", {})
1407
- .n("GlacierClient", "GetJobOutputCommand")
1408
- .sc(GetJobOutput$)
1409
- .build() {
1288
+ class GetJobOutputCommand extends command(_ep0, _mw0, "GetJobOutput", GetJobOutput$) {
1410
1289
  }
1411
1290
 
1412
- class GetVaultAccessPolicyCommand extends Command
1413
- .classBuilder()
1414
- .ep(commonParams)
1415
- .m(function (Command, cs, config, o) {
1416
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1417
- })
1418
- .s("Glacier", "GetVaultAccessPolicy", {})
1419
- .n("GlacierClient", "GetVaultAccessPolicyCommand")
1420
- .sc(GetVaultAccessPolicy$)
1421
- .build() {
1291
+ class GetVaultAccessPolicyCommand extends command(_ep0, _mw0, "GetVaultAccessPolicy", GetVaultAccessPolicy$) {
1422
1292
  }
1423
1293
 
1424
- class GetVaultLockCommand extends Command
1425
- .classBuilder()
1426
- .ep(commonParams)
1427
- .m(function (Command, cs, config, o) {
1428
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1429
- })
1430
- .s("Glacier", "GetVaultLock", {})
1431
- .n("GlacierClient", "GetVaultLockCommand")
1432
- .sc(GetVaultLock$)
1433
- .build() {
1294
+ class GetVaultLockCommand extends command(_ep0, _mw0, "GetVaultLock", GetVaultLock$) {
1434
1295
  }
1435
1296
 
1436
- class GetVaultNotificationsCommand extends Command
1437
- .classBuilder()
1438
- .ep(commonParams)
1439
- .m(function (Command, cs, config, o) {
1440
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1441
- })
1442
- .s("Glacier", "GetVaultNotifications", {})
1443
- .n("GlacierClient", "GetVaultNotificationsCommand")
1444
- .sc(GetVaultNotifications$)
1445
- .build() {
1297
+ class GetVaultNotificationsCommand extends command(_ep0, _mw0, "GetVaultNotifications", GetVaultNotifications$) {
1446
1298
  }
1447
1299
 
1448
- class InitiateJobCommand extends Command
1449
- .classBuilder()
1450
- .ep(commonParams)
1451
- .m(function (Command, cs, config, o) {
1452
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1453
- })
1454
- .s("Glacier", "InitiateJob", {})
1455
- .n("GlacierClient", "InitiateJobCommand")
1456
- .sc(InitiateJob$)
1457
- .build() {
1300
+ class InitiateJobCommand extends command(_ep0, _mw0, "InitiateJob", InitiateJob$) {
1458
1301
  }
1459
1302
 
1460
- class InitiateMultipartUploadCommand extends Command
1461
- .classBuilder()
1462
- .ep(commonParams)
1463
- .m(function (Command, cs, config, o) {
1464
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1465
- })
1466
- .s("Glacier", "InitiateMultipartUpload", {})
1467
- .n("GlacierClient", "InitiateMultipartUploadCommand")
1468
- .sc(InitiateMultipartUpload$)
1469
- .build() {
1303
+ class InitiateMultipartUploadCommand extends command(_ep0, _mw0, "InitiateMultipartUpload", InitiateMultipartUpload$) {
1470
1304
  }
1471
1305
 
1472
- class InitiateVaultLockCommand extends Command
1473
- .classBuilder()
1474
- .ep(commonParams)
1475
- .m(function (Command, cs, config, o) {
1476
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1477
- })
1478
- .s("Glacier", "InitiateVaultLock", {})
1479
- .n("GlacierClient", "InitiateVaultLockCommand")
1480
- .sc(InitiateVaultLock$)
1481
- .build() {
1306
+ class InitiateVaultLockCommand extends command(_ep0, _mw0, "InitiateVaultLock", InitiateVaultLock$) {
1482
1307
  }
1483
1308
 
1484
- class ListJobsCommand extends Command
1485
- .classBuilder()
1486
- .ep(commonParams)
1487
- .m(function (Command, cs, config, o) {
1488
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1489
- })
1490
- .s("Glacier", "ListJobs", {})
1491
- .n("GlacierClient", "ListJobsCommand")
1492
- .sc(ListJobs$)
1493
- .build() {
1309
+ class ListJobsCommand extends command(_ep0, _mw0, "ListJobs", ListJobs$) {
1494
1310
  }
1495
1311
 
1496
- class ListMultipartUploadsCommand extends Command
1497
- .classBuilder()
1498
- .ep(commonParams)
1499
- .m(function (Command, cs, config, o) {
1500
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1501
- })
1502
- .s("Glacier", "ListMultipartUploads", {})
1503
- .n("GlacierClient", "ListMultipartUploadsCommand")
1504
- .sc(ListMultipartUploads$)
1505
- .build() {
1312
+ class ListMultipartUploadsCommand extends command(_ep0, _mw0, "ListMultipartUploads", ListMultipartUploads$) {
1506
1313
  }
1507
1314
 
1508
- class ListPartsCommand extends Command
1509
- .classBuilder()
1510
- .ep(commonParams)
1511
- .m(function (Command, cs, config, o) {
1512
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1513
- })
1514
- .s("Glacier", "ListParts", {})
1515
- .n("GlacierClient", "ListPartsCommand")
1516
- .sc(ListParts$)
1517
- .build() {
1315
+ class ListPartsCommand extends command(_ep0, _mw0, "ListParts", ListParts$) {
1518
1316
  }
1519
1317
 
1520
- class ListProvisionedCapacityCommand extends Command
1521
- .classBuilder()
1522
- .ep(commonParams)
1523
- .m(function (Command, cs, config, o) {
1524
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1525
- })
1526
- .s("Glacier", "ListProvisionedCapacity", {})
1527
- .n("GlacierClient", "ListProvisionedCapacityCommand")
1528
- .sc(ListProvisionedCapacity$)
1529
- .build() {
1318
+ class ListProvisionedCapacityCommand extends command(_ep0, _mw0, "ListProvisionedCapacity", ListProvisionedCapacity$) {
1530
1319
  }
1531
1320
 
1532
- class ListTagsForVaultCommand extends Command
1533
- .classBuilder()
1534
- .ep(commonParams)
1535
- .m(function (Command, cs, config, o) {
1536
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1537
- })
1538
- .s("Glacier", "ListTagsForVault", {})
1539
- .n("GlacierClient", "ListTagsForVaultCommand")
1540
- .sc(ListTagsForVault$)
1541
- .build() {
1321
+ class ListTagsForVaultCommand extends command(_ep0, _mw0, "ListTagsForVault", ListTagsForVault$) {
1542
1322
  }
1543
1323
 
1544
- class ListVaultsCommand extends Command
1545
- .classBuilder()
1546
- .ep(commonParams)
1547
- .m(function (Command, cs, config, o) {
1548
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1549
- })
1550
- .s("Glacier", "ListVaults", {})
1551
- .n("GlacierClient", "ListVaultsCommand")
1552
- .sc(ListVaults$)
1553
- .build() {
1324
+ class ListVaultsCommand extends command(_ep0, _mw0, "ListVaults", ListVaults$) {
1554
1325
  }
1555
1326
 
1556
- class PurchaseProvisionedCapacityCommand extends Command
1557
- .classBuilder()
1558
- .ep(commonParams)
1559
- .m(function (Command, cs, config, o) {
1560
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1561
- })
1562
- .s("Glacier", "PurchaseProvisionedCapacity", {})
1563
- .n("GlacierClient", "PurchaseProvisionedCapacityCommand")
1564
- .sc(PurchaseProvisionedCapacity$)
1565
- .build() {
1327
+ class PurchaseProvisionedCapacityCommand extends command(_ep0, _mw0, "PurchaseProvisionedCapacity", PurchaseProvisionedCapacity$) {
1566
1328
  }
1567
1329
 
1568
- class RemoveTagsFromVaultCommand extends Command
1569
- .classBuilder()
1570
- .ep(commonParams)
1571
- .m(function (Command, cs, config, o) {
1572
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1573
- })
1574
- .s("Glacier", "RemoveTagsFromVault", {})
1575
- .n("GlacierClient", "RemoveTagsFromVaultCommand")
1576
- .sc(RemoveTagsFromVault$)
1577
- .build() {
1330
+ class RemoveTagsFromVaultCommand extends command(_ep0, _mw0, "RemoveTagsFromVault", RemoveTagsFromVault$) {
1578
1331
  }
1579
1332
 
1580
- class SetDataRetrievalPolicyCommand extends Command
1581
- .classBuilder()
1582
- .ep(commonParams)
1583
- .m(function (Command, cs, config, o) {
1584
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1585
- })
1586
- .s("Glacier", "SetDataRetrievalPolicy", {})
1587
- .n("GlacierClient", "SetDataRetrievalPolicyCommand")
1588
- .sc(SetDataRetrievalPolicy$)
1589
- .build() {
1333
+ class SetDataRetrievalPolicyCommand extends command(_ep0, _mw0, "SetDataRetrievalPolicy", SetDataRetrievalPolicy$) {
1590
1334
  }
1591
1335
 
1592
- class SetVaultAccessPolicyCommand extends Command
1593
- .classBuilder()
1594
- .ep(commonParams)
1595
- .m(function (Command, cs, config, o) {
1596
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1597
- })
1598
- .s("Glacier", "SetVaultAccessPolicy", {})
1599
- .n("GlacierClient", "SetVaultAccessPolicyCommand")
1600
- .sc(SetVaultAccessPolicy$)
1601
- .build() {
1336
+ class SetVaultAccessPolicyCommand extends command(_ep0, _mw0, "SetVaultAccessPolicy", SetVaultAccessPolicy$) {
1602
1337
  }
1603
1338
 
1604
- class SetVaultNotificationsCommand extends Command
1605
- .classBuilder()
1606
- .ep(commonParams)
1607
- .m(function (Command, cs, config, o) {
1608
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1609
- })
1610
- .s("Glacier", "SetVaultNotifications", {})
1611
- .n("GlacierClient", "SetVaultNotificationsCommand")
1612
- .sc(SetVaultNotifications$)
1613
- .build() {
1339
+ class SetVaultNotificationsCommand extends command(_ep0, _mw0, "SetVaultNotifications", SetVaultNotifications$) {
1614
1340
  }
1615
1341
 
1616
- class UploadArchiveCommand extends Command
1617
- .classBuilder()
1618
- .ep(commonParams)
1619
- .m(function (Command, cs, config, o) {
1620
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1621
- })
1622
- .s("Glacier", "UploadArchive", {})
1623
- .n("GlacierClient", "UploadArchiveCommand")
1624
- .sc(UploadArchive$)
1625
- .build() {
1342
+ class UploadArchiveCommand extends command(_ep0, _mw0, "UploadArchive", UploadArchive$) {
1626
1343
  }
1627
1344
 
1628
- class UploadMultipartPartCommand extends Command
1629
- .classBuilder()
1630
- .ep(commonParams)
1631
- .m(function (Command, cs, config, o) {
1632
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1633
- })
1634
- .s("Glacier", "UploadMultipartPart", {})
1635
- .n("GlacierClient", "UploadMultipartPartCommand")
1636
- .sc(UploadMultipartPart$)
1637
- .build() {
1345
+ class UploadMultipartPartCommand extends command(_ep0, _mw0, "UploadMultipartPart", UploadMultipartPart$) {
1638
1346
  }
1639
1347
 
1640
1348
  const paginateListJobs = createPaginator(GlacierClient, ListJobsCommand, "marker", "Marker", "limit");
@@ -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, "Glacier", "GlacierClient", 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 { AbortMultipartUpload$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AbortMultipartUploadCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Glacier", "AbortMultipartUpload", {})
13
- .n("GlacierClient", "AbortMultipartUploadCommand")
14
- .sc(AbortMultipartUpload$)
15
- .build() {
3
+ export class AbortMultipartUploadCommand extends command(_ep0, _mw0, "AbortMultipartUpload", AbortMultipartUpload$) {
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 { AbortVaultLock$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AbortVaultLockCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Glacier", "AbortVaultLock", {})
13
- .n("GlacierClient", "AbortVaultLockCommand")
14
- .sc(AbortVaultLock$)
15
- .build() {
3
+ export class AbortVaultLockCommand extends command(_ep0, _mw0, "AbortVaultLock", AbortVaultLock$) {
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 { AddTagsToVault$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AddTagsToVaultCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Glacier", "AddTagsToVault", {})
13
- .n("GlacierClient", "AddTagsToVaultCommand")
14
- .sc(AddTagsToVault$)
15
- .build() {
3
+ export class AddTagsToVaultCommand extends command(_ep0, _mw0, "AddTagsToVault", AddTagsToVault$) {
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 { CompleteMultipartUpload$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CompleteMultipartUploadCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Glacier", "CompleteMultipartUpload", {})
13
- .n("GlacierClient", "CompleteMultipartUploadCommand")
14
- .sc(CompleteMultipartUpload$)
15
- .build() {
3
+ export class CompleteMultipartUploadCommand extends command(_ep0, _mw0, "CompleteMultipartUpload", CompleteMultipartUpload$) {
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 { CompleteVaultLock$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CompleteVaultLockCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Glacier", "CompleteVaultLock", {})
13
- .n("GlacierClient", "CompleteVaultLockCommand")
14
- .sc(CompleteVaultLock$)
15
- .build() {
3
+ export class CompleteVaultLockCommand extends command(_ep0, _mw0, "CompleteVaultLock", CompleteVaultLock$) {
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 { CreateVault$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateVaultCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Glacier", "CreateVault", {})
13
- .n("GlacierClient", "CreateVaultCommand")
14
- .sc(CreateVault$)
15
- .build() {
3
+ export class CreateVaultCommand extends command(_ep0, _mw0, "CreateVault", CreateVault$) {
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 { DeleteArchive$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteArchiveCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Glacier", "DeleteArchive", {})
13
- .n("GlacierClient", "DeleteArchiveCommand")
14
- .sc(DeleteArchive$)
15
- .build() {
3
+ export class DeleteArchiveCommand extends command(_ep0, _mw0, "DeleteArchive", DeleteArchive$) {
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 { DeleteVaultAccessPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteVaultAccessPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Glacier", "DeleteVaultAccessPolicy", {})
13
- .n("GlacierClient", "DeleteVaultAccessPolicyCommand")
14
- .sc(DeleteVaultAccessPolicy$)
15
- .build() {
3
+ export class DeleteVaultAccessPolicyCommand extends command(_ep0, _mw0, "DeleteVaultAccessPolicy", DeleteVaultAccessPolicy$) {
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 { DeleteVault$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteVaultCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Glacier", "DeleteVault", {})
13
- .n("GlacierClient", "DeleteVaultCommand")
14
- .sc(DeleteVault$)
15
- .build() {
3
+ export class DeleteVaultCommand extends command(_ep0, _mw0, "DeleteVault", DeleteVault$) {
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 { DeleteVaultNotifications$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteVaultNotificationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Glacier", "DeleteVaultNotifications", {})
13
- .n("GlacierClient", "DeleteVaultNotificationsCommand")
14
- .sc(DeleteVaultNotifications$)
15
- .build() {
3
+ export class DeleteVaultNotificationsCommand extends command(_ep0, _mw0, "DeleteVaultNotifications", DeleteVaultNotifications$) {
16
4
  }