@aws-sdk/client-acm-pca 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 (77) hide show
  1. package/dist-cjs/index.js +31 -233
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateCertificateAuthorityAuditReportCommand.js +2 -14
  4. package/dist-es/commands/CreateCertificateAuthorityCommand.js +2 -14
  5. package/dist-es/commands/CreatePermissionCommand.js +2 -14
  6. package/dist-es/commands/DeleteCertificateAuthorityCommand.js +2 -14
  7. package/dist-es/commands/DeletePermissionCommand.js +2 -14
  8. package/dist-es/commands/DeletePolicyCommand.js +2 -14
  9. package/dist-es/commands/DescribeCertificateAuthorityAuditReportCommand.js +2 -14
  10. package/dist-es/commands/DescribeCertificateAuthorityCommand.js +2 -14
  11. package/dist-es/commands/GetCertificateAuthorityCertificateCommand.js +2 -14
  12. package/dist-es/commands/GetCertificateAuthorityCsrCommand.js +2 -14
  13. package/dist-es/commands/GetCertificateCommand.js +2 -14
  14. package/dist-es/commands/GetPolicyCommand.js +2 -14
  15. package/dist-es/commands/ImportCertificateAuthorityCertificateCommand.js +2 -14
  16. package/dist-es/commands/IssueCertificateCommand.js +2 -14
  17. package/dist-es/commands/ListCertificateAuthoritiesCommand.js +2 -14
  18. package/dist-es/commands/ListPermissionsCommand.js +2 -14
  19. package/dist-es/commands/ListTagsCommand.js +2 -14
  20. package/dist-es/commands/PutPolicyCommand.js +2 -14
  21. package/dist-es/commands/RestoreCertificateAuthorityCommand.js +2 -14
  22. package/dist-es/commands/RevokeCertificateCommand.js +2 -14
  23. package/dist-es/commands/TagCertificateAuthorityCommand.js +2 -14
  24. package/dist-es/commands/UntagCertificateAuthorityCommand.js +2 -14
  25. package/dist-es/commands/UpdateCertificateAuthorityCommand.js +2 -14
  26. package/dist-es/index.js +1 -0
  27. package/dist-types/commandBuilder.d.ts +18 -0
  28. package/dist-types/commands/CreateCertificateAuthorityAuditReportCommand.d.ts +3 -8
  29. package/dist-types/commands/CreateCertificateAuthorityCommand.d.ts +3 -8
  30. package/dist-types/commands/CreatePermissionCommand.d.ts +3 -8
  31. package/dist-types/commands/DeleteCertificateAuthorityCommand.d.ts +3 -8
  32. package/dist-types/commands/DeletePermissionCommand.d.ts +3 -8
  33. package/dist-types/commands/DeletePolicyCommand.d.ts +3 -8
  34. package/dist-types/commands/DescribeCertificateAuthorityAuditReportCommand.d.ts +3 -8
  35. package/dist-types/commands/DescribeCertificateAuthorityCommand.d.ts +3 -8
  36. package/dist-types/commands/GetCertificateAuthorityCertificateCommand.d.ts +3 -8
  37. package/dist-types/commands/GetCertificateAuthorityCsrCommand.d.ts +3 -8
  38. package/dist-types/commands/GetCertificateCommand.d.ts +3 -8
  39. package/dist-types/commands/GetPolicyCommand.d.ts +3 -8
  40. package/dist-types/commands/ImportCertificateAuthorityCertificateCommand.d.ts +3 -8
  41. package/dist-types/commands/IssueCertificateCommand.d.ts +3 -8
  42. package/dist-types/commands/ListCertificateAuthoritiesCommand.d.ts +3 -8
  43. package/dist-types/commands/ListPermissionsCommand.d.ts +3 -8
  44. package/dist-types/commands/ListTagsCommand.d.ts +3 -8
  45. package/dist-types/commands/PutPolicyCommand.d.ts +3 -8
  46. package/dist-types/commands/RestoreCertificateAuthorityCommand.d.ts +3 -8
  47. package/dist-types/commands/RevokeCertificateCommand.d.ts +3 -8
  48. package/dist-types/commands/TagCertificateAuthorityCommand.d.ts +3 -8
  49. package/dist-types/commands/UntagCertificateAuthorityCommand.d.ts +3 -8
  50. package/dist-types/commands/UpdateCertificateAuthorityCommand.d.ts +3 -8
  51. package/dist-types/index.d.ts +1 -0
  52. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  53. package/dist-types/ts3.4/commands/CreateCertificateAuthorityAuditReportCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/CreateCertificateAuthorityCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/commands/CreatePermissionCommand.d.ts +7 -16
  56. package/dist-types/ts3.4/commands/DeleteCertificateAuthorityCommand.d.ts +7 -16
  57. package/dist-types/ts3.4/commands/DeletePermissionCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +7 -16
  59. package/dist-types/ts3.4/commands/DescribeCertificateAuthorityAuditReportCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/DescribeCertificateAuthorityCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/GetCertificateAuthorityCertificateCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/GetCertificateAuthorityCsrCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/GetCertificateCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/ImportCertificateAuthorityCertificateCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/IssueCertificateCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/ListCertificateAuthoritiesCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/ListPermissionsCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/PutPolicyCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/RestoreCertificateAuthorityCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/RevokeCertificateCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/TagCertificateAuthorityCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/UntagCertificateAuthorityCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/UpdateCertificateAuthorityCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/index.d.ts +1 -0
  77. 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, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createWaiter, checkExceptions, WaiterState, 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
 
@@ -1255,280 +1256,77 @@ class ACMPCAClient extends Client {
1255
1256
  }
1256
1257
  }
1257
1258
 
1258
- class CreateCertificateAuthorityAuditReportCommand extends Command
1259
- .classBuilder()
1260
- .ep(commonParams)
1261
- .m(function (Command, cs, config, o) {
1262
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1263
- })
1264
- .s("ACMPrivateCA", "CreateCertificateAuthorityAuditReport", {})
1265
- .n("ACMPCAClient", "CreateCertificateAuthorityAuditReportCommand")
1266
- .sc(CreateCertificateAuthorityAuditReport$)
1267
- .build() {
1259
+ const command = makeBuilder(commonParams, "ACMPrivateCA", "ACMPCAClient", getEndpointPlugin);
1260
+ const _ep0 = {};
1261
+ const _mw0 = (Command, cs, config, o) => [];
1262
+
1263
+ class CreateCertificateAuthorityAuditReportCommand extends command(_ep0, _mw0, "CreateCertificateAuthorityAuditReport", CreateCertificateAuthorityAuditReport$) {
1268
1264
  }
1269
1265
 
1270
- class CreateCertificateAuthorityCommand extends Command
1271
- .classBuilder()
1272
- .ep(commonParams)
1273
- .m(function (Command, cs, config, o) {
1274
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1275
- })
1276
- .s("ACMPrivateCA", "CreateCertificateAuthority", {})
1277
- .n("ACMPCAClient", "CreateCertificateAuthorityCommand")
1278
- .sc(CreateCertificateAuthority$)
1279
- .build() {
1266
+ class CreateCertificateAuthorityCommand extends command(_ep0, _mw0, "CreateCertificateAuthority", CreateCertificateAuthority$) {
1280
1267
  }
1281
1268
 
1282
- class CreatePermissionCommand extends Command
1283
- .classBuilder()
1284
- .ep(commonParams)
1285
- .m(function (Command, cs, config, o) {
1286
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1287
- })
1288
- .s("ACMPrivateCA", "CreatePermission", {})
1289
- .n("ACMPCAClient", "CreatePermissionCommand")
1290
- .sc(CreatePermission$)
1291
- .build() {
1269
+ class CreatePermissionCommand extends command(_ep0, _mw0, "CreatePermission", CreatePermission$) {
1292
1270
  }
1293
1271
 
1294
- class DeleteCertificateAuthorityCommand extends Command
1295
- .classBuilder()
1296
- .ep(commonParams)
1297
- .m(function (Command, cs, config, o) {
1298
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1299
- })
1300
- .s("ACMPrivateCA", "DeleteCertificateAuthority", {})
1301
- .n("ACMPCAClient", "DeleteCertificateAuthorityCommand")
1302
- .sc(DeleteCertificateAuthority$)
1303
- .build() {
1272
+ class DeleteCertificateAuthorityCommand extends command(_ep0, _mw0, "DeleteCertificateAuthority", DeleteCertificateAuthority$) {
1304
1273
  }
1305
1274
 
1306
- class DeletePermissionCommand extends Command
1307
- .classBuilder()
1308
- .ep(commonParams)
1309
- .m(function (Command, cs, config, o) {
1310
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1311
- })
1312
- .s("ACMPrivateCA", "DeletePermission", {})
1313
- .n("ACMPCAClient", "DeletePermissionCommand")
1314
- .sc(DeletePermission$)
1315
- .build() {
1275
+ class DeletePermissionCommand extends command(_ep0, _mw0, "DeletePermission", DeletePermission$) {
1316
1276
  }
1317
1277
 
1318
- class DeletePolicyCommand extends Command
1319
- .classBuilder()
1320
- .ep(commonParams)
1321
- .m(function (Command, cs, config, o) {
1322
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1323
- })
1324
- .s("ACMPrivateCA", "DeletePolicy", {})
1325
- .n("ACMPCAClient", "DeletePolicyCommand")
1326
- .sc(DeletePolicy$)
1327
- .build() {
1278
+ class DeletePolicyCommand extends command(_ep0, _mw0, "DeletePolicy", DeletePolicy$) {
1328
1279
  }
1329
1280
 
1330
- class DescribeCertificateAuthorityAuditReportCommand extends Command
1331
- .classBuilder()
1332
- .ep(commonParams)
1333
- .m(function (Command, cs, config, o) {
1334
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1335
- })
1336
- .s("ACMPrivateCA", "DescribeCertificateAuthorityAuditReport", {})
1337
- .n("ACMPCAClient", "DescribeCertificateAuthorityAuditReportCommand")
1338
- .sc(DescribeCertificateAuthorityAuditReport$)
1339
- .build() {
1281
+ class DescribeCertificateAuthorityAuditReportCommand extends command(_ep0, _mw0, "DescribeCertificateAuthorityAuditReport", DescribeCertificateAuthorityAuditReport$) {
1340
1282
  }
1341
1283
 
1342
- class DescribeCertificateAuthorityCommand extends Command
1343
- .classBuilder()
1344
- .ep(commonParams)
1345
- .m(function (Command, cs, config, o) {
1346
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1347
- })
1348
- .s("ACMPrivateCA", "DescribeCertificateAuthority", {})
1349
- .n("ACMPCAClient", "DescribeCertificateAuthorityCommand")
1350
- .sc(DescribeCertificateAuthority$)
1351
- .build() {
1284
+ class DescribeCertificateAuthorityCommand extends command(_ep0, _mw0, "DescribeCertificateAuthority", DescribeCertificateAuthority$) {
1352
1285
  }
1353
1286
 
1354
- class GetCertificateAuthorityCertificateCommand extends Command
1355
- .classBuilder()
1356
- .ep(commonParams)
1357
- .m(function (Command, cs, config, o) {
1358
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1359
- })
1360
- .s("ACMPrivateCA", "GetCertificateAuthorityCertificate", {})
1361
- .n("ACMPCAClient", "GetCertificateAuthorityCertificateCommand")
1362
- .sc(GetCertificateAuthorityCertificate$)
1363
- .build() {
1287
+ class GetCertificateAuthorityCertificateCommand extends command(_ep0, _mw0, "GetCertificateAuthorityCertificate", GetCertificateAuthorityCertificate$) {
1364
1288
  }
1365
1289
 
1366
- class GetCertificateAuthorityCsrCommand extends Command
1367
- .classBuilder()
1368
- .ep(commonParams)
1369
- .m(function (Command, cs, config, o) {
1370
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1371
- })
1372
- .s("ACMPrivateCA", "GetCertificateAuthorityCsr", {})
1373
- .n("ACMPCAClient", "GetCertificateAuthorityCsrCommand")
1374
- .sc(GetCertificateAuthorityCsr$)
1375
- .build() {
1290
+ class GetCertificateAuthorityCsrCommand extends command(_ep0, _mw0, "GetCertificateAuthorityCsr", GetCertificateAuthorityCsr$) {
1376
1291
  }
1377
1292
 
1378
- class GetCertificateCommand extends Command
1379
- .classBuilder()
1380
- .ep(commonParams)
1381
- .m(function (Command, cs, config, o) {
1382
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1383
- })
1384
- .s("ACMPrivateCA", "GetCertificate", {})
1385
- .n("ACMPCAClient", "GetCertificateCommand")
1386
- .sc(GetCertificate$)
1387
- .build() {
1293
+ class GetCertificateCommand extends command(_ep0, _mw0, "GetCertificate", GetCertificate$) {
1388
1294
  }
1389
1295
 
1390
- class GetPolicyCommand extends Command
1391
- .classBuilder()
1392
- .ep(commonParams)
1393
- .m(function (Command, cs, config, o) {
1394
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1395
- })
1396
- .s("ACMPrivateCA", "GetPolicy", {})
1397
- .n("ACMPCAClient", "GetPolicyCommand")
1398
- .sc(GetPolicy$)
1399
- .build() {
1296
+ class GetPolicyCommand extends command(_ep0, _mw0, "GetPolicy", GetPolicy$) {
1400
1297
  }
1401
1298
 
1402
- class ImportCertificateAuthorityCertificateCommand extends Command
1403
- .classBuilder()
1404
- .ep(commonParams)
1405
- .m(function (Command, cs, config, o) {
1406
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1407
- })
1408
- .s("ACMPrivateCA", "ImportCertificateAuthorityCertificate", {})
1409
- .n("ACMPCAClient", "ImportCertificateAuthorityCertificateCommand")
1410
- .sc(ImportCertificateAuthorityCertificate$)
1411
- .build() {
1299
+ class ImportCertificateAuthorityCertificateCommand extends command(_ep0, _mw0, "ImportCertificateAuthorityCertificate", ImportCertificateAuthorityCertificate$) {
1412
1300
  }
1413
1301
 
1414
- class IssueCertificateCommand extends Command
1415
- .classBuilder()
1416
- .ep(commonParams)
1417
- .m(function (Command, cs, config, o) {
1418
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1419
- })
1420
- .s("ACMPrivateCA", "IssueCertificate", {})
1421
- .n("ACMPCAClient", "IssueCertificateCommand")
1422
- .sc(IssueCertificate$)
1423
- .build() {
1302
+ class IssueCertificateCommand extends command(_ep0, _mw0, "IssueCertificate", IssueCertificate$) {
1424
1303
  }
1425
1304
 
1426
- class ListCertificateAuthoritiesCommand extends Command
1427
- .classBuilder()
1428
- .ep(commonParams)
1429
- .m(function (Command, cs, config, o) {
1430
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1431
- })
1432
- .s("ACMPrivateCA", "ListCertificateAuthorities", {})
1433
- .n("ACMPCAClient", "ListCertificateAuthoritiesCommand")
1434
- .sc(ListCertificateAuthorities$)
1435
- .build() {
1305
+ class ListCertificateAuthoritiesCommand extends command(_ep0, _mw0, "ListCertificateAuthorities", ListCertificateAuthorities$) {
1436
1306
  }
1437
1307
 
1438
- class ListPermissionsCommand extends Command
1439
- .classBuilder()
1440
- .ep(commonParams)
1441
- .m(function (Command, cs, config, o) {
1442
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1443
- })
1444
- .s("ACMPrivateCA", "ListPermissions", {})
1445
- .n("ACMPCAClient", "ListPermissionsCommand")
1446
- .sc(ListPermissions$)
1447
- .build() {
1308
+ class ListPermissionsCommand extends command(_ep0, _mw0, "ListPermissions", ListPermissions$) {
1448
1309
  }
1449
1310
 
1450
- class ListTagsCommand extends Command
1451
- .classBuilder()
1452
- .ep(commonParams)
1453
- .m(function (Command, cs, config, o) {
1454
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1455
- })
1456
- .s("ACMPrivateCA", "ListTags", {})
1457
- .n("ACMPCAClient", "ListTagsCommand")
1458
- .sc(ListTags$)
1459
- .build() {
1311
+ class ListTagsCommand extends command(_ep0, _mw0, "ListTags", ListTags$) {
1460
1312
  }
1461
1313
 
1462
- class PutPolicyCommand extends Command
1463
- .classBuilder()
1464
- .ep(commonParams)
1465
- .m(function (Command, cs, config, o) {
1466
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1467
- })
1468
- .s("ACMPrivateCA", "PutPolicy", {})
1469
- .n("ACMPCAClient", "PutPolicyCommand")
1470
- .sc(PutPolicy$)
1471
- .build() {
1314
+ class PutPolicyCommand extends command(_ep0, _mw0, "PutPolicy", PutPolicy$) {
1472
1315
  }
1473
1316
 
1474
- class RestoreCertificateAuthorityCommand extends Command
1475
- .classBuilder()
1476
- .ep(commonParams)
1477
- .m(function (Command, cs, config, o) {
1478
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1479
- })
1480
- .s("ACMPrivateCA", "RestoreCertificateAuthority", {})
1481
- .n("ACMPCAClient", "RestoreCertificateAuthorityCommand")
1482
- .sc(RestoreCertificateAuthority$)
1483
- .build() {
1317
+ class RestoreCertificateAuthorityCommand extends command(_ep0, _mw0, "RestoreCertificateAuthority", RestoreCertificateAuthority$) {
1484
1318
  }
1485
1319
 
1486
- class RevokeCertificateCommand extends Command
1487
- .classBuilder()
1488
- .ep(commonParams)
1489
- .m(function (Command, cs, config, o) {
1490
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1491
- })
1492
- .s("ACMPrivateCA", "RevokeCertificate", {})
1493
- .n("ACMPCAClient", "RevokeCertificateCommand")
1494
- .sc(RevokeCertificate$)
1495
- .build() {
1320
+ class RevokeCertificateCommand extends command(_ep0, _mw0, "RevokeCertificate", RevokeCertificate$) {
1496
1321
  }
1497
1322
 
1498
- class TagCertificateAuthorityCommand extends Command
1499
- .classBuilder()
1500
- .ep(commonParams)
1501
- .m(function (Command, cs, config, o) {
1502
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1503
- })
1504
- .s("ACMPrivateCA", "TagCertificateAuthority", {})
1505
- .n("ACMPCAClient", "TagCertificateAuthorityCommand")
1506
- .sc(TagCertificateAuthority$)
1507
- .build() {
1323
+ class TagCertificateAuthorityCommand extends command(_ep0, _mw0, "TagCertificateAuthority", TagCertificateAuthority$) {
1508
1324
  }
1509
1325
 
1510
- class UntagCertificateAuthorityCommand extends Command
1511
- .classBuilder()
1512
- .ep(commonParams)
1513
- .m(function (Command, cs, config, o) {
1514
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1515
- })
1516
- .s("ACMPrivateCA", "UntagCertificateAuthority", {})
1517
- .n("ACMPCAClient", "UntagCertificateAuthorityCommand")
1518
- .sc(UntagCertificateAuthority$)
1519
- .build() {
1326
+ class UntagCertificateAuthorityCommand extends command(_ep0, _mw0, "UntagCertificateAuthority", UntagCertificateAuthority$) {
1520
1327
  }
1521
1328
 
1522
- class UpdateCertificateAuthorityCommand extends Command
1523
- .classBuilder()
1524
- .ep(commonParams)
1525
- .m(function (Command, cs, config, o) {
1526
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1527
- })
1528
- .s("ACMPrivateCA", "UpdateCertificateAuthority", {})
1529
- .n("ACMPCAClient", "UpdateCertificateAuthorityCommand")
1530
- .sc(UpdateCertificateAuthority$)
1531
- .build() {
1329
+ class UpdateCertificateAuthorityCommand extends command(_ep0, _mw0, "UpdateCertificateAuthority", UpdateCertificateAuthority$) {
1532
1330
  }
1533
1331
 
1534
1332
  const paginateListCertificateAuthorities = createPaginator(ACMPCAClient, ListCertificateAuthoritiesCommand, "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, "ACMPrivateCA", "ACMPCAClient", 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 { CreateCertificateAuthorityAuditReport$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateCertificateAuthorityAuditReportCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ACMPrivateCA", "CreateCertificateAuthorityAuditReport", {})
13
- .n("ACMPCAClient", "CreateCertificateAuthorityAuditReportCommand")
14
- .sc(CreateCertificateAuthorityAuditReport$)
15
- .build() {
3
+ export class CreateCertificateAuthorityAuditReportCommand extends command(_ep0, _mw0, "CreateCertificateAuthorityAuditReport", CreateCertificateAuthorityAuditReport$) {
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 { CreateCertificateAuthority$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateCertificateAuthorityCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ACMPrivateCA", "CreateCertificateAuthority", {})
13
- .n("ACMPCAClient", "CreateCertificateAuthorityCommand")
14
- .sc(CreateCertificateAuthority$)
15
- .build() {
3
+ export class CreateCertificateAuthorityCommand extends command(_ep0, _mw0, "CreateCertificateAuthority", CreateCertificateAuthority$) {
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 { CreatePermission$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreatePermissionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ACMPrivateCA", "CreatePermission", {})
13
- .n("ACMPCAClient", "CreatePermissionCommand")
14
- .sc(CreatePermission$)
15
- .build() {
3
+ export class CreatePermissionCommand extends command(_ep0, _mw0, "CreatePermission", CreatePermission$) {
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 { DeleteCertificateAuthority$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteCertificateAuthorityCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ACMPrivateCA", "DeleteCertificateAuthority", {})
13
- .n("ACMPCAClient", "DeleteCertificateAuthorityCommand")
14
- .sc(DeleteCertificateAuthority$)
15
- .build() {
3
+ export class DeleteCertificateAuthorityCommand extends command(_ep0, _mw0, "DeleteCertificateAuthority", DeleteCertificateAuthority$) {
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 { DeletePermission$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeletePermissionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ACMPrivateCA", "DeletePermission", {})
13
- .n("ACMPCAClient", "DeletePermissionCommand")
14
- .sc(DeletePermission$)
15
- .build() {
3
+ export class DeletePermissionCommand extends command(_ep0, _mw0, "DeletePermission", DeletePermission$) {
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 { DeletePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeletePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ACMPrivateCA", "DeletePolicy", {})
13
- .n("ACMPCAClient", "DeletePolicyCommand")
14
- .sc(DeletePolicy$)
15
- .build() {
3
+ export class DeletePolicyCommand extends command(_ep0, _mw0, "DeletePolicy", DeletePolicy$) {
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 { DescribeCertificateAuthorityAuditReport$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeCertificateAuthorityAuditReportCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ACMPrivateCA", "DescribeCertificateAuthorityAuditReport", {})
13
- .n("ACMPCAClient", "DescribeCertificateAuthorityAuditReportCommand")
14
- .sc(DescribeCertificateAuthorityAuditReport$)
15
- .build() {
3
+ export class DescribeCertificateAuthorityAuditReportCommand extends command(_ep0, _mw0, "DescribeCertificateAuthorityAuditReport", DescribeCertificateAuthorityAuditReport$) {
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 { DescribeCertificateAuthority$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeCertificateAuthorityCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ACMPrivateCA", "DescribeCertificateAuthority", {})
13
- .n("ACMPCAClient", "DescribeCertificateAuthorityCommand")
14
- .sc(DescribeCertificateAuthority$)
15
- .build() {
3
+ export class DescribeCertificateAuthorityCommand extends command(_ep0, _mw0, "DescribeCertificateAuthority", DescribeCertificateAuthority$) {
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 { GetCertificateAuthorityCertificate$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetCertificateAuthorityCertificateCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ACMPrivateCA", "GetCertificateAuthorityCertificate", {})
13
- .n("ACMPCAClient", "GetCertificateAuthorityCertificateCommand")
14
- .sc(GetCertificateAuthorityCertificate$)
15
- .build() {
3
+ export class GetCertificateAuthorityCertificateCommand extends command(_ep0, _mw0, "GetCertificateAuthorityCertificate", GetCertificateAuthorityCertificate$) {
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 { GetCertificateAuthorityCsr$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetCertificateAuthorityCsrCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ACMPrivateCA", "GetCertificateAuthorityCsr", {})
13
- .n("ACMPCAClient", "GetCertificateAuthorityCsrCommand")
14
- .sc(GetCertificateAuthorityCsr$)
15
- .build() {
3
+ export class GetCertificateAuthorityCsrCommand extends command(_ep0, _mw0, "GetCertificateAuthorityCsr", GetCertificateAuthorityCsr$) {
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 { GetCertificate$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetCertificateCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ACMPrivateCA", "GetCertificate", {})
13
- .n("ACMPCAClient", "GetCertificateCommand")
14
- .sc(GetCertificate$)
15
- .build() {
3
+ export class GetCertificateCommand extends command(_ep0, _mw0, "GetCertificate", GetCertificate$) {
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 { GetPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ACMPrivateCA", "GetPolicy", {})
13
- .n("ACMPCAClient", "GetPolicyCommand")
14
- .sc(GetPolicy$)
15
- .build() {
3
+ export class GetPolicyCommand extends command(_ep0, _mw0, "GetPolicy", GetPolicy$) {
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 { ImportCertificateAuthorityCertificate$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ImportCertificateAuthorityCertificateCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ACMPrivateCA", "ImportCertificateAuthorityCertificate", {})
13
- .n("ACMPCAClient", "ImportCertificateAuthorityCertificateCommand")
14
- .sc(ImportCertificateAuthorityCertificate$)
15
- .build() {
3
+ export class ImportCertificateAuthorityCertificateCommand extends command(_ep0, _mw0, "ImportCertificateAuthorityCertificate", ImportCertificateAuthorityCertificate$) {
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 { IssueCertificate$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class IssueCertificateCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ACMPrivateCA", "IssueCertificate", {})
13
- .n("ACMPCAClient", "IssueCertificateCommand")
14
- .sc(IssueCertificate$)
15
- .build() {
3
+ export class IssueCertificateCommand extends command(_ep0, _mw0, "IssueCertificate", IssueCertificate$) {
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 { ListCertificateAuthorities$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListCertificateAuthoritiesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ACMPrivateCA", "ListCertificateAuthorities", {})
13
- .n("ACMPCAClient", "ListCertificateAuthoritiesCommand")
14
- .sc(ListCertificateAuthorities$)
15
- .build() {
3
+ export class ListCertificateAuthoritiesCommand extends command(_ep0, _mw0, "ListCertificateAuthorities", ListCertificateAuthorities$) {
16
4
  }