@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,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
5
5
  import { UpdateCustomKeyStoreRequest, UpdateCustomKeyStoreResponse } from "../models/models_0";
6
6
  /**
@@ -283,8 +283,9 @@ export interface UpdateCustomKeyStoreCommandOutput extends UpdateCustomKeyStoreR
283
283
  * @throws {@link XksProxyUriUnreachableException} (client fault)
284
284
  * <p>KMS was unable to reach the specified <code>XksProxyUriPath</code>. The path must be
285
285
  * reachable before you create the external key store or update its settings.</p>
286
- * <p>This exception is also thrown when the external key store proxy response to a <code>GetHealthStatus</code>
287
- * request indicates that all external key manager instances are unavailable.</p>
286
+ * <p>This exception is also thrown when the external key store proxy response to a
287
+ * <code>GetHealthStatus</code> request indicates that all external key manager instances are
288
+ * unavailable.</p>
288
289
  *
289
290
  * @throws {@link XksProxyVpcEndpointServiceInUseException} (client fault)
290
291
  * <p>The request was rejected because the specified Amazon VPC endpoint service is already
@@ -294,7 +295,8 @@ export interface UpdateCustomKeyStoreCommandOutput extends UpdateCustomKeyStoreR
294
295
  * @throws {@link XksProxyVpcEndpointServiceInvalidConfigurationException} (client fault)
295
296
  * <p>The request was rejected because the Amazon VPC endpoint service configuration does not fulfill
296
297
  * the requirements for an external key store proxy. For details, see the exception message and
297
- * <a href="kms/latest/developerguide/vpc-connectivity.html#xks-vpc-requirements">review the requirements</a> for Amazon VPC endpoint service connectivity for an external key
298
+ * <a href="kms/latest/developerguide/vpc-connectivity.html#xks-vpc-requirements">review the
299
+ * requirements</a> for Amazon VPC endpoint service connectivity for an external key
298
300
  * store.</p>
299
301
  *
300
302
  * @throws {@link XksProxyVpcEndpointServiceNotFoundException} (client fault)
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
5
5
  import { UpdateKeyDescriptionRequest } from "../models/models_0";
6
6
  /**
@@ -93,7 +93,9 @@ export interface UpdateKeyDescriptionCommandOutput extends __MetadataBearer {
93
93
  * </i>.</p>
94
94
  * </li>
95
95
  * <li>
96
- * <p>For cryptographic operations on KMS keys in custom key stores, this exception represents a general failure with many possible causes. To identify the cause, see the error message that accompanies the exception.</p>
96
+ * <p>For cryptographic operations on KMS keys in custom key stores, this exception
97
+ * represents a general failure with many possible causes. To identify the cause, see the
98
+ * error message that accompanies the exception.</p>
97
99
  * </li>
98
100
  * </ul>
99
101
  *
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
5
5
  import { UpdatePrimaryRegionRequest } from "../models/models_0";
6
6
  /**
@@ -135,7 +135,9 @@ export interface UpdatePrimaryRegionCommandOutput extends __MetadataBearer {
135
135
  * </i>.</p>
136
136
  * </li>
137
137
  * <li>
138
- * <p>For cryptographic operations on KMS keys in custom key stores, this exception represents a general failure with many possible causes. To identify the cause, see the error message that accompanies the exception.</p>
138
+ * <p>For cryptographic operations on KMS keys in custom key stores, this exception
139
+ * represents a general failure with many possible causes. To identify the cause, see the
140
+ * error message that accompanies the exception.</p>
139
141
  * </li>
140
142
  * </ul>
141
143
  *
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
5
5
  import { VerifyRequest, VerifyResponse } from "../models/models_0";
6
6
  /**
@@ -33,11 +33,10 @@ export interface VerifyCommandOutput extends VerifyResponse, __MetadataBearer {
33
33
  * <p>A digital signature is generated by using the private key in an asymmetric KMS key. The
34
34
  * signature is verified by using the public key in the same asymmetric KMS key.
35
35
  * For information about asymmetric KMS keys, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Asymmetric KMS keys</a> in the <i>Key Management Service Developer Guide</i>.</p>
36
- * <p>To use the <code>Verify</code> operation, specify the
37
- * same asymmetric KMS key, message, and signing algorithm that were used to produce the
38
- * signature. The message type does not need to be the same as the one used for signing, but it must
39
- * indicate whether the value of the <code>Message</code> parameter should be
40
- * hashed as part of the verification process.</p>
36
+ * <p>To use the <code>Verify</code> operation, specify the same asymmetric KMS key, message,
37
+ * and signing algorithm that were used to produce the signature. The message type does not need
38
+ * to be the same as the one used for signing, but it must indicate whether the value of the
39
+ * <code>Message</code> parameter should be hashed as part of the verification process.</p>
41
40
  * <p>You can also verify the digital signature by using the public key of the KMS key outside
42
41
  * of KMS. Use the <a>GetPublicKey</a> operation to download the public key in the
43
42
  * asymmetric KMS key and then use the public key to verify the signature outside of KMS. The
@@ -45,10 +44,10 @@ export interface VerifyCommandOutput extends VerifyResponse, __MetadataBearer {
45
44
  * a result, it's easy to call, the operation is performed within the FIPS boundary, it is logged
46
45
  * in CloudTrail, and you can use key policy and IAM policy to determine who is authorized to use
47
46
  * the KMS key to verify signatures.</p>
48
- * <p>To verify a signature outside of KMS with an SM2 public key (China Regions only), you must
49
- * specify the distinguishing ID. By default, KMS uses <code>1234567812345678</code> as the
50
- * distinguishing ID. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/asymmetric-key-specs.html#key-spec-sm-offline-verification">Offline verification
51
- * with SM2 key pairs</a>.</p>
47
+ * <p>To verify a signature outside of KMS with an SM2 public key (China Regions only), you
48
+ * must specify the distinguishing ID. By default, KMS uses <code>1234567812345678</code> as
49
+ * the distinguishing ID. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/asymmetric-key-specs.html#key-spec-sm-offline-verification">Offline
50
+ * verification with SM2 key pairs</a>.</p>
52
51
  * <p>The KMS key that you use for this operation must be in a compatible key state. For
53
52
  * details, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html">Key states of KMS keys</a> in the <i>Key Management Service Developer Guide</i>.</p>
54
53
  * <p>
@@ -74,6 +73,7 @@ export interface VerifyCommandOutput extends VerifyResponse, __MetadataBearer {
74
73
  * GrantTokens: [ // GrantTokenList
75
74
  * "STRING_VALUE",
76
75
  * ],
76
+ * DryRun: true || false,
77
77
  * };
78
78
  * const command = new VerifyCommand(input);
79
79
  * const response = await client.send(command);
@@ -98,6 +98,11 @@ export interface VerifyCommandOutput extends VerifyResponse, __MetadataBearer {
98
98
  * @throws {@link DisabledException} (client fault)
99
99
  * <p>The request was rejected because the specified KMS key is not enabled.</p>
100
100
  *
101
+ * @throws {@link DryRunOperationException} (client fault)
102
+ * <p>
103
+ * The request was rejected because the DryRun parameter was specified.
104
+ * </p>
105
+ *
101
106
  * @throws {@link InvalidGrantTokenException} (client fault)
102
107
  * <p>The request was rejected because the specified grant token is not valid.</p>
103
108
  *
@@ -149,7 +154,9 @@ export interface VerifyCommandOutput extends VerifyResponse, __MetadataBearer {
149
154
  * </i>.</p>
150
155
  * </li>
151
156
  * <li>
152
- * <p>For cryptographic operations on KMS keys in custom key stores, this exception represents a general failure with many possible causes. To identify the cause, see the error message that accompanies the exception.</p>
157
+ * <p>For cryptographic operations on KMS keys in custom key stores, this exception
158
+ * represents a general failure with many possible causes. To identify the cause, see the
159
+ * error message that accompanies the exception.</p>
153
160
  * </li>
154
161
  * </ul>
155
162
  *
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
5
5
  import { VerifyMacRequest, VerifyMacResponse } from "../models/models_0";
6
6
  /**
@@ -58,6 +58,7 @@ export interface VerifyMacCommandOutput extends VerifyMacResponse, __MetadataBea
58
58
  * GrantTokens: [ // GrantTokenList
59
59
  * "STRING_VALUE",
60
60
  * ],
61
+ * DryRun: true || false,
61
62
  * };
62
63
  * const command = new VerifyMacCommand(input);
63
64
  * const response = await client.send(command);
@@ -78,6 +79,11 @@ export interface VerifyMacCommandOutput extends VerifyMacResponse, __MetadataBea
78
79
  * @throws {@link DisabledException} (client fault)
79
80
  * <p>The request was rejected because the specified KMS key is not enabled.</p>
80
81
  *
82
+ * @throws {@link DryRunOperationException} (client fault)
83
+ * <p>
84
+ * The request was rejected because the DryRun parameter was specified.
85
+ * </p>
86
+ *
81
87
  * @throws {@link InvalidGrantTokenException} (client fault)
82
88
  * <p>The request was rejected because the specified grant token is not valid.</p>
83
89
  *
@@ -129,7 +135,9 @@ export interface VerifyMacCommandOutput extends VerifyMacResponse, __MetadataBea
129
135
  * </i>.</p>
130
136
  * </li>
131
137
  * <li>
132
- * <p>For cryptographic operations on KMS keys in custom key stores, this exception represents a general failure with many possible causes. To identify the cause, see the error message that accompanies the exception.</p>
138
+ * <p>For cryptographic operations on KMS keys in custom key stores, this exception
139
+ * represents a general failure with many possible causes. To identify the cause, see the
140
+ * error message that accompanies the exception.</p>
133
141
  * </li>
134
142
  * </ul>
135
143
  *
@@ -1,5 +1,4 @@
1
- import { EndpointParameters as __EndpointParameters, EndpointV2 } from "@aws-sdk/types";
2
- import { Endpoint, Provider } from "@smithy/types";
1
+ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
3
2
  export interface ClientInputEndpointParameters {
4
3
  region?: string | Provider<string>;
5
4
  useDualstackEndpoint?: boolean | Provider<boolean>;
@@ -1,4 +1,4 @@
1
- import { EndpointV2, Logger } from "@aws-sdk/types";
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
2
  import { EndpointParameters } from "./EndpointParameters";
3
3
  export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
4
  logger?: Logger;
@@ -1,2 +1,2 @@
1
- import { RuleSetObject } from "@aws-sdk/util-endpoints";
1
+ import { RuleSetObject } from "@smithy/types";
2
2
  export declare const ruleSet: RuleSetObject;
@@ -1,4 +1,4 @@
1
- import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
2
2
  export { __ServiceException, __ServiceExceptionOptions };
3
3
  /**
4
4
  * @public