@aws-sdk/client-payment-cryptography 3.1074.0 → 3.1076.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.
package/dist-cjs/index.js CHANGED
@@ -1,21 +1,57 @@
1
- var __exportStar = (m, e) => { Object.assign(e, m); };
2
- const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
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");
3
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
4
- const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
5
4
  exports.$Command = Command;
6
5
  exports.__Client = Client;
7
- const { resolveRegionConfig } = require("@smithy/core/config");
8
- const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
9
- const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
10
- const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
11
- const { getSchemaSerdePlugin } = require("@smithy/core/schema");
12
- const { resolveHttpAuthSchemeConfig, defaultPaymentCryptographyHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
- const { getRuntimeConfig } = require("./runtimeConfig");
14
- const { AddKeyReplicationRegions$, AssociateMpaTeam$, CreateAlias$, CreateKey$, DeleteAlias$, DeleteKey$, DeleteResourcePolicy$, DisableDefaultKeyReplicationRegions$, DisassociateMpaTeam$, EnableDefaultKeyReplicationRegions$, ExportKey$, GetAlias$, GetCertificateSigningRequest$, GetDefaultKeyReplicationRegions$, GetKey$, GetMpaTeamAssociation$, GetParametersForExport$, GetParametersForImport$, GetPublicKeyCertificate$, GetResourcePolicy$, ImportKey$, ListAliases$, ListKeys$, ListTagsForResource$, PutResourcePolicy$, RemoveKeyReplicationRegions$, RestoreKey$, StartKeyUsage$, StopKeyUsage$, TagResource$, UntagResource$, UpdateAlias$ } = require("./schemas/schemas_0");
15
- __exportStar(require("./schemas/schemas_0"), exports);
16
- __exportStar(require("./models/errors"), exports);
17
- const { PaymentCryptographyServiceException } = require("./models/PaymentCryptographyServiceException");
18
- exports.PaymentCryptographyServiceException = PaymentCryptographyServiceException;
6
+ 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
+ const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
8
+ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
9
+ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
10
+ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
+ const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
+ const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
+ const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
+ const { AwsJson1_0Protocol } = require("@aws-sdk/core/protocols");
16
+
17
+ const defaultPaymentCryptographyHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
+ return {
19
+ operation: getSmithyContext(context).operation,
20
+ region: await normalizeProvider(config.region)() || (() => {
21
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
22
+ })(),
23
+ };
24
+ };
25
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
26
+ return {
27
+ schemeId: "aws.auth#sigv4",
28
+ signingProperties: {
29
+ name: "payment-cryptography",
30
+ region: authParameters.region,
31
+ },
32
+ propertiesExtractor: (config, context) => ({
33
+ signingProperties: {
34
+ config,
35
+ context,
36
+ },
37
+ }),
38
+ };
39
+ }
40
+ const defaultPaymentCryptographyHttpAuthSchemeProvider = (authParameters) => {
41
+ const options = [];
42
+ switch (authParameters.operation) {
43
+ default: {
44
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
45
+ }
46
+ }
47
+ return options;
48
+ };
49
+ const resolveHttpAuthSchemeConfig = (config) => {
50
+ const config_0 = resolveAwsSdkSigV4Config(config);
51
+ return Object.assign(config_0, {
52
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
53
+ });
54
+ };
19
55
 
20
56
  const resolveClientEndpointParameters = (options) => {
21
57
  return Object.assign(options, {
@@ -31,6 +67,1170 @@ const commonParams = {
31
67
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
32
68
  };
33
69
 
70
+ var version = "3.1075.0";
71
+ var packageInfo = {
72
+ version: version};
73
+
74
+ const k = "ref";
75
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
76
+ const _data = {
77
+ conditions: [
78
+ [c, [g]],
79
+ [c, j],
80
+ ["aws.partition", j, d],
81
+ [e, [{ [k]: "UseFIPS" }, b]],
82
+ [e, [{ [k]: "UseDualStack" }, b]],
83
+ [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
84
+ [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
85
+ ],
86
+ results: [
87
+ [a],
88
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
89
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
90
+ [g, i],
91
+ ["https://controlplane.payment-cryptography-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
92
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
93
+ ["https://controlplane.payment-cryptography-fips.{Region}.{PartitionResult#dnsSuffix}", i],
94
+ [a, "FIPS is enabled but this partition does not support FIPS"],
95
+ ["https://controlplane.payment-cryptography.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
96
+ [a, "DualStack is enabled but this partition does not support DualStack"],
97
+ ["https://controlplane.payment-cryptography.{Region}.{PartitionResult#dnsSuffix}", i],
98
+ [a, "Invalid Configuration: Missing Region"]
99
+ ]
100
+ };
101
+ const root = 2;
102
+ const r = 100_000_000;
103
+ const nodes = new Int32Array([
104
+ -1, 1, -1,
105
+ 0, 12, 3,
106
+ 1, 4, r + 11,
107
+ 2, 5, r + 11,
108
+ 3, 8, 6,
109
+ 4, 7, r + 10,
110
+ 5, r + 8, r + 9,
111
+ 4, 10, 9,
112
+ 6, r + 6, r + 7,
113
+ 5, 11, r + 5,
114
+ 6, r + 4, r + 5,
115
+ 3, r + 1, 13,
116
+ 4, r + 2, r + 3,
117
+ ]);
118
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
119
+
120
+ const cache = new EndpointCache({
121
+ size: 50,
122
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
123
+ });
124
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
125
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
126
+ endpointParams: endpointParams,
127
+ logger: context.logger,
128
+ }));
129
+ };
130
+ customEndpointFunctions.aws = awsEndpointFunctions;
131
+
132
+ class PaymentCryptographyServiceException extends ServiceException {
133
+ constructor(options) {
134
+ super(options);
135
+ Object.setPrototypeOf(this, PaymentCryptographyServiceException.prototype);
136
+ }
137
+ }
138
+
139
+ class AccessDeniedException extends PaymentCryptographyServiceException {
140
+ name = "AccessDeniedException";
141
+ $fault = "client";
142
+ Message;
143
+ constructor(opts) {
144
+ super({
145
+ name: "AccessDeniedException",
146
+ $fault: "client",
147
+ ...opts,
148
+ });
149
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
150
+ this.Message = opts.Message;
151
+ }
152
+ }
153
+ class ConflictException extends PaymentCryptographyServiceException {
154
+ name = "ConflictException";
155
+ $fault = "client";
156
+ Message;
157
+ constructor(opts) {
158
+ super({
159
+ name: "ConflictException",
160
+ $fault: "client",
161
+ ...opts,
162
+ });
163
+ Object.setPrototypeOf(this, ConflictException.prototype);
164
+ this.Message = opts.Message;
165
+ }
166
+ }
167
+ class InternalServerException extends PaymentCryptographyServiceException {
168
+ name = "InternalServerException";
169
+ $fault = "server";
170
+ Message;
171
+ constructor(opts) {
172
+ super({
173
+ name: "InternalServerException",
174
+ $fault: "server",
175
+ ...opts,
176
+ });
177
+ Object.setPrototypeOf(this, InternalServerException.prototype);
178
+ this.Message = opts.Message;
179
+ }
180
+ }
181
+ class ResourceNotFoundException extends PaymentCryptographyServiceException {
182
+ name = "ResourceNotFoundException";
183
+ $fault = "client";
184
+ ResourceId;
185
+ constructor(opts) {
186
+ super({
187
+ name: "ResourceNotFoundException",
188
+ $fault: "client",
189
+ ...opts,
190
+ });
191
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
192
+ this.ResourceId = opts.ResourceId;
193
+ }
194
+ }
195
+ class ServiceQuotaExceededException extends PaymentCryptographyServiceException {
196
+ name = "ServiceQuotaExceededException";
197
+ $fault = "client";
198
+ Message;
199
+ constructor(opts) {
200
+ super({
201
+ name: "ServiceQuotaExceededException",
202
+ $fault: "client",
203
+ ...opts,
204
+ });
205
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
206
+ this.Message = opts.Message;
207
+ }
208
+ }
209
+ class ThrottlingException extends PaymentCryptographyServiceException {
210
+ name = "ThrottlingException";
211
+ $fault = "client";
212
+ Message;
213
+ constructor(opts) {
214
+ super({
215
+ name: "ThrottlingException",
216
+ $fault: "client",
217
+ ...opts,
218
+ });
219
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
220
+ this.Message = opts.Message;
221
+ }
222
+ }
223
+ class ValidationException extends PaymentCryptographyServiceException {
224
+ name = "ValidationException";
225
+ $fault = "client";
226
+ Message;
227
+ constructor(opts) {
228
+ super({
229
+ name: "ValidationException",
230
+ $fault: "client",
231
+ ...opts,
232
+ });
233
+ Object.setPrototypeOf(this, ValidationException.prototype);
234
+ this.Message = opts.Message;
235
+ }
236
+ }
237
+ class ServiceUnavailableException extends PaymentCryptographyServiceException {
238
+ name = "ServiceUnavailableException";
239
+ $fault = "server";
240
+ Message;
241
+ constructor(opts) {
242
+ super({
243
+ name: "ServiceUnavailableException",
244
+ $fault: "server",
245
+ ...opts,
246
+ });
247
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
248
+ this.Message = opts.Message;
249
+ }
250
+ }
251
+ class PublicPolicyException extends PaymentCryptographyServiceException {
252
+ name = "PublicPolicyException";
253
+ $fault = "client";
254
+ Message;
255
+ constructor(opts) {
256
+ super({
257
+ name: "PublicPolicyException",
258
+ $fault: "client",
259
+ ...opts,
260
+ });
261
+ Object.setPrototypeOf(this, PublicPolicyException.prototype);
262
+ this.Message = opts.Message;
263
+ }
264
+ }
265
+
266
+ const _A = "Alias";
267
+ const _ADE = "AccessDeniedException";
268
+ const _AKC = "As2805KeyCryptogram";
269
+ const _AKRR = "AddKeyReplicationRegions";
270
+ const _AKRRI = "AddKeyReplicationRegionsInput";
271
+ const _AKRRO = "AddKeyReplicationRegionsOutput";
272
+ const _AKV = "As2805KeyVariant";
273
+ const _AMT = "AssociateMpaTeam";
274
+ const _AMTI = "AssociateMpaTeamInput";
275
+ const _AMTO = "AssociateMpaTeamOutput";
276
+ const _AN = "AliasName";
277
+ const _AS = "AssociationState";
278
+ const _Ac = "Action";
279
+ const _Al = "Aliases";
280
+ const _C = "City";
281
+ const _CA = "CreateAlias";
282
+ const _CAI = "CreateAliasInput";
283
+ const _CAO = "CreateAliasOutput";
284
+ const _CAPKI = "CertificateAuthorityPublicKeyIdentifier";
285
+ const _CE = "ConflictException";
286
+ const _CK = "CreateKey";
287
+ const _CKI = "CreateKeyInput";
288
+ const _CKO = "CreateKeyOutput";
289
+ const _CN = "CommonName";
290
+ const _CS = "CertificateSubject";
291
+ const _CSR = "CertificateSigningRequest";
292
+ const _CSRT = "CertificateSigningRequestType";
293
+ const _CST = "CertificateSubjectType";
294
+ const _CT = "CreateTimestamp";
295
+ const _Co = "Country";
296
+ const _D = "Decrypt";
297
+ const _DA = "DeleteAlias";
298
+ const _DAI = "DeleteAliasInput";
299
+ const _DAO = "DeleteAliasOutput";
300
+ const _DD = "DerivationData";
301
+ const _DDKRR = "DisableDefaultKeyReplicationRegions";
302
+ const _DDKRRI = "DisableDefaultKeyReplicationRegionsInput";
303
+ const _DDKRRO = "DisableDefaultKeyReplicationRegionsOutput";
304
+ const _DHDD = "DiffieHellmanDerivationData";
305
+ const _DHTKB = "DiffieHellmanTr31KeyBlock";
306
+ const _DK = "DeriveKey";
307
+ const _DKA = "DeriveKeyAlgorithm";
308
+ const _DKI = "DeleteKeyInput";
309
+ const _DKID = "DeleteKeyInDays";
310
+ const _DKO = "DeleteKeyOutput";
311
+ const _DKU = "DeriveKeyUsage";
312
+ const _DKe = "DeleteKey";
313
+ const _DMT = "DisassociateMpaTeam";
314
+ const _DMTI = "DisassociateMpaTeamInput";
315
+ const _DMTO = "DisassociateMpaTeamOutput";
316
+ const _DPT = "DeletePendingTimestamp";
317
+ const _DRP = "DeleteResourcePolicy";
318
+ const _DRPI = "DeleteResourcePolicyInput";
319
+ const _DRPO = "DeleteResourcePolicyOutput";
320
+ const _DT = "DeleteTimestamp";
321
+ const _E = "Exportable";
322
+ const _EA = "EmailAddress";
323
+ const _EAKC = "ExportAs2805KeyCryptogram";
324
+ const _EAx = "ExportAttributes";
325
+ const _EDHTKB = "ExportDiffieHellmanTr31KeyBlock";
326
+ const _EDIK = "ExportDukptInitialKey";
327
+ const _EDKRR = "EnableDefaultKeyReplicationRegions";
328
+ const _EDKRRI = "EnableDefaultKeyReplicationRegionsInput";
329
+ const _EDKRRO = "EnableDefaultKeyReplicationRegionsOutput";
330
+ const _EK = "ExportKey";
331
+ const _EKC = "ExportKeyCryptogram";
332
+ const _EKI = "ExportKeyInput";
333
+ const _EKIx = "ExportKeyIdentifier";
334
+ const _EKM = "ExportKeyMaterial";
335
+ const _EKO = "ExportKeyOutput";
336
+ const _ERR = "EnabledReplicationRegions";
337
+ const _ET = "ExportToken";
338
+ const _ETKB = "ExportTr31KeyBlock";
339
+ const _ETKBx = "ExportTr34KeyBlock";
340
+ const _En = "Enabled";
341
+ const _Enc = "Encrypt";
342
+ const _G = "Generate";
343
+ const _GA = "GetAlias";
344
+ const _GAI = "GetAliasInput";
345
+ const _GAO = "GetAliasOutput";
346
+ const _GCSR = "GetCertificateSigningRequest";
347
+ const _GCSRI = "GetCertificateSigningRequestInput";
348
+ const _GCSRO = "GetCertificateSigningRequestOutput";
349
+ const _GDKRR = "GetDefaultKeyReplicationRegions";
350
+ const _GDKRRI = "GetDefaultKeyReplicationRegionsInput";
351
+ const _GDKRRO = "GetDefaultKeyReplicationRegionsOutput";
352
+ const _GK = "GetKey";
353
+ const _GKI = "GetKeyInput";
354
+ const _GKO = "GetKeyOutput";
355
+ const _GMTA = "GetMpaTeamAssociation";
356
+ const _GMTAI = "GetMpaTeamAssociationInput";
357
+ const _GMTAO = "GetMpaTeamAssociationOutput";
358
+ const _GPFE = "GetParametersForExport";
359
+ const _GPFEI = "GetParametersForExportInput";
360
+ const _GPFEO = "GetParametersForExportOutput";
361
+ const _GPFI = "GetParametersForImport";
362
+ const _GPFII = "GetParametersForImportInput";
363
+ const _GPFIO = "GetParametersForImportOutput";
364
+ const _GPKC = "GetPublicKeyCertificate";
365
+ const _GPKCI = "GetPublicKeyCertificateInput";
366
+ const _GPKCO = "GetPublicKeyCertificateOutput";
367
+ const _GRP = "GetResourcePolicy";
368
+ const _GRPI = "GetResourcePolicyInput";
369
+ const _GRPO = "GetResourcePolicyOutput";
370
+ const _IAKC = "ImportAs2805KeyCryptogram";
371
+ const _ID = "InitiationDate";
372
+ const _IDHTKB = "ImportDiffieHellmanTr31KeyBlock";
373
+ const _IK = "ImportKey";
374
+ const _IKC = "ImportKeyCryptogram";
375
+ const _IKI = "ImportKeyInput";
376
+ const _IKM = "ImportKeyMaterial";
377
+ const _IKO = "ImportKeyOutput";
378
+ const _ISE = "InternalServerException";
379
+ const _IT = "ImportToken";
380
+ const _ITKB = "ImportTr31KeyBlock";
381
+ const _ITKBm = "ImportTr34KeyBlock";
382
+ const _K = "Key";
383
+ const _KA = "KeyArn";
384
+ const _KAe = "KeyAttributes";
385
+ const _KAey = "KeyAlgorithm";
386
+ const _KBF = "KeyBlockFormat";
387
+ const _KBH = "KeyBlockHeaders";
388
+ const _KC = "KeyCertificate";
389
+ const _KCC = "KeyCertificateChain";
390
+ const _KCV = "KeyCheckValue";
391
+ const _KCVA = "KeyCheckValueAlgorithm";
392
+ const _KCe = "KeyClass";
393
+ const _KCey = "KeyCryptogram";
394
+ const _KDF = "KeyDerivationFunction";
395
+ const _KDHA = "KeyDerivationHashAlgorithm";
396
+ const _KE = "KeyExportability";
397
+ const _KI = "KeyIdentifier";
398
+ const _KM = "KeyMaterial";
399
+ const _KMOU = "KeyModesOfUse";
400
+ const _KMT = "KeyMaterialType";
401
+ const _KO = "KeyOrigin";
402
+ const _KS = "KeyState";
403
+ const _KSL = "KeySummaryList";
404
+ const _KSN = "KeySerialNumber";
405
+ const _KSe = "KeySummary";
406
+ const _KU = "KeyUsage";
407
+ const _KV = "KeyVersion";
408
+ const _Ke = "Keys";
409
+ const _LA = "ListAliases";
410
+ const _LAI = "ListAliasesInput";
411
+ const _LAO = "ListAliasesOutput";
412
+ const _LK = "ListKeys";
413
+ const _LKI = "ListKeysInput";
414
+ const _LKO = "ListKeysOutput";
415
+ const _LTFR = "ListTagsForResource";
416
+ const _LTFRI = "ListTagsForResourceInput";
417
+ const _LTFRO = "ListTagsForResourceOutput";
418
+ const _M = "Message";
419
+ const _MR = "MaxResults";
420
+ const _MRC = "MpaRequesterComment";
421
+ const _MRKT = "MultiRegionKeyType";
422
+ const _MS = "MpaStatus";
423
+ const _MSA = "MpaSessionArn";
424
+ const _MTA = "MpaTeamArn";
425
+ const _MTAp = "MpaTeamAssociation";
426
+ const _NR = "NoRestrictions";
427
+ const _NT = "NextToken";
428
+ const _O = "Organization";
429
+ const _OB = "OptionalBlocks";
430
+ const _OBI = "OptionalBlockId";
431
+ const _OBV = "OptionalBlockValue";
432
+ const _OU = "OrganizationUnit";
433
+ const _P = "Policy";
434
+ const _PKC = "PublicKeyCertificate";
435
+ const _PKI = "PrivateKeyIdentifier";
436
+ const _PPE = "PublicPolicyException";
437
+ const _PR = "PrimaryRegion";
438
+ const _PRP = "PutResourcePolicy";
439
+ const _PRPI = "PutResourcePolicyInput";
440
+ const _PRPO = "PutResourcePolicyOutput";
441
+ const _PVUT = "ParametersValidUntilTimestamp";
442
+ const _RA = "ResourceArn";
443
+ const _RC = "RequesterComment";
444
+ const _RCPK = "RootCertificatePublicKey";
445
+ const _RI = "ResourceId";
446
+ const _RK = "RestoreKey";
447
+ const _RKI = "RestoreKeyInput";
448
+ const _RKO = "RestoreKeyOutput";
449
+ const _RKRR = "RemoveKeyReplicationRegions";
450
+ const _RKRRI = "RemoveKeyReplicationRegionsInput";
451
+ const _RKRRO = "RemoveKeyReplicationRegionsOutput";
452
+ const _RLGT = "ReuseLastGeneratedToken";
453
+ const _RN = "RandomNonce";
454
+ const _RNFE = "ResourceNotFoundException";
455
+ const _RR = "ReplicationRegions";
456
+ const _RS = "ReplicationStatus";
457
+ const _RST = "ReplicationStatusType";
458
+ const _S = "Sign";
459
+ const _SA = "SigningAlgorithm";
460
+ const _SI = "SharedInformation";
461
+ const _SKA = "SigningKeyAlgorithm";
462
+ const _SKC = "SigningKeyCertificate";
463
+ const _SKCC = "SigningKeyCertificateChain";
464
+ const _SKI = "SigningKeyIdentifier";
465
+ const _SKU = "StartKeyUsage";
466
+ const _SKUI = "StartKeyUsageInput";
467
+ const _SKUIt = "StopKeyUsageInput";
468
+ const _SKUO = "StartKeyUsageOutput";
469
+ const _SKUOt = "StopKeyUsageOutput";
470
+ const _SKUt = "StopKeyUsage";
471
+ const _SM = "StatusMessage";
472
+ const _SOP = "StateOrProvince";
473
+ const _SQEE = "ServiceQuotaExceededException";
474
+ const _SUE = "ServiceUnavailableException";
475
+ const _St = "Status";
476
+ const _T = "Tags";
477
+ const _TCPK = "TrustedCertificatePublicKey";
478
+ const _TE = "ThrottlingException";
479
+ const _TK = "TagKeys";
480
+ const _TKB = "Tr31KeyBlock";
481
+ const _TKBr = "Tr34KeyBlock";
482
+ const _TR = "TagResource";
483
+ const _TRI = "TagResourceInput";
484
+ const _TRO = "TagResourceOutput";
485
+ const _TWKB = "Tr31WrappedKeyBlock";
486
+ const _TWKBr = "Tr34WrappedKeyBlock";
487
+ const _Ta = "Tag";
488
+ const _U = "Unwrap";
489
+ const _UA = "UpdateAlias";
490
+ const _UAI = "UpdateAliasInput";
491
+ const _UAO = "UpdateAliasOutput";
492
+ const _UDRR = "UsingDefaultReplicationRegions";
493
+ const _UR = "UntagResource";
494
+ const _URI = "UntagResourceInput";
495
+ const _URO = "UntagResourceOutput";
496
+ const _UST = "UsageStartTimestamp";
497
+ const _USTs = "UsageStopTimestamp";
498
+ const _V = "Verify";
499
+ const _VE = "ValidationException";
500
+ const _Va = "Value";
501
+ const _W = "Wrap";
502
+ const _WK = "WrappedKey";
503
+ const _WKA = "WrappingKeyAlgorithm";
504
+ const _WKAr = "WrappingKeyArn";
505
+ const _WKB = "WrappedKeyBlock";
506
+ const _WKC = "WrappedKeyCryptogram";
507
+ const _WKCC = "WrappingKeyCertificateChain";
508
+ const _WKCr = "WrappingKeyCertificate";
509
+ const _WKI = "WrappingKeyIdentifier";
510
+ const _WKMF = "WrappedKeyMaterialFormat";
511
+ const _WS = "WrappingSpec";
512
+ const _c = "client";
513
+ const _e = "error";
514
+ const _hE = "httpError";
515
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.paymentcryptography";
516
+ const _se = "server";
517
+ const n0 = "com.amazonaws.paymentcryptography";
518
+ const _s_registry = TypeRegistry.for(_s);
519
+ var PaymentCryptographyServiceException$ = [-3, _s, "PaymentCryptographyServiceException", 0, [], []];
520
+ _s_registry.registerError(PaymentCryptographyServiceException$, PaymentCryptographyServiceException);
521
+ const n0_registry = TypeRegistry.for(n0);
522
+ var AccessDeniedException$ = [-3, n0, _ADE,
523
+ { [_e]: _c, [_hE]: 403 },
524
+ [_M],
525
+ [0]
526
+ ];
527
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
528
+ var ConflictException$ = [-3, n0, _CE,
529
+ { [_e]: _c, [_hE]: 409 },
530
+ [_M],
531
+ [0]
532
+ ];
533
+ n0_registry.registerError(ConflictException$, ConflictException);
534
+ var InternalServerException$ = [-3, n0, _ISE,
535
+ { [_e]: _se, [_hE]: 500 },
536
+ [_M],
537
+ [0]
538
+ ];
539
+ n0_registry.registerError(InternalServerException$, InternalServerException);
540
+ var PublicPolicyException$ = [-3, n0, _PPE,
541
+ { [_e]: _c, [_hE]: 400 },
542
+ [_M],
543
+ [0]
544
+ ];
545
+ n0_registry.registerError(PublicPolicyException$, PublicPolicyException);
546
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
547
+ { [_e]: _c, [_hE]: 404 },
548
+ [_RI],
549
+ [0]
550
+ ];
551
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
552
+ var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
553
+ { [_e]: _c, [_hE]: 402 },
554
+ [_M],
555
+ [0]
556
+ ];
557
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
558
+ var ServiceUnavailableException$ = [-3, n0, _SUE,
559
+ { [_e]: _se, [_hE]: 503 },
560
+ [_M],
561
+ [0]
562
+ ];
563
+ n0_registry.registerError(ServiceUnavailableException$, ServiceUnavailableException);
564
+ var ThrottlingException$ = [-3, n0, _TE,
565
+ { [_e]: _c, [_hE]: 429 },
566
+ [_M],
567
+ [0]
568
+ ];
569
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
570
+ var ValidationException$ = [-3, n0, _VE,
571
+ { [_e]: _c, [_hE]: 400 },
572
+ [_M],
573
+ [0]
574
+ ];
575
+ n0_registry.registerError(ValidationException$, ValidationException);
576
+ const errorTypeRegistries = [
577
+ _s_registry,
578
+ n0_registry,
579
+ ];
580
+ var CertificateSigningRequestType = [0, n0, _CSRT, 8, 0];
581
+ var KeyMaterial = [0, n0, _KM, 8, 0];
582
+ var MpaRequesterComment = [0, n0, _MRC, 8, 0];
583
+ var OptionalBlockId = [0, n0, _OBI, 8, 0];
584
+ var OptionalBlockValue = [0, n0, _OBV, 8, 0];
585
+ var Tr31WrappedKeyBlock = [0, n0, _TWKB, 8, 0];
586
+ var Tr34WrappedKeyBlock = [0, n0, _TWKBr, 8, 0];
587
+ var WrappedKeyCryptogram = [0, n0, _WKC, 8, 0];
588
+ var AddKeyReplicationRegionsInput$ = [3, n0, _AKRRI,
589
+ 0,
590
+ [_KI, _RR],
591
+ [0, 64 | 0], 2
592
+ ];
593
+ var AddKeyReplicationRegionsOutput$ = [3, n0, _AKRRO,
594
+ 0,
595
+ [_K],
596
+ [() => Key$], 1
597
+ ];
598
+ var Alias$ = [3, n0, _A,
599
+ 0,
600
+ [_AN, _KA],
601
+ [0, 0], 1
602
+ ];
603
+ var AssociateMpaTeamInput$ = [3, n0, _AMTI,
604
+ 0,
605
+ [_Ac, _MTA, _RC],
606
+ [0, 0, [() => MpaRequesterComment, 0]], 2
607
+ ];
608
+ var AssociateMpaTeamOutput$ = [3, n0, _AMTO,
609
+ 0,
610
+ [_MTAp],
611
+ [() => MpaTeamAssociation$], 1
612
+ ];
613
+ var CertificateSubjectType$ = [3, n0, _CST,
614
+ 0,
615
+ [_CN, _OU, _O, _C, _Co, _SOP, _EA],
616
+ [0, 0, 0, 0, 0, 0, 0], 1
617
+ ];
618
+ var CreateAliasInput$ = [3, n0, _CAI,
619
+ 0,
620
+ [_AN, _KA],
621
+ [0, 0], 1
622
+ ];
623
+ var CreateAliasOutput$ = [3, n0, _CAO,
624
+ 0,
625
+ [_A],
626
+ [() => Alias$], 1
627
+ ];
628
+ var CreateKeyInput$ = [3, n0, _CKI,
629
+ 0,
630
+ [_KAe, _E, _KCVA, _En, _T, _DKU, _RR],
631
+ [() => KeyAttributes$, 2, 0, 2, () => Tags, 0, 64 | 0], 2
632
+ ];
633
+ var CreateKeyOutput$ = [3, n0, _CKO,
634
+ 0,
635
+ [_K],
636
+ [() => Key$], 1
637
+ ];
638
+ var DeleteAliasInput$ = [3, n0, _DAI,
639
+ 0,
640
+ [_AN],
641
+ [0], 1
642
+ ];
643
+ var DeleteAliasOutput$ = [3, n0, _DAO,
644
+ 0,
645
+ [],
646
+ []
647
+ ];
648
+ var DeleteKeyInput$ = [3, n0, _DKI,
649
+ 0,
650
+ [_KI, _DKID],
651
+ [0, 1], 1
652
+ ];
653
+ var DeleteKeyOutput$ = [3, n0, _DKO,
654
+ 0,
655
+ [_K],
656
+ [() => Key$], 1
657
+ ];
658
+ var DeleteResourcePolicyInput$ = [3, n0, _DRPI,
659
+ 0,
660
+ [_RA],
661
+ [0], 1
662
+ ];
663
+ var DeleteResourcePolicyOutput$ = [3, n0, _DRPO,
664
+ 0,
665
+ [],
666
+ []
667
+ ];
668
+ var DisableDefaultKeyReplicationRegionsInput$ = [3, n0, _DDKRRI,
669
+ 0,
670
+ [_RR],
671
+ [64 | 0], 1
672
+ ];
673
+ var DisableDefaultKeyReplicationRegionsOutput$ = [3, n0, _DDKRRO,
674
+ 0,
675
+ [_ERR],
676
+ [64 | 0], 1
677
+ ];
678
+ var DisassociateMpaTeamInput$ = [3, n0, _DMTI,
679
+ 0,
680
+ [_Ac, _RC],
681
+ [0, [() => MpaRequesterComment, 0]], 1
682
+ ];
683
+ var DisassociateMpaTeamOutput$ = [3, n0, _DMTO,
684
+ 0,
685
+ [_MTAp],
686
+ [() => MpaTeamAssociation$], 1
687
+ ];
688
+ var EnableDefaultKeyReplicationRegionsInput$ = [3, n0, _EDKRRI,
689
+ 0,
690
+ [_RR],
691
+ [64 | 0], 1
692
+ ];
693
+ var EnableDefaultKeyReplicationRegionsOutput$ = [3, n0, _EDKRRO,
694
+ 0,
695
+ [_ERR],
696
+ [64 | 0], 1
697
+ ];
698
+ var ExportAs2805KeyCryptogram$ = [3, n0, _EAKC,
699
+ 0,
700
+ [_WKI, _AKV],
701
+ [0, 0], 2
702
+ ];
703
+ var ExportAttributes$ = [3, n0, _EAx,
704
+ 0,
705
+ [_EDIK, _KCVA],
706
+ [() => ExportDukptInitialKey$, 0]
707
+ ];
708
+ var ExportDiffieHellmanTr31KeyBlock$ = [3, n0, _EDHTKB,
709
+ 0,
710
+ [_PKI, _CAPKI, _PKC, _DKA, _KDF, _KDHA, _DD, _KBH],
711
+ [0, 0, 0, 0, 0, 0, () => DiffieHellmanDerivationData$, [() => KeyBlockHeaders$, 0]], 7
712
+ ];
713
+ var ExportDukptInitialKey$ = [3, n0, _EDIK,
714
+ 0,
715
+ [_KSN],
716
+ [0], 1
717
+ ];
718
+ var ExportKeyCryptogram$ = [3, n0, _EKC,
719
+ 0,
720
+ [_CAPKI, _WKCr, _WS],
721
+ [0, 0, 0], 2
722
+ ];
723
+ var ExportKeyInput$ = [3, n0, _EKI,
724
+ 0,
725
+ [_KM, _EKIx, _EAx],
726
+ [[() => ExportKeyMaterial$, 0], 0, () => ExportAttributes$], 2
727
+ ];
728
+ var ExportKeyOutput$ = [3, n0, _EKO,
729
+ 0,
730
+ [_WK],
731
+ [[() => WrappedKey$, 0]]
732
+ ];
733
+ var ExportTr31KeyBlock$ = [3, n0, _ETKB,
734
+ 0,
735
+ [_WKI, _KBH],
736
+ [0, [() => KeyBlockHeaders$, 0]], 1
737
+ ];
738
+ var ExportTr34KeyBlock$ = [3, n0, _ETKBx,
739
+ 0,
740
+ [_CAPKI, _WKCr, _KBF, _ET, _SKI, _SKC, _RN, _KBH],
741
+ [0, 0, 0, 0, 0, 0, 0, [() => KeyBlockHeaders$, 0]], 3
742
+ ];
743
+ var GetAliasInput$ = [3, n0, _GAI,
744
+ 0,
745
+ [_AN],
746
+ [0], 1
747
+ ];
748
+ var GetAliasOutput$ = [3, n0, _GAO,
749
+ 0,
750
+ [_A],
751
+ [() => Alias$], 1
752
+ ];
753
+ var GetCertificateSigningRequestInput$ = [3, n0, _GCSRI,
754
+ 0,
755
+ [_KI, _SA, _CS],
756
+ [0, 0, () => CertificateSubjectType$], 3
757
+ ];
758
+ var GetCertificateSigningRequestOutput$ = [3, n0, _GCSRO,
759
+ 0,
760
+ [_CSR],
761
+ [[() => CertificateSigningRequestType, 0]], 1
762
+ ];
763
+ var GetDefaultKeyReplicationRegionsInput$ = [3, n0, _GDKRRI,
764
+ 0,
765
+ [],
766
+ []
767
+ ];
768
+ var GetDefaultKeyReplicationRegionsOutput$ = [3, n0, _GDKRRO,
769
+ 0,
770
+ [_ERR],
771
+ [64 | 0], 1
772
+ ];
773
+ var GetKeyInput$ = [3, n0, _GKI,
774
+ 0,
775
+ [_KI],
776
+ [0], 1
777
+ ];
778
+ var GetKeyOutput$ = [3, n0, _GKO,
779
+ 0,
780
+ [_K],
781
+ [() => Key$], 1
782
+ ];
783
+ var GetMpaTeamAssociationInput$ = [3, n0, _GMTAI,
784
+ 0,
785
+ [_Ac],
786
+ [0], 1
787
+ ];
788
+ var GetMpaTeamAssociationOutput$ = [3, n0, _GMTAO,
789
+ 0,
790
+ [_MTAp],
791
+ [() => MpaTeamAssociation$], 1
792
+ ];
793
+ var GetParametersForExportInput$ = [3, n0, _GPFEI,
794
+ 0,
795
+ [_KMT, _SKA, _RLGT],
796
+ [0, 0, 2], 2
797
+ ];
798
+ var GetParametersForExportOutput$ = [3, n0, _GPFEO,
799
+ 0,
800
+ [_SKC, _SKCC, _SKA, _ET, _PVUT],
801
+ [0, 0, 0, 0, 4], 5
802
+ ];
803
+ var GetParametersForImportInput$ = [3, n0, _GPFII,
804
+ 0,
805
+ [_KMT, _WKA, _RLGT],
806
+ [0, 0, 2], 2
807
+ ];
808
+ var GetParametersForImportOutput$ = [3, n0, _GPFIO,
809
+ 0,
810
+ [_WKCr, _WKCC, _WKA, _IT, _PVUT],
811
+ [0, 0, 0, 0, 4], 5
812
+ ];
813
+ var GetPublicKeyCertificateInput$ = [3, n0, _GPKCI,
814
+ 0,
815
+ [_KI],
816
+ [0], 1
817
+ ];
818
+ var GetPublicKeyCertificateOutput$ = [3, n0, _GPKCO,
819
+ 0,
820
+ [_KC, _KCC],
821
+ [0, 0], 2
822
+ ];
823
+ var GetResourcePolicyInput$ = [3, n0, _GRPI,
824
+ 0,
825
+ [_RA],
826
+ [0], 1
827
+ ];
828
+ var GetResourcePolicyOutput$ = [3, n0, _GRPO,
829
+ 0,
830
+ [_RA, _P],
831
+ [0, 0], 2
832
+ ];
833
+ var ImportAs2805KeyCryptogram$ = [3, n0, _IAKC,
834
+ 0,
835
+ [_AKV, _KMOU, _KAey, _E, _WKI, _WKC],
836
+ [0, () => KeyModesOfUse$, 0, 2, 0, [() => WrappedKeyCryptogram, 0]], 6
837
+ ];
838
+ var ImportDiffieHellmanTr31KeyBlock$ = [3, n0, _IDHTKB,
839
+ 0,
840
+ [_PKI, _CAPKI, _PKC, _DKA, _KDF, _KDHA, _DD, _WKB],
841
+ [0, 0, 0, 0, 0, 0, () => DiffieHellmanDerivationData$, [() => Tr31WrappedKeyBlock, 0]], 8
842
+ ];
843
+ var ImportKeyCryptogram$ = [3, n0, _IKC,
844
+ 0,
845
+ [_KAe, _E, _WKC, _IT, _WS],
846
+ [() => KeyAttributes$, 2, [() => WrappedKeyCryptogram, 0], 0, 0], 4
847
+ ];
848
+ var ImportKeyInput$ = [3, n0, _IKI,
849
+ 0,
850
+ [_KM, _KCVA, _En, _T, _RR, _RC],
851
+ [[() => ImportKeyMaterial$, 0], 0, 2, () => Tags, 64 | 0, [() => MpaRequesterComment, 0]], 1
852
+ ];
853
+ var ImportKeyOutput$ = [3, n0, _IKO,
854
+ 0,
855
+ [_K],
856
+ [() => Key$], 1
857
+ ];
858
+ var ImportTr31KeyBlock$ = [3, n0, _ITKB,
859
+ 0,
860
+ [_WKI, _WKB],
861
+ [0, [() => Tr31WrappedKeyBlock, 0]], 2
862
+ ];
863
+ var ImportTr34KeyBlock$ = [3, n0, _ITKBm,
864
+ 0,
865
+ [_CAPKI, _SKC, _WKB, _KBF, _IT, _WKI, _WKCr, _RN],
866
+ [0, 0, [() => Tr34WrappedKeyBlock, 0], 0, 0, 0, 0, 0], 4
867
+ ];
868
+ var Key$ = [3, n0, _K,
869
+ 0,
870
+ [_KA, _KAe, _KCV, _KCVA, _En, _E, _KS, _KO, _CT, _UST, _USTs, _DPT, _DT, _DKU, _MRKT, _PR, _RS, _UDRR, _MS],
871
+ [0, () => KeyAttributes$, 0, 0, 2, 2, 0, 0, 4, 4, 4, 4, 4, 0, 0, 0, () => ReplicationStatus, 2, () => MpaStatus$], 9
872
+ ];
873
+ var KeyAttributes$ = [3, n0, _KAe,
874
+ 0,
875
+ [_KU, _KCe, _KAey, _KMOU],
876
+ [0, 0, 0, () => KeyModesOfUse$], 4
877
+ ];
878
+ var KeyBlockHeaders$ = [3, n0, _KBH,
879
+ 0,
880
+ [_KMOU, _KE, _KV, _OB],
881
+ [() => KeyModesOfUse$, 0, 0, [() => OptionalBlocks, 0]]
882
+ ];
883
+ var KeyModesOfUse$ = [3, n0, _KMOU,
884
+ 0,
885
+ [_Enc, _D, _W, _U, _G, _S, _V, _DK, _NR],
886
+ [2, 2, 2, 2, 2, 2, 2, 2, 2]
887
+ ];
888
+ var KeySummary$ = [3, n0, _KSe,
889
+ 0,
890
+ [_KA, _KS, _KAe, _KCV, _E, _En, _MRKT, _PR],
891
+ [0, 0, () => KeyAttributes$, 0, 2, 2, 0, 0], 6
892
+ ];
893
+ var ListAliasesInput$ = [3, n0, _LAI,
894
+ 0,
895
+ [_KA, _NT, _MR],
896
+ [0, 0, 1]
897
+ ];
898
+ var ListAliasesOutput$ = [3, n0, _LAO,
899
+ 0,
900
+ [_Al, _NT],
901
+ [() => Aliases, 0], 1
902
+ ];
903
+ var ListKeysInput$ = [3, n0, _LKI,
904
+ 0,
905
+ [_KS, _NT, _MR],
906
+ [0, 0, 1]
907
+ ];
908
+ var ListKeysOutput$ = [3, n0, _LKO,
909
+ 0,
910
+ [_Ke, _NT],
911
+ [() => KeySummaryList, 0], 1
912
+ ];
913
+ var ListTagsForResourceInput$ = [3, n0, _LTFRI,
914
+ 0,
915
+ [_RA, _NT, _MR],
916
+ [0, 0, 1], 1
917
+ ];
918
+ var ListTagsForResourceOutput$ = [3, n0, _LTFRO,
919
+ 0,
920
+ [_T, _NT],
921
+ [() => Tags, 0], 1
922
+ ];
923
+ var MpaStatus$ = [3, n0, _MS,
924
+ 0,
925
+ [_MSA, _St, _ID, _SM],
926
+ [0, 0, 4, 0], 3
927
+ ];
928
+ var MpaTeamAssociation$ = [3, n0, _MTAp,
929
+ 0,
930
+ [_Ac, _MTA, _AS, _MS],
931
+ [0, 0, 0, () => MpaStatus$], 3
932
+ ];
933
+ var PutResourcePolicyInput$ = [3, n0, _PRPI,
934
+ 0,
935
+ [_RA, _P],
936
+ [0, 0], 2
937
+ ];
938
+ var PutResourcePolicyOutput$ = [3, n0, _PRPO,
939
+ 0,
940
+ [_RA, _P],
941
+ [0, 0], 2
942
+ ];
943
+ var RemoveKeyReplicationRegionsInput$ = [3, n0, _RKRRI,
944
+ 0,
945
+ [_KI, _RR],
946
+ [0, 64 | 0], 2
947
+ ];
948
+ var RemoveKeyReplicationRegionsOutput$ = [3, n0, _RKRRO,
949
+ 0,
950
+ [_K],
951
+ [() => Key$], 1
952
+ ];
953
+ var ReplicationStatusType$ = [3, n0, _RST,
954
+ 0,
955
+ [_St, _SM],
956
+ [0, 0], 1
957
+ ];
958
+ var RestoreKeyInput$ = [3, n0, _RKI,
959
+ 0,
960
+ [_KI],
961
+ [0], 1
962
+ ];
963
+ var RestoreKeyOutput$ = [3, n0, _RKO,
964
+ 0,
965
+ [_K],
966
+ [() => Key$], 1
967
+ ];
968
+ var RootCertificatePublicKey$ = [3, n0, _RCPK,
969
+ 0,
970
+ [_KAe, _PKC],
971
+ [() => KeyAttributes$, 0], 2
972
+ ];
973
+ var StartKeyUsageInput$ = [3, n0, _SKUI,
974
+ 0,
975
+ [_KI],
976
+ [0], 1
977
+ ];
978
+ var StartKeyUsageOutput$ = [3, n0, _SKUO,
979
+ 0,
980
+ [_K],
981
+ [() => Key$], 1
982
+ ];
983
+ var StopKeyUsageInput$ = [3, n0, _SKUIt,
984
+ 0,
985
+ [_KI],
986
+ [0], 1
987
+ ];
988
+ var StopKeyUsageOutput$ = [3, n0, _SKUOt,
989
+ 0,
990
+ [_K],
991
+ [() => Key$], 1
992
+ ];
993
+ var Tag$ = [3, n0, _Ta,
994
+ 0,
995
+ [_K, _Va],
996
+ [0, 0], 2
997
+ ];
998
+ var TagResourceInput$ = [3, n0, _TRI,
999
+ 0,
1000
+ [_RA, _T],
1001
+ [0, () => Tags], 2
1002
+ ];
1003
+ var TagResourceOutput$ = [3, n0, _TRO,
1004
+ 0,
1005
+ [],
1006
+ []
1007
+ ];
1008
+ var TrustedCertificatePublicKey$ = [3, n0, _TCPK,
1009
+ 0,
1010
+ [_KAe, _PKC, _CAPKI],
1011
+ [() => KeyAttributes$, 0, 0], 3
1012
+ ];
1013
+ var UntagResourceInput$ = [3, n0, _URI,
1014
+ 0,
1015
+ [_RA, _TK],
1016
+ [0, 64 | 0], 2
1017
+ ];
1018
+ var UntagResourceOutput$ = [3, n0, _URO,
1019
+ 0,
1020
+ [],
1021
+ []
1022
+ ];
1023
+ var UpdateAliasInput$ = [3, n0, _UAI,
1024
+ 0,
1025
+ [_AN, _KA],
1026
+ [0, 0], 1
1027
+ ];
1028
+ var UpdateAliasOutput$ = [3, n0, _UAO,
1029
+ 0,
1030
+ [_A],
1031
+ [() => Alias$], 1
1032
+ ];
1033
+ var WrappedKey$ = [3, n0, _WK,
1034
+ 0,
1035
+ [_WKAr, _WKMF, _KM, _KCV, _KCVA],
1036
+ [0, 0, [() => KeyMaterial, 0], 0, 0], 3
1037
+ ];
1038
+ var Aliases = [1, n0, _Al,
1039
+ 0, () => Alias$
1040
+ ];
1041
+ var KeySummaryList = [1, n0, _KSL,
1042
+ 0, () => KeySummary$
1043
+ ];
1044
+ var Tags = [1, n0, _T,
1045
+ 0, () => Tag$
1046
+ ];
1047
+ var OptionalBlocks = [2, n0, _OB,
1048
+ 0, [() => OptionalBlockId,
1049
+ 0],
1050
+ [() => OptionalBlockValue,
1051
+ 0]
1052
+ ];
1053
+ var ReplicationStatus = [2, n0, _RS,
1054
+ 0, 0, () => ReplicationStatusType$
1055
+ ];
1056
+ var DiffieHellmanDerivationData$ = [4, n0, _DHDD,
1057
+ 0,
1058
+ [_SI],
1059
+ [0]
1060
+ ];
1061
+ var ExportKeyMaterial$ = [4, n0, _EKM,
1062
+ 0,
1063
+ [_TKB, _TKBr, _KCey, _DHTKB, _AKC],
1064
+ [[() => ExportTr31KeyBlock$, 0], [() => ExportTr34KeyBlock$, 0], () => ExportKeyCryptogram$, [() => ExportDiffieHellmanTr31KeyBlock$, 0], () => ExportAs2805KeyCryptogram$]
1065
+ ];
1066
+ var ImportKeyMaterial$ = [4, n0, _IKM,
1067
+ 0,
1068
+ [_RCPK, _TCPK, _TKB, _TKBr, _KCey, _DHTKB, _AKC],
1069
+ [() => RootCertificatePublicKey$, () => TrustedCertificatePublicKey$, [() => ImportTr31KeyBlock$, 0], [() => ImportTr34KeyBlock$, 0], [() => ImportKeyCryptogram$, 0], [() => ImportDiffieHellmanTr31KeyBlock$, 0], [() => ImportAs2805KeyCryptogram$, 0]]
1070
+ ];
1071
+ var AddKeyReplicationRegions$ = [9, n0, _AKRR,
1072
+ 0, () => AddKeyReplicationRegionsInput$, () => AddKeyReplicationRegionsOutput$
1073
+ ];
1074
+ var AssociateMpaTeam$ = [9, n0, _AMT,
1075
+ 0, () => AssociateMpaTeamInput$, () => AssociateMpaTeamOutput$
1076
+ ];
1077
+ var CreateAlias$ = [9, n0, _CA,
1078
+ 2, () => CreateAliasInput$, () => CreateAliasOutput$
1079
+ ];
1080
+ var CreateKey$ = [9, n0, _CK,
1081
+ 0, () => CreateKeyInput$, () => CreateKeyOutput$
1082
+ ];
1083
+ var DeleteAlias$ = [9, n0, _DA,
1084
+ 2, () => DeleteAliasInput$, () => DeleteAliasOutput$
1085
+ ];
1086
+ var DeleteKey$ = [9, n0, _DKe,
1087
+ 2, () => DeleteKeyInput$, () => DeleteKeyOutput$
1088
+ ];
1089
+ var DeleteResourcePolicy$ = [9, n0, _DRP,
1090
+ 2, () => DeleteResourcePolicyInput$, () => DeleteResourcePolicyOutput$
1091
+ ];
1092
+ var DisableDefaultKeyReplicationRegions$ = [9, n0, _DDKRR,
1093
+ 0, () => DisableDefaultKeyReplicationRegionsInput$, () => DisableDefaultKeyReplicationRegionsOutput$
1094
+ ];
1095
+ var DisassociateMpaTeam$ = [9, n0, _DMT,
1096
+ 0, () => DisassociateMpaTeamInput$, () => DisassociateMpaTeamOutput$
1097
+ ];
1098
+ var EnableDefaultKeyReplicationRegions$ = [9, n0, _EDKRR,
1099
+ 0, () => EnableDefaultKeyReplicationRegionsInput$, () => EnableDefaultKeyReplicationRegionsOutput$
1100
+ ];
1101
+ var ExportKey$ = [9, n0, _EK,
1102
+ 0, () => ExportKeyInput$, () => ExportKeyOutput$
1103
+ ];
1104
+ var GetAlias$ = [9, n0, _GA,
1105
+ 0, () => GetAliasInput$, () => GetAliasOutput$
1106
+ ];
1107
+ var GetCertificateSigningRequest$ = [9, n0, _GCSR,
1108
+ 0, () => GetCertificateSigningRequestInput$, () => GetCertificateSigningRequestOutput$
1109
+ ];
1110
+ var GetDefaultKeyReplicationRegions$ = [9, n0, _GDKRR,
1111
+ 0, () => GetDefaultKeyReplicationRegionsInput$, () => GetDefaultKeyReplicationRegionsOutput$
1112
+ ];
1113
+ var GetKey$ = [9, n0, _GK,
1114
+ 0, () => GetKeyInput$, () => GetKeyOutput$
1115
+ ];
1116
+ var GetMpaTeamAssociation$ = [9, n0, _GMTA,
1117
+ 0, () => GetMpaTeamAssociationInput$, () => GetMpaTeamAssociationOutput$
1118
+ ];
1119
+ var GetParametersForExport$ = [9, n0, _GPFE,
1120
+ 0, () => GetParametersForExportInput$, () => GetParametersForExportOutput$
1121
+ ];
1122
+ var GetParametersForImport$ = [9, n0, _GPFI,
1123
+ 0, () => GetParametersForImportInput$, () => GetParametersForImportOutput$
1124
+ ];
1125
+ var GetPublicKeyCertificate$ = [9, n0, _GPKC,
1126
+ 0, () => GetPublicKeyCertificateInput$, () => GetPublicKeyCertificateOutput$
1127
+ ];
1128
+ var GetResourcePolicy$ = [9, n0, _GRP,
1129
+ 0, () => GetResourcePolicyInput$, () => GetResourcePolicyOutput$
1130
+ ];
1131
+ var ImportKey$ = [9, n0, _IK,
1132
+ 0, () => ImportKeyInput$, () => ImportKeyOutput$
1133
+ ];
1134
+ var ListAliases$ = [9, n0, _LA,
1135
+ 0, () => ListAliasesInput$, () => ListAliasesOutput$
1136
+ ];
1137
+ var ListKeys$ = [9, n0, _LK,
1138
+ 0, () => ListKeysInput$, () => ListKeysOutput$
1139
+ ];
1140
+ var ListTagsForResource$ = [9, n0, _LTFR,
1141
+ 0, () => ListTagsForResourceInput$, () => ListTagsForResourceOutput$
1142
+ ];
1143
+ var PutResourcePolicy$ = [9, n0, _PRP,
1144
+ 2, () => PutResourcePolicyInput$, () => PutResourcePolicyOutput$
1145
+ ];
1146
+ var RemoveKeyReplicationRegions$ = [9, n0, _RKRR,
1147
+ 0, () => RemoveKeyReplicationRegionsInput$, () => RemoveKeyReplicationRegionsOutput$
1148
+ ];
1149
+ var RestoreKey$ = [9, n0, _RK,
1150
+ 0, () => RestoreKeyInput$, () => RestoreKeyOutput$
1151
+ ];
1152
+ var StartKeyUsage$ = [9, n0, _SKU,
1153
+ 0, () => StartKeyUsageInput$, () => StartKeyUsageOutput$
1154
+ ];
1155
+ var StopKeyUsage$ = [9, n0, _SKUt,
1156
+ 0, () => StopKeyUsageInput$, () => StopKeyUsageOutput$
1157
+ ];
1158
+ var TagResource$ = [9, n0, _TR,
1159
+ 0, () => TagResourceInput$, () => TagResourceOutput$
1160
+ ];
1161
+ var UntagResource$ = [9, n0, _UR,
1162
+ 0, () => UntagResourceInput$, () => UntagResourceOutput$
1163
+ ];
1164
+ var UpdateAlias$ = [9, n0, _UA,
1165
+ 0, () => UpdateAliasInput$, () => UpdateAliasOutput$
1166
+ ];
1167
+
1168
+ const getRuntimeConfig$1 = (config) => {
1169
+ return {
1170
+ apiVersion: "2021-09-14",
1171
+ base64Decoder: config?.base64Decoder ?? fromBase64,
1172
+ base64Encoder: config?.base64Encoder ?? toBase64,
1173
+ disableHostPrefix: config?.disableHostPrefix ?? false,
1174
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
1175
+ extensions: config?.extensions ?? [],
1176
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultPaymentCryptographyHttpAuthSchemeProvider,
1177
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
1178
+ {
1179
+ schemeId: "aws.auth#sigv4",
1180
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
1181
+ signer: new AwsSdkSigV4Signer(),
1182
+ },
1183
+ ],
1184
+ logger: config?.logger ?? new NoOpLogger(),
1185
+ protocol: config?.protocol ?? AwsJson1_0Protocol,
1186
+ protocolSettings: config?.protocolSettings ?? {
1187
+ defaultNamespace: "com.amazonaws.paymentcryptography",
1188
+ errorTypeRegistries,
1189
+ version: "2021-09-14",
1190
+ serviceTarget: "PaymentCryptographyControlPlane",
1191
+ },
1192
+ serviceId: config?.serviceId ?? "Payment Cryptography",
1193
+ urlParser: config?.urlParser ?? parseUrl,
1194
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1195
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
1196
+ };
1197
+ };
1198
+
1199
+ const getRuntimeConfig = (config) => {
1200
+ emitWarningIfUnsupportedVersion(process.version);
1201
+ const defaultsMode = resolveDefaultsModeConfig(config);
1202
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
1203
+ const clientSharedValues = getRuntimeConfig$1(config);
1204
+ emitWarningIfUnsupportedVersion$1(process.version);
1205
+ const loaderConfig = {
1206
+ profile: config?.profile,
1207
+ logger: clientSharedValues.logger,
1208
+ };
1209
+ return {
1210
+ ...clientSharedValues,
1211
+ ...config,
1212
+ runtime: "node",
1213
+ defaultsMode,
1214
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
1215
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
1216
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
1217
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
1218
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
1219
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
1220
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
1221
+ retryMode: config?.retryMode ??
1222
+ loadConfig({
1223
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1224
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1225
+ }, config),
1226
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1227
+ streamCollector: config?.streamCollector ?? streamCollector,
1228
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1229
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1230
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
1231
+ };
1232
+ };
1233
+
34
1234
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
1235
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
1236
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -711,62 +1911,208 @@ const KeyMaterialType = {
711
1911
  TRUSTED_PUBLIC_KEY_CERTIFICATE: "TRUSTED_PUBLIC_KEY_CERTIFICATE",
712
1912
  };
713
1913
 
1914
+ exports.AccessDeniedException = AccessDeniedException;
1915
+ exports.AccessDeniedException$ = AccessDeniedException$;
1916
+ exports.AddKeyReplicationRegions$ = AddKeyReplicationRegions$;
714
1917
  exports.AddKeyReplicationRegionsCommand = AddKeyReplicationRegionsCommand;
1918
+ exports.AddKeyReplicationRegionsInput$ = AddKeyReplicationRegionsInput$;
1919
+ exports.AddKeyReplicationRegionsOutput$ = AddKeyReplicationRegionsOutput$;
1920
+ exports.Alias$ = Alias$;
715
1921
  exports.As2805KeyVariant = As2805KeyVariant;
1922
+ exports.AssociateMpaTeam$ = AssociateMpaTeam$;
716
1923
  exports.AssociateMpaTeamCommand = AssociateMpaTeamCommand;
1924
+ exports.AssociateMpaTeamInput$ = AssociateMpaTeamInput$;
1925
+ exports.AssociateMpaTeamOutput$ = AssociateMpaTeamOutput$;
717
1926
  exports.AssociationState = AssociationState;
1927
+ exports.CertificateSubjectType$ = CertificateSubjectType$;
1928
+ exports.ConflictException = ConflictException;
1929
+ exports.ConflictException$ = ConflictException$;
1930
+ exports.CreateAlias$ = CreateAlias$;
718
1931
  exports.CreateAliasCommand = CreateAliasCommand;
1932
+ exports.CreateAliasInput$ = CreateAliasInput$;
1933
+ exports.CreateAliasOutput$ = CreateAliasOutput$;
1934
+ exports.CreateKey$ = CreateKey$;
719
1935
  exports.CreateKeyCommand = CreateKeyCommand;
1936
+ exports.CreateKeyInput$ = CreateKeyInput$;
1937
+ exports.CreateKeyOutput$ = CreateKeyOutput$;
1938
+ exports.DeleteAlias$ = DeleteAlias$;
720
1939
  exports.DeleteAliasCommand = DeleteAliasCommand;
1940
+ exports.DeleteAliasInput$ = DeleteAliasInput$;
1941
+ exports.DeleteAliasOutput$ = DeleteAliasOutput$;
1942
+ exports.DeleteKey$ = DeleteKey$;
721
1943
  exports.DeleteKeyCommand = DeleteKeyCommand;
1944
+ exports.DeleteKeyInput$ = DeleteKeyInput$;
1945
+ exports.DeleteKeyOutput$ = DeleteKeyOutput$;
1946
+ exports.DeleteResourcePolicy$ = DeleteResourcePolicy$;
722
1947
  exports.DeleteResourcePolicyCommand = DeleteResourcePolicyCommand;
1948
+ exports.DeleteResourcePolicyInput$ = DeleteResourcePolicyInput$;
1949
+ exports.DeleteResourcePolicyOutput$ = DeleteResourcePolicyOutput$;
723
1950
  exports.DeriveKeyUsage = DeriveKeyUsage;
1951
+ exports.DiffieHellmanDerivationData$ = DiffieHellmanDerivationData$;
1952
+ exports.DisableDefaultKeyReplicationRegions$ = DisableDefaultKeyReplicationRegions$;
724
1953
  exports.DisableDefaultKeyReplicationRegionsCommand = DisableDefaultKeyReplicationRegionsCommand;
1954
+ exports.DisableDefaultKeyReplicationRegionsInput$ = DisableDefaultKeyReplicationRegionsInput$;
1955
+ exports.DisableDefaultKeyReplicationRegionsOutput$ = DisableDefaultKeyReplicationRegionsOutput$;
1956
+ exports.DisassociateMpaTeam$ = DisassociateMpaTeam$;
725
1957
  exports.DisassociateMpaTeamCommand = DisassociateMpaTeamCommand;
1958
+ exports.DisassociateMpaTeamInput$ = DisassociateMpaTeamInput$;
1959
+ exports.DisassociateMpaTeamOutput$ = DisassociateMpaTeamOutput$;
1960
+ exports.EnableDefaultKeyReplicationRegions$ = EnableDefaultKeyReplicationRegions$;
726
1961
  exports.EnableDefaultKeyReplicationRegionsCommand = EnableDefaultKeyReplicationRegionsCommand;
1962
+ exports.EnableDefaultKeyReplicationRegionsInput$ = EnableDefaultKeyReplicationRegionsInput$;
1963
+ exports.EnableDefaultKeyReplicationRegionsOutput$ = EnableDefaultKeyReplicationRegionsOutput$;
1964
+ exports.ExportAs2805KeyCryptogram$ = ExportAs2805KeyCryptogram$;
1965
+ exports.ExportAttributes$ = ExportAttributes$;
1966
+ exports.ExportDiffieHellmanTr31KeyBlock$ = ExportDiffieHellmanTr31KeyBlock$;
1967
+ exports.ExportDukptInitialKey$ = ExportDukptInitialKey$;
1968
+ exports.ExportKey$ = ExportKey$;
727
1969
  exports.ExportKeyCommand = ExportKeyCommand;
1970
+ exports.ExportKeyCryptogram$ = ExportKeyCryptogram$;
1971
+ exports.ExportKeyInput$ = ExportKeyInput$;
1972
+ exports.ExportKeyMaterial$ = ExportKeyMaterial$;
1973
+ exports.ExportKeyOutput$ = ExportKeyOutput$;
1974
+ exports.ExportTr31KeyBlock$ = ExportTr31KeyBlock$;
1975
+ exports.ExportTr34KeyBlock$ = ExportTr34KeyBlock$;
1976
+ exports.GetAlias$ = GetAlias$;
728
1977
  exports.GetAliasCommand = GetAliasCommand;
1978
+ exports.GetAliasInput$ = GetAliasInput$;
1979
+ exports.GetAliasOutput$ = GetAliasOutput$;
1980
+ exports.GetCertificateSigningRequest$ = GetCertificateSigningRequest$;
729
1981
  exports.GetCertificateSigningRequestCommand = GetCertificateSigningRequestCommand;
1982
+ exports.GetCertificateSigningRequestInput$ = GetCertificateSigningRequestInput$;
1983
+ exports.GetCertificateSigningRequestOutput$ = GetCertificateSigningRequestOutput$;
1984
+ exports.GetDefaultKeyReplicationRegions$ = GetDefaultKeyReplicationRegions$;
730
1985
  exports.GetDefaultKeyReplicationRegionsCommand = GetDefaultKeyReplicationRegionsCommand;
1986
+ exports.GetDefaultKeyReplicationRegionsInput$ = GetDefaultKeyReplicationRegionsInput$;
1987
+ exports.GetDefaultKeyReplicationRegionsOutput$ = GetDefaultKeyReplicationRegionsOutput$;
1988
+ exports.GetKey$ = GetKey$;
731
1989
  exports.GetKeyCommand = GetKeyCommand;
1990
+ exports.GetKeyInput$ = GetKeyInput$;
1991
+ exports.GetKeyOutput$ = GetKeyOutput$;
1992
+ exports.GetMpaTeamAssociation$ = GetMpaTeamAssociation$;
732
1993
  exports.GetMpaTeamAssociationCommand = GetMpaTeamAssociationCommand;
1994
+ exports.GetMpaTeamAssociationInput$ = GetMpaTeamAssociationInput$;
1995
+ exports.GetMpaTeamAssociationOutput$ = GetMpaTeamAssociationOutput$;
1996
+ exports.GetParametersForExport$ = GetParametersForExport$;
733
1997
  exports.GetParametersForExportCommand = GetParametersForExportCommand;
1998
+ exports.GetParametersForExportInput$ = GetParametersForExportInput$;
1999
+ exports.GetParametersForExportOutput$ = GetParametersForExportOutput$;
2000
+ exports.GetParametersForImport$ = GetParametersForImport$;
734
2001
  exports.GetParametersForImportCommand = GetParametersForImportCommand;
2002
+ exports.GetParametersForImportInput$ = GetParametersForImportInput$;
2003
+ exports.GetParametersForImportOutput$ = GetParametersForImportOutput$;
2004
+ exports.GetPublicKeyCertificate$ = GetPublicKeyCertificate$;
735
2005
  exports.GetPublicKeyCertificateCommand = GetPublicKeyCertificateCommand;
2006
+ exports.GetPublicKeyCertificateInput$ = GetPublicKeyCertificateInput$;
2007
+ exports.GetPublicKeyCertificateOutput$ = GetPublicKeyCertificateOutput$;
2008
+ exports.GetResourcePolicy$ = GetResourcePolicy$;
736
2009
  exports.GetResourcePolicyCommand = GetResourcePolicyCommand;
2010
+ exports.GetResourcePolicyInput$ = GetResourcePolicyInput$;
2011
+ exports.GetResourcePolicyOutput$ = GetResourcePolicyOutput$;
2012
+ exports.ImportAs2805KeyCryptogram$ = ImportAs2805KeyCryptogram$;
2013
+ exports.ImportDiffieHellmanTr31KeyBlock$ = ImportDiffieHellmanTr31KeyBlock$;
2014
+ exports.ImportKey$ = ImportKey$;
737
2015
  exports.ImportKeyCommand = ImportKeyCommand;
2016
+ exports.ImportKeyCryptogram$ = ImportKeyCryptogram$;
2017
+ exports.ImportKeyInput$ = ImportKeyInput$;
2018
+ exports.ImportKeyMaterial$ = ImportKeyMaterial$;
2019
+ exports.ImportKeyOutput$ = ImportKeyOutput$;
2020
+ exports.ImportTr31KeyBlock$ = ImportTr31KeyBlock$;
2021
+ exports.ImportTr34KeyBlock$ = ImportTr34KeyBlock$;
2022
+ exports.InternalServerException = InternalServerException;
2023
+ exports.InternalServerException$ = InternalServerException$;
2024
+ exports.Key$ = Key$;
738
2025
  exports.KeyAlgorithm = KeyAlgorithm;
2026
+ exports.KeyAttributes$ = KeyAttributes$;
2027
+ exports.KeyBlockHeaders$ = KeyBlockHeaders$;
739
2028
  exports.KeyCheckValueAlgorithm = KeyCheckValueAlgorithm;
740
2029
  exports.KeyClass = KeyClass;
741
2030
  exports.KeyDerivationFunction = KeyDerivationFunction;
742
2031
  exports.KeyDerivationHashAlgorithm = KeyDerivationHashAlgorithm;
743
2032
  exports.KeyExportability = KeyExportability;
744
2033
  exports.KeyMaterialType = KeyMaterialType;
2034
+ exports.KeyModesOfUse$ = KeyModesOfUse$;
745
2035
  exports.KeyOrigin = KeyOrigin;
746
2036
  exports.KeyReplicationState = KeyReplicationState;
747
2037
  exports.KeyState = KeyState;
2038
+ exports.KeySummary$ = KeySummary$;
748
2039
  exports.KeyUsage = KeyUsage;
2040
+ exports.ListAliases$ = ListAliases$;
749
2041
  exports.ListAliasesCommand = ListAliasesCommand;
2042
+ exports.ListAliasesInput$ = ListAliasesInput$;
2043
+ exports.ListAliasesOutput$ = ListAliasesOutput$;
2044
+ exports.ListKeys$ = ListKeys$;
750
2045
  exports.ListKeysCommand = ListKeysCommand;
2046
+ exports.ListKeysInput$ = ListKeysInput$;
2047
+ exports.ListKeysOutput$ = ListKeysOutput$;
2048
+ exports.ListTagsForResource$ = ListTagsForResource$;
751
2049
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
2050
+ exports.ListTagsForResourceInput$ = ListTagsForResourceInput$;
2051
+ exports.ListTagsForResourceOutput$ = ListTagsForResourceOutput$;
752
2052
  exports.MpaOperation = MpaOperation;
2053
+ exports.MpaStatus$ = MpaStatus$;
2054
+ exports.MpaTeamAssociation$ = MpaTeamAssociation$;
753
2055
  exports.MultiRegionKeyType = MultiRegionKeyType;
754
2056
  exports.PaymentCryptography = PaymentCryptography;
755
2057
  exports.PaymentCryptographyClient = PaymentCryptographyClient;
2058
+ exports.PaymentCryptographyServiceException = PaymentCryptographyServiceException;
2059
+ exports.PaymentCryptographyServiceException$ = PaymentCryptographyServiceException$;
2060
+ exports.PublicPolicyException = PublicPolicyException;
2061
+ exports.PublicPolicyException$ = PublicPolicyException$;
2062
+ exports.PutResourcePolicy$ = PutResourcePolicy$;
756
2063
  exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
2064
+ exports.PutResourcePolicyInput$ = PutResourcePolicyInput$;
2065
+ exports.PutResourcePolicyOutput$ = PutResourcePolicyOutput$;
2066
+ exports.RemoveKeyReplicationRegions$ = RemoveKeyReplicationRegions$;
757
2067
  exports.RemoveKeyReplicationRegionsCommand = RemoveKeyReplicationRegionsCommand;
2068
+ exports.RemoveKeyReplicationRegionsInput$ = RemoveKeyReplicationRegionsInput$;
2069
+ exports.RemoveKeyReplicationRegionsOutput$ = RemoveKeyReplicationRegionsOutput$;
2070
+ exports.ReplicationStatusType$ = ReplicationStatusType$;
2071
+ exports.ResourceNotFoundException = ResourceNotFoundException;
2072
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
2073
+ exports.RestoreKey$ = RestoreKey$;
758
2074
  exports.RestoreKeyCommand = RestoreKeyCommand;
2075
+ exports.RestoreKeyInput$ = RestoreKeyInput$;
2076
+ exports.RestoreKeyOutput$ = RestoreKeyOutput$;
2077
+ exports.RootCertificatePublicKey$ = RootCertificatePublicKey$;
2078
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
2079
+ exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
2080
+ exports.ServiceUnavailableException = ServiceUnavailableException;
2081
+ exports.ServiceUnavailableException$ = ServiceUnavailableException$;
759
2082
  exports.SessionStatus = SessionStatus;
760
2083
  exports.SigningAlgorithmType = SigningAlgorithmType;
2084
+ exports.StartKeyUsage$ = StartKeyUsage$;
761
2085
  exports.StartKeyUsageCommand = StartKeyUsageCommand;
2086
+ exports.StartKeyUsageInput$ = StartKeyUsageInput$;
2087
+ exports.StartKeyUsageOutput$ = StartKeyUsageOutput$;
2088
+ exports.StopKeyUsage$ = StopKeyUsage$;
762
2089
  exports.StopKeyUsageCommand = StopKeyUsageCommand;
2090
+ exports.StopKeyUsageInput$ = StopKeyUsageInput$;
2091
+ exports.StopKeyUsageOutput$ = StopKeyUsageOutput$;
763
2092
  exports.SymmetricKeyAlgorithm = SymmetricKeyAlgorithm;
2093
+ exports.Tag$ = Tag$;
2094
+ exports.TagResource$ = TagResource$;
764
2095
  exports.TagResourceCommand = TagResourceCommand;
2096
+ exports.TagResourceInput$ = TagResourceInput$;
2097
+ exports.TagResourceOutput$ = TagResourceOutput$;
2098
+ exports.ThrottlingException = ThrottlingException;
2099
+ exports.ThrottlingException$ = ThrottlingException$;
765
2100
  exports.Tr34KeyBlockFormat = Tr34KeyBlockFormat;
2101
+ exports.TrustedCertificatePublicKey$ = TrustedCertificatePublicKey$;
2102
+ exports.UntagResource$ = UntagResource$;
766
2103
  exports.UntagResourceCommand = UntagResourceCommand;
2104
+ exports.UntagResourceInput$ = UntagResourceInput$;
2105
+ exports.UntagResourceOutput$ = UntagResourceOutput$;
2106
+ exports.UpdateAlias$ = UpdateAlias$;
767
2107
  exports.UpdateAliasCommand = UpdateAliasCommand;
2108
+ exports.UpdateAliasInput$ = UpdateAliasInput$;
2109
+ exports.UpdateAliasOutput$ = UpdateAliasOutput$;
2110
+ exports.ValidationException = ValidationException;
2111
+ exports.ValidationException$ = ValidationException$;
2112
+ exports.WrappedKey$ = WrappedKey$;
768
2113
  exports.WrappedKeyMaterialFormat = WrappedKeyMaterialFormat;
769
2114
  exports.WrappingKeySpec = WrappingKeySpec;
2115
+ exports.errorTypeRegistries = errorTypeRegistries;
770
2116
  exports.paginateListAliases = paginateListAliases;
771
2117
  exports.paginateListKeys = paginateListKeys;
772
2118
  exports.paginateListTagsForResource = paginateListTagsForResource;