@aws-sdk/client-payment-cryptography 3.687.0 → 3.691.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 +9 -2
- package/dist-es/models/models_0.js +6 -1
- package/dist-types/commands/CreateKeyCommand.d.ts +1 -1
- package/dist-types/commands/ImportKeyCommand.d.ts +1 -1
- package/dist-types/commands/ListAliasesCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +67 -58
- package/dist-types/ts3.4/models/models_0.d.ts +62 -58
- package/package.json +7 -7
package/dist-cjs/index.js
CHANGED
|
@@ -44,6 +44,7 @@ __export(src_exports, {
|
|
|
44
44
|
GetPublicKeyCertificateCommand: () => GetPublicKeyCertificateCommand,
|
|
45
45
|
GetPublicKeyCertificateOutputFilterSensitiveLog: () => GetPublicKeyCertificateOutputFilterSensitiveLog,
|
|
46
46
|
ImportKeyCommand: () => ImportKeyCommand,
|
|
47
|
+
ImportKeyCryptogramFilterSensitiveLog: () => ImportKeyCryptogramFilterSensitiveLog,
|
|
47
48
|
ImportKeyInputFilterSensitiveLog: () => ImportKeyInputFilterSensitiveLog,
|
|
48
49
|
ImportKeyMaterial: () => ImportKeyMaterial,
|
|
49
50
|
ImportKeyMaterialFilterSensitiveLog: () => ImportKeyMaterialFilterSensitiveLog,
|
|
@@ -564,6 +565,10 @@ var GetPublicKeyCertificateOutputFilterSensitiveLog = /* @__PURE__ */ __name((ob
|
|
|
564
565
|
...obj.KeyCertificate && { KeyCertificate: import_smithy_client.SENSITIVE_STRING },
|
|
565
566
|
...obj.KeyCertificateChain && { KeyCertificateChain: import_smithy_client.SENSITIVE_STRING }
|
|
566
567
|
}), "GetPublicKeyCertificateOutputFilterSensitiveLog");
|
|
568
|
+
var ImportKeyCryptogramFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
569
|
+
...obj,
|
|
570
|
+
...obj.WrappedKeyCryptogram && { WrappedKeyCryptogram: import_smithy_client.SENSITIVE_STRING }
|
|
571
|
+
}), "ImportKeyCryptogramFilterSensitiveLog");
|
|
567
572
|
var RootCertificatePublicKeyFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
568
573
|
...obj,
|
|
569
574
|
...obj.PublicKeyCertificate && { PublicKeyCertificate: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -574,7 +579,8 @@ var ImportTr31KeyBlockFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
574
579
|
}), "ImportTr31KeyBlockFilterSensitiveLog");
|
|
575
580
|
var ImportTr34KeyBlockFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
576
581
|
...obj,
|
|
577
|
-
...obj.SigningKeyCertificate && { SigningKeyCertificate: import_smithy_client.SENSITIVE_STRING }
|
|
582
|
+
...obj.SigningKeyCertificate && { SigningKeyCertificate: import_smithy_client.SENSITIVE_STRING },
|
|
583
|
+
...obj.WrappedKeyBlock && { WrappedKeyBlock: import_smithy_client.SENSITIVE_STRING }
|
|
578
584
|
}), "ImportTr34KeyBlockFilterSensitiveLog");
|
|
579
585
|
var TrustedCertificatePublicKeyFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
580
586
|
...obj,
|
|
@@ -592,7 +598,7 @@ var ImportKeyMaterialFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
|
592
598
|
if (obj.Tr34KeyBlock !== void 0)
|
|
593
599
|
return { Tr34KeyBlock: ImportTr34KeyBlockFilterSensitiveLog(obj.Tr34KeyBlock) };
|
|
594
600
|
if (obj.KeyCryptogram !== void 0)
|
|
595
|
-
return { KeyCryptogram: obj.KeyCryptogram };
|
|
601
|
+
return { KeyCryptogram: ImportKeyCryptogramFilterSensitiveLog(obj.KeyCryptogram) };
|
|
596
602
|
if (obj.$unknown !== void 0)
|
|
597
603
|
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
598
604
|
}, "ImportKeyMaterialFilterSensitiveLog");
|
|
@@ -1577,6 +1583,7 @@ var paginateListTagsForResource = (0, import_core.createPaginator)(PaymentCrypto
|
|
|
1577
1583
|
GetParametersForExportOutputFilterSensitiveLog,
|
|
1578
1584
|
GetParametersForImportOutputFilterSensitiveLog,
|
|
1579
1585
|
GetPublicKeyCertificateOutputFilterSensitiveLog,
|
|
1586
|
+
ImportKeyCryptogramFilterSensitiveLog,
|
|
1580
1587
|
RootCertificatePublicKeyFilterSensitiveLog,
|
|
1581
1588
|
ImportTr31KeyBlockFilterSensitiveLog,
|
|
1582
1589
|
ImportTr34KeyBlockFilterSensitiveLog,
|
|
@@ -267,6 +267,10 @@ export const GetPublicKeyCertificateOutputFilterSensitiveLog = (obj) => ({
|
|
|
267
267
|
...(obj.KeyCertificate && { KeyCertificate: SENSITIVE_STRING }),
|
|
268
268
|
...(obj.KeyCertificateChain && { KeyCertificateChain: SENSITIVE_STRING }),
|
|
269
269
|
});
|
|
270
|
+
export const ImportKeyCryptogramFilterSensitiveLog = (obj) => ({
|
|
271
|
+
...obj,
|
|
272
|
+
...(obj.WrappedKeyCryptogram && { WrappedKeyCryptogram: SENSITIVE_STRING }),
|
|
273
|
+
});
|
|
270
274
|
export const RootCertificatePublicKeyFilterSensitiveLog = (obj) => ({
|
|
271
275
|
...obj,
|
|
272
276
|
...(obj.PublicKeyCertificate && { PublicKeyCertificate: SENSITIVE_STRING }),
|
|
@@ -278,6 +282,7 @@ export const ImportTr31KeyBlockFilterSensitiveLog = (obj) => ({
|
|
|
278
282
|
export const ImportTr34KeyBlockFilterSensitiveLog = (obj) => ({
|
|
279
283
|
...obj,
|
|
280
284
|
...(obj.SigningKeyCertificate && { SigningKeyCertificate: SENSITIVE_STRING }),
|
|
285
|
+
...(obj.WrappedKeyBlock && { WrappedKeyBlock: SENSITIVE_STRING }),
|
|
281
286
|
});
|
|
282
287
|
export const TrustedCertificatePublicKeyFilterSensitiveLog = (obj) => ({
|
|
283
288
|
...obj,
|
|
@@ -295,7 +300,7 @@ export const ImportKeyMaterialFilterSensitiveLog = (obj) => {
|
|
|
295
300
|
if (obj.Tr34KeyBlock !== undefined)
|
|
296
301
|
return { Tr34KeyBlock: ImportTr34KeyBlockFilterSensitiveLog(obj.Tr34KeyBlock) };
|
|
297
302
|
if (obj.KeyCryptogram !== undefined)
|
|
298
|
-
return { KeyCryptogram: obj.KeyCryptogram };
|
|
303
|
+
return { KeyCryptogram: ImportKeyCryptogramFilterSensitiveLog(obj.KeyCryptogram) };
|
|
299
304
|
if (obj.$unknown !== undefined)
|
|
300
305
|
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
301
306
|
};
|
|
@@ -27,7 +27,7 @@ declare const ListAliasesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Lists the aliases for all keys in the caller's Amazon Web Services account and Amazon Web Services Region. You can filter the
|
|
30
|
+
* <p>Lists the aliases for all keys in the caller's Amazon Web Services account and Amazon Web Services Region. You can filter the aliases by <code>keyARN</code>. For more information, see <a href="https://docs.aws.amazon.com/payment-cryptography/latest/userguide/keys-managealias.html">Using aliases</a> in the <i>Amazon Web Services Payment Cryptography User Guide</i>.</p>
|
|
31
31
|
* <p>This is a paginated operation, which means that each response might contain only a subset of all the aliases. When the response contains only a subset of aliases, it includes a <code>NextToken</code> value.
|
|
32
32
|
* Use this value in a subsequent <code>ListAliases</code> request to get more aliases. When you receive a response with no NextToken (or an empty or null value), that means there are no more aliases to get.</p>
|
|
33
33
|
* <p>
|
|
@@ -64,6 +64,7 @@ declare const ListAliasesCommand_base: {
|
|
|
64
64
|
* // const { PaymentCryptographyClient, ListAliasesCommand } = require("@aws-sdk/client-payment-cryptography"); // CommonJS import
|
|
65
65
|
* const client = new PaymentCryptographyClient(config);
|
|
66
66
|
* const input = { // ListAliasesInput
|
|
67
|
+
* KeyArn: "STRING_VALUE",
|
|
67
68
|
* NextToken: "STRING_VALUE",
|
|
68
69
|
* MaxResults: Number("int"),
|
|
69
70
|
* };
|
|
@@ -65,7 +65,7 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
65
65
|
* // Tags: [ // Tags // required
|
|
66
66
|
* // { // Tag
|
|
67
67
|
* // Key: "STRING_VALUE", // required
|
|
68
|
-
* // Value: "STRING_VALUE",
|
|
68
|
+
* // Value: "STRING_VALUE", // required
|
|
69
69
|
* // },
|
|
70
70
|
* // ],
|
|
71
71
|
* // NextToken: "STRING_VALUE",
|
|
@@ -7,7 +7,7 @@ import { PaymentCryptographyServiceException as __BaseException } from "./Paymen
|
|
|
7
7
|
export declare class AccessDeniedException extends __BaseException {
|
|
8
8
|
readonly name: "AccessDeniedException";
|
|
9
9
|
readonly $fault: "client";
|
|
10
|
-
Message?: string;
|
|
10
|
+
Message?: string | undefined;
|
|
11
11
|
/**
|
|
12
12
|
* @internal
|
|
13
13
|
*/
|
|
@@ -30,7 +30,7 @@ export interface Alias {
|
|
|
30
30
|
* <p>The <code>KeyARN</code> of the key associated with the alias.</p>
|
|
31
31
|
* @public
|
|
32
32
|
*/
|
|
33
|
-
KeyArn?: string;
|
|
33
|
+
KeyArn?: string | undefined;
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
36
36
|
* <p>This request can cause an inconsistent state for the resource.</p>
|
|
@@ -39,7 +39,7 @@ export interface Alias {
|
|
|
39
39
|
export declare class ConflictException extends __BaseException {
|
|
40
40
|
readonly name: "ConflictException";
|
|
41
41
|
readonly $fault: "client";
|
|
42
|
-
Message?: string;
|
|
42
|
+
Message?: string | undefined;
|
|
43
43
|
/**
|
|
44
44
|
* @internal
|
|
45
45
|
*/
|
|
@@ -61,7 +61,7 @@ export interface CreateAliasInput {
|
|
|
61
61
|
* <p>The <code>KeyARN</code> of the key to associate with the alias.</p>
|
|
62
62
|
* @public
|
|
63
63
|
*/
|
|
64
|
-
KeyArn?: string;
|
|
64
|
+
KeyArn?: string | undefined;
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
67
67
|
* @public
|
|
@@ -80,7 +80,7 @@ export interface CreateAliasOutput {
|
|
|
80
80
|
export declare class InternalServerException extends __BaseException {
|
|
81
81
|
readonly name: "InternalServerException";
|
|
82
82
|
readonly $fault: "server";
|
|
83
|
-
Message?: string;
|
|
83
|
+
Message?: string | undefined;
|
|
84
84
|
/**
|
|
85
85
|
* @internal
|
|
86
86
|
*/
|
|
@@ -97,7 +97,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
97
97
|
* <p>The string for the exception.</p>
|
|
98
98
|
* @public
|
|
99
99
|
*/
|
|
100
|
-
ResourceId?: string;
|
|
100
|
+
ResourceId?: string | undefined;
|
|
101
101
|
/**
|
|
102
102
|
* @internal
|
|
103
103
|
*/
|
|
@@ -110,7 +110,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
110
110
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
111
111
|
readonly name: "ServiceQuotaExceededException";
|
|
112
112
|
readonly $fault: "client";
|
|
113
|
-
Message?: string;
|
|
113
|
+
Message?: string | undefined;
|
|
114
114
|
/**
|
|
115
115
|
* @internal
|
|
116
116
|
*/
|
|
@@ -123,7 +123,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
123
123
|
export declare class ServiceUnavailableException extends __BaseException {
|
|
124
124
|
readonly name: "ServiceUnavailableException";
|
|
125
125
|
readonly $fault: "server";
|
|
126
|
-
Message?: string;
|
|
126
|
+
Message?: string | undefined;
|
|
127
127
|
/**
|
|
128
128
|
* @internal
|
|
129
129
|
*/
|
|
@@ -136,7 +136,7 @@ export declare class ServiceUnavailableException extends __BaseException {
|
|
|
136
136
|
export declare class ThrottlingException extends __BaseException {
|
|
137
137
|
readonly name: "ThrottlingException";
|
|
138
138
|
readonly $fault: "client";
|
|
139
|
-
Message?: string;
|
|
139
|
+
Message?: string | undefined;
|
|
140
140
|
/**
|
|
141
141
|
* @internal
|
|
142
142
|
*/
|
|
@@ -149,7 +149,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
149
149
|
export declare class ValidationException extends __BaseException {
|
|
150
150
|
readonly name: "ValidationException";
|
|
151
151
|
readonly $fault: "client";
|
|
152
|
-
Message?: string;
|
|
152
|
+
Message?: string | undefined;
|
|
153
153
|
/**
|
|
154
154
|
* @internal
|
|
155
155
|
*/
|
|
@@ -194,17 +194,22 @@ export interface GetAliasOutput {
|
|
|
194
194
|
* @public
|
|
195
195
|
*/
|
|
196
196
|
export interface ListAliasesInput {
|
|
197
|
+
/**
|
|
198
|
+
* <p>The <code>keyARN</code> for which you want to list all aliases.</p>
|
|
199
|
+
* @public
|
|
200
|
+
*/
|
|
201
|
+
KeyArn?: string | undefined;
|
|
197
202
|
/**
|
|
198
203
|
* <p>Use this parameter in a subsequent request after you receive a response with truncated results. Set it to the value of <code>NextToken</code> from the truncated response you just received.</p>
|
|
199
204
|
* @public
|
|
200
205
|
*/
|
|
201
|
-
NextToken?: string;
|
|
206
|
+
NextToken?: string | undefined;
|
|
202
207
|
/**
|
|
203
208
|
* <p>Use this parameter to specify the maximum number of items to return. When this value is present, Amazon Web Services Payment Cryptography does not return more than the specified number of items, but it might return fewer.</p>
|
|
204
209
|
* <p>This value is optional. If you include a value, it must be between 1 and 100, inclusive. If you do not include a value, it defaults to 50.</p>
|
|
205
210
|
* @public
|
|
206
211
|
*/
|
|
207
|
-
MaxResults?: number;
|
|
212
|
+
MaxResults?: number | undefined;
|
|
208
213
|
}
|
|
209
214
|
/**
|
|
210
215
|
* @public
|
|
@@ -219,7 +224,7 @@ export interface ListAliasesOutput {
|
|
|
219
224
|
* <p>The token for the next set of results, or an empty or null value if there are no more results.</p>
|
|
220
225
|
* @public
|
|
221
226
|
*/
|
|
222
|
-
NextToken?: string;
|
|
227
|
+
NextToken?: string | undefined;
|
|
223
228
|
}
|
|
224
229
|
/**
|
|
225
230
|
* @public
|
|
@@ -234,7 +239,7 @@ export interface UpdateAliasInput {
|
|
|
234
239
|
* <p>The <code>KeyARN</code> for the key that you are updating or removing from the alias.</p>
|
|
235
240
|
* @public
|
|
236
241
|
*/
|
|
237
|
-
KeyArn?: string;
|
|
242
|
+
KeyArn?: string | undefined;
|
|
238
243
|
}
|
|
239
244
|
/**
|
|
240
245
|
* @public
|
|
@@ -289,47 +294,47 @@ export interface KeyModesOfUse {
|
|
|
289
294
|
* <p>Specifies whether an Amazon Web Services Payment Cryptography key can be used to encrypt data.</p>
|
|
290
295
|
* @public
|
|
291
296
|
*/
|
|
292
|
-
Encrypt?: boolean;
|
|
297
|
+
Encrypt?: boolean | undefined;
|
|
293
298
|
/**
|
|
294
299
|
* <p>Specifies whether an Amazon Web Services Payment Cryptography key can be used to decrypt data.</p>
|
|
295
300
|
* @public
|
|
296
301
|
*/
|
|
297
|
-
Decrypt?: boolean;
|
|
302
|
+
Decrypt?: boolean | undefined;
|
|
298
303
|
/**
|
|
299
304
|
* <p>Specifies whether an Amazon Web Services Payment Cryptography key can be used to wrap other keys.</p>
|
|
300
305
|
* @public
|
|
301
306
|
*/
|
|
302
|
-
Wrap?: boolean;
|
|
307
|
+
Wrap?: boolean | undefined;
|
|
303
308
|
/**
|
|
304
309
|
* <p>Specifies whether an Amazon Web Services Payment Cryptography key can be used to unwrap other keys.</p>
|
|
305
310
|
* @public
|
|
306
311
|
*/
|
|
307
|
-
Unwrap?: boolean;
|
|
312
|
+
Unwrap?: boolean | undefined;
|
|
308
313
|
/**
|
|
309
314
|
* <p>Specifies whether an Amazon Web Services Payment Cryptography key can be used to generate and verify other card and PIN verification keys.</p>
|
|
310
315
|
* @public
|
|
311
316
|
*/
|
|
312
|
-
Generate?: boolean;
|
|
317
|
+
Generate?: boolean | undefined;
|
|
313
318
|
/**
|
|
314
319
|
* <p>Specifies whether an Amazon Web Services Payment Cryptography key can be used for signing.</p>
|
|
315
320
|
* @public
|
|
316
321
|
*/
|
|
317
|
-
Sign?: boolean;
|
|
322
|
+
Sign?: boolean | undefined;
|
|
318
323
|
/**
|
|
319
324
|
* <p>Specifies whether an Amazon Web Services Payment Cryptography key can be used to verify signatures.</p>
|
|
320
325
|
* @public
|
|
321
326
|
*/
|
|
322
|
-
Verify?: boolean;
|
|
327
|
+
Verify?: boolean | undefined;
|
|
323
328
|
/**
|
|
324
329
|
* <p>Specifies whether an Amazon Web Services Payment Cryptography key can be used to derive new keys.</p>
|
|
325
330
|
* @public
|
|
326
331
|
*/
|
|
327
|
-
DeriveKey?: boolean;
|
|
332
|
+
DeriveKey?: boolean | undefined;
|
|
328
333
|
/**
|
|
329
334
|
* <p>Specifies whether an Amazon Web Services Payment Cryptography key has no special restrictions other than the restrictions implied by <code>KeyUsage</code>.</p>
|
|
330
335
|
* @public
|
|
331
336
|
*/
|
|
332
|
-
NoRestrictions?: boolean;
|
|
337
|
+
NoRestrictions?: boolean | undefined;
|
|
333
338
|
}
|
|
334
339
|
/**
|
|
335
340
|
* @public
|
|
@@ -417,7 +422,7 @@ export interface Tag {
|
|
|
417
422
|
* <p>The value of the tag.</p>
|
|
418
423
|
* @public
|
|
419
424
|
*/
|
|
420
|
-
Value
|
|
425
|
+
Value: string | undefined;
|
|
421
426
|
}
|
|
422
427
|
/**
|
|
423
428
|
* @public
|
|
@@ -433,7 +438,7 @@ export interface CreateKeyInput {
|
|
|
433
438
|
* <p>For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.</p>
|
|
434
439
|
* @public
|
|
435
440
|
*/
|
|
436
|
-
KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm;
|
|
441
|
+
KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm | undefined;
|
|
437
442
|
/**
|
|
438
443
|
* <p>Specifies whether the key is exportable from the service.</p>
|
|
439
444
|
* @public
|
|
@@ -443,7 +448,7 @@ export interface CreateKeyInput {
|
|
|
443
448
|
* <p>Specifies whether to enable the key. If the key is enabled, it is activated for use within the service. If the key is not enabled, then it is created but not activated. The default value is enabled.</p>
|
|
444
449
|
* @public
|
|
445
450
|
*/
|
|
446
|
-
Enabled?: boolean;
|
|
451
|
+
Enabled?: boolean | undefined;
|
|
447
452
|
/**
|
|
448
453
|
* <p>Assigns one or more tags to the Amazon Web Services Payment Cryptography key. Use this parameter to tag a key when it is created. To tag an existing Amazon Web Services Payment Cryptography key, use the <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_TagResource.html">TagResource</a> operation.</p>
|
|
449
454
|
* <p>Each tag consists of a tag key and a tag value. Both the tag key and the tag value are required, but the tag value can be an empty (null) string. You can't have more than one tag on an Amazon Web Services Payment Cryptography key with the same tag key. </p>
|
|
@@ -455,7 +460,7 @@ export interface CreateKeyInput {
|
|
|
455
460
|
* </note>
|
|
456
461
|
* @public
|
|
457
462
|
*/
|
|
458
|
-
Tags?: Tag[];
|
|
463
|
+
Tags?: Tag[] | undefined;
|
|
459
464
|
}
|
|
460
465
|
/**
|
|
461
466
|
* @public
|
|
@@ -538,22 +543,22 @@ export interface Key {
|
|
|
538
543
|
* <p>The date and time after which Amazon Web Services Payment Cryptography will start using the key material for cryptographic operations.</p>
|
|
539
544
|
* @public
|
|
540
545
|
*/
|
|
541
|
-
UsageStartTimestamp?: Date;
|
|
546
|
+
UsageStartTimestamp?: Date | undefined;
|
|
542
547
|
/**
|
|
543
548
|
* <p>The date and time after which Amazon Web Services Payment Cryptography will stop using the key material for cryptographic operations.</p>
|
|
544
549
|
* @public
|
|
545
550
|
*/
|
|
546
|
-
UsageStopTimestamp?: Date;
|
|
551
|
+
UsageStopTimestamp?: Date | undefined;
|
|
547
552
|
/**
|
|
548
553
|
* <p>The date and time after which Amazon Web Services Payment Cryptography will delete the key. This value is present only when <code>KeyState</code> is <code>DELETE_PENDING</code> and the key is scheduled for deletion.</p>
|
|
549
554
|
* @public
|
|
550
555
|
*/
|
|
551
|
-
DeletePendingTimestamp?: Date;
|
|
556
|
+
DeletePendingTimestamp?: Date | undefined;
|
|
552
557
|
/**
|
|
553
558
|
* <p>The date and time after which Amazon Web Services Payment Cryptography will delete the key. This value is present only when when the <code>KeyState</code> is <code>DELETE_COMPLETE</code> and the Amazon Web Services Payment Cryptography key is deleted.</p>
|
|
554
559
|
* @public
|
|
555
560
|
*/
|
|
556
|
-
DeleteTimestamp?: Date;
|
|
561
|
+
DeleteTimestamp?: Date | undefined;
|
|
557
562
|
}
|
|
558
563
|
/**
|
|
559
564
|
* @public
|
|
@@ -578,7 +583,7 @@ export interface DeleteKeyInput {
|
|
|
578
583
|
* <p>The waiting period for key deletion. The default value is seven days.</p>
|
|
579
584
|
* @public
|
|
580
585
|
*/
|
|
581
|
-
DeleteKeyInDays?: number;
|
|
586
|
+
DeleteKeyInDays?: number | undefined;
|
|
582
587
|
}
|
|
583
588
|
/**
|
|
584
589
|
* @public
|
|
@@ -611,13 +616,13 @@ export interface ExportAttributes {
|
|
|
611
616
|
* <p>Parameter information for IPEK export.</p>
|
|
612
617
|
* @public
|
|
613
618
|
*/
|
|
614
|
-
ExportDukptInitialKey?: ExportDukptInitialKey;
|
|
619
|
+
ExportDukptInitialKey?: ExportDukptInitialKey | undefined;
|
|
615
620
|
/**
|
|
616
621
|
* <p>The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity. Specify KCV for IPEK export only.</p>
|
|
617
622
|
* <p>For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.</p>
|
|
618
623
|
* @public
|
|
619
624
|
*/
|
|
620
|
-
KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm;
|
|
625
|
+
KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm | undefined;
|
|
621
626
|
}
|
|
622
627
|
/**
|
|
623
628
|
* @public
|
|
@@ -650,7 +655,7 @@ export interface ExportKeyCryptogram {
|
|
|
650
655
|
* <p>The wrapping spec for the key under export.</p>
|
|
651
656
|
* @public
|
|
652
657
|
*/
|
|
653
|
-
WrappingSpec?: WrappingKeySpec;
|
|
658
|
+
WrappingSpec?: WrappingKeySpec | undefined;
|
|
654
659
|
}
|
|
655
660
|
/**
|
|
656
661
|
* @public
|
|
@@ -674,24 +679,24 @@ export interface KeyBlockHeaders {
|
|
|
674
679
|
* <p>The list of cryptographic operations that you can perform using the key. The modes of use are defined in section A.5.3 of the TR-31 spec.</p>
|
|
675
680
|
* @public
|
|
676
681
|
*/
|
|
677
|
-
KeyModesOfUse?: KeyModesOfUse;
|
|
682
|
+
KeyModesOfUse?: KeyModesOfUse | undefined;
|
|
678
683
|
/**
|
|
679
684
|
* <p>Specifies subsequent exportability of the key within the key block after it is received by the receiving party. It can be used to further restrict exportability of the key after export from Amazon Web Services Payment Cryptography.</p>
|
|
680
685
|
* <p>When set to <code>EXPORTABLE</code>, the key can be subsequently exported by the receiver under a KEK using TR-31 or TR-34 key block export only. When set to <code>NON_EXPORTABLE</code>, the key cannot be subsequently exported by the receiver. When set to <code>SENSITIVE</code>, the key can be exported by the receiver under a KEK using TR-31, TR-34, RSA wrap and unwrap cryptogram or using a symmetric cryptogram key export method. For further information refer to <a href="https://webstore.ansi.org/standards/ascx9/ansix91432022">ANSI X9.143-2022</a>.</p>
|
|
681
686
|
* @public
|
|
682
687
|
*/
|
|
683
|
-
KeyExportability?: KeyExportability;
|
|
688
|
+
KeyExportability?: KeyExportability | undefined;
|
|
684
689
|
/**
|
|
685
690
|
* <p>Parameter used to indicate the version of the key carried in the key block or indicate the value carried in the key block is a component of a key.</p>
|
|
686
691
|
* @public
|
|
687
692
|
*/
|
|
688
|
-
KeyVersion?: string;
|
|
693
|
+
KeyVersion?: string | undefined;
|
|
689
694
|
/**
|
|
690
695
|
* <p>Parameter used to indicate the type of optional data in key block headers. Refer to <a href="https://webstore.ansi.org/standards/ascx9/ansix91432022">ANSI X9.143-2022</a> for information on allowed data type for optional blocks.</p>
|
|
691
696
|
* <p>Optional block character limit is 112 characters. For each optional block, 2 characters are reserved for optional block ID and 2 characters reserved for optional block length. More than one optional blocks can be included as long as the combined length does not increase 112 characters.</p>
|
|
692
697
|
* @public
|
|
693
698
|
*/
|
|
694
|
-
OptionalBlocks?: Record<string, string
|
|
699
|
+
OptionalBlocks?: Record<string, string> | undefined;
|
|
695
700
|
}
|
|
696
701
|
/**
|
|
697
702
|
* <p>Parameter information for key material export using symmetric TR-31 key exchange method.</p>
|
|
@@ -707,7 +712,7 @@ export interface ExportTr31KeyBlock {
|
|
|
707
712
|
* <p>Optional metadata for export associated with the key material. This data is signed but transmitted in clear text.</p>
|
|
708
713
|
* @public
|
|
709
714
|
*/
|
|
710
|
-
KeyBlockHeaders?: KeyBlockHeaders;
|
|
715
|
+
KeyBlockHeaders?: KeyBlockHeaders | undefined;
|
|
711
716
|
}
|
|
712
717
|
/**
|
|
713
718
|
* @public
|
|
@@ -749,12 +754,12 @@ export interface ExportTr34KeyBlock {
|
|
|
749
754
|
* <p>A random number value that is unique to the TR-34 key block generated using 2 pass. The operation will fail, if a random nonce value is not provided for a TR-34 key block generated using 2 pass.</p>
|
|
750
755
|
* @public
|
|
751
756
|
*/
|
|
752
|
-
RandomNonce?: string;
|
|
757
|
+
RandomNonce?: string | undefined;
|
|
753
758
|
/**
|
|
754
759
|
* <p>Optional metadata for export associated with the key material. This data is signed but transmitted in clear text.</p>
|
|
755
760
|
* @public
|
|
756
761
|
*/
|
|
757
|
-
KeyBlockHeaders?: KeyBlockHeaders;
|
|
762
|
+
KeyBlockHeaders?: KeyBlockHeaders | undefined;
|
|
758
763
|
}
|
|
759
764
|
/**
|
|
760
765
|
* <p>Parameter information for key material export from Amazon Web Services Payment Cryptography using TR-31 or TR-34 or RSA wrap and unwrap key exchange method.</p>
|
|
@@ -830,7 +835,7 @@ export interface ExportKeyInput {
|
|
|
830
835
|
* <p>The attributes for IPEK generation during export.</p>
|
|
831
836
|
* @public
|
|
832
837
|
*/
|
|
833
|
-
ExportAttributes?: ExportAttributes;
|
|
838
|
+
ExportAttributes?: ExportAttributes | undefined;
|
|
834
839
|
}
|
|
835
840
|
/**
|
|
836
841
|
* @public
|
|
@@ -869,13 +874,13 @@ export interface WrappedKey {
|
|
|
869
874
|
* <p>The key check value (KCV) is used to check if all parties holding a given key have the same key or to detect that a key has changed.</p>
|
|
870
875
|
* @public
|
|
871
876
|
*/
|
|
872
|
-
KeyCheckValue?: string;
|
|
877
|
+
KeyCheckValue?: string | undefined;
|
|
873
878
|
/**
|
|
874
879
|
* <p>The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity.</p>
|
|
875
880
|
* <p>For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.</p>
|
|
876
881
|
* @public
|
|
877
882
|
*/
|
|
878
|
-
KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm;
|
|
883
|
+
KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm | undefined;
|
|
879
884
|
}
|
|
880
885
|
/**
|
|
881
886
|
* @public
|
|
@@ -885,7 +890,7 @@ export interface ExportKeyOutput {
|
|
|
885
890
|
* <p>The key material under export as a TR-34 WrappedKeyBlock or a TR-31 WrappedKeyBlock. or a RSA WrappedKeyCryptogram.</p>
|
|
886
891
|
* @public
|
|
887
892
|
*/
|
|
888
|
-
WrappedKey?: WrappedKey;
|
|
893
|
+
WrappedKey?: WrappedKey | undefined;
|
|
889
894
|
}
|
|
890
895
|
/**
|
|
891
896
|
* @public
|
|
@@ -1068,7 +1073,7 @@ export interface ImportKeyCryptogram {
|
|
|
1068
1073
|
* <p>The wrapping spec for the wrapped key cryptogram.</p>
|
|
1069
1074
|
* @public
|
|
1070
1075
|
*/
|
|
1071
|
-
WrappingSpec?: WrappingKeySpec;
|
|
1076
|
+
WrappingSpec?: WrappingKeySpec | undefined;
|
|
1072
1077
|
}
|
|
1073
1078
|
/**
|
|
1074
1079
|
* <p>Parameter information for root public key certificate import.</p>
|
|
@@ -1136,7 +1141,7 @@ export interface ImportTr34KeyBlock {
|
|
|
1136
1141
|
* <p>A random number value that is unique to the TR-34 key block generated using 2 pass. The operation will fail, if a random nonce value is not provided for a TR-34 key block generated using 2 pass.</p>
|
|
1137
1142
|
* @public
|
|
1138
1143
|
*/
|
|
1139
|
-
RandomNonce?: string;
|
|
1144
|
+
RandomNonce?: string | undefined;
|
|
1140
1145
|
}
|
|
1141
1146
|
/**
|
|
1142
1147
|
* <p>Parameter information for trusted public key certificate import.</p>
|
|
@@ -1263,12 +1268,12 @@ export interface ImportKeyInput {
|
|
|
1263
1268
|
* <p>For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.</p>
|
|
1264
1269
|
* @public
|
|
1265
1270
|
*/
|
|
1266
|
-
KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm;
|
|
1271
|
+
KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm | undefined;
|
|
1267
1272
|
/**
|
|
1268
1273
|
* <p>Specifies whether import key is enabled.</p>
|
|
1269
1274
|
* @public
|
|
1270
1275
|
*/
|
|
1271
|
-
Enabled?: boolean;
|
|
1276
|
+
Enabled?: boolean | undefined;
|
|
1272
1277
|
/**
|
|
1273
1278
|
* <p>Assigns one or more tags to the Amazon Web Services Payment Cryptography key. Use this parameter to tag a key when it is imported. To tag an existing Amazon Web Services Payment Cryptography key, use the <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_TagResource.html">TagResource</a> operation.</p>
|
|
1274
1279
|
* <p>Each tag consists of a tag key and a tag value. Both the tag key and the tag value are required, but the tag value can be an empty (null) string. You can't have more than one tag on an Amazon Web Services Payment Cryptography key with the same tag key. If you specify an existing tag key with a different tag value, Amazon Web Services Payment Cryptography replaces the current tag value with the specified one.</p>
|
|
@@ -1280,7 +1285,7 @@ export interface ImportKeyInput {
|
|
|
1280
1285
|
* </note>
|
|
1281
1286
|
* @public
|
|
1282
1287
|
*/
|
|
1283
|
-
Tags?: Tag[];
|
|
1288
|
+
Tags?: Tag[] | undefined;
|
|
1284
1289
|
}
|
|
1285
1290
|
/**
|
|
1286
1291
|
* @public
|
|
@@ -1300,18 +1305,18 @@ export interface ListKeysInput {
|
|
|
1300
1305
|
* <p>The key state of the keys you want to list.</p>
|
|
1301
1306
|
* @public
|
|
1302
1307
|
*/
|
|
1303
|
-
KeyState?: KeyState;
|
|
1308
|
+
KeyState?: KeyState | undefined;
|
|
1304
1309
|
/**
|
|
1305
1310
|
* <p>Use this parameter in a subsequent request after you receive a response with truncated results. Set it to the value of <code>NextToken</code> from the truncated response you just received.</p>
|
|
1306
1311
|
* @public
|
|
1307
1312
|
*/
|
|
1308
|
-
NextToken?: string;
|
|
1313
|
+
NextToken?: string | undefined;
|
|
1309
1314
|
/**
|
|
1310
1315
|
* <p>Use this parameter to specify the maximum number of items to return. When this value is present, Amazon Web Services Payment Cryptography does not return more than the specified number of items, but it might return fewer.</p>
|
|
1311
1316
|
* <p>This value is optional. If you include a value, it must be between 1 and 100, inclusive. If you do not include a value, it defaults to 50.</p>
|
|
1312
1317
|
* @public
|
|
1313
1318
|
*/
|
|
1314
|
-
MaxResults?: number;
|
|
1319
|
+
MaxResults?: number | undefined;
|
|
1315
1320
|
}
|
|
1316
1321
|
/**
|
|
1317
1322
|
* <p>Metadata about an Amazon Web Services Payment Cryptography key.</p>
|
|
@@ -1362,7 +1367,7 @@ export interface ListKeysOutput {
|
|
|
1362
1367
|
* <p>The token for the next set of results, or an empty or null value if there are no more results.</p>
|
|
1363
1368
|
* @public
|
|
1364
1369
|
*/
|
|
1365
|
-
NextToken?: string;
|
|
1370
|
+
NextToken?: string | undefined;
|
|
1366
1371
|
}
|
|
1367
1372
|
/**
|
|
1368
1373
|
* @public
|
|
@@ -1437,13 +1442,13 @@ export interface ListTagsForResourceInput {
|
|
|
1437
1442
|
* <p>Use this parameter in a subsequent request after you receive a response with truncated results. Set it to the value of <code>NextToken</code> from the truncated response you just received.</p>
|
|
1438
1443
|
* @public
|
|
1439
1444
|
*/
|
|
1440
|
-
NextToken?: string;
|
|
1445
|
+
NextToken?: string | undefined;
|
|
1441
1446
|
/**
|
|
1442
1447
|
* <p>Use this parameter to specify the maximum number of items to return. When this value is present, Amazon Web Services Payment Cryptography does not return more than the specified number of items, but it might return fewer.</p>
|
|
1443
1448
|
* <p>This value is optional. If you include a value, it must be between 1 and 100, inclusive. If you do not include a value, it defaults to 50.</p>
|
|
1444
1449
|
* @public
|
|
1445
1450
|
*/
|
|
1446
|
-
MaxResults?: number;
|
|
1451
|
+
MaxResults?: number | undefined;
|
|
1447
1452
|
}
|
|
1448
1453
|
/**
|
|
1449
1454
|
* @public
|
|
@@ -1458,7 +1463,7 @@ export interface ListTagsForResourceOutput {
|
|
|
1458
1463
|
* <p>The token for the next set of results, or an empty or null value if there are no more results.</p>
|
|
1459
1464
|
* @public
|
|
1460
1465
|
*/
|
|
1461
|
-
NextToken?: string;
|
|
1466
|
+
NextToken?: string | undefined;
|
|
1462
1467
|
}
|
|
1463
1468
|
/**
|
|
1464
1469
|
* @public
|
|
@@ -1552,6 +1557,10 @@ export declare const GetParametersForImportOutputFilterSensitiveLog: (obj: GetPa
|
|
|
1552
1557
|
* @internal
|
|
1553
1558
|
*/
|
|
1554
1559
|
export declare const GetPublicKeyCertificateOutputFilterSensitiveLog: (obj: GetPublicKeyCertificateOutput) => any;
|
|
1560
|
+
/**
|
|
1561
|
+
* @internal
|
|
1562
|
+
*/
|
|
1563
|
+
export declare const ImportKeyCryptogramFilterSensitiveLog: (obj: ImportKeyCryptogram) => any;
|
|
1555
1564
|
/**
|
|
1556
1565
|
* @internal
|
|
1557
1566
|
*/
|
|
@@ -3,24 +3,24 @@ import { PaymentCryptographyServiceException as __BaseException } from "./Paymen
|
|
|
3
3
|
export declare class AccessDeniedException extends __BaseException {
|
|
4
4
|
readonly name: "AccessDeniedException";
|
|
5
5
|
readonly $fault: "client";
|
|
6
|
-
Message?: string;
|
|
6
|
+
Message?: string | undefined;
|
|
7
7
|
constructor(
|
|
8
8
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
11
|
export interface Alias {
|
|
12
12
|
AliasName: string | undefined;
|
|
13
|
-
KeyArn?: string;
|
|
13
|
+
KeyArn?: string | undefined;
|
|
14
14
|
}
|
|
15
15
|
export declare class ConflictException extends __BaseException {
|
|
16
16
|
readonly name: "ConflictException";
|
|
17
17
|
readonly $fault: "client";
|
|
18
|
-
Message?: string;
|
|
18
|
+
Message?: string | undefined;
|
|
19
19
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
20
20
|
}
|
|
21
21
|
export interface CreateAliasInput {
|
|
22
22
|
AliasName: string | undefined;
|
|
23
|
-
KeyArn?: string;
|
|
23
|
+
KeyArn?: string | undefined;
|
|
24
24
|
}
|
|
25
25
|
export interface CreateAliasOutput {
|
|
26
26
|
Alias: Alias | undefined;
|
|
@@ -28,7 +28,7 @@ export interface CreateAliasOutput {
|
|
|
28
28
|
export declare class InternalServerException extends __BaseException {
|
|
29
29
|
readonly name: "InternalServerException";
|
|
30
30
|
readonly $fault: "server";
|
|
31
|
-
Message?: string;
|
|
31
|
+
Message?: string | undefined;
|
|
32
32
|
constructor(
|
|
33
33
|
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
34
34
|
);
|
|
@@ -36,7 +36,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
36
36
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
37
37
|
readonly name: "ResourceNotFoundException";
|
|
38
38
|
readonly $fault: "client";
|
|
39
|
-
ResourceId?: string;
|
|
39
|
+
ResourceId?: string | undefined;
|
|
40
40
|
constructor(
|
|
41
41
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
42
42
|
);
|
|
@@ -44,7 +44,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
44
44
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
45
45
|
readonly name: "ServiceQuotaExceededException";
|
|
46
46
|
readonly $fault: "client";
|
|
47
|
-
Message?: string;
|
|
47
|
+
Message?: string | undefined;
|
|
48
48
|
constructor(
|
|
49
49
|
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
50
50
|
);
|
|
@@ -52,7 +52,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
52
52
|
export declare class ServiceUnavailableException extends __BaseException {
|
|
53
53
|
readonly name: "ServiceUnavailableException";
|
|
54
54
|
readonly $fault: "server";
|
|
55
|
-
Message?: string;
|
|
55
|
+
Message?: string | undefined;
|
|
56
56
|
constructor(
|
|
57
57
|
opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
|
|
58
58
|
);
|
|
@@ -60,7 +60,7 @@ export declare class ServiceUnavailableException extends __BaseException {
|
|
|
60
60
|
export declare class ThrottlingException extends __BaseException {
|
|
61
61
|
readonly name: "ThrottlingException";
|
|
62
62
|
readonly $fault: "client";
|
|
63
|
-
Message?: string;
|
|
63
|
+
Message?: string | undefined;
|
|
64
64
|
constructor(
|
|
65
65
|
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
66
66
|
);
|
|
@@ -68,7 +68,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
68
68
|
export declare class ValidationException extends __BaseException {
|
|
69
69
|
readonly name: "ValidationException";
|
|
70
70
|
readonly $fault: "client";
|
|
71
|
-
Message?: string;
|
|
71
|
+
Message?: string | undefined;
|
|
72
72
|
constructor(
|
|
73
73
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
74
74
|
);
|
|
@@ -84,16 +84,17 @@ export interface GetAliasOutput {
|
|
|
84
84
|
Alias: Alias | undefined;
|
|
85
85
|
}
|
|
86
86
|
export interface ListAliasesInput {
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
KeyArn?: string | undefined;
|
|
88
|
+
NextToken?: string | undefined;
|
|
89
|
+
MaxResults?: number | undefined;
|
|
89
90
|
}
|
|
90
91
|
export interface ListAliasesOutput {
|
|
91
92
|
Aliases: Alias[] | undefined;
|
|
92
|
-
NextToken?: string;
|
|
93
|
+
NextToken?: string | undefined;
|
|
93
94
|
}
|
|
94
95
|
export interface UpdateAliasInput {
|
|
95
96
|
AliasName: string | undefined;
|
|
96
|
-
KeyArn?: string;
|
|
97
|
+
KeyArn?: string | undefined;
|
|
97
98
|
}
|
|
98
99
|
export interface UpdateAliasOutput {
|
|
99
100
|
Alias: Alias | undefined;
|
|
@@ -119,15 +120,15 @@ export declare const KeyClass: {
|
|
|
119
120
|
};
|
|
120
121
|
export type KeyClass = (typeof KeyClass)[keyof typeof KeyClass];
|
|
121
122
|
export interface KeyModesOfUse {
|
|
122
|
-
Encrypt?: boolean;
|
|
123
|
-
Decrypt?: boolean;
|
|
124
|
-
Wrap?: boolean;
|
|
125
|
-
Unwrap?: boolean;
|
|
126
|
-
Generate?: boolean;
|
|
127
|
-
Sign?: boolean;
|
|
128
|
-
Verify?: boolean;
|
|
129
|
-
DeriveKey?: boolean;
|
|
130
|
-
NoRestrictions?: boolean;
|
|
123
|
+
Encrypt?: boolean | undefined;
|
|
124
|
+
Decrypt?: boolean | undefined;
|
|
125
|
+
Wrap?: boolean | undefined;
|
|
126
|
+
Unwrap?: boolean | undefined;
|
|
127
|
+
Generate?: boolean | undefined;
|
|
128
|
+
Sign?: boolean | undefined;
|
|
129
|
+
Verify?: boolean | undefined;
|
|
130
|
+
DeriveKey?: boolean | undefined;
|
|
131
|
+
NoRestrictions?: boolean | undefined;
|
|
131
132
|
}
|
|
132
133
|
export declare const KeyUsage: {
|
|
133
134
|
readonly TR31_B0_BASE_DERIVATION_KEY: "TR31_B0_BASE_DERIVATION_KEY";
|
|
@@ -169,14 +170,14 @@ export type KeyCheckValueAlgorithm =
|
|
|
169
170
|
(typeof KeyCheckValueAlgorithm)[keyof typeof KeyCheckValueAlgorithm];
|
|
170
171
|
export interface Tag {
|
|
171
172
|
Key: string | undefined;
|
|
172
|
-
Value
|
|
173
|
+
Value: string | undefined;
|
|
173
174
|
}
|
|
174
175
|
export interface CreateKeyInput {
|
|
175
176
|
KeyAttributes: KeyAttributes | undefined;
|
|
176
|
-
KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm;
|
|
177
|
+
KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm | undefined;
|
|
177
178
|
Exportable: boolean | undefined;
|
|
178
|
-
Enabled?: boolean;
|
|
179
|
-
Tags?: Tag[];
|
|
179
|
+
Enabled?: boolean | undefined;
|
|
180
|
+
Tags?: Tag[] | undefined;
|
|
180
181
|
}
|
|
181
182
|
export declare const KeyOrigin: {
|
|
182
183
|
readonly AWS_PAYMENT_CRYPTOGRAPHY: "AWS_PAYMENT_CRYPTOGRAPHY";
|
|
@@ -200,17 +201,17 @@ export interface Key {
|
|
|
200
201
|
KeyState: KeyState | undefined;
|
|
201
202
|
KeyOrigin: KeyOrigin | undefined;
|
|
202
203
|
CreateTimestamp: Date | undefined;
|
|
203
|
-
UsageStartTimestamp?: Date;
|
|
204
|
-
UsageStopTimestamp?: Date;
|
|
205
|
-
DeletePendingTimestamp?: Date;
|
|
206
|
-
DeleteTimestamp?: Date;
|
|
204
|
+
UsageStartTimestamp?: Date | undefined;
|
|
205
|
+
UsageStopTimestamp?: Date | undefined;
|
|
206
|
+
DeletePendingTimestamp?: Date | undefined;
|
|
207
|
+
DeleteTimestamp?: Date | undefined;
|
|
207
208
|
}
|
|
208
209
|
export interface CreateKeyOutput {
|
|
209
210
|
Key: Key | undefined;
|
|
210
211
|
}
|
|
211
212
|
export interface DeleteKeyInput {
|
|
212
213
|
KeyIdentifier: string | undefined;
|
|
213
|
-
DeleteKeyInDays?: number;
|
|
214
|
+
DeleteKeyInDays?: number | undefined;
|
|
214
215
|
}
|
|
215
216
|
export interface DeleteKeyOutput {
|
|
216
217
|
Key: Key | undefined;
|
|
@@ -219,8 +220,8 @@ export interface ExportDukptInitialKey {
|
|
|
219
220
|
KeySerialNumber: string | undefined;
|
|
220
221
|
}
|
|
221
222
|
export interface ExportAttributes {
|
|
222
|
-
ExportDukptInitialKey?: ExportDukptInitialKey;
|
|
223
|
-
KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm;
|
|
223
|
+
ExportDukptInitialKey?: ExportDukptInitialKey | undefined;
|
|
224
|
+
KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm | undefined;
|
|
224
225
|
}
|
|
225
226
|
export declare const WrappingKeySpec: {
|
|
226
227
|
readonly RSA_OAEP_SHA_256: "RSA_OAEP_SHA_256";
|
|
@@ -231,7 +232,7 @@ export type WrappingKeySpec =
|
|
|
231
232
|
export interface ExportKeyCryptogram {
|
|
232
233
|
CertificateAuthorityPublicKeyIdentifier: string | undefined;
|
|
233
234
|
WrappingKeyCertificate: string | undefined;
|
|
234
|
-
WrappingSpec?: WrappingKeySpec;
|
|
235
|
+
WrappingSpec?: WrappingKeySpec | undefined;
|
|
235
236
|
}
|
|
236
237
|
export declare const KeyExportability: {
|
|
237
238
|
readonly EXPORTABLE: "EXPORTABLE";
|
|
@@ -241,14 +242,14 @@ export declare const KeyExportability: {
|
|
|
241
242
|
export type KeyExportability =
|
|
242
243
|
(typeof KeyExportability)[keyof typeof KeyExportability];
|
|
243
244
|
export interface KeyBlockHeaders {
|
|
244
|
-
KeyModesOfUse?: KeyModesOfUse;
|
|
245
|
-
KeyExportability?: KeyExportability;
|
|
246
|
-
KeyVersion?: string;
|
|
247
|
-
OptionalBlocks?: Record<string, string
|
|
245
|
+
KeyModesOfUse?: KeyModesOfUse | undefined;
|
|
246
|
+
KeyExportability?: KeyExportability | undefined;
|
|
247
|
+
KeyVersion?: string | undefined;
|
|
248
|
+
OptionalBlocks?: Record<string, string> | undefined;
|
|
248
249
|
}
|
|
249
250
|
export interface ExportTr31KeyBlock {
|
|
250
251
|
WrappingKeyIdentifier: string | undefined;
|
|
251
|
-
KeyBlockHeaders?: KeyBlockHeaders;
|
|
252
|
+
KeyBlockHeaders?: KeyBlockHeaders | undefined;
|
|
252
253
|
}
|
|
253
254
|
export declare const Tr34KeyBlockFormat: {
|
|
254
255
|
readonly X9_TR34_2012: "X9_TR34_2012";
|
|
@@ -260,8 +261,8 @@ export interface ExportTr34KeyBlock {
|
|
|
260
261
|
WrappingKeyCertificate: string | undefined;
|
|
261
262
|
ExportToken: string | undefined;
|
|
262
263
|
KeyBlockFormat: Tr34KeyBlockFormat | undefined;
|
|
263
|
-
RandomNonce?: string;
|
|
264
|
-
KeyBlockHeaders?: KeyBlockHeaders;
|
|
264
|
+
RandomNonce?: string | undefined;
|
|
265
|
+
KeyBlockHeaders?: KeyBlockHeaders | undefined;
|
|
265
266
|
}
|
|
266
267
|
export type ExportKeyMaterial =
|
|
267
268
|
| ExportKeyMaterial.KeyCryptogramMember
|
|
@@ -304,7 +305,7 @@ export declare namespace ExportKeyMaterial {
|
|
|
304
305
|
export interface ExportKeyInput {
|
|
305
306
|
KeyMaterial: ExportKeyMaterial | undefined;
|
|
306
307
|
ExportKeyIdentifier: string | undefined;
|
|
307
|
-
ExportAttributes?: ExportAttributes;
|
|
308
|
+
ExportAttributes?: ExportAttributes | undefined;
|
|
308
309
|
}
|
|
309
310
|
export declare const WrappedKeyMaterialFormat: {
|
|
310
311
|
readonly KEY_CRYPTOGRAM: "KEY_CRYPTOGRAM";
|
|
@@ -317,11 +318,11 @@ export interface WrappedKey {
|
|
|
317
318
|
WrappingKeyArn: string | undefined;
|
|
318
319
|
WrappedKeyMaterialFormat: WrappedKeyMaterialFormat | undefined;
|
|
319
320
|
KeyMaterial: string | undefined;
|
|
320
|
-
KeyCheckValue?: string;
|
|
321
|
-
KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm;
|
|
321
|
+
KeyCheckValue?: string | undefined;
|
|
322
|
+
KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm | undefined;
|
|
322
323
|
}
|
|
323
324
|
export interface ExportKeyOutput {
|
|
324
|
-
WrappedKey?: WrappedKey;
|
|
325
|
+
WrappedKey?: WrappedKey | undefined;
|
|
325
326
|
}
|
|
326
327
|
export interface GetKeyInput {
|
|
327
328
|
KeyIdentifier: string | undefined;
|
|
@@ -372,7 +373,7 @@ export interface ImportKeyCryptogram {
|
|
|
372
373
|
Exportable: boolean | undefined;
|
|
373
374
|
WrappedKeyCryptogram: string | undefined;
|
|
374
375
|
ImportToken: string | undefined;
|
|
375
|
-
WrappingSpec?: WrappingKeySpec;
|
|
376
|
+
WrappingSpec?: WrappingKeySpec | undefined;
|
|
376
377
|
}
|
|
377
378
|
export interface RootCertificatePublicKey {
|
|
378
379
|
KeyAttributes: KeyAttributes | undefined;
|
|
@@ -388,7 +389,7 @@ export interface ImportTr34KeyBlock {
|
|
|
388
389
|
ImportToken: string | undefined;
|
|
389
390
|
WrappedKeyBlock: string | undefined;
|
|
390
391
|
KeyBlockFormat: Tr34KeyBlockFormat | undefined;
|
|
391
|
-
RandomNonce?: string;
|
|
392
|
+
RandomNonce?: string | undefined;
|
|
392
393
|
}
|
|
393
394
|
export interface TrustedCertificatePublicKey {
|
|
394
395
|
KeyAttributes: KeyAttributes | undefined;
|
|
@@ -463,17 +464,17 @@ export declare namespace ImportKeyMaterial {
|
|
|
463
464
|
}
|
|
464
465
|
export interface ImportKeyInput {
|
|
465
466
|
KeyMaterial: ImportKeyMaterial | undefined;
|
|
466
|
-
KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm;
|
|
467
|
-
Enabled?: boolean;
|
|
468
|
-
Tags?: Tag[];
|
|
467
|
+
KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm | undefined;
|
|
468
|
+
Enabled?: boolean | undefined;
|
|
469
|
+
Tags?: Tag[] | undefined;
|
|
469
470
|
}
|
|
470
471
|
export interface ImportKeyOutput {
|
|
471
472
|
Key: Key | undefined;
|
|
472
473
|
}
|
|
473
474
|
export interface ListKeysInput {
|
|
474
|
-
KeyState?: KeyState;
|
|
475
|
-
NextToken?: string;
|
|
476
|
-
MaxResults?: number;
|
|
475
|
+
KeyState?: KeyState | undefined;
|
|
476
|
+
NextToken?: string | undefined;
|
|
477
|
+
MaxResults?: number | undefined;
|
|
477
478
|
}
|
|
478
479
|
export interface KeySummary {
|
|
479
480
|
KeyArn: string | undefined;
|
|
@@ -485,7 +486,7 @@ export interface KeySummary {
|
|
|
485
486
|
}
|
|
486
487
|
export interface ListKeysOutput {
|
|
487
488
|
Keys: KeySummary[] | undefined;
|
|
488
|
-
NextToken?: string;
|
|
489
|
+
NextToken?: string | undefined;
|
|
489
490
|
}
|
|
490
491
|
export interface RestoreKeyInput {
|
|
491
492
|
KeyIdentifier: string | undefined;
|
|
@@ -507,12 +508,12 @@ export interface StopKeyUsageOutput {
|
|
|
507
508
|
}
|
|
508
509
|
export interface ListTagsForResourceInput {
|
|
509
510
|
ResourceArn: string | undefined;
|
|
510
|
-
NextToken?: string;
|
|
511
|
-
MaxResults?: number;
|
|
511
|
+
NextToken?: string | undefined;
|
|
512
|
+
MaxResults?: number | undefined;
|
|
512
513
|
}
|
|
513
514
|
export interface ListTagsForResourceOutput {
|
|
514
515
|
Tags: Tag[] | undefined;
|
|
515
|
-
NextToken?: string;
|
|
516
|
+
NextToken?: string | undefined;
|
|
516
517
|
}
|
|
517
518
|
export interface TagResourceInput {
|
|
518
519
|
ResourceArn: string | undefined;
|
|
@@ -555,6 +556,9 @@ export declare const GetParametersForImportOutputFilterSensitiveLog: (
|
|
|
555
556
|
export declare const GetPublicKeyCertificateOutputFilterSensitiveLog: (
|
|
556
557
|
obj: GetPublicKeyCertificateOutput
|
|
557
558
|
) => any;
|
|
559
|
+
export declare const ImportKeyCryptogramFilterSensitiveLog: (
|
|
560
|
+
obj: ImportKeyCryptogram
|
|
561
|
+
) => any;
|
|
558
562
|
export declare const RootCertificatePublicKeyFilterSensitiveLog: (
|
|
559
563
|
obj: RootCertificatePublicKey
|
|
560
564
|
) => any;
|
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.
|
|
4
|
+
"version": "3.691.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,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.691.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.691.0",
|
|
25
|
+
"@aws-sdk/core": "3.691.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.691.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.686.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.686.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.686.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.691.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.686.0",
|
|
32
32
|
"@aws-sdk/types": "3.686.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.686.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.686.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.691.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.10",
|
|
37
37
|
"@smithy/core": "^2.5.1",
|
|
38
38
|
"@smithy/fetch-http-handler": "^4.0.0",
|