@aws-sdk/client-payment-cryptography 3.974.0 → 3.978.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js
CHANGED
|
@@ -1313,6 +1313,12 @@ class UpdateAliasCommand extends smithyClient.Command
|
|
|
1313
1313
|
.build() {
|
|
1314
1314
|
}
|
|
1315
1315
|
|
|
1316
|
+
const paginateListAliases = core.createPaginator(PaymentCryptographyClient, ListAliasesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1317
|
+
|
|
1318
|
+
const paginateListKeys = core.createPaginator(PaymentCryptographyClient, ListKeysCommand, "NextToken", "NextToken", "MaxResults");
|
|
1319
|
+
|
|
1320
|
+
const paginateListTagsForResource = core.createPaginator(PaymentCryptographyClient, ListTagsForResourceCommand, "NextToken", "NextToken", "MaxResults");
|
|
1321
|
+
|
|
1316
1322
|
const commands = {
|
|
1317
1323
|
AddKeyReplicationRegionsCommand,
|
|
1318
1324
|
CreateAliasCommand,
|
|
@@ -1341,15 +1347,14 @@ const commands = {
|
|
|
1341
1347
|
UntagResourceCommand,
|
|
1342
1348
|
UpdateAliasCommand,
|
|
1343
1349
|
};
|
|
1350
|
+
const paginators = {
|
|
1351
|
+
paginateListAliases,
|
|
1352
|
+
paginateListKeys,
|
|
1353
|
+
paginateListTagsForResource,
|
|
1354
|
+
};
|
|
1344
1355
|
class PaymentCryptography extends PaymentCryptographyClient {
|
|
1345
1356
|
}
|
|
1346
|
-
smithyClient.createAggregatedClient(commands, PaymentCryptography);
|
|
1347
|
-
|
|
1348
|
-
const paginateListAliases = core.createPaginator(PaymentCryptographyClient, ListAliasesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1349
|
-
|
|
1350
|
-
const paginateListKeys = core.createPaginator(PaymentCryptographyClient, ListKeysCommand, "NextToken", "NextToken", "MaxResults");
|
|
1351
|
-
|
|
1352
|
-
const paginateListTagsForResource = core.createPaginator(PaymentCryptographyClient, ListTagsForResourceCommand, "NextToken", "NextToken", "MaxResults");
|
|
1357
|
+
smithyClient.createAggregatedClient(commands, PaymentCryptography, { paginators });
|
|
1353
1358
|
|
|
1354
1359
|
const DeriveKeyUsage = {
|
|
1355
1360
|
TR31_B0_BASE_DERIVATION_KEY: "TR31_B0_BASE_DERIVATION_KEY",
|
|
@@ -25,6 +25,9 @@ import { StopKeyUsageCommand, } from "./commands/StopKeyUsageCommand";
|
|
|
25
25
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
26
26
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
27
27
|
import { UpdateAliasCommand } from "./commands/UpdateAliasCommand";
|
|
28
|
+
import { paginateListAliases } from "./pagination/ListAliasesPaginator";
|
|
29
|
+
import { paginateListKeys } from "./pagination/ListKeysPaginator";
|
|
30
|
+
import { paginateListTagsForResource } from "./pagination/ListTagsForResourcePaginator";
|
|
28
31
|
import { PaymentCryptographyClient } from "./PaymentCryptographyClient";
|
|
29
32
|
const commands = {
|
|
30
33
|
AddKeyReplicationRegionsCommand,
|
|
@@ -54,6 +57,11 @@ const commands = {
|
|
|
54
57
|
UntagResourceCommand,
|
|
55
58
|
UpdateAliasCommand,
|
|
56
59
|
};
|
|
60
|
+
const paginators = {
|
|
61
|
+
paginateListAliases,
|
|
62
|
+
paginateListKeys,
|
|
63
|
+
paginateListTagsForResource,
|
|
64
|
+
};
|
|
57
65
|
export class PaymentCryptography extends PaymentCryptographyClient {
|
|
58
66
|
}
|
|
59
|
-
createAggregatedClient(commands, PaymentCryptography);
|
|
67
|
+
createAggregatedClient(commands, PaymentCryptography, { paginators });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { AddKeyReplicationRegionsCommandInput, AddKeyReplicationRegionsCommandOutput } from "./commands/AddKeyReplicationRegionsCommand";
|
|
3
3
|
import { CreateAliasCommandInput, CreateAliasCommandOutput } from "./commands/CreateAliasCommand";
|
|
4
4
|
import { CreateKeyCommandInput, CreateKeyCommandOutput } from "./commands/CreateKeyCommand";
|
|
@@ -186,6 +186,27 @@ export interface PaymentCryptography {
|
|
|
186
186
|
updateAlias(args: UpdateAliasCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAliasCommandOutput>;
|
|
187
187
|
updateAlias(args: UpdateAliasCommandInput, cb: (err: any, data?: UpdateAliasCommandOutput) => void): void;
|
|
188
188
|
updateAlias(args: UpdateAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAliasCommandOutput) => void): void;
|
|
189
|
+
/**
|
|
190
|
+
* @see {@link ListAliasesCommand}
|
|
191
|
+
* @param args - command input.
|
|
192
|
+
* @param paginationConfig - optional pagination config.
|
|
193
|
+
* @returns AsyncIterable of {@link ListAliasesCommandOutput}.
|
|
194
|
+
*/
|
|
195
|
+
paginateListAliases(args?: ListAliasesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAliasesCommandOutput>;
|
|
196
|
+
/**
|
|
197
|
+
* @see {@link ListKeysCommand}
|
|
198
|
+
* @param args - command input.
|
|
199
|
+
* @param paginationConfig - optional pagination config.
|
|
200
|
+
* @returns AsyncIterable of {@link ListKeysCommandOutput}.
|
|
201
|
+
*/
|
|
202
|
+
paginateListKeys(args?: ListKeysCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListKeysCommandOutput>;
|
|
203
|
+
/**
|
|
204
|
+
* @see {@link ListTagsForResourceCommand}
|
|
205
|
+
* @param args - command input.
|
|
206
|
+
* @param paginationConfig - optional pagination config.
|
|
207
|
+
* @returns AsyncIterable of {@link ListTagsForResourceCommandOutput}.
|
|
208
|
+
*/
|
|
209
|
+
paginateListTagsForResource(args: ListTagsForResourceCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListTagsForResourceCommandOutput>;
|
|
189
210
|
}
|
|
190
211
|
/**
|
|
191
212
|
* <p>Amazon Web Services Payment Cryptography Control Plane APIs manage encryption keys for use during payment-related cryptographic operations. You can create, import, export, share, manage, and delete keys. You can also manage Identity and Access Management (IAM) policies for keys. For more information, see <a href="https://docs.aws.amazon.com/payment-cryptography/latest/userguide/security-iam.html">Identity and access management</a> in the <i>Amazon Web Services Payment Cryptography User Guide.</i> </p> <p>To use encryption keys for payment-related transaction processing and associated cryptographic operations, you use the <a href="https://docs.aws.amazon.com/payment-cryptography/latest/DataAPIReference/Welcome.html">Amazon Web Services Payment Cryptography Data Plane</a>. You can perform actions like encrypt, decrypt, generate, and verify payment-related data.</p> <p>All Amazon Web Services Payment Cryptography API calls must be signed and transmitted using Transport Layer Security (TLS). We recommend you always use the latest supported TLS version for logging API requests. </p> <p>Amazon Web Services Payment Cryptography supports CloudTrail for control plane operations, a service that logs Amazon Web Services API calls and related events for your Amazon Web Services account and delivers them to an Amazon S3 bucket you specify. By using the information collected by CloudTrail, you can determine what requests were made to Amazon Web Services Payment Cryptography, who made the request, when it was made, and so on. If you don't configure a trail, you can still view the most recent events in the CloudTrail console. For more information, see the <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/">CloudTrail User Guide</a>.</p>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
AddKeyReplicationRegionsCommandInput,
|
|
4
8
|
AddKeyReplicationRegionsCommandOutput,
|
|
@@ -458,6 +462,27 @@ export interface PaymentCryptography {
|
|
|
458
462
|
options: __HttpHandlerOptions,
|
|
459
463
|
cb: (err: any, data?: UpdateAliasCommandOutput) => void
|
|
460
464
|
): void;
|
|
465
|
+
paginateListAliases(
|
|
466
|
+
args?: ListAliasesCommandInput,
|
|
467
|
+
paginationConfig?: Pick<
|
|
468
|
+
PaginationConfiguration,
|
|
469
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
470
|
+
>
|
|
471
|
+
): Paginator<ListAliasesCommandOutput>;
|
|
472
|
+
paginateListKeys(
|
|
473
|
+
args?: ListKeysCommandInput,
|
|
474
|
+
paginationConfig?: Pick<
|
|
475
|
+
PaginationConfiguration,
|
|
476
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
477
|
+
>
|
|
478
|
+
): Paginator<ListKeysCommandOutput>;
|
|
479
|
+
paginateListTagsForResource(
|
|
480
|
+
args: ListTagsForResourceCommandInput,
|
|
481
|
+
paginationConfig?: Pick<
|
|
482
|
+
PaginationConfiguration,
|
|
483
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
484
|
+
>
|
|
485
|
+
): Paginator<ListTagsForResourceCommandOutput>;
|
|
461
486
|
}
|
|
462
487
|
export declare class PaymentCryptography
|
|
463
488
|
extends PaymentCryptographyClient
|
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.978.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-payment-cryptography",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|