@aws-sdk/client-kms 3.50.0 → 3.53.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 (80) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/KMSServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +433 -3
  5. package/dist-cjs/protocols/Aws_json1_1.js +624 -2521
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/KMSServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +398 -1
  9. package/dist-es/protocols/Aws_json1_1.js +1320 -2648
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/KMSServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +233 -133
  13. package/dist-types/ts3.4/KMS.d.ts +245 -0
  14. package/dist-types/ts3.4/KMSClient.d.ts +121 -0
  15. package/dist-types/ts3.4/commands/CancelKeyDeletionCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/ConnectCustomKeyStoreCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/CreateCustomKeyStoreCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/CreateGrantCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/CreateKeyCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/DecryptCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/DeleteCustomKeyStoreCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/DeleteImportedKeyMaterialCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/DescribeCustomKeyStoresCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/DescribeKeyCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/DisableKeyCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/DisableKeyRotationCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/DisconnectCustomKeyStoreCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/EnableKeyCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/EnableKeyRotationCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/EncryptCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/GenerateDataKeyCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/GenerateDataKeyPairCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/GenerateRandomCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/GetKeyPolicyCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/GetKeyRotationStatusCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/GetParametersForImportCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/ImportKeyMaterialCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/ListGrantsCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/ListKeyPoliciesCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/ListResourceTagsCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/ListRetirableGrantsCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/PutKeyPolicyCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/ReEncryptCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/ReplicateKeyCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/RetireGrantCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/RevokeGrantCommand.d.ts +17 -0
  54. package/dist-types/ts3.4/commands/ScheduleKeyDeletionCommand.d.ts +17 -0
  55. package/dist-types/ts3.4/commands/SignCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  57. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  58. package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +17 -0
  59. package/dist-types/ts3.4/commands/UpdateCustomKeyStoreCommand.d.ts +17 -0
  60. package/dist-types/ts3.4/commands/UpdateKeyDescriptionCommand.d.ts +17 -0
  61. package/dist-types/ts3.4/commands/UpdatePrimaryRegionCommand.d.ts +17 -0
  62. package/dist-types/ts3.4/commands/VerifyCommand.d.ts +17 -0
  63. package/dist-types/ts3.4/commands/index.d.ts +48 -0
  64. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  65. package/dist-types/ts3.4/index.d.ts +6 -0
  66. package/dist-types/ts3.4/models/KMSServiceException.d.ts +6 -0
  67. package/dist-types/ts3.4/models/index.d.ts +1 -0
  68. package/dist-types/ts3.4/models/models_0.d.ts +1484 -0
  69. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  70. package/dist-types/ts3.4/pagination/ListAliasesPaginator.d.ts +4 -0
  71. package/dist-types/ts3.4/pagination/ListGrantsPaginator.d.ts +4 -0
  72. package/dist-types/ts3.4/pagination/ListKeyPoliciesPaginator.d.ts +4 -0
  73. package/dist-types/ts3.4/pagination/ListKeysPaginator.d.ts +4 -0
  74. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  75. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +146 -0
  76. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  77. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  78. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  79. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  80. package/package.json +33 -33
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
4
+ import { UpdateKeyDescriptionRequest } from "../models/models_0";
5
+ export interface UpdateKeyDescriptionCommandInput extends UpdateKeyDescriptionRequest {
6
+ }
7
+ export interface UpdateKeyDescriptionCommandOutput extends __MetadataBearer {
8
+ }
9
+
10
+ export declare class UpdateKeyDescriptionCommand extends $Command<UpdateKeyDescriptionCommandInput, UpdateKeyDescriptionCommandOutput, KMSClientResolvedConfig> {
11
+ readonly input: UpdateKeyDescriptionCommandInput;
12
+ constructor(input: UpdateKeyDescriptionCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateKeyDescriptionCommandInput, UpdateKeyDescriptionCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
4
+ import { UpdatePrimaryRegionRequest } from "../models/models_0";
5
+ export interface UpdatePrimaryRegionCommandInput extends UpdatePrimaryRegionRequest {
6
+ }
7
+ export interface UpdatePrimaryRegionCommandOutput extends __MetadataBearer {
8
+ }
9
+
10
+ export declare class UpdatePrimaryRegionCommand extends $Command<UpdatePrimaryRegionCommandInput, UpdatePrimaryRegionCommandOutput, KMSClientResolvedConfig> {
11
+ readonly input: UpdatePrimaryRegionCommandInput;
12
+ constructor(input: UpdatePrimaryRegionCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdatePrimaryRegionCommandInput, UpdatePrimaryRegionCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
4
+ import { VerifyRequest, VerifyResponse } from "../models/models_0";
5
+ export interface VerifyCommandInput extends VerifyRequest {
6
+ }
7
+ export interface VerifyCommandOutput extends VerifyResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class VerifyCommand extends $Command<VerifyCommandInput, VerifyCommandOutput, KMSClientResolvedConfig> {
11
+ readonly input: VerifyCommandInput;
12
+ constructor(input: VerifyCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<VerifyCommandInput, VerifyCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,48 @@
1
+ export * from "./CancelKeyDeletionCommand";
2
+ export * from "./ConnectCustomKeyStoreCommand";
3
+ export * from "./CreateAliasCommand";
4
+ export * from "./CreateCustomKeyStoreCommand";
5
+ export * from "./CreateGrantCommand";
6
+ export * from "./CreateKeyCommand";
7
+ export * from "./DecryptCommand";
8
+ export * from "./DeleteAliasCommand";
9
+ export * from "./DeleteCustomKeyStoreCommand";
10
+ export * from "./DeleteImportedKeyMaterialCommand";
11
+ export * from "./DescribeCustomKeyStoresCommand";
12
+ export * from "./DescribeKeyCommand";
13
+ export * from "./DisableKeyCommand";
14
+ export * from "./DisableKeyRotationCommand";
15
+ export * from "./DisconnectCustomKeyStoreCommand";
16
+ export * from "./EnableKeyCommand";
17
+ export * from "./EnableKeyRotationCommand";
18
+ export * from "./EncryptCommand";
19
+ export * from "./GenerateDataKeyCommand";
20
+ export * from "./GenerateDataKeyPairCommand";
21
+ export * from "./GenerateDataKeyPairWithoutPlaintextCommand";
22
+ export * from "./GenerateDataKeyWithoutPlaintextCommand";
23
+ export * from "./GenerateRandomCommand";
24
+ export * from "./GetKeyPolicyCommand";
25
+ export * from "./GetKeyRotationStatusCommand";
26
+ export * from "./GetParametersForImportCommand";
27
+ export * from "./GetPublicKeyCommand";
28
+ export * from "./ImportKeyMaterialCommand";
29
+ export * from "./ListAliasesCommand";
30
+ export * from "./ListGrantsCommand";
31
+ export * from "./ListKeyPoliciesCommand";
32
+ export * from "./ListKeysCommand";
33
+ export * from "./ListResourceTagsCommand";
34
+ export * from "./ListRetirableGrantsCommand";
35
+ export * from "./PutKeyPolicyCommand";
36
+ export * from "./ReEncryptCommand";
37
+ export * from "./ReplicateKeyCommand";
38
+ export * from "./RetireGrantCommand";
39
+ export * from "./RevokeGrantCommand";
40
+ export * from "./ScheduleKeyDeletionCommand";
41
+ export * from "./SignCommand";
42
+ export * from "./TagResourceCommand";
43
+ export * from "./UntagResourceCommand";
44
+ export * from "./UpdateAliasCommand";
45
+ export * from "./UpdateCustomKeyStoreCommand";
46
+ export * from "./UpdateKeyDescriptionCommand";
47
+ export * from "./UpdatePrimaryRegionCommand";
48
+ export * from "./VerifyCommand";
@@ -0,0 +1,2 @@
1
+ import { RegionInfoProvider } from "@aws-sdk/types";
2
+ export declare const defaultRegionInfoProvider: RegionInfoProvider;
@@ -0,0 +1,6 @@
1
+ export * from "./KMS";
2
+ export * from "./KMSClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export { KMSServiceException } from "./models/KMSServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class KMSServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";