@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
@@ -8,30 +8,34 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
8
8
  /**
9
9
  * <p>Generates a unique asymmetric data key pair. The
10
10
  * <code>GenerateDataKeyPairWithoutPlaintext</code> operation returns a plaintext public key
11
- * and a copy of the private key that is encrypted under the symmetric CMK you specify. Unlike
11
+ * and a copy of the private key that is encrypted under the symmetric KMS key you specify. Unlike
12
12
  * <a>GenerateDataKeyPair</a>, this operation does not return a plaintext private
13
13
  * key. </p>
14
- * <p>To generate a data key pair, you must specify a symmetric customer master key (CMK) to
15
- * encrypt the private key in the data key pair. You cannot use an asymmetric CMK or a CMK in a
16
- * custom key store. To get the type and origin of your CMK, use the <code>KeySpec</code> field
17
- * in the <a>DescribeKey</a> response.</p>
18
14
  * <p>You can use the public key that <code>GenerateDataKeyPairWithoutPlaintext</code> returns
19
- * to encrypt data or verify a signature outside of AWS KMS. Then, store the encrypted private key
15
+ * to encrypt data or verify a signature outside of KMS. Then, store the encrypted private key
20
16
  * with the data. When you are ready to decrypt data or sign a message, you can use the <a>Decrypt</a> operation to decrypt the encrypted private key.</p>
17
+ * <p>To generate a data key pair, you must specify a symmetric KMS key to
18
+ * encrypt the private key in a data key pair. You cannot use an asymmetric KMS key or a KMS key in a
19
+ * custom key store. To get the type and origin of your KMS key, use the <a>DescribeKey</a> operation. </p>
20
+ * <p>Use the <code>KeyPairSpec</code> parameter to choose an RSA or Elliptic Curve (ECC) data
21
+ * key pair. KMS recommends that your use ECC key pairs for signing, and use RSA key pairs
22
+ * for either encryption or signing, but not both. However, KMS cannot enforce any restrictions
23
+ * on the use of data key pairs outside of KMS.</p>
21
24
  * <p>
22
25
  * <code>GenerateDataKeyPairWithoutPlaintext</code> returns a unique data key pair for each
23
- * request. The bytes in the key are not related to the caller or CMK that is used to encrypt the
24
- * private key.</p>
26
+ * request. The bytes in the key are not related to the caller or KMS key that is used to encrypt the
27
+ * private key. The public key is a DER-encoded X.509 SubjectPublicKeyInfo, as specified in
28
+ * <a href="https://tools.ietf.org/html/rfc5280">RFC 5280</a>.</p>
25
29
  *
26
30
  * <p>You can use the optional encryption context to add additional security to the encryption
27
31
  * operation. If you specify an <code>EncryptionContext</code>, you must specify the same
28
32
  * encryption context (a case-sensitive exact match) when decrypting the encrypted data key.
29
33
  * Otherwise, the request to decrypt fails with an <code>InvalidCiphertextException</code>. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context">Encryption Context</a> in the
30
- * <i>AWS Key Management Service Developer Guide</i>.</p>
31
- * <p>The CMK that you use for this operation must be in a compatible key state. For
32
- * 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>
34
+ * <i>Key Management Service Developer Guide</i>.</p>
35
+ * <p>The KMS key that you use for this operation must be in a compatible key state. For
36
+ * 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>
33
37
  * <p>
34
- * <b>Cross-account use</b>: Yes. To perform this operation with a CMK in a different AWS account, specify
38
+ * <b>Cross-account use</b>: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify
35
39
  * the key ARN or alias ARN in the value of the <code>KeyId</code> parameter.</p>
36
40
  *
37
41
  * <p>
@@ -1 +1 @@
1
- {"version":3,"file":"GenerateDataKeyPairWithoutPlaintextCommand.js","sourceRoot":"","sources":["../../../commands/GenerateDataKeyPairWithoutPlaintextCommand.ts"],"names":[],"mappings":";;;AACA,iDAG4B;AAC5B,0DAGkC;AAClC,gEAA2D;AAE3D,0DAA6D;AAgB7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2EG;AACH,MAAa,0CAA2C,SAAQ,uBAI/D;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAAsD;QACzE,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAAiD;QAGzE,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;QACjC,MAAM,UAAU,GAAG,WAAW,CAAC;QAC/B,MAAM,WAAW,GAAG,4CAA4C,CAAC;QACjE,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,qDAA0C,CAAC,kBAAkB;YACtF,wBAAwB,EAAE,sDAA2C,CAAC,kBAAkB;SACzF,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,SAAS,CACf,KAAsD,EACtD,OAAuB;QAEvB,OAAO,4EAA8D,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACxF,CAAC;IAEO,WAAW,CACjB,MAAsB,EACtB,OAAuB;QAEvB,OAAO,8EAAgE,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC3F,CAAC;CAIF;AA5DD,gGA4DC"}
1
+ {"version":3,"file":"GenerateDataKeyPairWithoutPlaintextCommand.js","sourceRoot":"","sources":["../../../commands/GenerateDataKeyPairWithoutPlaintextCommand.ts"],"names":[],"mappings":";;;AACA,iDAG4B;AAC5B,0DAGkC;AAClC,gEAA2D;AAE3D,0DAA6D;AAgB7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+EG;AACH,MAAa,0CAA2C,SAAQ,uBAI/D;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAAsD;QACzE,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAAiD;QAGzE,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;QACjC,MAAM,UAAU,GAAG,WAAW,CAAC;QAC/B,MAAM,WAAW,GAAG,4CAA4C,CAAC;QACjE,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,qDAA0C,CAAC,kBAAkB;YACtF,wBAAwB,EAAE,sDAA2C,CAAC,kBAAkB;SACzF,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,SAAS,CACf,KAAsD,EACtD,OAAuB;QAEvB,OAAO,4EAA8D,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACxF,CAAC;IAEO,WAAW,CACjB,MAAsB,EACtB,OAAuB;QAEvB,OAAO,8EAAgE,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC3F,CAAC;CAIF;AA5DD,gGA4DC"}
@@ -7,7 +7,7 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
8
  /**
9
9
  * <p>Generates a unique symmetric data key. This operation returns a data key that is encrypted
10
- * under a customer master key (CMK) that you specify. To request an asymmetric data key pair,
10
+ * under a KMS key that you specify. To request an asymmetric data key pair,
11
11
  * use the <a>GenerateDataKeyPair</a> or <a>GenerateDataKeyPairWithoutPlaintext</a> operations.</p>
12
12
  * <p>
13
13
  * <code>GenerateDataKeyWithoutPlaintext</code> is identical to the <a>GenerateDataKey</a> operation except that returns only the encrypted copy of the
@@ -23,12 +23,12 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
23
23
  * plaintext data key.</p>
24
24
  * <p>
25
25
  * <code>GenerateDataKeyWithoutPlaintext</code> returns a unique data key for each request.
26
- * The bytes in the keys are not related to the caller or CMK that is used to encrypt the private
26
+ * The bytes in the keys are not related to the caller or KMS key that is used to encrypt the private
27
27
  * key.</p>
28
28
  *
29
- * <p>To generate a data key, you must specify the symmetric customer master key (CMK) that is
30
- * used to encrypt the data key. You cannot use an asymmetric CMK to generate a data key. To get
31
- * the type of your CMK, use the <a>DescribeKey</a> operation.</p>
29
+ * <p>To generate a data key, you must specify the symmetric KMS key that is
30
+ * used to encrypt the data key. You cannot use an asymmetric KMS key to generate a data key. To get
31
+ * the type of your KMS key, use the <a>DescribeKey</a> operation.</p>
32
32
  *
33
33
  * <p>If the operation succeeds, you will find the encrypted copy of the data key in the
34
34
  * <code>CiphertextBlob</code> field.</p>
@@ -37,11 +37,11 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
37
37
  * operation. If you specify an <code>EncryptionContext</code>, you must specify the same
38
38
  * encryption context (a case-sensitive exact match) when decrypting the encrypted data key.
39
39
  * Otherwise, the request to decrypt fails with an <code>InvalidCiphertextException</code>. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context">Encryption Context</a> in the
40
- * <i>AWS Key Management Service Developer Guide</i>.</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>
40
+ * <i>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>
@@ -7,10 +7,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
8
  /**
9
9
  * <p>Returns a random byte string that is cryptographically secure.</p>
10
- * <p>By default, the random byte string is generated in AWS KMS. To generate the byte string in
11
- * the AWS CloudHSM cluster that is associated with a <a href="https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html">custom key store</a>, specify the custom key store
10
+ * <p>By default, the random byte string is generated in KMS. To generate the byte string in
11
+ * the CloudHSM cluster that is associated with a <a href="https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html">custom key store</a>, specify the custom key store
12
12
  * ID.</p>
13
- * <p>For more information about entropy and random number generation, see <a href="https://docs.aws.amazon.com/kms/latest/cryptographic-details/">AWS Key Management Service Cryptographic Details</a>.</p>
13
+ * <p>Applications in Amazon Web Services Nitro Enclaves can call this operation by using the <a href="https://github.com/aws/aws-nitro-enclaves-sdk-c">Amazon Web Services Nitro Enclaves Development Kit</a>. For information about the supporting parameters, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/services-nitro-enclaves.html">How Amazon Web Services Nitro Enclaves use KMS</a> in the <i>Key Management Service Developer Guide</i>.</p>
14
+ * <p>For more information about entropy and random number generation, see <a href="https://docs.aws.amazon.com/kms/latest/cryptographic-details/">Key Management Service Cryptographic Details</a>.</p>
14
15
  *
15
16
  * <p>
16
17
  * <b>Required permissions</b>: <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:GenerateRandom</a> (IAM policy)</p>
@@ -1 +1 @@
1
- {"version":3,"file":"GenerateRandomCommand.js","sourceRoot":"","sources":["../../../commands/GenerateRandomCommand.ts"],"names":[],"mappings":";;;AACA,iDAAmF;AACnF,0DAGkC;AAClC,gEAA2D;AAE3D,0DAA6D;AAc7D;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,qBAAsB,SAAQ,uBAI1C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAAiC;QACpD,qCAAqC;QACrC,KAAK,EAAE,CAAC;Q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AsDC"}
@@ -6,9 +6,9 @@ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
6
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
8
  /**
9
- * <p>Gets a key policy attached to the specified customer master key (CMK).</p>
9
+ * <p>Gets a key policy attached to the specified KMS key.</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:GetKeyPolicy</a> (key policy)</p>
@@ -7,23 +7,23 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
8
  /**
9
9
  * <p>Gets a Boolean value that indicates whether <a href="https://docs.aws.amazon.com/kms/latest/developerguide/rotate-keys.html">automatic rotation of the key material</a> is
10
- * enabled for the specified customer master key (CMK).</p>
11
- * <p>You cannot enable automatic rotation of <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symm-asymm-concepts.html#asymmetric-cmks">asymmetric CMKs</a>, CMKs with <a href="https://docs.aws.amazon.com/kms/latest/developerguide/importing-keys.html">imported key material</a>, or CMKs in a <a href="https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html">custom key store</a>. To enable or disable automatic rotation of a set of related <a href="https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html#mrk-replica-key">multi-Region keys</a>, set the property on the primary key. The key rotation status for these CMKs is always <code>false</code>.</p>
12
- * <p>The CMK that you use for this operation must be in a compatible key state. For
13
- * 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>
10
+ * enabled for the specified KMS key.</p>
11
+ * <p>You cannot enable automatic rotation of <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symm-asymm-concepts.html#asymmetric-cmks">asymmetric KMS keys</a>, KMS keys with <a href="https://docs.aws.amazon.com/kms/latest/developerguide/importing-keys.html">imported key material</a>, or KMS keys in a <a href="https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html">custom key store</a>. To enable or disable automatic rotation of a set of related <a href="https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html#mrk-replica-key">multi-Region keys</a>, set the property on the primary key. The key rotation status for these KMS keys is always <code>false</code>.</p>
12
+ * <p>The KMS key that you use for this operation must be in a compatible key state. For
13
+ * 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>
14
14
  * <ul>
15
15
  * <li>
16
- * <p>Disabled: The key rotation status does not change when you disable a CMK. However,
17
- * while the CMK is disabled, AWS KMS does not rotate the backing key.</p>
16
+ * <p>Disabled: The key rotation status does not change when you disable a KMS key. However,
17
+ * while the KMS key is disabled, KMS does not rotate the key material.</p>
18
18
  * </li>
19
19
  * <li>
20
- * <p>Pending deletion: While a CMK is pending deletion, its key rotation status is
21
- * <code>false</code> and AWS KMS does not rotate the backing key. If you cancel the
20
+ * <p>Pending deletion: While a KMS key is pending deletion, its key rotation status is
21
+ * <code>false</code> and KMS does not rotate the key material. If you cancel the
22
22
  * deletion, the original key rotation status is restored.</p>
23
23
  * </li>
24
24
  * </ul>
25
25
  * <p>
26
- * <b>Cross-account use</b>: Yes. To perform this operation on a CMK in a different AWS account, specify the key
26
+ * <b>Cross-account use</b>: Yes. To perform this operation on a KMS key in a different Amazon Web Services account, specify the key
27
27
  * ARN in the value of the <code>KeyId</code> parameter.</p>
28
28
  *
29
29
  * <p>
@@ -7,23 +7,23 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
8
  /**
9
9
  * <p>Returns the items you need to import key material into a symmetric, customer managed
10
- * customer master key (CMK). For more information about importing key material into AWS KMS, see
10
+ * KMS key. For more information about importing key material into KMS, see
11
11
  * <a href="https://docs.aws.amazon.com/kms/latest/developerguide/importing-keys.html">Importing Key
12
- * Material</a> in the <i>AWS Key Management Service Developer Guide</i>.</p>
12
+ * Material</a> in the <i>Key Management Service Developer Guide</i>.</p>
13
13
  * <p>This operation returns a public key and an import token. Use the public key to encrypt the
14
14
  * symmetric key material. Store the import token to send with a subsequent <a>ImportKeyMaterial</a> request.</p>
15
- * <p>You must specify the key ID of the symmetric CMK into which you will import key material.
16
- * This CMK's <code>Origin</code> must be <code>EXTERNAL</code>. You must also specify the
15
+ * <p>You must specify the key ID of the symmetric KMS key into which you will import key material.
16
+ * This KMS key's <code>Origin</code> must be <code>EXTERNAL</code>. You must also specify the
17
17
  * wrapping algorithm and type of wrapping key (public key) that you will use to encrypt the key
18
- * material. You cannot perform this operation on an asymmetric CMK or on any CMK in a different AWS account.</p>
18
+ * material. You cannot perform this operation on an asymmetric KMS key or on any KMS key in a different Amazon Web Services account.</p>
19
19
  * <p>To import key material, you must use the public key and import token from the same
20
20
  * response. These items are valid for 24 hours. The expiration date and time appear in the
21
21
  * <code>GetParametersForImport</code> response. You cannot use an expired token in an <a>ImportKeyMaterial</a> request. If your key and token expire, send another
22
22
  * <code>GetParametersForImport</code> request.</p>
23
- * <p>The CMK that you use for this operation must be in a compatible key state. For
24
- * 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>
23
+ * <p>The KMS key that you use for this operation must be in a compatible key state. For
24
+ * 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>
25
25
  * <p>
26
- * <b>Cross-account use</b>: No. You cannot perform this operation on a CMK in a different AWS account.</p>
26
+ * <b>Cross-account use</b>: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.</p>
27
27
  *
28
28
  * <p>
29
29
  * <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>
@@ -6,22 +6,22 @@ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
6
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
8
  /**
9
- * <p>Returns the public key of an asymmetric CMK. Unlike the private key of a asymmetric CMK,
10
- * which never leaves AWS KMS unencrypted, callers with <code>kms:GetPublicKey</code> permission
11
- * can download the public key of an asymmetric CMK. You can share the public key to allow others
12
- * 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>
9
+ * <p>Returns the public key of an asymmetric KMS key. Unlike the private key of a asymmetric KMS key,
10
+ * which never leaves KMS unencrypted, callers with <code>kms:GetPublicKey</code> permission
11
+ * can download the public key of an asymmetric KMS key. You can share the public key to allow others
12
+ * 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>
13
13
  * <p>You do not need to download the public key. Instead, you can use the public key within
14
- * 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
15
- * public key within AWS KMS, you benefit from the authentication, authorization, and logging that
16
- * are part of every AWS KMS operation. You also reduce of risk of encrypting data that cannot be
17
- * 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
14
+ * 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
15
+ * public key within KMS, you benefit from the authentication, authorization, and logging that
16
+ * are part of every KMS operation. You also reduce of risk of encrypting data that cannot be
17
+ * 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
18
18
  * Considerations for Downloading Public Keys</a>.</p>
19
- * <p>To help you use the public key safely outside of AWS KMS, <code>GetPublicKey</code> returns
19
+ * <p>To help you use the public key safely outside of KMS, <code>GetPublicKey</code> returns
20
20
  * important information about the public key in the response, including:</p>
21
21
  * <ul>
22
22
  * <li>
23
23
  * <p>
24
- * <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
24
+ * <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
25
25
  * <code>RSA_4096</code> or <code>ECC_NIST_P521</code>.</p>
26
26
  * </li>
27
27
  * <li>
@@ -34,16 +34,16 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
34
34
  * algorithms for the key.</p>
35
35
  * </li>
36
36
  * </ul>
37
- * <p>Although AWS KMS cannot enforce these restrictions on external operations, it is crucial
37
+ * <p>Although KMS cannot enforce these restrictions on external operations, it is crucial
38
38
  * that you use this information to prevent the public key from being used improperly. For
39
39
  * example, you can prevent a public signing key from being used encrypt data, or prevent a
40
- * public key from being used with an encryption algorithm that is not supported by AWS KMS. You
40
+ * public key from being used with an encryption algorithm that is not supported by KMS. You
41
41
  * can also avoid errors, such as using the wrong signing algorithm in a verification
42
42
  * operation.</p>
43
- * <p>The CMK that you use for this operation must be in a compatible key state. For
44
- * 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>
43
+ * <p>The KMS key that you use for this operation must be in a compatible key state. For
44
+ * 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>
45
45
  * <p>
46
- * <b>Cross-account use</b>: Yes. To perform this operation with a CMK in a different AWS account, specify
46
+ * <b>Cross-account use</b>: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify
47
47
  * the key ARN or alias ARN in the value of the <code>KeyId</code> parameter.</p>
48
48
  *
49
49
  * <p>
@@ -6,13 +6,13 @@ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
6
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
8
  /**
9
- * <p>Imports key material into an existing symmetric AWS KMS customer master key (CMK) that was
10
- * created without key material. After you successfully import key material into a CMK, you can
11
- * <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
9
+ * <p>Imports key material into an existing symmetric KMS KMS key that was
10
+ * created without key material. After you successfully import key material into a KMS key, you can
11
+ * <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
12
12
  * material. </p>
13
- * <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
13
+ * <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
14
14
  * then importing key material, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/importing-keys.html">Importing Key Material</a> in the
15
- * <i>AWS Key Management Service Developer Guide</i>.</p>
15
+ * <i>Key Management Service Developer Guide</i>.</p>
16
16
  * <p>Before using this operation, call <a>GetParametersForImport</a>. Its response
17
17
  * includes a public key and an import token. Use the public key to encrypt the key material.
18
18
  * Then, submit the import token from the same <code>GetParametersForImport</code>
@@ -20,11 +20,11 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
20
20
  * <p>When calling this operation, you must specify the following values:</p>
21
21
  * <ul>
22
22
  * <li>
23
- * <p>The key ID or key ARN of a CMK with no key material. Its <code>Origin</code> must be
23
+ * <p>The key ID or key ARN of a KMS key with no key material. Its <code>Origin</code> must be
24
24
  * <code>EXTERNAL</code>.</p>
25
- * <p>To create a CMK with no key material, call <a>CreateKey</a> and set the
25
+ * <p>To create a KMS key with no key material, call <a>CreateKey</a> and set the
26
26
  * value of its <code>Origin</code> parameter to <code>EXTERNAL</code>. To get the
27
- * <code>Origin</code> of a CMK, call <a>DescribeKey</a>.)</p>
27
+ * <code>Origin</code> of a KMS key, call <a>DescribeKey</a>.)</p>
28
28
  * </li>
29
29
  * <li>
30
30
  * <p>The encrypted key material. To get the public key to encrypt the key material, call
@@ -35,23 +35,23 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
35
35
  * a public key and token from the same <code>GetParametersForImport</code> response.</p>
36
36
  * </li>
37
37
  * <li>
38
- * <p>Whether the key material expires and if so, when. If you set an expiration date, AWS KMS
39
- * deletes the key material from the CMK on the specified date, and the CMK becomes unusable.
40
- * To use the CMK again, you must reimport the same key material. The only way to change an
38
+ * <p>Whether the key material expires and if so, when. If you set an expiration date, KMS
39
+ * deletes the key material from the KMS key on the specified date, and the KMS key becomes unusable.
40
+ * To use the KMS key again, you must reimport the same key material. The only way to change an
41
41
  * expiration date is by reimporting the same key material and specifying a new expiration
42
42
  * date. </p>
43
43
  * </li>
44
44
  * </ul>
45
- * <p>When this operation is successful, the key state of the CMK changes from
46
- * <code>PendingImport</code> to <code>Enabled</code>, and you can use the CMK.</p>
45
+ * <p>When this operation is successful, the key state of the KMS key changes from
46
+ * <code>PendingImport</code> to <code>Enabled</code>, and you can use the KMS key.</p>
47
47
  * <p>If this operation fails, use the exception to help determine the problem. If the error is
48
- * 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
48
+ * 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
49
49
  * 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
50
- * Material</a> in the <i>AWS Key Management Service Developer Guide</i>.</p>
51
- * <p>The CMK 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 CMK</a> in the <i>AWS Key Management Service Developer Guide</i>.</p>
50
+ * Material</a> in the <i>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>
53
53
  * <p>
54
- * <b>Cross-account use</b>: No. You cannot perform this operation on a CMK in a different AWS account.</p>
54
+ * <b>Cross-account use</b>: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.</p>
55
55
  *
56
56
  * <p>
57
57
  * <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>
@@ -6,28 +6,26 @@ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
6
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
8
  /**
9
- * <p>Gets a list of aliases in the caller's AWS account and region. For more information about
9
+ * <p>Gets a list of aliases in the caller's Amazon Web Services account and region. For more information about
10
10
  * aliases, see <a>CreateAlias</a>.</p>
11
11
  * <p>By default, the <code>ListAliases</code> operation returns all aliases in the account and
12
- * region. To get only the aliases associated with a particular customer master key (CMK), use
12
+ * region. To get only the aliases associated with a particular KMS key, use
13
13
  * the <code>KeyId</code> parameter.</p>
14
14
  * <p>The <code>ListAliases</code> response can include aliases that you created and associated
15
- * with your customer managed CMKs, and aliases that AWS created and associated with AWS managed
16
- * CMKs in your account. You can recognize AWS aliases because their names have the format
15
+ * 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
17
16
  * <code>aws/<service-name></code>, such as <code>aws/dynamodb</code>.</p>
18
17
  * <p>The response might also include aliases that have no <code>TargetKeyId</code> field. These
19
- * are predefined aliases that AWS has created but has not yet associated with a CMK. Aliases
20
- * that AWS creates in your account, including predefined aliases, do not count against your
21
- * <a href="https://docs.aws.amazon.com/kms/latest/developerguide/limits.html#aliases-limit">AWS KMS aliases
18
+ * are predefined aliases that Amazon Web Services has created but has not yet associated with a KMS key. Aliases
19
+ * that Amazon Web Services creates in your account, including predefined aliases, do not count against your
20
+ * <a href="https://docs.aws.amazon.com/kms/latest/developerguide/limits.html#aliases-limit">KMS aliases
22
21
  * quota</a>.</p>
23
22
  * <p>
24
23
  * <b>Cross-account use</b>: No. <code>ListAliases</code> does not
25
- * return aliases in other AWS accounts.</p>
26
- *
24
+ * return aliases in other Amazon Web Services accounts.</p>
27
25
  *
28
26
  * <p>
29
27
  * <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>
30
- * <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>
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>Key Management Service Developer Guide</i>.</p>
31
29
  * <p>
32
30
  * <b>Related operations:</b>
33
31
  * </p>
@@ -1 +1 @@
1
- {"version":3,"file":"ListAliasesCommand.js","sourceRoot":"","sources":["../../../commands/ListAliasesCommand.ts"],"names":[],"mappings":";;;AACA,iDAA6E;AAC7E,0DA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AAC,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,SAAS,CAAC,KAA8B,EAAE,OAAuB;QACvE,OAAO,oDAAsC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,sDAAwC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;CAIF;AAtDD,gDAsDC"}
@@ -6,18 +6,23 @@ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
6
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
8
  /**
9
- * <p>Gets a list of all grants for the specified customer master key (CMK). </p>
10
- * <p>You must specify the CMK in all requests. You can filter the grant list by grant ID
9
+ * <p>Gets a list of all grants for the specified KMS key. </p>
10
+ * <p>You must specify the KMS key in all requests. You can filter the grant list by grant ID
11
11
  * or grantee principal.</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>
12
17
  * <note>
13
18
  * <p>The <code>GranteePrincipal</code> field in the <code>ListGrants</code> response usually contains the
14
19
  * user or role designated as the grantee principal in the grant. However, when the grantee
15
- * principal in the grant is an AWS service, the <code>GranteePrincipal</code> field contains
20
+ * principal in the grant is an Amazon Web Services service, the <code>GranteePrincipal</code> field contains
16
21
  * the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html#principal-services">service
17
22
  * principal</a>, which might represent several different grantee principals.</p>
18
23
  * </note>
19
24
  * <p>
20
- * <b>Cross-account use</b>: Yes. To perform this operation on a CMK in a different AWS account, specify the key
25
+ * <b>Cross-account use</b>: Yes. To perform this operation on a KMS key in a different Amazon Web Services account, specify the key
21
26
  * ARN in the value of the <code>KeyId</code> parameter.</p>
22
27
  *
23
28
  * <p>
@@ -1 +1 @@
1
- {"version":3,"file":"ListGrantsCommand.js","sourceRoot":"","sources":["../../../commands/ListGrantsCommand.ts"],"names":[],"mappings":";;;AACA,iDAA2E;AAC3E,0DAGkC;AAClC,gEAA2D;AAE3D,0DAA6D;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,MAAa,iBAAkB,SAAQ,uBAItC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAA6B;QAChD,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAAwB;QAGhD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;QACjC,MAAM,UAAU,GAAG,WAAW,CAAC;QAC/B,MAAM,WAAW,GAAG,mBAAmB,CAAC;QACxC,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,4BAAiB,CAAC,kBAAkB;YAC7D,wBAAwB,EAAE,6BAAkB,CAAC,kBAAkB;SAChE,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EA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,EAAE,6BAAkB,CAAC,kBAAkB;SAChE,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,SAAS,CAAC,KAA6B,EAAE,OAAuB;QACtE,OAAO,mDAAqC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,qDAAuC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;CAIF;AAtDD,8CAsDC"}
@@ -6,11 +6,11 @@ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
6
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
8
  /**
9
- * <p>Gets the names of the key policies that are attached to a customer master key (CMK). This
9
+ * <p>Gets the names of the key policies that are attached to a KMS key. This
10
10
  * operation is designed to get policy names that you can use in a <a>GetKeyPolicy</a>
11
11
  * operation. However, the only valid policy name is <code>default</code>. </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:ListKeyPolicies</a> (key policy)</p>
@@ -6,10 +6,10 @@ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
6
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
8
  /**
9
- * <p>Gets a list of all customer master keys (CMKs) in the caller's AWS account and
9
+ * <p>Gets a list of all KMS keys in the caller's Amazon Web Services account and
10
10
  * Region.</p>
11
11
  * <p>
12
- * <b>Cross-account use</b>: No. You cannot perform this operation on a CMK in a different AWS account.</p>
12
+ * <b>Cross-account use</b>: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.</p>
13
13
  *
14
14
  * <p>
15
15
  * <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>
@@ -6,13 +6,13 @@ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
6
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
8
  /**
9
- * <p>Returns all tags on the specified customer master key (CMK).</p>
10
- * <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
9
+ * <p>Returns all tags on the specified KMS key.</p>
10
+ * <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
11
11
  * the <i>Amazon Web Services General Reference</i>. For information about using
12
- * tags in AWS KMS, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/tagging-keys.html">Tagging
12
+ * tags in KMS, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/tagging-keys.html">Tagging
13
13
  * keys</a>.</p>
14
14
  * <p>
15
- * <b>Cross-account use</b>: No. You cannot perform this operation on a CMK in a different AWS account.</p>
15
+ * <b>Cross-account use</b>: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.</p>
16
16
  *
17
17
  * <p>
18
18
  * <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>
@@ -6,24 +6,24 @@ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
6
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
8
  /**
9
- * <p>Returns information about all grants in the AWS account and Region that have the specified
10
- * retiring principal. For more information about grants, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/grants.html">Grants</a> in the
11
- * <i>
12
- * <i>AWS Key Management Service Developer Guide</i>
13
- * </i>.</p>
14
- * <p>You can specify any principal in your AWS account. The grants that are returned include
15
- * grants for CMKs in your AWS account and other AWS accounts.</p>
16
- * <p>You might use this operation to determine which grants you may retire. To retire a grant,
17
- * use the <a>RetireGrant</a> operation.</p>
9
+ * <p>Returns information about all grants in the Amazon Web Services account and Region that have the specified
10
+ * retiring principal. </p>
11
+ * <p>You can specify any principal in your Amazon Web Services account. The grants that are returned include
12
+ * grants for KMS keys in your Amazon Web Services account and other Amazon Web Services accounts. You might use this operation to
13
+ * determine which grants you may retire. To retire a grant, use the <a>RetireGrant</a> operation.</p>
14
+ * <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
15
+ * <i>
16
+ * <i>Key Management Service Developer Guide</i>
17
+ * </i>. For examples of working with grants in several
18
+ * programming languages, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/programming-grants.html">Programming grants</a>. </p>
18
19
  * <p>
19
20
  * <b>Cross-account use</b>: You must specify a principal in your
20
- * AWS account. However, this operation can return grants in any AWS account. You do not need
21
- * <code>kms:ListRetirableGrants</code> permission (or any other additional permission) in any
22
- * AWS account other than your own.</p>
21
+ * Amazon Web Services account. However, this operation can return grants in any Amazon Web Services account. You do not need
22
+ * <code>kms:ListRetirableGrants</code> permission (or any other additional permission) in any
23
+ * Amazon Web Services account other than your own.</p>
23
24
  *
24
25
  * <p>
25
- * <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
26
- * account.</p>
26
+ * <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>
27
27
  * <p>
28
28
  * <b>Related operations:</b>
29
29
  * </p>
@@ -6,14 +6,14 @@ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
6
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
8
  /**
9
- * <p>Attaches a key policy to the specified customer master key (CMK). </p>
10
- * <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>.
9
+ * <p>Attaches a key policy to the specified KMS key. </p>
10
+ * <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>.
11
11
  * 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>
12
- * <i>IAM User Guide</i>
12
+ * <i>Identity and Access Management User Guide</i>
13
13
  * </i>. For examples of adding a key policy in multiple programming languages,
14
- * 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>
14
+ * 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>
15
15
  * <p>
16
- * <b>Cross-account use</b>: No. You cannot perform this operation on a CMK in a different AWS account.</p>
16
+ * <b>Cross-account use</b>: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.</p>
17
17
  *
18
18
  * <p>
19
19
  * <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>