@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,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 { GetPublicKeyRequest, GetPublicKeyResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetPublicKeyCommandInput extends GetPublicKeyRequest {
21
20
  */
22
21
  export interface GetPublicKeyCommandOutput extends GetPublicKeyResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetPublicKeyCommand_base: {
24
+ new (input: GetPublicKeyCommandInput): import("@smithy/smithy-client").CommandImpl<GetPublicKeyCommandInput, GetPublicKeyCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns the public key of an asymmetric KMS key. Unlike the private key of a asymmetric
@@ -208,23 +211,5 @@ export interface GetPublicKeyCommandOutput extends GetPublicKeyResponse, __Metad
208
211
  * ```
209
212
  *
210
213
  */
211
- export declare class GetPublicKeyCommand extends $Command<GetPublicKeyCommandInput, GetPublicKeyCommandOutput, KMSClientResolvedConfig> {
212
- readonly input: GetPublicKeyCommandInput;
213
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
214
- /**
215
- * @public
216
- */
217
- constructor(input: GetPublicKeyCommandInput);
218
- /**
219
- * @internal
220
- */
221
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetPublicKeyCommandInput, GetPublicKeyCommandOutput>;
222
- /**
223
- * @internal
224
- */
225
- private serialize;
226
- /**
227
- * @internal
228
- */
229
- private deserialize;
214
+ export declare class GetPublicKeyCommand extends GetPublicKeyCommand_base {
230
215
  }
@@ -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 { ImportKeyMaterialRequest, ImportKeyMaterialResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ImportKeyMaterialCommandInput extends ImportKeyMaterialRequest
21
20
  */
22
21
  export interface ImportKeyMaterialCommandOutput extends ImportKeyMaterialResponse, __MetadataBearer {
23
22
  }
23
+ declare const ImportKeyMaterialCommand_base: {
24
+ new (input: ImportKeyMaterialCommandInput): import("@smithy/smithy-client").CommandImpl<ImportKeyMaterialCommandInput, ImportKeyMaterialCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Imports or reimports key material into an existing KMS key that was created without key
@@ -246,23 +249,5 @@ export interface ImportKeyMaterialCommandOutput extends ImportKeyMaterialRespons
246
249
  * ```
247
250
  *
248
251
  */
249
- export declare class ImportKeyMaterialCommand extends $Command<ImportKeyMaterialCommandInput, ImportKeyMaterialCommandOutput, KMSClientResolvedConfig> {
250
- readonly input: ImportKeyMaterialCommandInput;
251
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
252
- /**
253
- * @public
254
- */
255
- constructor(input: ImportKeyMaterialCommandInput);
256
- /**
257
- * @internal
258
- */
259
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ImportKeyMaterialCommandInput, ImportKeyMaterialCommandOutput>;
260
- /**
261
- * @internal
262
- */
263
- private serialize;
264
- /**
265
- * @internal
266
- */
267
- private deserialize;
252
+ export declare class ImportKeyMaterialCommand extends ImportKeyMaterialCommand_base {
268
253
  }
@@ -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 { ListAliasesRequest, ListAliasesResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListAliasesCommandInput extends ListAliasesRequest {
21
20
  */
22
21
  export interface ListAliasesCommandOutput extends ListAliasesResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListAliasesCommand_base: {
24
+ new (input: ListAliasesCommandInput): import("@smithy/smithy-client").CommandImpl<ListAliasesCommandInput, ListAliasesCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Gets a list of aliases in the caller's Amazon Web Services account and region. For more information
@@ -182,23 +185,5 @@ export interface ListAliasesCommandOutput extends ListAliasesResponse, __Metadat
182
185
  * ```
183
186
  *
184
187
  */
185
- export declare class ListAliasesCommand extends $Command<ListAliasesCommandInput, ListAliasesCommandOutput, KMSClientResolvedConfig> {
186
- readonly input: ListAliasesCommandInput;
187
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
188
- /**
189
- * @public
190
- */
191
- constructor(input: ListAliasesCommandInput);
192
- /**
193
- * @internal
194
- */
195
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAliasesCommandInput, ListAliasesCommandOutput>;
196
- /**
197
- * @internal
198
- */
199
- private serialize;
200
- /**
201
- * @internal
202
- */
203
- private deserialize;
188
+ export declare class ListAliasesCommand extends ListAliasesCommand_base {
204
189
  }
@@ -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 { ListGrantsRequest, ListGrantsResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListGrantsCommandInput extends ListGrantsRequest {
21
20
  */
22
21
  export interface ListGrantsCommandOutput extends ListGrantsResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListGrantsCommand_base: {
24
+ new (input: ListGrantsCommandInput): import("@smithy/smithy-client").CommandImpl<ListGrantsCommandInput, ListGrantsCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Gets a list of all grants for the specified KMS key. </p>
@@ -237,23 +240,5 @@ export interface ListGrantsCommandOutput extends ListGrantsResponse, __MetadataB
237
240
  * ```
238
241
  *
239
242
  */
240
- export declare class ListGrantsCommand extends $Command<ListGrantsCommandInput, ListGrantsCommandOutput, KMSClientResolvedConfig> {
241
- readonly input: ListGrantsCommandInput;
242
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
243
- /**
244
- * @public
245
- */
246
- constructor(input: ListGrantsCommandInput);
247
- /**
248
- * @internal
249
- */
250
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListGrantsCommandInput, ListGrantsCommandOutput>;
251
- /**
252
- * @internal
253
- */
254
- private serialize;
255
- /**
256
- * @internal
257
- */
258
- private deserialize;
243
+ export declare class ListGrantsCommand extends ListGrantsCommand_base {
259
244
  }
@@ -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 { ListKeyPoliciesRequest, ListKeyPoliciesResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListKeyPoliciesCommandInput extends ListKeyPoliciesRequest {
21
20
  */
22
21
  export interface ListKeyPoliciesCommandOutput extends ListKeyPoliciesResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListKeyPoliciesCommand_base: {
24
+ new (input: ListKeyPoliciesCommandInput): import("@smithy/smithy-client").CommandImpl<ListKeyPoliciesCommandInput, ListKeyPoliciesCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Gets the names of the key policies that are attached to a KMS key. This operation is
@@ -136,23 +139,5 @@ export interface ListKeyPoliciesCommandOutput extends ListKeyPoliciesResponse, _
136
139
  * ```
137
140
  *
138
141
  */
139
- export declare class ListKeyPoliciesCommand extends $Command<ListKeyPoliciesCommandInput, ListKeyPoliciesCommandOutput, KMSClientResolvedConfig> {
140
- readonly input: ListKeyPoliciesCommandInput;
141
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
142
- /**
143
- * @public
144
- */
145
- constructor(input: ListKeyPoliciesCommandInput);
146
- /**
147
- * @internal
148
- */
149
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListKeyPoliciesCommandInput, ListKeyPoliciesCommandOutput>;
150
- /**
151
- * @internal
152
- */
153
- private serialize;
154
- /**
155
- * @internal
156
- */
157
- private deserialize;
142
+ export declare class ListKeyPoliciesCommand extends ListKeyPoliciesCommand_base {
158
143
  }
@@ -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 { ListKeysRequest, ListKeysResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListKeysCommandInput extends ListKeysRequest {
21
20
  */
22
21
  export interface ListKeysCommandOutput extends ListKeysResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListKeysCommand_base: {
24
+ new (input: ListKeysCommandInput): import("@smithy/smithy-client").CommandImpl<ListKeysCommandInput, ListKeysCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Gets a list of all KMS keys in the caller's Amazon Web Services account and Region.</p>
@@ -147,23 +150,5 @@ export interface ListKeysCommandOutput extends ListKeysResponse, __MetadataBeare
147
150
  * ```
148
151
  *
149
152
  */
150
- export declare class ListKeysCommand extends $Command<ListKeysCommandInput, ListKeysCommandOutput, KMSClientResolvedConfig> {
151
- readonly input: ListKeysCommandInput;
152
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
153
- /**
154
- * @public
155
- */
156
- constructor(input: ListKeysCommandInput);
157
- /**
158
- * @internal
159
- */
160
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListKeysCommandInput, ListKeysCommandOutput>;
161
- /**
162
- * @internal
163
- */
164
- private serialize;
165
- /**
166
- * @internal
167
- */
168
- private deserialize;
153
+ export declare class ListKeysCommand extends ListKeysCommand_base {
169
154
  }
@@ -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 { ListResourceTagsRequest, ListResourceTagsResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListResourceTagsCommandInput extends ListResourceTagsRequest {
21
20
  */
22
21
  export interface ListResourceTagsCommandOutput extends ListResourceTagsResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListResourceTagsCommand_base: {
24
+ new (input: ListResourceTagsCommandInput): import("@smithy/smithy-client").CommandImpl<ListResourceTagsCommandInput, ListResourceTagsCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns all tags on the specified KMS key.</p>
@@ -142,23 +145,5 @@ export interface ListResourceTagsCommandOutput extends ListResourceTagsResponse,
142
145
  * ```
143
146
  *
144
147
  */
145
- export declare class ListResourceTagsCommand extends $Command<ListResourceTagsCommandInput, ListResourceTagsCommandOutput, KMSClientResolvedConfig> {
146
- readonly input: ListResourceTagsCommandInput;
147
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
148
- /**
149
- * @public
150
- */
151
- constructor(input: ListResourceTagsCommandInput);
152
- /**
153
- * @internal
154
- */
155
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListResourceTagsCommandInput, ListResourceTagsCommandOutput>;
156
- /**
157
- * @internal
158
- */
159
- private serialize;
160
- /**
161
- * @internal
162
- */
163
- private deserialize;
148
+ export declare class ListResourceTagsCommand extends ListResourceTagsCommand_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 { ListGrantsResponse, ListRetirableGrantsRequest } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListRetirableGrantsCommandInput extends ListRetirableGrantsRequ
21
20
  */
22
21
  export interface ListRetirableGrantsCommandOutput extends ListGrantsResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListRetirableGrantsCommand_base: {
24
+ new (input: ListRetirableGrantsCommandInput): import("@smithy/smithy-client").CommandImpl<ListRetirableGrantsCommandInput, ListRetirableGrantsCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns information about all grants in the Amazon Web Services account and Region that have the
@@ -180,23 +183,5 @@ export interface ListRetirableGrantsCommandOutput extends ListGrantsResponse, __
180
183
  * ```
181
184
  *
182
185
  */
183
- export declare class ListRetirableGrantsCommand extends $Command<ListRetirableGrantsCommandInput, ListRetirableGrantsCommandOutput, KMSClientResolvedConfig> {
184
- readonly input: ListRetirableGrantsCommandInput;
185
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
186
- /**
187
- * @public
188
- */
189
- constructor(input: ListRetirableGrantsCommandInput);
190
- /**
191
- * @internal
192
- */
193
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRetirableGrantsCommandInput, ListRetirableGrantsCommandOutput>;
194
- /**
195
- * @internal
196
- */
197
- private serialize;
198
- /**
199
- * @internal
200
- */
201
- private deserialize;
186
+ export declare class ListRetirableGrantsCommand extends ListRetirableGrantsCommand_base {
202
187
  }
@@ -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 { PutKeyPolicyRequest } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface PutKeyPolicyCommandInput extends PutKeyPolicyRequest {
21
20
  */
22
21
  export interface PutKeyPolicyCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const PutKeyPolicyCommand_base: {
24
+ new (input: PutKeyPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<PutKeyPolicyCommandInput, PutKeyPolicyCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Attaches a key policy to the specified KMS key. </p>
@@ -128,23 +131,5 @@ export interface PutKeyPolicyCommandOutput extends __MetadataBearer {
128
131
  * ```
129
132
  *
130
133
  */
131
- export declare class PutKeyPolicyCommand extends $Command<PutKeyPolicyCommandInput, PutKeyPolicyCommandOutput, KMSClientResolvedConfig> {
132
- readonly input: PutKeyPolicyCommandInput;
133
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
134
- /**
135
- * @public
136
- */
137
- constructor(input: PutKeyPolicyCommandInput);
138
- /**
139
- * @internal
140
- */
141
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutKeyPolicyCommandInput, PutKeyPolicyCommandOutput>;
142
- /**
143
- * @internal
144
- */
145
- private serialize;
146
- /**
147
- * @internal
148
- */
149
- private deserialize;
134
+ export declare class PutKeyPolicyCommand extends PutKeyPolicyCommand_base {
150
135
  }
@@ -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 { ReEncryptRequest, ReEncryptResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ReEncryptCommandInput extends ReEncryptRequest {
21
20
  */
22
21
  export interface ReEncryptCommandOutput extends ReEncryptResponse, __MetadataBearer {
23
22
  }
23
+ declare const ReEncryptCommand_base: {
24
+ new (input: ReEncryptCommandInput): import("@smithy/smithy-client").CommandImpl<ReEncryptCommandInput, ReEncryptCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Decrypts ciphertext and then reencrypts it entirely within KMS. You can use this
@@ -265,23 +268,5 @@ export interface ReEncryptCommandOutput extends ReEncryptResponse, __MetadataBea
265
268
  * ```
266
269
  *
267
270
  */
268
- export declare class ReEncryptCommand extends $Command<ReEncryptCommandInput, ReEncryptCommandOutput, KMSClientResolvedConfig> {
269
- readonly input: ReEncryptCommandInput;
270
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
271
- /**
272
- * @public
273
- */
274
- constructor(input: ReEncryptCommandInput);
275
- /**
276
- * @internal
277
- */
278
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ReEncryptCommandInput, ReEncryptCommandOutput>;
279
- /**
280
- * @internal
281
- */
282
- private serialize;
283
- /**
284
- * @internal
285
- */
286
- private deserialize;
271
+ export declare class ReEncryptCommand extends ReEncryptCommand_base {
287
272
  }
@@ -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 { ReplicateKeyRequest, ReplicateKeyResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ReplicateKeyCommandInput extends ReplicateKeyRequest {
21
20
  */
22
21
  export interface ReplicateKeyCommandOutput extends ReplicateKeyResponse, __MetadataBearer {
23
22
  }
23
+ declare const ReplicateKeyCommand_base: {
24
+ new (input: ReplicateKeyCommandInput): import("@smithy/smithy-client").CommandImpl<ReplicateKeyCommandInput, ReplicateKeyCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Replicates a multi-Region key into the specified Region. This operation creates a
@@ -300,23 +303,5 @@ export interface ReplicateKeyCommandOutput extends ReplicateKeyResponse, __Metad
300
303
  * ```
301
304
  *
302
305
  */
303
- export declare class ReplicateKeyCommand extends $Command<ReplicateKeyCommandInput, ReplicateKeyCommandOutput, KMSClientResolvedConfig> {
304
- readonly input: ReplicateKeyCommandInput;
305
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
306
- /**
307
- * @public
308
- */
309
- constructor(input: ReplicateKeyCommandInput);
310
- /**
311
- * @internal
312
- */
313
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ReplicateKeyCommandInput, ReplicateKeyCommandOutput>;
314
- /**
315
- * @internal
316
- */
317
- private serialize;
318
- /**
319
- * @internal
320
- */
321
- private deserialize;
306
+ export declare class ReplicateKeyCommand extends ReplicateKeyCommand_base {
322
307
  }
@@ -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 { RetireGrantRequest } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface RetireGrantCommandInput extends RetireGrantRequest {
21
20
  */
22
21
  export interface RetireGrantCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const RetireGrantCommand_base: {
24
+ new (input: RetireGrantCommandInput): import("@smithy/smithy-client").CommandImpl<RetireGrantCommandInput, RetireGrantCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes a grant. Typically, you retire a grant when you no longer need its permissions. To
@@ -157,23 +160,5 @@ export interface RetireGrantCommandOutput extends __MetadataBearer {
157
160
  * ```
158
161
  *
159
162
  */
160
- export declare class RetireGrantCommand extends $Command<RetireGrantCommandInput, RetireGrantCommandOutput, KMSClientResolvedConfig> {
161
- readonly input: RetireGrantCommandInput;
162
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
163
- /**
164
- * @public
165
- */
166
- constructor(input: RetireGrantCommandInput);
167
- /**
168
- * @internal
169
- */
170
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RetireGrantCommandInput, RetireGrantCommandOutput>;
171
- /**
172
- * @internal
173
- */
174
- private serialize;
175
- /**
176
- * @internal
177
- */
178
- private deserialize;
163
+ export declare class RetireGrantCommand extends RetireGrantCommand_base {
179
164
  }
@@ -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 { RevokeGrantRequest } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface RevokeGrantCommandInput extends RevokeGrantRequest {
21
20
  */
22
21
  export interface RevokeGrantCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const RevokeGrantCommand_base: {
24
+ new (input: RevokeGrantCommandInput): import("@smithy/smithy-client").CommandImpl<RevokeGrantCommandInput, RevokeGrantCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes the specified grant. You revoke a grant to terminate the permissions that the
@@ -151,23 +154,5 @@ export interface RevokeGrantCommandOutput extends __MetadataBearer {
151
154
  * ```
152
155
  *
153
156
  */
154
- export declare class RevokeGrantCommand extends $Command<RevokeGrantCommandInput, RevokeGrantCommandOutput, KMSClientResolvedConfig> {
155
- readonly input: RevokeGrantCommandInput;
156
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
157
- /**
158
- * @public
159
- */
160
- constructor(input: RevokeGrantCommandInput);
161
- /**
162
- * @internal
163
- */
164
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RevokeGrantCommandInput, RevokeGrantCommandOutput>;
165
- /**
166
- * @internal
167
- */
168
- private serialize;
169
- /**
170
- * @internal
171
- */
172
- private deserialize;
157
+ export declare class RevokeGrantCommand extends RevokeGrantCommand_base {
173
158
  }
@@ -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 { ScheduleKeyDeletionRequest, ScheduleKeyDeletionResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ScheduleKeyDeletionCommandInput extends ScheduleKeyDeletionRequ
21
20
  */
22
21
  export interface ScheduleKeyDeletionCommandOutput extends ScheduleKeyDeletionResponse, __MetadataBearer {
23
22
  }
23
+ declare const ScheduleKeyDeletionCommand_base: {
24
+ new (input: ScheduleKeyDeletionCommandInput): import("@smithy/smithy-client").CommandImpl<ScheduleKeyDeletionCommandInput, ScheduleKeyDeletionCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Schedules the deletion of a KMS key. By default, KMS applies a waiting period of 30
@@ -168,23 +171,5 @@ export interface ScheduleKeyDeletionCommandOutput extends ScheduleKeyDeletionRes
168
171
  * ```
169
172
  *
170
173
  */
171
- export declare class ScheduleKeyDeletionCommand extends $Command<ScheduleKeyDeletionCommandInput, ScheduleKeyDeletionCommandOutput, KMSClientResolvedConfig> {
172
- readonly input: ScheduleKeyDeletionCommandInput;
173
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
174
- /**
175
- * @public
176
- */
177
- constructor(input: ScheduleKeyDeletionCommandInput);
178
- /**
179
- * @internal
180
- */
181
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ScheduleKeyDeletionCommandInput, ScheduleKeyDeletionCommandOutput>;
182
- /**
183
- * @internal
184
- */
185
- private serialize;
186
- /**
187
- * @internal
188
- */
189
- private deserialize;
174
+ export declare class ScheduleKeyDeletionCommand extends ScheduleKeyDeletionCommand_base {
190
175
  }
@@ -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 { SignRequest, SignResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface SignCommandInput extends SignRequest {
21
20
  */
22
21
  export interface SignCommandOutput extends SignResponse, __MetadataBearer {
23
22
  }
23
+ declare const SignCommand_base: {
24
+ new (input: SignCommandInput): import("@smithy/smithy-client").CommandImpl<SignCommandInput, SignCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a <a href="https://en.wikipedia.org/wiki/Digital_signature">digital
@@ -222,23 +225,5 @@ export interface SignCommandOutput extends SignResponse, __MetadataBearer {
222
225
  * ```
223
226
  *
224
227
  */
225
- export declare class SignCommand extends $Command<SignCommandInput, SignCommandOutput, KMSClientResolvedConfig> {
226
- readonly input: SignCommandInput;
227
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
228
- /**
229
- * @public
230
- */
231
- constructor(input: SignCommandInput);
232
- /**
233
- * @internal
234
- */
235
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SignCommandInput, SignCommandOutput>;
236
- /**
237
- * @internal
238
- */
239
- private serialize;
240
- /**
241
- * @internal
242
- */
243
- private deserialize;
228
+ export declare class SignCommand extends SignCommand_base {
244
229
  }