@aws-sdk/client-payment-cryptography 3.986.0 → 3.988.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
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
15
  var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
17
  var protocolHttp = require('@smithy/protocol-http');
18
+ var schemas_0 = require('./schemas/schemas_0');
19
+ var errors = require('./models/errors');
20
+ var PaymentCryptographyServiceException = require('./models/PaymentCryptographyServiceException');
18
21
 
19
22
  const resolveClientEndpointParameters = (options) => {
20
23
  return Object.assign(options, {
@@ -110,897 +113,6 @@ class PaymentCryptographyClient extends smithyClient.Client {
110
113
  }
111
114
  }
112
115
 
113
- class PaymentCryptographyServiceException extends smithyClient.ServiceException {
114
- constructor(options) {
115
- super(options);
116
- Object.setPrototypeOf(this, PaymentCryptographyServiceException.prototype);
117
- }
118
- }
119
-
120
- class AccessDeniedException extends PaymentCryptographyServiceException {
121
- name = "AccessDeniedException";
122
- $fault = "client";
123
- Message;
124
- constructor(opts) {
125
- super({
126
- name: "AccessDeniedException",
127
- $fault: "client",
128
- ...opts,
129
- });
130
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
131
- this.Message = opts.Message;
132
- }
133
- }
134
- class ConflictException extends PaymentCryptographyServiceException {
135
- name = "ConflictException";
136
- $fault = "client";
137
- Message;
138
- constructor(opts) {
139
- super({
140
- name: "ConflictException",
141
- $fault: "client",
142
- ...opts,
143
- });
144
- Object.setPrototypeOf(this, ConflictException.prototype);
145
- this.Message = opts.Message;
146
- }
147
- }
148
- class InternalServerException extends PaymentCryptographyServiceException {
149
- name = "InternalServerException";
150
- $fault = "server";
151
- Message;
152
- constructor(opts) {
153
- super({
154
- name: "InternalServerException",
155
- $fault: "server",
156
- ...opts,
157
- });
158
- Object.setPrototypeOf(this, InternalServerException.prototype);
159
- this.Message = opts.Message;
160
- }
161
- }
162
- class ResourceNotFoundException extends PaymentCryptographyServiceException {
163
- name = "ResourceNotFoundException";
164
- $fault = "client";
165
- ResourceId;
166
- constructor(opts) {
167
- super({
168
- name: "ResourceNotFoundException",
169
- $fault: "client",
170
- ...opts,
171
- });
172
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
173
- this.ResourceId = opts.ResourceId;
174
- }
175
- }
176
- class ServiceQuotaExceededException extends PaymentCryptographyServiceException {
177
- name = "ServiceQuotaExceededException";
178
- $fault = "client";
179
- Message;
180
- constructor(opts) {
181
- super({
182
- name: "ServiceQuotaExceededException",
183
- $fault: "client",
184
- ...opts,
185
- });
186
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
187
- this.Message = opts.Message;
188
- }
189
- }
190
- class ThrottlingException extends PaymentCryptographyServiceException {
191
- name = "ThrottlingException";
192
- $fault = "client";
193
- Message;
194
- constructor(opts) {
195
- super({
196
- name: "ThrottlingException",
197
- $fault: "client",
198
- ...opts,
199
- });
200
- Object.setPrototypeOf(this, ThrottlingException.prototype);
201
- this.Message = opts.Message;
202
- }
203
- }
204
- class ValidationException extends PaymentCryptographyServiceException {
205
- name = "ValidationException";
206
- $fault = "client";
207
- Message;
208
- constructor(opts) {
209
- super({
210
- name: "ValidationException",
211
- $fault: "client",
212
- ...opts,
213
- });
214
- Object.setPrototypeOf(this, ValidationException.prototype);
215
- this.Message = opts.Message;
216
- }
217
- }
218
- class ServiceUnavailableException extends PaymentCryptographyServiceException {
219
- name = "ServiceUnavailableException";
220
- $fault = "server";
221
- Message;
222
- constructor(opts) {
223
- super({
224
- name: "ServiceUnavailableException",
225
- $fault: "server",
226
- ...opts,
227
- });
228
- Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
229
- this.Message = opts.Message;
230
- }
231
- }
232
-
233
- const _A = "Alias";
234
- const _ADE = "AccessDeniedException";
235
- const _AKC = "As2805KeyCryptogram";
236
- const _AKRR = "AddKeyReplicationRegions";
237
- const _AKRRI = "AddKeyReplicationRegionsInput";
238
- const _AKRRO = "AddKeyReplicationRegionsOutput";
239
- const _AKV = "As2805KeyVariant";
240
- const _AN = "AliasName";
241
- const _Al = "Aliases";
242
- const _C = "City";
243
- const _CA = "CreateAlias";
244
- const _CAI = "CreateAliasInput";
245
- const _CAO = "CreateAliasOutput";
246
- const _CAPKI = "CertificateAuthorityPublicKeyIdentifier";
247
- const _CE = "ConflictException";
248
- const _CK = "CreateKey";
249
- const _CKI = "CreateKeyInput";
250
- const _CKO = "CreateKeyOutput";
251
- const _CN = "CommonName";
252
- const _CS = "CertificateSubject";
253
- const _CSR = "CertificateSigningRequest";
254
- const _CSRT = "CertificateSigningRequestType";
255
- const _CST = "CertificateSubjectType";
256
- const _CT = "CreateTimestamp";
257
- const _Co = "Country";
258
- const _D = "Decrypt";
259
- const _DA = "DeleteAlias";
260
- const _DAI = "DeleteAliasInput";
261
- const _DAO = "DeleteAliasOutput";
262
- const _DD = "DerivationData";
263
- const _DDKRR = "DisableDefaultKeyReplicationRegions";
264
- const _DDKRRI = "DisableDefaultKeyReplicationRegionsInput";
265
- const _DDKRRO = "DisableDefaultKeyReplicationRegionsOutput";
266
- const _DHDD = "DiffieHellmanDerivationData";
267
- const _DHTKB = "DiffieHellmanTr31KeyBlock";
268
- const _DK = "DeriveKey";
269
- const _DKA = "DeriveKeyAlgorithm";
270
- const _DKI = "DeleteKeyInput";
271
- const _DKID = "DeleteKeyInDays";
272
- const _DKO = "DeleteKeyOutput";
273
- const _DKU = "DeriveKeyUsage";
274
- const _DKe = "DeleteKey";
275
- const _DPT = "DeletePendingTimestamp";
276
- const _DT = "DeleteTimestamp";
277
- const _E = "Exportable";
278
- const _EA = "EmailAddress";
279
- const _EAKC = "ExportAs2805KeyCryptogram";
280
- const _EAx = "ExportAttributes";
281
- const _EDHTKB = "ExportDiffieHellmanTr31KeyBlock";
282
- const _EDIK = "ExportDukptInitialKey";
283
- const _EDKRR = "EnableDefaultKeyReplicationRegions";
284
- const _EDKRRI = "EnableDefaultKeyReplicationRegionsInput";
285
- const _EDKRRO = "EnableDefaultKeyReplicationRegionsOutput";
286
- const _EK = "ExportKey";
287
- const _EKC = "ExportKeyCryptogram";
288
- const _EKI = "ExportKeyInput";
289
- const _EKIx = "ExportKeyIdentifier";
290
- const _EKM = "ExportKeyMaterial";
291
- const _EKO = "ExportKeyOutput";
292
- const _ERR = "EnabledReplicationRegions";
293
- const _ET = "ExportToken";
294
- const _ETKB = "ExportTr31KeyBlock";
295
- const _ETKBx = "ExportTr34KeyBlock";
296
- const _En = "Enabled";
297
- const _Enc = "Encrypt";
298
- const _G = "Generate";
299
- const _GA = "GetAlias";
300
- const _GAI = "GetAliasInput";
301
- const _GAO = "GetAliasOutput";
302
- const _GCSR = "GetCertificateSigningRequest";
303
- const _GCSRI = "GetCertificateSigningRequestInput";
304
- const _GCSRO = "GetCertificateSigningRequestOutput";
305
- const _GDKRR = "GetDefaultKeyReplicationRegions";
306
- const _GDKRRI = "GetDefaultKeyReplicationRegionsInput";
307
- const _GDKRRO = "GetDefaultKeyReplicationRegionsOutput";
308
- const _GK = "GetKey";
309
- const _GKI = "GetKeyInput";
310
- const _GKO = "GetKeyOutput";
311
- const _GPFE = "GetParametersForExport";
312
- const _GPFEI = "GetParametersForExportInput";
313
- const _GPFEO = "GetParametersForExportOutput";
314
- const _GPFI = "GetParametersForImport";
315
- const _GPFII = "GetParametersForImportInput";
316
- const _GPFIO = "GetParametersForImportOutput";
317
- const _GPKC = "GetPublicKeyCertificate";
318
- const _GPKCI = "GetPublicKeyCertificateInput";
319
- const _GPKCO = "GetPublicKeyCertificateOutput";
320
- const _IAKC = "ImportAs2805KeyCryptogram";
321
- const _IDHTKB = "ImportDiffieHellmanTr31KeyBlock";
322
- const _IK = "ImportKey";
323
- const _IKC = "ImportKeyCryptogram";
324
- const _IKI = "ImportKeyInput";
325
- const _IKM = "ImportKeyMaterial";
326
- const _IKO = "ImportKeyOutput";
327
- const _ISE = "InternalServerException";
328
- const _IT = "ImportToken";
329
- const _ITKB = "ImportTr31KeyBlock";
330
- const _ITKBm = "ImportTr34KeyBlock";
331
- const _K = "Key";
332
- const _KA = "KeyArn";
333
- const _KAe = "KeyAttributes";
334
- const _KAey = "KeyAlgorithm";
335
- const _KBF = "KeyBlockFormat";
336
- const _KBH = "KeyBlockHeaders";
337
- const _KC = "KeyCertificate";
338
- const _KCC = "KeyCertificateChain";
339
- const _KCV = "KeyCheckValue";
340
- const _KCVA = "KeyCheckValueAlgorithm";
341
- const _KCe = "KeyClass";
342
- const _KCey = "KeyCryptogram";
343
- const _KDF = "KeyDerivationFunction";
344
- const _KDHA = "KeyDerivationHashAlgorithm";
345
- const _KE = "KeyExportability";
346
- const _KI = "KeyIdentifier";
347
- const _KM = "KeyMaterial";
348
- const _KMOU = "KeyModesOfUse";
349
- const _KMT = "KeyMaterialType";
350
- const _KO = "KeyOrigin";
351
- const _KS = "KeyState";
352
- const _KSL = "KeySummaryList";
353
- const _KSN = "KeySerialNumber";
354
- const _KSe = "KeySummary";
355
- const _KU = "KeyUsage";
356
- const _KV = "KeyVersion";
357
- const _Ke = "Keys";
358
- const _LA = "ListAliases";
359
- const _LAI = "ListAliasesInput";
360
- const _LAO = "ListAliasesOutput";
361
- const _LK = "ListKeys";
362
- const _LKI = "ListKeysInput";
363
- const _LKO = "ListKeysOutput";
364
- const _LTFR = "ListTagsForResource";
365
- const _LTFRI = "ListTagsForResourceInput";
366
- const _LTFRO = "ListTagsForResourceOutput";
367
- const _M = "Message";
368
- const _MR = "MaxResults";
369
- const _MRKT = "MultiRegionKeyType";
370
- const _NR = "NoRestrictions";
371
- const _NT = "NextToken";
372
- const _O = "Organization";
373
- const _OB = "OptionalBlocks";
374
- const _OBI = "OptionalBlockId";
375
- const _OBV = "OptionalBlockValue";
376
- const _OU = "OrganizationUnit";
377
- const _PKC = "PublicKeyCertificate";
378
- const _PKI = "PrivateKeyIdentifier";
379
- const _PR = "PrimaryRegion";
380
- const _PVUT = "ParametersValidUntilTimestamp";
381
- const _RA = "ResourceArn";
382
- const _RCPK = "RootCertificatePublicKey";
383
- const _RI = "ResourceId";
384
- const _RK = "RestoreKey";
385
- const _RKI = "RestoreKeyInput";
386
- const _RKO = "RestoreKeyOutput";
387
- const _RKRR = "RemoveKeyReplicationRegions";
388
- const _RKRRI = "RemoveKeyReplicationRegionsInput";
389
- const _RKRRO = "RemoveKeyReplicationRegionsOutput";
390
- const _RN = "RandomNonce";
391
- const _RNFE = "ResourceNotFoundException";
392
- const _RR = "ReplicationRegions";
393
- const _RS = "ReplicationStatus";
394
- const _RST = "ReplicationStatusType";
395
- const _S = "Sign";
396
- const _SA = "SigningAlgorithm";
397
- const _SI = "SharedInformation";
398
- const _SKA = "SigningKeyAlgorithm";
399
- const _SKC = "SigningKeyCertificate";
400
- const _SKCC = "SigningKeyCertificateChain";
401
- const _SKI = "SigningKeyIdentifier";
402
- const _SKU = "StartKeyUsage";
403
- const _SKUI = "StartKeyUsageInput";
404
- const _SKUIt = "StopKeyUsageInput";
405
- const _SKUO = "StartKeyUsageOutput";
406
- const _SKUOt = "StopKeyUsageOutput";
407
- const _SKUt = "StopKeyUsage";
408
- const _SM = "StatusMessage";
409
- const _SOP = "StateOrProvince";
410
- const _SQEE = "ServiceQuotaExceededException";
411
- const _SUE = "ServiceUnavailableException";
412
- const _St = "Status";
413
- const _T = "Tags";
414
- const _TCPK = "TrustedCertificatePublicKey";
415
- const _TE = "ThrottlingException";
416
- const _TK = "TagKeys";
417
- const _TKB = "Tr31KeyBlock";
418
- const _TKBr = "Tr34KeyBlock";
419
- const _TR = "TagResource";
420
- const _TRI = "TagResourceInput";
421
- const _TRO = "TagResourceOutput";
422
- const _TWKB = "Tr31WrappedKeyBlock";
423
- const _TWKBr = "Tr34WrappedKeyBlock";
424
- const _Ta = "Tag";
425
- const _U = "Unwrap";
426
- const _UA = "UpdateAlias";
427
- const _UAI = "UpdateAliasInput";
428
- const _UAO = "UpdateAliasOutput";
429
- const _UDRR = "UsingDefaultReplicationRegions";
430
- const _UR = "UntagResource";
431
- const _URI = "UntagResourceInput";
432
- const _URO = "UntagResourceOutput";
433
- const _UST = "UsageStartTimestamp";
434
- const _USTs = "UsageStopTimestamp";
435
- const _V = "Verify";
436
- const _VE = "ValidationException";
437
- const _Va = "Value";
438
- const _W = "Wrap";
439
- const _WK = "WrappedKey";
440
- const _WKA = "WrappingKeyAlgorithm";
441
- const _WKAr = "WrappingKeyArn";
442
- const _WKB = "WrappedKeyBlock";
443
- const _WKC = "WrappedKeyCryptogram";
444
- const _WKCC = "WrappingKeyCertificateChain";
445
- const _WKCr = "WrappingKeyCertificate";
446
- const _WKI = "WrappingKeyIdentifier";
447
- const _WKMF = "WrappedKeyMaterialFormat";
448
- const _WS = "WrappingSpec";
449
- const _c = "client";
450
- const _e = "error";
451
- const _hE = "httpError";
452
- const _s = "server";
453
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.paymentcryptography";
454
- const n0 = "com.amazonaws.paymentcryptography";
455
- var CertificateSigningRequestType = [0, n0, _CSRT, 8, 0];
456
- var KeyMaterial = [0, n0, _KM, 8, 0];
457
- var OptionalBlockId = [0, n0, _OBI, 8, 0];
458
- var OptionalBlockValue = [0, n0, _OBV, 8, 0];
459
- var Tr31WrappedKeyBlock = [0, n0, _TWKB, 8, 0];
460
- var Tr34WrappedKeyBlock = [0, n0, _TWKBr, 8, 0];
461
- var WrappedKeyCryptogram = [0, n0, _WKC, 8, 0];
462
- var AccessDeniedException$ = [-3, n0, _ADE,
463
- { [_e]: _c, [_hE]: 403 },
464
- [_M],
465
- [0]
466
- ];
467
- schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
468
- var AddKeyReplicationRegionsInput$ = [3, n0, _AKRRI,
469
- 0,
470
- [_KI, _RR],
471
- [0, 64 | 0], 2
472
- ];
473
- var AddKeyReplicationRegionsOutput$ = [3, n0, _AKRRO,
474
- 0,
475
- [_K],
476
- [() => Key$], 1
477
- ];
478
- var Alias$ = [3, n0, _A,
479
- 0,
480
- [_AN, _KA],
481
- [0, 0], 1
482
- ];
483
- var CertificateSubjectType$ = [3, n0, _CST,
484
- 0,
485
- [_CN, _OU, _O, _C, _Co, _SOP, _EA],
486
- [0, 0, 0, 0, 0, 0, 0], 1
487
- ];
488
- var ConflictException$ = [-3, n0, _CE,
489
- { [_e]: _c, [_hE]: 409 },
490
- [_M],
491
- [0]
492
- ];
493
- schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
494
- var CreateAliasInput$ = [3, n0, _CAI,
495
- 0,
496
- [_AN, _KA],
497
- [0, 0], 1
498
- ];
499
- var CreateAliasOutput$ = [3, n0, _CAO,
500
- 0,
501
- [_A],
502
- [() => Alias$], 1
503
- ];
504
- var CreateKeyInput$ = [3, n0, _CKI,
505
- 0,
506
- [_KAe, _E, _KCVA, _En, _T, _DKU, _RR],
507
- [() => KeyAttributes$, 2, 0, 2, () => Tags, 0, 64 | 0], 2
508
- ];
509
- var CreateKeyOutput$ = [3, n0, _CKO,
510
- 0,
511
- [_K],
512
- [() => Key$], 1
513
- ];
514
- var DeleteAliasInput$ = [3, n0, _DAI,
515
- 0,
516
- [_AN],
517
- [0], 1
518
- ];
519
- var DeleteAliasOutput$ = [3, n0, _DAO,
520
- 0,
521
- [],
522
- []
523
- ];
524
- var DeleteKeyInput$ = [3, n0, _DKI,
525
- 0,
526
- [_KI, _DKID],
527
- [0, 1], 1
528
- ];
529
- var DeleteKeyOutput$ = [3, n0, _DKO,
530
- 0,
531
- [_K],
532
- [() => Key$], 1
533
- ];
534
- var DisableDefaultKeyReplicationRegionsInput$ = [3, n0, _DDKRRI,
535
- 0,
536
- [_RR],
537
- [64 | 0], 1
538
- ];
539
- var DisableDefaultKeyReplicationRegionsOutput$ = [3, n0, _DDKRRO,
540
- 0,
541
- [_ERR],
542
- [64 | 0], 1
543
- ];
544
- var EnableDefaultKeyReplicationRegionsInput$ = [3, n0, _EDKRRI,
545
- 0,
546
- [_RR],
547
- [64 | 0], 1
548
- ];
549
- var EnableDefaultKeyReplicationRegionsOutput$ = [3, n0, _EDKRRO,
550
- 0,
551
- [_ERR],
552
- [64 | 0], 1
553
- ];
554
- var ExportAs2805KeyCryptogram$ = [3, n0, _EAKC,
555
- 0,
556
- [_WKI, _AKV],
557
- [0, 0], 2
558
- ];
559
- var ExportAttributes$ = [3, n0, _EAx,
560
- 0,
561
- [_EDIK, _KCVA],
562
- [() => ExportDukptInitialKey$, 0]
563
- ];
564
- var ExportDiffieHellmanTr31KeyBlock$ = [3, n0, _EDHTKB,
565
- 0,
566
- [_PKI, _CAPKI, _PKC, _DKA, _KDF, _KDHA, _DD, _KBH],
567
- [0, 0, 0, 0, 0, 0, () => DiffieHellmanDerivationData$, [() => KeyBlockHeaders$, 0]], 7
568
- ];
569
- var ExportDukptInitialKey$ = [3, n0, _EDIK,
570
- 0,
571
- [_KSN],
572
- [0], 1
573
- ];
574
- var ExportKeyCryptogram$ = [3, n0, _EKC,
575
- 0,
576
- [_CAPKI, _WKCr, _WS],
577
- [0, 0, 0], 2
578
- ];
579
- var ExportKeyInput$ = [3, n0, _EKI,
580
- 0,
581
- [_KM, _EKIx, _EAx],
582
- [[() => ExportKeyMaterial$, 0], 0, () => ExportAttributes$], 2
583
- ];
584
- var ExportKeyOutput$ = [3, n0, _EKO,
585
- 0,
586
- [_WK],
587
- [[() => WrappedKey$, 0]]
588
- ];
589
- var ExportTr31KeyBlock$ = [3, n0, _ETKB,
590
- 0,
591
- [_WKI, _KBH],
592
- [0, [() => KeyBlockHeaders$, 0]], 1
593
- ];
594
- var ExportTr34KeyBlock$ = [3, n0, _ETKBx,
595
- 0,
596
- [_CAPKI, _WKCr, _KBF, _ET, _SKI, _SKC, _RN, _KBH],
597
- [0, 0, 0, 0, 0, 0, 0, [() => KeyBlockHeaders$, 0]], 3
598
- ];
599
- var GetAliasInput$ = [3, n0, _GAI,
600
- 0,
601
- [_AN],
602
- [0], 1
603
- ];
604
- var GetAliasOutput$ = [3, n0, _GAO,
605
- 0,
606
- [_A],
607
- [() => Alias$], 1
608
- ];
609
- var GetCertificateSigningRequestInput$ = [3, n0, _GCSRI,
610
- 0,
611
- [_KI, _SA, _CS],
612
- [0, 0, () => CertificateSubjectType$], 3
613
- ];
614
- var GetCertificateSigningRequestOutput$ = [3, n0, _GCSRO,
615
- 0,
616
- [_CSR],
617
- [[() => CertificateSigningRequestType, 0]], 1
618
- ];
619
- var GetDefaultKeyReplicationRegionsInput$ = [3, n0, _GDKRRI,
620
- 0,
621
- [],
622
- []
623
- ];
624
- var GetDefaultKeyReplicationRegionsOutput$ = [3, n0, _GDKRRO,
625
- 0,
626
- [_ERR],
627
- [64 | 0], 1
628
- ];
629
- var GetKeyInput$ = [3, n0, _GKI,
630
- 0,
631
- [_KI],
632
- [0], 1
633
- ];
634
- var GetKeyOutput$ = [3, n0, _GKO,
635
- 0,
636
- [_K],
637
- [() => Key$], 1
638
- ];
639
- var GetParametersForExportInput$ = [3, n0, _GPFEI,
640
- 0,
641
- [_KMT, _SKA],
642
- [0, 0], 2
643
- ];
644
- var GetParametersForExportOutput$ = [3, n0, _GPFEO,
645
- 0,
646
- [_SKC, _SKCC, _SKA, _ET, _PVUT],
647
- [0, 0, 0, 0, 4], 5
648
- ];
649
- var GetParametersForImportInput$ = [3, n0, _GPFII,
650
- 0,
651
- [_KMT, _WKA],
652
- [0, 0], 2
653
- ];
654
- var GetParametersForImportOutput$ = [3, n0, _GPFIO,
655
- 0,
656
- [_WKCr, _WKCC, _WKA, _IT, _PVUT],
657
- [0, 0, 0, 0, 4], 5
658
- ];
659
- var GetPublicKeyCertificateInput$ = [3, n0, _GPKCI,
660
- 0,
661
- [_KI],
662
- [0], 1
663
- ];
664
- var GetPublicKeyCertificateOutput$ = [3, n0, _GPKCO,
665
- 0,
666
- [_KC, _KCC],
667
- [0, 0], 2
668
- ];
669
- var ImportAs2805KeyCryptogram$ = [3, n0, _IAKC,
670
- 0,
671
- [_AKV, _KMOU, _KAey, _E, _WKI, _WKC],
672
- [0, () => KeyModesOfUse$, 0, 2, 0, [() => WrappedKeyCryptogram, 0]], 6
673
- ];
674
- var ImportDiffieHellmanTr31KeyBlock$ = [3, n0, _IDHTKB,
675
- 0,
676
- [_PKI, _CAPKI, _PKC, _DKA, _KDF, _KDHA, _DD, _WKB],
677
- [0, 0, 0, 0, 0, 0, () => DiffieHellmanDerivationData$, [() => Tr31WrappedKeyBlock, 0]], 8
678
- ];
679
- var ImportKeyCryptogram$ = [3, n0, _IKC,
680
- 0,
681
- [_KAe, _E, _WKC, _IT, _WS],
682
- [() => KeyAttributes$, 2, [() => WrappedKeyCryptogram, 0], 0, 0], 4
683
- ];
684
- var ImportKeyInput$ = [3, n0, _IKI,
685
- 0,
686
- [_KM, _KCVA, _En, _T, _RR],
687
- [[() => ImportKeyMaterial$, 0], 0, 2, () => Tags, 64 | 0], 1
688
- ];
689
- var ImportKeyOutput$ = [3, n0, _IKO,
690
- 0,
691
- [_K],
692
- [() => Key$], 1
693
- ];
694
- var ImportTr31KeyBlock$ = [3, n0, _ITKB,
695
- 0,
696
- [_WKI, _WKB],
697
- [0, [() => Tr31WrappedKeyBlock, 0]], 2
698
- ];
699
- var ImportTr34KeyBlock$ = [3, n0, _ITKBm,
700
- 0,
701
- [_CAPKI, _SKC, _WKB, _KBF, _IT, _WKI, _WKCr, _RN],
702
- [0, 0, [() => Tr34WrappedKeyBlock, 0], 0, 0, 0, 0, 0], 4
703
- ];
704
- var InternalServerException$ = [-3, n0, _ISE,
705
- { [_e]: _s, [_hE]: 500 },
706
- [_M],
707
- [0]
708
- ];
709
- schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
710
- var Key$ = [3, n0, _K,
711
- 0,
712
- [_KA, _KAe, _KCV, _KCVA, _En, _E, _KS, _KO, _CT, _UST, _USTs, _DPT, _DT, _DKU, _MRKT, _PR, _RS, _UDRR],
713
- [0, () => KeyAttributes$, 0, 0, 2, 2, 0, 0, 4, 4, 4, 4, 4, 0, 0, 0, () => ReplicationStatus, 2], 9
714
- ];
715
- var KeyAttributes$ = [3, n0, _KAe,
716
- 0,
717
- [_KU, _KCe, _KAey, _KMOU],
718
- [0, 0, 0, () => KeyModesOfUse$], 4
719
- ];
720
- var KeyBlockHeaders$ = [3, n0, _KBH,
721
- 0,
722
- [_KMOU, _KE, _KV, _OB],
723
- [() => KeyModesOfUse$, 0, 0, [() => OptionalBlocks, 0]]
724
- ];
725
- var KeyModesOfUse$ = [3, n0, _KMOU,
726
- 0,
727
- [_Enc, _D, _W, _U, _G, _S, _V, _DK, _NR],
728
- [2, 2, 2, 2, 2, 2, 2, 2, 2]
729
- ];
730
- var KeySummary$ = [3, n0, _KSe,
731
- 0,
732
- [_KA, _KS, _KAe, _KCV, _E, _En, _MRKT, _PR],
733
- [0, 0, () => KeyAttributes$, 0, 2, 2, 0, 0], 6
734
- ];
735
- var ListAliasesInput$ = [3, n0, _LAI,
736
- 0,
737
- [_KA, _NT, _MR],
738
- [0, 0, 1]
739
- ];
740
- var ListAliasesOutput$ = [3, n0, _LAO,
741
- 0,
742
- [_Al, _NT],
743
- [() => Aliases, 0], 1
744
- ];
745
- var ListKeysInput$ = [3, n0, _LKI,
746
- 0,
747
- [_KS, _NT, _MR],
748
- [0, 0, 1]
749
- ];
750
- var ListKeysOutput$ = [3, n0, _LKO,
751
- 0,
752
- [_Ke, _NT],
753
- [() => KeySummaryList, 0], 1
754
- ];
755
- var ListTagsForResourceInput$ = [3, n0, _LTFRI,
756
- 0,
757
- [_RA, _NT, _MR],
758
- [0, 0, 1], 1
759
- ];
760
- var ListTagsForResourceOutput$ = [3, n0, _LTFRO,
761
- 0,
762
- [_T, _NT],
763
- [() => Tags, 0], 1
764
- ];
765
- var RemoveKeyReplicationRegionsInput$ = [3, n0, _RKRRI,
766
- 0,
767
- [_KI, _RR],
768
- [0, 64 | 0], 2
769
- ];
770
- var RemoveKeyReplicationRegionsOutput$ = [3, n0, _RKRRO,
771
- 0,
772
- [_K],
773
- [() => Key$], 1
774
- ];
775
- var ReplicationStatusType$ = [3, n0, _RST,
776
- 0,
777
- [_St, _SM],
778
- [0, 0], 1
779
- ];
780
- var ResourceNotFoundException$ = [-3, n0, _RNFE,
781
- { [_e]: _c, [_hE]: 404 },
782
- [_RI],
783
- [0]
784
- ];
785
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
786
- var RestoreKeyInput$ = [3, n0, _RKI,
787
- 0,
788
- [_KI],
789
- [0], 1
790
- ];
791
- var RestoreKeyOutput$ = [3, n0, _RKO,
792
- 0,
793
- [_K],
794
- [() => Key$], 1
795
- ];
796
- var RootCertificatePublicKey$ = [3, n0, _RCPK,
797
- 0,
798
- [_KAe, _PKC],
799
- [() => KeyAttributes$, 0], 2
800
- ];
801
- var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
802
- { [_e]: _c, [_hE]: 402 },
803
- [_M],
804
- [0]
805
- ];
806
- schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
807
- var ServiceUnavailableException$ = [-3, n0, _SUE,
808
- { [_e]: _s, [_hE]: 503 },
809
- [_M],
810
- [0]
811
- ];
812
- schema.TypeRegistry.for(n0).registerError(ServiceUnavailableException$, ServiceUnavailableException);
813
- var StartKeyUsageInput$ = [3, n0, _SKUI,
814
- 0,
815
- [_KI],
816
- [0], 1
817
- ];
818
- var StartKeyUsageOutput$ = [3, n0, _SKUO,
819
- 0,
820
- [_K],
821
- [() => Key$], 1
822
- ];
823
- var StopKeyUsageInput$ = [3, n0, _SKUIt,
824
- 0,
825
- [_KI],
826
- [0], 1
827
- ];
828
- var StopKeyUsageOutput$ = [3, n0, _SKUOt,
829
- 0,
830
- [_K],
831
- [() => Key$], 1
832
- ];
833
- var Tag$ = [3, n0, _Ta,
834
- 0,
835
- [_K, _Va],
836
- [0, 0], 2
837
- ];
838
- var TagResourceInput$ = [3, n0, _TRI,
839
- 0,
840
- [_RA, _T],
841
- [0, () => Tags], 2
842
- ];
843
- var TagResourceOutput$ = [3, n0, _TRO,
844
- 0,
845
- [],
846
- []
847
- ];
848
- var ThrottlingException$ = [-3, n0, _TE,
849
- { [_e]: _c, [_hE]: 429 },
850
- [_M],
851
- [0]
852
- ];
853
- schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
854
- var TrustedCertificatePublicKey$ = [3, n0, _TCPK,
855
- 0,
856
- [_KAe, _PKC, _CAPKI],
857
- [() => KeyAttributes$, 0, 0], 3
858
- ];
859
- var UntagResourceInput$ = [3, n0, _URI,
860
- 0,
861
- [_RA, _TK],
862
- [0, 64 | 0], 2
863
- ];
864
- var UntagResourceOutput$ = [3, n0, _URO,
865
- 0,
866
- [],
867
- []
868
- ];
869
- var UpdateAliasInput$ = [3, n0, _UAI,
870
- 0,
871
- [_AN, _KA],
872
- [0, 0], 1
873
- ];
874
- var UpdateAliasOutput$ = [3, n0, _UAO,
875
- 0,
876
- [_A],
877
- [() => Alias$], 1
878
- ];
879
- var ValidationException$ = [-3, n0, _VE,
880
- { [_e]: _c, [_hE]: 400 },
881
- [_M],
882
- [0]
883
- ];
884
- schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
885
- var WrappedKey$ = [3, n0, _WK,
886
- 0,
887
- [_WKAr, _WKMF, _KM, _KCV, _KCVA],
888
- [0, 0, [() => KeyMaterial, 0], 0, 0], 3
889
- ];
890
- var PaymentCryptographyServiceException$ = [-3, _sm, "PaymentCryptographyServiceException", 0, [], []];
891
- schema.TypeRegistry.for(_sm).registerError(PaymentCryptographyServiceException$, PaymentCryptographyServiceException);
892
- var Aliases = [1, n0, _Al,
893
- 0, () => Alias$
894
- ];
895
- var KeySummaryList = [1, n0, _KSL,
896
- 0, () => KeySummary$
897
- ];
898
- var Tags = [1, n0, _T,
899
- 0, () => Tag$
900
- ];
901
- var OptionalBlocks = [2, n0, _OB,
902
- 0, [() => OptionalBlockId,
903
- 0],
904
- [() => OptionalBlockValue,
905
- 0]
906
- ];
907
- var ReplicationStatus = [2, n0, _RS,
908
- 0, 0, () => ReplicationStatusType$
909
- ];
910
- var DiffieHellmanDerivationData$ = [4, n0, _DHDD,
911
- 0,
912
- [_SI],
913
- [0]
914
- ];
915
- var ExportKeyMaterial$ = [4, n0, _EKM,
916
- 0,
917
- [_TKB, _TKBr, _KCey, _DHTKB, _AKC],
918
- [[() => ExportTr31KeyBlock$, 0], [() => ExportTr34KeyBlock$, 0], () => ExportKeyCryptogram$, [() => ExportDiffieHellmanTr31KeyBlock$, 0], () => ExportAs2805KeyCryptogram$]
919
- ];
920
- var ImportKeyMaterial$ = [4, n0, _IKM,
921
- 0,
922
- [_RCPK, _TCPK, _TKB, _TKBr, _KCey, _DHTKB, _AKC],
923
- [() => RootCertificatePublicKey$, () => TrustedCertificatePublicKey$, [() => ImportTr31KeyBlock$, 0], [() => ImportTr34KeyBlock$, 0], [() => ImportKeyCryptogram$, 0], [() => ImportDiffieHellmanTr31KeyBlock$, 0], [() => ImportAs2805KeyCryptogram$, 0]]
924
- ];
925
- var AddKeyReplicationRegions$ = [9, n0, _AKRR,
926
- 0, () => AddKeyReplicationRegionsInput$, () => AddKeyReplicationRegionsOutput$
927
- ];
928
- var CreateAlias$ = [9, n0, _CA,
929
- 2, () => CreateAliasInput$, () => CreateAliasOutput$
930
- ];
931
- var CreateKey$ = [9, n0, _CK,
932
- 0, () => CreateKeyInput$, () => CreateKeyOutput$
933
- ];
934
- var DeleteAlias$ = [9, n0, _DA,
935
- 2, () => DeleteAliasInput$, () => DeleteAliasOutput$
936
- ];
937
- var DeleteKey$ = [9, n0, _DKe,
938
- 2, () => DeleteKeyInput$, () => DeleteKeyOutput$
939
- ];
940
- var DisableDefaultKeyReplicationRegions$ = [9, n0, _DDKRR,
941
- 0, () => DisableDefaultKeyReplicationRegionsInput$, () => DisableDefaultKeyReplicationRegionsOutput$
942
- ];
943
- var EnableDefaultKeyReplicationRegions$ = [9, n0, _EDKRR,
944
- 0, () => EnableDefaultKeyReplicationRegionsInput$, () => EnableDefaultKeyReplicationRegionsOutput$
945
- ];
946
- var ExportKey$ = [9, n0, _EK,
947
- 0, () => ExportKeyInput$, () => ExportKeyOutput$
948
- ];
949
- var GetAlias$ = [9, n0, _GA,
950
- 0, () => GetAliasInput$, () => GetAliasOutput$
951
- ];
952
- var GetCertificateSigningRequest$ = [9, n0, _GCSR,
953
- 0, () => GetCertificateSigningRequestInput$, () => GetCertificateSigningRequestOutput$
954
- ];
955
- var GetDefaultKeyReplicationRegions$ = [9, n0, _GDKRR,
956
- 0, () => GetDefaultKeyReplicationRegionsInput$, () => GetDefaultKeyReplicationRegionsOutput$
957
- ];
958
- var GetKey$ = [9, n0, _GK,
959
- 0, () => GetKeyInput$, () => GetKeyOutput$
960
- ];
961
- var GetParametersForExport$ = [9, n0, _GPFE,
962
- 0, () => GetParametersForExportInput$, () => GetParametersForExportOutput$
963
- ];
964
- var GetParametersForImport$ = [9, n0, _GPFI,
965
- 0, () => GetParametersForImportInput$, () => GetParametersForImportOutput$
966
- ];
967
- var GetPublicKeyCertificate$ = [9, n0, _GPKC,
968
- 0, () => GetPublicKeyCertificateInput$, () => GetPublicKeyCertificateOutput$
969
- ];
970
- var ImportKey$ = [9, n0, _IK,
971
- 0, () => ImportKeyInput$, () => ImportKeyOutput$
972
- ];
973
- var ListAliases$ = [9, n0, _LA,
974
- 0, () => ListAliasesInput$, () => ListAliasesOutput$
975
- ];
976
- var ListKeys$ = [9, n0, _LK,
977
- 0, () => ListKeysInput$, () => ListKeysOutput$
978
- ];
979
- var ListTagsForResource$ = [9, n0, _LTFR,
980
- 0, () => ListTagsForResourceInput$, () => ListTagsForResourceOutput$
981
- ];
982
- var RemoveKeyReplicationRegions$ = [9, n0, _RKRR,
983
- 0, () => RemoveKeyReplicationRegionsInput$, () => RemoveKeyReplicationRegionsOutput$
984
- ];
985
- var RestoreKey$ = [9, n0, _RK,
986
- 0, () => RestoreKeyInput$, () => RestoreKeyOutput$
987
- ];
988
- var StartKeyUsage$ = [9, n0, _SKU,
989
- 0, () => StartKeyUsageInput$, () => StartKeyUsageOutput$
990
- ];
991
- var StopKeyUsage$ = [9, n0, _SKUt,
992
- 0, () => StopKeyUsageInput$, () => StopKeyUsageOutput$
993
- ];
994
- var TagResource$ = [9, n0, _TR,
995
- 0, () => TagResourceInput$, () => TagResourceOutput$
996
- ];
997
- var UntagResource$ = [9, n0, _UR,
998
- 0, () => UntagResourceInput$, () => UntagResourceOutput$
999
- ];
1000
- var UpdateAlias$ = [9, n0, _UA,
1001
- 0, () => UpdateAliasInput$, () => UpdateAliasOutput$
1002
- ];
1003
-
1004
116
  class AddKeyReplicationRegionsCommand extends smithyClient.Command
1005
117
  .classBuilder()
1006
118
  .ep(commonParams)
@@ -1009,7 +121,7 @@ class AddKeyReplicationRegionsCommand extends smithyClient.Command
1009
121
  })
1010
122
  .s("PaymentCryptographyControlPlane", "AddKeyReplicationRegions", {})
1011
123
  .n("PaymentCryptographyClient", "AddKeyReplicationRegionsCommand")
1012
- .sc(AddKeyReplicationRegions$)
124
+ .sc(schemas_0.AddKeyReplicationRegions$)
1013
125
  .build() {
1014
126
  }
1015
127
 
@@ -1021,7 +133,7 @@ class CreateAliasCommand extends smithyClient.Command
1021
133
  })
1022
134
  .s("PaymentCryptographyControlPlane", "CreateAlias", {})
1023
135
  .n("PaymentCryptographyClient", "CreateAliasCommand")
1024
- .sc(CreateAlias$)
136
+ .sc(schemas_0.CreateAlias$)
1025
137
  .build() {
1026
138
  }
1027
139
 
@@ -1033,7 +145,7 @@ class CreateKeyCommand extends smithyClient.Command
1033
145
  })
1034
146
  .s("PaymentCryptographyControlPlane", "CreateKey", {})
1035
147
  .n("PaymentCryptographyClient", "CreateKeyCommand")
1036
- .sc(CreateKey$)
148
+ .sc(schemas_0.CreateKey$)
1037
149
  .build() {
1038
150
  }
1039
151
 
@@ -1045,7 +157,7 @@ class DeleteAliasCommand extends smithyClient.Command
1045
157
  })
1046
158
  .s("PaymentCryptographyControlPlane", "DeleteAlias", {})
1047
159
  .n("PaymentCryptographyClient", "DeleteAliasCommand")
1048
- .sc(DeleteAlias$)
160
+ .sc(schemas_0.DeleteAlias$)
1049
161
  .build() {
1050
162
  }
1051
163
 
@@ -1057,7 +169,7 @@ class DeleteKeyCommand extends smithyClient.Command
1057
169
  })
1058
170
  .s("PaymentCryptographyControlPlane", "DeleteKey", {})
1059
171
  .n("PaymentCryptographyClient", "DeleteKeyCommand")
1060
- .sc(DeleteKey$)
172
+ .sc(schemas_0.DeleteKey$)
1061
173
  .build() {
1062
174
  }
1063
175
 
@@ -1069,7 +181,7 @@ class DisableDefaultKeyReplicationRegionsCommand extends smithyClient.Command
1069
181
  })
1070
182
  .s("PaymentCryptographyControlPlane", "DisableDefaultKeyReplicationRegions", {})
1071
183
  .n("PaymentCryptographyClient", "DisableDefaultKeyReplicationRegionsCommand")
1072
- .sc(DisableDefaultKeyReplicationRegions$)
184
+ .sc(schemas_0.DisableDefaultKeyReplicationRegions$)
1073
185
  .build() {
1074
186
  }
1075
187
 
@@ -1081,7 +193,7 @@ class EnableDefaultKeyReplicationRegionsCommand extends smithyClient.Command
1081
193
  })
1082
194
  .s("PaymentCryptographyControlPlane", "EnableDefaultKeyReplicationRegions", {})
1083
195
  .n("PaymentCryptographyClient", "EnableDefaultKeyReplicationRegionsCommand")
1084
- .sc(EnableDefaultKeyReplicationRegions$)
196
+ .sc(schemas_0.EnableDefaultKeyReplicationRegions$)
1085
197
  .build() {
1086
198
  }
1087
199
 
@@ -1093,7 +205,7 @@ class ExportKeyCommand extends smithyClient.Command
1093
205
  })
1094
206
  .s("PaymentCryptographyControlPlane", "ExportKey", {})
1095
207
  .n("PaymentCryptographyClient", "ExportKeyCommand")
1096
- .sc(ExportKey$)
208
+ .sc(schemas_0.ExportKey$)
1097
209
  .build() {
1098
210
  }
1099
211
 
@@ -1105,7 +217,7 @@ class GetAliasCommand extends smithyClient.Command
1105
217
  })
1106
218
  .s("PaymentCryptographyControlPlane", "GetAlias", {})
1107
219
  .n("PaymentCryptographyClient", "GetAliasCommand")
1108
- .sc(GetAlias$)
220
+ .sc(schemas_0.GetAlias$)
1109
221
  .build() {
1110
222
  }
1111
223
 
@@ -1117,7 +229,7 @@ class GetCertificateSigningRequestCommand extends smithyClient.Command
1117
229
  })
1118
230
  .s("PaymentCryptographyControlPlane", "GetCertificateSigningRequest", {})
1119
231
  .n("PaymentCryptographyClient", "GetCertificateSigningRequestCommand")
1120
- .sc(GetCertificateSigningRequest$)
232
+ .sc(schemas_0.GetCertificateSigningRequest$)
1121
233
  .build() {
1122
234
  }
1123
235
 
@@ -1129,7 +241,7 @@ class GetDefaultKeyReplicationRegionsCommand extends smithyClient.Command
1129
241
  })
1130
242
  .s("PaymentCryptographyControlPlane", "GetDefaultKeyReplicationRegions", {})
1131
243
  .n("PaymentCryptographyClient", "GetDefaultKeyReplicationRegionsCommand")
1132
- .sc(GetDefaultKeyReplicationRegions$)
244
+ .sc(schemas_0.GetDefaultKeyReplicationRegions$)
1133
245
  .build() {
1134
246
  }
1135
247
 
@@ -1141,7 +253,7 @@ class GetKeyCommand extends smithyClient.Command
1141
253
  })
1142
254
  .s("PaymentCryptographyControlPlane", "GetKey", {})
1143
255
  .n("PaymentCryptographyClient", "GetKeyCommand")
1144
- .sc(GetKey$)
256
+ .sc(schemas_0.GetKey$)
1145
257
  .build() {
1146
258
  }
1147
259
 
@@ -1153,7 +265,7 @@ class GetParametersForExportCommand extends smithyClient.Command
1153
265
  })
1154
266
  .s("PaymentCryptographyControlPlane", "GetParametersForExport", {})
1155
267
  .n("PaymentCryptographyClient", "GetParametersForExportCommand")
1156
- .sc(GetParametersForExport$)
268
+ .sc(schemas_0.GetParametersForExport$)
1157
269
  .build() {
1158
270
  }
1159
271
 
@@ -1165,7 +277,7 @@ class GetParametersForImportCommand extends smithyClient.Command
1165
277
  })
1166
278
  .s("PaymentCryptographyControlPlane", "GetParametersForImport", {})
1167
279
  .n("PaymentCryptographyClient", "GetParametersForImportCommand")
1168
- .sc(GetParametersForImport$)
280
+ .sc(schemas_0.GetParametersForImport$)
1169
281
  .build() {
1170
282
  }
1171
283
 
@@ -1177,7 +289,7 @@ class GetPublicKeyCertificateCommand extends smithyClient.Command
1177
289
  })
1178
290
  .s("PaymentCryptographyControlPlane", "GetPublicKeyCertificate", {})
1179
291
  .n("PaymentCryptographyClient", "GetPublicKeyCertificateCommand")
1180
- .sc(GetPublicKeyCertificate$)
292
+ .sc(schemas_0.GetPublicKeyCertificate$)
1181
293
  .build() {
1182
294
  }
1183
295
 
@@ -1189,7 +301,7 @@ class ImportKeyCommand extends smithyClient.Command
1189
301
  })
1190
302
  .s("PaymentCryptographyControlPlane", "ImportKey", {})
1191
303
  .n("PaymentCryptographyClient", "ImportKeyCommand")
1192
- .sc(ImportKey$)
304
+ .sc(schemas_0.ImportKey$)
1193
305
  .build() {
1194
306
  }
1195
307
 
@@ -1201,7 +313,7 @@ class ListAliasesCommand extends smithyClient.Command
1201
313
  })
1202
314
  .s("PaymentCryptographyControlPlane", "ListAliases", {})
1203
315
  .n("PaymentCryptographyClient", "ListAliasesCommand")
1204
- .sc(ListAliases$)
316
+ .sc(schemas_0.ListAliases$)
1205
317
  .build() {
1206
318
  }
1207
319
 
@@ -1213,7 +325,7 @@ class ListKeysCommand extends smithyClient.Command
1213
325
  })
1214
326
  .s("PaymentCryptographyControlPlane", "ListKeys", {})
1215
327
  .n("PaymentCryptographyClient", "ListKeysCommand")
1216
- .sc(ListKeys$)
328
+ .sc(schemas_0.ListKeys$)
1217
329
  .build() {
1218
330
  }
1219
331
 
@@ -1225,7 +337,7 @@ class ListTagsForResourceCommand extends smithyClient.Command
1225
337
  })
1226
338
  .s("PaymentCryptographyControlPlane", "ListTagsForResource", {})
1227
339
  .n("PaymentCryptographyClient", "ListTagsForResourceCommand")
1228
- .sc(ListTagsForResource$)
340
+ .sc(schemas_0.ListTagsForResource$)
1229
341
  .build() {
1230
342
  }
1231
343
 
@@ -1237,7 +349,7 @@ class RemoveKeyReplicationRegionsCommand extends smithyClient.Command
1237
349
  })
1238
350
  .s("PaymentCryptographyControlPlane", "RemoveKeyReplicationRegions", {})
1239
351
  .n("PaymentCryptographyClient", "RemoveKeyReplicationRegionsCommand")
1240
- .sc(RemoveKeyReplicationRegions$)
352
+ .sc(schemas_0.RemoveKeyReplicationRegions$)
1241
353
  .build() {
1242
354
  }
1243
355
 
@@ -1249,7 +361,7 @@ class RestoreKeyCommand extends smithyClient.Command
1249
361
  })
1250
362
  .s("PaymentCryptographyControlPlane", "RestoreKey", {})
1251
363
  .n("PaymentCryptographyClient", "RestoreKeyCommand")
1252
- .sc(RestoreKey$)
364
+ .sc(schemas_0.RestoreKey$)
1253
365
  .build() {
1254
366
  }
1255
367
 
@@ -1261,7 +373,7 @@ class StartKeyUsageCommand extends smithyClient.Command
1261
373
  })
1262
374
  .s("PaymentCryptographyControlPlane", "StartKeyUsage", {})
1263
375
  .n("PaymentCryptographyClient", "StartKeyUsageCommand")
1264
- .sc(StartKeyUsage$)
376
+ .sc(schemas_0.StartKeyUsage$)
1265
377
  .build() {
1266
378
  }
1267
379
 
@@ -1273,7 +385,7 @@ class StopKeyUsageCommand extends smithyClient.Command
1273
385
  })
1274
386
  .s("PaymentCryptographyControlPlane", "StopKeyUsage", {})
1275
387
  .n("PaymentCryptographyClient", "StopKeyUsageCommand")
1276
- .sc(StopKeyUsage$)
388
+ .sc(schemas_0.StopKeyUsage$)
1277
389
  .build() {
1278
390
  }
1279
391
 
@@ -1285,7 +397,7 @@ class TagResourceCommand extends smithyClient.Command
1285
397
  })
1286
398
  .s("PaymentCryptographyControlPlane", "TagResource", {})
1287
399
  .n("PaymentCryptographyClient", "TagResourceCommand")
1288
- .sc(TagResource$)
400
+ .sc(schemas_0.TagResource$)
1289
401
  .build() {
1290
402
  }
1291
403
 
@@ -1297,7 +409,7 @@ class UntagResourceCommand extends smithyClient.Command
1297
409
  })
1298
410
  .s("PaymentCryptographyControlPlane", "UntagResource", {})
1299
411
  .n("PaymentCryptographyClient", "UntagResourceCommand")
1300
- .sc(UntagResource$)
412
+ .sc(schemas_0.UntagResource$)
1301
413
  .build() {
1302
414
  }
1303
415
 
@@ -1309,7 +421,7 @@ class UpdateAliasCommand extends smithyClient.Command
1309
421
  })
1310
422
  .s("PaymentCryptographyControlPlane", "UpdateAlias", {})
1311
423
  .n("PaymentCryptographyClient", "UpdateAliasCommand")
1312
- .sc(UpdateAlias$)
424
+ .sc(schemas_0.UpdateAlias$)
1313
425
  .build() {
1314
426
  }
1315
427
 
@@ -1517,176 +629,69 @@ Object.defineProperty(exports, "__Client", {
1517
629
  enumerable: true,
1518
630
  get: function () { return smithyClient.Client; }
1519
631
  });
1520
- exports.AccessDeniedException = AccessDeniedException;
1521
- exports.AccessDeniedException$ = AccessDeniedException$;
1522
- exports.AddKeyReplicationRegions$ = AddKeyReplicationRegions$;
632
+ Object.defineProperty(exports, "PaymentCryptographyServiceException", {
633
+ enumerable: true,
634
+ get: function () { return PaymentCryptographyServiceException.PaymentCryptographyServiceException; }
635
+ });
1523
636
  exports.AddKeyReplicationRegionsCommand = AddKeyReplicationRegionsCommand;
1524
- exports.AddKeyReplicationRegionsInput$ = AddKeyReplicationRegionsInput$;
1525
- exports.AddKeyReplicationRegionsOutput$ = AddKeyReplicationRegionsOutput$;
1526
- exports.Alias$ = Alias$;
1527
637
  exports.As2805KeyVariant = As2805KeyVariant;
1528
- exports.CertificateSubjectType$ = CertificateSubjectType$;
1529
- exports.ConflictException = ConflictException;
1530
- exports.ConflictException$ = ConflictException$;
1531
- exports.CreateAlias$ = CreateAlias$;
1532
638
  exports.CreateAliasCommand = CreateAliasCommand;
1533
- exports.CreateAliasInput$ = CreateAliasInput$;
1534
- exports.CreateAliasOutput$ = CreateAliasOutput$;
1535
- exports.CreateKey$ = CreateKey$;
1536
639
  exports.CreateKeyCommand = CreateKeyCommand;
1537
- exports.CreateKeyInput$ = CreateKeyInput$;
1538
- exports.CreateKeyOutput$ = CreateKeyOutput$;
1539
- exports.DeleteAlias$ = DeleteAlias$;
1540
640
  exports.DeleteAliasCommand = DeleteAliasCommand;
1541
- exports.DeleteAliasInput$ = DeleteAliasInput$;
1542
- exports.DeleteAliasOutput$ = DeleteAliasOutput$;
1543
- exports.DeleteKey$ = DeleteKey$;
1544
641
  exports.DeleteKeyCommand = DeleteKeyCommand;
1545
- exports.DeleteKeyInput$ = DeleteKeyInput$;
1546
- exports.DeleteKeyOutput$ = DeleteKeyOutput$;
1547
642
  exports.DeriveKeyUsage = DeriveKeyUsage;
1548
- exports.DiffieHellmanDerivationData$ = DiffieHellmanDerivationData$;
1549
- exports.DisableDefaultKeyReplicationRegions$ = DisableDefaultKeyReplicationRegions$;
1550
643
  exports.DisableDefaultKeyReplicationRegionsCommand = DisableDefaultKeyReplicationRegionsCommand;
1551
- exports.DisableDefaultKeyReplicationRegionsInput$ = DisableDefaultKeyReplicationRegionsInput$;
1552
- exports.DisableDefaultKeyReplicationRegionsOutput$ = DisableDefaultKeyReplicationRegionsOutput$;
1553
- exports.EnableDefaultKeyReplicationRegions$ = EnableDefaultKeyReplicationRegions$;
1554
644
  exports.EnableDefaultKeyReplicationRegionsCommand = EnableDefaultKeyReplicationRegionsCommand;
1555
- exports.EnableDefaultKeyReplicationRegionsInput$ = EnableDefaultKeyReplicationRegionsInput$;
1556
- exports.EnableDefaultKeyReplicationRegionsOutput$ = EnableDefaultKeyReplicationRegionsOutput$;
1557
- exports.ExportAs2805KeyCryptogram$ = ExportAs2805KeyCryptogram$;
1558
- exports.ExportAttributes$ = ExportAttributes$;
1559
- exports.ExportDiffieHellmanTr31KeyBlock$ = ExportDiffieHellmanTr31KeyBlock$;
1560
- exports.ExportDukptInitialKey$ = ExportDukptInitialKey$;
1561
- exports.ExportKey$ = ExportKey$;
1562
645
  exports.ExportKeyCommand = ExportKeyCommand;
1563
- exports.ExportKeyCryptogram$ = ExportKeyCryptogram$;
1564
- exports.ExportKeyInput$ = ExportKeyInput$;
1565
- exports.ExportKeyMaterial$ = ExportKeyMaterial$;
1566
- exports.ExportKeyOutput$ = ExportKeyOutput$;
1567
- exports.ExportTr31KeyBlock$ = ExportTr31KeyBlock$;
1568
- exports.ExportTr34KeyBlock$ = ExportTr34KeyBlock$;
1569
- exports.GetAlias$ = GetAlias$;
1570
646
  exports.GetAliasCommand = GetAliasCommand;
1571
- exports.GetAliasInput$ = GetAliasInput$;
1572
- exports.GetAliasOutput$ = GetAliasOutput$;
1573
- exports.GetCertificateSigningRequest$ = GetCertificateSigningRequest$;
1574
647
  exports.GetCertificateSigningRequestCommand = GetCertificateSigningRequestCommand;
1575
- exports.GetCertificateSigningRequestInput$ = GetCertificateSigningRequestInput$;
1576
- exports.GetCertificateSigningRequestOutput$ = GetCertificateSigningRequestOutput$;
1577
- exports.GetDefaultKeyReplicationRegions$ = GetDefaultKeyReplicationRegions$;
1578
648
  exports.GetDefaultKeyReplicationRegionsCommand = GetDefaultKeyReplicationRegionsCommand;
1579
- exports.GetDefaultKeyReplicationRegionsInput$ = GetDefaultKeyReplicationRegionsInput$;
1580
- exports.GetDefaultKeyReplicationRegionsOutput$ = GetDefaultKeyReplicationRegionsOutput$;
1581
- exports.GetKey$ = GetKey$;
1582
649
  exports.GetKeyCommand = GetKeyCommand;
1583
- exports.GetKeyInput$ = GetKeyInput$;
1584
- exports.GetKeyOutput$ = GetKeyOutput$;
1585
- exports.GetParametersForExport$ = GetParametersForExport$;
1586
650
  exports.GetParametersForExportCommand = GetParametersForExportCommand;
1587
- exports.GetParametersForExportInput$ = GetParametersForExportInput$;
1588
- exports.GetParametersForExportOutput$ = GetParametersForExportOutput$;
1589
- exports.GetParametersForImport$ = GetParametersForImport$;
1590
651
  exports.GetParametersForImportCommand = GetParametersForImportCommand;
1591
- exports.GetParametersForImportInput$ = GetParametersForImportInput$;
1592
- exports.GetParametersForImportOutput$ = GetParametersForImportOutput$;
1593
- exports.GetPublicKeyCertificate$ = GetPublicKeyCertificate$;
1594
652
  exports.GetPublicKeyCertificateCommand = GetPublicKeyCertificateCommand;
1595
- exports.GetPublicKeyCertificateInput$ = GetPublicKeyCertificateInput$;
1596
- exports.GetPublicKeyCertificateOutput$ = GetPublicKeyCertificateOutput$;
1597
- exports.ImportAs2805KeyCryptogram$ = ImportAs2805KeyCryptogram$;
1598
- exports.ImportDiffieHellmanTr31KeyBlock$ = ImportDiffieHellmanTr31KeyBlock$;
1599
- exports.ImportKey$ = ImportKey$;
1600
653
  exports.ImportKeyCommand = ImportKeyCommand;
1601
- exports.ImportKeyCryptogram$ = ImportKeyCryptogram$;
1602
- exports.ImportKeyInput$ = ImportKeyInput$;
1603
- exports.ImportKeyMaterial$ = ImportKeyMaterial$;
1604
- exports.ImportKeyOutput$ = ImportKeyOutput$;
1605
- exports.ImportTr31KeyBlock$ = ImportTr31KeyBlock$;
1606
- exports.ImportTr34KeyBlock$ = ImportTr34KeyBlock$;
1607
- exports.InternalServerException = InternalServerException;
1608
- exports.InternalServerException$ = InternalServerException$;
1609
- exports.Key$ = Key$;
1610
654
  exports.KeyAlgorithm = KeyAlgorithm;
1611
- exports.KeyAttributes$ = KeyAttributes$;
1612
- exports.KeyBlockHeaders$ = KeyBlockHeaders$;
1613
655
  exports.KeyCheckValueAlgorithm = KeyCheckValueAlgorithm;
1614
656
  exports.KeyClass = KeyClass;
1615
657
  exports.KeyDerivationFunction = KeyDerivationFunction;
1616
658
  exports.KeyDerivationHashAlgorithm = KeyDerivationHashAlgorithm;
1617
659
  exports.KeyExportability = KeyExportability;
1618
660
  exports.KeyMaterialType = KeyMaterialType;
1619
- exports.KeyModesOfUse$ = KeyModesOfUse$;
1620
661
  exports.KeyOrigin = KeyOrigin;
1621
662
  exports.KeyReplicationState = KeyReplicationState;
1622
663
  exports.KeyState = KeyState;
1623
- exports.KeySummary$ = KeySummary$;
1624
664
  exports.KeyUsage = KeyUsage;
1625
- exports.ListAliases$ = ListAliases$;
1626
665
  exports.ListAliasesCommand = ListAliasesCommand;
1627
- exports.ListAliasesInput$ = ListAliasesInput$;
1628
- exports.ListAliasesOutput$ = ListAliasesOutput$;
1629
- exports.ListKeys$ = ListKeys$;
1630
666
  exports.ListKeysCommand = ListKeysCommand;
1631
- exports.ListKeysInput$ = ListKeysInput$;
1632
- exports.ListKeysOutput$ = ListKeysOutput$;
1633
- exports.ListTagsForResource$ = ListTagsForResource$;
1634
667
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1635
- exports.ListTagsForResourceInput$ = ListTagsForResourceInput$;
1636
- exports.ListTagsForResourceOutput$ = ListTagsForResourceOutput$;
1637
668
  exports.MultiRegionKeyType = MultiRegionKeyType;
1638
669
  exports.PaymentCryptography = PaymentCryptography;
1639
670
  exports.PaymentCryptographyClient = PaymentCryptographyClient;
1640
- exports.PaymentCryptographyServiceException = PaymentCryptographyServiceException;
1641
- exports.PaymentCryptographyServiceException$ = PaymentCryptographyServiceException$;
1642
- exports.RemoveKeyReplicationRegions$ = RemoveKeyReplicationRegions$;
1643
671
  exports.RemoveKeyReplicationRegionsCommand = RemoveKeyReplicationRegionsCommand;
1644
- exports.RemoveKeyReplicationRegionsInput$ = RemoveKeyReplicationRegionsInput$;
1645
- exports.RemoveKeyReplicationRegionsOutput$ = RemoveKeyReplicationRegionsOutput$;
1646
- exports.ReplicationStatusType$ = ReplicationStatusType$;
1647
- exports.ResourceNotFoundException = ResourceNotFoundException;
1648
- exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1649
- exports.RestoreKey$ = RestoreKey$;
1650
672
  exports.RestoreKeyCommand = RestoreKeyCommand;
1651
- exports.RestoreKeyInput$ = RestoreKeyInput$;
1652
- exports.RestoreKeyOutput$ = RestoreKeyOutput$;
1653
- exports.RootCertificatePublicKey$ = RootCertificatePublicKey$;
1654
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1655
- exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
1656
- exports.ServiceUnavailableException = ServiceUnavailableException;
1657
- exports.ServiceUnavailableException$ = ServiceUnavailableException$;
1658
673
  exports.SigningAlgorithmType = SigningAlgorithmType;
1659
- exports.StartKeyUsage$ = StartKeyUsage$;
1660
674
  exports.StartKeyUsageCommand = StartKeyUsageCommand;
1661
- exports.StartKeyUsageInput$ = StartKeyUsageInput$;
1662
- exports.StartKeyUsageOutput$ = StartKeyUsageOutput$;
1663
- exports.StopKeyUsage$ = StopKeyUsage$;
1664
675
  exports.StopKeyUsageCommand = StopKeyUsageCommand;
1665
- exports.StopKeyUsageInput$ = StopKeyUsageInput$;
1666
- exports.StopKeyUsageOutput$ = StopKeyUsageOutput$;
1667
676
  exports.SymmetricKeyAlgorithm = SymmetricKeyAlgorithm;
1668
- exports.Tag$ = Tag$;
1669
- exports.TagResource$ = TagResource$;
1670
677
  exports.TagResourceCommand = TagResourceCommand;
1671
- exports.TagResourceInput$ = TagResourceInput$;
1672
- exports.TagResourceOutput$ = TagResourceOutput$;
1673
- exports.ThrottlingException = ThrottlingException;
1674
- exports.ThrottlingException$ = ThrottlingException$;
1675
678
  exports.Tr34KeyBlockFormat = Tr34KeyBlockFormat;
1676
- exports.TrustedCertificatePublicKey$ = TrustedCertificatePublicKey$;
1677
- exports.UntagResource$ = UntagResource$;
1678
679
  exports.UntagResourceCommand = UntagResourceCommand;
1679
- exports.UntagResourceInput$ = UntagResourceInput$;
1680
- exports.UntagResourceOutput$ = UntagResourceOutput$;
1681
- exports.UpdateAlias$ = UpdateAlias$;
1682
680
  exports.UpdateAliasCommand = UpdateAliasCommand;
1683
- exports.UpdateAliasInput$ = UpdateAliasInput$;
1684
- exports.UpdateAliasOutput$ = UpdateAliasOutput$;
1685
- exports.ValidationException = ValidationException;
1686
- exports.ValidationException$ = ValidationException$;
1687
- exports.WrappedKey$ = WrappedKey$;
1688
681
  exports.WrappedKeyMaterialFormat = WrappedKeyMaterialFormat;
1689
682
  exports.WrappingKeySpec = WrappingKeySpec;
1690
683
  exports.paginateListAliases = paginateListAliases;
1691
684
  exports.paginateListKeys = paginateListKeys;
1692
685
  exports.paginateListTagsForResource = paginateListTagsForResource;
686
+ Object.keys(schemas_0).forEach(function (k) {
687
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
688
+ enumerable: true,
689
+ get: function () { return schemas_0[k]; }
690
+ });
691
+ });
692
+ Object.keys(errors).forEach(function (k) {
693
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
694
+ enumerable: true,
695
+ get: function () { return errors[k]; }
696
+ });
697
+ });