@aws-sdk/client-payment-cryptography 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 (104) hide show
  1. package/dist-cjs/index.js +40 -323
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AddKeyReplicationRegionsCommand.js +2 -14
  4. package/dist-es/commands/AssociateMpaTeamCommand.js +2 -14
  5. package/dist-es/commands/CreateAliasCommand.js +2 -14
  6. package/dist-es/commands/CreateKeyCommand.js +2 -14
  7. package/dist-es/commands/DeleteAliasCommand.js +2 -14
  8. package/dist-es/commands/DeleteKeyCommand.js +2 -14
  9. package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -14
  10. package/dist-es/commands/DisableDefaultKeyReplicationRegionsCommand.js +2 -14
  11. package/dist-es/commands/DisassociateMpaTeamCommand.js +2 -14
  12. package/dist-es/commands/EnableDefaultKeyReplicationRegionsCommand.js +2 -14
  13. package/dist-es/commands/ExportKeyCommand.js +2 -14
  14. package/dist-es/commands/GetAliasCommand.js +2 -14
  15. package/dist-es/commands/GetCertificateSigningRequestCommand.js +2 -14
  16. package/dist-es/commands/GetDefaultKeyReplicationRegionsCommand.js +2 -14
  17. package/dist-es/commands/GetKeyCommand.js +2 -14
  18. package/dist-es/commands/GetMpaTeamAssociationCommand.js +2 -14
  19. package/dist-es/commands/GetParametersForExportCommand.js +2 -14
  20. package/dist-es/commands/GetParametersForImportCommand.js +2 -14
  21. package/dist-es/commands/GetPublicKeyCertificateCommand.js +2 -14
  22. package/dist-es/commands/GetResourcePolicyCommand.js +2 -14
  23. package/dist-es/commands/ImportKeyCommand.js +2 -14
  24. package/dist-es/commands/ListAliasesCommand.js +2 -14
  25. package/dist-es/commands/ListKeysCommand.js +2 -14
  26. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  27. package/dist-es/commands/PutResourcePolicyCommand.js +2 -14
  28. package/dist-es/commands/RemoveKeyReplicationRegionsCommand.js +2 -14
  29. package/dist-es/commands/RestoreKeyCommand.js +2 -14
  30. package/dist-es/commands/StartKeyUsageCommand.js +2 -14
  31. package/dist-es/commands/StopKeyUsageCommand.js +2 -14
  32. package/dist-es/commands/TagResourceCommand.js +2 -14
  33. package/dist-es/commands/UntagResourceCommand.js +2 -14
  34. package/dist-es/commands/UpdateAliasCommand.js +2 -14
  35. package/dist-es/index.js +1 -0
  36. package/dist-types/commandBuilder.d.ts +18 -0
  37. package/dist-types/commands/AddKeyReplicationRegionsCommand.d.ts +3 -8
  38. package/dist-types/commands/AssociateMpaTeamCommand.d.ts +3 -8
  39. package/dist-types/commands/CreateAliasCommand.d.ts +3 -8
  40. package/dist-types/commands/CreateKeyCommand.d.ts +3 -8
  41. package/dist-types/commands/DeleteAliasCommand.d.ts +3 -8
  42. package/dist-types/commands/DeleteKeyCommand.d.ts +3 -8
  43. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -8
  44. package/dist-types/commands/DisableDefaultKeyReplicationRegionsCommand.d.ts +3 -8
  45. package/dist-types/commands/DisassociateMpaTeamCommand.d.ts +3 -8
  46. package/dist-types/commands/EnableDefaultKeyReplicationRegionsCommand.d.ts +3 -8
  47. package/dist-types/commands/ExportKeyCommand.d.ts +3 -8
  48. package/dist-types/commands/GetAliasCommand.d.ts +3 -8
  49. package/dist-types/commands/GetCertificateSigningRequestCommand.d.ts +3 -8
  50. package/dist-types/commands/GetDefaultKeyReplicationRegionsCommand.d.ts +3 -8
  51. package/dist-types/commands/GetKeyCommand.d.ts +3 -8
  52. package/dist-types/commands/GetMpaTeamAssociationCommand.d.ts +3 -8
  53. package/dist-types/commands/GetParametersForExportCommand.d.ts +3 -8
  54. package/dist-types/commands/GetParametersForImportCommand.d.ts +3 -8
  55. package/dist-types/commands/GetPublicKeyCertificateCommand.d.ts +3 -8
  56. package/dist-types/commands/GetResourcePolicyCommand.d.ts +3 -8
  57. package/dist-types/commands/ImportKeyCommand.d.ts +3 -8
  58. package/dist-types/commands/ListAliasesCommand.d.ts +3 -8
  59. package/dist-types/commands/ListKeysCommand.d.ts +3 -8
  60. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  61. package/dist-types/commands/PutResourcePolicyCommand.d.ts +3 -8
  62. package/dist-types/commands/RemoveKeyReplicationRegionsCommand.d.ts +3 -8
  63. package/dist-types/commands/RestoreKeyCommand.d.ts +3 -8
  64. package/dist-types/commands/StartKeyUsageCommand.d.ts +3 -8
  65. package/dist-types/commands/StopKeyUsageCommand.d.ts +3 -8
  66. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  67. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  68. package/dist-types/commands/UpdateAliasCommand.d.ts +3 -8
  69. package/dist-types/index.d.ts +1 -0
  70. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  71. package/dist-types/ts3.4/commands/AddKeyReplicationRegionsCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/AssociateMpaTeamCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/CreateKeyCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/DeleteKeyCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/DisableDefaultKeyReplicationRegionsCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/DisassociateMpaTeamCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/EnableDefaultKeyReplicationRegionsCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/ExportKeyCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/GetAliasCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/GetCertificateSigningRequestCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/GetDefaultKeyReplicationRegionsCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/GetKeyCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/GetMpaTeamAssociationCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/GetParametersForExportCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/GetParametersForImportCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/GetPublicKeyCertificateCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/ImportKeyCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/RemoveKeyReplicationRegionsCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/RestoreKeyCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/StartKeyUsageCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/StopKeyUsageCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/index.d.ts +1 -0
  104. package/package.json +8 -8
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1078.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -1312,388 +1313,104 @@ class PaymentCryptographyClient extends Client {
1312
1313
  }
1313
1314
  }
1314
1315
 
1315
- class AddKeyReplicationRegionsCommand extends Command
1316
- .classBuilder()
1317
- .ep(commonParams)
1318
- .m(function (Command, cs, config, o) {
1319
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1320
- })
1321
- .s("PaymentCryptographyControlPlane", "AddKeyReplicationRegions", {})
1322
- .n("PaymentCryptographyClient", "AddKeyReplicationRegionsCommand")
1323
- .sc(AddKeyReplicationRegions$)
1324
- .build() {
1316
+ const command = makeBuilder(commonParams, "PaymentCryptographyControlPlane", "PaymentCryptographyClient", getEndpointPlugin);
1317
+ const _ep0 = {};
1318
+ const _mw0 = (Command, cs, config, o) => [];
1319
+
1320
+ class AddKeyReplicationRegionsCommand extends command(_ep0, _mw0, "AddKeyReplicationRegions", AddKeyReplicationRegions$) {
1325
1321
  }
1326
1322
 
1327
- class AssociateMpaTeamCommand extends Command
1328
- .classBuilder()
1329
- .ep(commonParams)
1330
- .m(function (Command, cs, config, o) {
1331
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1332
- })
1333
- .s("PaymentCryptographyControlPlane", "AssociateMpaTeam", {})
1334
- .n("PaymentCryptographyClient", "AssociateMpaTeamCommand")
1335
- .sc(AssociateMpaTeam$)
1336
- .build() {
1323
+ class AssociateMpaTeamCommand extends command(_ep0, _mw0, "AssociateMpaTeam", AssociateMpaTeam$) {
1337
1324
  }
1338
1325
 
1339
- class CreateAliasCommand extends Command
1340
- .classBuilder()
1341
- .ep(commonParams)
1342
- .m(function (Command, cs, config, o) {
1343
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1344
- })
1345
- .s("PaymentCryptographyControlPlane", "CreateAlias", {})
1346
- .n("PaymentCryptographyClient", "CreateAliasCommand")
1347
- .sc(CreateAlias$)
1348
- .build() {
1326
+ class CreateAliasCommand extends command(_ep0, _mw0, "CreateAlias", CreateAlias$) {
1349
1327
  }
1350
1328
 
1351
- class CreateKeyCommand extends Command
1352
- .classBuilder()
1353
- .ep(commonParams)
1354
- .m(function (Command, cs, config, o) {
1355
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1356
- })
1357
- .s("PaymentCryptographyControlPlane", "CreateKey", {})
1358
- .n("PaymentCryptographyClient", "CreateKeyCommand")
1359
- .sc(CreateKey$)
1360
- .build() {
1329
+ class CreateKeyCommand extends command(_ep0, _mw0, "CreateKey", CreateKey$) {
1361
1330
  }
1362
1331
 
1363
- class DeleteAliasCommand extends Command
1364
- .classBuilder()
1365
- .ep(commonParams)
1366
- .m(function (Command, cs, config, o) {
1367
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1368
- })
1369
- .s("PaymentCryptographyControlPlane", "DeleteAlias", {})
1370
- .n("PaymentCryptographyClient", "DeleteAliasCommand")
1371
- .sc(DeleteAlias$)
1372
- .build() {
1332
+ class DeleteAliasCommand extends command(_ep0, _mw0, "DeleteAlias", DeleteAlias$) {
1373
1333
  }
1374
1334
 
1375
- class DeleteKeyCommand extends Command
1376
- .classBuilder()
1377
- .ep(commonParams)
1378
- .m(function (Command, cs, config, o) {
1379
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1380
- })
1381
- .s("PaymentCryptographyControlPlane", "DeleteKey", {})
1382
- .n("PaymentCryptographyClient", "DeleteKeyCommand")
1383
- .sc(DeleteKey$)
1384
- .build() {
1335
+ class DeleteKeyCommand extends command(_ep0, _mw0, "DeleteKey", DeleteKey$) {
1385
1336
  }
1386
1337
 
1387
- class DeleteResourcePolicyCommand extends Command
1388
- .classBuilder()
1389
- .ep(commonParams)
1390
- .m(function (Command, cs, config, o) {
1391
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1392
- })
1393
- .s("PaymentCryptographyControlPlane", "DeleteResourcePolicy", {})
1394
- .n("PaymentCryptographyClient", "DeleteResourcePolicyCommand")
1395
- .sc(DeleteResourcePolicy$)
1396
- .build() {
1338
+ class DeleteResourcePolicyCommand extends command(_ep0, _mw0, "DeleteResourcePolicy", DeleteResourcePolicy$) {
1397
1339
  }
1398
1340
 
1399
- class DisableDefaultKeyReplicationRegionsCommand extends Command
1400
- .classBuilder()
1401
- .ep(commonParams)
1402
- .m(function (Command, cs, config, o) {
1403
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1404
- })
1405
- .s("PaymentCryptographyControlPlane", "DisableDefaultKeyReplicationRegions", {})
1406
- .n("PaymentCryptographyClient", "DisableDefaultKeyReplicationRegionsCommand")
1407
- .sc(DisableDefaultKeyReplicationRegions$)
1408
- .build() {
1341
+ class DisableDefaultKeyReplicationRegionsCommand extends command(_ep0, _mw0, "DisableDefaultKeyReplicationRegions", DisableDefaultKeyReplicationRegions$) {
1409
1342
  }
1410
1343
 
1411
- class DisassociateMpaTeamCommand extends Command
1412
- .classBuilder()
1413
- .ep(commonParams)
1414
- .m(function (Command, cs, config, o) {
1415
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1416
- })
1417
- .s("PaymentCryptographyControlPlane", "DisassociateMpaTeam", {})
1418
- .n("PaymentCryptographyClient", "DisassociateMpaTeamCommand")
1419
- .sc(DisassociateMpaTeam$)
1420
- .build() {
1344
+ class DisassociateMpaTeamCommand extends command(_ep0, _mw0, "DisassociateMpaTeam", DisassociateMpaTeam$) {
1421
1345
  }
1422
1346
 
1423
- class EnableDefaultKeyReplicationRegionsCommand extends Command
1424
- .classBuilder()
1425
- .ep(commonParams)
1426
- .m(function (Command, cs, config, o) {
1427
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1428
- })
1429
- .s("PaymentCryptographyControlPlane", "EnableDefaultKeyReplicationRegions", {})
1430
- .n("PaymentCryptographyClient", "EnableDefaultKeyReplicationRegionsCommand")
1431
- .sc(EnableDefaultKeyReplicationRegions$)
1432
- .build() {
1347
+ class EnableDefaultKeyReplicationRegionsCommand extends command(_ep0, _mw0, "EnableDefaultKeyReplicationRegions", EnableDefaultKeyReplicationRegions$) {
1433
1348
  }
1434
1349
 
1435
- class ExportKeyCommand extends Command
1436
- .classBuilder()
1437
- .ep(commonParams)
1438
- .m(function (Command, cs, config, o) {
1439
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1440
- })
1441
- .s("PaymentCryptographyControlPlane", "ExportKey", {})
1442
- .n("PaymentCryptographyClient", "ExportKeyCommand")
1443
- .sc(ExportKey$)
1444
- .build() {
1350
+ class ExportKeyCommand extends command(_ep0, _mw0, "ExportKey", ExportKey$) {
1445
1351
  }
1446
1352
 
1447
- class GetAliasCommand extends Command
1448
- .classBuilder()
1449
- .ep(commonParams)
1450
- .m(function (Command, cs, config, o) {
1451
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1452
- })
1453
- .s("PaymentCryptographyControlPlane", "GetAlias", {})
1454
- .n("PaymentCryptographyClient", "GetAliasCommand")
1455
- .sc(GetAlias$)
1456
- .build() {
1353
+ class GetAliasCommand extends command(_ep0, _mw0, "GetAlias", GetAlias$) {
1457
1354
  }
1458
1355
 
1459
- class GetCertificateSigningRequestCommand extends Command
1460
- .classBuilder()
1461
- .ep(commonParams)
1462
- .m(function (Command, cs, config, o) {
1463
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1464
- })
1465
- .s("PaymentCryptographyControlPlane", "GetCertificateSigningRequest", {})
1466
- .n("PaymentCryptographyClient", "GetCertificateSigningRequestCommand")
1467
- .sc(GetCertificateSigningRequest$)
1468
- .build() {
1356
+ class GetCertificateSigningRequestCommand extends command(_ep0, _mw0, "GetCertificateSigningRequest", GetCertificateSigningRequest$) {
1469
1357
  }
1470
1358
 
1471
- class GetDefaultKeyReplicationRegionsCommand extends Command
1472
- .classBuilder()
1473
- .ep(commonParams)
1474
- .m(function (Command, cs, config, o) {
1475
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1476
- })
1477
- .s("PaymentCryptographyControlPlane", "GetDefaultKeyReplicationRegions", {})
1478
- .n("PaymentCryptographyClient", "GetDefaultKeyReplicationRegionsCommand")
1479
- .sc(GetDefaultKeyReplicationRegions$)
1480
- .build() {
1359
+ class GetDefaultKeyReplicationRegionsCommand extends command(_ep0, _mw0, "GetDefaultKeyReplicationRegions", GetDefaultKeyReplicationRegions$) {
1481
1360
  }
1482
1361
 
1483
- class GetKeyCommand extends Command
1484
- .classBuilder()
1485
- .ep(commonParams)
1486
- .m(function (Command, cs, config, o) {
1487
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1488
- })
1489
- .s("PaymentCryptographyControlPlane", "GetKey", {})
1490
- .n("PaymentCryptographyClient", "GetKeyCommand")
1491
- .sc(GetKey$)
1492
- .build() {
1362
+ class GetKeyCommand extends command(_ep0, _mw0, "GetKey", GetKey$) {
1493
1363
  }
1494
1364
 
1495
- class GetMpaTeamAssociationCommand extends Command
1496
- .classBuilder()
1497
- .ep(commonParams)
1498
- .m(function (Command, cs, config, o) {
1499
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1500
- })
1501
- .s("PaymentCryptographyControlPlane", "GetMpaTeamAssociation", {})
1502
- .n("PaymentCryptographyClient", "GetMpaTeamAssociationCommand")
1503
- .sc(GetMpaTeamAssociation$)
1504
- .build() {
1365
+ class GetMpaTeamAssociationCommand extends command(_ep0, _mw0, "GetMpaTeamAssociation", GetMpaTeamAssociation$) {
1505
1366
  }
1506
1367
 
1507
- class GetParametersForExportCommand extends Command
1508
- .classBuilder()
1509
- .ep(commonParams)
1510
- .m(function (Command, cs, config, o) {
1511
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1512
- })
1513
- .s("PaymentCryptographyControlPlane", "GetParametersForExport", {})
1514
- .n("PaymentCryptographyClient", "GetParametersForExportCommand")
1515
- .sc(GetParametersForExport$)
1516
- .build() {
1368
+ class GetParametersForExportCommand extends command(_ep0, _mw0, "GetParametersForExport", GetParametersForExport$) {
1517
1369
  }
1518
1370
 
1519
- class GetParametersForImportCommand extends Command
1520
- .classBuilder()
1521
- .ep(commonParams)
1522
- .m(function (Command, cs, config, o) {
1523
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1524
- })
1525
- .s("PaymentCryptographyControlPlane", "GetParametersForImport", {})
1526
- .n("PaymentCryptographyClient", "GetParametersForImportCommand")
1527
- .sc(GetParametersForImport$)
1528
- .build() {
1371
+ class GetParametersForImportCommand extends command(_ep0, _mw0, "GetParametersForImport", GetParametersForImport$) {
1529
1372
  }
1530
1373
 
1531
- class GetPublicKeyCertificateCommand extends Command
1532
- .classBuilder()
1533
- .ep(commonParams)
1534
- .m(function (Command, cs, config, o) {
1535
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1536
- })
1537
- .s("PaymentCryptographyControlPlane", "GetPublicKeyCertificate", {})
1538
- .n("PaymentCryptographyClient", "GetPublicKeyCertificateCommand")
1539
- .sc(GetPublicKeyCertificate$)
1540
- .build() {
1374
+ class GetPublicKeyCertificateCommand extends command(_ep0, _mw0, "GetPublicKeyCertificate", GetPublicKeyCertificate$) {
1541
1375
  }
1542
1376
 
1543
- class GetResourcePolicyCommand extends Command
1544
- .classBuilder()
1545
- .ep(commonParams)
1546
- .m(function (Command, cs, config, o) {
1547
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1548
- })
1549
- .s("PaymentCryptographyControlPlane", "GetResourcePolicy", {})
1550
- .n("PaymentCryptographyClient", "GetResourcePolicyCommand")
1551
- .sc(GetResourcePolicy$)
1552
- .build() {
1377
+ class GetResourcePolicyCommand extends command(_ep0, _mw0, "GetResourcePolicy", GetResourcePolicy$) {
1553
1378
  }
1554
1379
 
1555
- class ImportKeyCommand extends Command
1556
- .classBuilder()
1557
- .ep(commonParams)
1558
- .m(function (Command, cs, config, o) {
1559
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1560
- })
1561
- .s("PaymentCryptographyControlPlane", "ImportKey", {})
1562
- .n("PaymentCryptographyClient", "ImportKeyCommand")
1563
- .sc(ImportKey$)
1564
- .build() {
1380
+ class ImportKeyCommand extends command(_ep0, _mw0, "ImportKey", ImportKey$) {
1565
1381
  }
1566
1382
 
1567
- class ListAliasesCommand extends Command
1568
- .classBuilder()
1569
- .ep(commonParams)
1570
- .m(function (Command, cs, config, o) {
1571
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1572
- })
1573
- .s("PaymentCryptographyControlPlane", "ListAliases", {})
1574
- .n("PaymentCryptographyClient", "ListAliasesCommand")
1575
- .sc(ListAliases$)
1576
- .build() {
1383
+ class ListAliasesCommand extends command(_ep0, _mw0, "ListAliases", ListAliases$) {
1577
1384
  }
1578
1385
 
1579
- class ListKeysCommand extends Command
1580
- .classBuilder()
1581
- .ep(commonParams)
1582
- .m(function (Command, cs, config, o) {
1583
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1584
- })
1585
- .s("PaymentCryptographyControlPlane", "ListKeys", {})
1586
- .n("PaymentCryptographyClient", "ListKeysCommand")
1587
- .sc(ListKeys$)
1588
- .build() {
1386
+ class ListKeysCommand extends command(_ep0, _mw0, "ListKeys", ListKeys$) {
1589
1387
  }
1590
1388
 
1591
- class ListTagsForResourceCommand extends Command
1592
- .classBuilder()
1593
- .ep(commonParams)
1594
- .m(function (Command, cs, config, o) {
1595
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1596
- })
1597
- .s("PaymentCryptographyControlPlane", "ListTagsForResource", {})
1598
- .n("PaymentCryptographyClient", "ListTagsForResourceCommand")
1599
- .sc(ListTagsForResource$)
1600
- .build() {
1389
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1601
1390
  }
1602
1391
 
1603
- class PutResourcePolicyCommand extends Command
1604
- .classBuilder()
1605
- .ep(commonParams)
1606
- .m(function (Command, cs, config, o) {
1607
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1608
- })
1609
- .s("PaymentCryptographyControlPlane", "PutResourcePolicy", {})
1610
- .n("PaymentCryptographyClient", "PutResourcePolicyCommand")
1611
- .sc(PutResourcePolicy$)
1612
- .build() {
1392
+ class PutResourcePolicyCommand extends command(_ep0, _mw0, "PutResourcePolicy", PutResourcePolicy$) {
1613
1393
  }
1614
1394
 
1615
- class RemoveKeyReplicationRegionsCommand extends Command
1616
- .classBuilder()
1617
- .ep(commonParams)
1618
- .m(function (Command, cs, config, o) {
1619
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1620
- })
1621
- .s("PaymentCryptographyControlPlane", "RemoveKeyReplicationRegions", {})
1622
- .n("PaymentCryptographyClient", "RemoveKeyReplicationRegionsCommand")
1623
- .sc(RemoveKeyReplicationRegions$)
1624
- .build() {
1395
+ class RemoveKeyReplicationRegionsCommand extends command(_ep0, _mw0, "RemoveKeyReplicationRegions", RemoveKeyReplicationRegions$) {
1625
1396
  }
1626
1397
 
1627
- class RestoreKeyCommand extends Command
1628
- .classBuilder()
1629
- .ep(commonParams)
1630
- .m(function (Command, cs, config, o) {
1631
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1632
- })
1633
- .s("PaymentCryptographyControlPlane", "RestoreKey", {})
1634
- .n("PaymentCryptographyClient", "RestoreKeyCommand")
1635
- .sc(RestoreKey$)
1636
- .build() {
1398
+ class RestoreKeyCommand extends command(_ep0, _mw0, "RestoreKey", RestoreKey$) {
1637
1399
  }
1638
1400
 
1639
- class StartKeyUsageCommand extends Command
1640
- .classBuilder()
1641
- .ep(commonParams)
1642
- .m(function (Command, cs, config, o) {
1643
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1644
- })
1645
- .s("PaymentCryptographyControlPlane", "StartKeyUsage", {})
1646
- .n("PaymentCryptographyClient", "StartKeyUsageCommand")
1647
- .sc(StartKeyUsage$)
1648
- .build() {
1401
+ class StartKeyUsageCommand extends command(_ep0, _mw0, "StartKeyUsage", StartKeyUsage$) {
1649
1402
  }
1650
1403
 
1651
- class StopKeyUsageCommand extends Command
1652
- .classBuilder()
1653
- .ep(commonParams)
1654
- .m(function (Command, cs, config, o) {
1655
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1656
- })
1657
- .s("PaymentCryptographyControlPlane", "StopKeyUsage", {})
1658
- .n("PaymentCryptographyClient", "StopKeyUsageCommand")
1659
- .sc(StopKeyUsage$)
1660
- .build() {
1404
+ class StopKeyUsageCommand extends command(_ep0, _mw0, "StopKeyUsage", StopKeyUsage$) {
1661
1405
  }
1662
1406
 
1663
- class TagResourceCommand extends Command
1664
- .classBuilder()
1665
- .ep(commonParams)
1666
- .m(function (Command, cs, config, o) {
1667
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1668
- })
1669
- .s("PaymentCryptographyControlPlane", "TagResource", {})
1670
- .n("PaymentCryptographyClient", "TagResourceCommand")
1671
- .sc(TagResource$)
1672
- .build() {
1407
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1673
1408
  }
1674
1409
 
1675
- class UntagResourceCommand extends Command
1676
- .classBuilder()
1677
- .ep(commonParams)
1678
- .m(function (Command, cs, config, o) {
1679
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1680
- })
1681
- .s("PaymentCryptographyControlPlane", "UntagResource", {})
1682
- .n("PaymentCryptographyClient", "UntagResourceCommand")
1683
- .sc(UntagResource$)
1684
- .build() {
1410
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1685
1411
  }
1686
1412
 
1687
- class UpdateAliasCommand extends Command
1688
- .classBuilder()
1689
- .ep(commonParams)
1690
- .m(function (Command, cs, config, o) {
1691
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1692
- })
1693
- .s("PaymentCryptographyControlPlane", "UpdateAlias", {})
1694
- .n("PaymentCryptographyClient", "UpdateAliasCommand")
1695
- .sc(UpdateAlias$)
1696
- .build() {
1413
+ class UpdateAliasCommand extends command(_ep0, _mw0, "UpdateAlias", UpdateAlias$) {
1697
1414
  }
1698
1415
 
1699
1416
  const paginateListAliases = createPaginator(PaymentCryptographyClient, ListAliasesCommand, "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, "PaymentCryptographyControlPlane", "PaymentCryptographyClient", 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 { AddKeyReplicationRegions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AddKeyReplicationRegionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PaymentCryptographyControlPlane", "AddKeyReplicationRegions", {})
13
- .n("PaymentCryptographyClient", "AddKeyReplicationRegionsCommand")
14
- .sc(AddKeyReplicationRegions$)
15
- .build() {
3
+ export class AddKeyReplicationRegionsCommand extends command(_ep0, _mw0, "AddKeyReplicationRegions", AddKeyReplicationRegions$) {
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 { AssociateMpaTeam$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AssociateMpaTeamCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PaymentCryptographyControlPlane", "AssociateMpaTeam", {})
13
- .n("PaymentCryptographyClient", "AssociateMpaTeamCommand")
14
- .sc(AssociateMpaTeam$)
15
- .build() {
3
+ export class AssociateMpaTeamCommand extends command(_ep0, _mw0, "AssociateMpaTeam", AssociateMpaTeam$) {
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 { CreateAlias$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateAliasCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PaymentCryptographyControlPlane", "CreateAlias", {})
13
- .n("PaymentCryptographyClient", "CreateAliasCommand")
14
- .sc(CreateAlias$)
15
- .build() {
3
+ export class CreateAliasCommand extends command(_ep0, _mw0, "CreateAlias", CreateAlias$) {
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 { CreateKey$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateKeyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PaymentCryptographyControlPlane", "CreateKey", {})
13
- .n("PaymentCryptographyClient", "CreateKeyCommand")
14
- .sc(CreateKey$)
15
- .build() {
3
+ export class CreateKeyCommand extends command(_ep0, _mw0, "CreateKey", CreateKey$) {
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 { DeleteAlias$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteAliasCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PaymentCryptographyControlPlane", "DeleteAlias", {})
13
- .n("PaymentCryptographyClient", "DeleteAliasCommand")
14
- .sc(DeleteAlias$)
15
- .build() {
3
+ export class DeleteAliasCommand extends command(_ep0, _mw0, "DeleteAlias", DeleteAlias$) {
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 { DeleteKey$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteKeyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PaymentCryptographyControlPlane", "DeleteKey", {})
13
- .n("PaymentCryptographyClient", "DeleteKeyCommand")
14
- .sc(DeleteKey$)
15
- .build() {
3
+ export class DeleteKeyCommand extends command(_ep0, _mw0, "DeleteKey", DeleteKey$) {
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 { DeleteResourcePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteResourcePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PaymentCryptographyControlPlane", "DeleteResourcePolicy", {})
13
- .n("PaymentCryptographyClient", "DeleteResourcePolicyCommand")
14
- .sc(DeleteResourcePolicy$)
15
- .build() {
3
+ export class DeleteResourcePolicyCommand extends command(_ep0, _mw0, "DeleteResourcePolicy", DeleteResourcePolicy$) {
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 { DisableDefaultKeyReplicationRegions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisableDefaultKeyReplicationRegionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PaymentCryptographyControlPlane", "DisableDefaultKeyReplicationRegions", {})
13
- .n("PaymentCryptographyClient", "DisableDefaultKeyReplicationRegionsCommand")
14
- .sc(DisableDefaultKeyReplicationRegions$)
15
- .build() {
3
+ export class DisableDefaultKeyReplicationRegionsCommand extends command(_ep0, _mw0, "DisableDefaultKeyReplicationRegions", DisableDefaultKeyReplicationRegions$) {
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 { DisassociateMpaTeam$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisassociateMpaTeamCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PaymentCryptographyControlPlane", "DisassociateMpaTeam", {})
13
- .n("PaymentCryptographyClient", "DisassociateMpaTeamCommand")
14
- .sc(DisassociateMpaTeam$)
15
- .build() {
3
+ export class DisassociateMpaTeamCommand extends command(_ep0, _mw0, "DisassociateMpaTeam", DisassociateMpaTeam$) {
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 { EnableDefaultKeyReplicationRegions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class EnableDefaultKeyReplicationRegionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PaymentCryptographyControlPlane", "EnableDefaultKeyReplicationRegions", {})
13
- .n("PaymentCryptographyClient", "EnableDefaultKeyReplicationRegionsCommand")
14
- .sc(EnableDefaultKeyReplicationRegions$)
15
- .build() {
3
+ export class EnableDefaultKeyReplicationRegionsCommand extends command(_ep0, _mw0, "EnableDefaultKeyReplicationRegions", EnableDefaultKeyReplicationRegions$) {
16
4
  }