@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 { TagResourceRequest } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface TagResourceCommandInput extends TagResourceRequest {
21
20
  */
22
21
  export interface TagResourceCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const TagResourceCommand_base: {
24
+ new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Adds or edits tags on a <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk">customer managed key</a>.</p>
@@ -160,23 +163,5 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
160
163
  * ```
161
164
  *
162
165
  */
163
- export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, KMSClientResolvedConfig> {
164
- readonly input: TagResourceCommandInput;
165
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
166
- /**
167
- * @public
168
- */
169
- constructor(input: TagResourceCommandInput);
170
- /**
171
- * @internal
172
- */
173
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
174
- /**
175
- * @internal
176
- */
177
- private serialize;
178
- /**
179
- * @internal
180
- */
181
- private deserialize;
166
+ export declare class TagResourceCommand extends TagResourceCommand_base {
182
167
  }
@@ -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 { UntagResourceRequest } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface UntagResourceCommandInput extends UntagResourceRequest {
21
20
  */
22
21
  export interface UntagResourceCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const UntagResourceCommand_base: {
24
+ new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes tags from a <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk">customer managed key</a>. To delete a tag,
@@ -146,23 +149,5 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
146
149
  * ```
147
150
  *
148
151
  */
149
- export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, KMSClientResolvedConfig> {
150
- readonly input: UntagResourceCommandInput;
151
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
152
- /**
153
- * @public
154
- */
155
- constructor(input: UntagResourceCommandInput);
156
- /**
157
- * @internal
158
- */
159
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
160
- /**
161
- * @internal
162
- */
163
- private serialize;
164
- /**
165
- * @internal
166
- */
167
- private deserialize;
152
+ export declare class UntagResourceCommand extends UntagResourceCommand_base {
168
153
  }
@@ -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 { UpdateAliasRequest } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface UpdateAliasCommandInput extends UpdateAliasRequest {
21
20
  */
22
21
  export interface UpdateAliasCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const UpdateAliasCommand_base: {
24
+ new (input: UpdateAliasCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAliasCommandInput, UpdateAliasCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Associates an existing KMS alias with a different KMS key. Each alias is associated with
@@ -163,23 +166,5 @@ export interface UpdateAliasCommandOutput extends __MetadataBearer {
163
166
  * ```
164
167
  *
165
168
  */
166
- export declare class UpdateAliasCommand extends $Command<UpdateAliasCommandInput, UpdateAliasCommandOutput, KMSClientResolvedConfig> {
167
- readonly input: UpdateAliasCommandInput;
168
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
169
- /**
170
- * @public
171
- */
172
- constructor(input: UpdateAliasCommandInput);
173
- /**
174
- * @internal
175
- */
176
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateAliasCommandInput, UpdateAliasCommandOutput>;
177
- /**
178
- * @internal
179
- */
180
- private serialize;
181
- /**
182
- * @internal
183
- */
184
- private deserialize;
169
+ export declare class UpdateAliasCommand extends UpdateAliasCommand_base {
185
170
  }
@@ -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 { UpdateCustomKeyStoreRequest, UpdateCustomKeyStoreResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface UpdateCustomKeyStoreCommandInput extends UpdateCustomKeyStoreRe
21
20
  */
22
21
  export interface UpdateCustomKeyStoreCommandOutput extends UpdateCustomKeyStoreResponse, __MetadataBearer {
23
22
  }
23
+ declare const UpdateCustomKeyStoreCommand_base: {
24
+ new (input: UpdateCustomKeyStoreCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateCustomKeyStoreCommandInput, UpdateCustomKeyStoreCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Changes the properties of a custom key store. You can use this operation to change the
@@ -389,23 +392,5 @@ export interface UpdateCustomKeyStoreCommandOutput extends UpdateCustomKeyStoreR
389
392
  * ```
390
393
  *
391
394
  */
392
- export declare class UpdateCustomKeyStoreCommand extends $Command<UpdateCustomKeyStoreCommandInput, UpdateCustomKeyStoreCommandOutput, KMSClientResolvedConfig> {
393
- readonly input: UpdateCustomKeyStoreCommandInput;
394
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
395
- /**
396
- * @public
397
- */
398
- constructor(input: UpdateCustomKeyStoreCommandInput);
399
- /**
400
- * @internal
401
- */
402
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateCustomKeyStoreCommandInput, UpdateCustomKeyStoreCommandOutput>;
403
- /**
404
- * @internal
405
- */
406
- private serialize;
407
- /**
408
- * @internal
409
- */
410
- private deserialize;
395
+ export declare class UpdateCustomKeyStoreCommand extends UpdateCustomKeyStoreCommand_base {
411
396
  }
@@ -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 { UpdateKeyDescriptionRequest } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface UpdateKeyDescriptionCommandInput extends UpdateKeyDescriptionRe
21
20
  */
22
21
  export interface UpdateKeyDescriptionCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const UpdateKeyDescriptionCommand_base: {
24
+ new (input: UpdateKeyDescriptionCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateKeyDescriptionCommandInput, UpdateKeyDescriptionCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Updates the description of a KMS key. To see the description of a KMS key, use <a>DescribeKey</a>. </p>
@@ -122,23 +125,5 @@ export interface UpdateKeyDescriptionCommandOutput extends __MetadataBearer {
122
125
  * ```
123
126
  *
124
127
  */
125
- export declare class UpdateKeyDescriptionCommand extends $Command<UpdateKeyDescriptionCommandInput, UpdateKeyDescriptionCommandOutput, KMSClientResolvedConfig> {
126
- readonly input: UpdateKeyDescriptionCommandInput;
127
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
128
- /**
129
- * @public
130
- */
131
- constructor(input: UpdateKeyDescriptionCommandInput);
132
- /**
133
- * @internal
134
- */
135
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateKeyDescriptionCommandInput, UpdateKeyDescriptionCommandOutput>;
136
- /**
137
- * @internal
138
- */
139
- private serialize;
140
- /**
141
- * @internal
142
- */
143
- private deserialize;
128
+ export declare class UpdateKeyDescriptionCommand extends UpdateKeyDescriptionCommand_base {
144
129
  }
@@ -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 { UpdatePrimaryRegionRequest } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface UpdatePrimaryRegionCommandInput extends UpdatePrimaryRegionRequ
21
20
  */
22
21
  export interface UpdatePrimaryRegionCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const UpdatePrimaryRegionCommand_base: {
24
+ new (input: UpdatePrimaryRegionCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePrimaryRegionCommandInput, UpdatePrimaryRegionCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Changes the primary key of a multi-Region key. </p>
@@ -172,23 +175,5 @@ export interface UpdatePrimaryRegionCommandOutput extends __MetadataBearer {
172
175
  * ```
173
176
  *
174
177
  */
175
- export declare class UpdatePrimaryRegionCommand extends $Command<UpdatePrimaryRegionCommandInput, UpdatePrimaryRegionCommandOutput, KMSClientResolvedConfig> {
176
- readonly input: UpdatePrimaryRegionCommandInput;
177
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
178
- /**
179
- * @public
180
- */
181
- constructor(input: UpdatePrimaryRegionCommandInput);
182
- /**
183
- * @internal
184
- */
185
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdatePrimaryRegionCommandInput, UpdatePrimaryRegionCommandOutput>;
186
- /**
187
- * @internal
188
- */
189
- private serialize;
190
- /**
191
- * @internal
192
- */
193
- private deserialize;
178
+ export declare class UpdatePrimaryRegionCommand extends UpdatePrimaryRegionCommand_base {
194
179
  }
@@ -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 { VerifyRequest, VerifyResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface VerifyCommandInput extends VerifyRequest {
21
20
  */
22
21
  export interface VerifyCommandOutput extends VerifyResponse, __MetadataBearer {
23
22
  }
23
+ declare const VerifyCommand_base: {
24
+ new (input: VerifyCommandInput): import("@smithy/smithy-client").CommandImpl<VerifyCommandInput, VerifyCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Verifies a digital signature that was generated by the <a>Sign</a> operation. </p>
@@ -213,23 +216,5 @@ export interface VerifyCommandOutput extends VerifyResponse, __MetadataBearer {
213
216
  * ```
214
217
  *
215
218
  */
216
- export declare class VerifyCommand extends $Command<VerifyCommandInput, VerifyCommandOutput, KMSClientResolvedConfig> {
217
- readonly input: VerifyCommandInput;
218
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
219
- /**
220
- * @public
221
- */
222
- constructor(input: VerifyCommandInput);
223
- /**
224
- * @internal
225
- */
226
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<VerifyCommandInput, VerifyCommandOutput>;
227
- /**
228
- * @internal
229
- */
230
- private serialize;
231
- /**
232
- * @internal
233
- */
234
- private deserialize;
219
+ export declare class VerifyCommand extends VerifyCommand_base {
235
220
  }
@@ -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 { VerifyMacRequest, VerifyMacResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface VerifyMacCommandInput extends VerifyMacRequest {
21
20
  */
22
21
  export interface VerifyMacCommandOutput extends VerifyMacResponse, __MetadataBearer {
23
22
  }
23
+ declare const VerifyMacCommand_base: {
24
+ new (input: VerifyMacCommandInput): import("@smithy/smithy-client").CommandImpl<VerifyMacCommandInput, VerifyMacCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Verifies the hash-based message authentication code (HMAC) for a specified message, HMAC
@@ -171,23 +174,5 @@ export interface VerifyMacCommandOutput extends VerifyMacResponse, __MetadataBea
171
174
  * ```
172
175
  *
173
176
  */
174
- export declare class VerifyMacCommand extends $Command<VerifyMacCommandInput, VerifyMacCommandOutput, KMSClientResolvedConfig> {
175
- readonly input: VerifyMacCommandInput;
176
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
177
- /**
178
- * @public
179
- */
180
- constructor(input: VerifyMacCommandInput);
181
- /**
182
- * @internal
183
- */
184
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<VerifyMacCommandInput, VerifyMacCommandOutput>;
185
- /**
186
- * @internal
187
- */
188
- private serialize;
189
- /**
190
- * @internal
191
- */
192
- private deserialize;
177
+ export declare class VerifyMacCommand extends VerifyMacCommand_base {
193
178
  }
@@ -14,6 +14,24 @@ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
14
14
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
15
15
  defaultSigningName: string;
16
16
  };
17
+ export declare const commonParams: {
18
+ readonly UseFIPS: {
19
+ readonly type: "builtInParams";
20
+ readonly name: "useFipsEndpoint";
21
+ };
22
+ readonly Endpoint: {
23
+ readonly type: "builtInParams";
24
+ readonly name: "endpoint";
25
+ };
26
+ readonly Region: {
27
+ readonly type: "builtInParams";
28
+ readonly name: "region";
29
+ };
30
+ readonly UseDualStack: {
31
+ readonly type: "builtInParams";
32
+ readonly name: "useDualstackEndpoint";
33
+ };
34
+ };
17
35
  export interface EndpointParameters extends __EndpointParameters {
18
36
  Region?: string;
19
37
  UseDualStack?: boolean;
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  KMSClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -21,19 +15,16 @@ export interface CancelKeyDeletionCommandInput
21
15
  export interface CancelKeyDeletionCommandOutput
22
16
  extends CancelKeyDeletionResponse,
23
17
  __MetadataBearer {}
24
- export declare class CancelKeyDeletionCommand extends $Command<
25
- CancelKeyDeletionCommandInput,
26
- CancelKeyDeletionCommandOutput,
27
- KMSClientResolvedConfig
28
- > {
29
- readonly input: CancelKeyDeletionCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: CancelKeyDeletionCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: KMSClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<CancelKeyDeletionCommandInput, CancelKeyDeletionCommandOutput>;
37
- private serialize;
38
- private deserialize;
39
- }
18
+ declare const CancelKeyDeletionCommand_base: {
19
+ new (
20
+ input: CancelKeyDeletionCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ CancelKeyDeletionCommandInput,
23
+ CancelKeyDeletionCommandOutput,
24
+ KMSClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class CancelKeyDeletionCommand extends CancelKeyDeletionCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  KMSClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -21,22 +15,16 @@ export interface ConnectCustomKeyStoreCommandInput
21
15
  export interface ConnectCustomKeyStoreCommandOutput
22
16
  extends ConnectCustomKeyStoreResponse,
23
17
  __MetadataBearer {}
24
- export declare class ConnectCustomKeyStoreCommand extends $Command<
25
- ConnectCustomKeyStoreCommandInput,
26
- ConnectCustomKeyStoreCommandOutput,
27
- KMSClientResolvedConfig
28
- > {
29
- readonly input: ConnectCustomKeyStoreCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: ConnectCustomKeyStoreCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: KMSClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<
18
+ declare const ConnectCustomKeyStoreCommand_base: {
19
+ new (
20
+ input: ConnectCustomKeyStoreCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
37
22
  ConnectCustomKeyStoreCommandInput,
38
- ConnectCustomKeyStoreCommandOutput
23
+ ConnectCustomKeyStoreCommandOutput,
24
+ KMSClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
39
27
  >;
40
- private serialize;
41
- private deserialize;
42
- }
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class ConnectCustomKeyStoreCommand extends ConnectCustomKeyStoreCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  KMSClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -15,19 +9,16 @@ import { CreateAliasRequest } from "../models/models_0";
15
9
  export { __MetadataBearer, $Command };
16
10
  export interface CreateAliasCommandInput extends CreateAliasRequest {}
17
11
  export interface CreateAliasCommandOutput extends __MetadataBearer {}
18
- export declare class CreateAliasCommand extends $Command<
19
- CreateAliasCommandInput,
20
- CreateAliasCommandOutput,
21
- KMSClientResolvedConfig
22
- > {
23
- readonly input: CreateAliasCommandInput;
24
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
25
- constructor(input: CreateAliasCommandInput);
26
- resolveMiddleware(
27
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
28
- configuration: KMSClientResolvedConfig,
29
- options?: __HttpHandlerOptions
30
- ): Handler<CreateAliasCommandInput, CreateAliasCommandOutput>;
31
- private serialize;
32
- private deserialize;
33
- }
12
+ declare const CreateAliasCommand_base: {
13
+ new (
14
+ input: CreateAliasCommandInput
15
+ ): import("@smithy/smithy-client").CommandImpl<
16
+ CreateAliasCommandInput,
17
+ CreateAliasCommandOutput,
18
+ KMSClientResolvedConfig,
19
+ ServiceInputTypes,
20
+ ServiceOutputTypes
21
+ >;
22
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
23
+ };
24
+ export declare class CreateAliasCommand extends CreateAliasCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  KMSClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -21,22 +15,16 @@ export interface CreateCustomKeyStoreCommandInput
21
15
  export interface CreateCustomKeyStoreCommandOutput
22
16
  extends CreateCustomKeyStoreResponse,
23
17
  __MetadataBearer {}
24
- export declare class CreateCustomKeyStoreCommand extends $Command<
25
- CreateCustomKeyStoreCommandInput,
26
- CreateCustomKeyStoreCommandOutput,
27
- KMSClientResolvedConfig
28
- > {
29
- readonly input: CreateCustomKeyStoreCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: CreateCustomKeyStoreCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: KMSClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<
18
+ declare const CreateCustomKeyStoreCommand_base: {
19
+ new (
20
+ input: CreateCustomKeyStoreCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
37
22
  CreateCustomKeyStoreCommandInput,
38
- CreateCustomKeyStoreCommandOutput
23
+ CreateCustomKeyStoreCommandOutput,
24
+ KMSClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
39
27
  >;
40
- private serialize;
41
- private deserialize;
42
- }
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class CreateCustomKeyStoreCommand extends CreateCustomKeyStoreCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  KMSClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -17,19 +11,16 @@ export interface CreateGrantCommandInput extends CreateGrantRequest {}
17
11
  export interface CreateGrantCommandOutput
18
12
  extends CreateGrantResponse,
19
13
  __MetadataBearer {}
20
- export declare class CreateGrantCommand extends $Command<
21
- CreateGrantCommandInput,
22
- CreateGrantCommandOutput,
23
- KMSClientResolvedConfig
24
- > {
25
- readonly input: CreateGrantCommandInput;
26
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
- constructor(input: CreateGrantCommandInput);
28
- resolveMiddleware(
29
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
- configuration: KMSClientResolvedConfig,
31
- options?: __HttpHandlerOptions
32
- ): Handler<CreateGrantCommandInput, CreateGrantCommandOutput>;
33
- private serialize;
34
- private deserialize;
35
- }
14
+ declare const CreateGrantCommand_base: {
15
+ new (
16
+ input: CreateGrantCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ CreateGrantCommandInput,
19
+ CreateGrantCommandOutput,
20
+ KMSClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ };
26
+ export declare class CreateGrantCommand extends CreateGrantCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  KMSClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -17,19 +11,16 @@ export interface CreateKeyCommandInput extends CreateKeyRequest {}
17
11
  export interface CreateKeyCommandOutput
18
12
  extends CreateKeyResponse,
19
13
  __MetadataBearer {}
20
- export declare class CreateKeyCommand extends $Command<
21
- CreateKeyCommandInput,
22
- CreateKeyCommandOutput,
23
- KMSClientResolvedConfig
24
- > {
25
- readonly input: CreateKeyCommandInput;
26
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
- constructor(input: CreateKeyCommandInput);
28
- resolveMiddleware(
29
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
- configuration: KMSClientResolvedConfig,
31
- options?: __HttpHandlerOptions
32
- ): Handler<CreateKeyCommandInput, CreateKeyCommandOutput>;
33
- private serialize;
34
- private deserialize;
35
- }
14
+ declare const CreateKeyCommand_base: {
15
+ new (
16
+ input: CreateKeyCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ CreateKeyCommandInput,
19
+ CreateKeyCommandOutput,
20
+ KMSClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ };
26
+ export declare class CreateKeyCommand extends CreateKeyCommand_base {}