@aws-sdk/client-kms 3.975.0 → 3.980.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 +27 -17
- package/dist-es/KMS.js +19 -1
- package/dist-types/KMS.d.ts +57 -1
- package/dist-types/ts3.4/KMS.d.ts +61 -1
- package/package.json +18 -18
package/dist-cjs/index.js
CHANGED
|
@@ -2698,6 +2698,22 @@ class VerifyMacCommand extends smithyClient.Command
|
|
|
2698
2698
|
.build() {
|
|
2699
2699
|
}
|
|
2700
2700
|
|
|
2701
|
+
const paginateDescribeCustomKeyStores = core.createPaginator(KMSClient, DescribeCustomKeyStoresCommand, "Marker", "NextMarker", "Limit");
|
|
2702
|
+
|
|
2703
|
+
const paginateListAliases = core.createPaginator(KMSClient, ListAliasesCommand, "Marker", "NextMarker", "Limit");
|
|
2704
|
+
|
|
2705
|
+
const paginateListGrants = core.createPaginator(KMSClient, ListGrantsCommand, "Marker", "NextMarker", "Limit");
|
|
2706
|
+
|
|
2707
|
+
const paginateListKeyPolicies = core.createPaginator(KMSClient, ListKeyPoliciesCommand, "Marker", "NextMarker", "Limit");
|
|
2708
|
+
|
|
2709
|
+
const paginateListKeyRotations = core.createPaginator(KMSClient, ListKeyRotationsCommand, "Marker", "NextMarker", "Limit");
|
|
2710
|
+
|
|
2711
|
+
const paginateListKeys = core.createPaginator(KMSClient, ListKeysCommand, "Marker", "NextMarker", "Limit");
|
|
2712
|
+
|
|
2713
|
+
const paginateListResourceTags = core.createPaginator(KMSClient, ListResourceTagsCommand, "Marker", "NextMarker", "Limit");
|
|
2714
|
+
|
|
2715
|
+
const paginateListRetirableGrants = core.createPaginator(KMSClient, ListRetirableGrantsCommand, "Marker", "NextMarker", "Limit");
|
|
2716
|
+
|
|
2701
2717
|
const commands = {
|
|
2702
2718
|
CancelKeyDeletionCommand,
|
|
2703
2719
|
ConnectCustomKeyStoreCommand,
|
|
@@ -2753,25 +2769,19 @@ const commands = {
|
|
|
2753
2769
|
VerifyCommand,
|
|
2754
2770
|
VerifyMacCommand,
|
|
2755
2771
|
};
|
|
2772
|
+
const paginators = {
|
|
2773
|
+
paginateDescribeCustomKeyStores,
|
|
2774
|
+
paginateListAliases,
|
|
2775
|
+
paginateListGrants,
|
|
2776
|
+
paginateListKeyPolicies,
|
|
2777
|
+
paginateListKeyRotations,
|
|
2778
|
+
paginateListKeys,
|
|
2779
|
+
paginateListResourceTags,
|
|
2780
|
+
paginateListRetirableGrants,
|
|
2781
|
+
};
|
|
2756
2782
|
class KMS extends KMSClient {
|
|
2757
2783
|
}
|
|
2758
|
-
smithyClient.createAggregatedClient(commands, KMS);
|
|
2759
|
-
|
|
2760
|
-
const paginateDescribeCustomKeyStores = core.createPaginator(KMSClient, DescribeCustomKeyStoresCommand, "Marker", "NextMarker", "Limit");
|
|
2761
|
-
|
|
2762
|
-
const paginateListAliases = core.createPaginator(KMSClient, ListAliasesCommand, "Marker", "NextMarker", "Limit");
|
|
2763
|
-
|
|
2764
|
-
const paginateListGrants = core.createPaginator(KMSClient, ListGrantsCommand, "Marker", "NextMarker", "Limit");
|
|
2765
|
-
|
|
2766
|
-
const paginateListKeyPolicies = core.createPaginator(KMSClient, ListKeyPoliciesCommand, "Marker", "NextMarker", "Limit");
|
|
2767
|
-
|
|
2768
|
-
const paginateListKeyRotations = core.createPaginator(KMSClient, ListKeyRotationsCommand, "Marker", "NextMarker", "Limit");
|
|
2769
|
-
|
|
2770
|
-
const paginateListKeys = core.createPaginator(KMSClient, ListKeysCommand, "Marker", "NextMarker", "Limit");
|
|
2771
|
-
|
|
2772
|
-
const paginateListResourceTags = core.createPaginator(KMSClient, ListResourceTagsCommand, "Marker", "NextMarker", "Limit");
|
|
2773
|
-
|
|
2774
|
-
const paginateListRetirableGrants = core.createPaginator(KMSClient, ListRetirableGrantsCommand, "Marker", "NextMarker", "Limit");
|
|
2784
|
+
smithyClient.createAggregatedClient(commands, KMS, { paginators });
|
|
2775
2785
|
|
|
2776
2786
|
const AlgorithmSpec = {
|
|
2777
2787
|
RSAES_OAEP_SHA_1: "RSAES_OAEP_SHA_1",
|
package/dist-es/KMS.js
CHANGED
|
@@ -53,6 +53,14 @@ import { UpdatePrimaryRegionCommand, } from "./commands/UpdatePrimaryRegionComma
|
|
|
53
53
|
import { VerifyCommand } from "./commands/VerifyCommand";
|
|
54
54
|
import { VerifyMacCommand } from "./commands/VerifyMacCommand";
|
|
55
55
|
import { KMSClient } from "./KMSClient";
|
|
56
|
+
import { paginateDescribeCustomKeyStores } from "./pagination/DescribeCustomKeyStoresPaginator";
|
|
57
|
+
import { paginateListAliases } from "./pagination/ListAliasesPaginator";
|
|
58
|
+
import { paginateListGrants } from "./pagination/ListGrantsPaginator";
|
|
59
|
+
import { paginateListKeyPolicies } from "./pagination/ListKeyPoliciesPaginator";
|
|
60
|
+
import { paginateListKeyRotations } from "./pagination/ListKeyRotationsPaginator";
|
|
61
|
+
import { paginateListKeys } from "./pagination/ListKeysPaginator";
|
|
62
|
+
import { paginateListResourceTags } from "./pagination/ListResourceTagsPaginator";
|
|
63
|
+
import { paginateListRetirableGrants } from "./pagination/ListRetirableGrantsPaginator";
|
|
56
64
|
const commands = {
|
|
57
65
|
CancelKeyDeletionCommand,
|
|
58
66
|
ConnectCustomKeyStoreCommand,
|
|
@@ -108,6 +116,16 @@ const commands = {
|
|
|
108
116
|
VerifyCommand,
|
|
109
117
|
VerifyMacCommand,
|
|
110
118
|
};
|
|
119
|
+
const paginators = {
|
|
120
|
+
paginateDescribeCustomKeyStores,
|
|
121
|
+
paginateListAliases,
|
|
122
|
+
paginateListGrants,
|
|
123
|
+
paginateListKeyPolicies,
|
|
124
|
+
paginateListKeyRotations,
|
|
125
|
+
paginateListKeys,
|
|
126
|
+
paginateListResourceTags,
|
|
127
|
+
paginateListRetirableGrants,
|
|
128
|
+
};
|
|
111
129
|
export class KMS extends KMSClient {
|
|
112
130
|
}
|
|
113
|
-
createAggregatedClient(commands, KMS);
|
|
131
|
+
createAggregatedClient(commands, KMS, { paginators });
|
package/dist-types/KMS.d.ts
CHANGED
|
@@ -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 { CancelKeyDeletionCommandInput, CancelKeyDeletionCommandOutput } from "./commands/CancelKeyDeletionCommand";
|
|
3
3
|
import { ConnectCustomKeyStoreCommandInput, ConnectCustomKeyStoreCommandOutput } from "./commands/ConnectCustomKeyStoreCommand";
|
|
4
4
|
import { CreateAliasCommandInput, CreateAliasCommandOutput } from "./commands/CreateAliasCommand";
|
|
@@ -378,6 +378,62 @@ export interface KMS {
|
|
|
378
378
|
verifyMac(args: VerifyMacCommandInput, options?: __HttpHandlerOptions): Promise<VerifyMacCommandOutput>;
|
|
379
379
|
verifyMac(args: VerifyMacCommandInput, cb: (err: any, data?: VerifyMacCommandOutput) => void): void;
|
|
380
380
|
verifyMac(args: VerifyMacCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: VerifyMacCommandOutput) => void): void;
|
|
381
|
+
/**
|
|
382
|
+
* @see {@link DescribeCustomKeyStoresCommand}
|
|
383
|
+
* @param args - command input.
|
|
384
|
+
* @param paginationConfig - optional pagination config.
|
|
385
|
+
* @returns AsyncIterable of {@link DescribeCustomKeyStoresCommandOutput}.
|
|
386
|
+
*/
|
|
387
|
+
paginateDescribeCustomKeyStores(args?: DescribeCustomKeyStoresCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeCustomKeyStoresCommandOutput>;
|
|
388
|
+
/**
|
|
389
|
+
* @see {@link ListAliasesCommand}
|
|
390
|
+
* @param args - command input.
|
|
391
|
+
* @param paginationConfig - optional pagination config.
|
|
392
|
+
* @returns AsyncIterable of {@link ListAliasesCommandOutput}.
|
|
393
|
+
*/
|
|
394
|
+
paginateListAliases(args?: ListAliasesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAliasesCommandOutput>;
|
|
395
|
+
/**
|
|
396
|
+
* @see {@link ListGrantsCommand}
|
|
397
|
+
* @param args - command input.
|
|
398
|
+
* @param paginationConfig - optional pagination config.
|
|
399
|
+
* @returns AsyncIterable of {@link ListGrantsCommandOutput}.
|
|
400
|
+
*/
|
|
401
|
+
paginateListGrants(args: ListGrantsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListGrantsCommandOutput>;
|
|
402
|
+
/**
|
|
403
|
+
* @see {@link ListKeyPoliciesCommand}
|
|
404
|
+
* @param args - command input.
|
|
405
|
+
* @param paginationConfig - optional pagination config.
|
|
406
|
+
* @returns AsyncIterable of {@link ListKeyPoliciesCommandOutput}.
|
|
407
|
+
*/
|
|
408
|
+
paginateListKeyPolicies(args: ListKeyPoliciesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListKeyPoliciesCommandOutput>;
|
|
409
|
+
/**
|
|
410
|
+
* @see {@link ListKeyRotationsCommand}
|
|
411
|
+
* @param args - command input.
|
|
412
|
+
* @param paginationConfig - optional pagination config.
|
|
413
|
+
* @returns AsyncIterable of {@link ListKeyRotationsCommandOutput}.
|
|
414
|
+
*/
|
|
415
|
+
paginateListKeyRotations(args: ListKeyRotationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListKeyRotationsCommandOutput>;
|
|
416
|
+
/**
|
|
417
|
+
* @see {@link ListKeysCommand}
|
|
418
|
+
* @param args - command input.
|
|
419
|
+
* @param paginationConfig - optional pagination config.
|
|
420
|
+
* @returns AsyncIterable of {@link ListKeysCommandOutput}.
|
|
421
|
+
*/
|
|
422
|
+
paginateListKeys(args?: ListKeysCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListKeysCommandOutput>;
|
|
423
|
+
/**
|
|
424
|
+
* @see {@link ListResourceTagsCommand}
|
|
425
|
+
* @param args - command input.
|
|
426
|
+
* @param paginationConfig - optional pagination config.
|
|
427
|
+
* @returns AsyncIterable of {@link ListResourceTagsCommandOutput}.
|
|
428
|
+
*/
|
|
429
|
+
paginateListResourceTags(args: ListResourceTagsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListResourceTagsCommandOutput>;
|
|
430
|
+
/**
|
|
431
|
+
* @see {@link ListRetirableGrantsCommand}
|
|
432
|
+
* @param args - command input.
|
|
433
|
+
* @param paginationConfig - optional pagination config.
|
|
434
|
+
* @returns AsyncIterable of {@link ListRetirableGrantsCommandOutput}.
|
|
435
|
+
*/
|
|
436
|
+
paginateListRetirableGrants(args: ListRetirableGrantsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListRetirableGrantsCommandOutput>;
|
|
381
437
|
}
|
|
382
438
|
/**
|
|
383
439
|
* <fullname>Key Management Service</fullname>
|
|
@@ -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
|
CancelKeyDeletionCommandInput,
|
|
4
8
|
CancelKeyDeletionCommandOutput,
|
|
@@ -911,5 +915,61 @@ export interface KMS {
|
|
|
911
915
|
options: __HttpHandlerOptions,
|
|
912
916
|
cb: (err: any, data?: VerifyMacCommandOutput) => void
|
|
913
917
|
): void;
|
|
918
|
+
paginateDescribeCustomKeyStores(
|
|
919
|
+
args?: DescribeCustomKeyStoresCommandInput,
|
|
920
|
+
paginationConfig?: Pick<
|
|
921
|
+
PaginationConfiguration,
|
|
922
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
923
|
+
>
|
|
924
|
+
): Paginator<DescribeCustomKeyStoresCommandOutput>;
|
|
925
|
+
paginateListAliases(
|
|
926
|
+
args?: ListAliasesCommandInput,
|
|
927
|
+
paginationConfig?: Pick<
|
|
928
|
+
PaginationConfiguration,
|
|
929
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
930
|
+
>
|
|
931
|
+
): Paginator<ListAliasesCommandOutput>;
|
|
932
|
+
paginateListGrants(
|
|
933
|
+
args: ListGrantsCommandInput,
|
|
934
|
+
paginationConfig?: Pick<
|
|
935
|
+
PaginationConfiguration,
|
|
936
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
937
|
+
>
|
|
938
|
+
): Paginator<ListGrantsCommandOutput>;
|
|
939
|
+
paginateListKeyPolicies(
|
|
940
|
+
args: ListKeyPoliciesCommandInput,
|
|
941
|
+
paginationConfig?: Pick<
|
|
942
|
+
PaginationConfiguration,
|
|
943
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
944
|
+
>
|
|
945
|
+
): Paginator<ListKeyPoliciesCommandOutput>;
|
|
946
|
+
paginateListKeyRotations(
|
|
947
|
+
args: ListKeyRotationsCommandInput,
|
|
948
|
+
paginationConfig?: Pick<
|
|
949
|
+
PaginationConfiguration,
|
|
950
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
951
|
+
>
|
|
952
|
+
): Paginator<ListKeyRotationsCommandOutput>;
|
|
953
|
+
paginateListKeys(
|
|
954
|
+
args?: ListKeysCommandInput,
|
|
955
|
+
paginationConfig?: Pick<
|
|
956
|
+
PaginationConfiguration,
|
|
957
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
958
|
+
>
|
|
959
|
+
): Paginator<ListKeysCommandOutput>;
|
|
960
|
+
paginateListResourceTags(
|
|
961
|
+
args: ListResourceTagsCommandInput,
|
|
962
|
+
paginationConfig?: Pick<
|
|
963
|
+
PaginationConfiguration,
|
|
964
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
965
|
+
>
|
|
966
|
+
): Paginator<ListResourceTagsCommandOutput>;
|
|
967
|
+
paginateListRetirableGrants(
|
|
968
|
+
args: ListRetirableGrantsCommandInput,
|
|
969
|
+
paginationConfig?: Pick<
|
|
970
|
+
PaginationConfiguration,
|
|
971
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
972
|
+
>
|
|
973
|
+
): Paginator<ListRetirableGrantsCommandOutput>;
|
|
914
974
|
}
|
|
915
975
|
export declare class KMS extends KMSClient implements KMS {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kms",
|
|
3
3
|
"description": "AWS SDK for JavaScript Kms Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.980.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-kms",
|
|
@@ -23,38 +23,38 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
26
|
-
"@aws-sdk/core": "^3.973.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
32
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
33
|
-
"@aws-sdk/types": "^3.973.
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
26
|
+
"@aws-sdk/core": "^3.973.5",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "^3.972.4",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
29
|
+
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "^3.972.5",
|
|
32
|
+
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
33
|
+
"@aws-sdk/types": "^3.973.1",
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.980.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "^3.972.3",
|
|
37
37
|
"@smithy/config-resolver": "^4.4.6",
|
|
38
|
-
"@smithy/core": "^3.
|
|
38
|
+
"@smithy/core": "^3.22.0",
|
|
39
39
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
40
40
|
"@smithy/hash-node": "^4.2.8",
|
|
41
41
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
42
42
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
43
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
44
|
-
"@smithy/middleware-retry": "^4.4.
|
|
43
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
44
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
45
45
|
"@smithy/middleware-serde": "^4.2.9",
|
|
46
46
|
"@smithy/middleware-stack": "^4.2.8",
|
|
47
47
|
"@smithy/node-config-provider": "^4.3.8",
|
|
48
48
|
"@smithy/node-http-handler": "^4.4.8",
|
|
49
49
|
"@smithy/protocol-http": "^5.3.8",
|
|
50
|
-
"@smithy/smithy-client": "^4.
|
|
50
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
51
51
|
"@smithy/types": "^4.12.0",
|
|
52
52
|
"@smithy/url-parser": "^4.2.8",
|
|
53
53
|
"@smithy/util-base64": "^4.3.0",
|
|
54
54
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
55
55
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
56
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
56
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
57
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
58
58
|
"@smithy/util-endpoints": "^3.2.8",
|
|
59
59
|
"@smithy/util-middleware": "^4.2.8",
|
|
60
60
|
"@smithy/util-retry": "^4.2.8",
|