@aws-sdk/client-payment-cryptography 3.427.0 → 3.429.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.
@@ -279,18 +279,18 @@ export interface KeyAttributes {
279
279
  * @public
280
280
  * <p>The cryptographic usage of an Amazon Web Services Payment Cryptography key as defined in section A.5.2 of the TR-31 spec.</p>
281
281
  */
282
- KeyUsage: KeyUsage | string | undefined;
282
+ KeyUsage: KeyUsage | undefined;
283
283
  /**
284
284
  * @public
285
285
  * <p>The type of Amazon Web Services Payment Cryptography key to create, which determines the classification of the cryptographic method and whether Amazon Web Services Payment Cryptography key contains a symmetric key or an asymmetric key pair.</p>
286
286
  */
287
- KeyClass: KeyClass | string | undefined;
287
+ KeyClass: KeyClass | undefined;
288
288
  /**
289
289
  * @public
290
290
  * <p>The key algorithm to be use during creation of an Amazon Web Services Payment Cryptography key.</p>
291
291
  * <p>For symmetric keys, Amazon Web Services Payment Cryptography supports <code>AES</code> and <code>TDES</code> algorithms. For asymmetric keys, Amazon Web Services Payment Cryptography supports <code>RSA</code> and <code>ECC_NIST</code> algorithms.</p>
292
292
  */
293
- KeyAlgorithm: KeyAlgorithm | string | undefined;
293
+ KeyAlgorithm: KeyAlgorithm | undefined;
294
294
  /**
295
295
  * @public
296
296
  * <p>The list of cryptographic operations that you can perform using the key.</p>
@@ -339,7 +339,7 @@ export interface CreateKeyInput {
339
339
  * <p>The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV) for DES and AES keys.</p>
340
340
  * <p>For DES key, the KCV is computed by encrypting 8 bytes, each with value '00', with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES key, the KCV is computed by encrypting 8 bytes, each with value '01', with the key to be checked and retaining the 3 highest order bytes of the encrypted result.</p>
341
341
  */
342
- KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm | string;
342
+ KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm;
343
343
  /**
344
344
  * @public
345
345
  * <p>Specifies whether the key is exportable from the service.</p>
@@ -413,7 +413,7 @@ export interface Key {
413
413
  * @public
414
414
  * <p>The algorithm used for calculating key check value (KCV) for DES and AES keys. For a DES key, Amazon Web Services Payment Cryptography computes the KCV by encrypting 8 bytes, each with value '00', with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For an AES key, Amazon Web Services Payment Cryptography computes the KCV by encrypting 8 bytes, each with value '01', with the key to be checked and retaining the 3 highest order bytes of the encrypted result.</p>
415
415
  */
416
- KeyCheckValueAlgorithm: KeyCheckValueAlgorithm | string | undefined;
416
+ KeyCheckValueAlgorithm: KeyCheckValueAlgorithm | undefined;
417
417
  /**
418
418
  * @public
419
419
  * <p>Specifies whether the key is enabled. </p>
@@ -428,12 +428,12 @@ export interface Key {
428
428
  * @public
429
429
  * <p>The state of key that is being created or deleted.</p>
430
430
  */
431
- KeyState: KeyState | string | undefined;
431
+ KeyState: KeyState | undefined;
432
432
  /**
433
433
  * @public
434
434
  * <p>The source of the key material. For keys created within Amazon Web Services Payment Cryptography, the value is <code>AWS_PAYMENT_CRYPTOGRAPHY</code>. For keys imported into Amazon Web Services Payment Cryptography, the value is <code>EXTERNAL</code>.</p>
435
435
  */
436
- KeyOrigin: KeyOrigin | string | undefined;
436
+ KeyOrigin: KeyOrigin | undefined;
437
437
  /**
438
438
  * @public
439
439
  * <p>The date and time when the key was created.</p>
@@ -556,7 +556,7 @@ export interface ExportTr34KeyBlock {
556
556
  * @public
557
557
  * <p>The format of key block that Amazon Web Services Payment Cryptography will use during key export.</p>
558
558
  */
559
- KeyBlockFormat: Tr34KeyBlockFormat | string | undefined;
559
+ KeyBlockFormat: Tr34KeyBlockFormat | undefined;
560
560
  /**
561
561
  * @public
562
562
  * <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>
@@ -647,7 +647,7 @@ export interface WrappedKey {
647
647
  * @public
648
648
  * <p>The key block format of a wrapped key.</p>
649
649
  */
650
- WrappedKeyMaterialFormat: WrappedKeyMaterialFormat | string | undefined;
650
+ WrappedKeyMaterialFormat: WrappedKeyMaterialFormat | undefined;
651
651
  /**
652
652
  * @public
653
653
  * <p>Parameter information for generating a wrapped key using TR-31 or TR-34 standard.</p>
@@ -726,12 +726,12 @@ export interface GetParametersForExportInput {
726
726
  * @public
727
727
  * <p>The key block format type (for example, TR-34 or TR-31) to use during key material export. Export token is only required for a TR-34 key export, <code>TR34_KEY_BLOCK</code>. Export token is not required for TR-31 key export.</p>
728
728
  */
729
- KeyMaterialType: KeyMaterialType | string | undefined;
729
+ KeyMaterialType: KeyMaterialType | undefined;
730
730
  /**
731
731
  * @public
732
732
  * <p>The signing key algorithm to generate a signing key certificate. This certificate signs the wrapped key under export within the TR-34 key block cryptogram. <code>RSA_2048</code> is the only signing key algorithm allowed.</p>
733
733
  */
734
- SigningKeyAlgorithm: KeyAlgorithm | string | undefined;
734
+ SigningKeyAlgorithm: KeyAlgorithm | undefined;
735
735
  }
736
736
  /**
737
737
  * @public
@@ -751,7 +751,7 @@ export interface GetParametersForExportOutput {
751
751
  * @public
752
752
  * <p>The algorithm of the signing key certificate for use in TR-34 key block generation. <code>RSA_2048</code> is the only signing key algorithm allowed.</p>
753
753
  */
754
- SigningKeyAlgorithm: KeyAlgorithm | string | undefined;
754
+ SigningKeyAlgorithm: KeyAlgorithm | undefined;
755
755
  /**
756
756
  * @public
757
757
  * <p>The export token to initiate key export from Amazon Web Services Payment Cryptography. The export token expires after 7 days. You can use the same export token to export multiple keys from the same service account.</p>
@@ -771,12 +771,12 @@ export interface GetParametersForImportInput {
771
771
  * @public
772
772
  * <p>The key block format type such as TR-34 or TR-31 to use during key material import. Import token is only required for TR-34 key import <code>TR34_KEY_BLOCK</code>. Import token is not required for TR-31 key import.</p>
773
773
  */
774
- KeyMaterialType: KeyMaterialType | string | undefined;
774
+ KeyMaterialType: KeyMaterialType | undefined;
775
775
  /**
776
776
  * @public
777
777
  * <p>The wrapping key algorithm to generate a wrapping key certificate. This certificate wraps the key under import within the TR-34 key block cryptogram. <code>RSA_2048</code> is the only wrapping key algorithm allowed.</p>
778
778
  */
779
- WrappingKeyAlgorithm: KeyAlgorithm | string | undefined;
779
+ WrappingKeyAlgorithm: KeyAlgorithm | undefined;
780
780
  }
781
781
  /**
782
782
  * @public
@@ -796,7 +796,7 @@ export interface GetParametersForImportOutput {
796
796
  * @public
797
797
  * <p>The algorithm of the wrapping key for use within TR-34 key block. <code>RSA_2048</code> is the only wrapping key algorithm allowed.</p>
798
798
  */
799
- WrappingKeyAlgorithm: KeyAlgorithm | string | undefined;
799
+ WrappingKeyAlgorithm: KeyAlgorithm | undefined;
800
800
  /**
801
801
  * @public
802
802
  * <p>The import token to initiate key import into Amazon Web Services Payment Cryptography. The import token expires after 7 days. You can use the same import token to import multiple keys to the same service account.</p>
@@ -894,7 +894,7 @@ export interface ImportTr34KeyBlock {
894
894
  * @public
895
895
  * <p>The key block format to use during key import. The only value allowed is <code>X9_TR34_2012</code>.</p>
896
896
  */
897
- KeyBlockFormat: Tr34KeyBlockFormat | string | undefined;
897
+ KeyBlockFormat: Tr34KeyBlockFormat | undefined;
898
898
  /**
899
899
  * @public
900
900
  * <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>
@@ -1008,7 +1008,7 @@ export interface ImportKeyInput {
1008
1008
  * <p>The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV) for DES and AES keys.</p>
1009
1009
  * <p>For DES key, the KCV is computed by encrypting 8 bytes, each with value '00', with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES key, the KCV is computed by encrypting 8 bytes, each with value '01', with the key to be checked and retaining the 3 highest order bytes of the encrypted result.</p>
1010
1010
  */
1011
- KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm | string;
1011
+ KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm;
1012
1012
  /**
1013
1013
  * @public
1014
1014
  * <p>Specifies whether import key is enabled.</p>
@@ -1052,7 +1052,7 @@ export interface KeySummary {
1052
1052
  * @public
1053
1053
  * <p>The state of an Amazon Web Services Payment Cryptography that is being created or deleted.</p>
1054
1054
  */
1055
- KeyState: KeyState | string | undefined;
1055
+ KeyState: KeyState | undefined;
1056
1056
  /**
1057
1057
  * @public
1058
1058
  * <p>The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the key is created.</p>
@@ -1113,7 +1113,7 @@ export interface ListKeysInput {
1113
1113
  * @public
1114
1114
  * <p>The key state of the keys you want to list.</p>
1115
1115
  */
1116
- KeyState?: KeyState | string;
1116
+ KeyState?: KeyState;
1117
1117
  /**
1118
1118
  * @public
1119
1119
  * <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>
@@ -128,9 +128,9 @@ export declare const KeyUsage: {
128
128
  };
129
129
  export type KeyUsage = (typeof KeyUsage)[keyof typeof KeyUsage];
130
130
  export interface KeyAttributes {
131
- KeyUsage: KeyUsage | string | undefined;
132
- KeyClass: KeyClass | string | undefined;
133
- KeyAlgorithm: KeyAlgorithm | string | undefined;
131
+ KeyUsage: KeyUsage | undefined;
132
+ KeyClass: KeyClass | undefined;
133
+ KeyAlgorithm: KeyAlgorithm | undefined;
134
134
  KeyModesOfUse: KeyModesOfUse | undefined;
135
135
  }
136
136
  export declare const KeyCheckValueAlgorithm: {
@@ -145,7 +145,7 @@ export interface Tag {
145
145
  }
146
146
  export interface CreateKeyInput {
147
147
  KeyAttributes: KeyAttributes | undefined;
148
- KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm | string;
148
+ KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm;
149
149
  Exportable: boolean | undefined;
150
150
  Enabled?: boolean;
151
151
  Tags?: Tag[];
@@ -166,11 +166,11 @@ export interface Key {
166
166
  KeyArn: string | undefined;
167
167
  KeyAttributes: KeyAttributes | undefined;
168
168
  KeyCheckValue: string | undefined;
169
- KeyCheckValueAlgorithm: KeyCheckValueAlgorithm | string | undefined;
169
+ KeyCheckValueAlgorithm: KeyCheckValueAlgorithm | undefined;
170
170
  Enabled: boolean | undefined;
171
171
  Exportable: boolean | undefined;
172
- KeyState: KeyState | string | undefined;
173
- KeyOrigin: KeyOrigin | string | undefined;
172
+ KeyState: KeyState | undefined;
173
+ KeyOrigin: KeyOrigin | undefined;
174
174
  CreateTimestamp: Date | undefined;
175
175
  UsageStartTimestamp?: Date;
176
176
  UsageStopTimestamp?: Date;
@@ -203,7 +203,7 @@ export interface ExportTr34KeyBlock {
203
203
  CertificateAuthorityPublicKeyIdentifier: string | undefined;
204
204
  WrappingKeyCertificate: string | undefined;
205
205
  ExportToken: string | undefined;
206
- KeyBlockFormat: Tr34KeyBlockFormat | string | undefined;
206
+ KeyBlockFormat: Tr34KeyBlockFormat | undefined;
207
207
  RandomNonce?: string;
208
208
  }
209
209
  export type ExportKeyMaterial =
@@ -246,7 +246,7 @@ export type WrappedKeyMaterialFormat =
246
246
  (typeof WrappedKeyMaterialFormat)[keyof typeof WrappedKeyMaterialFormat];
247
247
  export interface WrappedKey {
248
248
  WrappingKeyArn: string | undefined;
249
- WrappedKeyMaterialFormat: WrappedKeyMaterialFormat | string | undefined;
249
+ WrappedKeyMaterialFormat: WrappedKeyMaterialFormat | undefined;
250
250
  KeyMaterial: string | undefined;
251
251
  }
252
252
  export interface ExportKeyOutput {
@@ -273,24 +273,24 @@ export declare const KeyMaterialType: {
273
273
  export type KeyMaterialType =
274
274
  (typeof KeyMaterialType)[keyof typeof KeyMaterialType];
275
275
  export interface GetParametersForExportInput {
276
- KeyMaterialType: KeyMaterialType | string | undefined;
277
- SigningKeyAlgorithm: KeyAlgorithm | string | undefined;
276
+ KeyMaterialType: KeyMaterialType | undefined;
277
+ SigningKeyAlgorithm: KeyAlgorithm | undefined;
278
278
  }
279
279
  export interface GetParametersForExportOutput {
280
280
  SigningKeyCertificate: string | undefined;
281
281
  SigningKeyCertificateChain: string | undefined;
282
- SigningKeyAlgorithm: KeyAlgorithm | string | undefined;
282
+ SigningKeyAlgorithm: KeyAlgorithm | undefined;
283
283
  ExportToken: string | undefined;
284
284
  ParametersValidUntilTimestamp: Date | undefined;
285
285
  }
286
286
  export interface GetParametersForImportInput {
287
- KeyMaterialType: KeyMaterialType | string | undefined;
288
- WrappingKeyAlgorithm: KeyAlgorithm | string | undefined;
287
+ KeyMaterialType: KeyMaterialType | undefined;
288
+ WrappingKeyAlgorithm: KeyAlgorithm | undefined;
289
289
  }
290
290
  export interface GetParametersForImportOutput {
291
291
  WrappingKeyCertificate: string | undefined;
292
292
  WrappingKeyCertificateChain: string | undefined;
293
- WrappingKeyAlgorithm: KeyAlgorithm | string | undefined;
293
+ WrappingKeyAlgorithm: KeyAlgorithm | undefined;
294
294
  ImportToken: string | undefined;
295
295
  ParametersValidUntilTimestamp: Date | undefined;
296
296
  }
@@ -314,7 +314,7 @@ export interface ImportTr34KeyBlock {
314
314
  SigningKeyCertificate: string | undefined;
315
315
  ImportToken: string | undefined;
316
316
  WrappedKeyBlock: string | undefined;
317
- KeyBlockFormat: Tr34KeyBlockFormat | string | undefined;
317
+ KeyBlockFormat: Tr34KeyBlockFormat | undefined;
318
318
  RandomNonce?: string;
319
319
  }
320
320
  export interface TrustedCertificatePublicKey {
@@ -375,7 +375,7 @@ export declare namespace ImportKeyMaterial {
375
375
  }
376
376
  export interface ImportKeyInput {
377
377
  KeyMaterial: ImportKeyMaterial | undefined;
378
- KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm | string;
378
+ KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm;
379
379
  Enabled?: boolean;
380
380
  Tags?: Tag[];
381
381
  }
@@ -384,7 +384,7 @@ export interface ImportKeyOutput {
384
384
  }
385
385
  export interface KeySummary {
386
386
  KeyArn: string | undefined;
387
- KeyState: KeyState | string | undefined;
387
+ KeyState: KeyState | undefined;
388
388
  KeyAttributes: KeyAttributes | undefined;
389
389
  KeyCheckValue: string | undefined;
390
390
  Exportable: boolean | undefined;
@@ -399,7 +399,7 @@ export interface ListAliasesOutput {
399
399
  NextToken?: string;
400
400
  }
401
401
  export interface ListKeysInput {
402
- KeyState?: KeyState | string;
402
+ KeyState?: KeyState;
403
403
  NextToken?: string;
404
404
  MaxResults?: number;
405
405
  }
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.427.0",
4
+ "version": "3.429.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,39 +21,39 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.427.0",
25
- "@aws-sdk/credential-provider-node": "3.427.0",
26
- "@aws-sdk/middleware-host-header": "3.425.0",
27
- "@aws-sdk/middleware-logger": "3.425.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.425.0",
29
- "@aws-sdk/middleware-signing": "3.425.0",
30
- "@aws-sdk/middleware-user-agent": "3.427.0",
31
- "@aws-sdk/region-config-resolver": "3.425.0",
32
- "@aws-sdk/types": "3.425.0",
33
- "@aws-sdk/util-endpoints": "3.427.0",
34
- "@aws-sdk/util-user-agent-browser": "3.425.0",
35
- "@aws-sdk/util-user-agent-node": "3.425.0",
36
- "@smithy/config-resolver": "^2.0.11",
37
- "@smithy/fetch-http-handler": "^2.2.1",
38
- "@smithy/hash-node": "^2.0.10",
39
- "@smithy/invalid-dependency": "^2.0.10",
40
- "@smithy/middleware-content-length": "^2.0.12",
41
- "@smithy/middleware-endpoint": "^2.0.10",
42
- "@smithy/middleware-retry": "^2.0.13",
43
- "@smithy/middleware-serde": "^2.0.10",
44
- "@smithy/middleware-stack": "^2.0.4",
45
- "@smithy/node-config-provider": "^2.0.13",
46
- "@smithy/node-http-handler": "^2.1.6",
47
- "@smithy/protocol-http": "^3.0.6",
48
- "@smithy/smithy-client": "^2.1.9",
49
- "@smithy/types": "^2.3.4",
50
- "@smithy/url-parser": "^2.0.10",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
+ "@aws-sdk/middleware-logger": "3.428.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
+ "@aws-sdk/middleware-signing": "3.428.0",
30
+ "@aws-sdk/middleware-user-agent": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.428.0",
32
+ "@aws-sdk/types": "3.428.0",
33
+ "@aws-sdk/util-endpoints": "3.428.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.428.0",
35
+ "@aws-sdk/util-user-agent-node": "3.428.0",
36
+ "@smithy/config-resolver": "^2.0.14",
37
+ "@smithy/fetch-http-handler": "^2.2.3",
38
+ "@smithy/hash-node": "^2.0.11",
39
+ "@smithy/invalid-dependency": "^2.0.11",
40
+ "@smithy/middleware-content-length": "^2.0.13",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
+ "@smithy/middleware-retry": "^2.0.16",
43
+ "@smithy/middleware-serde": "^2.0.11",
44
+ "@smithy/middleware-stack": "^2.0.5",
45
+ "@smithy/node-config-provider": "^2.1.1",
46
+ "@smithy/node-http-handler": "^2.1.7",
47
+ "@smithy/protocol-http": "^3.0.7",
48
+ "@smithy/smithy-client": "^2.1.11",
49
+ "@smithy/types": "^2.3.5",
50
+ "@smithy/url-parser": "^2.0.11",
51
51
  "@smithy/util-base64": "^2.0.0",
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.13",
55
- "@smithy/util-defaults-mode-node": "^2.0.15",
56
- "@smithy/util-retry": "^2.0.3",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.15",
55
+ "@smithy/util-defaults-mode-node": "^2.0.19",
56
+ "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "tslib": "^2.5.0"
59
59
  },