@aws-sdk/client-payment-cryptography 3.1076.0 → 3.1078.0

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