@aws-sdk/client-kms 3.28.0 → 3.32.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 (313) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/KMS.ts +567 -572
  3. package/KMSClient.ts +18 -18
  4. package/README.md +18 -18
  5. package/commands/CancelKeyDeletionCommand.ts +6 -7
  6. package/commands/ConnectCustomKeyStoreCommand.ts +9 -9
  7. package/commands/CreateAliasCommand.ts +13 -14
  8. package/commands/CreateCustomKeyStoreCommand.ts +8 -8
  9. package/commands/CreateGrantCommand.ts +15 -22
  10. package/commands/CreateKeyCommand.ts +44 -44
  11. package/commands/DecryptCommand.ts +23 -22
  12. package/commands/DeleteAliasCommand.ts +7 -8
  13. package/commands/DeleteCustomKeyStoreCommand.ts +13 -13
  14. package/commands/DeleteImportedKeyMaterialCommand.ts +9 -9
  15. package/commands/DescribeCustomKeyStoresCommand.ts +6 -6
  16. package/commands/DescribeKeyCommand.ts +18 -19
  17. package/commands/DisableKeyCommand.ts +7 -7
  18. package/commands/DisableKeyRotationCommand.ts +5 -6
  19. package/commands/DisconnectCustomKeyStoreCommand.ts +6 -8
  20. package/commands/EnableKeyCommand.ts +4 -5
  21. package/commands/EnableKeyRotationCommand.ts +5 -5
  22. package/commands/EncryptCommand.ts +20 -21
  23. package/commands/GenerateDataKeyCommand.ts +17 -18
  24. package/commands/GenerateDataKeyPairCommand.ts +21 -15
  25. package/commands/GenerateDataKeyPairWithoutPlaintextCommand.ts +16 -12
  26. package/commands/GenerateDataKeyWithoutPlaintextCommand.ts +9 -9
  27. package/commands/GenerateRandomCommand.ts +4 -3
  28. package/commands/GetKeyPolicyCommand.ts +2 -2
  29. package/commands/GetKeyRotationStatusCommand.ts +9 -9
  30. package/commands/GetParametersForImportCommand.ts +8 -8
  31. package/commands/GetPublicKeyCommand.ts +15 -15
  32. package/commands/ImportKeyMaterialCommand.ts +18 -18
  33. package/commands/ListAliasesCommand.ts +8 -10
  34. package/commands/ListGrantsCommand.ts +9 -4
  35. package/commands/ListKeyPoliciesCommand.ts +2 -2
  36. package/commands/ListKeysCommand.ts +2 -2
  37. package/commands/ListResourceTagsCommand.ts +4 -4
  38. package/commands/ListRetirableGrantsCommand.ts +14 -14
  39. package/commands/PutKeyPolicyCommand.ts +5 -5
  40. package/commands/ReEncryptCommand.ts +30 -34
  41. package/commands/ReplicateKeyCommand.ts +16 -16
  42. package/commands/RetireGrantCommand.ts +9 -9
  43. package/commands/RevokeGrantCommand.ts +9 -4
  44. package/commands/ScheduleKeyDeletionCommand.ts +17 -17
  45. package/commands/SignCommand.ts +12 -13
  46. package/commands/TagResourceCommand.ts +10 -12
  47. package/commands/UntagResourceCommand.ts +9 -10
  48. package/commands/UpdateAliasCommand.ts +15 -15
  49. package/commands/UpdateCustomKeyStoreCommand.ts +9 -9
  50. package/commands/UpdateKeyDescriptionCommand.ts +4 -4
  51. package/commands/UpdatePrimaryRegionCommand.ts +13 -13
  52. package/commands/VerifyCommand.ts +14 -14
  53. package/dist/cjs/KMS.js +18 -18
  54. package/dist/cjs/KMS.js.map +1 -1
  55. package/dist/cjs/KMSClient.js +18 -18
  56. package/dist/cjs/commands/CancelKeyDeletionCommand.js +6 -7
  57. package/dist/cjs/commands/CancelKeyDeletionCommand.js.map +1 -1
  58. package/dist/cjs/commands/ConnectCustomKeyStoreCommand.js +9 -9
  59. package/dist/cjs/commands/CreateAliasCommand.js +13 -14
  60. package/dist/cjs/commands/CreateAliasCommand.js.map +1 -1
  61. package/dist/cjs/commands/CreateCustomKeyStoreCommand.js +8 -8
  62. package/dist/cjs/commands/CreateGrantCommand.js +15 -22
  63. package/dist/cjs/commands/CreateGrantCommand.js.map +1 -1
  64. package/dist/cjs/commands/CreateKeyCommand.js +44 -44
  65. package/dist/cjs/commands/DecryptCommand.js +23 -22
  66. package/dist/cjs/commands/DecryptCommand.js.map +1 -1
  67. package/dist/cjs/commands/DeleteAliasCommand.js +7 -8
  68. package/dist/cjs/commands/DeleteAliasCommand.js.map +1 -1
  69. package/dist/cjs/commands/DeleteCustomKeyStoreCommand.js +13 -13
  70. package/dist/cjs/commands/DeleteImportedKeyMaterialCommand.js +9 -9
  71. package/dist/cjs/commands/DescribeCustomKeyStoresCommand.js +6 -6
  72. package/dist/cjs/commands/DescribeKeyCommand.js +18 -19
  73. package/dist/cjs/commands/DescribeKeyCommand.js.map +1 -1
  74. package/dist/cjs/commands/DisableKeyCommand.js +7 -7
  75. package/dist/cjs/commands/DisableKeyRotationCommand.js +5 -6
  76. package/dist/cjs/commands/DisableKeyRotationCommand.js.map +1 -1
  77. package/dist/cjs/commands/DisconnectCustomKeyStoreCommand.js +6 -8
  78. package/dist/cjs/commands/DisconnectCustomKeyStoreCommand.js.map +1 -1
  79. package/dist/cjs/commands/EnableKeyCommand.js +4 -5
  80. package/dist/cjs/commands/EnableKeyCommand.js.map +1 -1
  81. package/dist/cjs/commands/EnableKeyRotationCommand.js +5 -5
  82. package/dist/cjs/commands/EncryptCommand.js +20 -21
  83. package/dist/cjs/commands/EncryptCommand.js.map +1 -1
  84. package/dist/cjs/commands/GenerateDataKeyCommand.js +17 -18
  85. package/dist/cjs/commands/GenerateDataKeyCommand.js.map +1 -1
  86. package/dist/cjs/commands/GenerateDataKeyPairCommand.js +21 -15
  87. package/dist/cjs/commands/GenerateDataKeyPairCommand.js.map +1 -1
  88. package/dist/cjs/commands/GenerateDataKeyPairWithoutPlaintextCommand.js +16 -12
  89. package/dist/cjs/commands/GenerateDataKeyPairWithoutPlaintextCommand.js.map +1 -1
  90. package/dist/cjs/commands/GenerateDataKeyWithoutPlaintextCommand.js +9 -9
  91. package/dist/cjs/commands/GenerateRandomCommand.js +4 -3
  92. package/dist/cjs/commands/GenerateRandomCommand.js.map +1 -1
  93. package/dist/cjs/commands/GetKeyPolicyCommand.js +2 -2
  94. package/dist/cjs/commands/GetKeyRotationStatusCommand.js +9 -9
  95. package/dist/cjs/commands/GetParametersForImportCommand.js +8 -8
  96. package/dist/cjs/commands/GetPublicKeyCommand.js +15 -15
  97. package/dist/cjs/commands/ImportKeyMaterialCommand.js +18 -18
  98. package/dist/cjs/commands/ListAliasesCommand.js +8 -10
  99. package/dist/cjs/commands/ListAliasesCommand.js.map +1 -1
  100. package/dist/cjs/commands/ListGrantsCommand.js +9 -4
  101. package/dist/cjs/commands/ListGrantsCommand.js.map +1 -1
  102. package/dist/cjs/commands/ListKeyPoliciesCommand.js +2 -2
  103. package/dist/cjs/commands/ListKeysCommand.js +2 -2
  104. package/dist/cjs/commands/ListResourceTagsCommand.js +4 -4
  105. package/dist/cjs/commands/ListRetirableGrantsCommand.js +14 -14
  106. package/dist/cjs/commands/PutKeyPolicyCommand.js +5 -5
  107. package/dist/cjs/commands/ReEncryptCommand.js +30 -34
  108. package/dist/cjs/commands/ReEncryptCommand.js.map +1 -1
  109. package/dist/cjs/commands/ReplicateKeyCommand.js +16 -16
  110. package/dist/cjs/commands/RetireGrantCommand.js +9 -9
  111. package/dist/cjs/commands/RevokeGrantCommand.js +9 -4
  112. package/dist/cjs/commands/RevokeGrantCommand.js.map +1 -1
  113. package/dist/cjs/commands/ScheduleKeyDeletionCommand.js +17 -17
  114. package/dist/cjs/commands/SignCommand.js +12 -13
  115. package/dist/cjs/commands/SignCommand.js.map +1 -1
  116. package/dist/cjs/commands/TagResourceCommand.js +10 -12
  117. package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
  118. package/dist/cjs/commands/UntagResourceCommand.js +9 -10
  119. package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
  120. package/dist/cjs/commands/UpdateAliasCommand.js +15 -15
  121. package/dist/cjs/commands/UpdateCustomKeyStoreCommand.js +9 -9
  122. package/dist/cjs/commands/UpdateKeyDescriptionCommand.js +4 -4
  123. package/dist/cjs/commands/UpdatePrimaryRegionCommand.js +13 -13
  124. package/dist/cjs/commands/VerifyCommand.js +14 -14
  125. package/dist/cjs/models/models_0.js +14 -3
  126. package/dist/cjs/models/models_0.js.map +1 -1
  127. package/dist/cjs/package.json +31 -31
  128. package/dist/cjs/protocols/Aws_json1_1.js +16 -11
  129. package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
  130. package/dist/es/KMS.js +18 -18
  131. package/dist/es/KMS.js.map +1 -1
  132. package/dist/es/KMSClient.js +18 -18
  133. package/dist/es/commands/CancelKeyDeletionCommand.js +6 -7
  134. package/dist/es/commands/CancelKeyDeletionCommand.js.map +1 -1
  135. package/dist/es/commands/ConnectCustomKeyStoreCommand.js +9 -9
  136. package/dist/es/commands/CreateAliasCommand.js +13 -14
  137. package/dist/es/commands/CreateAliasCommand.js.map +1 -1
  138. package/dist/es/commands/CreateCustomKeyStoreCommand.js +8 -8
  139. package/dist/es/commands/CreateGrantCommand.js +15 -22
  140. package/dist/es/commands/CreateGrantCommand.js.map +1 -1
  141. package/dist/es/commands/CreateKeyCommand.js +44 -44
  142. package/dist/es/commands/DecryptCommand.js +23 -22
  143. package/dist/es/commands/DecryptCommand.js.map +1 -1
  144. package/dist/es/commands/DeleteAliasCommand.js +7 -8
  145. package/dist/es/commands/DeleteAliasCommand.js.map +1 -1
  146. package/dist/es/commands/DeleteCustomKeyStoreCommand.js +13 -13
  147. package/dist/es/commands/DeleteImportedKeyMaterialCommand.js +9 -9
  148. package/dist/es/commands/DescribeCustomKeyStoresCommand.js +6 -6
  149. package/dist/es/commands/DescribeKeyCommand.js +18 -19
  150. package/dist/es/commands/DescribeKeyCommand.js.map +1 -1
  151. package/dist/es/commands/DisableKeyCommand.js +7 -7
  152. package/dist/es/commands/DisableKeyRotationCommand.js +5 -6
  153. package/dist/es/commands/DisableKeyRotationCommand.js.map +1 -1
  154. package/dist/es/commands/DisconnectCustomKeyStoreCommand.js +6 -8
  155. package/dist/es/commands/DisconnectCustomKeyStoreCommand.js.map +1 -1
  156. package/dist/es/commands/EnableKeyCommand.js +4 -5
  157. package/dist/es/commands/EnableKeyCommand.js.map +1 -1
  158. package/dist/es/commands/EnableKeyRotationCommand.js +5 -5
  159. package/dist/es/commands/EncryptCommand.js +20 -21
  160. package/dist/es/commands/EncryptCommand.js.map +1 -1
  161. package/dist/es/commands/GenerateDataKeyCommand.js +17 -18
  162. package/dist/es/commands/GenerateDataKeyCommand.js.map +1 -1
  163. package/dist/es/commands/GenerateDataKeyPairCommand.js +21 -15
  164. package/dist/es/commands/GenerateDataKeyPairCommand.js.map +1 -1
  165. package/dist/es/commands/GenerateDataKeyPairWithoutPlaintextCommand.js +16 -12
  166. package/dist/es/commands/GenerateDataKeyPairWithoutPlaintextCommand.js.map +1 -1
  167. package/dist/es/commands/GenerateDataKeyWithoutPlaintextCommand.js +9 -9
  168. package/dist/es/commands/GenerateRandomCommand.js +4 -3
  169. package/dist/es/commands/GenerateRandomCommand.js.map +1 -1
  170. package/dist/es/commands/GetKeyPolicyCommand.js +2 -2
  171. package/dist/es/commands/GetKeyRotationStatusCommand.js +9 -9
  172. package/dist/es/commands/GetParametersForImportCommand.js +8 -8
  173. package/dist/es/commands/GetPublicKeyCommand.js +15 -15
  174. package/dist/es/commands/ImportKeyMaterialCommand.js +18 -18
  175. package/dist/es/commands/ListAliasesCommand.js +8 -10
  176. package/dist/es/commands/ListAliasesCommand.js.map +1 -1
  177. package/dist/es/commands/ListGrantsCommand.js +9 -4
  178. package/dist/es/commands/ListGrantsCommand.js.map +1 -1
  179. package/dist/es/commands/ListKeyPoliciesCommand.js +2 -2
  180. package/dist/es/commands/ListKeysCommand.js +2 -2
  181. package/dist/es/commands/ListResourceTagsCommand.js +4 -4
  182. package/dist/es/commands/ListRetirableGrantsCommand.js +14 -14
  183. package/dist/es/commands/PutKeyPolicyCommand.js +5 -5
  184. package/dist/es/commands/ReEncryptCommand.js +30 -34
  185. package/dist/es/commands/ReEncryptCommand.js.map +1 -1
  186. package/dist/es/commands/ReplicateKeyCommand.js +16 -16
  187. package/dist/es/commands/RetireGrantCommand.js +9 -9
  188. package/dist/es/commands/RevokeGrantCommand.js +9 -4
  189. package/dist/es/commands/RevokeGrantCommand.js.map +1 -1
  190. package/dist/es/commands/ScheduleKeyDeletionCommand.js +17 -17
  191. package/dist/es/commands/SignCommand.js +12 -13
  192. package/dist/es/commands/SignCommand.js.map +1 -1
  193. package/dist/es/commands/TagResourceCommand.js +10 -12
  194. package/dist/es/commands/TagResourceCommand.js.map +1 -1
  195. package/dist/es/commands/UntagResourceCommand.js +9 -10
  196. package/dist/es/commands/UntagResourceCommand.js.map +1 -1
  197. package/dist/es/commands/UpdateAliasCommand.js +15 -15
  198. package/dist/es/commands/UpdateCustomKeyStoreCommand.js +9 -9
  199. package/dist/es/commands/UpdateKeyDescriptionCommand.js +4 -4
  200. package/dist/es/commands/UpdatePrimaryRegionCommand.js +13 -13
  201. package/dist/es/commands/VerifyCommand.js +14 -14
  202. package/dist/es/endpoints.js +1 -2
  203. package/dist/es/endpoints.js.map +1 -1
  204. package/dist/es/models/models_0.js +11 -0
  205. package/dist/es/models/models_0.js.map +1 -1
  206. package/dist/es/package.json +31 -31
  207. package/dist/es/protocols/Aws_json1_1.js +18 -14
  208. package/dist/es/protocols/Aws_json1_1.js.map +1 -1
  209. package/dist/types/KMS.d.ts +567 -572
  210. package/dist/types/KMSClient.d.ts +18 -18
  211. package/dist/types/commands/CancelKeyDeletionCommand.d.ts +6 -7
  212. package/dist/types/commands/ConnectCustomKeyStoreCommand.d.ts +9 -9
  213. package/dist/types/commands/CreateAliasCommand.d.ts +13 -14
  214. package/dist/types/commands/CreateCustomKeyStoreCommand.d.ts +8 -8
  215. package/dist/types/commands/CreateGrantCommand.d.ts +15 -22
  216. package/dist/types/commands/CreateKeyCommand.d.ts +44 -44
  217. package/dist/types/commands/DecryptCommand.d.ts +23 -22
  218. package/dist/types/commands/DeleteAliasCommand.d.ts +7 -8
  219. package/dist/types/commands/DeleteCustomKeyStoreCommand.d.ts +13 -13
  220. package/dist/types/commands/DeleteImportedKeyMaterialCommand.d.ts +9 -9
  221. package/dist/types/commands/DescribeCustomKeyStoresCommand.d.ts +6 -6
  222. package/dist/types/commands/DescribeKeyCommand.d.ts +18 -19
  223. package/dist/types/commands/DisableKeyCommand.d.ts +7 -7
  224. package/dist/types/commands/DisableKeyRotationCommand.d.ts +5 -6
  225. package/dist/types/commands/DisconnectCustomKeyStoreCommand.d.ts +6 -8
  226. package/dist/types/commands/EnableKeyCommand.d.ts +4 -5
  227. package/dist/types/commands/EnableKeyRotationCommand.d.ts +5 -5
  228. package/dist/types/commands/EncryptCommand.d.ts +20 -21
  229. package/dist/types/commands/GenerateDataKeyCommand.d.ts +17 -18
  230. package/dist/types/commands/GenerateDataKeyPairCommand.d.ts +21 -15
  231. package/dist/types/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +16 -12
  232. package/dist/types/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +9 -9
  233. package/dist/types/commands/GenerateRandomCommand.d.ts +4 -3
  234. package/dist/types/commands/GetKeyPolicyCommand.d.ts +2 -2
  235. package/dist/types/commands/GetKeyRotationStatusCommand.d.ts +9 -9
  236. package/dist/types/commands/GetParametersForImportCommand.d.ts +8 -8
  237. package/dist/types/commands/GetPublicKeyCommand.d.ts +15 -15
  238. package/dist/types/commands/ImportKeyMaterialCommand.d.ts +18 -18
  239. package/dist/types/commands/ListAliasesCommand.d.ts +8 -10
  240. package/dist/types/commands/ListGrantsCommand.d.ts +9 -4
  241. package/dist/types/commands/ListKeyPoliciesCommand.d.ts +2 -2
  242. package/dist/types/commands/ListKeysCommand.d.ts +2 -2
  243. package/dist/types/commands/ListResourceTagsCommand.d.ts +4 -4
  244. package/dist/types/commands/ListRetirableGrantsCommand.d.ts +14 -14
  245. package/dist/types/commands/PutKeyPolicyCommand.d.ts +5 -5
  246. package/dist/types/commands/ReEncryptCommand.d.ts +30 -34
  247. package/dist/types/commands/ReplicateKeyCommand.d.ts +16 -16
  248. package/dist/types/commands/RetireGrantCommand.d.ts +9 -9
  249. package/dist/types/commands/RevokeGrantCommand.d.ts +9 -4
  250. package/dist/types/commands/ScheduleKeyDeletionCommand.d.ts +17 -17
  251. package/dist/types/commands/SignCommand.d.ts +12 -13
  252. package/dist/types/commands/TagResourceCommand.d.ts +10 -12
  253. package/dist/types/commands/UntagResourceCommand.d.ts +9 -10
  254. package/dist/types/commands/UpdateAliasCommand.d.ts +15 -15
  255. package/dist/types/commands/UpdateCustomKeyStoreCommand.d.ts +9 -9
  256. package/dist/types/commands/UpdateKeyDescriptionCommand.d.ts +4 -4
  257. package/dist/types/commands/UpdatePrimaryRegionCommand.d.ts +13 -13
  258. package/dist/types/commands/VerifyCommand.d.ts +14 -14
  259. package/dist/types/models/models_0.d.ts +584 -570
  260. package/dist/types/ts3.4/KMS.d.ts +567 -572
  261. package/dist/types/ts3.4/KMSClient.d.ts +18 -18
  262. package/dist/types/ts3.4/commands/CancelKeyDeletionCommand.d.ts +6 -7
  263. package/dist/types/ts3.4/commands/ConnectCustomKeyStoreCommand.d.ts +9 -9
  264. package/dist/types/ts3.4/commands/CreateAliasCommand.d.ts +13 -14
  265. package/dist/types/ts3.4/commands/CreateCustomKeyStoreCommand.d.ts +8 -8
  266. package/dist/types/ts3.4/commands/CreateGrantCommand.d.ts +15 -22
  267. package/dist/types/ts3.4/commands/CreateKeyCommand.d.ts +44 -44
  268. package/dist/types/ts3.4/commands/DecryptCommand.d.ts +23 -22
  269. package/dist/types/ts3.4/commands/DeleteAliasCommand.d.ts +7 -8
  270. package/dist/types/ts3.4/commands/DeleteCustomKeyStoreCommand.d.ts +13 -13
  271. package/dist/types/ts3.4/commands/DeleteImportedKeyMaterialCommand.d.ts +9 -9
  272. package/dist/types/ts3.4/commands/DescribeCustomKeyStoresCommand.d.ts +6 -6
  273. package/dist/types/ts3.4/commands/DescribeKeyCommand.d.ts +18 -19
  274. package/dist/types/ts3.4/commands/DisableKeyCommand.d.ts +7 -7
  275. package/dist/types/ts3.4/commands/DisableKeyRotationCommand.d.ts +5 -6
  276. package/dist/types/ts3.4/commands/DisconnectCustomKeyStoreCommand.d.ts +6 -8
  277. package/dist/types/ts3.4/commands/EnableKeyCommand.d.ts +4 -5
  278. package/dist/types/ts3.4/commands/EnableKeyRotationCommand.d.ts +5 -5
  279. package/dist/types/ts3.4/commands/EncryptCommand.d.ts +20 -21
  280. package/dist/types/ts3.4/commands/GenerateDataKeyCommand.d.ts +17 -18
  281. package/dist/types/ts3.4/commands/GenerateDataKeyPairCommand.d.ts +21 -15
  282. package/dist/types/ts3.4/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +16 -12
  283. package/dist/types/ts3.4/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +9 -9
  284. package/dist/types/ts3.4/commands/GenerateRandomCommand.d.ts +4 -3
  285. package/dist/types/ts3.4/commands/GetKeyPolicyCommand.d.ts +2 -2
  286. package/dist/types/ts3.4/commands/GetKeyRotationStatusCommand.d.ts +9 -9
  287. package/dist/types/ts3.4/commands/GetParametersForImportCommand.d.ts +8 -8
  288. package/dist/types/ts3.4/commands/GetPublicKeyCommand.d.ts +15 -15
  289. package/dist/types/ts3.4/commands/ImportKeyMaterialCommand.d.ts +18 -18
  290. package/dist/types/ts3.4/commands/ListAliasesCommand.d.ts +8 -10
  291. package/dist/types/ts3.4/commands/ListGrantsCommand.d.ts +9 -4
  292. package/dist/types/ts3.4/commands/ListKeyPoliciesCommand.d.ts +2 -2
  293. package/dist/types/ts3.4/commands/ListKeysCommand.d.ts +2 -2
  294. package/dist/types/ts3.4/commands/ListResourceTagsCommand.d.ts +4 -4
  295. package/dist/types/ts3.4/commands/ListRetirableGrantsCommand.d.ts +14 -14
  296. package/dist/types/ts3.4/commands/PutKeyPolicyCommand.d.ts +5 -5
  297. package/dist/types/ts3.4/commands/ReEncryptCommand.d.ts +30 -34
  298. package/dist/types/ts3.4/commands/ReplicateKeyCommand.d.ts +16 -16
  299. package/dist/types/ts3.4/commands/RetireGrantCommand.d.ts +9 -9
  300. package/dist/types/ts3.4/commands/RevokeGrantCommand.d.ts +9 -4
  301. package/dist/types/ts3.4/commands/ScheduleKeyDeletionCommand.d.ts +17 -17
  302. package/dist/types/ts3.4/commands/SignCommand.d.ts +12 -13
  303. package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +10 -12
  304. package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +9 -10
  305. package/dist/types/ts3.4/commands/UpdateAliasCommand.d.ts +15 -15
  306. package/dist/types/ts3.4/commands/UpdateCustomKeyStoreCommand.d.ts +9 -9
  307. package/dist/types/ts3.4/commands/UpdateKeyDescriptionCommand.d.ts +4 -4
  308. package/dist/types/ts3.4/commands/UpdatePrimaryRegionCommand.d.ts +13 -13
  309. package/dist/types/ts3.4/commands/VerifyCommand.d.ts +14 -14
  310. package/dist/types/ts3.4/models/models_0.d.ts +584 -570
  311. package/models/models_0.ts +588 -570
  312. package/package.json +31 -31
  313. package/protocols/Aws_json1_1.ts +20 -12
@@ -5,23 +5,23 @@ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
6
  /**
7
7
  * <p>Returns the items you need to import key material into a symmetric, customer managed
8
- * customer master key (CMK). For more information about importing key material into AWS KMS, see
8
+ * KMS key. For more information about importing key material into KMS, see
9
9
  * <a href="https://docs.aws.amazon.com/kms/latest/developerguide/importing-keys.html">Importing Key
10
- * Material</a> in the <i>AWS Key Management Service Developer Guide</i>.</p>
10
+ * Material</a> in the <i>Key Management Service Developer Guide</i>.</p>
11
11
  * <p>This operation returns a public key and an import token. Use the public key to encrypt the
12
12
  * symmetric key material. Store the import token to send with a subsequent <a>ImportKeyMaterial</a> request.</p>
13
- * <p>You must specify the key ID of the symmetric CMK into which you will import key material.
14
- * This CMK's <code>Origin</code> must be <code>EXTERNAL</code>. You must also specify the
13
+ * <p>You must specify the key ID of the symmetric KMS key into which you will import key material.
14
+ * This KMS key's <code>Origin</code> must be <code>EXTERNAL</code>. You must also specify the
15
15
  * wrapping algorithm and type of wrapping key (public key) that you will use to encrypt the key
16
- * material. You cannot perform this operation on an asymmetric CMK or on any CMK in a different AWS account.</p>
16
+ * material. You cannot perform this operation on an asymmetric KMS key or on any KMS key in a different Amazon Web Services account.</p>
17
17
  * <p>To import key material, you must use the public key and import token from the same
18
18
  * response. These items are valid for 24 hours. The expiration date and time appear in the
19
19
  * <code>GetParametersForImport</code> response. You cannot use an expired token in an <a>ImportKeyMaterial</a> request. If your key and token expire, send another
20
20
  * <code>GetParametersForImport</code> request.</p>
21
- * <p>The CMK that you use for this operation must be in a compatible key state. For
22
- * details, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html">Key state: Effect on your CMK</a> in the <i>AWS Key Management Service Developer Guide</i>.</p>
21
+ * <p>The KMS key that you use for this operation must be in a compatible key state. For
22
+ * details, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html">Key state: Effect on your KMS key</a> in the <i>Key Management Service Developer Guide</i>.</p>
23
23
  * <p>
24
- * <b>Cross-account use</b>: No. You cannot perform this operation on a CMK in a different AWS account.</p>
24
+ * <b>Cross-account use</b>: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.</p>
25
25
  *
26
26
  * <p>
27
27
  * <b>Required permissions</b>: <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:GetParametersForImport</a> (key policy)</p>
@@ -4,22 +4,22 @@ import { deserializeAws_json1_1GetPublicKeyCommand, serializeAws_json1_1GetPubli
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
6
  /**
7
- * <p>Returns the public key of an asymmetric CMK. Unlike the private key of a asymmetric CMK,
8
- * which never leaves AWS KMS unencrypted, callers with <code>kms:GetPublicKey</code> permission
9
- * can download the public key of an asymmetric CMK. You can share the public key to allow others
10
- * to encrypt messages and verify signatures outside of AWS KMS. For information about symmetric and asymmetric CMKs, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using Symmetric and Asymmetric CMKs</a> in the <i>AWS Key Management Service Developer Guide</i>.</p>
7
+ * <p>Returns the public key of an asymmetric KMS key. Unlike the private key of a asymmetric KMS key,
8
+ * which never leaves KMS unencrypted, callers with <code>kms:GetPublicKey</code> permission
9
+ * can download the public key of an asymmetric KMS key. You can share the public key to allow others
10
+ * to encrypt messages and verify signatures outside of KMS. For information about symmetric and asymmetric KMS keys, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using Symmetric and Asymmetric KMS keys</a> in the <i>Key Management Service Developer Guide</i>.</p>
11
11
  * <p>You do not need to download the public key. Instead, you can use the public key within
12
- * AWS KMS by calling the <a>Encrypt</a>, <a>ReEncrypt</a>, or <a>Verify</a> operations with the identifier of an asymmetric CMK. When you use the
13
- * public key within AWS KMS, you benefit from the authentication, authorization, and logging that
14
- * are part of every AWS KMS operation. You also reduce of risk of encrypting data that cannot be
15
- * decrypted. These features are not effective outside of AWS KMS. For details, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/download-public-key.html#download-public-key-considerations">Special
12
+ * KMS by calling the <a>Encrypt</a>, <a>ReEncrypt</a>, or <a>Verify</a> operations with the identifier of an asymmetric KMS key. When you use the
13
+ * public key within KMS, you benefit from the authentication, authorization, and logging that
14
+ * are part of every KMS operation. You also reduce of risk of encrypting data that cannot be
15
+ * decrypted. These features are not effective outside of KMS. For details, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/download-public-key.html#download-public-key-considerations">Special
16
16
  * Considerations for Downloading Public Keys</a>.</p>
17
- * <p>To help you use the public key safely outside of AWS KMS, <code>GetPublicKey</code> returns
17
+ * <p>To help you use the public key safely outside of KMS, <code>GetPublicKey</code> returns
18
18
  * important information about the public key in the response, including:</p>
19
19
  * <ul>
20
20
  * <li>
21
21
  * <p>
22
- * <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_GetPublicKey.html#KMS-GetPublicKey-response-CustomerMasterKeySpec">CustomerMasterKeySpec</a>: The type of key material in the public key, such as
22
+ * <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_GetPublicKey.html#KMS-GetPublicKey-response-KeySpec">KeySpec</a>: The type of key material in the public key, such as
23
23
  * <code>RSA_4096</code> or <code>ECC_NIST_P521</code>.</p>
24
24
  * </li>
25
25
  * <li>
@@ -32,16 +32,16 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
32
32
  * algorithms for the key.</p>
33
33
  * </li>
34
34
  * </ul>
35
- * <p>Although AWS KMS cannot enforce these restrictions on external operations, it is crucial
35
+ * <p>Although KMS cannot enforce these restrictions on external operations, it is crucial
36
36
  * that you use this information to prevent the public key from being used improperly. For
37
37
  * example, you can prevent a public signing key from being used encrypt data, or prevent a
38
- * public key from being used with an encryption algorithm that is not supported by AWS KMS. You
38
+ * public key from being used with an encryption algorithm that is not supported by KMS. You
39
39
  * can also avoid errors, such as using the wrong signing algorithm in a verification
40
40
  * operation.</p>
41
- * <p>The CMK that you use for this operation must be in a compatible key state. For
42
- * details, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html">Key state: Effect on your CMK</a> in the <i>AWS Key Management Service Developer Guide</i>.</p>
41
+ * <p>The KMS key that you use for this operation must be in a compatible key state. For
42
+ * details, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html">Key state: Effect on your KMS key</a> in the <i>Key Management Service Developer Guide</i>.</p>
43
43
  * <p>
44
- * <b>Cross-account use</b>: Yes. To perform this operation with a CMK in a different AWS account, specify
44
+ * <b>Cross-account use</b>: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify
45
45
  * the key ARN or alias ARN in the value of the <code>KeyId</code> parameter.</p>
46
46
  *
47
47
  * <p>
@@ -4,13 +4,13 @@ import { deserializeAws_json1_1ImportKeyMaterialCommand, serializeAws_json1_1Imp
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
6
  /**
7
- * <p>Imports key material into an existing symmetric AWS KMS customer master key (CMK) that was
8
- * created without key material. After you successfully import key material into a CMK, you can
9
- * <a href="https://docs.aws.amazon.com/kms/latest/developerguide/importing-keys.html#reimport-key-material">reimport the same key material</a> into that CMK, but you cannot import different key
7
+ * <p>Imports key material into an existing symmetric KMS KMS key that was
8
+ * created without key material. After you successfully import key material into a KMS key, you can
9
+ * <a href="https://docs.aws.amazon.com/kms/latest/developerguide/importing-keys.html#reimport-key-material">reimport the same key material</a> into that KMS key, but you cannot import different key
10
10
  * material. </p>
11
- * <p>You cannot perform this operation on an asymmetric CMK or on any CMK in a different AWS account. For more information about creating CMKs with no key material and
11
+ * <p>You cannot perform this operation on an asymmetric KMS key or on any KMS key in a different Amazon Web Services account. For more information about creating KMS keys with no key material and
12
12
  * then importing key material, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/importing-keys.html">Importing Key Material</a> in the
13
- * <i>AWS Key Management Service Developer Guide</i>.</p>
13
+ * <i>Key Management Service Developer Guide</i>.</p>
14
14
  * <p>Before using this operation, call <a>GetParametersForImport</a>. Its response
15
15
  * includes a public key and an import token. Use the public key to encrypt the key material.
16
16
  * Then, submit the import token from the same <code>GetParametersForImport</code>
@@ -18,11 +18,11 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
18
18
  * <p>When calling this operation, you must specify the following values:</p>
19
19
  * <ul>
20
20
  * <li>
21
- * <p>The key ID or key ARN of a CMK with no key material. Its <code>Origin</code> must be
21
+ * <p>The key ID or key ARN of a KMS key with no key material. Its <code>Origin</code> must be
22
22
  * <code>EXTERNAL</code>.</p>
23
- * <p>To create a CMK with no key material, call <a>CreateKey</a> and set the
23
+ * <p>To create a KMS key with no key material, call <a>CreateKey</a> and set the
24
24
  * value of its <code>Origin</code> parameter to <code>EXTERNAL</code>. To get the
25
- * <code>Origin</code> of a CMK, call <a>DescribeKey</a>.)</p>
25
+ * <code>Origin</code> of a KMS key, call <a>DescribeKey</a>.)</p>
26
26
  * </li>
27
27
  * <li>
28
28
  * <p>The encrypted key material. To get the public key to encrypt the key material, call
@@ -33,23 +33,23 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
33
33
  * a public key and token from the same <code>GetParametersForImport</code> response.</p>
34
34
  * </li>
35
35
  * <li>
36
- * <p>Whether the key material expires and if so, when. If you set an expiration date, AWS KMS
37
- * deletes the key material from the CMK on the specified date, and the CMK becomes unusable.
38
- * To use the CMK again, you must reimport the same key material. The only way to change an
36
+ * <p>Whether the key material expires and if so, when. If you set an expiration date, KMS
37
+ * deletes the key material from the KMS key on the specified date, and the KMS key becomes unusable.
38
+ * To use the KMS key again, you must reimport the same key material. The only way to change an
39
39
  * expiration date is by reimporting the same key material and specifying a new expiration
40
40
  * date. </p>
41
41
  * </li>
42
42
  * </ul>
43
- * <p>When this operation is successful, the key state of the CMK changes from
44
- * <code>PendingImport</code> to <code>Enabled</code>, and you can use the CMK.</p>
43
+ * <p>When this operation is successful, the key state of the KMS key changes from
44
+ * <code>PendingImport</code> to <code>Enabled</code>, and you can use the KMS key.</p>
45
45
  * <p>If this operation fails, use the exception to help determine the problem. If the error is
46
- * related to the key material, the import token, or wrapping key, use <a>GetParametersForImport</a> to get a new public key and import token for the CMK and
46
+ * related to the key material, the import token, or wrapping key, use <a>GetParametersForImport</a> to get a new public key and import token for the KMS key and
47
47
  * repeat the import procedure. For help, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/importing-keys.html#importing-keys-overview">How To Import Key
48
- * Material</a> in the <i>AWS Key Management Service Developer Guide</i>.</p>
49
- * <p>The CMK that you use for this operation must be in a compatible key state. For
50
- * details, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html">Key state: Effect on your CMK</a> in the <i>AWS Key Management Service Developer Guide</i>.</p>
48
+ * Material</a> in the <i>Key Management Service Developer Guide</i>.</p>
49
+ * <p>The KMS key that you use for this operation must be in a compatible key state. For
50
+ * details, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html">Key state: Effect on your KMS key</a> in the <i>Key Management Service Developer Guide</i>.</p>
51
51
  * <p>
52
- * <b>Cross-account use</b>: No. You cannot perform this operation on a CMK in a different AWS account.</p>
52
+ * <b>Cross-account use</b>: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.</p>
53
53
  *
54
54
  * <p>
55
55
  * <b>Required permissions</b>: <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:ImportKeyMaterial</a> (key policy)</p>
@@ -4,28 +4,26 @@ import { deserializeAws_json1_1ListAliasesCommand, serializeAws_json1_1ListAlias
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
6
  /**
7
- * <p>Gets a list of aliases in the caller's AWS account and region. For more information about
7
+ * <p>Gets a list of aliases in the caller's Amazon Web Services account and region. For more information about
8
8
  * aliases, see <a>CreateAlias</a>.</p>
9
9
  * <p>By default, the <code>ListAliases</code> operation returns all aliases in the account and
10
- * region. To get only the aliases associated with a particular customer master key (CMK), use
10
+ * region. To get only the aliases associated with a particular KMS key, use
11
11
  * the <code>KeyId</code> parameter.</p>
12
12
  * <p>The <code>ListAliases</code> response can include aliases that you created and associated
13
- * with your customer managed CMKs, and aliases that AWS created and associated with AWS managed
14
- * CMKs in your account. You can recognize AWS aliases because their names have the format
13
+ * with your customer managed keys, and aliases that Amazon Web Services created and associated with Amazon Web Services managed keys in your account. You can recognize Amazon Web Services aliases because their names have the format
15
14
  * <code>aws/<service-name></code>, such as <code>aws/dynamodb</code>.</p>
16
15
  * <p>The response might also include aliases that have no <code>TargetKeyId</code> field. These
17
- * are predefined aliases that AWS has created but has not yet associated with a CMK. Aliases
18
- * that AWS creates in your account, including predefined aliases, do not count against your
19
- * <a href="https://docs.aws.amazon.com/kms/latest/developerguide/limits.html#aliases-limit">AWS KMS aliases
16
+ * are predefined aliases that Amazon Web Services has created but has not yet associated with a KMS key. Aliases
17
+ * that Amazon Web Services creates in your account, including predefined aliases, do not count against your
18
+ * <a href="https://docs.aws.amazon.com/kms/latest/developerguide/limits.html#aliases-limit">KMS aliases
20
19
  * quota</a>.</p>
21
20
  * <p>
22
21
  * <b>Cross-account use</b>: No. <code>ListAliases</code> does not
23
- * return aliases in other AWS accounts.</p>
24
- *
22
+ * return aliases in other Amazon Web Services accounts.</p>
25
23
  *
26
24
  * <p>
27
25
  * <b>Required permissions</b>: <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:ListAliases</a> (IAM policy)</p>
28
- * <p>For details, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-alias.html#alias-access">Controlling access to aliases</a> in the <i>AWS Key Management Service Developer Guide</i>.</p>
26
+ * <p>For details, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-alias.html#alias-access">Controlling access to aliases</a> in the <i>Key Management Service Developer Guide</i>.</p>
29
27
  * <p>
30
28
  * <b>Related operations:</b>
31
29
  * </p>
@@ -1 +1 @@
1
- {"version":3,"file":"ListAliasesCommand.js","sourceRoot":"","sources":["../../../commands/ListAliasesCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC7E,OAAO,EACL,wCAAwC,EACxC,sCAAsC,GACvC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACH;IAAwC,sCAIvC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,4BAAqB,KAA8B;QAAnD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAyB;;QAGjD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,8CAAiB,GAAjB,UACE,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC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OAAO,CAAC,CAAC;IAChE,CAAC;IAEO,wCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,wCAAwC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAIH,yBAAC;AAAD,CAAC,AAtDD,CAAwC,QAAQ,GAsD/C"}
@@ -4,18 +4,23 @@ import { deserializeAws_json1_1ListGrantsCommand, serializeAws_json1_1ListGrants
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
6
  /**
7
- * <p>Gets a list of all grants for the specified customer master key (CMK). </p>
8
- * <p>You must specify the CMK in all requests. You can filter the grant list by grant ID
7
+ * <p>Gets a list of all grants for the specified KMS key. </p>
8
+ * <p>You must specify the KMS key in all requests. You can filter the grant list by grant ID
9
9
  * or grantee principal.</p>
10
+ * <p>For detailed information about grants, including grant terminology, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/grants.html">Using grants</a> in the
11
+ * <i>
12
+ * <i>Key Management Service Developer Guide</i>
13
+ * </i>. For examples of working with grants in several
14
+ * programming languages, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/programming-grants.html">Programming grants</a>. </p>
10
15
  * <note>
11
16
  * <p>The <code>GranteePrincipal</code> field in the <code>ListGrants</code> response usually contains the
12
17
  * user or role designated as the grantee principal in the grant. However, when the grantee
13
- * principal in the grant is an AWS service, the <code>GranteePrincipal</code> field contains
18
+ * principal in the grant is an Amazon Web Services service, the <code>GranteePrincipal</code> field contains
14
19
  * the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html#principal-services">service
15
20
  * principal</a>, which might represent several different grantee principals.</p>
16
21
  * </note>
17
22
  * <p>
18
- * <b>Cross-account use</b>: Yes. To perform this operation on a CMK in a different AWS account, specify the key
23
+ * <b>Cross-account use</b>: Yes. To perform this operation on a KMS key in a different Amazon Web Services account, specify the key
19
24
  * ARN in the value of the <code>KeyId</code> parameter.</p>
20
25
  *
21
26
  * <p>
@@ -1 +1 @@
1
- {"version":3,"file":"ListGrantsCommand.js","sourceRoot":"","sources":["../../../commands/ListGrantsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC3E,OAAO,EACL,uCAAuC,EACvC,qCAAqC,GACtC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH;IAAuC,qCAItC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,2BAAqB,KAA6B;QAAlD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAwB;;QAGhD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,6CAAiB,GAAjB,UACE,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,WAAW,CAAC;QAC/B,IAAM,WAAW,GAAG,mBAAmB,CAAC;QACxC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,iBAAiB,CAAC,kBAAkB;YAC7D,wBAAwB,EAAE,kBAAkB,CAAC,kBAAkB;SAChE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,e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SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,WAAW,CAAC;QAC/B,IAAM,WAAW,GAAG,mBAAmB,CAAC;QACxC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,iBAAiB,CAAC,kBAAkB;YAC7D,wBAAwB,EAAE,kBAAkB,CAAC,kBAAkB;SAChE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,qCAAS,GAAjB,UAAkB,KAA6B,EAAE,OAAuB;QACtE,OAAO,qCAAqC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAEO,uCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,uCAAuC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAIH,wBAAC;AAAD,CAAC,AAtDD,CAAuC,QAAQ,GAsD9C"}
@@ -4,11 +4,11 @@ import { deserializeAws_json1_1ListKeyPoliciesCommand, serializeAws_json1_1ListK
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
6
  /**
7
- * <p>Gets the names of the key policies that are attached to a customer master key (CMK). This
7
+ * <p>Gets the names of the key policies that are attached to a KMS key. This
8
8
  * operation is designed to get policy names that you can use in a <a>GetKeyPolicy</a>
9
9
  * operation. However, the only valid policy name is <code>default</code>. </p>
10
10
  * <p>
11
- * <b>Cross-account use</b>: No. You cannot perform this operation on a CMK in a different AWS account.</p>
11
+ * <b>Cross-account use</b>: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.</p>
12
12
  *
13
13
  * <p>
14
14
  * <b>Required permissions</b>: <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:ListKeyPolicies</a> (key policy)</p>
@@ -4,10 +4,10 @@ import { deserializeAws_json1_1ListKeysCommand, serializeAws_json1_1ListKeysComm
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
6
  /**
7
- * <p>Gets a list of all customer master keys (CMKs) in the caller's AWS account and
7
+ * <p>Gets a list of all KMS keys in the caller's Amazon Web Services account and
8
8
  * Region.</p>
9
9
  * <p>
10
- * <b>Cross-account use</b>: No. You cannot perform this operation on a CMK in a different AWS account.</p>
10
+ * <b>Cross-account use</b>: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.</p>
11
11
  *
12
12
  * <p>
13
13
  * <b>Required permissions</b>: <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:ListKeys</a> (IAM policy)</p>
@@ -4,13 +4,13 @@ import { deserializeAws_json1_1ListResourceTagsCommand, serializeAws_json1_1List
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
6
  /**
7
- * <p>Returns all tags on the specified customer master key (CMK).</p>
8
- * <p>For general information about tags, including the format and syntax, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging AWS resources</a> in
7
+ * <p>Returns all tags on the specified KMS key.</p>
8
+ * <p>For general information about tags, including the format and syntax, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a> in
9
9
  * the <i>Amazon Web Services General Reference</i>. For information about using
10
- * tags in AWS KMS, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/tagging-keys.html">Tagging
10
+ * tags in KMS, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/tagging-keys.html">Tagging
11
11
  * keys</a>.</p>
12
12
  * <p>
13
- * <b>Cross-account use</b>: No. You cannot perform this operation on a CMK in a different AWS account.</p>
13
+ * <b>Cross-account use</b>: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.</p>
14
14
  *
15
15
  * <p>
16
16
  * <b>Required permissions</b>: <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:ListResourceTags</a> (key policy)</p>
@@ -4,24 +4,24 @@ import { deserializeAws_json1_1ListRetirableGrantsCommand, serializeAws_json1_1L
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
6
  /**
7
- * <p>Returns information about all grants in the AWS account and Region that have the specified
8
- * retiring principal. For more information about grants, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/grants.html">Grants</a> in the
9
- * <i>
10
- * <i>AWS Key Management Service Developer Guide</i>
11
- * </i>.</p>
12
- * <p>You can specify any principal in your AWS account. The grants that are returned include
13
- * grants for CMKs in your AWS account and other AWS accounts.</p>
14
- * <p>You might use this operation to determine which grants you may retire. To retire a grant,
15
- * use the <a>RetireGrant</a> operation.</p>
7
+ * <p>Returns information about all grants in the Amazon Web Services account and Region that have the specified
8
+ * retiring principal. </p>
9
+ * <p>You can specify any principal in your Amazon Web Services account. The grants that are returned include
10
+ * grants for KMS keys in your Amazon Web Services account and other Amazon Web Services accounts. You might use this operation to
11
+ * determine which grants you may retire. To retire a grant, use the <a>RetireGrant</a> operation.</p>
12
+ * <p>For detailed information about grants, including grant terminology, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/grants.html">Using grants</a> in the
13
+ * <i>
14
+ * <i>Key Management Service Developer Guide</i>
15
+ * </i>. For examples of working with grants in several
16
+ * programming languages, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/programming-grants.html">Programming grants</a>. </p>
16
17
  * <p>
17
18
  * <b>Cross-account use</b>: You must specify a principal in your
18
- * AWS account. However, this operation can return grants in any AWS account. You do not need
19
- * <code>kms:ListRetirableGrants</code> permission (or any other additional permission) in any
20
- * AWS account other than your own.</p>
19
+ * Amazon Web Services account. However, this operation can return grants in any Amazon Web Services account. You do not need
20
+ * <code>kms:ListRetirableGrants</code> permission (or any other additional permission) in any
21
+ * Amazon Web Services account other than your own.</p>
21
22
  *
22
23
  * <p>
23
- * <b>Required permissions</b>: <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:ListRetirableGrants</a> (IAM policy) in your AWS
24
- * account.</p>
24
+ * <b>Required permissions</b>: <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:ListRetirableGrants</a> (IAM policy) in your Amazon Web Services account.</p>
25
25
  * <p>
26
26
  * <b>Related operations:</b>
27
27
  * </p>
@@ -4,14 +4,14 @@ import { deserializeAws_json1_1PutKeyPolicyCommand, serializeAws_json1_1PutKeyPo
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
6
  /**
7
- * <p>Attaches a key policy to the specified customer master key (CMK). </p>
8
- * <p>For more information about key policies, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html">Key Policies</a> in the <i>AWS Key Management Service Developer Guide</i>.
7
+ * <p>Attaches a key policy to the specified KMS key. </p>
8
+ * <p>For more information about key policies, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html">Key Policies</a> in the <i>Key Management Service Developer Guide</i>.
9
9
  * For help writing and formatting a JSON policy document, see the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html">IAM JSON Policy Reference</a> in the <i>
10
- * <i>IAM User Guide</i>
10
+ * <i>Identity and Access Management User Guide</i>
11
11
  * </i>. For examples of adding a key policy in multiple programming languages,
12
- * see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/programming-key-policies.html#put-policy">Setting a key policy</a> in the <i>AWS Key Management Service Developer Guide</i>.</p>
12
+ * see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/programming-key-policies.html#put-policy">Setting a key policy</a> in the <i>Key Management Service Developer Guide</i>.</p>
13
13
  * <p>
14
- * <b>Cross-account use</b>: No. You cannot perform this operation on a CMK in a different AWS account.</p>
14
+ * <b>Cross-account use</b>: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.</p>
15
15
  *
16
16
  * <p>
17
17
  * <b>Required permissions</b>: <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:PutKeyPolicy</a> (key policy)</p>
@@ -4,77 +4,73 @@ import { deserializeAws_json1_1ReEncryptCommand, serializeAws_json1_1ReEncryptCo
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
6
  /**
7
- * <p>Decrypts ciphertext and then reencrypts it entirely within AWS KMS. You can use this
8
- * operation to change the customer master key (CMK) under which data is encrypted, such as when
9
- * you <a href="https://docs.aws.amazon.com/kms/latest/developerguide/rotate-keys.html#rotate-keys-manually">manually rotate</a> a CMK or change the CMK that protects a ciphertext. You can also
10
- * use it to reencrypt ciphertext under the same CMK, such as to change the <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context">encryption
7
+ * <p>Decrypts ciphertext and then reencrypts it entirely within KMS. You can use this
8
+ * operation to change the KMS key under which data is encrypted, such as when
9
+ * you <a href="https://docs.aws.amazon.com/kms/latest/developerguide/rotate-keys.html#rotate-keys-manually">manually rotate</a> a KMS key or change the KMS key that protects a ciphertext. You can also
10
+ * use it to reencrypt ciphertext under the same KMS key, such as to change the <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context">encryption
11
11
  * context</a> of a ciphertext.</p>
12
12
  * <p>The <code>ReEncrypt</code> operation can decrypt ciphertext that was encrypted by using an
13
- * AWS KMS CMK in an AWS KMS operation, such as <a>Encrypt</a> or <a>GenerateDataKey</a>. It can also decrypt ciphertext that was encrypted by using the
14
- * public key of an <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symm-asymm-concepts.html#asymmetric-cmks">asymmetric CMK</a> outside
15
- * of AWS KMS. However, it cannot decrypt ciphertext produced by other libraries, such as the
16
- * <a href="https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/">AWS Encryption SDK</a> or <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingClientSideEncryption.html">Amazon S3 client-side
17
- * encryption</a>. These libraries return a ciphertext format that is incompatible with
18
- * AWS KMS.</p>
13
+ * KMS KMS key in an KMS operation, such as <a>Encrypt</a> or <a>GenerateDataKey</a>. It can also decrypt ciphertext that was encrypted by using the
14
+ * public key of an <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symm-asymm-concepts.html#asymmetric-cmks">asymmetric KMS key</a> outside of KMS. However, it cannot decrypt ciphertext
15
+ * produced by other libraries, such as the <a href="https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/">Amazon Web Services Encryption SDK</a> or <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingClientSideEncryption.html">Amazon S3 client-side encryption</a>.
16
+ * These libraries return a ciphertext format that is incompatible with KMS.</p>
19
17
  * <p>When you use the <code>ReEncrypt</code> operation, you need to provide information for the
20
18
  * decrypt operation and the subsequent encrypt operation.</p>
21
19
  * <ul>
22
20
  * <li>
23
- * <p>If your ciphertext was encrypted under an asymmetric CMK, you must use the
24
- * <code>SourceKeyId</code> parameter to identify the CMK that encrypted the ciphertext.
21
+ * <p>If your ciphertext was encrypted under an asymmetric KMS key, you must use the
22
+ * <code>SourceKeyId</code> parameter to identify the KMS key that encrypted the ciphertext.
25
23
  * You must also supply the encryption algorithm that was used. This information is required
26
24
  * to decrypt the data.</p>
27
25
  * </li>
28
26
  * <li>
29
- * <p>If your ciphertext was encrypted under a symmetric CMK, the <code>SourceKeyId</code>
30
- * parameter is optional. AWS KMS can get this information from metadata that it adds to the
27
+ * <p>If your ciphertext was encrypted under a symmetric KMS key, the <code>SourceKeyId</code>
28
+ * parameter is optional. KMS can get this information from metadata that it adds to the
31
29
  * symmetric ciphertext blob. This feature adds durability to your implementation by ensuring
32
30
  * that authorized users can decrypt ciphertext decades after it was encrypted, even if
33
- * they've lost track of the CMK ID. However, specifying the source CMK is always recommended
34
- * as a best practice. When you use the <code>SourceKeyId</code> parameter to specify a CMK,
35
- * AWS KMS uses only the CMK you specify. If the ciphertext was encrypted under a different
36
- * CMK, the <code>ReEncrypt</code> operation fails. This practice ensures that you use the
37
- * CMK that you intend.</p>
31
+ * they've lost track of the key ID. However, specifying the source KMS key is always recommended
32
+ * as a best practice. When you use the <code>SourceKeyId</code> parameter to specify a KMS key,
33
+ * KMS uses only the KMS key you specify. If the ciphertext was encrypted under a different KMS key, the <code>ReEncrypt</code> operation fails. This practice ensures that you use the KMS key that you intend.</p>
38
34
  * </li>
39
35
  * <li>
40
36
  * <p>To reencrypt the data, you must use the <code>DestinationKeyId</code> parameter
41
- * specify the CMK that re-encrypts the data after it is decrypted. You can select a
42
- * symmetric or asymmetric CMK. If the destination CMK is an asymmetric CMK, you must also
37
+ * specify the KMS key that re-encrypts the data after it is decrypted. You can select a
38
+ * symmetric or asymmetric KMS key. If the destination KMS key is an asymmetric KMS key, you must also
43
39
  * provide the encryption algorithm. The algorithm that you choose must be compatible with
44
- * the CMK.</p>
40
+ * the KMS key.</p>
45
41
  *
46
42
  * <important>
47
- * <p>When you use an asymmetric CMK to encrypt or reencrypt data, be sure to record the CMK and encryption algorithm that you choose. You will be required to provide the same CMK and encryption algorithm when you decrypt the data. If the CMK and algorithm do not match the values used to encrypt the data, the decrypt operation fails.</p>
48
- * <p>You are not required to supply the CMK ID and encryption algorithm when you decrypt with symmetric CMKs because AWS KMS stores this information in the ciphertext blob. AWS KMS cannot store metadata in ciphertext generated with asymmetric keys. The standard format for asymmetric key ciphertext does not include configurable fields.</p>
43
+ * <p>When you use an asymmetric KMS key to encrypt or reencrypt data, be sure to record the KMS key and encryption algorithm that you choose. You will be required to provide the same KMS key and encryption algorithm when you decrypt the data. If the KMS key and algorithm do not match the values used to encrypt the data, the decrypt operation fails.</p>
44
+ * <p>You are not required to supply the key ID and encryption algorithm when you decrypt with symmetric KMS keys because KMS stores this information in the ciphertext blob. KMS cannot store metadata in ciphertext generated with asymmetric keys. The standard format for asymmetric key ciphertext does not include configurable fields.</p>
49
45
  * </important>
50
46
  * </li>
51
47
  * </ul>
52
48
  *
53
49
  *
54
50
  *
55
- * <p>The CMK that you use for this operation must be in a compatible key state. For
56
- * details, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html">Key state: Effect on your CMK</a> in the <i>AWS Key Management Service Developer Guide</i>.</p>
51
+ * <p>The KMS key that you use for this operation must be in a compatible key state. For
52
+ * details, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html">Key state: Effect on your KMS key</a> in the <i>Key Management Service Developer Guide</i>.</p>
57
53
  * <p>
58
- * <b>Cross-account use</b>: Yes. The source CMK and destination
59
- * CMK can be in different AWS accounts. Either or both CMKs can be in a different account than
60
- * the caller.</p>
54
+ * <b>Cross-account use</b>: Yes. The source KMS key and destination KMS key can be in different Amazon Web Services accounts. Either or both KMS keys can be in a different account than
55
+ * the caller. To specify a KMS key in a different account, you must use its key ARN or alias
56
+ * ARN.</p>
61
57
  *
62
58
  * <p>
63
59
  * <b>Required permissions</b>:</p>
64
60
  * <ul>
65
61
  * <li>
66
62
  * <p>
67
- * <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:ReEncryptFrom</a> permission on the source CMK (key policy)</p>
63
+ * <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:ReEncryptFrom</a> permission on the source KMS key (key policy)</p>
68
64
  * </li>
69
65
  * <li>
70
66
  * <p>
71
- * <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:ReEncryptTo</a> permission on the destination CMK (key policy)</p>
67
+ * <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:ReEncryptTo</a> permission on the destination KMS key (key policy)</p>
72
68
  * </li>
73
69
  * </ul>
74
- * <p>To permit reencryption from or to a CMK, include the <code>"kms:ReEncrypt*"</code>
70
+ * <p>To permit reencryption from or to a KMS key, include the <code>"kms:ReEncrypt*"</code>
75
71
  * permission in your <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html">key policy</a>. This permission is
76
- * automatically included in the key policy when you use the console to create a CMK. But you
77
- * must include it manually when you create a CMK programmatically or when you use the <a>PutKeyPolicy</a> operation to set a key policy.</p>
72
+ * automatically included in the key policy when you use the console to create a KMS key. But you
73
+ * must include it manually when you create a KMS key programmatically or when you use the <a>PutKeyPolicy</a> operation to set a key policy.</p>
78
74
  *
79
75
  * <p>
80
76
  * <b>Related operations:</b>
@@ -1 +1 @@
1
- {"version":3,"file":"ReEncryptCommand.js","sourceRoot":"","sources":["../../../commands/ReEncryptCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,EAAE,sCAAsC,EAAE,oCAAoC,EAAE,MAAM,0BAA0B,CAAC;AACxH,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgHG;AACH;IAAsC,oCAAgF;IACpH,oCAAoC;IACpC,kCAAkC;IAElC,0BAAqB,KAA4B;QAAjD;QACE,qC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AAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,oCAAS,GAAjB,UAAkB,KAA4B,EAAE,OAAuB;QACrE,OAAO,oCAAoC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;IAEO,sCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,sCAAsC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAIH,uBAAC;AAAD,CAAC,AAlDD,CAAsC,QAAQ,GAkD7C"}
@@ -6,24 +6,24 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
6
6
  /**
7
7
  * <p>Replicates a multi-Region key into the specified Region. This operation creates a
8
8
  * multi-Region replica key based on a multi-Region primary key in a different Region of the same
9
- * AWS partition. You can create multiple replicas of a primary key, but each must be in a
9
+ * Amazon Web Services partition. You can create multiple replicas of a primary key, but each must be in a
10
10
  * different Region. To create a multi-Region primary key, use the <a>CreateKey</a>
11
11
  * operation.</p>
12
- * <p>This operation supports <i>multi-Region keys</i>, an AWS KMS feature that lets you create multiple
13
- * interoperable CMKs in different AWS Regions. Because these CMKs have the same key ID, key
14
- * material, and other metadata, you can use them to encrypt data in one AWS Region and decrypt
15
- * it in a different AWS Region without making a cross-Region call or exposing the plaintext data. For more information about multi-Region keys, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html">Using multi-Region keys</a> in the <i>AWS Key Management Service Developer Guide</i>.</p>
16
- * <p>A <i>replica key</i> is a fully-functional CMK that can be used
12
+ * <p>This operation supports <i>multi-Region keys</i>, an KMS feature that lets you create multiple
13
+ * interoperable KMS keys in different Amazon Web Services Regions. Because these KMS keys have the same key ID, key
14
+ * material, and other metadata, you can use them interchangeably to encrypt data in one Amazon Web Services Region and decrypt
15
+ * it in a different Amazon Web Services Region without re-encrypting the data or making a cross-Region call. For more information about multi-Region keys, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html">Using multi-Region keys</a> in the <i>Key Management Service Developer Guide</i>.</p>
16
+ * <p>A <i>replica key</i> is a fully-functional KMS key that can be used
17
17
  * independently of its primary and peer replica keys. A primary key and its replica keys share
18
18
  * properties that make them interoperable. They have the same <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-id">key ID</a> and key material. They also
19
19
  * have the same <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-spec">key
20
20
  * spec</a>, <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-usage">key
21
21
  * usage</a>, <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-origin">key
22
- * material origin</a>, and <a href="https://docs.aws.amazon.com/kms/latest/developerguide/rotate-keys.html">automatic key rotation status</a>. AWS KMS automatically synchronizes these shared
22
+ * material origin</a>, and <a href="https://docs.aws.amazon.com/kms/latest/developerguide/rotate-keys.html">automatic key rotation status</a>. KMS automatically synchronizes these shared
23
23
  * properties among related multi-Region keys. All other properties of a replica key can differ,
24
24
  * including its <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html">key
25
25
  * policy</a>, <a href="https://docs.aws.amazon.com/kms/latest/developerguide/tagging-keys.html">tags</a>, <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-alias.html">aliases</a>, and <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html">key
26
- * state</a>. AWS KMS pricing and quotas for CMKs apply to each primary key and replica
26
+ * state</a>. KMS pricing and quotas for KMS keys apply to each primary key and replica
27
27
  * key.</p>
28
28
  * <p>When this operation completes, the new replica key has a transient key state of
29
29
  * <code>Creating</code>. This key state changes to <code>Enabled</code> (or
@@ -32,31 +32,31 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
32
32
  * cannot yet use it in cryptographic operations. If you are creating and using the replica key
33
33
  * programmatically, retry on <code>KMSInvalidStateException</code> or call
34
34
  * <code>DescribeKey</code> to check its <code>KeyState</code> value before using it. For
35
- * details about the <code>Creating</code> key state, see <a href="kms/latest/developerguide/key-state.html">Key state: Effect on your CMK</a> in the
36
- * <i>AWS Key Management Service Developer Guide</i>.</p>
37
- * <p>The AWS CloudTrail log of a <code>ReplicateKey</code> operation records a
35
+ * details about the <code>Creating</code> key state, see <a href="kms/latest/developerguide/key-state.html">Key state: Effect on your KMS key</a> in the
36
+ * <i>Key Management Service Developer Guide</i>.</p>
37
+ * <p>The CloudTrail log of a <code>ReplicateKey</code> operation records a
38
38
  * <code>ReplicateKey</code> operation in the primary key's Region and a <a>CreateKey</a> operation in the replica key's Region.</p>
39
39
  * <p>If you replicate a multi-Region primary key with imported key material, the replica key is
40
40
  * created with no key material. You must import the same key material that you imported into the
41
- * primary key. For details, see <a href="kms/latest/developerguide/multi-region-keys-import.html">Importing key material into multi-Region keys</a> in the <i>AWS Key Management Service Developer Guide</i>.</p>
41
+ * primary key. For details, see <a href="kms/latest/developerguide/multi-region-keys-import.html">Importing key material into multi-Region keys</a> in the <i>Key Management Service Developer Guide</i>.</p>
42
42
  * <p>To convert a replica key to a primary key, use the <a>UpdatePrimaryRegion</a>
43
43
  * operation.</p>
44
44
  * <note>
45
45
  * <p>
46
46
  * <code>ReplicateKey</code> uses different default values for the <code>KeyPolicy</code> and
47
- * <code>Tags</code> parameters than those used in the AWS KMS console. For details, see the
47
+ * <code>Tags</code> parameters than those used in the KMS console. For details, see the
48
48
  * parameter descriptions.</p>
49
49
  * </note>
50
50
  * <p>
51
51
  * <b>Cross-account use</b>: No. You cannot use this operation to
52
- * create a CMK in a different AWS account. </p>
52
+ * create a replica key in a different Amazon Web Services account. </p>
53
53
  * <p>
54
54
  * <b>Required permissions</b>: </p>
55
55
  * <ul>
56
56
  * <li>
57
57
  * <p>
58
- * <code>kms:ReplicateKey</code> on the primary CMK (in the primary CMK's Region). Include this
59
- * permission in the primary CMK's key policy.</p>
58
+ * <code>kms:ReplicateKey</code> on the primary key (in the primary key's Region). Include this
59
+ * permission in the primary key's key policy.</p>
60
60
  * </li>
61
61
  * <li>
62
62
  * <p>