@aws-sdk/client-payment-cryptography 3.934.0 → 3.935.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
@@ -131,101 +131,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends PaymentCryptog
131
131
  this.Message = opts.Message;
132
132
  }
133
133
  };
134
- const DeriveKeyUsage = {
135
- TR31_B0_BASE_DERIVATION_KEY: "TR31_B0_BASE_DERIVATION_KEY",
136
- TR31_C0_CARD_VERIFICATION_KEY: "TR31_C0_CARD_VERIFICATION_KEY",
137
- TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY: "TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY",
138
- TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS: "TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS",
139
- TR31_E1_EMV_MKEY_CONFIDENTIALITY: "TR31_E1_EMV_MKEY_CONFIDENTIALITY",
140
- TR31_E2_EMV_MKEY_INTEGRITY: "TR31_E2_EMV_MKEY_INTEGRITY",
141
- TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS: "TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS",
142
- TR31_E5_EMV_MKEY_CARD_PERSONALIZATION: "TR31_E5_EMV_MKEY_CARD_PERSONALIZATION",
143
- TR31_E6_EMV_MKEY_OTHER: "TR31_E6_EMV_MKEY_OTHER",
144
- TR31_K0_KEY_ENCRYPTION_KEY: "TR31_K0_KEY_ENCRYPTION_KEY",
145
- TR31_K1_KEY_BLOCK_PROTECTION_KEY: "TR31_K1_KEY_BLOCK_PROTECTION_KEY",
146
- TR31_M1_ISO_9797_1_MAC_KEY: "TR31_M1_ISO_9797_1_MAC_KEY",
147
- TR31_M3_ISO_9797_3_MAC_KEY: "TR31_M3_ISO_9797_3_MAC_KEY",
148
- TR31_M6_ISO_9797_5_CMAC_KEY: "TR31_M6_ISO_9797_5_CMAC_KEY",
149
- TR31_M7_HMAC_KEY: "TR31_M7_HMAC_KEY",
150
- TR31_P0_PIN_ENCRYPTION_KEY: "TR31_P0_PIN_ENCRYPTION_KEY",
151
- TR31_P1_PIN_GENERATION_KEY: "TR31_P1_PIN_GENERATION_KEY",
152
- TR31_V1_IBM3624_PIN_VERIFICATION_KEY: "TR31_V1_IBM3624_PIN_VERIFICATION_KEY",
153
- TR31_V2_VISA_PIN_VERIFICATION_KEY: "TR31_V2_VISA_PIN_VERIFICATION_KEY",
154
- };
155
- const KeyAlgorithm = {
156
- AES_128: "AES_128",
157
- AES_192: "AES_192",
158
- AES_256: "AES_256",
159
- ECC_NIST_P256: "ECC_NIST_P256",
160
- ECC_NIST_P384: "ECC_NIST_P384",
161
- ECC_NIST_P521: "ECC_NIST_P521",
162
- HMAC_SHA224: "HMAC_SHA224",
163
- HMAC_SHA256: "HMAC_SHA256",
164
- HMAC_SHA384: "HMAC_SHA384",
165
- HMAC_SHA512: "HMAC_SHA512",
166
- RSA_2048: "RSA_2048",
167
- RSA_3072: "RSA_3072",
168
- RSA_4096: "RSA_4096",
169
- TDES_2KEY: "TDES_2KEY",
170
- TDES_3KEY: "TDES_3KEY",
171
- };
172
- const KeyClass = {
173
- ASYMMETRIC_KEY_PAIR: "ASYMMETRIC_KEY_PAIR",
174
- PRIVATE_KEY: "PRIVATE_KEY",
175
- PUBLIC_KEY: "PUBLIC_KEY",
176
- SYMMETRIC_KEY: "SYMMETRIC_KEY",
177
- };
178
- const KeyUsage = {
179
- TR31_B0_BASE_DERIVATION_KEY: "TR31_B0_BASE_DERIVATION_KEY",
180
- TR31_C0_CARD_VERIFICATION_KEY: "TR31_C0_CARD_VERIFICATION_KEY",
181
- TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY: "TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY",
182
- TR31_D1_ASYMMETRIC_KEY_FOR_DATA_ENCRYPTION: "TR31_D1_ASYMMETRIC_KEY_FOR_DATA_ENCRYPTION",
183
- TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS: "TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS",
184
- TR31_E1_EMV_MKEY_CONFIDENTIALITY: "TR31_E1_EMV_MKEY_CONFIDENTIALITY",
185
- TR31_E2_EMV_MKEY_INTEGRITY: "TR31_E2_EMV_MKEY_INTEGRITY",
186
- TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS: "TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS",
187
- TR31_E5_EMV_MKEY_CARD_PERSONALIZATION: "TR31_E5_EMV_MKEY_CARD_PERSONALIZATION",
188
- TR31_E6_EMV_MKEY_OTHER: "TR31_E6_EMV_MKEY_OTHER",
189
- TR31_K0_KEY_ENCRYPTION_KEY: "TR31_K0_KEY_ENCRYPTION_KEY",
190
- TR31_K1_KEY_BLOCK_PROTECTION_KEY: "TR31_K1_KEY_BLOCK_PROTECTION_KEY",
191
- TR31_K2_TR34_ASYMMETRIC_KEY: "TR31_K2_TR34_ASYMMETRIC_KEY",
192
- TR31_K3_ASYMMETRIC_KEY_FOR_KEY_AGREEMENT: "TR31_K3_ASYMMETRIC_KEY_FOR_KEY_AGREEMENT",
193
- TR31_M1_ISO_9797_1_MAC_KEY: "TR31_M1_ISO_9797_1_MAC_KEY",
194
- TR31_M3_ISO_9797_3_MAC_KEY: "TR31_M3_ISO_9797_3_MAC_KEY",
195
- TR31_M6_ISO_9797_5_CMAC_KEY: "TR31_M6_ISO_9797_5_CMAC_KEY",
196
- TR31_M7_HMAC_KEY: "TR31_M7_HMAC_KEY",
197
- TR31_P0_PIN_ENCRYPTION_KEY: "TR31_P0_PIN_ENCRYPTION_KEY",
198
- TR31_P1_PIN_GENERATION_KEY: "TR31_P1_PIN_GENERATION_KEY",
199
- TR31_S0_ASYMMETRIC_KEY_FOR_DIGITAL_SIGNATURE: "TR31_S0_ASYMMETRIC_KEY_FOR_DIGITAL_SIGNATURE",
200
- TR31_V1_IBM3624_PIN_VERIFICATION_KEY: "TR31_V1_IBM3624_PIN_VERIFICATION_KEY",
201
- TR31_V2_VISA_PIN_VERIFICATION_KEY: "TR31_V2_VISA_PIN_VERIFICATION_KEY",
202
- };
203
- const KeyCheckValueAlgorithm = {
204
- ANSI_X9_24: "ANSI_X9_24",
205
- CMAC: "CMAC",
206
- HMAC: "HMAC",
207
- SHA_1: "SHA_1",
208
- };
209
- const KeyOrigin = {
210
- AWS_PAYMENT_CRYPTOGRAPHY: "AWS_PAYMENT_CRYPTOGRAPHY",
211
- EXTERNAL: "EXTERNAL",
212
- };
213
- const KeyState = {
214
- CREATE_COMPLETE: "CREATE_COMPLETE",
215
- CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
216
- DELETE_COMPLETE: "DELETE_COMPLETE",
217
- DELETE_PENDING: "DELETE_PENDING",
218
- };
219
- const MultiRegionKeyType = {
220
- PRIMARY: "PRIMARY",
221
- REPLICA: "REPLICA",
222
- };
223
- const KeyReplicationState = {
224
- DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
225
- FAILED: "FAILED",
226
- IN_PROGRESS: "IN_PROGRESS",
227
- SYNCHRONIZED: "SYNCHRONIZED",
228
- };
229
134
  let ConflictException$1 = class ConflictException extends PaymentCryptographyServiceException$1 {
230
135
  name = "ConflictException";
231
136
  $fault = "client";
@@ -324,56 +229,6 @@ let ServiceUnavailableException$1 = class ServiceUnavailableException extends Pa
324
229
  this.Message = opts.Message;
325
230
  }
326
231
  };
327
- const SymmetricKeyAlgorithm = {
328
- AES_128: "AES_128",
329
- AES_192: "AES_192",
330
- AES_256: "AES_256",
331
- HMAC_SHA224: "HMAC_SHA224",
332
- HMAC_SHA256: "HMAC_SHA256",
333
- HMAC_SHA384: "HMAC_SHA384",
334
- HMAC_SHA512: "HMAC_SHA512",
335
- TDES_2KEY: "TDES_2KEY",
336
- TDES_3KEY: "TDES_3KEY",
337
- };
338
- const KeyExportability = {
339
- EXPORTABLE: "EXPORTABLE",
340
- NON_EXPORTABLE: "NON_EXPORTABLE",
341
- SENSITIVE: "SENSITIVE",
342
- };
343
- const KeyDerivationFunction = {
344
- ANSI_X963: "ANSI_X963",
345
- NIST_SP800: "NIST_SP800",
346
- };
347
- const KeyDerivationHashAlgorithm = {
348
- SHA_256: "SHA_256",
349
- SHA_384: "SHA_384",
350
- SHA_512: "SHA_512",
351
- };
352
- const WrappingKeySpec = {
353
- RSA_OAEP_SHA_256: "RSA_OAEP_SHA_256",
354
- RSA_OAEP_SHA_512: "RSA_OAEP_SHA_512",
355
- };
356
- const Tr34KeyBlockFormat = {
357
- X9_TR34_2012: "X9_TR34_2012",
358
- };
359
- const WrappedKeyMaterialFormat = {
360
- KEY_CRYPTOGRAM: "KEY_CRYPTOGRAM",
361
- TR31_KEY_BLOCK: "TR31_KEY_BLOCK",
362
- TR34_KEY_BLOCK: "TR34_KEY_BLOCK",
363
- };
364
- const SigningAlgorithmType = {
365
- SHA224: "SHA224",
366
- SHA256: "SHA256",
367
- SHA384: "SHA384",
368
- SHA512: "SHA512",
369
- };
370
- const KeyMaterialType = {
371
- KEY_CRYPTOGRAM: "KEY_CRYPTOGRAM",
372
- ROOT_PUBLIC_KEY_CERTIFICATE: "ROOT_PUBLIC_KEY_CERTIFICATE",
373
- TR31_KEY_BLOCK: "TR31_KEY_BLOCK",
374
- TR34_KEY_BLOCK: "TR34_KEY_BLOCK",
375
- TRUSTED_PUBLIC_KEY_CERTIFICATE: "TRUSTED_PUBLIC_KEY_CERTIFICATE",
376
- };
377
232
 
378
233
  const _A = "Alias";
379
234
  const _ADE = "AccessDeniedException";
@@ -1407,6 +1262,27 @@ const paginateListKeys = core.createPaginator(PaymentCryptographyClient, ListKey
1407
1262
 
1408
1263
  const paginateListTagsForResource = core.createPaginator(PaymentCryptographyClient, ListTagsForResourceCommand, "NextToken", "NextToken", "MaxResults");
1409
1264
 
1265
+ const SymmetricKeyAlgorithm = {
1266
+ AES_128: "AES_128",
1267
+ AES_192: "AES_192",
1268
+ AES_256: "AES_256",
1269
+ HMAC_SHA224: "HMAC_SHA224",
1270
+ HMAC_SHA256: "HMAC_SHA256",
1271
+ HMAC_SHA384: "HMAC_SHA384",
1272
+ HMAC_SHA512: "HMAC_SHA512",
1273
+ TDES_2KEY: "TDES_2KEY",
1274
+ TDES_3KEY: "TDES_3KEY",
1275
+ };
1276
+ const KeyDerivationFunction = {
1277
+ ANSI_X963: "ANSI_X963",
1278
+ NIST_SP800: "NIST_SP800",
1279
+ };
1280
+ const KeyDerivationHashAlgorithm = {
1281
+ SHA_256: "SHA_256",
1282
+ SHA_384: "SHA_384",
1283
+ SHA_512: "SHA_512",
1284
+ };
1285
+
1410
1286
  Object.defineProperty(exports, "$Command", {
1411
1287
  enumerable: true,
1412
1288
  get: function () { return smithyClient.Command; }
@@ -1422,7 +1298,6 @@ exports.CreateAliasCommand = CreateAliasCommand;
1422
1298
  exports.CreateKeyCommand = CreateKeyCommand;
1423
1299
  exports.DeleteAliasCommand = DeleteAliasCommand;
1424
1300
  exports.DeleteKeyCommand = DeleteKeyCommand;
1425
- exports.DeriveKeyUsage = DeriveKeyUsage;
1426
1301
  exports.DisableDefaultKeyReplicationRegionsCommand = DisableDefaultKeyReplicationRegionsCommand;
1427
1302
  exports.EnableDefaultKeyReplicationRegionsCommand = EnableDefaultKeyReplicationRegionsCommand;
1428
1303
  exports.ExportKeyCommand = ExportKeyCommand;
@@ -1435,21 +1310,11 @@ exports.GetParametersForImportCommand = GetParametersForImportCommand;
1435
1310
  exports.GetPublicKeyCertificateCommand = GetPublicKeyCertificateCommand;
1436
1311
  exports.ImportKeyCommand = ImportKeyCommand;
1437
1312
  exports.InternalServerException = InternalServerException$1;
1438
- exports.KeyAlgorithm = KeyAlgorithm;
1439
- exports.KeyCheckValueAlgorithm = KeyCheckValueAlgorithm;
1440
- exports.KeyClass = KeyClass;
1441
1313
  exports.KeyDerivationFunction = KeyDerivationFunction;
1442
1314
  exports.KeyDerivationHashAlgorithm = KeyDerivationHashAlgorithm;
1443
- exports.KeyExportability = KeyExportability;
1444
- exports.KeyMaterialType = KeyMaterialType;
1445
- exports.KeyOrigin = KeyOrigin;
1446
- exports.KeyReplicationState = KeyReplicationState;
1447
- exports.KeyState = KeyState;
1448
- exports.KeyUsage = KeyUsage;
1449
1315
  exports.ListAliasesCommand = ListAliasesCommand;
1450
1316
  exports.ListKeysCommand = ListKeysCommand;
1451
1317
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1452
- exports.MultiRegionKeyType = MultiRegionKeyType;
1453
1318
  exports.PaymentCryptography = PaymentCryptography;
1454
1319
  exports.PaymentCryptographyClient = PaymentCryptographyClient;
1455
1320
  exports.PaymentCryptographyServiceException = PaymentCryptographyServiceException$1;
@@ -1458,18 +1323,14 @@ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1458
1323
  exports.RestoreKeyCommand = RestoreKeyCommand;
1459
1324
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
1460
1325
  exports.ServiceUnavailableException = ServiceUnavailableException$1;
1461
- exports.SigningAlgorithmType = SigningAlgorithmType;
1462
1326
  exports.StartKeyUsageCommand = StartKeyUsageCommand;
1463
1327
  exports.StopKeyUsageCommand = StopKeyUsageCommand;
1464
1328
  exports.SymmetricKeyAlgorithm = SymmetricKeyAlgorithm;
1465
1329
  exports.TagResourceCommand = TagResourceCommand;
1466
1330
  exports.ThrottlingException = ThrottlingException$1;
1467
- exports.Tr34KeyBlockFormat = Tr34KeyBlockFormat;
1468
1331
  exports.UntagResourceCommand = UntagResourceCommand;
1469
1332
  exports.UpdateAliasCommand = UpdateAliasCommand;
1470
1333
  exports.ValidationException = ValidationException$1;
1471
- exports.WrappedKeyMaterialFormat = WrappedKeyMaterialFormat;
1472
- exports.WrappingKeySpec = WrappingKeySpec;
1473
1334
  exports.paginateListAliases = paginateListAliases;
1474
1335
  exports.paginateListKeys = paginateListKeys;
1475
1336
  exports.paginateListTagsForResource = paginateListTagsForResource;
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./PaymentCryptographyClient";
2
2
  export * from "./PaymentCryptography";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/enums";
6
+ export * from "./models/errors";
6
7
  export { PaymentCryptographyServiceException } from "./models/PaymentCryptographyServiceException";
@@ -0,0 +1,20 @@
1
+ export const SymmetricKeyAlgorithm = {
2
+ AES_128: "AES_128",
3
+ AES_192: "AES_192",
4
+ AES_256: "AES_256",
5
+ HMAC_SHA224: "HMAC_SHA224",
6
+ HMAC_SHA256: "HMAC_SHA256",
7
+ HMAC_SHA384: "HMAC_SHA384",
8
+ HMAC_SHA512: "HMAC_SHA512",
9
+ TDES_2KEY: "TDES_2KEY",
10
+ TDES_3KEY: "TDES_3KEY",
11
+ };
12
+ export const KeyDerivationFunction = {
13
+ ANSI_X963: "ANSI_X963",
14
+ NIST_SP800: "NIST_SP800",
15
+ };
16
+ export const KeyDerivationHashAlgorithm = {
17
+ SHA_256: "SHA_256",
18
+ SHA_384: "SHA_384",
19
+ SHA_512: "SHA_512",
20
+ };
@@ -0,0 +1,113 @@
1
+ import { PaymentCryptographyServiceException as __BaseException } from "./PaymentCryptographyServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ Message;
6
+ constructor(opts) {
7
+ super({
8
+ name: "AccessDeniedException",
9
+ $fault: "client",
10
+ ...opts,
11
+ });
12
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
+ this.Message = opts.Message;
14
+ }
15
+ }
16
+ export class ConflictException extends __BaseException {
17
+ name = "ConflictException";
18
+ $fault = "client";
19
+ Message;
20
+ constructor(opts) {
21
+ super({
22
+ name: "ConflictException",
23
+ $fault: "client",
24
+ ...opts,
25
+ });
26
+ Object.setPrototypeOf(this, ConflictException.prototype);
27
+ this.Message = opts.Message;
28
+ }
29
+ }
30
+ export class InternalServerException extends __BaseException {
31
+ name = "InternalServerException";
32
+ $fault = "server";
33
+ Message;
34
+ constructor(opts) {
35
+ super({
36
+ name: "InternalServerException",
37
+ $fault: "server",
38
+ ...opts,
39
+ });
40
+ Object.setPrototypeOf(this, InternalServerException.prototype);
41
+ this.Message = opts.Message;
42
+ }
43
+ }
44
+ export class ResourceNotFoundException extends __BaseException {
45
+ name = "ResourceNotFoundException";
46
+ $fault = "client";
47
+ ResourceId;
48
+ constructor(opts) {
49
+ super({
50
+ name: "ResourceNotFoundException",
51
+ $fault: "client",
52
+ ...opts,
53
+ });
54
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
55
+ this.ResourceId = opts.ResourceId;
56
+ }
57
+ }
58
+ export class ServiceQuotaExceededException extends __BaseException {
59
+ name = "ServiceQuotaExceededException";
60
+ $fault = "client";
61
+ Message;
62
+ constructor(opts) {
63
+ super({
64
+ name: "ServiceQuotaExceededException",
65
+ $fault: "client",
66
+ ...opts,
67
+ });
68
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
69
+ this.Message = opts.Message;
70
+ }
71
+ }
72
+ export class ThrottlingException extends __BaseException {
73
+ name = "ThrottlingException";
74
+ $fault = "client";
75
+ Message;
76
+ constructor(opts) {
77
+ super({
78
+ name: "ThrottlingException",
79
+ $fault: "client",
80
+ ...opts,
81
+ });
82
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
83
+ this.Message = opts.Message;
84
+ }
85
+ }
86
+ export class ValidationException extends __BaseException {
87
+ name = "ValidationException";
88
+ $fault = "client";
89
+ Message;
90
+ constructor(opts) {
91
+ super({
92
+ name: "ValidationException",
93
+ $fault: "client",
94
+ ...opts,
95
+ });
96
+ Object.setPrototypeOf(this, ValidationException.prototype);
97
+ this.Message = opts.Message;
98
+ }
99
+ }
100
+ export class ServiceUnavailableException extends __BaseException {
101
+ name = "ServiceUnavailableException";
102
+ $fault = "server";
103
+ Message;
104
+ constructor(opts) {
105
+ super({
106
+ name: "ServiceUnavailableException",
107
+ $fault: "server",
108
+ ...opts,
109
+ });
110
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
111
+ this.Message = opts.Message;
112
+ }
113
+ }
@@ -1,18 +1,3 @@
1
- import { PaymentCryptographyServiceException as __BaseException } from "./PaymentCryptographyServiceException";
2
- export class AccessDeniedException extends __BaseException {
3
- name = "AccessDeniedException";
4
- $fault = "client";
5
- Message;
6
- constructor(opts) {
7
- super({
8
- name: "AccessDeniedException",
9
- $fault: "client",
10
- ...opts,
11
- });
12
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
- this.Message = opts.Message;
14
- }
15
- }
16
1
  export const DeriveKeyUsage = {
17
2
  TR31_B0_BASE_DERIVATION_KEY: "TR31_B0_BASE_DERIVATION_KEY",
18
3
  TR31_C0_CARD_VERIFICATION_KEY: "TR31_C0_CARD_VERIFICATION_KEY",
@@ -108,129 +93,11 @@ export const KeyReplicationState = {
108
93
  IN_PROGRESS: "IN_PROGRESS",
109
94
  SYNCHRONIZED: "SYNCHRONIZED",
110
95
  };
111
- export class ConflictException extends __BaseException {
112
- name = "ConflictException";
113
- $fault = "client";
114
- Message;
115
- constructor(opts) {
116
- super({
117
- name: "ConflictException",
118
- $fault: "client",
119
- ...opts,
120
- });
121
- Object.setPrototypeOf(this, ConflictException.prototype);
122
- this.Message = opts.Message;
123
- }
124
- }
125
- export class InternalServerException extends __BaseException {
126
- name = "InternalServerException";
127
- $fault = "server";
128
- Message;
129
- constructor(opts) {
130
- super({
131
- name: "InternalServerException",
132
- $fault: "server",
133
- ...opts,
134
- });
135
- Object.setPrototypeOf(this, InternalServerException.prototype);
136
- this.Message = opts.Message;
137
- }
138
- }
139
- export class ResourceNotFoundException extends __BaseException {
140
- name = "ResourceNotFoundException";
141
- $fault = "client";
142
- ResourceId;
143
- constructor(opts) {
144
- super({
145
- name: "ResourceNotFoundException",
146
- $fault: "client",
147
- ...opts,
148
- });
149
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
150
- this.ResourceId = opts.ResourceId;
151
- }
152
- }
153
- export class ServiceQuotaExceededException extends __BaseException {
154
- name = "ServiceQuotaExceededException";
155
- $fault = "client";
156
- Message;
157
- constructor(opts) {
158
- super({
159
- name: "ServiceQuotaExceededException",
160
- $fault: "client",
161
- ...opts,
162
- });
163
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
164
- this.Message = opts.Message;
165
- }
166
- }
167
- export class ThrottlingException extends __BaseException {
168
- name = "ThrottlingException";
169
- $fault = "client";
170
- Message;
171
- constructor(opts) {
172
- super({
173
- name: "ThrottlingException",
174
- $fault: "client",
175
- ...opts,
176
- });
177
- Object.setPrototypeOf(this, ThrottlingException.prototype);
178
- this.Message = opts.Message;
179
- }
180
- }
181
- export class ValidationException extends __BaseException {
182
- name = "ValidationException";
183
- $fault = "client";
184
- Message;
185
- constructor(opts) {
186
- super({
187
- name: "ValidationException",
188
- $fault: "client",
189
- ...opts,
190
- });
191
- Object.setPrototypeOf(this, ValidationException.prototype);
192
- this.Message = opts.Message;
193
- }
194
- }
195
- export class ServiceUnavailableException extends __BaseException {
196
- name = "ServiceUnavailableException";
197
- $fault = "server";
198
- Message;
199
- constructor(opts) {
200
- super({
201
- name: "ServiceUnavailableException",
202
- $fault: "server",
203
- ...opts,
204
- });
205
- Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
206
- this.Message = opts.Message;
207
- }
208
- }
209
- export const SymmetricKeyAlgorithm = {
210
- AES_128: "AES_128",
211
- AES_192: "AES_192",
212
- AES_256: "AES_256",
213
- HMAC_SHA224: "HMAC_SHA224",
214
- HMAC_SHA256: "HMAC_SHA256",
215
- HMAC_SHA384: "HMAC_SHA384",
216
- HMAC_SHA512: "HMAC_SHA512",
217
- TDES_2KEY: "TDES_2KEY",
218
- TDES_3KEY: "TDES_3KEY",
219
- };
220
96
  export const KeyExportability = {
221
97
  EXPORTABLE: "EXPORTABLE",
222
98
  NON_EXPORTABLE: "NON_EXPORTABLE",
223
99
  SENSITIVE: "SENSITIVE",
224
100
  };
225
- export const KeyDerivationFunction = {
226
- ANSI_X963: "ANSI_X963",
227
- NIST_SP800: "NIST_SP800",
228
- };
229
- export const KeyDerivationHashAlgorithm = {
230
- SHA_256: "SHA_256",
231
- SHA_384: "SHA_384",
232
- SHA_512: "SHA_512",
233
- };
234
101
  export const WrappingKeySpec = {
235
102
  RSA_OAEP_SHA_256: "RSA_OAEP_SHA_256",
236
103
  RSA_OAEP_SHA_512: "RSA_OAEP_SHA_512",
@@ -217,7 +217,7 @@ const _s = "server";
217
217
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.paymentcryptography";
218
218
  const n0 = "com.amazonaws.paymentcryptography";
219
219
  import { TypeRegistry } from "@smithy/core/schema";
220
- import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ServiceUnavailableException as __ServiceUnavailableException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/index";
220
+ import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ServiceUnavailableException as __ServiceUnavailableException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
221
221
  import { PaymentCryptographyServiceException as __PaymentCryptographyServiceException } from "../models/PaymentCryptographyServiceException";
222
222
  export var CertificateSigningRequestType = [0, n0, _CSRT, 8, 0];
223
223
  export var KeyMaterial = [0, n0, _KM, 8, 0];
@@ -10,5 +10,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { PaymentCryptographyExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
12
  export * from "./pagination";
13
- export * from "./models";
13
+ export * from "./models/enums";
14
+ export * from "./models/errors";
15
+ export type * from "./models/models_0";
14
16
  export { PaymentCryptographyServiceException } from "./models/PaymentCryptographyServiceException";
@@ -0,0 +1,44 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const SymmetricKeyAlgorithm: {
6
+ readonly AES_128: "AES_128";
7
+ readonly AES_192: "AES_192";
8
+ readonly AES_256: "AES_256";
9
+ readonly HMAC_SHA224: "HMAC_SHA224";
10
+ readonly HMAC_SHA256: "HMAC_SHA256";
11
+ readonly HMAC_SHA384: "HMAC_SHA384";
12
+ readonly HMAC_SHA512: "HMAC_SHA512";
13
+ readonly TDES_2KEY: "TDES_2KEY";
14
+ readonly TDES_3KEY: "TDES_3KEY";
15
+ };
16
+ /**
17
+ * @public
18
+ */
19
+ export type SymmetricKeyAlgorithm = (typeof SymmetricKeyAlgorithm)[keyof typeof SymmetricKeyAlgorithm];
20
+ /**
21
+ * @public
22
+ * @enum
23
+ */
24
+ export declare const KeyDerivationFunction: {
25
+ readonly ANSI_X963: "ANSI_X963";
26
+ readonly NIST_SP800: "NIST_SP800";
27
+ };
28
+ /**
29
+ * @public
30
+ */
31
+ export type KeyDerivationFunction = (typeof KeyDerivationFunction)[keyof typeof KeyDerivationFunction];
32
+ /**
33
+ * @public
34
+ * @enum
35
+ */
36
+ export declare const KeyDerivationHashAlgorithm: {
37
+ readonly SHA_256: "SHA_256";
38
+ readonly SHA_384: "SHA_384";
39
+ readonly SHA_512: "SHA_512";
40
+ };
41
+ /**
42
+ * @public
43
+ */
44
+ export type KeyDerivationHashAlgorithm = (typeof KeyDerivationHashAlgorithm)[keyof typeof KeyDerivationHashAlgorithm];
@@ -0,0 +1,110 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { PaymentCryptographyServiceException as __BaseException } from "./PaymentCryptographyServiceException";
3
+ /**
4
+ * <p>You do not have sufficient access to perform this action.</p> <p>This exception is thrown when the caller lacks the necessary IAM permissions to perform the requested operation. Verify that your IAM policy includes the required permissions for the specific Amazon Web Services Payment Cryptography action you're attempting.</p>
5
+ * @public
6
+ */
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
10
+ Message?: string | undefined;
11
+ /**
12
+ * @internal
13
+ */
14
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
+ }
16
+ /**
17
+ * <p>This request can cause an inconsistent state for the resource.</p> <p>The requested operation conflicts with the current state of the resource. For example, attempting to delete a key that is currently being used, or trying to create a resource that already exists.</p>
18
+ * @public
19
+ */
20
+ export declare class ConflictException extends __BaseException {
21
+ readonly name: "ConflictException";
22
+ readonly $fault: "client";
23
+ Message?: string | undefined;
24
+ /**
25
+ * @internal
26
+ */
27
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
28
+ }
29
+ /**
30
+ * <p>The request processing has failed because of an unknown error, exception, or failure.</p> <p>This indicates a server-side error within the Amazon Web Services Payment Cryptography service. If this error persists, contact support for assistance.</p>
31
+ * @public
32
+ */
33
+ export declare class InternalServerException extends __BaseException {
34
+ readonly name: "InternalServerException";
35
+ readonly $fault: "server";
36
+ Message?: string | undefined;
37
+ /**
38
+ * @internal
39
+ */
40
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
41
+ }
42
+ /**
43
+ * <p>The request was denied due to resource not found.</p> <p>The specified key, alias, or other resource does not exist in your account or region. Verify that the resource identifier is correct and that the resource exists in the expected region.</p>
44
+ * @public
45
+ */
46
+ export declare class ResourceNotFoundException extends __BaseException {
47
+ readonly name: "ResourceNotFoundException";
48
+ readonly $fault: "client";
49
+ /**
50
+ * <p>The identifier of the resource that was not found.</p> <p>This field contains the specific resource identifier (such as a key ARN or alias name) that could not be located.</p>
51
+ * @public
52
+ */
53
+ ResourceId?: string | undefined;
54
+ /**
55
+ * @internal
56
+ */
57
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
58
+ }
59
+ /**
60
+ * <p>This request would cause a service quota to be exceeded.</p> <p>You have reached the maximum number of keys, aliases, or other resources allowed in your account. Review your current usage and consider deleting unused resources or requesting a quota increase.</p>
61
+ * @public
62
+ */
63
+ export declare class ServiceQuotaExceededException extends __BaseException {
64
+ readonly name: "ServiceQuotaExceededException";
65
+ readonly $fault: "client";
66
+ Message?: string | undefined;
67
+ /**
68
+ * @internal
69
+ */
70
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
71
+ }
72
+ /**
73
+ * <p>The request was denied due to request throttling.</p> <p>You have exceeded the rate limits for Amazon Web Services Payment Cryptography API calls. Implement exponential backoff and retry logic in your application to handle throttling gracefully.</p>
74
+ * @public
75
+ */
76
+ export declare class ThrottlingException extends __BaseException {
77
+ readonly name: "ThrottlingException";
78
+ readonly $fault: "client";
79
+ Message?: string | undefined;
80
+ /**
81
+ * @internal
82
+ */
83
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
84
+ }
85
+ /**
86
+ * <p>The request was denied due to an invalid request error.</p> <p>One or more parameters in your request are invalid. Check the parameter values, formats, and constraints specified in the API documentation.</p>
87
+ * @public
88
+ */
89
+ export declare class ValidationException extends __BaseException {
90
+ readonly name: "ValidationException";
91
+ readonly $fault: "client";
92
+ Message?: string | undefined;
93
+ /**
94
+ * @internal
95
+ */
96
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
97
+ }
98
+ /**
99
+ * <p>The service cannot complete the request.</p> <p>The Amazon Web Services Payment Cryptography service is temporarily unavailable. This is typically a temporary condition - retry your request after a brief delay.</p>
100
+ * @public
101
+ */
102
+ export declare class ServiceUnavailableException extends __BaseException {
103
+ readonly name: "ServiceUnavailableException";
104
+ readonly $fault: "server";
105
+ Message?: string | undefined;
106
+ /**
107
+ * @internal
108
+ */
109
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
110
+ }
@@ -1,18 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { PaymentCryptographyServiceException as __BaseException } from "./PaymentCryptographyServiceException";
3
- /**
4
- * <p>You do not have sufficient access to perform this action.</p> <p>This exception is thrown when the caller lacks the necessary IAM permissions to perform the requested operation. Verify that your IAM policy includes the required permissions for the specific Amazon Web Services Payment Cryptography action you're attempting.</p>
5
- * @public
6
- */
7
- export declare class AccessDeniedException extends __BaseException {
8
- readonly name: "AccessDeniedException";
9
- readonly $fault: "client";
10
- Message?: string | undefined;
11
- /**
12
- * @internal
13
- */
14
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
- }
1
+ import { KeyDerivationFunction, KeyDerivationHashAlgorithm, SymmetricKeyAlgorithm } from "./enums";
16
2
  /**
17
3
  * <p>Input parameters for adding replication regions to a specific key.</p>
18
4
  * @public
@@ -396,88 +382,6 @@ export interface AddKeyReplicationRegionsOutput {
396
382
  */
397
383
  Key: Key | undefined;
398
384
  }
399
- /**
400
- * <p>This request can cause an inconsistent state for the resource.</p> <p>The requested operation conflicts with the current state of the resource. For example, attempting to delete a key that is currently being used, or trying to create a resource that already exists.</p>
401
- * @public
402
- */
403
- export declare class ConflictException extends __BaseException {
404
- readonly name: "ConflictException";
405
- readonly $fault: "client";
406
- Message?: string | undefined;
407
- /**
408
- * @internal
409
- */
410
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
411
- }
412
- /**
413
- * <p>The request processing has failed because of an unknown error, exception, or failure.</p> <p>This indicates a server-side error within the Amazon Web Services Payment Cryptography service. If this error persists, contact support for assistance.</p>
414
- * @public
415
- */
416
- export declare class InternalServerException extends __BaseException {
417
- readonly name: "InternalServerException";
418
- readonly $fault: "server";
419
- Message?: string | undefined;
420
- /**
421
- * @internal
422
- */
423
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
424
- }
425
- /**
426
- * <p>The request was denied due to resource not found.</p> <p>The specified key, alias, or other resource does not exist in your account or region. Verify that the resource identifier is correct and that the resource exists in the expected region.</p>
427
- * @public
428
- */
429
- export declare class ResourceNotFoundException extends __BaseException {
430
- readonly name: "ResourceNotFoundException";
431
- readonly $fault: "client";
432
- /**
433
- * <p>The identifier of the resource that was not found.</p> <p>This field contains the specific resource identifier (such as a key ARN or alias name) that could not be located.</p>
434
- * @public
435
- */
436
- ResourceId?: string | undefined;
437
- /**
438
- * @internal
439
- */
440
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
441
- }
442
- /**
443
- * <p>This request would cause a service quota to be exceeded.</p> <p>You have reached the maximum number of keys, aliases, or other resources allowed in your account. Review your current usage and consider deleting unused resources or requesting a quota increase.</p>
444
- * @public
445
- */
446
- export declare class ServiceQuotaExceededException extends __BaseException {
447
- readonly name: "ServiceQuotaExceededException";
448
- readonly $fault: "client";
449
- Message?: string | undefined;
450
- /**
451
- * @internal
452
- */
453
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
454
- }
455
- /**
456
- * <p>The request was denied due to request throttling.</p> <p>You have exceeded the rate limits for Amazon Web Services Payment Cryptography API calls. Implement exponential backoff and retry logic in your application to handle throttling gracefully.</p>
457
- * @public
458
- */
459
- export declare class ThrottlingException extends __BaseException {
460
- readonly name: "ThrottlingException";
461
- readonly $fault: "client";
462
- Message?: string | undefined;
463
- /**
464
- * @internal
465
- */
466
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
467
- }
468
- /**
469
- * <p>The request was denied due to an invalid request error.</p> <p>One or more parameters in your request are invalid. Check the parameter values, formats, and constraints specified in the API documentation.</p>
470
- * @public
471
- */
472
- export declare class ValidationException extends __BaseException {
473
- readonly name: "ValidationException";
474
- readonly $fault: "client";
475
- Message?: string | undefined;
476
- /**
477
- * @internal
478
- */
479
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
480
- }
481
385
  /**
482
386
  * <p>Contains information about an alias.</p>
483
387
  * @public
@@ -519,19 +423,6 @@ export interface CreateAliasOutput {
519
423
  */
520
424
  Alias: Alias | undefined;
521
425
  }
522
- /**
523
- * <p>The service cannot complete the request.</p> <p>The Amazon Web Services Payment Cryptography service is temporarily unavailable. This is typically a temporary condition - retry your request after a brief delay.</p>
524
- * @public
525
- */
526
- export declare class ServiceUnavailableException extends __BaseException {
527
- readonly name: "ServiceUnavailableException";
528
- readonly $fault: "server";
529
- Message?: string | undefined;
530
- /**
531
- * @internal
532
- */
533
- constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
534
- }
535
426
  /**
536
427
  * @public
537
428
  */
@@ -863,25 +754,6 @@ export interface ExportAttributes {
863
754
  */
864
755
  KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm | undefined;
865
756
  }
866
- /**
867
- * @public
868
- * @enum
869
- */
870
- export declare const SymmetricKeyAlgorithm: {
871
- readonly AES_128: "AES_128";
872
- readonly AES_192: "AES_192";
873
- readonly AES_256: "AES_256";
874
- readonly HMAC_SHA224: "HMAC_SHA224";
875
- readonly HMAC_SHA256: "HMAC_SHA256";
876
- readonly HMAC_SHA384: "HMAC_SHA384";
877
- readonly HMAC_SHA512: "HMAC_SHA512";
878
- readonly TDES_2KEY: "TDES_2KEY";
879
- readonly TDES_3KEY: "TDES_3KEY";
880
- };
881
- /**
882
- * @public
883
- */
884
- export type SymmetricKeyAlgorithm = (typeof SymmetricKeyAlgorithm)[keyof typeof SymmetricKeyAlgorithm];
885
757
  /**
886
758
  * @public
887
759
  * @enum
@@ -921,31 +793,6 @@ export interface KeyBlockHeaders {
921
793
  */
922
794
  OptionalBlocks?: Record<string, string> | undefined;
923
795
  }
924
- /**
925
- * @public
926
- * @enum
927
- */
928
- export declare const KeyDerivationFunction: {
929
- readonly ANSI_X963: "ANSI_X963";
930
- readonly NIST_SP800: "NIST_SP800";
931
- };
932
- /**
933
- * @public
934
- */
935
- export type KeyDerivationFunction = (typeof KeyDerivationFunction)[keyof typeof KeyDerivationFunction];
936
- /**
937
- * @public
938
- * @enum
939
- */
940
- export declare const KeyDerivationHashAlgorithm: {
941
- readonly SHA_256: "SHA_256";
942
- readonly SHA_384: "SHA_384";
943
- readonly SHA_512: "SHA_512";
944
- };
945
- /**
946
- * @public
947
- */
948
- export type KeyDerivationHashAlgorithm = (typeof KeyDerivationHashAlgorithm)[keyof typeof KeyDerivationHashAlgorithm];
949
796
  /**
950
797
  * <p>Key derivation parameter information for key material export using asymmetric ECDH key exchange method.</p>
951
798
  * @public
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { PaymentCryptographyExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/enums";
9
+ export * from "./models/errors";
10
+ export * from "./models/models_0";
9
11
  export { PaymentCryptographyServiceException } from "./models/PaymentCryptographyServiceException";
@@ -0,0 +1,26 @@
1
+ export declare const SymmetricKeyAlgorithm: {
2
+ readonly AES_128: "AES_128";
3
+ readonly AES_192: "AES_192";
4
+ readonly AES_256: "AES_256";
5
+ readonly HMAC_SHA224: "HMAC_SHA224";
6
+ readonly HMAC_SHA256: "HMAC_SHA256";
7
+ readonly HMAC_SHA384: "HMAC_SHA384";
8
+ readonly HMAC_SHA512: "HMAC_SHA512";
9
+ readonly TDES_2KEY: "TDES_2KEY";
10
+ readonly TDES_3KEY: "TDES_3KEY";
11
+ };
12
+ export type SymmetricKeyAlgorithm =
13
+ (typeof SymmetricKeyAlgorithm)[keyof typeof SymmetricKeyAlgorithm];
14
+ export declare const KeyDerivationFunction: {
15
+ readonly ANSI_X963: "ANSI_X963";
16
+ readonly NIST_SP800: "NIST_SP800";
17
+ };
18
+ export type KeyDerivationFunction =
19
+ (typeof KeyDerivationFunction)[keyof typeof KeyDerivationFunction];
20
+ export declare const KeyDerivationHashAlgorithm: {
21
+ readonly SHA_256: "SHA_256";
22
+ readonly SHA_384: "SHA_384";
23
+ readonly SHA_512: "SHA_512";
24
+ };
25
+ export type KeyDerivationHashAlgorithm =
26
+ (typeof KeyDerivationHashAlgorithm)[keyof typeof KeyDerivationHashAlgorithm];
@@ -0,0 +1,64 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { PaymentCryptographyServiceException as __BaseException } from "./PaymentCryptographyServiceException";
3
+ export declare class AccessDeniedException extends __BaseException {
4
+ readonly name: "AccessDeniedException";
5
+ readonly $fault: "client";
6
+ Message?: string | undefined;
7
+ constructor(
8
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
+ );
10
+ }
11
+ export declare class ConflictException extends __BaseException {
12
+ readonly name: "ConflictException";
13
+ readonly $fault: "client";
14
+ Message?: string | undefined;
15
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
16
+ }
17
+ export declare class InternalServerException extends __BaseException {
18
+ readonly name: "InternalServerException";
19
+ readonly $fault: "server";
20
+ Message?: string | undefined;
21
+ constructor(
22
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
23
+ );
24
+ }
25
+ export declare class ResourceNotFoundException extends __BaseException {
26
+ readonly name: "ResourceNotFoundException";
27
+ readonly $fault: "client";
28
+ ResourceId?: string | undefined;
29
+ constructor(
30
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
31
+ );
32
+ }
33
+ export declare class ServiceQuotaExceededException extends __BaseException {
34
+ readonly name: "ServiceQuotaExceededException";
35
+ readonly $fault: "client";
36
+ Message?: string | undefined;
37
+ constructor(
38
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
39
+ );
40
+ }
41
+ export declare class ThrottlingException extends __BaseException {
42
+ readonly name: "ThrottlingException";
43
+ readonly $fault: "client";
44
+ Message?: string | undefined;
45
+ constructor(
46
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
47
+ );
48
+ }
49
+ export declare class ValidationException extends __BaseException {
50
+ readonly name: "ValidationException";
51
+ readonly $fault: "client";
52
+ Message?: string | undefined;
53
+ constructor(
54
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
55
+ );
56
+ }
57
+ export declare class ServiceUnavailableException extends __BaseException {
58
+ readonly name: "ServiceUnavailableException";
59
+ readonly $fault: "server";
60
+ Message?: string | undefined;
61
+ constructor(
62
+ opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
63
+ );
64
+ }
@@ -1,13 +1,8 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { PaymentCryptographyServiceException as __BaseException } from "./PaymentCryptographyServiceException";
3
- export declare class AccessDeniedException extends __BaseException {
4
- readonly name: "AccessDeniedException";
5
- readonly $fault: "client";
6
- Message?: string | undefined;
7
- constructor(
8
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
- );
10
- }
1
+ import {
2
+ KeyDerivationFunction,
3
+ KeyDerivationHashAlgorithm,
4
+ SymmetricKeyAlgorithm,
5
+ } from "./enums";
11
6
  export interface AddKeyReplicationRegionsInput {
12
7
  KeyIdentifier: string | undefined;
13
8
  ReplicationRegions: string[] | undefined;
@@ -164,52 +159,6 @@ export interface Key {
164
159
  export interface AddKeyReplicationRegionsOutput {
165
160
  Key: Key | undefined;
166
161
  }
167
- export declare class ConflictException extends __BaseException {
168
- readonly name: "ConflictException";
169
- readonly $fault: "client";
170
- Message?: string | undefined;
171
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
172
- }
173
- export declare class InternalServerException extends __BaseException {
174
- readonly name: "InternalServerException";
175
- readonly $fault: "server";
176
- Message?: string | undefined;
177
- constructor(
178
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
179
- );
180
- }
181
- export declare class ResourceNotFoundException extends __BaseException {
182
- readonly name: "ResourceNotFoundException";
183
- readonly $fault: "client";
184
- ResourceId?: string | undefined;
185
- constructor(
186
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
187
- );
188
- }
189
- export declare class ServiceQuotaExceededException extends __BaseException {
190
- readonly name: "ServiceQuotaExceededException";
191
- readonly $fault: "client";
192
- Message?: string | undefined;
193
- constructor(
194
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
195
- );
196
- }
197
- export declare class ThrottlingException extends __BaseException {
198
- readonly name: "ThrottlingException";
199
- readonly $fault: "client";
200
- Message?: string | undefined;
201
- constructor(
202
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
203
- );
204
- }
205
- export declare class ValidationException extends __BaseException {
206
- readonly name: "ValidationException";
207
- readonly $fault: "client";
208
- Message?: string | undefined;
209
- constructor(
210
- opts: __ExceptionOptionType<ValidationException, __BaseException>
211
- );
212
- }
213
162
  export interface Alias {
214
163
  AliasName: string | undefined;
215
164
  KeyArn?: string | undefined;
@@ -221,14 +170,6 @@ export interface CreateAliasInput {
221
170
  export interface CreateAliasOutput {
222
171
  Alias: Alias | undefined;
223
172
  }
224
- export declare class ServiceUnavailableException extends __BaseException {
225
- readonly name: "ServiceUnavailableException";
226
- readonly $fault: "server";
227
- Message?: string | undefined;
228
- constructor(
229
- opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
230
- );
231
- }
232
173
  export interface DeleteAliasInput {
233
174
  AliasName: string | undefined;
234
175
  }
@@ -323,19 +264,6 @@ export interface ExportAttributes {
323
264
  ExportDukptInitialKey?: ExportDukptInitialKey | undefined;
324
265
  KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm | undefined;
325
266
  }
326
- export declare const SymmetricKeyAlgorithm: {
327
- readonly AES_128: "AES_128";
328
- readonly AES_192: "AES_192";
329
- readonly AES_256: "AES_256";
330
- readonly HMAC_SHA224: "HMAC_SHA224";
331
- readonly HMAC_SHA256: "HMAC_SHA256";
332
- readonly HMAC_SHA384: "HMAC_SHA384";
333
- readonly HMAC_SHA512: "HMAC_SHA512";
334
- readonly TDES_2KEY: "TDES_2KEY";
335
- readonly TDES_3KEY: "TDES_3KEY";
336
- };
337
- export type SymmetricKeyAlgorithm =
338
- (typeof SymmetricKeyAlgorithm)[keyof typeof SymmetricKeyAlgorithm];
339
267
  export declare const KeyExportability: {
340
268
  readonly EXPORTABLE: "EXPORTABLE";
341
269
  readonly NON_EXPORTABLE: "NON_EXPORTABLE";
@@ -349,19 +277,6 @@ export interface KeyBlockHeaders {
349
277
  KeyVersion?: string | undefined;
350
278
  OptionalBlocks?: Record<string, string> | undefined;
351
279
  }
352
- export declare const KeyDerivationFunction: {
353
- readonly ANSI_X963: "ANSI_X963";
354
- readonly NIST_SP800: "NIST_SP800";
355
- };
356
- export type KeyDerivationFunction =
357
- (typeof KeyDerivationFunction)[keyof typeof KeyDerivationFunction];
358
- export declare const KeyDerivationHashAlgorithm: {
359
- readonly SHA_256: "SHA_256";
360
- readonly SHA_384: "SHA_384";
361
- readonly SHA_512: "SHA_512";
362
- };
363
- export type KeyDerivationHashAlgorithm =
364
- (typeof KeyDerivationHashAlgorithm)[keyof typeof KeyDerivationHashAlgorithm];
365
280
  export interface ExportDiffieHellmanTr31KeyBlock {
366
281
  PrivateKeyIdentifier: string | undefined;
367
282
  CertificateAuthorityPublicKeyIdentifier: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-payment-cryptography",
3
3
  "description": "AWS SDK for JavaScript Payment Cryptography Client for Node.js, Browser and React Native",
4
- "version": "3.934.0",
4
+ "version": "3.935.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-payment-cryptography",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";