@aws-sdk/client-kms 3.1045.0 → 3.1046.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 (197) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
  2. package/dist-cjs/endpoint/bdd.js +2 -2
  3. package/dist-cjs/endpoint/endpointResolver.js +4 -4
  4. package/dist-cjs/index.js +124 -125
  5. package/dist-cjs/models/KMSServiceException.js +3 -3
  6. package/dist-cjs/runtimeConfig.browser.js +12 -14
  7. package/dist-cjs/runtimeConfig.js +18 -22
  8. package/dist-cjs/runtimeConfig.shared.js +9 -10
  9. package/dist-es/KMS.js +1 -1
  10. package/dist-es/KMSClient.js +5 -5
  11. package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
  12. package/dist-es/commands/CancelKeyDeletionCommand.js +2 -2
  13. package/dist-es/commands/ConnectCustomKeyStoreCommand.js +2 -2
  14. package/dist-es/commands/CreateAliasCommand.js +2 -2
  15. package/dist-es/commands/CreateCustomKeyStoreCommand.js +2 -2
  16. package/dist-es/commands/CreateGrantCommand.js +2 -2
  17. package/dist-es/commands/CreateKeyCommand.js +2 -2
  18. package/dist-es/commands/DecryptCommand.js +2 -2
  19. package/dist-es/commands/DeleteAliasCommand.js +2 -2
  20. package/dist-es/commands/DeleteCustomKeyStoreCommand.js +2 -2
  21. package/dist-es/commands/DeleteImportedKeyMaterialCommand.js +2 -2
  22. package/dist-es/commands/DeriveSharedSecretCommand.js +2 -2
  23. package/dist-es/commands/DescribeCustomKeyStoresCommand.js +2 -2
  24. package/dist-es/commands/DescribeKeyCommand.js +2 -2
  25. package/dist-es/commands/DisableKeyCommand.js +2 -2
  26. package/dist-es/commands/DisableKeyRotationCommand.js +2 -2
  27. package/dist-es/commands/DisconnectCustomKeyStoreCommand.js +2 -2
  28. package/dist-es/commands/EnableKeyCommand.js +2 -2
  29. package/dist-es/commands/EnableKeyRotationCommand.js +2 -2
  30. package/dist-es/commands/EncryptCommand.js +2 -2
  31. package/dist-es/commands/GenerateDataKeyCommand.js +2 -2
  32. package/dist-es/commands/GenerateDataKeyPairCommand.js +2 -2
  33. package/dist-es/commands/GenerateDataKeyPairWithoutPlaintextCommand.js +2 -2
  34. package/dist-es/commands/GenerateDataKeyWithoutPlaintextCommand.js +2 -2
  35. package/dist-es/commands/GenerateMacCommand.js +2 -2
  36. package/dist-es/commands/GenerateRandomCommand.js +2 -2
  37. package/dist-es/commands/GetKeyLastUsageCommand.js +2 -2
  38. package/dist-es/commands/GetKeyPolicyCommand.js +2 -2
  39. package/dist-es/commands/GetKeyRotationStatusCommand.js +2 -2
  40. package/dist-es/commands/GetParametersForImportCommand.js +2 -2
  41. package/dist-es/commands/GetPublicKeyCommand.js +2 -2
  42. package/dist-es/commands/ImportKeyMaterialCommand.js +2 -2
  43. package/dist-es/commands/ListAliasesCommand.js +2 -2
  44. package/dist-es/commands/ListGrantsCommand.js +2 -2
  45. package/dist-es/commands/ListKeyPoliciesCommand.js +2 -2
  46. package/dist-es/commands/ListKeyRotationsCommand.js +2 -2
  47. package/dist-es/commands/ListKeysCommand.js +2 -2
  48. package/dist-es/commands/ListResourceTagsCommand.js +2 -2
  49. package/dist-es/commands/ListRetirableGrantsCommand.js +2 -2
  50. package/dist-es/commands/PutKeyPolicyCommand.js +2 -2
  51. package/dist-es/commands/ReEncryptCommand.js +2 -2
  52. package/dist-es/commands/ReplicateKeyCommand.js +2 -2
  53. package/dist-es/commands/RetireGrantCommand.js +2 -2
  54. package/dist-es/commands/RevokeGrantCommand.js +2 -2
  55. package/dist-es/commands/RotateKeyOnDemandCommand.js +2 -2
  56. package/dist-es/commands/ScheduleKeyDeletionCommand.js +2 -2
  57. package/dist-es/commands/SignCommand.js +2 -2
  58. package/dist-es/commands/TagResourceCommand.js +2 -2
  59. package/dist-es/commands/UntagResourceCommand.js +2 -2
  60. package/dist-es/commands/UpdateAliasCommand.js +2 -2
  61. package/dist-es/commands/UpdateCustomKeyStoreCommand.js +2 -2
  62. package/dist-es/commands/UpdateKeyDescriptionCommand.js +2 -2
  63. package/dist-es/commands/UpdatePrimaryRegionCommand.js +2 -2
  64. package/dist-es/commands/VerifyCommand.js +2 -2
  65. package/dist-es/commands/VerifyMacCommand.js +2 -2
  66. package/dist-es/endpoint/bdd.js +1 -1
  67. package/dist-es/endpoint/endpointResolver.js +1 -1
  68. package/dist-es/models/KMSServiceException.js +1 -1
  69. package/dist-es/runtimeConfig.browser.js +4 -6
  70. package/dist-es/runtimeConfig.js +4 -8
  71. package/dist-es/runtimeConfig.shared.js +3 -4
  72. package/dist-es/runtimeExtensions.js +2 -2
  73. package/dist-types/KMSClient.d.ts +5 -5
  74. package/dist-types/commands/CancelKeyDeletionCommand.d.ts +6 -4
  75. package/dist-types/commands/ConnectCustomKeyStoreCommand.d.ts +6 -4
  76. package/dist-types/commands/CreateAliasCommand.d.ts +6 -4
  77. package/dist-types/commands/CreateCustomKeyStoreCommand.d.ts +6 -4
  78. package/dist-types/commands/CreateGrantCommand.d.ts +6 -4
  79. package/dist-types/commands/CreateKeyCommand.d.ts +6 -4
  80. package/dist-types/commands/DecryptCommand.d.ts +6 -4
  81. package/dist-types/commands/DeleteAliasCommand.d.ts +6 -4
  82. package/dist-types/commands/DeleteCustomKeyStoreCommand.d.ts +6 -4
  83. package/dist-types/commands/DeleteImportedKeyMaterialCommand.d.ts +6 -4
  84. package/dist-types/commands/DeriveSharedSecretCommand.d.ts +6 -4
  85. package/dist-types/commands/DescribeCustomKeyStoresCommand.d.ts +6 -4
  86. package/dist-types/commands/DescribeKeyCommand.d.ts +6 -4
  87. package/dist-types/commands/DisableKeyCommand.d.ts +6 -4
  88. package/dist-types/commands/DisableKeyRotationCommand.d.ts +6 -4
  89. package/dist-types/commands/DisconnectCustomKeyStoreCommand.d.ts +6 -4
  90. package/dist-types/commands/EnableKeyCommand.d.ts +6 -4
  91. package/dist-types/commands/EnableKeyRotationCommand.d.ts +6 -4
  92. package/dist-types/commands/EncryptCommand.d.ts +6 -4
  93. package/dist-types/commands/GenerateDataKeyCommand.d.ts +6 -4
  94. package/dist-types/commands/GenerateDataKeyPairCommand.d.ts +6 -4
  95. package/dist-types/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +6 -4
  96. package/dist-types/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +6 -4
  97. package/dist-types/commands/GenerateMacCommand.d.ts +6 -4
  98. package/dist-types/commands/GenerateRandomCommand.d.ts +6 -4
  99. package/dist-types/commands/GetKeyLastUsageCommand.d.ts +6 -4
  100. package/dist-types/commands/GetKeyPolicyCommand.d.ts +6 -4
  101. package/dist-types/commands/GetKeyRotationStatusCommand.d.ts +6 -4
  102. package/dist-types/commands/GetParametersForImportCommand.d.ts +6 -4
  103. package/dist-types/commands/GetPublicKeyCommand.d.ts +6 -4
  104. package/dist-types/commands/ImportKeyMaterialCommand.d.ts +6 -4
  105. package/dist-types/commands/ListAliasesCommand.d.ts +6 -4
  106. package/dist-types/commands/ListGrantsCommand.d.ts +6 -4
  107. package/dist-types/commands/ListKeyPoliciesCommand.d.ts +6 -4
  108. package/dist-types/commands/ListKeyRotationsCommand.d.ts +6 -4
  109. package/dist-types/commands/ListKeysCommand.d.ts +6 -4
  110. package/dist-types/commands/ListResourceTagsCommand.d.ts +6 -4
  111. package/dist-types/commands/ListRetirableGrantsCommand.d.ts +6 -4
  112. package/dist-types/commands/PutKeyPolicyCommand.d.ts +6 -4
  113. package/dist-types/commands/ReEncryptCommand.d.ts +6 -4
  114. package/dist-types/commands/ReplicateKeyCommand.d.ts +6 -4
  115. package/dist-types/commands/RetireGrantCommand.d.ts +6 -4
  116. package/dist-types/commands/RevokeGrantCommand.d.ts +6 -4
  117. package/dist-types/commands/RotateKeyOnDemandCommand.d.ts +6 -4
  118. package/dist-types/commands/ScheduleKeyDeletionCommand.d.ts +6 -4
  119. package/dist-types/commands/SignCommand.d.ts +6 -4
  120. package/dist-types/commands/TagResourceCommand.d.ts +6 -4
  121. package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
  122. package/dist-types/commands/UpdateAliasCommand.d.ts +6 -4
  123. package/dist-types/commands/UpdateCustomKeyStoreCommand.d.ts +6 -4
  124. package/dist-types/commands/UpdateKeyDescriptionCommand.d.ts +6 -4
  125. package/dist-types/commands/UpdatePrimaryRegionCommand.d.ts +6 -4
  126. package/dist-types/commands/VerifyCommand.d.ts +6 -4
  127. package/dist-types/commands/VerifyMacCommand.d.ts +6 -4
  128. package/dist-types/endpoint/bdd.d.ts +1 -1
  129. package/dist-types/extensionConfiguration.d.ts +1 -1
  130. package/dist-types/models/KMSServiceException.d.ts +1 -1
  131. package/dist-types/models/errors.d.ts +1 -1
  132. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  133. package/dist-types/runtimeConfig.d.ts +2 -2
  134. package/dist-types/runtimeConfig.native.d.ts +2 -2
  135. package/dist-types/ts3.4/KMSClient.d.ts +8 -14
  136. package/dist-types/ts3.4/commands/CancelKeyDeletionCommand.d.ts +6 -4
  137. package/dist-types/ts3.4/commands/ConnectCustomKeyStoreCommand.d.ts +6 -4
  138. package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +6 -4
  139. package/dist-types/ts3.4/commands/CreateCustomKeyStoreCommand.d.ts +6 -4
  140. package/dist-types/ts3.4/commands/CreateGrantCommand.d.ts +6 -4
  141. package/dist-types/ts3.4/commands/CreateKeyCommand.d.ts +6 -6
  142. package/dist-types/ts3.4/commands/DecryptCommand.d.ts +6 -4
  143. package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +6 -4
  144. package/dist-types/ts3.4/commands/DeleteCustomKeyStoreCommand.d.ts +6 -4
  145. package/dist-types/ts3.4/commands/DeleteImportedKeyMaterialCommand.d.ts +6 -4
  146. package/dist-types/ts3.4/commands/DeriveSharedSecretCommand.d.ts +6 -4
  147. package/dist-types/ts3.4/commands/DescribeCustomKeyStoresCommand.d.ts +6 -4
  148. package/dist-types/ts3.4/commands/DescribeKeyCommand.d.ts +6 -4
  149. package/dist-types/ts3.4/commands/DisableKeyCommand.d.ts +6 -4
  150. package/dist-types/ts3.4/commands/DisableKeyRotationCommand.d.ts +6 -4
  151. package/dist-types/ts3.4/commands/DisconnectCustomKeyStoreCommand.d.ts +6 -4
  152. package/dist-types/ts3.4/commands/EnableKeyCommand.d.ts +6 -8
  153. package/dist-types/ts3.4/commands/EnableKeyRotationCommand.d.ts +6 -4
  154. package/dist-types/ts3.4/commands/EncryptCommand.d.ts +6 -4
  155. package/dist-types/ts3.4/commands/GenerateDataKeyCommand.d.ts +6 -4
  156. package/dist-types/ts3.4/commands/GenerateDataKeyPairCommand.d.ts +6 -4
  157. package/dist-types/ts3.4/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +6 -4
  158. package/dist-types/ts3.4/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +6 -4
  159. package/dist-types/ts3.4/commands/GenerateMacCommand.d.ts +6 -4
  160. package/dist-types/ts3.4/commands/GenerateRandomCommand.d.ts +6 -4
  161. package/dist-types/ts3.4/commands/GetKeyLastUsageCommand.d.ts +6 -4
  162. package/dist-types/ts3.4/commands/GetKeyPolicyCommand.d.ts +6 -4
  163. package/dist-types/ts3.4/commands/GetKeyRotationStatusCommand.d.ts +6 -4
  164. package/dist-types/ts3.4/commands/GetParametersForImportCommand.d.ts +6 -4
  165. package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +6 -4
  166. package/dist-types/ts3.4/commands/ImportKeyMaterialCommand.d.ts +6 -4
  167. package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +6 -4
  168. package/dist-types/ts3.4/commands/ListGrantsCommand.d.ts +6 -4
  169. package/dist-types/ts3.4/commands/ListKeyPoliciesCommand.d.ts +6 -4
  170. package/dist-types/ts3.4/commands/ListKeyRotationsCommand.d.ts +6 -4
  171. package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +6 -6
  172. package/dist-types/ts3.4/commands/ListResourceTagsCommand.d.ts +6 -4
  173. package/dist-types/ts3.4/commands/ListRetirableGrantsCommand.d.ts +6 -4
  174. package/dist-types/ts3.4/commands/PutKeyPolicyCommand.d.ts +6 -4
  175. package/dist-types/ts3.4/commands/ReEncryptCommand.d.ts +6 -8
  176. package/dist-types/ts3.4/commands/ReplicateKeyCommand.d.ts +6 -4
  177. package/dist-types/ts3.4/commands/RetireGrantCommand.d.ts +6 -4
  178. package/dist-types/ts3.4/commands/RevokeGrantCommand.d.ts +6 -4
  179. package/dist-types/ts3.4/commands/RotateKeyOnDemandCommand.d.ts +6 -4
  180. package/dist-types/ts3.4/commands/ScheduleKeyDeletionCommand.d.ts +6 -4
  181. package/dist-types/ts3.4/commands/SignCommand.d.ts +6 -4
  182. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
  183. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
  184. package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +6 -4
  185. package/dist-types/ts3.4/commands/UpdateCustomKeyStoreCommand.d.ts +6 -4
  186. package/dist-types/ts3.4/commands/UpdateKeyDescriptionCommand.d.ts +6 -4
  187. package/dist-types/ts3.4/commands/UpdatePrimaryRegionCommand.d.ts +6 -4
  188. package/dist-types/ts3.4/commands/VerifyCommand.d.ts +6 -4
  189. package/dist-types/ts3.4/commands/VerifyMacCommand.d.ts +6 -8
  190. package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
  191. package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
  192. package/dist-types/ts3.4/models/KMSServiceException.d.ts +1 -1
  193. package/dist-types/ts3.4/models/errors.d.ts +1 -1
  194. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  195. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  196. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  197. package/package.json +13 -34
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { RetireGrant$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { RevokeGrant$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { RotateKeyOnDemand$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { ScheduleKeyDeletion$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { Sign$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { UpdateAlias$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { UpdateCustomKeyStore$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { UpdateKeyDescription$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { UpdatePrimaryRegion$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { Verify$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { VerifyMac$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,4 +1,4 @@
1
- import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
1
+ import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
2
  const k = "ref";
3
3
  const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
4
4
  const _data = {
@@ -1,5 +1,5 @@
1
1
  import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
- import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/util-endpoints";
2
+ import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/core/endpoints";
3
3
  import { bdd } from "./bdd";
4
4
  const cache = new EndpointCache({
5
5
  size: 50,
@@ -1,4 +1,4 @@
1
- import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
1
+ import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class KMSServiceException extends __ServiceException {
4
4
  constructor(options) {
@@ -1,13 +1,11 @@
1
1
  import packageInfo from "../package.json";
2
2
  import { Sha256 } from "@aws-crypto/sha256-browser";
3
3
  import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser";
4
- import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
4
+ import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
5
+ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
6
+ import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/core/retry";
7
+ import { calculateBodyLength } from "@smithy/core/serde";
5
8
  import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
6
- import { invalidProvider } from "@smithy/invalid-dependency";
7
- import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
8
- import { calculateBodyLength } from "@smithy/util-body-length-browser";
9
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
10
- import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
11
9
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
12
10
  export const getRuntimeConfig = (config) => {
13
11
  const defaultsMode = resolveDefaultsModeConfig(config);
@@ -3,15 +3,11 @@ import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/cor
3
3
  import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
4
4
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
5
5
  import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
6
- import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
7
- import { Hash } from "@smithy/hash-node";
8
- import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
9
- import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
6
+ import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
7
+ import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
8
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
9
+ import { calculateBodyLength, Hash } from "@smithy/core/serde";
10
10
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
11
- import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
12
- import { calculateBodyLength } from "@smithy/util-body-length-node";
13
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
14
- import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
15
11
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
16
12
  export const getRuntimeConfig = (config) => {
17
13
  emitWarningIfUnsupportedVersion(process.version);
@@ -1,9 +1,8 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
3
- import { NoOpLogger } from "@smithy/smithy-client";
4
- import { parseUrl } from "@smithy/url-parser";
5
- import { fromBase64, toBase64 } from "@smithy/util-base64";
6
- import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
3
+ import { NoOpLogger } from "@smithy/core/client";
4
+ import { parseUrl } from "@smithy/core/protocols";
5
+ import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
7
6
  import { defaultKMSHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
8
7
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
9
8
  import { errorTypeRegistries } from "./schemas/schemas_0";
@@ -1,6 +1,6 @@
1
1
  import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
2
- import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
3
- import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
2
+ import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/core/client";
3
+ import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/core/protocols";
4
4
  import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
5
5
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
6
6
  const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
@@ -1,10 +1,10 @@
1
1
  import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
2
  import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
- import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
4
- import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
- import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
- import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
- import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
3
+ import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
4
+ import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
5
+ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
6
+ import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
7
+ import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
8
8
  import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import type { CancelKeyDeletionCommandInput, CancelKeyDeletionCommandOutput } from "./commands/CancelKeyDeletionCommand";
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
4
4
  import type { CancelKeyDeletionRequest, CancelKeyDeletionResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface CancelKeyDeletionCommandInput extends CancelKeyDeletionRequest
22
22
  export interface CancelKeyDeletionCommandOutput extends CancelKeyDeletionResponse, __MetadataBearer {
23
23
  }
24
24
  declare const CancelKeyDeletionCommand_base: {
25
- new (input: CancelKeyDeletionCommandInput): import("@smithy/smithy-client").CommandImpl<CancelKeyDeletionCommandInput, CancelKeyDeletionCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CancelKeyDeletionCommandInput): import("@smithy/smithy-client").CommandImpl<CancelKeyDeletionCommandInput, CancelKeyDeletionCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: CancelKeyDeletionCommandInput): import("@smithy/core/client").CommandImpl<CancelKeyDeletionCommandInput, CancelKeyDeletionCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CancelKeyDeletionCommandInput): import("@smithy/core/client").CommandImpl<CancelKeyDeletionCommandInput, CancelKeyDeletionCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Cancels the deletion of a KMS key. When this operation succeeds, the key state of the KMS
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
4
4
  import type { ConnectCustomKeyStoreRequest, ConnectCustomKeyStoreResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface ConnectCustomKeyStoreCommandInput extends ConnectCustomKeyStore
22
22
  export interface ConnectCustomKeyStoreCommandOutput extends ConnectCustomKeyStoreResponse, __MetadataBearer {
23
23
  }
24
24
  declare const ConnectCustomKeyStoreCommand_base: {
25
- new (input: ConnectCustomKeyStoreCommandInput): import("@smithy/smithy-client").CommandImpl<ConnectCustomKeyStoreCommandInput, ConnectCustomKeyStoreCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ConnectCustomKeyStoreCommandInput): import("@smithy/smithy-client").CommandImpl<ConnectCustomKeyStoreCommandInput, ConnectCustomKeyStoreCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: ConnectCustomKeyStoreCommandInput): import("@smithy/core/client").CommandImpl<ConnectCustomKeyStoreCommandInput, ConnectCustomKeyStoreCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ConnectCustomKeyStoreCommandInput): import("@smithy/core/client").CommandImpl<ConnectCustomKeyStoreCommandInput, ConnectCustomKeyStoreCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Connects or reconnects a <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-store-overview.html">custom key store</a> to its backing key store. For an CloudHSM key
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
4
4
  import type { CreateAliasRequest } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface CreateAliasCommandInput extends CreateAliasRequest {
22
22
  export interface CreateAliasCommandOutput extends __MetadataBearer {
23
23
  }
24
24
  declare const CreateAliasCommand_base: {
25
- new (input: CreateAliasCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAliasCommandInput, CreateAliasCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateAliasCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAliasCommandInput, CreateAliasCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: CreateAliasCommandInput): import("@smithy/core/client").CommandImpl<CreateAliasCommandInput, CreateAliasCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateAliasCommandInput): import("@smithy/core/client").CommandImpl<CreateAliasCommandInput, CreateAliasCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Creates a friendly name for a KMS key. </p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
4
4
  import type { CreateCustomKeyStoreRequest, CreateCustomKeyStoreResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface CreateCustomKeyStoreCommandInput extends CreateCustomKeyStoreRe
22
22
  export interface CreateCustomKeyStoreCommandOutput extends CreateCustomKeyStoreResponse, __MetadataBearer {
23
23
  }
24
24
  declare const CreateCustomKeyStoreCommand_base: {
25
- new (input: CreateCustomKeyStoreCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCustomKeyStoreCommandInput, CreateCustomKeyStoreCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateCustomKeyStoreCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCustomKeyStoreCommandInput, CreateCustomKeyStoreCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: CreateCustomKeyStoreCommandInput): import("@smithy/core/client").CommandImpl<CreateCustomKeyStoreCommandInput, CreateCustomKeyStoreCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateCustomKeyStoreCommandInput): import("@smithy/core/client").CommandImpl<CreateCustomKeyStoreCommandInput, CreateCustomKeyStoreCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Creates a <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-store-overview.html">custom key store</a> backed by a key store that you own and manage. When you use a
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
4
4
  import type { CreateGrantRequest, CreateGrantResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface CreateGrantCommandInput extends CreateGrantRequest {
22
22
  export interface CreateGrantCommandOutput extends CreateGrantResponse, __MetadataBearer {
23
23
  }
24
24
  declare const CreateGrantCommand_base: {
25
- new (input: CreateGrantCommandInput): import("@smithy/smithy-client").CommandImpl<CreateGrantCommandInput, CreateGrantCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateGrantCommandInput): import("@smithy/smithy-client").CommandImpl<CreateGrantCommandInput, CreateGrantCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: CreateGrantCommandInput): import("@smithy/core/client").CommandImpl<CreateGrantCommandInput, CreateGrantCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateGrantCommandInput): import("@smithy/core/client").CommandImpl<CreateGrantCommandInput, CreateGrantCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Adds a grant to a KMS key. </p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
4
4
  import type { CreateKeyRequest, CreateKeyResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface CreateKeyCommandInput extends CreateKeyRequest {
22
22
  export interface CreateKeyCommandOutput extends CreateKeyResponse, __MetadataBearer {
23
23
  }
24
24
  declare const CreateKeyCommand_base: {
25
- new (input: CreateKeyCommandInput): import("@smithy/smithy-client").CommandImpl<CreateKeyCommandInput, CreateKeyCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [CreateKeyCommandInput]): import("@smithy/smithy-client").CommandImpl<CreateKeyCommandInput, CreateKeyCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: CreateKeyCommandInput): import("@smithy/core/client").CommandImpl<CreateKeyCommandInput, CreateKeyCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [CreateKeyCommandInput]): import("@smithy/core/client").CommandImpl<CreateKeyCommandInput, CreateKeyCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Creates a unique customer managed <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#kms-keys">KMS key</a> in your Amazon Web Services account and Region.
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
4
4
  import type { DecryptRequest, DecryptResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DecryptCommandInput extends DecryptRequest {
22
22
  export interface DecryptCommandOutput extends DecryptResponse, __MetadataBearer {
23
23
  }
24
24
  declare const DecryptCommand_base: {
25
- new (input: DecryptCommandInput): import("@smithy/smithy-client").CommandImpl<DecryptCommandInput, DecryptCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [DecryptCommandInput]): import("@smithy/smithy-client").CommandImpl<DecryptCommandInput, DecryptCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DecryptCommandInput): import("@smithy/core/client").CommandImpl<DecryptCommandInput, DecryptCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [DecryptCommandInput]): import("@smithy/core/client").CommandImpl<DecryptCommandInput, DecryptCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Decrypts ciphertext that was encrypted by a KMS key using any of the following
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
4
4
  import type { DeleteAliasRequest } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DeleteAliasCommandInput extends DeleteAliasRequest {
22
22
  export interface DeleteAliasCommandOutput extends __MetadataBearer {
23
23
  }
24
24
  declare const DeleteAliasCommand_base: {
25
- new (input: DeleteAliasCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAliasCommandInput, DeleteAliasCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteAliasCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAliasCommandInput, DeleteAliasCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DeleteAliasCommandInput): import("@smithy/core/client").CommandImpl<DeleteAliasCommandInput, DeleteAliasCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteAliasCommandInput): import("@smithy/core/client").CommandImpl<DeleteAliasCommandInput, DeleteAliasCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Deletes the specified alias. </p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
4
4
  import type { DeleteCustomKeyStoreRequest, DeleteCustomKeyStoreResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DeleteCustomKeyStoreCommandInput extends DeleteCustomKeyStoreRe
22
22
  export interface DeleteCustomKeyStoreCommandOutput extends DeleteCustomKeyStoreResponse, __MetadataBearer {
23
23
  }
24
24
  declare const DeleteCustomKeyStoreCommand_base: {
25
- new (input: DeleteCustomKeyStoreCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteCustomKeyStoreCommandInput, DeleteCustomKeyStoreCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteCustomKeyStoreCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteCustomKeyStoreCommandInput, DeleteCustomKeyStoreCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DeleteCustomKeyStoreCommandInput): import("@smithy/core/client").CommandImpl<DeleteCustomKeyStoreCommandInput, DeleteCustomKeyStoreCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteCustomKeyStoreCommandInput): import("@smithy/core/client").CommandImpl<DeleteCustomKeyStoreCommandInput, DeleteCustomKeyStoreCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Deletes a <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-store-overview.html">custom key store</a>. This operation does not affect any backing elements of the
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
4
4
  import type { DeleteImportedKeyMaterialRequest, DeleteImportedKeyMaterialResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DeleteImportedKeyMaterialCommandInput extends DeleteImportedKey
22
22
  export interface DeleteImportedKeyMaterialCommandOutput extends DeleteImportedKeyMaterialResponse, __MetadataBearer {
23
23
  }
24
24
  declare const DeleteImportedKeyMaterialCommand_base: {
25
- new (input: DeleteImportedKeyMaterialCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteImportedKeyMaterialCommandInput, DeleteImportedKeyMaterialCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteImportedKeyMaterialCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteImportedKeyMaterialCommandInput, DeleteImportedKeyMaterialCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DeleteImportedKeyMaterialCommandInput): import("@smithy/core/client").CommandImpl<DeleteImportedKeyMaterialCommandInput, DeleteImportedKeyMaterialCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteImportedKeyMaterialCommandInput): import("@smithy/core/client").CommandImpl<DeleteImportedKeyMaterialCommandInput, DeleteImportedKeyMaterialCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Deletes key material that was previously imported. This operation makes the specified KMS
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
4
4
  import type { DeriveSharedSecretRequest, DeriveSharedSecretResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DeriveSharedSecretCommandInput extends DeriveSharedSecretReques
22
22
  export interface DeriveSharedSecretCommandOutput extends DeriveSharedSecretResponse, __MetadataBearer {
23
23
  }
24
24
  declare const DeriveSharedSecretCommand_base: {
25
- new (input: DeriveSharedSecretCommandInput): import("@smithy/smithy-client").CommandImpl<DeriveSharedSecretCommandInput, DeriveSharedSecretCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeriveSharedSecretCommandInput): import("@smithy/smithy-client").CommandImpl<DeriveSharedSecretCommandInput, DeriveSharedSecretCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DeriveSharedSecretCommandInput): import("@smithy/core/client").CommandImpl<DeriveSharedSecretCommandInput, DeriveSharedSecretCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeriveSharedSecretCommandInput): import("@smithy/core/client").CommandImpl<DeriveSharedSecretCommandInput, DeriveSharedSecretCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Derives a shared secret using a key agreement algorithm.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
4
4
  import type { DescribeCustomKeyStoresRequest, DescribeCustomKeyStoresResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DescribeCustomKeyStoresCommandInput extends DescribeCustomKeySt
22
22
  export interface DescribeCustomKeyStoresCommandOutput extends DescribeCustomKeyStoresResponse, __MetadataBearer {
23
23
  }
24
24
  declare const DescribeCustomKeyStoresCommand_base: {
25
- new (input: DescribeCustomKeyStoresCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeCustomKeyStoresCommandInput, DescribeCustomKeyStoresCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [DescribeCustomKeyStoresCommandInput]): import("@smithy/smithy-client").CommandImpl<DescribeCustomKeyStoresCommandInput, DescribeCustomKeyStoresCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DescribeCustomKeyStoresCommandInput): import("@smithy/core/client").CommandImpl<DescribeCustomKeyStoresCommandInput, DescribeCustomKeyStoresCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [DescribeCustomKeyStoresCommandInput]): import("@smithy/core/client").CommandImpl<DescribeCustomKeyStoresCommandInput, DescribeCustomKeyStoresCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Gets information about <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-store-overview.html">custom key stores</a> in the account and Region.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
4
4
  import type { DescribeKeyRequest, DescribeKeyResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DescribeKeyCommandInput extends DescribeKeyRequest {
22
22
  export interface DescribeKeyCommandOutput extends DescribeKeyResponse, __MetadataBearer {
23
23
  }
24
24
  declare const DescribeKeyCommand_base: {
25
- new (input: DescribeKeyCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeKeyCommandInput, DescribeKeyCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DescribeKeyCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeKeyCommandInput, DescribeKeyCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DescribeKeyCommandInput): import("@smithy/core/client").CommandImpl<DescribeKeyCommandInput, DescribeKeyCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DescribeKeyCommandInput): import("@smithy/core/client").CommandImpl<DescribeKeyCommandInput, DescribeKeyCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Provides detailed information about a KMS key. You can run <code>DescribeKey</code> on a
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
4
4
  import type { DisableKeyRequest } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DisableKeyCommandInput extends DisableKeyRequest {
22
22
  export interface DisableKeyCommandOutput extends __MetadataBearer {
23
23
  }
24
24
  declare const DisableKeyCommand_base: {
25
- new (input: DisableKeyCommandInput): import("@smithy/smithy-client").CommandImpl<DisableKeyCommandInput, DisableKeyCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DisableKeyCommandInput): import("@smithy/smithy-client").CommandImpl<DisableKeyCommandInput, DisableKeyCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DisableKeyCommandInput): import("@smithy/core/client").CommandImpl<DisableKeyCommandInput, DisableKeyCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DisableKeyCommandInput): import("@smithy/core/client").CommandImpl<DisableKeyCommandInput, DisableKeyCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Sets the state of a KMS key to disabled. This change temporarily prevents use of the KMS
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
4
4
  import type { DisableKeyRotationRequest } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DisableKeyRotationCommandInput extends DisableKeyRotationReques
22
22
  export interface DisableKeyRotationCommandOutput extends __MetadataBearer {
23
23
  }
24
24
  declare const DisableKeyRotationCommand_base: {
25
- new (input: DisableKeyRotationCommandInput): import("@smithy/smithy-client").CommandImpl<DisableKeyRotationCommandInput, DisableKeyRotationCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DisableKeyRotationCommandInput): import("@smithy/smithy-client").CommandImpl<DisableKeyRotationCommandInput, DisableKeyRotationCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DisableKeyRotationCommandInput): import("@smithy/core/client").CommandImpl<DisableKeyRotationCommandInput, DisableKeyRotationCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DisableKeyRotationCommandInput): import("@smithy/core/client").CommandImpl<DisableKeyRotationCommandInput, DisableKeyRotationCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Disables <a href="https://docs.aws.amazon.com/kms/latest/developerguide/rotating-keys-enable-disable.html">automatic rotation of the key material</a> of the specified symmetric encryption KMS
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
4
4
  import type { DisconnectCustomKeyStoreRequest, DisconnectCustomKeyStoreResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DisconnectCustomKeyStoreCommandInput extends DisconnectCustomKe
22
22
  export interface DisconnectCustomKeyStoreCommandOutput extends DisconnectCustomKeyStoreResponse, __MetadataBearer {
23
23
  }
24
24
  declare const DisconnectCustomKeyStoreCommand_base: {
25
- new (input: DisconnectCustomKeyStoreCommandInput): import("@smithy/smithy-client").CommandImpl<DisconnectCustomKeyStoreCommandInput, DisconnectCustomKeyStoreCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DisconnectCustomKeyStoreCommandInput): import("@smithy/smithy-client").CommandImpl<DisconnectCustomKeyStoreCommandInput, DisconnectCustomKeyStoreCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DisconnectCustomKeyStoreCommandInput): import("@smithy/core/client").CommandImpl<DisconnectCustomKeyStoreCommandInput, DisconnectCustomKeyStoreCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DisconnectCustomKeyStoreCommandInput): import("@smithy/core/client").CommandImpl<DisconnectCustomKeyStoreCommandInput, DisconnectCustomKeyStoreCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Disconnects the <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-store-overview.html">custom key store</a> from its backing key store. This operation disconnects an