@aws-sdk/client-payment-cryptography 3.690.0 → 3.692.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.
@@ -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
  */
@@ -198,18 +198,18 @@ export interface ListAliasesInput {
198
198
  * <p>The <code>keyARN</code> for which you want to list all aliases.</p>
199
199
  * @public
200
200
  */
201
- KeyArn?: string;
201
+ KeyArn?: string | undefined;
202
202
  /**
203
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>
204
204
  * @public
205
205
  */
206
- NextToken?: string;
206
+ NextToken?: string | undefined;
207
207
  /**
208
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>
209
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>
210
210
  * @public
211
211
  */
212
- MaxResults?: number;
212
+ MaxResults?: number | undefined;
213
213
  }
214
214
  /**
215
215
  * @public
@@ -224,7 +224,7 @@ export interface ListAliasesOutput {
224
224
  * <p>The token for the next set of results, or an empty or null value if there are no more results.</p>
225
225
  * @public
226
226
  */
227
- NextToken?: string;
227
+ NextToken?: string | undefined;
228
228
  }
229
229
  /**
230
230
  * @public
@@ -239,7 +239,7 @@ export interface UpdateAliasInput {
239
239
  * <p>The <code>KeyARN</code> for the key that you are updating or removing from the alias.</p>
240
240
  * @public
241
241
  */
242
- KeyArn?: string;
242
+ KeyArn?: string | undefined;
243
243
  }
244
244
  /**
245
245
  * @public
@@ -294,47 +294,47 @@ export interface KeyModesOfUse {
294
294
  * <p>Specifies whether an Amazon Web Services Payment Cryptography key can be used to encrypt data.</p>
295
295
  * @public
296
296
  */
297
- Encrypt?: boolean;
297
+ Encrypt?: boolean | undefined;
298
298
  /**
299
299
  * <p>Specifies whether an Amazon Web Services Payment Cryptography key can be used to decrypt data.</p>
300
300
  * @public
301
301
  */
302
- Decrypt?: boolean;
302
+ Decrypt?: boolean | undefined;
303
303
  /**
304
304
  * <p>Specifies whether an Amazon Web Services Payment Cryptography key can be used to wrap other keys.</p>
305
305
  * @public
306
306
  */
307
- Wrap?: boolean;
307
+ Wrap?: boolean | undefined;
308
308
  /**
309
309
  * <p>Specifies whether an Amazon Web Services Payment Cryptography key can be used to unwrap other keys.</p>
310
310
  * @public
311
311
  */
312
- Unwrap?: boolean;
312
+ Unwrap?: boolean | undefined;
313
313
  /**
314
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>
315
315
  * @public
316
316
  */
317
- Generate?: boolean;
317
+ Generate?: boolean | undefined;
318
318
  /**
319
319
  * <p>Specifies whether an Amazon Web Services Payment Cryptography key can be used for signing.</p>
320
320
  * @public
321
321
  */
322
- Sign?: boolean;
322
+ Sign?: boolean | undefined;
323
323
  /**
324
324
  * <p>Specifies whether an Amazon Web Services Payment Cryptography key can be used to verify signatures.</p>
325
325
  * @public
326
326
  */
327
- Verify?: boolean;
327
+ Verify?: boolean | undefined;
328
328
  /**
329
329
  * <p>Specifies whether an Amazon Web Services Payment Cryptography key can be used to derive new keys.</p>
330
330
  * @public
331
331
  */
332
- DeriveKey?: boolean;
332
+ DeriveKey?: boolean | undefined;
333
333
  /**
334
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>
335
335
  * @public
336
336
  */
337
- NoRestrictions?: boolean;
337
+ NoRestrictions?: boolean | undefined;
338
338
  }
339
339
  /**
340
340
  * @public
@@ -438,7 +438,7 @@ export interface CreateKeyInput {
438
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>
439
439
  * @public
440
440
  */
441
- KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm;
441
+ KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm | undefined;
442
442
  /**
443
443
  * <p>Specifies whether the key is exportable from the service.</p>
444
444
  * @public
@@ -448,7 +448,7 @@ export interface CreateKeyInput {
448
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>
449
449
  * @public
450
450
  */
451
- Enabled?: boolean;
451
+ Enabled?: boolean | undefined;
452
452
  /**
453
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>
454
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>
@@ -460,7 +460,7 @@ export interface CreateKeyInput {
460
460
  * </note>
461
461
  * @public
462
462
  */
463
- Tags?: Tag[];
463
+ Tags?: Tag[] | undefined;
464
464
  }
465
465
  /**
466
466
  * @public
@@ -543,22 +543,22 @@ export interface Key {
543
543
  * <p>The date and time after which Amazon Web Services Payment Cryptography will start using the key material for cryptographic operations.</p>
544
544
  * @public
545
545
  */
546
- UsageStartTimestamp?: Date;
546
+ UsageStartTimestamp?: Date | undefined;
547
547
  /**
548
548
  * <p>The date and time after which Amazon Web Services Payment Cryptography will stop using the key material for cryptographic operations.</p>
549
549
  * @public
550
550
  */
551
- UsageStopTimestamp?: Date;
551
+ UsageStopTimestamp?: Date | undefined;
552
552
  /**
553
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>
554
554
  * @public
555
555
  */
556
- DeletePendingTimestamp?: Date;
556
+ DeletePendingTimestamp?: Date | undefined;
557
557
  /**
558
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>
559
559
  * @public
560
560
  */
561
- DeleteTimestamp?: Date;
561
+ DeleteTimestamp?: Date | undefined;
562
562
  }
563
563
  /**
564
564
  * @public
@@ -583,7 +583,7 @@ export interface DeleteKeyInput {
583
583
  * <p>The waiting period for key deletion. The default value is seven days.</p>
584
584
  * @public
585
585
  */
586
- DeleteKeyInDays?: number;
586
+ DeleteKeyInDays?: number | undefined;
587
587
  }
588
588
  /**
589
589
  * @public
@@ -616,13 +616,13 @@ export interface ExportAttributes {
616
616
  * <p>Parameter information for IPEK export.</p>
617
617
  * @public
618
618
  */
619
- ExportDukptInitialKey?: ExportDukptInitialKey;
619
+ ExportDukptInitialKey?: ExportDukptInitialKey | undefined;
620
620
  /**
621
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>
622
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>
623
623
  * @public
624
624
  */
625
- KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm;
625
+ KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm | undefined;
626
626
  }
627
627
  /**
628
628
  * @public
@@ -655,7 +655,7 @@ export interface ExportKeyCryptogram {
655
655
  * <p>The wrapping spec for the key under export.</p>
656
656
  * @public
657
657
  */
658
- WrappingSpec?: WrappingKeySpec;
658
+ WrappingSpec?: WrappingKeySpec | undefined;
659
659
  }
660
660
  /**
661
661
  * @public
@@ -679,24 +679,24 @@ export interface KeyBlockHeaders {
679
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>
680
680
  * @public
681
681
  */
682
- KeyModesOfUse?: KeyModesOfUse;
682
+ KeyModesOfUse?: KeyModesOfUse | undefined;
683
683
  /**
684
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>
685
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>
686
686
  * @public
687
687
  */
688
- KeyExportability?: KeyExportability;
688
+ KeyExportability?: KeyExportability | undefined;
689
689
  /**
690
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>
691
691
  * @public
692
692
  */
693
- KeyVersion?: string;
693
+ KeyVersion?: string | undefined;
694
694
  /**
695
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>
696
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>
697
697
  * @public
698
698
  */
699
- OptionalBlocks?: Record<string, string>;
699
+ OptionalBlocks?: Record<string, string> | undefined;
700
700
  }
701
701
  /**
702
702
  * <p>Parameter information for key material export using symmetric TR-31 key exchange method.</p>
@@ -712,7 +712,7 @@ export interface ExportTr31KeyBlock {
712
712
  * <p>Optional metadata for export associated with the key material. This data is signed but transmitted in clear text.</p>
713
713
  * @public
714
714
  */
715
- KeyBlockHeaders?: KeyBlockHeaders;
715
+ KeyBlockHeaders?: KeyBlockHeaders | undefined;
716
716
  }
717
717
  /**
718
718
  * @public
@@ -754,12 +754,12 @@ export interface ExportTr34KeyBlock {
754
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>
755
755
  * @public
756
756
  */
757
- RandomNonce?: string;
757
+ RandomNonce?: string | undefined;
758
758
  /**
759
759
  * <p>Optional metadata for export associated with the key material. This data is signed but transmitted in clear text.</p>
760
760
  * @public
761
761
  */
762
- KeyBlockHeaders?: KeyBlockHeaders;
762
+ KeyBlockHeaders?: KeyBlockHeaders | undefined;
763
763
  }
764
764
  /**
765
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>
@@ -835,7 +835,7 @@ export interface ExportKeyInput {
835
835
  * <p>The attributes for IPEK generation during export.</p>
836
836
  * @public
837
837
  */
838
- ExportAttributes?: ExportAttributes;
838
+ ExportAttributes?: ExportAttributes | undefined;
839
839
  }
840
840
  /**
841
841
  * @public
@@ -874,13 +874,13 @@ export interface WrappedKey {
874
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>
875
875
  * @public
876
876
  */
877
- KeyCheckValue?: string;
877
+ KeyCheckValue?: string | undefined;
878
878
  /**
879
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>
880
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>
881
881
  * @public
882
882
  */
883
- KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm;
883
+ KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm | undefined;
884
884
  }
885
885
  /**
886
886
  * @public
@@ -890,7 +890,7 @@ export interface ExportKeyOutput {
890
890
  * <p>The key material under export as a TR-34 WrappedKeyBlock or a TR-31 WrappedKeyBlock. or a RSA WrappedKeyCryptogram.</p>
891
891
  * @public
892
892
  */
893
- WrappedKey?: WrappedKey;
893
+ WrappedKey?: WrappedKey | undefined;
894
894
  }
895
895
  /**
896
896
  * @public
@@ -1073,7 +1073,7 @@ export interface ImportKeyCryptogram {
1073
1073
  * <p>The wrapping spec for the wrapped key cryptogram.</p>
1074
1074
  * @public
1075
1075
  */
1076
- WrappingSpec?: WrappingKeySpec;
1076
+ WrappingSpec?: WrappingKeySpec | undefined;
1077
1077
  }
1078
1078
  /**
1079
1079
  * <p>Parameter information for root public key certificate import.</p>
@@ -1141,7 +1141,7 @@ export interface ImportTr34KeyBlock {
1141
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>
1142
1142
  * @public
1143
1143
  */
1144
- RandomNonce?: string;
1144
+ RandomNonce?: string | undefined;
1145
1145
  }
1146
1146
  /**
1147
1147
  * <p>Parameter information for trusted public key certificate import.</p>
@@ -1268,12 +1268,12 @@ export interface ImportKeyInput {
1268
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>
1269
1269
  * @public
1270
1270
  */
1271
- KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm;
1271
+ KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm | undefined;
1272
1272
  /**
1273
1273
  * <p>Specifies whether import key is enabled.</p>
1274
1274
  * @public
1275
1275
  */
1276
- Enabled?: boolean;
1276
+ Enabled?: boolean | undefined;
1277
1277
  /**
1278
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>
1279
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>
@@ -1285,7 +1285,7 @@ export interface ImportKeyInput {
1285
1285
  * </note>
1286
1286
  * @public
1287
1287
  */
1288
- Tags?: Tag[];
1288
+ Tags?: Tag[] | undefined;
1289
1289
  }
1290
1290
  /**
1291
1291
  * @public
@@ -1305,18 +1305,18 @@ export interface ListKeysInput {
1305
1305
  * <p>The key state of the keys you want to list.</p>
1306
1306
  * @public
1307
1307
  */
1308
- KeyState?: KeyState;
1308
+ KeyState?: KeyState | undefined;
1309
1309
  /**
1310
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>
1311
1311
  * @public
1312
1312
  */
1313
- NextToken?: string;
1313
+ NextToken?: string | undefined;
1314
1314
  /**
1315
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>
1316
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>
1317
1317
  * @public
1318
1318
  */
1319
- MaxResults?: number;
1319
+ MaxResults?: number | undefined;
1320
1320
  }
1321
1321
  /**
1322
1322
  * <p>Metadata about an Amazon Web Services Payment Cryptography key.</p>
@@ -1367,7 +1367,7 @@ export interface ListKeysOutput {
1367
1367
  * <p>The token for the next set of results, or an empty or null value if there are no more results.</p>
1368
1368
  * @public
1369
1369
  */
1370
- NextToken?: string;
1370
+ NextToken?: string | undefined;
1371
1371
  }
1372
1372
  /**
1373
1373
  * @public
@@ -1442,13 +1442,13 @@ export interface ListTagsForResourceInput {
1442
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>
1443
1443
  * @public
1444
1444
  */
1445
- NextToken?: string;
1445
+ NextToken?: string | undefined;
1446
1446
  /**
1447
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>
1448
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>
1449
1449
  * @public
1450
1450
  */
1451
- MaxResults?: number;
1451
+ MaxResults?: number | undefined;
1452
1452
  }
1453
1453
  /**
1454
1454
  * @public
@@ -1463,7 +1463,7 @@ export interface ListTagsForResourceOutput {
1463
1463
  * <p>The token for the next set of results, or an empty or null value if there are no more results.</p>
1464
1464
  * @public
1465
1465
  */
1466
- NextToken?: string;
1466
+ NextToken?: string | undefined;
1467
1467
  }
1468
1468
  /**
1469
1469
  * @public
@@ -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,17 +84,17 @@ export interface GetAliasOutput {
84
84
  Alias: Alias | undefined;
85
85
  }
86
86
  export interface ListAliasesInput {
87
- KeyArn?: string;
88
- NextToken?: string;
89
- MaxResults?: number;
87
+ KeyArn?: string | undefined;
88
+ NextToken?: string | undefined;
89
+ MaxResults?: number | undefined;
90
90
  }
91
91
  export interface ListAliasesOutput {
92
92
  Aliases: Alias[] | undefined;
93
- NextToken?: string;
93
+ NextToken?: string | undefined;
94
94
  }
95
95
  export interface UpdateAliasInput {
96
96
  AliasName: string | undefined;
97
- KeyArn?: string;
97
+ KeyArn?: string | undefined;
98
98
  }
99
99
  export interface UpdateAliasOutput {
100
100
  Alias: Alias | undefined;
@@ -120,15 +120,15 @@ export declare const KeyClass: {
120
120
  };
121
121
  export type KeyClass = (typeof KeyClass)[keyof typeof KeyClass];
122
122
  export interface KeyModesOfUse {
123
- Encrypt?: boolean;
124
- Decrypt?: boolean;
125
- Wrap?: boolean;
126
- Unwrap?: boolean;
127
- Generate?: boolean;
128
- Sign?: boolean;
129
- Verify?: boolean;
130
- DeriveKey?: boolean;
131
- 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;
132
132
  }
133
133
  export declare const KeyUsage: {
134
134
  readonly TR31_B0_BASE_DERIVATION_KEY: "TR31_B0_BASE_DERIVATION_KEY";
@@ -174,10 +174,10 @@ export interface Tag {
174
174
  }
175
175
  export interface CreateKeyInput {
176
176
  KeyAttributes: KeyAttributes | undefined;
177
- KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm;
177
+ KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm | undefined;
178
178
  Exportable: boolean | undefined;
179
- Enabled?: boolean;
180
- Tags?: Tag[];
179
+ Enabled?: boolean | undefined;
180
+ Tags?: Tag[] | undefined;
181
181
  }
182
182
  export declare const KeyOrigin: {
183
183
  readonly AWS_PAYMENT_CRYPTOGRAPHY: "AWS_PAYMENT_CRYPTOGRAPHY";
@@ -201,17 +201,17 @@ export interface Key {
201
201
  KeyState: KeyState | undefined;
202
202
  KeyOrigin: KeyOrigin | undefined;
203
203
  CreateTimestamp: Date | undefined;
204
- UsageStartTimestamp?: Date;
205
- UsageStopTimestamp?: Date;
206
- DeletePendingTimestamp?: Date;
207
- DeleteTimestamp?: Date;
204
+ UsageStartTimestamp?: Date | undefined;
205
+ UsageStopTimestamp?: Date | undefined;
206
+ DeletePendingTimestamp?: Date | undefined;
207
+ DeleteTimestamp?: Date | undefined;
208
208
  }
209
209
  export interface CreateKeyOutput {
210
210
  Key: Key | undefined;
211
211
  }
212
212
  export interface DeleteKeyInput {
213
213
  KeyIdentifier: string | undefined;
214
- DeleteKeyInDays?: number;
214
+ DeleteKeyInDays?: number | undefined;
215
215
  }
216
216
  export interface DeleteKeyOutput {
217
217
  Key: Key | undefined;
@@ -220,8 +220,8 @@ export interface ExportDukptInitialKey {
220
220
  KeySerialNumber: string | undefined;
221
221
  }
222
222
  export interface ExportAttributes {
223
- ExportDukptInitialKey?: ExportDukptInitialKey;
224
- KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm;
223
+ ExportDukptInitialKey?: ExportDukptInitialKey | undefined;
224
+ KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm | undefined;
225
225
  }
226
226
  export declare const WrappingKeySpec: {
227
227
  readonly RSA_OAEP_SHA_256: "RSA_OAEP_SHA_256";
@@ -232,7 +232,7 @@ export type WrappingKeySpec =
232
232
  export interface ExportKeyCryptogram {
233
233
  CertificateAuthorityPublicKeyIdentifier: string | undefined;
234
234
  WrappingKeyCertificate: string | undefined;
235
- WrappingSpec?: WrappingKeySpec;
235
+ WrappingSpec?: WrappingKeySpec | undefined;
236
236
  }
237
237
  export declare const KeyExportability: {
238
238
  readonly EXPORTABLE: "EXPORTABLE";
@@ -242,14 +242,14 @@ export declare const KeyExportability: {
242
242
  export type KeyExportability =
243
243
  (typeof KeyExportability)[keyof typeof KeyExportability];
244
244
  export interface KeyBlockHeaders {
245
- KeyModesOfUse?: KeyModesOfUse;
246
- KeyExportability?: KeyExportability;
247
- KeyVersion?: string;
248
- OptionalBlocks?: Record<string, string>;
245
+ KeyModesOfUse?: KeyModesOfUse | undefined;
246
+ KeyExportability?: KeyExportability | undefined;
247
+ KeyVersion?: string | undefined;
248
+ OptionalBlocks?: Record<string, string> | undefined;
249
249
  }
250
250
  export interface ExportTr31KeyBlock {
251
251
  WrappingKeyIdentifier: string | undefined;
252
- KeyBlockHeaders?: KeyBlockHeaders;
252
+ KeyBlockHeaders?: KeyBlockHeaders | undefined;
253
253
  }
254
254
  export declare const Tr34KeyBlockFormat: {
255
255
  readonly X9_TR34_2012: "X9_TR34_2012";
@@ -261,8 +261,8 @@ export interface ExportTr34KeyBlock {
261
261
  WrappingKeyCertificate: string | undefined;
262
262
  ExportToken: string | undefined;
263
263
  KeyBlockFormat: Tr34KeyBlockFormat | undefined;
264
- RandomNonce?: string;
265
- KeyBlockHeaders?: KeyBlockHeaders;
264
+ RandomNonce?: string | undefined;
265
+ KeyBlockHeaders?: KeyBlockHeaders | undefined;
266
266
  }
267
267
  export type ExportKeyMaterial =
268
268
  | ExportKeyMaterial.KeyCryptogramMember
@@ -305,7 +305,7 @@ export declare namespace ExportKeyMaterial {
305
305
  export interface ExportKeyInput {
306
306
  KeyMaterial: ExportKeyMaterial | undefined;
307
307
  ExportKeyIdentifier: string | undefined;
308
- ExportAttributes?: ExportAttributes;
308
+ ExportAttributes?: ExportAttributes | undefined;
309
309
  }
310
310
  export declare const WrappedKeyMaterialFormat: {
311
311
  readonly KEY_CRYPTOGRAM: "KEY_CRYPTOGRAM";
@@ -318,11 +318,11 @@ export interface WrappedKey {
318
318
  WrappingKeyArn: string | undefined;
319
319
  WrappedKeyMaterialFormat: WrappedKeyMaterialFormat | undefined;
320
320
  KeyMaterial: string | undefined;
321
- KeyCheckValue?: string;
322
- KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm;
321
+ KeyCheckValue?: string | undefined;
322
+ KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm | undefined;
323
323
  }
324
324
  export interface ExportKeyOutput {
325
- WrappedKey?: WrappedKey;
325
+ WrappedKey?: WrappedKey | undefined;
326
326
  }
327
327
  export interface GetKeyInput {
328
328
  KeyIdentifier: string | undefined;
@@ -373,7 +373,7 @@ export interface ImportKeyCryptogram {
373
373
  Exportable: boolean | undefined;
374
374
  WrappedKeyCryptogram: string | undefined;
375
375
  ImportToken: string | undefined;
376
- WrappingSpec?: WrappingKeySpec;
376
+ WrappingSpec?: WrappingKeySpec | undefined;
377
377
  }
378
378
  export interface RootCertificatePublicKey {
379
379
  KeyAttributes: KeyAttributes | undefined;
@@ -389,7 +389,7 @@ export interface ImportTr34KeyBlock {
389
389
  ImportToken: string | undefined;
390
390
  WrappedKeyBlock: string | undefined;
391
391
  KeyBlockFormat: Tr34KeyBlockFormat | undefined;
392
- RandomNonce?: string;
392
+ RandomNonce?: string | undefined;
393
393
  }
394
394
  export interface TrustedCertificatePublicKey {
395
395
  KeyAttributes: KeyAttributes | undefined;
@@ -464,17 +464,17 @@ export declare namespace ImportKeyMaterial {
464
464
  }
465
465
  export interface ImportKeyInput {
466
466
  KeyMaterial: ImportKeyMaterial | undefined;
467
- KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm;
468
- Enabled?: boolean;
469
- Tags?: Tag[];
467
+ KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm | undefined;
468
+ Enabled?: boolean | undefined;
469
+ Tags?: Tag[] | undefined;
470
470
  }
471
471
  export interface ImportKeyOutput {
472
472
  Key: Key | undefined;
473
473
  }
474
474
  export interface ListKeysInput {
475
- KeyState?: KeyState;
476
- NextToken?: string;
477
- MaxResults?: number;
475
+ KeyState?: KeyState | undefined;
476
+ NextToken?: string | undefined;
477
+ MaxResults?: number | undefined;
478
478
  }
479
479
  export interface KeySummary {
480
480
  KeyArn: string | undefined;
@@ -486,7 +486,7 @@ export interface KeySummary {
486
486
  }
487
487
  export interface ListKeysOutput {
488
488
  Keys: KeySummary[] | undefined;
489
- NextToken?: string;
489
+ NextToken?: string | undefined;
490
490
  }
491
491
  export interface RestoreKeyInput {
492
492
  KeyIdentifier: string | undefined;
@@ -508,12 +508,12 @@ export interface StopKeyUsageOutput {
508
508
  }
509
509
  export interface ListTagsForResourceInput {
510
510
  ResourceArn: string | undefined;
511
- NextToken?: string;
512
- MaxResults?: number;
511
+ NextToken?: string | undefined;
512
+ MaxResults?: number | undefined;
513
513
  }
514
514
  export interface ListTagsForResourceOutput {
515
515
  Tags: Tag[] | undefined;
516
- NextToken?: string;
516
+ NextToken?: string | undefined;
517
517
  }
518
518
  export interface TagResourceInput {
519
519
  ResourceArn: 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.690.0",
4
+ "version": "3.692.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,43 +20,43 @@
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.687.0",
24
- "@aws-sdk/client-sts": "3.687.0",
25
- "@aws-sdk/core": "3.686.0",
26
- "@aws-sdk/credential-provider-node": "3.687.0",
27
- "@aws-sdk/middleware-host-header": "3.686.0",
28
- "@aws-sdk/middleware-logger": "3.686.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.686.0",
30
- "@aws-sdk/middleware-user-agent": "3.687.0",
31
- "@aws-sdk/region-config-resolver": "3.686.0",
32
- "@aws-sdk/types": "3.686.0",
33
- "@aws-sdk/util-endpoints": "3.686.0",
34
- "@aws-sdk/util-user-agent-browser": "3.686.0",
35
- "@aws-sdk/util-user-agent-node": "3.687.0",
36
- "@smithy/config-resolver": "^3.0.10",
37
- "@smithy/core": "^2.5.1",
38
- "@smithy/fetch-http-handler": "^4.0.0",
39
- "@smithy/hash-node": "^3.0.8",
40
- "@smithy/invalid-dependency": "^3.0.8",
41
- "@smithy/middleware-content-length": "^3.0.10",
42
- "@smithy/middleware-endpoint": "^3.2.1",
43
- "@smithy/middleware-retry": "^3.0.25",
44
- "@smithy/middleware-serde": "^3.0.8",
45
- "@smithy/middleware-stack": "^3.0.8",
46
- "@smithy/node-config-provider": "^3.1.9",
47
- "@smithy/node-http-handler": "^3.2.5",
48
- "@smithy/protocol-http": "^4.1.5",
49
- "@smithy/smithy-client": "^3.4.2",
50
- "@smithy/types": "^3.6.0",
51
- "@smithy/url-parser": "^3.0.8",
23
+ "@aws-sdk/client-sso-oidc": "3.692.0",
24
+ "@aws-sdk/client-sts": "3.692.0",
25
+ "@aws-sdk/core": "3.692.0",
26
+ "@aws-sdk/credential-provider-node": "3.692.0",
27
+ "@aws-sdk/middleware-host-header": "3.692.0",
28
+ "@aws-sdk/middleware-logger": "3.692.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.692.0",
30
+ "@aws-sdk/middleware-user-agent": "3.692.0",
31
+ "@aws-sdk/region-config-resolver": "3.692.0",
32
+ "@aws-sdk/types": "3.692.0",
33
+ "@aws-sdk/util-endpoints": "3.692.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.692.0",
35
+ "@aws-sdk/util-user-agent-node": "3.692.0",
36
+ "@smithy/config-resolver": "^3.0.11",
37
+ "@smithy/core": "^2.5.2",
38
+ "@smithy/fetch-http-handler": "^4.1.0",
39
+ "@smithy/hash-node": "^3.0.9",
40
+ "@smithy/invalid-dependency": "^3.0.9",
41
+ "@smithy/middleware-content-length": "^3.0.11",
42
+ "@smithy/middleware-endpoint": "^3.2.2",
43
+ "@smithy/middleware-retry": "^3.0.26",
44
+ "@smithy/middleware-serde": "^3.0.9",
45
+ "@smithy/middleware-stack": "^3.0.9",
46
+ "@smithy/node-config-provider": "^3.1.10",
47
+ "@smithy/node-http-handler": "^3.3.0",
48
+ "@smithy/protocol-http": "^4.1.6",
49
+ "@smithy/smithy-client": "^3.4.3",
50
+ "@smithy/types": "^3.7.0",
51
+ "@smithy/url-parser": "^3.0.9",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.25",
56
- "@smithy/util-defaults-mode-node": "^3.0.25",
57
- "@smithy/util-endpoints": "^2.1.4",
58
- "@smithy/util-middleware": "^3.0.8",
59
- "@smithy/util-retry": "^3.0.8",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.26",
56
+ "@smithy/util-defaults-mode-node": "^3.0.26",
57
+ "@smithy/util-endpoints": "^2.1.5",
58
+ "@smithy/util-middleware": "^3.0.9",
59
+ "@smithy/util-retry": "^3.0.9",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
61
  "tslib": "^2.6.2"
62
62
  },