@aws-sdk/client-kms 3.478.0 → 3.481.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 (205) hide show
  1. package/dist-cjs/commands/CancelKeyDeletionCommand.js +18 -41
  2. package/dist-cjs/commands/ConnectCustomKeyStoreCommand.js +18 -41
  3. package/dist-cjs/commands/CreateAliasCommand.js +18 -41
  4. package/dist-cjs/commands/CreateCustomKeyStoreCommand.js +18 -41
  5. package/dist-cjs/commands/CreateGrantCommand.js +18 -41
  6. package/dist-cjs/commands/CreateKeyCommand.js +18 -41
  7. package/dist-cjs/commands/DecryptCommand.js +18 -41
  8. package/dist-cjs/commands/DeleteAliasCommand.js +18 -41
  9. package/dist-cjs/commands/DeleteCustomKeyStoreCommand.js +18 -41
  10. package/dist-cjs/commands/DeleteImportedKeyMaterialCommand.js +18 -41
  11. package/dist-cjs/commands/DescribeCustomKeyStoresCommand.js +18 -41
  12. package/dist-cjs/commands/DescribeKeyCommand.js +18 -41
  13. package/dist-cjs/commands/DisableKeyCommand.js +18 -41
  14. package/dist-cjs/commands/DisableKeyRotationCommand.js +18 -41
  15. package/dist-cjs/commands/DisconnectCustomKeyStoreCommand.js +18 -41
  16. package/dist-cjs/commands/EnableKeyCommand.js +18 -41
  17. package/dist-cjs/commands/EnableKeyRotationCommand.js +18 -41
  18. package/dist-cjs/commands/EncryptCommand.js +18 -41
  19. package/dist-cjs/commands/GenerateDataKeyCommand.js +18 -41
  20. package/dist-cjs/commands/GenerateDataKeyPairCommand.js +18 -41
  21. package/dist-cjs/commands/GenerateDataKeyPairWithoutPlaintextCommand.js +18 -41
  22. package/dist-cjs/commands/GenerateDataKeyWithoutPlaintextCommand.js +18 -41
  23. package/dist-cjs/commands/GenerateMacCommand.js +18 -41
  24. package/dist-cjs/commands/GenerateRandomCommand.js +18 -41
  25. package/dist-cjs/commands/GetKeyPolicyCommand.js +18 -41
  26. package/dist-cjs/commands/GetKeyRotationStatusCommand.js +18 -41
  27. package/dist-cjs/commands/GetParametersForImportCommand.js +18 -41
  28. package/dist-cjs/commands/GetPublicKeyCommand.js +18 -41
  29. package/dist-cjs/commands/ImportKeyMaterialCommand.js +18 -41
  30. package/dist-cjs/commands/ListAliasesCommand.js +18 -41
  31. package/dist-cjs/commands/ListGrantsCommand.js +18 -41
  32. package/dist-cjs/commands/ListKeyPoliciesCommand.js +18 -41
  33. package/dist-cjs/commands/ListKeysCommand.js +18 -41
  34. package/dist-cjs/commands/ListResourceTagsCommand.js +18 -41
  35. package/dist-cjs/commands/ListRetirableGrantsCommand.js +18 -41
  36. package/dist-cjs/commands/PutKeyPolicyCommand.js +18 -41
  37. package/dist-cjs/commands/ReEncryptCommand.js +18 -41
  38. package/dist-cjs/commands/ReplicateKeyCommand.js +18 -41
  39. package/dist-cjs/commands/RetireGrantCommand.js +18 -41
  40. package/dist-cjs/commands/RevokeGrantCommand.js +18 -41
  41. package/dist-cjs/commands/ScheduleKeyDeletionCommand.js +18 -41
  42. package/dist-cjs/commands/SignCommand.js +18 -41
  43. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  44. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  45. package/dist-cjs/commands/UpdateAliasCommand.js +18 -41
  46. package/dist-cjs/commands/UpdateCustomKeyStoreCommand.js +18 -41
  47. package/dist-cjs/commands/UpdateKeyDescriptionCommand.js +18 -41
  48. package/dist-cjs/commands/UpdatePrimaryRegionCommand.js +18 -41
  49. package/dist-cjs/commands/VerifyCommand.js +18 -41
  50. package/dist-cjs/commands/VerifyMacCommand.js +18 -41
  51. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  52. package/dist-es/commands/CancelKeyDeletionCommand.js +18 -41
  53. package/dist-es/commands/ConnectCustomKeyStoreCommand.js +18 -41
  54. package/dist-es/commands/CreateAliasCommand.js +18 -41
  55. package/dist-es/commands/CreateCustomKeyStoreCommand.js +18 -41
  56. package/dist-es/commands/CreateGrantCommand.js +18 -41
  57. package/dist-es/commands/CreateKeyCommand.js +18 -41
  58. package/dist-es/commands/DecryptCommand.js +18 -41
  59. package/dist-es/commands/DeleteAliasCommand.js +18 -41
  60. package/dist-es/commands/DeleteCustomKeyStoreCommand.js +18 -41
  61. package/dist-es/commands/DeleteImportedKeyMaterialCommand.js +18 -41
  62. package/dist-es/commands/DescribeCustomKeyStoresCommand.js +18 -41
  63. package/dist-es/commands/DescribeKeyCommand.js +18 -41
  64. package/dist-es/commands/DisableKeyCommand.js +18 -41
  65. package/dist-es/commands/DisableKeyRotationCommand.js +18 -41
  66. package/dist-es/commands/DisconnectCustomKeyStoreCommand.js +18 -41
  67. package/dist-es/commands/EnableKeyCommand.js +18 -41
  68. package/dist-es/commands/EnableKeyRotationCommand.js +18 -41
  69. package/dist-es/commands/EncryptCommand.js +18 -41
  70. package/dist-es/commands/GenerateDataKeyCommand.js +18 -41
  71. package/dist-es/commands/GenerateDataKeyPairCommand.js +18 -41
  72. package/dist-es/commands/GenerateDataKeyPairWithoutPlaintextCommand.js +18 -41
  73. package/dist-es/commands/GenerateDataKeyWithoutPlaintextCommand.js +18 -41
  74. package/dist-es/commands/GenerateMacCommand.js +18 -41
  75. package/dist-es/commands/GenerateRandomCommand.js +18 -41
  76. package/dist-es/commands/GetKeyPolicyCommand.js +18 -41
  77. package/dist-es/commands/GetKeyRotationStatusCommand.js +18 -41
  78. package/dist-es/commands/GetParametersForImportCommand.js +18 -41
  79. package/dist-es/commands/GetPublicKeyCommand.js +18 -41
  80. package/dist-es/commands/ImportKeyMaterialCommand.js +18 -41
  81. package/dist-es/commands/ListAliasesCommand.js +18 -41
  82. package/dist-es/commands/ListGrantsCommand.js +18 -41
  83. package/dist-es/commands/ListKeyPoliciesCommand.js +18 -41
  84. package/dist-es/commands/ListKeysCommand.js +18 -41
  85. package/dist-es/commands/ListResourceTagsCommand.js +18 -41
  86. package/dist-es/commands/ListRetirableGrantsCommand.js +18 -41
  87. package/dist-es/commands/PutKeyPolicyCommand.js +18 -41
  88. package/dist-es/commands/ReEncryptCommand.js +18 -41
  89. package/dist-es/commands/ReplicateKeyCommand.js +18 -41
  90. package/dist-es/commands/RetireGrantCommand.js +18 -41
  91. package/dist-es/commands/RevokeGrantCommand.js +18 -41
  92. package/dist-es/commands/ScheduleKeyDeletionCommand.js +18 -41
  93. package/dist-es/commands/SignCommand.js +18 -41
  94. package/dist-es/commands/TagResourceCommand.js +18 -41
  95. package/dist-es/commands/UntagResourceCommand.js +18 -41
  96. package/dist-es/commands/UpdateAliasCommand.js +18 -41
  97. package/dist-es/commands/UpdateCustomKeyStoreCommand.js +18 -41
  98. package/dist-es/commands/UpdateKeyDescriptionCommand.js +18 -41
  99. package/dist-es/commands/UpdatePrimaryRegionCommand.js +18 -41
  100. package/dist-es/commands/VerifyCommand.js +18 -41
  101. package/dist-es/commands/VerifyMacCommand.js +18 -41
  102. package/dist-es/endpoint/EndpointParameters.js +6 -0
  103. package/dist-types/commands/CancelKeyDeletionCommand.d.ts +6 -21
  104. package/dist-types/commands/ConnectCustomKeyStoreCommand.d.ts +6 -21
  105. package/dist-types/commands/CreateAliasCommand.d.ts +6 -21
  106. package/dist-types/commands/CreateCustomKeyStoreCommand.d.ts +6 -21
  107. package/dist-types/commands/CreateGrantCommand.d.ts +6 -21
  108. package/dist-types/commands/CreateKeyCommand.d.ts +6 -21
  109. package/dist-types/commands/DecryptCommand.d.ts +6 -21
  110. package/dist-types/commands/DeleteAliasCommand.d.ts +6 -21
  111. package/dist-types/commands/DeleteCustomKeyStoreCommand.d.ts +6 -21
  112. package/dist-types/commands/DeleteImportedKeyMaterialCommand.d.ts +6 -21
  113. package/dist-types/commands/DescribeCustomKeyStoresCommand.d.ts +6 -21
  114. package/dist-types/commands/DescribeKeyCommand.d.ts +6 -21
  115. package/dist-types/commands/DisableKeyCommand.d.ts +6 -21
  116. package/dist-types/commands/DisableKeyRotationCommand.d.ts +6 -21
  117. package/dist-types/commands/DisconnectCustomKeyStoreCommand.d.ts +6 -21
  118. package/dist-types/commands/EnableKeyCommand.d.ts +6 -21
  119. package/dist-types/commands/EnableKeyRotationCommand.d.ts +6 -21
  120. package/dist-types/commands/EncryptCommand.d.ts +6 -21
  121. package/dist-types/commands/GenerateDataKeyCommand.d.ts +6 -21
  122. package/dist-types/commands/GenerateDataKeyPairCommand.d.ts +6 -21
  123. package/dist-types/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +6 -21
  124. package/dist-types/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +6 -21
  125. package/dist-types/commands/GenerateMacCommand.d.ts +6 -21
  126. package/dist-types/commands/GenerateRandomCommand.d.ts +6 -21
  127. package/dist-types/commands/GetKeyPolicyCommand.d.ts +6 -21
  128. package/dist-types/commands/GetKeyRotationStatusCommand.d.ts +6 -21
  129. package/dist-types/commands/GetParametersForImportCommand.d.ts +6 -21
  130. package/dist-types/commands/GetPublicKeyCommand.d.ts +6 -21
  131. package/dist-types/commands/ImportKeyMaterialCommand.d.ts +6 -21
  132. package/dist-types/commands/ListAliasesCommand.d.ts +6 -21
  133. package/dist-types/commands/ListGrantsCommand.d.ts +6 -21
  134. package/dist-types/commands/ListKeyPoliciesCommand.d.ts +6 -21
  135. package/dist-types/commands/ListKeysCommand.d.ts +6 -21
  136. package/dist-types/commands/ListResourceTagsCommand.d.ts +6 -21
  137. package/dist-types/commands/ListRetirableGrantsCommand.d.ts +6 -21
  138. package/dist-types/commands/PutKeyPolicyCommand.d.ts +6 -21
  139. package/dist-types/commands/ReEncryptCommand.d.ts +6 -21
  140. package/dist-types/commands/ReplicateKeyCommand.d.ts +6 -21
  141. package/dist-types/commands/RetireGrantCommand.d.ts +6 -21
  142. package/dist-types/commands/RevokeGrantCommand.d.ts +6 -21
  143. package/dist-types/commands/ScheduleKeyDeletionCommand.d.ts +6 -21
  144. package/dist-types/commands/SignCommand.d.ts +6 -21
  145. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  146. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  147. package/dist-types/commands/UpdateAliasCommand.d.ts +6 -21
  148. package/dist-types/commands/UpdateCustomKeyStoreCommand.d.ts +6 -21
  149. package/dist-types/commands/UpdateKeyDescriptionCommand.d.ts +6 -21
  150. package/dist-types/commands/UpdatePrimaryRegionCommand.d.ts +6 -21
  151. package/dist-types/commands/VerifyCommand.d.ts +6 -21
  152. package/dist-types/commands/VerifyMacCommand.d.ts +6 -21
  153. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  154. package/dist-types/ts3.4/commands/CancelKeyDeletionCommand.d.ts +14 -23
  155. package/dist-types/ts3.4/commands/ConnectCustomKeyStoreCommand.d.ts +12 -24
  156. package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +14 -23
  157. package/dist-types/ts3.4/commands/CreateCustomKeyStoreCommand.d.ts +12 -24
  158. package/dist-types/ts3.4/commands/CreateGrantCommand.d.ts +14 -23
  159. package/dist-types/ts3.4/commands/CreateKeyCommand.d.ts +14 -23
  160. package/dist-types/ts3.4/commands/DecryptCommand.d.ts +12 -23
  161. package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +14 -23
  162. package/dist-types/ts3.4/commands/DeleteCustomKeyStoreCommand.d.ts +12 -24
  163. package/dist-types/ts3.4/commands/DeleteImportedKeyMaterialCommand.d.ts +12 -24
  164. package/dist-types/ts3.4/commands/DescribeCustomKeyStoresCommand.d.ts +12 -24
  165. package/dist-types/ts3.4/commands/DescribeKeyCommand.d.ts +14 -23
  166. package/dist-types/ts3.4/commands/DisableKeyCommand.d.ts +14 -23
  167. package/dist-types/ts3.4/commands/DisableKeyRotationCommand.d.ts +14 -23
  168. package/dist-types/ts3.4/commands/DisconnectCustomKeyStoreCommand.d.ts +12 -24
  169. package/dist-types/ts3.4/commands/EnableKeyCommand.d.ts +14 -23
  170. package/dist-types/ts3.4/commands/EnableKeyRotationCommand.d.ts +14 -23
  171. package/dist-types/ts3.4/commands/EncryptCommand.d.ts +12 -23
  172. package/dist-types/ts3.4/commands/GenerateDataKeyCommand.d.ts +14 -23
  173. package/dist-types/ts3.4/commands/GenerateDataKeyPairCommand.d.ts +14 -23
  174. package/dist-types/ts3.4/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +12 -24
  175. package/dist-types/ts3.4/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +12 -24
  176. package/dist-types/ts3.4/commands/GenerateMacCommand.d.ts +14 -23
  177. package/dist-types/ts3.4/commands/GenerateRandomCommand.d.ts +14 -23
  178. package/dist-types/ts3.4/commands/GetKeyPolicyCommand.d.ts +14 -23
  179. package/dist-types/ts3.4/commands/GetKeyRotationStatusCommand.d.ts +12 -24
  180. package/dist-types/ts3.4/commands/GetParametersForImportCommand.d.ts +12 -24
  181. package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +14 -23
  182. package/dist-types/ts3.4/commands/ImportKeyMaterialCommand.d.ts +14 -23
  183. package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +14 -23
  184. package/dist-types/ts3.4/commands/ListGrantsCommand.d.ts +14 -23
  185. package/dist-types/ts3.4/commands/ListKeyPoliciesCommand.d.ts +14 -23
  186. package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +14 -23
  187. package/dist-types/ts3.4/commands/ListResourceTagsCommand.d.ts +14 -23
  188. package/dist-types/ts3.4/commands/ListRetirableGrantsCommand.d.ts +14 -23
  189. package/dist-types/ts3.4/commands/PutKeyPolicyCommand.d.ts +14 -23
  190. package/dist-types/ts3.4/commands/ReEncryptCommand.d.ts +14 -23
  191. package/dist-types/ts3.4/commands/ReplicateKeyCommand.d.ts +14 -23
  192. package/dist-types/ts3.4/commands/RetireGrantCommand.d.ts +14 -23
  193. package/dist-types/ts3.4/commands/RevokeGrantCommand.d.ts +14 -23
  194. package/dist-types/ts3.4/commands/ScheduleKeyDeletionCommand.d.ts +14 -23
  195. package/dist-types/ts3.4/commands/SignCommand.d.ts +12 -23
  196. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  197. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  198. package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +14 -23
  199. package/dist-types/ts3.4/commands/UpdateCustomKeyStoreCommand.d.ts +12 -24
  200. package/dist-types/ts3.4/commands/UpdateKeyDescriptionCommand.d.ts +12 -24
  201. package/dist-types/ts3.4/commands/UpdatePrimaryRegionCommand.d.ts +14 -23
  202. package/dist-types/ts3.4/commands/VerifyCommand.d.ts +12 -23
  203. package/dist-types/ts3.4/commands/VerifyMacCommand.d.ts +14 -23
  204. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  205. package/package.json +9 -9
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { VerifyMacRequestFilterSensitiveLog } from "../models/models_0";
6
6
  import { de_VerifyMacCommand, se_VerifyMacCommand } from "../protocols/Aws_json1_1";
7
7
  export { $Command };
8
- export class VerifyMacCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, VerifyMacCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "KMSClient";
27
- const commandName = "VerifyMacCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: VerifyMacRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: (_) => _,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "TrentService",
36
- operation: "VerifyMac",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_VerifyMacCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_VerifyMacCommand(output, context);
47
- }
8
+ export class VerifyMacCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("TrentService", "VerifyMac", {})
20
+ .n("KMSClient", "VerifyMacCommand")
21
+ .f(VerifyMacRequestFilterSensitiveLog, void 0)
22
+ .ser(se_VerifyMacCommand)
23
+ .de(de_VerifyMacCommand)
24
+ .build() {
48
25
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "kms",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
5
4
  import { CancelKeyDeletionRequest, CancelKeyDeletionResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CancelKeyDeletionCommandInput extends CancelKeyDeletionRequest
21
20
  */
22
21
  export interface CancelKeyDeletionCommandOutput extends CancelKeyDeletionResponse, __MetadataBearer {
23
22
  }
23
+ declare const CancelKeyDeletionCommand_base: {
24
+ new (input: CancelKeyDeletionCommandInput): import("@smithy/smithy-client").CommandImpl<CancelKeyDeletionCommandInput, CancelKeyDeletionCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Cancels the deletion of a KMS key. When this operation succeeds, the key state of the KMS
@@ -118,23 +121,5 @@ export interface CancelKeyDeletionCommandOutput extends CancelKeyDeletionRespons
118
121
  * ```
119
122
  *
120
123
  */
121
- export declare class CancelKeyDeletionCommand extends $Command<CancelKeyDeletionCommandInput, CancelKeyDeletionCommandOutput, KMSClientResolvedConfig> {
122
- readonly input: CancelKeyDeletionCommandInput;
123
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
124
- /**
125
- * @public
126
- */
127
- constructor(input: CancelKeyDeletionCommandInput);
128
- /**
129
- * @internal
130
- */
131
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelKeyDeletionCommandInput, CancelKeyDeletionCommandOutput>;
132
- /**
133
- * @internal
134
- */
135
- private serialize;
136
- /**
137
- * @internal
138
- */
139
- private deserialize;
124
+ export declare class CancelKeyDeletionCommand extends CancelKeyDeletionCommand_base {
140
125
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
5
4
  import { ConnectCustomKeyStoreRequest, ConnectCustomKeyStoreResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ConnectCustomKeyStoreCommandInput extends ConnectCustomKeyStore
21
20
  */
22
21
  export interface ConnectCustomKeyStoreCommandOutput extends ConnectCustomKeyStoreResponse, __MetadataBearer {
23
22
  }
23
+ declare const ConnectCustomKeyStoreCommand_base: {
24
+ new (input: ConnectCustomKeyStoreCommandInput): import("@smithy/smithy-client").CommandImpl<ConnectCustomKeyStoreCommandInput, ConnectCustomKeyStoreCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Connects or reconnects a <a href="https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html">custom key store</a> to its backing key store. For an CloudHSM key
@@ -233,23 +236,5 @@ export interface ConnectCustomKeyStoreCommandOutput extends ConnectCustomKeyStor
233
236
  * ```
234
237
  *
235
238
  */
236
- export declare class ConnectCustomKeyStoreCommand extends $Command<ConnectCustomKeyStoreCommandInput, ConnectCustomKeyStoreCommandOutput, KMSClientResolvedConfig> {
237
- readonly input: ConnectCustomKeyStoreCommandInput;
238
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
239
- /**
240
- * @public
241
- */
242
- constructor(input: ConnectCustomKeyStoreCommandInput);
243
- /**
244
- * @internal
245
- */
246
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ConnectCustomKeyStoreCommandInput, ConnectCustomKeyStoreCommandOutput>;
247
- /**
248
- * @internal
249
- */
250
- private serialize;
251
- /**
252
- * @internal
253
- */
254
- private deserialize;
239
+ export declare class ConnectCustomKeyStoreCommand extends ConnectCustomKeyStoreCommand_base {
255
240
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
5
4
  import { CreateAliasRequest } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateAliasCommandInput extends CreateAliasRequest {
21
20
  */
22
21
  export interface CreateAliasCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const CreateAliasCommand_base: {
24
+ new (input: CreateAliasCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAliasCommandInput, CreateAliasCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a friendly name for a KMS key. </p>
@@ -164,23 +167,5 @@ export interface CreateAliasCommandOutput extends __MetadataBearer {
164
167
  * ```
165
168
  *
166
169
  */
167
- export declare class CreateAliasCommand extends $Command<CreateAliasCommandInput, CreateAliasCommandOutput, KMSClientResolvedConfig> {
168
- readonly input: CreateAliasCommandInput;
169
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
170
- /**
171
- * @public
172
- */
173
- constructor(input: CreateAliasCommandInput);
174
- /**
175
- * @internal
176
- */
177
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAliasCommandInput, CreateAliasCommandOutput>;
178
- /**
179
- * @internal
180
- */
181
- private serialize;
182
- /**
183
- * @internal
184
- */
185
- private deserialize;
170
+ export declare class CreateAliasCommand extends CreateAliasCommand_base {
186
171
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
5
4
  import { CreateCustomKeyStoreRequest, CreateCustomKeyStoreResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateCustomKeyStoreCommandInput extends CreateCustomKeyStoreRe
21
20
  */
22
21
  export interface CreateCustomKeyStoreCommandOutput extends CreateCustomKeyStoreResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateCustomKeyStoreCommand_base: {
24
+ new (input: CreateCustomKeyStoreCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCustomKeyStoreCommandInput, CreateCustomKeyStoreCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a <a href="https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html">custom key store</a> backed by a key store that you own and manage. When you use a
@@ -347,23 +350,5 @@ export interface CreateCustomKeyStoreCommandOutput extends CreateCustomKeyStoreR
347
350
  * ```
348
351
  *
349
352
  */
350
- export declare class CreateCustomKeyStoreCommand extends $Command<CreateCustomKeyStoreCommandInput, CreateCustomKeyStoreCommandOutput, KMSClientResolvedConfig> {
351
- readonly input: CreateCustomKeyStoreCommandInput;
352
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
353
- /**
354
- * @public
355
- */
356
- constructor(input: CreateCustomKeyStoreCommandInput);
357
- /**
358
- * @internal
359
- */
360
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateCustomKeyStoreCommandInput, CreateCustomKeyStoreCommandOutput>;
361
- /**
362
- * @internal
363
- */
364
- private serialize;
365
- /**
366
- * @internal
367
- */
368
- private deserialize;
353
+ export declare class CreateCustomKeyStoreCommand extends CreateCustomKeyStoreCommand_base {
369
354
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
5
4
  import { CreateGrantRequest, CreateGrantResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateGrantCommandInput extends CreateGrantRequest {
21
20
  */
22
21
  export interface CreateGrantCommandOutput extends CreateGrantResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateGrantCommand_base: {
24
+ new (input: CreateGrantCommandInput): import("@smithy/smithy-client").CommandImpl<CreateGrantCommandInput, CreateGrantCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Adds a grant to a KMS key. </p>
@@ -205,23 +208,5 @@ export interface CreateGrantCommandOutput extends CreateGrantResponse, __Metadat
205
208
  * ```
206
209
  *
207
210
  */
208
- export declare class CreateGrantCommand extends $Command<CreateGrantCommandInput, CreateGrantCommandOutput, KMSClientResolvedConfig> {
209
- readonly input: CreateGrantCommandInput;
210
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
211
- /**
212
- * @public
213
- */
214
- constructor(input: CreateGrantCommandInput);
215
- /**
216
- * @internal
217
- */
218
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateGrantCommandInput, CreateGrantCommandOutput>;
219
- /**
220
- * @internal
221
- */
222
- private serialize;
223
- /**
224
- * @internal
225
- */
226
- private deserialize;
211
+ export declare class CreateGrantCommand extends CreateGrantCommand_base {
227
212
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
5
4
  import { CreateKeyRequest, CreateKeyResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateKeyCommandInput extends CreateKeyRequest {
21
20
  */
22
21
  export interface CreateKeyCommandOutput extends CreateKeyResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateKeyCommand_base: {
24
+ new (input: CreateKeyCommandInput): import("@smithy/smithy-client").CommandImpl<CreateKeyCommandInput, CreateKeyCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a unique customer managed <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#kms-keys">KMS key</a> in your Amazon Web Services account and Region.
@@ -681,23 +684,5 @@ export interface CreateKeyCommandOutput extends CreateKeyResponse, __MetadataBea
681
684
  * ```
682
685
  *
683
686
  */
684
- export declare class CreateKeyCommand extends $Command<CreateKeyCommandInput, CreateKeyCommandOutput, KMSClientResolvedConfig> {
685
- readonly input: CreateKeyCommandInput;
686
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
687
- /**
688
- * @public
689
- */
690
- constructor(input: CreateKeyCommandInput);
691
- /**
692
- * @internal
693
- */
694
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateKeyCommandInput, CreateKeyCommandOutput>;
695
- /**
696
- * @internal
697
- */
698
- private serialize;
699
- /**
700
- * @internal
701
- */
702
- private deserialize;
687
+ export declare class CreateKeyCommand extends CreateKeyCommand_base {
703
688
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
5
4
  import { DecryptRequest, DecryptResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DecryptCommandInput extends DecryptRequest {
21
20
  */
22
21
  export interface DecryptCommandOutput extends DecryptResponse, __MetadataBearer {
23
22
  }
23
+ declare const DecryptCommand_base: {
24
+ new (input: DecryptCommandInput): import("@smithy/smithy-client").CommandImpl<DecryptCommandInput, DecryptCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Decrypts ciphertext that was encrypted by a KMS key using any of the following
@@ -305,23 +308,5 @@ export interface DecryptCommandOutput extends DecryptResponse, __MetadataBearer
305
308
  * ```
306
309
  *
307
310
  */
308
- export declare class DecryptCommand extends $Command<DecryptCommandInput, DecryptCommandOutput, KMSClientResolvedConfig> {
309
- readonly input: DecryptCommandInput;
310
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
311
- /**
312
- * @public
313
- */
314
- constructor(input: DecryptCommandInput);
315
- /**
316
- * @internal
317
- */
318
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DecryptCommandInput, DecryptCommandOutput>;
319
- /**
320
- * @internal
321
- */
322
- private serialize;
323
- /**
324
- * @internal
325
- */
326
- private deserialize;
311
+ export declare class DecryptCommand extends DecryptCommand_base {
327
312
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
5
4
  import { DeleteAliasRequest } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteAliasCommandInput extends DeleteAliasRequest {
21
20
  */
22
21
  export interface DeleteAliasCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const DeleteAliasCommand_base: {
24
+ new (input: DeleteAliasCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAliasCommandInput, DeleteAliasCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes the specified alias. </p>
@@ -142,23 +145,5 @@ export interface DeleteAliasCommandOutput extends __MetadataBearer {
142
145
  * ```
143
146
  *
144
147
  */
145
- export declare class DeleteAliasCommand extends $Command<DeleteAliasCommandInput, DeleteAliasCommandOutput, KMSClientResolvedConfig> {
146
- readonly input: DeleteAliasCommandInput;
147
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
148
- /**
149
- * @public
150
- */
151
- constructor(input: DeleteAliasCommandInput);
152
- /**
153
- * @internal
154
- */
155
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteAliasCommandInput, DeleteAliasCommandOutput>;
156
- /**
157
- * @internal
158
- */
159
- private serialize;
160
- /**
161
- * @internal
162
- */
163
- private deserialize;
148
+ export declare class DeleteAliasCommand extends DeleteAliasCommand_base {
164
149
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
5
4
  import { DeleteCustomKeyStoreRequest, DeleteCustomKeyStoreResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteCustomKeyStoreCommandInput extends DeleteCustomKeyStoreRe
21
20
  */
22
21
  export interface DeleteCustomKeyStoreCommandOutput extends DeleteCustomKeyStoreResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeleteCustomKeyStoreCommand_base: {
24
+ new (input: DeleteCustomKeyStoreCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteCustomKeyStoreCommandInput, DeleteCustomKeyStoreCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes a <a href="https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html">custom key store</a>. This operation does not affect any backing elements of the
@@ -171,23 +174,5 @@ export interface DeleteCustomKeyStoreCommandOutput extends DeleteCustomKeyStoreR
171
174
  * ```
172
175
  *
173
176
  */
174
- export declare class DeleteCustomKeyStoreCommand extends $Command<DeleteCustomKeyStoreCommandInput, DeleteCustomKeyStoreCommandOutput, KMSClientResolvedConfig> {
175
- readonly input: DeleteCustomKeyStoreCommandInput;
176
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
177
- /**
178
- * @public
179
- */
180
- constructor(input: DeleteCustomKeyStoreCommandInput);
181
- /**
182
- * @internal
183
- */
184
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteCustomKeyStoreCommandInput, DeleteCustomKeyStoreCommandOutput>;
185
- /**
186
- * @internal
187
- */
188
- private serialize;
189
- /**
190
- * @internal
191
- */
192
- private deserialize;
177
+ export declare class DeleteCustomKeyStoreCommand extends DeleteCustomKeyStoreCommand_base {
193
178
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
5
4
  import { DeleteImportedKeyMaterialRequest } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteImportedKeyMaterialCommandInput extends DeleteImportedKey
21
20
  */
22
21
  export interface DeleteImportedKeyMaterialCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const DeleteImportedKeyMaterialCommand_base: {
24
+ new (input: DeleteImportedKeyMaterialCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteImportedKeyMaterialCommandInput, DeleteImportedKeyMaterialCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes key material that was previously imported. This operation makes the specified KMS
@@ -130,23 +133,5 @@ export interface DeleteImportedKeyMaterialCommandOutput extends __MetadataBearer
130
133
  * ```
131
134
  *
132
135
  */
133
- export declare class DeleteImportedKeyMaterialCommand extends $Command<DeleteImportedKeyMaterialCommandInput, DeleteImportedKeyMaterialCommandOutput, KMSClientResolvedConfig> {
134
- readonly input: DeleteImportedKeyMaterialCommandInput;
135
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
136
- /**
137
- * @public
138
- */
139
- constructor(input: DeleteImportedKeyMaterialCommandInput);
140
- /**
141
- * @internal
142
- */
143
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteImportedKeyMaterialCommandInput, DeleteImportedKeyMaterialCommandOutput>;
144
- /**
145
- * @internal
146
- */
147
- private serialize;
148
- /**
149
- * @internal
150
- */
151
- private deserialize;
136
+ export declare class DeleteImportedKeyMaterialCommand extends DeleteImportedKeyMaterialCommand_base {
152
137
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
5
4
  import { DescribeCustomKeyStoresRequest, DescribeCustomKeyStoresResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeCustomKeyStoresCommandInput extends DescribeCustomKeySt
21
20
  */
22
21
  export interface DescribeCustomKeyStoresCommandOutput extends DescribeCustomKeyStoresResponse, __MetadataBearer {
23
22
  }
23
+ declare const DescribeCustomKeyStoresCommand_base: {
24
+ new (input: DescribeCustomKeyStoresCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeCustomKeyStoresCommandInput, DescribeCustomKeyStoresCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Gets information about <a href="https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html">custom key stores</a> in the account and Region.</p>
@@ -248,23 +251,5 @@ export interface DescribeCustomKeyStoresCommandOutput extends DescribeCustomKeyS
248
251
  * ```
249
252
  *
250
253
  */
251
- export declare class DescribeCustomKeyStoresCommand extends $Command<DescribeCustomKeyStoresCommandInput, DescribeCustomKeyStoresCommandOutput, KMSClientResolvedConfig> {
252
- readonly input: DescribeCustomKeyStoresCommandInput;
253
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
254
- /**
255
- * @public
256
- */
257
- constructor(input: DescribeCustomKeyStoresCommandInput);
258
- /**
259
- * @internal
260
- */
261
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeCustomKeyStoresCommandInput, DescribeCustomKeyStoresCommandOutput>;
262
- /**
263
- * @internal
264
- */
265
- private serialize;
266
- /**
267
- * @internal
268
- */
269
- private deserialize;
254
+ export declare class DescribeCustomKeyStoresCommand extends DescribeCustomKeyStoresCommand_base {
270
255
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
5
4
  import { DescribeKeyRequest, DescribeKeyResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeKeyCommandInput extends DescribeKeyRequest {
21
20
  */
22
21
  export interface DescribeKeyCommandOutput extends DescribeKeyResponse, __MetadataBearer {
23
22
  }
23
+ declare const DescribeKeyCommand_base: {
24
+ new (input: DescribeKeyCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeKeyCommandInput, DescribeKeyCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Provides detailed information about a KMS key. You can run <code>DescribeKey</code> on a
@@ -426,23 +429,5 @@ export interface DescribeKeyCommandOutput extends DescribeKeyResponse, __Metadat
426
429
  * ```
427
430
  *
428
431
  */
429
- export declare class DescribeKeyCommand extends $Command<DescribeKeyCommandInput, DescribeKeyCommandOutput, KMSClientResolvedConfig> {
430
- readonly input: DescribeKeyCommandInput;
431
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
432
- /**
433
- * @public
434
- */
435
- constructor(input: DescribeKeyCommandInput);
436
- /**
437
- * @internal
438
- */
439
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeKeyCommandInput, DescribeKeyCommandOutput>;
440
- /**
441
- * @internal
442
- */
443
- private serialize;
444
- /**
445
- * @internal
446
- */
447
- private deserialize;
432
+ export declare class DescribeKeyCommand extends DescribeKeyCommand_base {
448
433
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
5
4
  import { DisableKeyRequest } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DisableKeyCommandInput extends DisableKeyRequest {
21
20
  */
22
21
  export interface DisableKeyCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const DisableKeyCommand_base: {
24
+ new (input: DisableKeyCommandInput): import("@smithy/smithy-client").CommandImpl<DisableKeyCommandInput, DisableKeyCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Sets the state of a KMS key to disabled. This change temporarily prevents use of the KMS
@@ -113,23 +116,5 @@ export interface DisableKeyCommandOutput extends __MetadataBearer {
113
116
  * ```
114
117
  *
115
118
  */
116
- export declare class DisableKeyCommand extends $Command<DisableKeyCommandInput, DisableKeyCommandOutput, KMSClientResolvedConfig> {
117
- readonly input: DisableKeyCommandInput;
118
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
119
- /**
120
- * @public
121
- */
122
- constructor(input: DisableKeyCommandInput);
123
- /**
124
- * @internal
125
- */
126
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisableKeyCommandInput, DisableKeyCommandOutput>;
127
- /**
128
- * @internal
129
- */
130
- private serialize;
131
- /**
132
- * @internal
133
- */
134
- private deserialize;
119
+ export declare class DisableKeyCommand extends DisableKeyCommand_base {
135
120
  }