@aws-sdk/client-payment-cryptography 3.687.0 → 3.690.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 +10 -1
- package/dist-types/ts3.4/models/models_0.d.ts +5 -1
- package/package.json +1 -1
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",
|
|
@@ -194,6 +194,11 @@ 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;
|
|
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
|
|
@@ -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
|
|
@@ -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
|
*/
|
|
@@ -84,6 +84,7 @@ export interface GetAliasOutput {
|
|
|
84
84
|
Alias: Alias | undefined;
|
|
85
85
|
}
|
|
86
86
|
export interface ListAliasesInput {
|
|
87
|
+
KeyArn?: string;
|
|
87
88
|
NextToken?: string;
|
|
88
89
|
MaxResults?: number;
|
|
89
90
|
}
|
|
@@ -169,7 +170,7 @@ 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;
|
|
@@ -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.690.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",
|