@aws-sdk/client-kms 3.554.0 → 3.556.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.
Files changed (34) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +151 -1
  3. package/dist-es/KMS.js +4 -0
  4. package/dist-es/commands/ListKeyRotationsCommand.js +24 -0
  5. package/dist-es/commands/RotateKeyOnDemandCommand.js +24 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_0.js +16 -0
  8. package/dist-es/pagination/ListKeyRotationsPaginator.js +4 -0
  9. package/dist-es/pagination/index.js +1 -0
  10. package/dist-es/protocols/Aws_json1_1.js +83 -2
  11. package/dist-types/KMS.d.ts +14 -0
  12. package/dist-types/KMSClient.d.ts +4 -2
  13. package/dist-types/commands/CreateCustomKeyStoreCommand.d.ts +2 -2
  14. package/dist-types/commands/DisableKeyRotationCommand.d.ts +10 -0
  15. package/dist-types/commands/EnableKeyRotationCommand.d.ts +41 -7
  16. package/dist-types/commands/GetKeyRotationStatusCommand.d.ts +42 -6
  17. package/dist-types/commands/ListKeyRotationsCommand.d.ts +174 -0
  18. package/dist-types/commands/RotateKeyOnDemandCommand.d.ts +186 -0
  19. package/dist-types/commands/UpdateCustomKeyStoreCommand.d.ts +2 -2
  20. package/dist-types/commands/index.d.ts +2 -0
  21. package/dist-types/models/models_0.d.ts +194 -8
  22. package/dist-types/pagination/ListKeyRotationsPaginator.d.ts +7 -0
  23. package/dist-types/pagination/index.d.ts +1 -0
  24. package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
  25. package/dist-types/ts3.4/KMS.d.ts +34 -0
  26. package/dist-types/ts3.4/KMSClient.d.ts +12 -0
  27. package/dist-types/ts3.4/commands/ListKeyRotationsCommand.d.ts +38 -0
  28. package/dist-types/ts3.4/commands/RotateKeyOnDemandCommand.d.ts +39 -0
  29. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  30. package/dist-types/ts3.4/models/models_0.d.ts +36 -0
  31. package/dist-types/ts3.4/pagination/ListKeyRotationsPaginator.d.ts +11 -0
  32. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  33. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
  34. package/package.json +4 -4
@@ -3,6 +3,7 @@ export * from "./Interfaces";
3
3
  export * from "./ListAliasesPaginator";
4
4
  export * from "./ListGrantsPaginator";
5
5
  export * from "./ListKeyPoliciesPaginator";
6
+ export * from "./ListKeyRotationsPaginator";
6
7
  export * from "./ListKeysPaginator";
7
8
  export * from "./ListResourceTagsPaginator";
8
9
  export * from "./ListRetirableGrantsPaginator";
@@ -131,6 +131,10 @@ import {
131
131
  ListKeyPoliciesCommandInput,
132
132
  ListKeyPoliciesCommandOutput,
133
133
  } from "../commands/ListKeyPoliciesCommand";
134
+ import {
135
+ ListKeyRotationsCommandInput,
136
+ ListKeyRotationsCommandOutput,
137
+ } from "../commands/ListKeyRotationsCommand";
134
138
  import {
135
139
  ListKeysCommandInput,
136
140
  ListKeysCommandOutput,
@@ -163,6 +167,10 @@ import {
163
167
  RevokeGrantCommandInput,
164
168
  RevokeGrantCommandOutput,
165
169
  } from "../commands/RevokeGrantCommand";
170
+ import {
171
+ RotateKeyOnDemandCommandInput,
172
+ RotateKeyOnDemandCommandOutput,
173
+ } from "../commands/RotateKeyOnDemandCommand";
166
174
  import {
167
175
  ScheduleKeyDeletionCommandInput,
168
176
  ScheduleKeyDeletionCommandOutput,
@@ -328,6 +336,10 @@ export declare const se_ListKeyPoliciesCommand: (
328
336
  input: ListKeyPoliciesCommandInput,
329
337
  context: __SerdeContext
330
338
  ) => Promise<__HttpRequest>;
339
+ export declare const se_ListKeyRotationsCommand: (
340
+ input: ListKeyRotationsCommandInput,
341
+ context: __SerdeContext
342
+ ) => Promise<__HttpRequest>;
331
343
  export declare const se_ListKeysCommand: (
332
344
  input: ListKeysCommandInput,
333
345
  context: __SerdeContext
@@ -360,6 +372,10 @@ export declare const se_RevokeGrantCommand: (
360
372
  input: RevokeGrantCommandInput,
361
373
  context: __SerdeContext
362
374
  ) => Promise<__HttpRequest>;
375
+ export declare const se_RotateKeyOnDemandCommand: (
376
+ input: RotateKeyOnDemandCommandInput,
377
+ context: __SerdeContext
378
+ ) => Promise<__HttpRequest>;
363
379
  export declare const se_ScheduleKeyDeletionCommand: (
364
380
  input: ScheduleKeyDeletionCommandInput,
365
381
  context: __SerdeContext
@@ -528,6 +544,10 @@ export declare const de_ListKeyPoliciesCommand: (
528
544
  output: __HttpResponse,
529
545
  context: __SerdeContext
530
546
  ) => Promise<ListKeyPoliciesCommandOutput>;
547
+ export declare const de_ListKeyRotationsCommand: (
548
+ output: __HttpResponse,
549
+ context: __SerdeContext
550
+ ) => Promise<ListKeyRotationsCommandOutput>;
531
551
  export declare const de_ListKeysCommand: (
532
552
  output: __HttpResponse,
533
553
  context: __SerdeContext
@@ -560,6 +580,10 @@ export declare const de_RevokeGrantCommand: (
560
580
  output: __HttpResponse,
561
581
  context: __SerdeContext
562
582
  ) => Promise<RevokeGrantCommandOutput>;
583
+ export declare const de_RotateKeyOnDemandCommand: (
584
+ output: __HttpResponse,
585
+ context: __SerdeContext
586
+ ) => Promise<RotateKeyOnDemandCommandOutput>;
563
587
  export declare const de_ScheduleKeyDeletionCommand: (
564
588
  output: __HttpResponse,
565
589
  context: __SerdeContext
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.554.0",
4
+ "version": "3.556.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-kms",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.554.0",
24
- "@aws-sdk/core": "3.554.0",
25
- "@aws-sdk/credential-provider-node": "3.554.0",
23
+ "@aws-sdk/client-sts": "3.556.0",
24
+ "@aws-sdk/core": "3.556.0",
25
+ "@aws-sdk/credential-provider-node": "3.556.0",
26
26
  "@aws-sdk/middleware-host-header": "3.535.0",
27
27
  "@aws-sdk/middleware-logger": "3.535.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.535.0",