@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
@@ -9,30 +9,34 @@ export interface GenerateDataKeyPairWithoutPlaintextCommandOutput extends Genera
9
9
  /**
10
10
  * <p>Generates a unique asymmetric data key pair. The
11
11
  * <code>GenerateDataKeyPairWithoutPlaintext</code> operation returns a plaintext public key
12
- * and a copy of the private key that is encrypted under the symmetric CMK you specify. Unlike
12
+ * and a copy of the private key that is encrypted under the symmetric KMS key you specify. Unlike
13
13
  * <a>GenerateDataKeyPair</a>, this operation does not return a plaintext private
14
14
  * key. </p>
15
- * <p>To generate a data key pair, you must specify a symmetric customer master key (CMK) to
16
- * encrypt the private key in the data key pair. You cannot use an asymmetric CMK or a CMK in a
17
- * custom key store. To get the type and origin of your CMK, use the <code>KeySpec</code> field
18
- * in the <a>DescribeKey</a> response.</p>
19
15
  * <p>You can use the public key that <code>GenerateDataKeyPairWithoutPlaintext</code> returns
20
- * to encrypt data or verify a signature outside of AWS KMS. Then, store the encrypted private key
16
+ * to encrypt data or verify a signature outside of KMS. Then, store the encrypted private key
21
17
  * 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>
18
+ * <p>To generate a data key pair, you must specify a symmetric KMS key to
19
+ * encrypt the private key in a data key pair. You cannot use an asymmetric KMS key or a KMS key in a
20
+ * custom key store. To get the type and origin of your KMS key, use the <a>DescribeKey</a> operation. </p>
21
+ * <p>Use the <code>KeyPairSpec</code> parameter to choose an RSA or Elliptic Curve (ECC) data
22
+ * key pair. KMS recommends that your use ECC key pairs for signing, and use RSA key pairs
23
+ * for either encryption or signing, but not both. However, KMS cannot enforce any restrictions
24
+ * on the use of data key pairs outside of KMS.</p>
22
25
  * <p>
23
26
  * <code>GenerateDataKeyPairWithoutPlaintext</code> returns a unique data key pair for each
24
- * request. The bytes in the key are not related to the caller or CMK that is used to encrypt the
25
- * private key.</p>
27
+ * request. The bytes in the key are not related to the caller or KMS key that is used to encrypt the
28
+ * private key. The public key is a DER-encoded X.509 SubjectPublicKeyInfo, as specified in
29
+ * <a href="https://tools.ietf.org/html/rfc5280">RFC 5280</a>.</p>
26
30
  *
27
31
  * <p>You can use the optional encryption context to add additional security to the encryption
28
32
  * operation. If you specify an <code>EncryptionContext</code>, you must specify the same
29
33
  * encryption context (a case-sensitive exact match) when decrypting the encrypted data key.
30
34
  * 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
31
- * <i>AWS Key Management Service Developer Guide</i>.</p>
32
- * <p>The CMK that you use for this operation must be in a compatible key state. For
33
- * 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>
35
+ * <i>Key Management Service Developer Guide</i>.</p>
36
+ * <p>The KMS key that you use for this operation must be in a compatible key state. For
37
+ * 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>
34
38
  * <p>
35
- * <b>Cross-account use</b>: Yes. To perform this operation with a CMK in a different AWS account, specify
39
+ * <b>Cross-account use</b>: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify
36
40
  * the key ARN or alias ARN in the value of the <code>KeyId</code> parameter.</p>
37
41
  *
38
42
  * <p>
@@ -8,7 +8,7 @@ export interface GenerateDataKeyWithoutPlaintextCommandOutput extends GenerateDa
8
8
  }
9
9
  /**
10
10
  * <p>Generates a unique symmetric data key. This operation returns a data key that is encrypted
11
- * under a customer master key (CMK) that you specify. To request an asymmetric data key pair,
11
+ * under a KMS key that you specify. To request an asymmetric data key pair,
12
12
  * use the <a>GenerateDataKeyPair</a> or <a>GenerateDataKeyPairWithoutPlaintext</a> operations.</p>
13
13
  * <p>
14
14
  * <code>GenerateDataKeyWithoutPlaintext</code> is identical to the <a>GenerateDataKey</a> operation except that returns only the encrypted copy of the
@@ -24,12 +24,12 @@ export interface GenerateDataKeyWithoutPlaintextCommandOutput extends GenerateDa
24
24
  * plaintext data key.</p>
25
25
  * <p>
26
26
  * <code>GenerateDataKeyWithoutPlaintext</code> returns a unique data key for each request.
27
- * The bytes in the keys are not related to the caller or CMK that is used to encrypt the private
27
+ * The bytes in the keys are not related to the caller or KMS key that is used to encrypt the private
28
28
  * key.</p>
29
29
  *
30
- * <p>To generate a data key, you must specify the symmetric customer master key (CMK) that is
31
- * used to encrypt the data key. You cannot use an asymmetric CMK to generate a data key. To get
32
- * the type of your CMK, use the <a>DescribeKey</a> operation.</p>
30
+ * <p>To generate a data key, you must specify the symmetric KMS key that is
31
+ * used to encrypt the data key. You cannot use an asymmetric KMS key to generate a data key. To get
32
+ * the type of your KMS key, use the <a>DescribeKey</a> operation.</p>
33
33
  *
34
34
  * <p>If the operation succeeds, you will find the encrypted copy of the data key in the
35
35
  * <code>CiphertextBlob</code> field.</p>
@@ -38,11 +38,11 @@ export interface GenerateDataKeyWithoutPlaintextCommandOutput extends GenerateDa
38
38
  * operation. If you specify an <code>EncryptionContext</code>, you must specify the same
39
39
  * encryption context (a case-sensitive exact match) when decrypting the encrypted data key.
40
40
  * 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
41
- * <i>AWS Key Management Service Developer Guide</i>.</p>
42
- * <p>The CMK that you use for this operation must be in a compatible key state. For
43
- * 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
+ * <i>Key Management Service Developer Guide</i>.</p>
42
+ * <p>The KMS key that you use for this operation must be in a compatible key state. For
43
+ * 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>
44
44
  * <p>
45
- * <b>Cross-account use</b>: Yes. To perform this operation with a CMK in a different AWS account, specify
45
+ * <b>Cross-account use</b>: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify
46
46
  * the key ARN or alias ARN in the value of the <code>KeyId</code> parameter.</p>
47
47
  *
48
48
  * <p>
@@ -8,10 +8,11 @@ export interface GenerateRandomCommandOutput extends GenerateRandomResponse, __M
8
8
  }
9
9
  /**
10
10
  * <p>Returns a random byte string that is cryptographically secure.</p>
11
- * <p>By default, the random byte string is generated in AWS KMS. To generate the byte string in
12
- * 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
11
+ * <p>By default, the random byte string is generated in KMS. To generate the byte string in
12
+ * 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
13
13
  * ID.</p>
14
- * <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>
14
+ * <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>
15
+ * <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>
15
16
  *
16
17
  * <p>
17
18
  * <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>
@@ -7,9 +7,9 @@ export interface GetKeyPolicyCommandInput extends GetKeyPolicyRequest {
7
7
  export interface GetKeyPolicyCommandOutput extends GetKeyPolicyResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Gets a key policy attached to the specified customer master key (CMK).</p>
10
+ * <p>Gets a key policy attached to the specified KMS key.</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:GetKeyPolicy</a> (key policy)</p>
@@ -8,23 +8,23 @@ export interface GetKeyRotationStatusCommandOutput extends GetKeyRotationStatusR
8
8
  }
9
9
  /**
10
10
  * <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
11
- * enabled for the specified customer master key (CMK).</p>
12
- * <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>
13
- * <p>The CMK that you use for this operation must be in a compatible key state. For
14
- * 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>
11
+ * enabled for the specified KMS key.</p>
12
+ * <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>
13
+ * <p>The KMS key that you use for this operation must be in a compatible key state. For
14
+ * 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>
15
15
  * <ul>
16
16
  * <li>
17
- * <p>Disabled: The key rotation status does not change when you disable a CMK. However,
18
- * while the CMK is disabled, AWS KMS does not rotate the backing key.</p>
17
+ * <p>Disabled: The key rotation status does not change when you disable a KMS key. However,
18
+ * while the KMS key is disabled, KMS does not rotate the key material.</p>
19
19
  * </li>
20
20
  * <li>
21
- * <p>Pending deletion: While a CMK is pending deletion, its key rotation status is
22
- * <code>false</code> and AWS KMS does not rotate the backing key. If you cancel the
21
+ * <p>Pending deletion: While a KMS key is pending deletion, its key rotation status is
22
+ * <code>false</code> and KMS does not rotate the key material. If you cancel the
23
23
  * deletion, the original key rotation status is restored.</p>
24
24
  * </li>
25
25
  * </ul>
26
26
  * <p>
27
- * <b>Cross-account use</b>: Yes. To perform this operation on a CMK in a different AWS account, specify the key
27
+ * <b>Cross-account use</b>: Yes. To perform this operation on a KMS key in a different Amazon Web Services account, specify the key
28
28
  * ARN in the value of the <code>KeyId</code> parameter.</p>
29
29
  *
30
30
  * <p>
@@ -8,23 +8,23 @@ export interface GetParametersForImportCommandOutput extends GetParametersForImp
8
8
  }
9
9
  /**
10
10
  * <p>Returns the items you need to import key material into a symmetric, customer managed
11
- * customer master key (CMK). For more information about importing key material into AWS KMS, see
11
+ * KMS key. For more information about importing key material into KMS, see
12
12
  * <a href="https://docs.aws.amazon.com/kms/latest/developerguide/importing-keys.html">Importing Key
13
- * Material</a> in the <i>AWS Key Management Service Developer Guide</i>.</p>
13
+ * Material</a> in the <i>Key Management Service Developer Guide</i>.</p>
14
14
  * <p>This operation returns a public key and an import token. Use the public key to encrypt the
15
15
  * symmetric key material. Store the import token to send with a subsequent <a>ImportKeyMaterial</a> request.</p>
16
- * <p>You must specify the key ID of the symmetric CMK into which you will import key material.
17
- * This CMK's <code>Origin</code> must be <code>EXTERNAL</code>. You must also specify the
16
+ * <p>You must specify the key ID of the symmetric KMS key into which you will import key material.
17
+ * This KMS key's <code>Origin</code> must be <code>EXTERNAL</code>. You must also specify the
18
18
  * wrapping algorithm and type of wrapping key (public key) that you will use to encrypt the key
19
- * material. You cannot perform this operation on an asymmetric CMK or on any CMK in a different AWS account.</p>
19
+ * material. You cannot perform this operation on an asymmetric KMS key or on any KMS key in a different Amazon Web Services account.</p>
20
20
  * <p>To import key material, you must use the public key and import token from the same
21
21
  * response. These items are valid for 24 hours. The expiration date and time appear in the
22
22
  * <code>GetParametersForImport</code> response. You cannot use an expired token in an <a>ImportKeyMaterial</a> request. If your key and token expire, send another
23
23
  * <code>GetParametersForImport</code> request.</p>
24
- * <p>The CMK that you use for this operation must be in a compatible key state. For
25
- * 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>
24
+ * <p>The KMS key that you use for this operation must be in a compatible key state. For
25
+ * 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>
26
26
  * <p>
27
- * <b>Cross-account use</b>: No. You cannot perform this operation on a CMK in a different AWS account.</p>
27
+ * <b>Cross-account use</b>: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.</p>
28
28
  *
29
29
  * <p>
30
30
  * <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>
@@ -7,22 +7,22 @@ export interface GetPublicKeyCommandInput extends GetPublicKeyRequest {
7
7
  export interface GetPublicKeyCommandOutput extends GetPublicKeyResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Returns the public key of an asymmetric CMK. Unlike the private key of a asymmetric CMK,
11
- * which never leaves AWS KMS unencrypted, callers with <code>kms:GetPublicKey</code> permission
12
- * can download the public key of an asymmetric CMK. You can share the public key to allow others
13
- * 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>
10
+ * <p>Returns the public key of an asymmetric KMS key. Unlike the private key of a asymmetric KMS key,
11
+ * which never leaves KMS unencrypted, callers with <code>kms:GetPublicKey</code> permission
12
+ * can download the public key of an asymmetric KMS key. You can share the public key to allow others
13
+ * 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>
14
14
  * <p>You do not need to download the public key. Instead, you can use the public key within
15
- * 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
16
- * public key within AWS KMS, you benefit from the authentication, authorization, and logging that
17
- * are part of every AWS KMS operation. You also reduce of risk of encrypting data that cannot be
18
- * 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
15
+ * 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
16
+ * public key within KMS, you benefit from the authentication, authorization, and logging that
17
+ * are part of every KMS operation. You also reduce of risk of encrypting data that cannot be
18
+ * 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
19
19
  * Considerations for Downloading Public Keys</a>.</p>
20
- * <p>To help you use the public key safely outside of AWS KMS, <code>GetPublicKey</code> returns
20
+ * <p>To help you use the public key safely outside of KMS, <code>GetPublicKey</code> returns
21
21
  * important information about the public key in the response, including:</p>
22
22
  * <ul>
23
23
  * <li>
24
24
  * <p>
25
- * <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
25
+ * <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
26
26
  * <code>RSA_4096</code> or <code>ECC_NIST_P521</code>.</p>
27
27
  * </li>
28
28
  * <li>
@@ -35,16 +35,16 @@ export interface GetPublicKeyCommandOutput extends GetPublicKeyResponse, __Metad
35
35
  * algorithms for the key.</p>
36
36
  * </li>
37
37
  * </ul>
38
- * <p>Although AWS KMS cannot enforce these restrictions on external operations, it is crucial
38
+ * <p>Although KMS cannot enforce these restrictions on external operations, it is crucial
39
39
  * that you use this information to prevent the public key from being used improperly. For
40
40
  * example, you can prevent a public signing key from being used encrypt data, or prevent a
41
- * public key from being used with an encryption algorithm that is not supported by AWS KMS. You
41
+ * public key from being used with an encryption algorithm that is not supported by KMS. You
42
42
  * can also avoid errors, such as using the wrong signing algorithm in a verification
43
43
  * operation.</p>
44
- * <p>The CMK that you use for this operation must be in a compatible key state. For
45
- * 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>
44
+ * <p>The KMS key that you use for this operation must be in a compatible key state. For
45
+ * 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>
46
46
  * <p>
47
- * <b>Cross-account use</b>: Yes. To perform this operation with a CMK in a different AWS account, specify
47
+ * <b>Cross-account use</b>: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify
48
48
  * the key ARN or alias ARN in the value of the <code>KeyId</code> parameter.</p>
49
49
  *
50
50
  * <p>
@@ -7,13 +7,13 @@ export interface ImportKeyMaterialCommandInput extends ImportKeyMaterialRequest
7
7
  export interface ImportKeyMaterialCommandOutput extends ImportKeyMaterialResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Imports key material into an existing symmetric AWS KMS customer master key (CMK) that was
11
- * created without key material. After you successfully import key material into a CMK, you can
12
- * <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
10
+ * <p>Imports key material into an existing symmetric KMS KMS key that was
11
+ * created without key material. After you successfully import key material into a KMS key, you can
12
+ * <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
13
13
  * material. </p>
14
- * <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
14
+ * <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
15
15
  * then importing key material, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/importing-keys.html">Importing Key Material</a> in the
16
- * <i>AWS Key Management Service Developer Guide</i>.</p>
16
+ * <i>Key Management Service Developer Guide</i>.</p>
17
17
  * <p>Before using this operation, call <a>GetParametersForImport</a>. Its response
18
18
  * includes a public key and an import token. Use the public key to encrypt the key material.
19
19
  * Then, submit the import token from the same <code>GetParametersForImport</code>
@@ -21,11 +21,11 @@ export interface ImportKeyMaterialCommandOutput extends ImportKeyMaterialRespons
21
21
  * <p>When calling this operation, you must specify the following values:</p>
22
22
  * <ul>
23
23
  * <li>
24
- * <p>The key ID or key ARN of a CMK with no key material. Its <code>Origin</code> must be
24
+ * <p>The key ID or key ARN of a KMS key with no key material. Its <code>Origin</code> must be
25
25
  * <code>EXTERNAL</code>.</p>
26
- * <p>To create a CMK with no key material, call <a>CreateKey</a> and set the
26
+ * <p>To create a KMS key with no key material, call <a>CreateKey</a> and set the
27
27
  * value of its <code>Origin</code> parameter to <code>EXTERNAL</code>. To get the
28
- * <code>Origin</code> of a CMK, call <a>DescribeKey</a>.)</p>
28
+ * <code>Origin</code> of a KMS key, call <a>DescribeKey</a>.)</p>
29
29
  * </li>
30
30
  * <li>
31
31
  * <p>The encrypted key material. To get the public key to encrypt the key material, call
@@ -36,23 +36,23 @@ export interface ImportKeyMaterialCommandOutput extends ImportKeyMaterialRespons
36
36
  * a public key and token from the same <code>GetParametersForImport</code> response.</p>
37
37
  * </li>
38
38
  * <li>
39
- * <p>Whether the key material expires and if so, when. If you set an expiration date, AWS KMS
40
- * deletes the key material from the CMK on the specified date, and the CMK becomes unusable.
41
- * To use the CMK again, you must reimport the same key material. The only way to change an
39
+ * <p>Whether the key material expires and if so, when. If you set an expiration date, KMS
40
+ * deletes the key material from the KMS key on the specified date, and the KMS key becomes unusable.
41
+ * To use the KMS key again, you must reimport the same key material. The only way to change an
42
42
  * expiration date is by reimporting the same key material and specifying a new expiration
43
43
  * date. </p>
44
44
  * </li>
45
45
  * </ul>
46
- * <p>When this operation is successful, the key state of the CMK changes from
47
- * <code>PendingImport</code> to <code>Enabled</code>, and you can use the CMK.</p>
46
+ * <p>When this operation is successful, the key state of the KMS key changes from
47
+ * <code>PendingImport</code> to <code>Enabled</code>, and you can use the KMS key.</p>
48
48
  * <p>If this operation fails, use the exception to help determine the problem. If the error is
49
- * 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
49
+ * 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
50
50
  * 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
51
- * Material</a> in the <i>AWS Key Management Service Developer Guide</i>.</p>
52
- * <p>The CMK that you use for this operation must be in a compatible key state. For
53
- * 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
+ * Material</a> in the <i>Key Management Service Developer Guide</i>.</p>
52
+ * <p>The KMS key that you use for this operation must be in a compatible key state. For
53
+ * 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>
54
54
  * <p>
55
- * <b>Cross-account use</b>: No. You cannot perform this operation on a CMK in a different AWS account.</p>
55
+ * <b>Cross-account use</b>: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.</p>
56
56
  *
57
57
  * <p>
58
58
  * <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>
@@ -7,28 +7,26 @@ export interface ListAliasesCommandInput extends ListAliasesRequest {
7
7
  export interface ListAliasesCommandOutput extends ListAliasesResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Gets a list of aliases in the caller's AWS account and region. For more information about
10
+ * <p>Gets a list of aliases in the caller's Amazon Web Services account and region. For more information about
11
11
  * aliases, see <a>CreateAlias</a>.</p>
12
12
  * <p>By default, the <code>ListAliases</code> operation returns all aliases in the account and
13
- * region. To get only the aliases associated with a particular customer master key (CMK), use
13
+ * region. To get only the aliases associated with a particular KMS key, use
14
14
  * the <code>KeyId</code> parameter.</p>
15
15
  * <p>The <code>ListAliases</code> response can include aliases that you created and associated
16
- * with your customer managed CMKs, and aliases that AWS created and associated with AWS managed
17
- * CMKs in your account. You can recognize AWS aliases because their names have the format
16
+ * 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
18
17
  * <code>aws/<service-name></code>, such as <code>aws/dynamodb</code>.</p>
19
18
  * <p>The response might also include aliases that have no <code>TargetKeyId</code> field. These
20
- * are predefined aliases that AWS has created but has not yet associated with a CMK. Aliases
21
- * that AWS creates in your account, including predefined aliases, do not count against your
22
- * <a href="https://docs.aws.amazon.com/kms/latest/developerguide/limits.html#aliases-limit">AWS KMS aliases
19
+ * are predefined aliases that Amazon Web Services has created but has not yet associated with a KMS key. Aliases
20
+ * that Amazon Web Services 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">KMS aliases
23
22
  * quota</a>.</p>
24
23
  * <p>
25
24
  * <b>Cross-account use</b>: No. <code>ListAliases</code> does not
26
- * return aliases in other AWS accounts.</p>
27
- *
25
+ * return aliases in other Amazon Web Services accounts.</p>
28
26
  *
29
27
  * <p>
30
28
  * <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>
31
- * <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>
29
+ * <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>
32
30
  * <p>
33
31
  * <b>Related operations:</b>
34
32
  * </p>
@@ -7,18 +7,23 @@ export interface ListGrantsCommandInput extends ListGrantsRequest {
7
7
  export interface ListGrantsCommandOutput extends ListGrantsResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Gets a list of all grants for the specified customer master key (CMK). </p>
11
- * <p>You must specify the CMK in all requests. You can filter the grant list by grant ID
10
+ * <p>Gets a list of all grants for the specified KMS key. </p>
11
+ * <p>You must specify the KMS key in all requests. You can filter the grant list by grant ID
12
12
  * or grantee principal.</p>
13
+ * <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
14
+ * <i>
15
+ * <i>Key Management Service Developer Guide</i>
16
+ * </i>. For examples of working with grants in several
17
+ * programming languages, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/programming-grants.html">Programming grants</a>. </p>
13
18
  * <note>
14
19
  * <p>The <code>GranteePrincipal</code> field in the <code>ListGrants</code> response usually contains the
15
20
  * user or role designated as the grantee principal in the grant. However, when the grantee
16
- * principal in the grant is an AWS service, the <code>GranteePrincipal</code> field contains
21
+ * principal in the grant is an Amazon Web Services service, the <code>GranteePrincipal</code> field contains
17
22
  * the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html#principal-services">service
18
23
  * principal</a>, which might represent several different grantee principals.</p>
19
24
  * </note>
20
25
  * <p>
21
- * <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
22
27
  * ARN in the value of the <code>KeyId</code> parameter.</p>
23
28
  *
24
29
  * <p>
@@ -7,11 +7,11 @@ export interface ListKeyPoliciesCommandInput extends ListKeyPoliciesRequest {
7
7
  export interface ListKeyPoliciesCommandOutput extends ListKeyPoliciesResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Gets the names of the key policies that are attached to a customer master key (CMK). This
10
+ * <p>Gets the names of the key policies that are attached to a KMS key. This
11
11
  * operation is designed to get policy names that you can use in a <a>GetKeyPolicy</a>
12
12
  * operation. However, the only valid policy name is <code>default</code>. </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:ListKeyPolicies</a> (key policy)</p>
@@ -7,10 +7,10 @@ export interface ListKeysCommandInput extends ListKeysRequest {
7
7
  export interface ListKeysCommandOutput extends ListKeysResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Gets a list of all customer master keys (CMKs) in the caller's AWS account and
10
+ * <p>Gets a list of all KMS keys in the caller's Amazon Web Services account and
11
11
  * Region.</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:ListKeys</a> (IAM policy)</p>
@@ -7,13 +7,13 @@ export interface ListResourceTagsCommandInput extends ListResourceTagsRequest {
7
7
  export interface ListResourceTagsCommandOutput extends ListResourceTagsResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Returns all tags on the specified customer master key (CMK).</p>
11
- * <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
10
+ * <p>Returns all tags on the specified KMS key.</p>
11
+ * <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
12
12
  * the <i>Amazon Web Services General Reference</i>. For information about using
13
- * tags in AWS KMS, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/tagging-keys.html">Tagging
13
+ * tags in KMS, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/tagging-keys.html">Tagging
14
14
  * keys</a>.</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:ListResourceTags</a> (key policy)</p>
@@ -7,24 +7,24 @@ export interface ListRetirableGrantsCommandInput extends ListRetirableGrantsRequ
7
7
  export interface ListRetirableGrantsCommandOutput extends ListGrantsResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Returns information about all grants in the AWS account and Region that have the specified
11
- * retiring principal. For more information about grants, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/grants.html">Grants</a> in the
12
- * <i>
13
- * <i>AWS Key Management Service Developer Guide</i>
14
- * </i>.</p>
15
- * <p>You can specify any principal in your AWS account. The grants that are returned include
16
- * grants for CMKs in your AWS account and other AWS accounts.</p>
17
- * <p>You might use this operation to determine which grants you may retire. To retire a grant,
18
- * use the <a>RetireGrant</a> operation.</p>
10
+ * <p>Returns information about all grants in the Amazon Web Services account and Region that have the specified
11
+ * retiring principal. </p>
12
+ * <p>You can specify any principal in your Amazon Web Services account. The grants that are returned include
13
+ * grants for KMS keys in your Amazon Web Services account and other Amazon Web Services accounts. You might use this operation to
14
+ * determine which grants you may retire. To retire a grant, use the <a>RetireGrant</a> operation.</p>
15
+ * <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
16
+ * <i>
17
+ * <i>Key Management Service Developer Guide</i>
18
+ * </i>. For examples of working with grants in several
19
+ * programming languages, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/programming-grants.html">Programming grants</a>. </p>
19
20
  * <p>
20
21
  * <b>Cross-account use</b>: You must specify a principal in your
21
- * AWS account. However, this operation can return grants in any AWS account. You do not need
22
- * <code>kms:ListRetirableGrants</code> permission (or any other additional permission) in any
23
- * AWS account other than your own.</p>
22
+ * Amazon Web Services account. However, this operation can return grants in any Amazon Web Services account. You do not need
23
+ * <code>kms:ListRetirableGrants</code> permission (or any other additional permission) in any
24
+ * Amazon Web Services account other than your own.</p>
24
25
  *
25
26
  * <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 AWS
27
- * account.</p>
27
+ * <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>
28
28
  * <p>
29
29
  * <b>Related operations:</b>
30
30
  * </p>
@@ -7,14 +7,14 @@ export interface PutKeyPolicyCommandInput extends PutKeyPolicyRequest {
7
7
  export interface PutKeyPolicyCommandOutput extends __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Attaches a key policy to the specified customer master key (CMK). </p>
11
- * <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>.
10
+ * <p>Attaches a key policy to the specified KMS key. </p>
11
+ * <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>.
12
12
  * 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>
13
- * <i>IAM User Guide</i>
13
+ * <i>Identity and Access Management User Guide</i>
14
14
  * </i>. For examples of adding a key policy in multiple programming languages,
15
- * 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>
15
+ * 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>
16
16
  * <p>
17
- * <b>Cross-account use</b>: No. You cannot perform this operation on a CMK in a different AWS account.</p>
17
+ * <b>Cross-account use</b>: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.</p>
18
18
  *
19
19
  * <p>
20
20
  * <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>