@aws-sdk/client-kms 3.362.0 → 3.366.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 (255) hide show
  1. package/dist-cjs/KMS.js +1 -1
  2. package/dist-cjs/KMSClient.js +5 -5
  3. package/dist-cjs/commands/CancelKeyDeletionCommand.js +3 -3
  4. package/dist-cjs/commands/ConnectCustomKeyStoreCommand.js +3 -3
  5. package/dist-cjs/commands/CreateAliasCommand.js +3 -3
  6. package/dist-cjs/commands/CreateCustomKeyStoreCommand.js +3 -3
  7. package/dist-cjs/commands/CreateGrantCommand.js +3 -3
  8. package/dist-cjs/commands/CreateKeyCommand.js +3 -3
  9. package/dist-cjs/commands/DecryptCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteAliasCommand.js +3 -3
  11. package/dist-cjs/commands/DeleteCustomKeyStoreCommand.js +3 -3
  12. package/dist-cjs/commands/DeleteImportedKeyMaterialCommand.js +3 -3
  13. package/dist-cjs/commands/DescribeCustomKeyStoresCommand.js +3 -3
  14. package/dist-cjs/commands/DescribeKeyCommand.js +3 -3
  15. package/dist-cjs/commands/DisableKeyCommand.js +3 -3
  16. package/dist-cjs/commands/DisableKeyRotationCommand.js +3 -3
  17. package/dist-cjs/commands/DisconnectCustomKeyStoreCommand.js +3 -3
  18. package/dist-cjs/commands/EnableKeyCommand.js +3 -3
  19. package/dist-cjs/commands/EnableKeyRotationCommand.js +3 -3
  20. package/dist-cjs/commands/EncryptCommand.js +3 -3
  21. package/dist-cjs/commands/GenerateDataKeyCommand.js +3 -3
  22. package/dist-cjs/commands/GenerateDataKeyPairCommand.js +3 -3
  23. package/dist-cjs/commands/GenerateDataKeyPairWithoutPlaintextCommand.js +3 -3
  24. package/dist-cjs/commands/GenerateDataKeyWithoutPlaintextCommand.js +3 -3
  25. package/dist-cjs/commands/GenerateMacCommand.js +3 -3
  26. package/dist-cjs/commands/GenerateRandomCommand.js +3 -3
  27. package/dist-cjs/commands/GetKeyPolicyCommand.js +3 -3
  28. package/dist-cjs/commands/GetKeyRotationStatusCommand.js +3 -3
  29. package/dist-cjs/commands/GetParametersForImportCommand.js +3 -3
  30. package/dist-cjs/commands/GetPublicKeyCommand.js +3 -3
  31. package/dist-cjs/commands/ImportKeyMaterialCommand.js +3 -3
  32. package/dist-cjs/commands/ListAliasesCommand.js +3 -3
  33. package/dist-cjs/commands/ListGrantsCommand.js +3 -3
  34. package/dist-cjs/commands/ListKeyPoliciesCommand.js +3 -3
  35. package/dist-cjs/commands/ListKeysCommand.js +3 -3
  36. package/dist-cjs/commands/ListResourceTagsCommand.js +3 -3
  37. package/dist-cjs/commands/ListRetirableGrantsCommand.js +3 -3
  38. package/dist-cjs/commands/PutKeyPolicyCommand.js +3 -3
  39. package/dist-cjs/commands/ReEncryptCommand.js +3 -3
  40. package/dist-cjs/commands/ReplicateKeyCommand.js +3 -3
  41. package/dist-cjs/commands/RetireGrantCommand.js +3 -3
  42. package/dist-cjs/commands/RevokeGrantCommand.js +3 -3
  43. package/dist-cjs/commands/ScheduleKeyDeletionCommand.js +3 -3
  44. package/dist-cjs/commands/SignCommand.js +3 -3
  45. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  46. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  47. package/dist-cjs/commands/UpdateAliasCommand.js +3 -3
  48. package/dist-cjs/commands/UpdateCustomKeyStoreCommand.js +3 -3
  49. package/dist-cjs/commands/UpdateKeyDescriptionCommand.js +3 -3
  50. package/dist-cjs/commands/UpdatePrimaryRegionCommand.js +3 -3
  51. package/dist-cjs/commands/VerifyCommand.js +3 -3
  52. package/dist-cjs/commands/VerifyMacCommand.js +3 -3
  53. package/dist-cjs/models/KMSServiceException.js +1 -1
  54. package/dist-cjs/models/models_0.js +16 -3
  55. package/dist-cjs/protocols/Aws_json1_1.js +61 -1
  56. package/dist-cjs/runtimeConfig.browser.js +7 -7
  57. package/dist-cjs/runtimeConfig.js +10 -10
  58. package/dist-cjs/runtimeConfig.shared.js +4 -4
  59. package/dist-es/KMS.js +1 -1
  60. package/dist-es/KMSClient.js +5 -5
  61. package/dist-es/commands/CancelKeyDeletionCommand.js +3 -3
  62. package/dist-es/commands/ConnectCustomKeyStoreCommand.js +3 -3
  63. package/dist-es/commands/CreateAliasCommand.js +3 -3
  64. package/dist-es/commands/CreateCustomKeyStoreCommand.js +3 -3
  65. package/dist-es/commands/CreateGrantCommand.js +3 -3
  66. package/dist-es/commands/CreateKeyCommand.js +3 -3
  67. package/dist-es/commands/DecryptCommand.js +3 -3
  68. package/dist-es/commands/DeleteAliasCommand.js +3 -3
  69. package/dist-es/commands/DeleteCustomKeyStoreCommand.js +3 -3
  70. package/dist-es/commands/DeleteImportedKeyMaterialCommand.js +3 -3
  71. package/dist-es/commands/DescribeCustomKeyStoresCommand.js +3 -3
  72. package/dist-es/commands/DescribeKeyCommand.js +3 -3
  73. package/dist-es/commands/DisableKeyCommand.js +3 -3
  74. package/dist-es/commands/DisableKeyRotationCommand.js +3 -3
  75. package/dist-es/commands/DisconnectCustomKeyStoreCommand.js +3 -3
  76. package/dist-es/commands/EnableKeyCommand.js +3 -3
  77. package/dist-es/commands/EnableKeyRotationCommand.js +3 -3
  78. package/dist-es/commands/EncryptCommand.js +3 -3
  79. package/dist-es/commands/GenerateDataKeyCommand.js +3 -3
  80. package/dist-es/commands/GenerateDataKeyPairCommand.js +3 -3
  81. package/dist-es/commands/GenerateDataKeyPairWithoutPlaintextCommand.js +3 -3
  82. package/dist-es/commands/GenerateDataKeyWithoutPlaintextCommand.js +3 -3
  83. package/dist-es/commands/GenerateMacCommand.js +3 -3
  84. package/dist-es/commands/GenerateRandomCommand.js +3 -3
  85. package/dist-es/commands/GetKeyPolicyCommand.js +3 -3
  86. package/dist-es/commands/GetKeyRotationStatusCommand.js +3 -3
  87. package/dist-es/commands/GetParametersForImportCommand.js +3 -3
  88. package/dist-es/commands/GetPublicKeyCommand.js +3 -3
  89. package/dist-es/commands/ImportKeyMaterialCommand.js +3 -3
  90. package/dist-es/commands/ListAliasesCommand.js +3 -3
  91. package/dist-es/commands/ListGrantsCommand.js +3 -3
  92. package/dist-es/commands/ListKeyPoliciesCommand.js +3 -3
  93. package/dist-es/commands/ListKeysCommand.js +3 -3
  94. package/dist-es/commands/ListResourceTagsCommand.js +3 -3
  95. package/dist-es/commands/ListRetirableGrantsCommand.js +3 -3
  96. package/dist-es/commands/PutKeyPolicyCommand.js +3 -3
  97. package/dist-es/commands/ReEncryptCommand.js +3 -3
  98. package/dist-es/commands/ReplicateKeyCommand.js +3 -3
  99. package/dist-es/commands/RetireGrantCommand.js +3 -3
  100. package/dist-es/commands/RevokeGrantCommand.js +3 -3
  101. package/dist-es/commands/ScheduleKeyDeletionCommand.js +3 -3
  102. package/dist-es/commands/SignCommand.js +3 -3
  103. package/dist-es/commands/TagResourceCommand.js +3 -3
  104. package/dist-es/commands/UntagResourceCommand.js +3 -3
  105. package/dist-es/commands/UpdateAliasCommand.js +3 -3
  106. package/dist-es/commands/UpdateCustomKeyStoreCommand.js +3 -3
  107. package/dist-es/commands/UpdateKeyDescriptionCommand.js +3 -3
  108. package/dist-es/commands/UpdatePrimaryRegionCommand.js +3 -3
  109. package/dist-es/commands/VerifyCommand.js +3 -3
  110. package/dist-es/commands/VerifyMacCommand.js +3 -3
  111. package/dist-es/models/KMSServiceException.js +1 -1
  112. package/dist-es/models/models_0.js +13 -1
  113. package/dist-es/protocols/Aws_json1_1.js +62 -2
  114. package/dist-es/runtimeConfig.browser.js +7 -7
  115. package/dist-es/runtimeConfig.js +10 -10
  116. package/dist-es/runtimeConfig.shared.js +4 -4
  117. package/dist-types/KMS.d.ts +1 -1
  118. package/dist-types/KMSClient.d.ts +8 -8
  119. package/dist-types/commands/CancelKeyDeletionCommand.d.ts +6 -4
  120. package/dist-types/commands/ConnectCustomKeyStoreCommand.d.ts +3 -3
  121. package/dist-types/commands/CreateAliasCommand.d.ts +6 -4
  122. package/dist-types/commands/CreateCustomKeyStoreCommand.d.ts +14 -11
  123. package/dist-types/commands/CreateGrantCommand.d.ts +12 -4
  124. package/dist-types/commands/CreateKeyCommand.d.ts +19 -16
  125. package/dist-types/commands/DecryptCommand.d.ts +13 -5
  126. package/dist-types/commands/DeleteAliasCommand.d.ts +6 -4
  127. package/dist-types/commands/DeleteCustomKeyStoreCommand.d.ts +3 -3
  128. package/dist-types/commands/DeleteImportedKeyMaterialCommand.d.ts +6 -4
  129. package/dist-types/commands/DescribeCustomKeyStoresCommand.d.ts +5 -5
  130. package/dist-types/commands/DescribeKeyCommand.d.ts +3 -3
  131. package/dist-types/commands/DisableKeyCommand.d.ts +6 -4
  132. package/dist-types/commands/DisableKeyRotationCommand.d.ts +6 -4
  133. package/dist-types/commands/DisconnectCustomKeyStoreCommand.d.ts +3 -3
  134. package/dist-types/commands/EnableKeyCommand.d.ts +6 -4
  135. package/dist-types/commands/EnableKeyRotationCommand.d.ts +6 -4
  136. package/dist-types/commands/EncryptCommand.d.ts +13 -6
  137. package/dist-types/commands/GenerateDataKeyCommand.d.ts +20 -11
  138. package/dist-types/commands/GenerateDataKeyPairCommand.d.ts +24 -14
  139. package/dist-types/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +16 -7
  140. package/dist-types/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +16 -7
  141. package/dist-types/commands/GenerateMacCommand.d.ts +15 -6
  142. package/dist-types/commands/GenerateRandomCommand.d.ts +4 -4
  143. package/dist-types/commands/GetKeyPolicyCommand.d.ts +6 -4
  144. package/dist-types/commands/GetKeyRotationStatusCommand.d.ts +6 -4
  145. package/dist-types/commands/GetParametersForImportCommand.d.ts +10 -7
  146. package/dist-types/commands/GetPublicKeyCommand.d.ts +11 -10
  147. package/dist-types/commands/ImportKeyMaterialCommand.d.ts +7 -6
  148. package/dist-types/commands/ListAliasesCommand.d.ts +3 -3
  149. package/dist-types/commands/ListGrantsCommand.d.ts +6 -4
  150. package/dist-types/commands/ListKeyPoliciesCommand.d.ts +6 -4
  151. package/dist-types/commands/ListKeysCommand.d.ts +3 -3
  152. package/dist-types/commands/ListResourceTagsCommand.d.ts +3 -3
  153. package/dist-types/commands/ListRetirableGrantsCommand.d.ts +3 -3
  154. package/dist-types/commands/PutKeyPolicyCommand.d.ts +6 -4
  155. package/dist-types/commands/ReEncryptCommand.d.ts +12 -4
  156. package/dist-types/commands/ReplicateKeyCommand.d.ts +6 -4
  157. package/dist-types/commands/RetireGrantCommand.d.ts +12 -4
  158. package/dist-types/commands/RevokeGrantCommand.d.ts +12 -4
  159. package/dist-types/commands/ScheduleKeyDeletionCommand.d.ts +9 -7
  160. package/dist-types/commands/SignCommand.d.ts +12 -4
  161. package/dist-types/commands/TagResourceCommand.d.ts +6 -4
  162. package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
  163. package/dist-types/commands/UpdateAliasCommand.d.ts +6 -4
  164. package/dist-types/commands/UpdateCustomKeyStoreCommand.d.ts +8 -6
  165. package/dist-types/commands/UpdateKeyDescriptionCommand.d.ts +6 -4
  166. package/dist-types/commands/UpdatePrimaryRegionCommand.d.ts +6 -4
  167. package/dist-types/commands/VerifyCommand.d.ts +20 -13
  168. package/dist-types/commands/VerifyMacCommand.d.ts +12 -4
  169. package/dist-types/endpoint/EndpointParameters.d.ts +1 -2
  170. package/dist-types/endpoint/endpointResolver.d.ts +1 -1
  171. package/dist-types/endpoint/ruleset.d.ts +1 -1
  172. package/dist-types/models/KMSServiceException.d.ts +1 -1
  173. package/dist-types/models/models_0.d.ts +229 -127
  174. package/dist-types/pagination/DescribeCustomKeyStoresPaginator.d.ts +1 -1
  175. package/dist-types/pagination/Interfaces.d.ts +1 -1
  176. package/dist-types/pagination/ListAliasesPaginator.d.ts +1 -1
  177. package/dist-types/pagination/ListGrantsPaginator.d.ts +1 -1
  178. package/dist-types/pagination/ListKeyPoliciesPaginator.d.ts +1 -1
  179. package/dist-types/pagination/ListKeysPaginator.d.ts +1 -1
  180. package/dist-types/pagination/ListResourceTagsPaginator.d.ts +1 -1
  181. package/dist-types/pagination/ListRetirableGrantsPaginator.d.ts +1 -1
  182. package/dist-types/runtimeConfig.browser.d.ts +20 -20
  183. package/dist-types/runtimeConfig.d.ts +20 -20
  184. package/dist-types/runtimeConfig.native.d.ts +19 -19
  185. package/dist-types/runtimeConfig.shared.d.ts +4 -4
  186. package/dist-types/ts3.4/KMS.d.ts +1 -1
  187. package/dist-types/ts3.4/KMSClient.d.ts +19 -21
  188. package/dist-types/ts3.4/commands/CancelKeyDeletionCommand.d.ts +3 -3
  189. package/dist-types/ts3.4/commands/ConnectCustomKeyStoreCommand.d.ts +3 -3
  190. package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +3 -3
  191. package/dist-types/ts3.4/commands/CreateCustomKeyStoreCommand.d.ts +3 -3
  192. package/dist-types/ts3.4/commands/CreateGrantCommand.d.ts +3 -3
  193. package/dist-types/ts3.4/commands/CreateKeyCommand.d.ts +3 -3
  194. package/dist-types/ts3.4/commands/DecryptCommand.d.ts +3 -3
  195. package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +3 -3
  196. package/dist-types/ts3.4/commands/DeleteCustomKeyStoreCommand.d.ts +3 -3
  197. package/dist-types/ts3.4/commands/DeleteImportedKeyMaterialCommand.d.ts +3 -3
  198. package/dist-types/ts3.4/commands/DescribeCustomKeyStoresCommand.d.ts +3 -3
  199. package/dist-types/ts3.4/commands/DescribeKeyCommand.d.ts +3 -3
  200. package/dist-types/ts3.4/commands/DisableKeyCommand.d.ts +3 -3
  201. package/dist-types/ts3.4/commands/DisableKeyRotationCommand.d.ts +3 -3
  202. package/dist-types/ts3.4/commands/DisconnectCustomKeyStoreCommand.d.ts +3 -3
  203. package/dist-types/ts3.4/commands/EnableKeyCommand.d.ts +3 -3
  204. package/dist-types/ts3.4/commands/EnableKeyRotationCommand.d.ts +3 -3
  205. package/dist-types/ts3.4/commands/EncryptCommand.d.ts +3 -3
  206. package/dist-types/ts3.4/commands/GenerateDataKeyCommand.d.ts +3 -3
  207. package/dist-types/ts3.4/commands/GenerateDataKeyPairCommand.d.ts +3 -3
  208. package/dist-types/ts3.4/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +3 -3
  209. package/dist-types/ts3.4/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +3 -3
  210. package/dist-types/ts3.4/commands/GenerateMacCommand.d.ts +3 -3
  211. package/dist-types/ts3.4/commands/GenerateRandomCommand.d.ts +3 -3
  212. package/dist-types/ts3.4/commands/GetKeyPolicyCommand.d.ts +3 -3
  213. package/dist-types/ts3.4/commands/GetKeyRotationStatusCommand.d.ts +3 -3
  214. package/dist-types/ts3.4/commands/GetParametersForImportCommand.d.ts +3 -3
  215. package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +3 -3
  216. package/dist-types/ts3.4/commands/ImportKeyMaterialCommand.d.ts +3 -3
  217. package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +3 -3
  218. package/dist-types/ts3.4/commands/ListGrantsCommand.d.ts +3 -3
  219. package/dist-types/ts3.4/commands/ListKeyPoliciesCommand.d.ts +3 -3
  220. package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +3 -3
  221. package/dist-types/ts3.4/commands/ListResourceTagsCommand.d.ts +3 -3
  222. package/dist-types/ts3.4/commands/ListRetirableGrantsCommand.d.ts +3 -3
  223. package/dist-types/ts3.4/commands/PutKeyPolicyCommand.d.ts +3 -3
  224. package/dist-types/ts3.4/commands/ReEncryptCommand.d.ts +3 -3
  225. package/dist-types/ts3.4/commands/ReplicateKeyCommand.d.ts +3 -3
  226. package/dist-types/ts3.4/commands/RetireGrantCommand.d.ts +3 -3
  227. package/dist-types/ts3.4/commands/RevokeGrantCommand.d.ts +3 -3
  228. package/dist-types/ts3.4/commands/ScheduleKeyDeletionCommand.d.ts +3 -3
  229. package/dist-types/ts3.4/commands/SignCommand.d.ts +3 -3
  230. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -3
  231. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +3 -3
  232. package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +3 -3
  233. package/dist-types/ts3.4/commands/UpdateCustomKeyStoreCommand.d.ts +3 -3
  234. package/dist-types/ts3.4/commands/UpdateKeyDescriptionCommand.d.ts +3 -3
  235. package/dist-types/ts3.4/commands/UpdatePrimaryRegionCommand.d.ts +3 -3
  236. package/dist-types/ts3.4/commands/VerifyCommand.d.ts +3 -3
  237. package/dist-types/ts3.4/commands/VerifyMacCommand.d.ts +3 -3
  238. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -2
  239. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  240. package/dist-types/ts3.4/endpoint/ruleset.d.ts +1 -1
  241. package/dist-types/ts3.4/models/KMSServiceException.d.ts +1 -1
  242. package/dist-types/ts3.4/models/models_0.d.ts +22 -1
  243. package/dist-types/ts3.4/pagination/DescribeCustomKeyStoresPaginator.d.ts +1 -1
  244. package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -1
  245. package/dist-types/ts3.4/pagination/ListAliasesPaginator.d.ts +1 -1
  246. package/dist-types/ts3.4/pagination/ListGrantsPaginator.d.ts +1 -1
  247. package/dist-types/ts3.4/pagination/ListKeyPoliciesPaginator.d.ts +1 -1
  248. package/dist-types/ts3.4/pagination/ListKeysPaginator.d.ts +1 -1
  249. package/dist-types/ts3.4/pagination/ListResourceTagsPaginator.d.ts +1 -1
  250. package/dist-types/ts3.4/pagination/ListRetirableGrantsPaginator.d.ts +1 -1
  251. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +35 -40
  252. package/dist-types/ts3.4/runtimeConfig.d.ts +35 -37
  253. package/dist-types/ts3.4/runtimeConfig.native.d.ts +33 -38
  254. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
  255. package/package.json +31 -30
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RevokeGrantCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
9
  class RevokeGrantCommand extends smithy_client_1.Command {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ScheduleKeyDeletionCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
9
  class ScheduleKeyDeletionCommand extends smithy_client_1.Command {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SignCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const models_0_1 = require("../models/models_0");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TagResourceCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
9
  class TagResourceCommand extends smithy_client_1.Command {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UntagResourceCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
9
  class UntagResourceCommand extends smithy_client_1.Command {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateAliasCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
9
  class UpdateAliasCommand extends smithy_client_1.Command {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateCustomKeyStoreCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const models_0_1 = require("../models/models_0");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateKeyDescriptionCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
9
  class UpdateKeyDescriptionCommand extends smithy_client_1.Command {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdatePrimaryRegionCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
9
  class UpdatePrimaryRegionCommand extends smithy_client_1.Command {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VerifyCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const models_0_1 = require("../models/models_0");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VerifyMacCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const models_0_1 = require("../models/models_0");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.KMSServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
5
  Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
6
  class KMSServiceException extends smithy_client_1.ServiceException {
7
7
  constructor(options) {
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.XksKeyInvalidConfigurationException = exports.XksKeyAlreadyInUseException = exports.UnsupportedOperationException = exports.TagException = exports.MalformedPolicyDocumentException = exports.SigningAlgorithmSpec = exports.MultiRegionKeyType = exports.MacAlgorithmSpec = exports.KeyState = exports.KeyManagerType = exports.ExpirationModelType = exports.EncryptionAlgorithmSpec = exports.OriginType = exports.KeyUsageType = exports.KeySpec = exports.CustomerMasterKeySpec = exports.InvalidGrantTokenException = exports.DisabledException = exports.GrantOperation = exports.XksProxyVpcEndpointServiceNotFoundException = exports.XksProxyVpcEndpointServiceInvalidConfigurationException = exports.XksProxyVpcEndpointServiceInUseException = exports.XksProxyUriUnreachableException = exports.XksProxyUriInUseException = exports.XksProxyUriEndpointInUseException = exports.XksProxyInvalidResponseException = exports.XksProxyInvalidConfigurationException = exports.XksProxyIncorrectAuthenticationCredentialException = exports.IncorrectTrustAnchorException = exports.CustomKeyStoreNameInUseException = exports.XksProxyConnectivityType = exports.CustomKeyStoreType = exports.LimitExceededException = exports.InvalidAliasNameException = exports.ConnectionStateType = exports.ConnectionErrorCodeType = exports.CustomKeyStoreNotFoundException = exports.CustomKeyStoreInvalidStateException = exports.CloudHsmClusterNotRelatedException = exports.CloudHsmClusterNotFoundException = exports.CloudHsmClusterNotActiveException = exports.CloudHsmClusterInvalidConfigurationException = exports.CloudHsmClusterInUseException = exports.NotFoundException = exports.KMSInvalidStateException = exports.KMSInternalException = exports.InvalidArnException = exports.DependencyTimeoutException = exports.AlreadyExistsException = exports.AlgorithmSpec = void 0;
4
- exports.VerifyMacRequestFilterSensitiveLog = exports.VerifyRequestFilterSensitiveLog = exports.UpdateCustomKeyStoreRequestFilterSensitiveLog = exports.SignRequestFilterSensitiveLog = exports.GetParametersForImportResponseFilterSensitiveLog = exports.GenerateRandomResponseFilterSensitiveLog = exports.GenerateMacRequestFilterSensitiveLog = exports.GenerateDataKeyPairResponseFilterSensitiveLog = exports.GenerateDataKeyResponseFilterSensitiveLog = exports.EncryptRequestFilterSensitiveLog = exports.DescribeCustomKeyStoresResponseFilterSensitiveLog = exports.DecryptResponseFilterSensitiveLog = exports.CustomKeyStoresListEntryFilterSensitiveLog = exports.XksProxyConfigurationTypeFilterSensitiveLog = exports.CreateCustomKeyStoreRequestFilterSensitiveLog = exports.XksProxyAuthenticationCredentialTypeFilterSensitiveLog = exports.MessageType = exports.KMSInvalidSignatureException = exports.KMSInvalidMacException = exports.InvalidGrantIdException = exports.InvalidImportTokenException = exports.IncorrectKeyMaterialException = exports.WrappingKeySpec = exports.ExpiredImportTokenException = exports.InvalidMarkerException = exports.KeyUnavailableException = exports.InvalidKeyUsageException = exports.InvalidCiphertextException = exports.IncorrectKeyException = exports.KeyEncryptionMechanism = exports.DataKeySpec = exports.DataKeyPairSpec = exports.CustomKeyStoreHasCMKsException = exports.XksKeyNotFoundException = void 0;
5
- const smithy_client_1 = require("@aws-sdk/smithy-client");
3
+ exports.XksKeyAlreadyInUseException = exports.UnsupportedOperationException = exports.TagException = exports.MalformedPolicyDocumentException = exports.SigningAlgorithmSpec = exports.MultiRegionKeyType = exports.MacAlgorithmSpec = exports.KeyState = exports.KeyManagerType = exports.ExpirationModelType = exports.EncryptionAlgorithmSpec = exports.OriginType = exports.KeyUsageType = exports.KeySpec = exports.CustomerMasterKeySpec = exports.InvalidGrantTokenException = exports.DryRunOperationException = exports.DisabledException = exports.GrantOperation = exports.XksProxyVpcEndpointServiceNotFoundException = exports.XksProxyVpcEndpointServiceInvalidConfigurationException = exports.XksProxyVpcEndpointServiceInUseException = exports.XksProxyUriUnreachableException = exports.XksProxyUriInUseException = exports.XksProxyUriEndpointInUseException = exports.XksProxyInvalidResponseException = exports.XksProxyInvalidConfigurationException = exports.XksProxyIncorrectAuthenticationCredentialException = exports.IncorrectTrustAnchorException = exports.CustomKeyStoreNameInUseException = exports.XksProxyConnectivityType = exports.CustomKeyStoreType = exports.LimitExceededException = exports.InvalidAliasNameException = exports.ConnectionStateType = exports.ConnectionErrorCodeType = exports.CustomKeyStoreNotFoundException = exports.CustomKeyStoreInvalidStateException = exports.CloudHsmClusterNotRelatedException = exports.CloudHsmClusterNotFoundException = exports.CloudHsmClusterNotActiveException = exports.CloudHsmClusterInvalidConfigurationException = exports.CloudHsmClusterInUseException = exports.NotFoundException = exports.KMSInvalidStateException = exports.KMSInternalException = exports.InvalidArnException = exports.DependencyTimeoutException = exports.AlreadyExistsException = exports.AlgorithmSpec = void 0;
4
+ exports.VerifyMacRequestFilterSensitiveLog = exports.VerifyRequestFilterSensitiveLog = exports.UpdateCustomKeyStoreRequestFilterSensitiveLog = exports.SignRequestFilterSensitiveLog = exports.GetParametersForImportResponseFilterSensitiveLog = exports.GenerateRandomResponseFilterSensitiveLog = exports.GenerateMacRequestFilterSensitiveLog = exports.GenerateDataKeyPairResponseFilterSensitiveLog = exports.GenerateDataKeyResponseFilterSensitiveLog = exports.EncryptRequestFilterSensitiveLog = exports.DescribeCustomKeyStoresResponseFilterSensitiveLog = exports.DecryptResponseFilterSensitiveLog = exports.CustomKeyStoresListEntryFilterSensitiveLog = exports.XksProxyConfigurationTypeFilterSensitiveLog = exports.CreateCustomKeyStoreRequestFilterSensitiveLog = exports.XksProxyAuthenticationCredentialTypeFilterSensitiveLog = exports.MessageType = exports.KMSInvalidSignatureException = exports.KMSInvalidMacException = exports.InvalidGrantIdException = exports.InvalidImportTokenException = exports.IncorrectKeyMaterialException = exports.WrappingKeySpec = exports.ExpiredImportTokenException = exports.InvalidMarkerException = exports.KeyUnavailableException = exports.InvalidKeyUsageException = exports.InvalidCiphertextException = exports.IncorrectKeyException = exports.KeyEncryptionMechanism = exports.DataKeySpec = exports.DataKeyPairSpec = exports.CustomKeyStoreHasCMKsException = exports.XksKeyNotFoundException = exports.XksKeyInvalidConfigurationException = void 0;
5
+ const smithy_client_1 = require("@smithy/smithy-client");
6
6
  const KMSServiceException_1 = require("./KMSServiceException");
7
7
  exports.AlgorithmSpec = {
8
8
  RSAES_OAEP_SHA_1: "RSAES_OAEP_SHA_1",
@@ -415,6 +415,19 @@ class DisabledException extends KMSServiceException_1.KMSServiceException {
415
415
  }
416
416
  }
417
417
  exports.DisabledException = DisabledException;
418
+ class DryRunOperationException extends KMSServiceException_1.KMSServiceException {
419
+ constructor(opts) {
420
+ super({
421
+ name: "DryRunOperationException",
422
+ $fault: "client",
423
+ ...opts,
424
+ });
425
+ this.name = "DryRunOperationException";
426
+ this.$fault = "client";
427
+ Object.setPrototypeOf(this, DryRunOperationException.prototype);
428
+ }
429
+ }
430
+ exports.DryRunOperationException = DryRunOperationException;
418
431
  class InvalidGrantTokenException extends KMSServiceException_1.KMSServiceException {
419
432
  constructor(opts) {
420
433
  super({
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.se_VerifyMacCommand = exports.se_VerifyCommand = exports.se_UpdatePrimaryRegionCommand = exports.se_UpdateKeyDescriptionCommand = exports.se_UpdateCustomKeyStoreCommand = exports.se_UpdateAliasCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_SignCommand = exports.se_ScheduleKeyDeletionCommand = exports.se_RevokeGrantCommand = exports.se_RetireGrantCommand = exports.se_ReplicateKeyCommand = exports.se_ReEncryptCommand = exports.se_PutKeyPolicyCommand = exports.se_ListRetirableGrantsCommand = exports.se_ListResourceTagsCommand = exports.se_ListKeysCommand = exports.se_ListKeyPoliciesCommand = exports.se_ListGrantsCommand = exports.se_ListAliasesCommand = exports.se_ImportKeyMaterialCommand = exports.se_GetPublicKeyCommand = exports.se_GetParametersForImportCommand = exports.se_GetKeyRotationStatusCommand = exports.se_GetKeyPolicyCommand = exports.se_GenerateRandomCommand = exports.se_GenerateMacCommand = exports.se_GenerateDataKeyWithoutPlaintextCommand = exports.se_GenerateDataKeyPairWithoutPlaintextCommand = exports.se_GenerateDataKeyPairCommand = exports.se_GenerateDataKeyCommand = exports.se_EncryptCommand = exports.se_EnableKeyRotationCommand = exports.se_EnableKeyCommand = exports.se_DisconnectCustomKeyStoreCommand = exports.se_DisableKeyRotationCommand = exports.se_DisableKeyCommand = exports.se_DescribeKeyCommand = exports.se_DescribeCustomKeyStoresCommand = exports.se_DeleteImportedKeyMaterialCommand = exports.se_DeleteCustomKeyStoreCommand = exports.se_DeleteAliasCommand = exports.se_DecryptCommand = exports.se_CreateKeyCommand = exports.se_CreateGrantCommand = exports.se_CreateCustomKeyStoreCommand = exports.se_CreateAliasCommand = exports.se_ConnectCustomKeyStoreCommand = exports.se_CancelKeyDeletionCommand = void 0;
4
4
  exports.de_VerifyMacCommand = exports.de_VerifyCommand = exports.de_UpdatePrimaryRegionCommand = exports.de_UpdateKeyDescriptionCommand = exports.de_UpdateCustomKeyStoreCommand = exports.de_UpdateAliasCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_SignCommand = exports.de_ScheduleKeyDeletionCommand = exports.de_RevokeGrantCommand = exports.de_RetireGrantCommand = exports.de_ReplicateKeyCommand = exports.de_ReEncryptCommand = exports.de_PutKeyPolicyCommand = exports.de_ListRetirableGrantsCommand = exports.de_ListResourceTagsCommand = exports.de_ListKeysCommand = exports.de_ListKeyPoliciesCommand = exports.de_ListGrantsCommand = exports.de_ListAliasesCommand = exports.de_ImportKeyMaterialCommand = exports.de_GetPublicKeyCommand = exports.de_GetParametersForImportCommand = exports.de_GetKeyRotationStatusCommand = exports.de_GetKeyPolicyCommand = exports.de_GenerateRandomCommand = exports.de_GenerateMacCommand = exports.de_GenerateDataKeyWithoutPlaintextCommand = exports.de_GenerateDataKeyPairWithoutPlaintextCommand = exports.de_GenerateDataKeyPairCommand = exports.de_GenerateDataKeyCommand = exports.de_EncryptCommand = exports.de_EnableKeyRotationCommand = exports.de_EnableKeyCommand = exports.de_DisconnectCustomKeyStoreCommand = exports.de_DisableKeyRotationCommand = exports.de_DisableKeyCommand = exports.de_DescribeKeyCommand = exports.de_DescribeCustomKeyStoresCommand = exports.de_DeleteImportedKeyMaterialCommand = exports.de_DeleteCustomKeyStoreCommand = exports.de_DeleteAliasCommand = exports.de_DecryptCommand = exports.de_CreateKeyCommand = exports.de_CreateGrantCommand = exports.de_CreateCustomKeyStoreCommand = exports.de_CreateAliasCommand = exports.de_ConnectCustomKeyStoreCommand = exports.de_CancelKeyDeletionCommand = void 0;
5
- const smithy_client_1 = require("@aws-sdk/smithy-client");
6
5
  const protocol_http_1 = require("@smithy/protocol-http");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  const KMSServiceException_1 = require("../models/KMSServiceException");
8
8
  const models_0_1 = require("../models/models_0");
9
9
  const se_CancelKeyDeletionCommand = async (input, context) => {
@@ -602,6 +602,9 @@ const de_CreateGrantCommandError = async (output, context) => {
602
602
  case "DisabledException":
603
603
  case "com.amazonaws.kms#DisabledException":
604
604
  throw await de_DisabledExceptionRes(parsedOutput, context);
605
+ case "DryRunOperationException":
606
+ case "com.amazonaws.kms#DryRunOperationException":
607
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
605
608
  case "InvalidArnException":
606
609
  case "com.amazonaws.kms#InvalidArnException":
607
610
  throw await de_InvalidArnExceptionRes(parsedOutput, context);
@@ -725,6 +728,9 @@ const de_DecryptCommandError = async (output, context) => {
725
728
  case "DisabledException":
726
729
  case "com.amazonaws.kms#DisabledException":
727
730
  throw await de_DisabledExceptionRes(parsedOutput, context);
731
+ case "DryRunOperationException":
732
+ case "com.amazonaws.kms#DryRunOperationException":
733
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
728
734
  case "IncorrectKeyException":
729
735
  case "com.amazonaws.kms#IncorrectKeyException":
730
736
  throw await de_IncorrectKeyExceptionRes(parsedOutput, context);
@@ -1214,6 +1220,9 @@ const de_EncryptCommandError = async (output, context) => {
1214
1220
  case "DisabledException":
1215
1221
  case "com.amazonaws.kms#DisabledException":
1216
1222
  throw await de_DisabledExceptionRes(parsedOutput, context);
1223
+ case "DryRunOperationException":
1224
+ case "com.amazonaws.kms#DryRunOperationException":
1225
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
1217
1226
  case "InvalidGrantTokenException":
1218
1227
  case "com.amazonaws.kms#InvalidGrantTokenException":
1219
1228
  throw await de_InvalidGrantTokenExceptionRes(parsedOutput, context);
@@ -1268,6 +1277,9 @@ const de_GenerateDataKeyCommandError = async (output, context) => {
1268
1277
  case "DisabledException":
1269
1278
  case "com.amazonaws.kms#DisabledException":
1270
1279
  throw await de_DisabledExceptionRes(parsedOutput, context);
1280
+ case "DryRunOperationException":
1281
+ case "com.amazonaws.kms#DryRunOperationException":
1282
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
1271
1283
  case "InvalidGrantTokenException":
1272
1284
  case "com.amazonaws.kms#InvalidGrantTokenException":
1273
1285
  throw await de_InvalidGrantTokenExceptionRes(parsedOutput, context);
@@ -1322,6 +1334,9 @@ const de_GenerateDataKeyPairCommandError = async (output, context) => {
1322
1334
  case "DisabledException":
1323
1335
  case "com.amazonaws.kms#DisabledException":
1324
1336
  throw await de_DisabledExceptionRes(parsedOutput, context);
1337
+ case "DryRunOperationException":
1338
+ case "com.amazonaws.kms#DryRunOperationException":
1339
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
1325
1340
  case "InvalidGrantTokenException":
1326
1341
  case "com.amazonaws.kms#InvalidGrantTokenException":
1327
1342
  throw await de_InvalidGrantTokenExceptionRes(parsedOutput, context);
@@ -1379,6 +1394,9 @@ const de_GenerateDataKeyPairWithoutPlaintextCommandError = async (output, contex
1379
1394
  case "DisabledException":
1380
1395
  case "com.amazonaws.kms#DisabledException":
1381
1396
  throw await de_DisabledExceptionRes(parsedOutput, context);
1397
+ case "DryRunOperationException":
1398
+ case "com.amazonaws.kms#DryRunOperationException":
1399
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
1382
1400
  case "InvalidGrantTokenException":
1383
1401
  case "com.amazonaws.kms#InvalidGrantTokenException":
1384
1402
  throw await de_InvalidGrantTokenExceptionRes(parsedOutput, context);
@@ -1436,6 +1454,9 @@ const de_GenerateDataKeyWithoutPlaintextCommandError = async (output, context) =
1436
1454
  case "DisabledException":
1437
1455
  case "com.amazonaws.kms#DisabledException":
1438
1456
  throw await de_DisabledExceptionRes(parsedOutput, context);
1457
+ case "DryRunOperationException":
1458
+ case "com.amazonaws.kms#DryRunOperationException":
1459
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
1439
1460
  case "InvalidGrantTokenException":
1440
1461
  case "com.amazonaws.kms#InvalidGrantTokenException":
1441
1462
  throw await de_InvalidGrantTokenExceptionRes(parsedOutput, context);
@@ -1487,6 +1508,9 @@ const de_GenerateMacCommandError = async (output, context) => {
1487
1508
  case "DisabledException":
1488
1509
  case "com.amazonaws.kms#DisabledException":
1489
1510
  throw await de_DisabledExceptionRes(parsedOutput, context);
1511
+ case "DryRunOperationException":
1512
+ case "com.amazonaws.kms#DryRunOperationException":
1513
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
1490
1514
  case "InvalidGrantTokenException":
1491
1515
  case "com.amazonaws.kms#InvalidGrantTokenException":
1492
1516
  throw await de_InvalidGrantTokenExceptionRes(parsedOutput, context);
@@ -2165,6 +2189,9 @@ const de_ReEncryptCommandError = async (output, context) => {
2165
2189
  case "DisabledException":
2166
2190
  case "com.amazonaws.kms#DisabledException":
2167
2191
  throw await de_DisabledExceptionRes(parsedOutput, context);
2192
+ case "DryRunOperationException":
2193
+ case "com.amazonaws.kms#DryRunOperationException":
2194
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
2168
2195
  case "IncorrectKeyException":
2169
2196
  case "com.amazonaws.kms#IncorrectKeyException":
2170
2197
  throw await de_IncorrectKeyExceptionRes(parsedOutput, context);
@@ -2279,6 +2306,9 @@ const de_RetireGrantCommandError = async (output, context) => {
2279
2306
  case "DependencyTimeoutException":
2280
2307
  case "com.amazonaws.kms#DependencyTimeoutException":
2281
2308
  throw await de_DependencyTimeoutExceptionRes(parsedOutput, context);
2309
+ case "DryRunOperationException":
2310
+ case "com.amazonaws.kms#DryRunOperationException":
2311
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
2282
2312
  case "InvalidArnException":
2283
2313
  case "com.amazonaws.kms#InvalidArnException":
2284
2314
  throw await de_InvalidArnExceptionRes(parsedOutput, context);
@@ -2327,6 +2357,9 @@ const de_RevokeGrantCommandError = async (output, context) => {
2327
2357
  case "DependencyTimeoutException":
2328
2358
  case "com.amazonaws.kms#DependencyTimeoutException":
2329
2359
  throw await de_DependencyTimeoutExceptionRes(parsedOutput, context);
2360
+ case "DryRunOperationException":
2361
+ case "com.amazonaws.kms#DryRunOperationException":
2362
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
2330
2363
  case "InvalidArnException":
2331
2364
  case "com.amazonaws.kms#InvalidArnException":
2332
2365
  throw await de_InvalidArnExceptionRes(parsedOutput, context);
@@ -2423,6 +2456,9 @@ const de_SignCommandError = async (output, context) => {
2423
2456
  case "DisabledException":
2424
2457
  case "com.amazonaws.kms#DisabledException":
2425
2458
  throw await de_DisabledExceptionRes(parsedOutput, context);
2459
+ case "DryRunOperationException":
2460
+ case "com.amazonaws.kms#DryRunOperationException":
2461
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
2426
2462
  case "InvalidGrantTokenException":
2427
2463
  case "com.amazonaws.kms#InvalidGrantTokenException":
2428
2464
  throw await de_InvalidGrantTokenExceptionRes(parsedOutput, context);
@@ -2774,6 +2810,9 @@ const de_VerifyCommandError = async (output, context) => {
2774
2810
  case "DisabledException":
2775
2811
  case "com.amazonaws.kms#DisabledException":
2776
2812
  throw await de_DisabledExceptionRes(parsedOutput, context);
2813
+ case "DryRunOperationException":
2814
+ case "com.amazonaws.kms#DryRunOperationException":
2815
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
2777
2816
  case "InvalidGrantTokenException":
2778
2817
  case "com.amazonaws.kms#InvalidGrantTokenException":
2779
2818
  throw await de_InvalidGrantTokenExceptionRes(parsedOutput, context);
@@ -2828,6 +2867,9 @@ const de_VerifyMacCommandError = async (output, context) => {
2828
2867
  case "DisabledException":
2829
2868
  case "com.amazonaws.kms#DisabledException":
2830
2869
  throw await de_DisabledExceptionRes(parsedOutput, context);
2870
+ case "DryRunOperationException":
2871
+ case "com.amazonaws.kms#DryRunOperationException":
2872
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
2831
2873
  case "InvalidGrantTokenException":
2832
2874
  case "com.amazonaws.kms#InvalidGrantTokenException":
2833
2875
  throw await de_InvalidGrantTokenExceptionRes(parsedOutput, context);
@@ -2966,6 +3008,15 @@ const de_DisabledExceptionRes = async (parsedOutput, context) => {
2966
3008
  });
2967
3009
  return (0, smithy_client_1.decorateServiceException)(exception, body);
2968
3010
  };
3011
+ const de_DryRunOperationExceptionRes = async (parsedOutput, context) => {
3012
+ const body = parsedOutput.body;
3013
+ const deserialized = (0, smithy_client_1._json)(body);
3014
+ const exception = new models_0_1.DryRunOperationException({
3015
+ $metadata: deserializeMetadata(parsedOutput),
3016
+ ...deserialized,
3017
+ });
3018
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3019
+ };
2969
3020
  const de_ExpiredImportTokenExceptionRes = async (parsedOutput, context) => {
2970
3021
  const body = parsedOutput.body;
2971
3022
  const deserialized = (0, smithy_client_1._json)(body);
@@ -3275,6 +3326,7 @@ const de_XksProxyVpcEndpointServiceNotFoundExceptionRes = async (parsedOutput, c
3275
3326
  const se_DecryptRequest = (input, context) => {
3276
3327
  return (0, smithy_client_1.take)(input, {
3277
3328
  CiphertextBlob: context.base64Encoder,
3329
+ DryRun: [],
3278
3330
  EncryptionAlgorithm: [],
3279
3331
  EncryptionContext: smithy_client_1._json,
3280
3332
  GrantTokens: smithy_client_1._json,
@@ -3284,6 +3336,7 @@ const se_DecryptRequest = (input, context) => {
3284
3336
  };
3285
3337
  const se_EncryptRequest = (input, context) => {
3286
3338
  return (0, smithy_client_1.take)(input, {
3339
+ DryRun: [],
3287
3340
  EncryptionAlgorithm: [],
3288
3341
  EncryptionContext: smithy_client_1._json,
3289
3342
  GrantTokens: smithy_client_1._json,
@@ -3293,6 +3346,7 @@ const se_EncryptRequest = (input, context) => {
3293
3346
  };
3294
3347
  const se_GenerateDataKeyPairRequest = (input, context) => {
3295
3348
  return (0, smithy_client_1.take)(input, {
3349
+ DryRun: [],
3296
3350
  EncryptionContext: smithy_client_1._json,
3297
3351
  GrantTokens: smithy_client_1._json,
3298
3352
  KeyId: [],
@@ -3302,6 +3356,7 @@ const se_GenerateDataKeyPairRequest = (input, context) => {
3302
3356
  };
3303
3357
  const se_GenerateDataKeyRequest = (input, context) => {
3304
3358
  return (0, smithy_client_1.take)(input, {
3359
+ DryRun: [],
3305
3360
  EncryptionContext: smithy_client_1._json,
3306
3361
  GrantTokens: smithy_client_1._json,
3307
3362
  KeyId: [],
@@ -3312,6 +3367,7 @@ const se_GenerateDataKeyRequest = (input, context) => {
3312
3367
  };
3313
3368
  const se_GenerateMacRequest = (input, context) => {
3314
3369
  return (0, smithy_client_1.take)(input, {
3370
+ DryRun: [],
3315
3371
  GrantTokens: smithy_client_1._json,
3316
3372
  KeyId: [],
3317
3373
  MacAlgorithm: [],
@@ -3346,6 +3402,7 @@ const se_ReEncryptRequest = (input, context) => {
3346
3402
  DestinationEncryptionAlgorithm: [],
3347
3403
  DestinationEncryptionContext: smithy_client_1._json,
3348
3404
  DestinationKeyId: [],
3405
+ DryRun: [],
3349
3406
  GrantTokens: smithy_client_1._json,
3350
3407
  SourceEncryptionAlgorithm: [],
3351
3408
  SourceEncryptionContext: smithy_client_1._json,
@@ -3354,6 +3411,7 @@ const se_ReEncryptRequest = (input, context) => {
3354
3411
  };
3355
3412
  const se_SignRequest = (input, context) => {
3356
3413
  return (0, smithy_client_1.take)(input, {
3414
+ DryRun: [],
3357
3415
  GrantTokens: smithy_client_1._json,
3358
3416
  KeyId: [],
3359
3417
  Message: context.base64Encoder,
@@ -3363,6 +3421,7 @@ const se_SignRequest = (input, context) => {
3363
3421
  };
3364
3422
  const se_VerifyMacRequest = (input, context) => {
3365
3423
  return (0, smithy_client_1.take)(input, {
3424
+ DryRun: [],
3366
3425
  GrantTokens: smithy_client_1._json,
3367
3426
  KeyId: [],
3368
3427
  Mac: context.base64Encoder,
@@ -3372,6 +3431,7 @@ const se_VerifyMacRequest = (input, context) => {
3372
3431
  };
3373
3432
  const se_VerifyRequest = (input, context) => {
3374
3433
  return (0, smithy_client_1.take)(input, {
3434
+ DryRun: [],
3375
3435
  GrantTokens: smithy_client_1._json,
3376
3436
  KeyId: [],
3377
3437
  Message: context.base64Encoder,
@@ -4,15 +4,15 @@ exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
- const config_resolver_1 = require("@aws-sdk/config-resolver");
8
- const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
9
- const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
10
- const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
11
- const util_retry_1 = require("@aws-sdk/util-retry");
12
7
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
8
+ const config_resolver_1 = require("@smithy/config-resolver");
9
+ const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
10
+ const invalid_dependency_1 = require("@smithy/invalid-dependency");
11
+ const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
12
+ const util_retry_1 = require("@smithy/util-retry");
13
13
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
14
- const smithy_client_1 = require("@aws-sdk/smithy-client");
15
- const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
14
+ const smithy_client_1 = require("@smithy/smithy-client");
15
+ const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
16
16
  const getRuntimeConfig = (config) => {
17
17
  const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
18
18
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
@@ -4,19 +4,19 @@ exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const client_sts_1 = require("@aws-sdk/client-sts");
7
- const config_resolver_1 = require("@aws-sdk/config-resolver");
8
7
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
9
- const hash_node_1 = require("@aws-sdk/hash-node");
10
- const middleware_retry_1 = require("@aws-sdk/middleware-retry");
11
- const node_config_provider_1 = require("@aws-sdk/node-config-provider");
12
- const node_http_handler_1 = require("@aws-sdk/node-http-handler");
13
- const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
14
- const util_retry_1 = require("@aws-sdk/util-retry");
15
8
  const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
9
+ const config_resolver_1 = require("@smithy/config-resolver");
10
+ const hash_node_1 = require("@smithy/hash-node");
11
+ const middleware_retry_1 = require("@smithy/middleware-retry");
12
+ const node_config_provider_1 = require("@smithy/node-config-provider");
13
+ const node_http_handler_1 = require("@smithy/node-http-handler");
14
+ const util_body_length_node_1 = require("@smithy/util-body-length-node");
15
+ const util_retry_1 = require("@smithy/util-retry");
16
16
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
17
- const smithy_client_1 = require("@aws-sdk/smithy-client");
18
- const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
19
- const smithy_client_2 = require("@aws-sdk/smithy-client");
17
+ const smithy_client_1 = require("@smithy/smithy-client");
18
+ const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
19
+ const smithy_client_2 = require("@smithy/smithy-client");
20
20
  const getRuntimeConfig = (config) => {
21
21
  (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
22
22
  const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
- const smithy_client_1 = require("@aws-sdk/smithy-client");
5
- const url_parser_1 = require("@aws-sdk/url-parser");
6
- const util_base64_1 = require("@aws-sdk/util-base64");
7
- const util_utf8_1 = require("@aws-sdk/util-utf8");
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ const url_parser_1 = require("@smithy/url-parser");
6
+ const util_base64_1 = require("@smithy/util-base64");
7
+ const util_utf8_1 = require("@smithy/util-utf8");
8
8
  const endpointResolver_1 = require("./endpoint/endpointResolver");
9
9
  const getRuntimeConfig = (config) => ({
10
10
  apiVersion: "2014-11-01",
package/dist-es/KMS.js CHANGED
@@ -1,4 +1,4 @@
1
- import { createAggregatedClient } from "@aws-sdk/smithy-client";
1
+ import { createAggregatedClient } from "@smithy/smithy-client";
2
2
  import { CancelKeyDeletionCommand, } from "./commands/CancelKeyDeletionCommand";
3
3
  import { ConnectCustomKeyStoreCommand, } from "./commands/ConnectCustomKeyStoreCommand";
4
4
  import { CreateAliasCommand } from "./commands/CreateAliasCommand";
@@ -1,13 +1,13 @@
1
- import { resolveRegionConfig } from "@aws-sdk/config-resolver";
2
- import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
- import { resolveEndpointConfig } from "@aws-sdk/middleware-endpoint";
4
1
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
5
2
  import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
6
3
  import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
7
- import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
8
4
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
9
5
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
- import { Client as __Client, } from "@aws-sdk/smithy-client";
6
+ import { resolveRegionConfig } from "@smithy/config-resolver";
7
+ import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
+ import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
+ import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
10
+ import { Client as __Client, } from "@smithy/smithy-client";
11
11
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
12
12
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
13
13
  export { __Client };
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_CancelKeyDeletionCommand, se_CancelKeyDeletionCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class CancelKeyDeletionCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_ConnectCustomKeyStoreCommand, se_ConnectCustomKeyStoreCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class ConnectCustomKeyStoreCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_CreateAliasCommand, se_CreateAliasCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class CreateAliasCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { CreateCustomKeyStoreRequestFilterSensitiveLog, } from "../models/models_0";
5
5
  import { de_CreateCustomKeyStoreCommand, se_CreateCustomKeyStoreCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_CreateGrantCommand, se_CreateGrantCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class CreateGrantCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_CreateKeyCommand, se_CreateKeyCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class CreateKeyCommand extends $Command {