@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
@@ -18,7 +18,7 @@ export interface DecryptCommandInput extends DecryptRequest {}
18
18
  export interface DecryptCommandOutput extends DecryptResponse, __MetadataBearer {}
19
19
 
20
20
  /**
21
- * <p>Decrypts ciphertext that was encrypted by a AWS KMS customer master key (CMK) using any of
21
+ * <p>Decrypts ciphertext that was encrypted by a KMS key using any of
22
22
  * the following operations:</p>
23
23
  * <ul>
24
24
  * <li>
@@ -48,33 +48,34 @@ export interface DecryptCommandOutput extends DecryptResponse, __MetadataBearer
48
48
  * </li>
49
49
  * </ul>
50
50
  * <p>You can use this operation to decrypt ciphertext that was encrypted under a symmetric or
51
- * asymmetric CMK. When the CMK is asymmetric, you must specify the CMK and the encryption
52
- * algorithm that was used to encrypt the ciphertext. 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>
53
- * <p>The Decrypt operation also decrypts ciphertext that was encrypted outside of AWS KMS by the
54
- * public key in an AWS KMS asymmetric CMK. However, it cannot decrypt ciphertext produced by other
55
- * libraries, such as the <a href="https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/">AWS Encryption
51
+ * asymmetric KMS key. When the KMS key is asymmetric, you must specify the KMS key and the encryption
52
+ * algorithm that was used to encrypt the ciphertext. 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>
53
+ * <p>The Decrypt operation also decrypts ciphertext that was encrypted outside of KMS by the
54
+ * public key in an KMS asymmetric KMS key. However, it cannot decrypt ciphertext produced by other
55
+ * libraries, such as the <a href="https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/">Amazon Web Services Encryption
56
56
  * SDK</a> or <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingClientSideEncryption.html">Amazon S3 client-side encryption</a>. These libraries return a ciphertext format that
57
- * is incompatible with AWS KMS.</p>
58
- * <p>If the ciphertext was encrypted under a symmetric CMK, the <code>KeyId</code> parameter is
59
- * optional. AWS KMS can get this information from metadata that it adds to the symmetric
57
+ * is incompatible with KMS.</p>
58
+ * <p>If the ciphertext was encrypted under a symmetric KMS key, the <code>KeyId</code> parameter is
59
+ * optional. KMS can get this information from metadata that it adds to the symmetric
60
60
  * ciphertext blob. This feature adds durability to your implementation by ensuring that
61
61
  * authorized users can decrypt ciphertext decades after it was encrypted, even if they've lost
62
- * track of the CMK ID. However, specifying the CMK is always recommended as a best practice.
63
- * When you use the <code>KeyId</code> parameter to specify a CMK, AWS KMS only uses the CMK you
64
- * specify. If the ciphertext was encrypted under a different CMK, the <code>Decrypt</code>
65
- * operation fails. This practice ensures that you use the CMK that you intend.</p>
62
+ * track of the key ID. However, specifying the KMS key is always recommended as a best practice.
63
+ * When you use the <code>KeyId</code> parameter to specify a KMS key, KMS only uses the KMS key you
64
+ * specify. If the ciphertext was encrypted under a different KMS key, the <code>Decrypt</code>
65
+ * operation fails. This practice ensures that you use the KMS key that you intend.</p>
66
66
  * <p>Whenever possible, use key policies to give users permission to call the
67
- * <code>Decrypt</code> operation on a particular CMK, instead of using IAM policies.
67
+ * <code>Decrypt</code> operation on a particular KMS key, instead of using IAM policies.
68
68
  * Otherwise, you might create an IAM user policy that gives the user <code>Decrypt</code>
69
- * permission on all CMKs. This user could decrypt ciphertext that was encrypted by CMKs in other
70
- * accounts if the key policy for the cross-account CMK permits it. If you must use an IAM policy
71
- * for <code>Decrypt</code> permissions, limit the user to particular CMKs or particular trusted
72
- * accounts. For details, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/iam-policies.html#iam-policies-best-practices">Best practices for IAM policies</a> in the <i>AWS Key Management Service Developer Guide</i>.</p>
73
- * <p>The CMK that you use for this operation must be in a compatible key state. For
74
- * 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>
69
+ * permission on all KMS keys. This user could decrypt ciphertext that was encrypted by KMS keys in other
70
+ * accounts if the key policy for the cross-account KMS key permits it. If you must use an IAM policy
71
+ * for <code>Decrypt</code> permissions, limit the user to particular KMS keys or particular trusted
72
+ * accounts. For details, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/iam-policies.html#iam-policies-best-practices">Best practices for IAM policies</a> in the <i>Key Management Service Developer Guide</i>.</p>
73
+ * <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>
74
+ * <p>The KMS key that you use for this operation must be in a compatible key state. For
75
+ * 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>
75
76
  * <p>
76
- * <b>Cross-account use</b>: Yes. You can decrypt a ciphertext
77
- * using a CMK in a different AWS account.</p>
77
+ * <b>Cross-account use</b>: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify
78
+ * the key ARN or alias ARN in the value of the <code>KeyId</code> parameter. </p>
78
79
  *
79
80
  * <p>
80
81
  * <b>Required permissions</b>: <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:Decrypt</a> (key policy)</p>
@@ -23,15 +23,14 @@ export interface DeleteAliasCommandOutput extends __MetadataBearer {}
23
23
  /**
24
24
  * <p>Deletes the specified alias. </p>
25
25
  * <note>
26
- * <p>Adding, deleting, or updating an alias can allow or deny permission to the CMK. For details, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/abac.html">Using ABAC in AWS KMS</a> in the <i>AWS Key Management Service Developer Guide</i>.</p>
26
+ * <p>Adding, deleting, or updating an alias can allow or deny permission to the KMS key. For details, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/abac.html">Using ABAC in KMS</a> in the <i>Key Management Service Developer Guide</i>.</p>
27
27
  * </note>
28
- * <p>Because an alias is not a property of a CMK, you can delete and change the aliases of a
29
- * CMK without affecting the CMK. Also, aliases do not appear in the response from the <a>DescribeKey</a> operation. To get the aliases of all CMKs, use the <a>ListAliases</a> operation. </p>
30
- * <p>Each CMK can have multiple aliases. To change the alias of a CMK, use <a>DeleteAlias</a> to delete the current alias and <a>CreateAlias</a> to
31
- * create a new alias. To associate an existing alias with a different customer master key (CMK),
28
+ * <p>Because an alias is not a property of a KMS key, you can delete and change the aliases of a KMS key without affecting the KMS key. Also, aliases do not appear in the response from the <a>DescribeKey</a> operation. To get the aliases of all KMS keys, use the <a>ListAliases</a> operation. </p>
29
+ * <p>Each KMS key can have multiple aliases. To change the alias of a KMS key, use <a>DeleteAlias</a> to delete the current alias and <a>CreateAlias</a> to
30
+ * create a new alias. To associate an existing alias with a different KMS key,
32
31
  * call <a>UpdateAlias</a>.</p>
33
32
  * <p>
34
- * <b>Cross-account use</b>: No. You cannot perform this operation on an alias in a different AWS account.</p>
33
+ * <b>Cross-account use</b>: No. You cannot perform this operation on an alias in a different Amazon Web Services account.</p>
35
34
  * <p>
36
35
  * <b>Required permissions</b>
37
36
  * </p>
@@ -42,10 +41,10 @@ export interface DeleteAliasCommandOutput extends __MetadataBearer {}
42
41
  * </li>
43
42
  * <li>
44
43
  * <p>
45
- * <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:DeleteAlias</a> on the CMK (key policy).</p>
44
+ * <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:DeleteAlias</a> on the KMS key (key policy).</p>
46
45
  * </li>
47
46
  * </ul>
48
- * <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>
47
+ * <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>
49
48
  * <p>
50
49
  * <b>Related operations:</b>
51
50
  * </p>
@@ -21,29 +21,29 @@ export interface DeleteCustomKeyStoreCommandInput extends DeleteCustomKeyStoreRe
21
21
  export interface DeleteCustomKeyStoreCommandOutput extends DeleteCustomKeyStoreResponse, __MetadataBearer {}
22
22
 
23
23
  /**
24
- * <p>Deletes a <a href="https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html">custom key store</a>. This operation does not delete the AWS CloudHSM cluster that is
24
+ * <p>Deletes a <a href="https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html">custom key store</a>. This operation does not delete the CloudHSM cluster that is
25
25
  * associated with the custom key store, or affect any users or keys in the cluster.</p>
26
- * <p>The custom key store that you delete cannot contain any AWS KMS <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#master_keys">customer master keys (CMKs)</a>. Before
27
- * deleting the key store, verify that you will never need to use any of the CMKs in the key
26
+ * <p>The custom key store that you delete cannot contain any KMS <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#kms_keys">KMS keys</a>. Before
27
+ * deleting the key store, verify that you will never need to use any of the KMS keys in the key
28
28
  * store for any <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#cryptographic-operations">cryptographic operations</a>. Then, use <a>ScheduleKeyDeletion</a> to delete the
29
- * AWS KMS customer master keys (CMKs) from the key store. When the scheduled waiting period
30
- * expires, the <code>ScheduleKeyDeletion</code> operation deletes the CMKs. Then it makes a best
29
+ * KMS keys from the key store. When the scheduled waiting period
30
+ * expires, the <code>ScheduleKeyDeletion</code> operation deletes the KMS keys. Then it makes a best
31
31
  * effort to delete the key material from the associated cluster. However, you might need to
32
32
  * manually <a href="https://docs.aws.amazon.com/kms/latest/developerguide/fix-keystore.html#fix-keystore-orphaned-key">delete the orphaned key
33
33
  * material</a> from the cluster and its backups.</p>
34
- * <p>After all CMKs are deleted from AWS KMS, use <a>DisconnectCustomKeyStore</a> to
35
- * disconnect the key store from AWS KMS. Then, you can delete the custom key store.</p>
36
- * <p>Instead of deleting the custom key store, consider using <a>DisconnectCustomKeyStore</a> to disconnect it from AWS KMS. While the key store is
37
- * disconnected, you cannot create or use the CMKs in the key store. But, you do not need to
38
- * delete CMKs and you can reconnect a disconnected custom key store at any time.</p>
34
+ * <p>After all KMS keys are deleted from KMS, use <a>DisconnectCustomKeyStore</a> to
35
+ * disconnect the key store from KMS. Then, you can delete the custom key store.</p>
36
+ * <p>Instead of deleting the custom key store, consider using <a>DisconnectCustomKeyStore</a> to disconnect it from KMS. While the key store is
37
+ * disconnected, you cannot create or use the KMS keys in the key store. But, you do not need to
38
+ * delete KMS keys and you can reconnect a disconnected custom key store at any time.</p>
39
39
  * <p>If the operation succeeds, it returns a JSON object with no
40
40
  * properties.</p>
41
- * <p>This operation is part of the <a href="https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html">Custom Key Store feature</a> feature in AWS KMS, which
42
- * combines the convenience and extensive integration of AWS KMS with the isolation and control of a
41
+ * <p>This operation is part of the <a href="https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html">Custom Key Store feature</a> feature in KMS, which
42
+ * combines the convenience and extensive integration of KMS with the isolation and control of a
43
43
  * single-tenant key store.</p>
44
44
  *
45
45
  * <p>
46
- * <b>Cross-account use</b>: No. You cannot perform this operation on a custom key store in a different AWS account.</p>
46
+ * <b>Cross-account use</b>: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.</p>
47
47
  *
48
48
  * <p>
49
49
  * <b>Required permissions</b>: <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:DeleteCustomKeyStore</a> (IAM policy)</p>
@@ -22,18 +22,18 @@ export interface DeleteImportedKeyMaterialCommandOutput extends __MetadataBearer
22
22
 
23
23
  /**
24
24
  * <p>Deletes key material that you previously imported. This operation makes the specified
25
- * customer master key (CMK) unusable. For more information about importing key material into
26
- * AWS KMS, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/importing-keys.html">Importing Key
27
- * Material</a> in the <i>AWS Key Management Service Developer Guide</i>. </p>
28
- * <p>When the specified CMK is in the <code>PendingDeletion</code> state, this operation does
29
- * not change the CMK's state. Otherwise, it changes the CMK's state to
25
+ * KMS key unusable. For more information about importing key material into
26
+ * KMS, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/importing-keys.html">Importing Key
27
+ * Material</a> in the <i>Key Management Service Developer Guide</i>. </p>
28
+ * <p>When the specified KMS key is in the <code>PendingDeletion</code> state, this operation does
29
+ * not change the KMS key's state. Otherwise, it changes the KMS key's state to
30
30
  * <code>PendingImport</code>.</p>
31
31
  * <p>After you delete key material, you can use <a>ImportKeyMaterial</a> to reimport
32
- * the same key material into the CMK.</p>
33
- * <p>The CMK that you use for this operation must be in a compatible key state. For
34
- * 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>
32
+ * the same key material into the KMS key.</p>
33
+ * <p>The KMS key that you use for this operation must be in a compatible key state. For
34
+ * 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>
35
35
  * <p>
36
- * <b>Cross-account use</b>: No. You cannot perform this operation on a CMK in a different AWS account.</p>
36
+ * <b>Cross-account use</b>: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.</p>
37
37
  *
38
38
  * <p>
39
39
  * <b>Required permissions</b>: <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:DeleteImportedKeyMaterial</a> (key policy)</p>
@@ -22,14 +22,14 @@ export interface DescribeCustomKeyStoresCommandOutput extends DescribeCustomKeyS
22
22
 
23
23
  /**
24
24
  * <p>Gets information about <a href="https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html">custom key stores</a> in the account and Region.</p>
25
- * <p>This operation is part of the <a href="https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html">Custom Key Store feature</a> feature in AWS KMS, which
26
- * combines the convenience and extensive integration of AWS KMS with the isolation and control of a
25
+ * <p>This operation is part of the <a href="https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html">Custom Key Store feature</a> feature in KMS, which
26
+ * combines the convenience and extensive integration of KMS with the isolation and control of a
27
27
  * single-tenant key store.</p>
28
28
  * <p>By default, this operation returns information about all custom key stores in the account and
29
29
  * Region. To get only information about a particular custom key store, use either the
30
30
  * <code>CustomKeyStoreName</code> or <code>CustomKeyStoreId</code> parameter (but not
31
31
  * both).</p>
32
- * <p>To determine whether the custom key store is connected to its AWS CloudHSM cluster, use the
32
+ * <p>To determine whether the custom key store is connected to its CloudHSM cluster, use the
33
33
  * <code>ConnectionState</code> element in the response. If an attempt to connect the custom
34
34
  * key store failed, the <code>ConnectionState</code> value is <code>FAILED</code> and the
35
35
  * <code>ConnectionErrorCode</code> element in the response indicates the cause of the failure.
@@ -37,12 +37,12 @@ export interface DescribeCustomKeyStoresCommandOutput extends DescribeCustomKeyS
37
37
  * <p>Custom key stores have a <code>DISCONNECTED</code> connection state if the key store has
38
38
  * never been connected or you use the <a>DisconnectCustomKeyStore</a> operation to
39
39
  * disconnect it. If your custom key store state is <code>CONNECTED</code> but you are having
40
- * trouble using it, make sure that its associated AWS CloudHSM cluster is active and contains the
40
+ * trouble using it, make sure that its associated CloudHSM cluster is active and contains the
41
41
  * minimum number of HSMs required for the operation, if any.</p>
42
42
  * <p> For help repairing your custom key store, see the <a href="https://docs.aws.amazon.com/kms/latest/developerguide/fix-keystore.html">Troubleshooting Custom Key Stores</a> topic in the
43
- * <i>AWS Key Management Service Developer Guide</i>.</p>
43
+ * <i>Key Management Service Developer Guide</i>.</p>
44
44
  * <p>
45
- * <b>Cross-account use</b>: No. You cannot perform this operation on a custom key store in a different AWS account.</p>
45
+ * <b>Cross-account use</b>: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.</p>
46
46
  * <p>
47
47
  * <b>Required permissions</b>: <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:DescribeCustomKeyStores</a> (IAM policy)</p>
48
48
  * <p>
@@ -21,41 +21,40 @@ export interface DescribeKeyCommandInput extends DescribeKeyRequest {}
21
21
  export interface DescribeKeyCommandOutput extends DescribeKeyResponse, __MetadataBearer {}
22
22
 
23
23
  /**
24
- * <p>Provides detailed information about a customer master key (CMK). You can run
25
- * <code>DescribeKey</code> on a <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk">customer managed CMK</a> or an <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk">AWS managed
26
- * CMK</a>.</p>
24
+ * <p>Provides detailed information about a KMS key. You can run
25
+ * <code>DescribeKey</code> on a <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk">customer managed key</a> or an <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk">Amazon Web Services managed key</a>.</p>
27
26
  * <p>This detailed information includes the key ARN, creation date (and deletion date, if
28
27
  * applicable), the key state, and the origin and expiration date (if any) of the key material.
29
- * For CMKs in custom key stores, it includes information about the custom key store, such as the
30
- * key store ID and the AWS CloudHSM cluster ID. It includes fields, like <code>KeySpec</code>, that
31
- * help you distinguish symmetric from asymmetric CMKs. It also provides information that is
32
- * particularly important to asymmetric CMKs, such as the key usage (encryption or signing) and
33
- * the encryption algorithms or signing algorithms that the CMK supports.</p>
28
+ * It includes fields, like <code>KeySpec</code>, that help you distinguish symmetric from
29
+ * asymmetric KMS keys. It also provides information that is particularly important to asymmetric
30
+ * keys, such as the key usage (encryption or signing) and the encryption algorithms or signing
31
+ * algorithms that the KMS key supports. For KMS keys in custom key stores, it includes information about
32
+ * the custom key store, such as the key store ID and the CloudHSM cluster ID. For multi-Region
33
+ * keys, it displays the primary key and all related replica keys. </p>
34
34
  * <p>
35
35
  * <code>DescribeKey</code> does not return the following information:</p>
36
36
  * <ul>
37
37
  * <li>
38
- * <p>Aliases associated with the CMK. To get this information, use <a>ListAliases</a>.</p>
38
+ * <p>Aliases associated with the KMS key. To get this information, use <a>ListAliases</a>.</p>
39
39
  * </li>
40
40
  * <li>
41
- * <p>Whether automatic key rotation is enabled on the CMK. To get this information, use
42
- * <a>GetKeyRotationStatus</a>. Also, some key states prevent a CMK from being
41
+ * <p>Whether automatic key rotation is enabled on the KMS key. To get this information, use
42
+ * <a>GetKeyRotationStatus</a>. Also, some key states prevent a KMS key from being
43
43
  * automatically rotated. For details, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/rotate-keys.html#rotate-keys-how-it-works">How Automatic Key Rotation
44
- * Works</a> in <i>AWS Key Management Service Developer Guide</i>.</p>
44
+ * Works</a> in <i>Key Management Service Developer Guide</i>.</p>
45
45
  * </li>
46
46
  * <li>
47
- * <p>Tags on the CMK. To get this information, use <a>ListResourceTags</a>.</p>
47
+ * <p>Tags on the KMS key. To get this information, use <a>ListResourceTags</a>.</p>
48
48
  * </li>
49
49
  * <li>
50
- * <p>Key policies and grants on the CMK. To get this information, use <a>GetKeyPolicy</a> and <a>ListGrants</a>.</p>
50
+ * <p>Key policies and grants on the KMS key. To get this information, use <a>GetKeyPolicy</a> and <a>ListGrants</a>.</p>
51
51
  * </li>
52
52
  * </ul>
53
- * <p>If you call the <code>DescribeKey</code> operation on a <i>predefined AWS
54
- * alias</i>, that is, an AWS alias with no key ID, AWS KMS creates an <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#master_keys">AWS managed CMK</a>.
55
- * Then, it associates the alias with the new CMK, and returns the <code>KeyId</code> and
56
- * <code>Arn</code> of the new CMK in the response.</p>
53
+ * <p>If you call the <code>DescribeKey</code> operation on a <i>predefined Amazon Web Services alias</i>, that is, an Amazon Web Services alias with no key ID, KMS creates an <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk">Amazon Web Services managed key</a>.
54
+ * Then, it associates the alias with the new KMS key, and returns the <code>KeyId</code> and
55
+ * <code>Arn</code> of the new KMS key in the response.</p>
57
56
  * <p>
58
- * <b>Cross-account use</b>: Yes. To perform this operation with a CMK in a different AWS account, specify
57
+ * <b>Cross-account use</b>: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify
59
58
  * the key ARN or alias ARN in the value of the <code>KeyId</code> parameter.</p>
60
59
  *
61
60
  * <p>
@@ -21,15 +21,15 @@ export interface DisableKeyCommandInput extends DisableKeyRequest {}
21
21
  export interface DisableKeyCommandOutput extends __MetadataBearer {}
22
22
 
23
23
  /**
24
- * <p>Sets the state of a customer master key (CMK) to disabled. This change temporarily
25
- * prevents use of the CMK for <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#cryptographic-operations">cryptographic operations</a>. </p>
26
- * <p>For more information about how key state affects the use of a CMK, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html">Key state: Effect on your CMK</a> in the <i>
27
- * <i>AWS Key Management Service Developer Guide</i>
24
+ * <p>Sets the state of a KMS key to disabled. This change temporarily
25
+ * prevents use of the KMS key for <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#cryptographic-operations">cryptographic operations</a>. </p>
26
+ * <p>For more information about how key state affects the use of a KMS key, 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>
27
+ * <i>Key Management Service Developer Guide</i>
28
28
  * </i>.</p>
29
- * <p>The CMK that you use for this operation must be in a compatible key state. For
30
- * 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>
29
+ * <p>The KMS key that you use for this operation must be in a compatible key state. For
30
+ * 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>
31
31
  * <p>
32
- * <b>Cross-account use</b>: No. You cannot perform this operation on a CMK in a different AWS account.</p>
32
+ * <b>Cross-account use</b>: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.</p>
33
33
  *
34
34
  * <p>
35
35
  * <b>Required permissions</b>: <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:DisableKey</a> (key policy)</p>
@@ -22,13 +22,12 @@ export interface DisableKeyRotationCommandOutput extends __MetadataBearer {}
22
22
 
23
23
  /**
24
24
  * <p>Disables <a href="https://docs.aws.amazon.com/kms/latest/developerguide/rotate-keys.html">automatic
25
- * rotation of the key material</a> for the specified symmetric customer master key
26
- * (CMK).</p>
27
- * <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. </p>
28
- * <p>The CMK that you use for this operation must be in a compatible key state. For
29
- * 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>
25
+ * rotation of the key material</a> for the specified symmetric KMS key.</p>
26
+ * <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. </p>
27
+ * <p>The KMS key that you use for this operation must be in a compatible key state. For
28
+ * 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>
30
29
  * <p>
31
- * <b>Cross-account use</b>: No. You cannot perform this operation on a CMK in a different AWS account.</p>
30
+ * <b>Cross-account use</b>: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.</p>
32
31
  *
33
32
  * <p>
34
33
  * <b>Required permissions</b>: <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:DisableKeyRotation</a> (key policy)</p>
@@ -21,13 +21,11 @@ export interface DisconnectCustomKeyStoreCommandInput extends DisconnectCustomKe
21
21
  export interface DisconnectCustomKeyStoreCommandOutput extends DisconnectCustomKeyStoreResponse, __MetadataBearer {}
22
22
 
23
23
  /**
24
- * <p>Disconnects the <a href="https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html">custom key store</a> from its associated AWS CloudHSM cluster. While a custom key
25
- * store is disconnected, you can manage the custom key store and its customer master keys
26
- * (CMKs), but you cannot create or use CMKs in the custom key store. You can reconnect the
24
+ * <p>Disconnects the <a href="https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html">custom key store</a> from its associated CloudHSM cluster. While a custom key
25
+ * store is disconnected, you can manage the custom key store and its KMS keys, but you cannot create or use KMS keys in the custom key store. You can reconnect the
27
26
  * custom key store at any time.</p>
28
27
  * <note>
29
- * <p>While a custom key store is disconnected, all attempts to create customer master keys
30
- * (CMKs) in the custom key store or to use existing CMKs in <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#cryptographic-operations">cryptographic operations</a> will
28
+ * <p>While a custom key store is disconnected, all attempts to create KMS keys in the custom key store or to use existing KMS keys in <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#cryptographic-operations">cryptographic operations</a> will
31
29
  * fail. This action can prevent users from storing and accessing sensitive data.</p>
32
30
  * </note>
33
31
  * <p></p>
@@ -35,12 +33,12 @@ export interface DisconnectCustomKeyStoreCommandOutput extends DisconnectCustomK
35
33
  * <a>ConnectCustomKeyStore</a> operation.</p>
36
34
  * <p>If the operation succeeds, it returns a JSON object with no
37
35
  * properties.</p>
38
- * <p>This operation is part of the <a href="https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html">Custom Key Store feature</a> feature in AWS KMS, which
39
- * combines the convenience and extensive integration of AWS KMS with the isolation and control of a
36
+ * <p>This operation is part of the <a href="https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html">Custom Key Store feature</a> feature in KMS, which
37
+ * combines the convenience and extensive integration of KMS with the isolation and control of a
40
38
  * single-tenant key store.</p>
41
39
  *
42
40
  * <p>
43
- * <b>Cross-account use</b>: No. You cannot perform this operation on a custom key store in a different AWS account.</p>
41
+ * <b>Cross-account use</b>: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.</p>
44
42
  *
45
43
  * <p>
46
44
  * <b>Required permissions</b>: <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:DisconnectCustomKeyStore</a> (IAM policy)</p>
@@ -18,12 +18,11 @@ export interface EnableKeyCommandInput extends EnableKeyRequest {}
18
18
  export interface EnableKeyCommandOutput extends __MetadataBearer {}
19
19
 
20
20
  /**
21
- * <p>Sets the key state of a customer master key (CMK) to enabled. This allows you to use the
22
- * CMK for <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#cryptographic-operations">cryptographic operations</a>. </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>
21
+ * <p>Sets the key state of a KMS key to enabled. This allows you to use the KMS key for <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#cryptographic-operations">cryptographic operations</a>. </p>
22
+ * <p>The KMS key that you use for this operation must be in a compatible key state. For
23
+ * 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
24
  * <p>
26
- * <b>Cross-account use</b>: No. You cannot perform this operation on a CMK in a different AWS account.</p>
25
+ * <b>Cross-account use</b>: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.</p>
27
26
  *
28
27
  * <p>
29
28
  * <b>Required permissions</b>: <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:EnableKey</a> (key policy)</p>
@@ -22,12 +22,12 @@ export interface EnableKeyRotationCommandOutput extends __MetadataBearer {}
22
22
 
23
23
  /**
24
24
  * <p>Enables <a href="https://docs.aws.amazon.com/kms/latest/developerguide/rotate-keys.html">automatic rotation
25
- * of the key material</a> for the specified symmetric customer master key (CMK).</p>
26
- * <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.</p>
27
- * <p>The CMK that you use for this operation must be in a compatible key state. For
28
- * 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>
25
+ * of the key material</a> for the specified symmetric KMS key.</p>
26
+ * <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.</p>
27
+ * <p>The KMS key that you use for this operation must be in a compatible key state. For
28
+ * 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>
29
29
  * <p>
30
- * <b>Cross-account use</b>: No. You cannot perform this operation on a CMK in a different AWS account.</p>
30
+ * <b>Cross-account use</b>: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.</p>
31
31
  *
32
32
  * <p>
33
33
  * <b>Required permissions</b>: <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:EnableKeyRotation</a> (key policy)</p>
@@ -18,7 +18,7 @@ export interface EncryptCommandInput extends EncryptRequest {}
18
18
  export interface EncryptCommandOutput extends EncryptResponse, __MetadataBearer {}
19
19
 
20
20
  /**
21
- * <p>Encrypts plaintext into ciphertext by using a customer master key (CMK). The
21
+ * <p>Encrypts plaintext into ciphertext by using a KMS key. The
22
22
  * <code>Encrypt</code> operation has two primary use cases:</p>
23
23
  * <ul>
24
24
  * <li>
@@ -26,41 +26,40 @@ export interface EncryptCommandOutput extends EncryptResponse, __MetadataBearer
26
26
  * database password, or other sensitive information. </p>
27
27
  * </li>
28
28
  * <li>
29
- * <p>You can use the <code>Encrypt</code> operation to move encrypted data from one AWS
30
- * Region to another. For example, in Region A, generate a data key and use the plaintext key
31
- * to encrypt your data. Then, in Region A, use the <code>Encrypt</code> operation to encrypt
32
- * the plaintext data key under a CMK in Region B. Now, you can move the encrypted data and
33
- * the encrypted data key to Region B. When necessary, you can decrypt the encrypted data key
34
- * and the encrypted data entirely within in Region B.</p>
29
+ * <p>You can use the <code>Encrypt</code> operation to move encrypted data from one Amazon Web Services Region to another. For example, in Region A, generate a data key and use the plaintext key to encrypt
30
+ * your data. Then, in Region A, use the <code>Encrypt</code> operation to encrypt the
31
+ * plaintext data key under a KMS key in Region B. Now, you can move the encrypted data and the
32
+ * encrypted data key to Region B. When necessary, you can decrypt the encrypted data key and
33
+ * the encrypted data entirely within in Region B.</p>
35
34
  * </li>
36
35
  * </ul>
37
36
  *
38
37
  * <p>You don't need to use the <code>Encrypt</code> operation to encrypt a data key. The <a>GenerateDataKey</a> and <a>GenerateDataKeyPair</a> operations return a
39
38
  * plaintext data key and an encrypted copy of that data key.</p>
40
39
  *
41
- * <p>When you encrypt data, you must specify a symmetric or asymmetric CMK to use in the
42
- * encryption operation. The CMK must have a <code>KeyUsage</code> value of
43
- * <code>ENCRYPT_DECRYPT.</code> To find the <code>KeyUsage</code> of a CMK, use the <a>DescribeKey</a> operation. </p>
40
+ * <p>When you encrypt data, you must specify a symmetric or asymmetric KMS key to use in the
41
+ * encryption operation. The KMS key must have a <code>KeyUsage</code> value of
42
+ * <code>ENCRYPT_DECRYPT.</code> To find the <code>KeyUsage</code> of a KMS key, use the <a>DescribeKey</a> operation. </p>
44
43
  *
45
- * <p>If you use a symmetric CMK, you can use an encryption context to add additional security
44
+ * <p>If you use a symmetric KMS key, you can use an encryption context to add additional security
46
45
  * to your encryption operation. If you specify an <code>EncryptionContext</code> when encrypting
47
46
  * data, you must specify the same encryption context (a case-sensitive exact match) when
48
47
  * decrypting the data. Otherwise, the request to decrypt fails with an
49
48
  * <code>InvalidCiphertextException</code>. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context">Encryption
50
- * Context</a> in the <i>AWS Key Management Service Developer Guide</i>.</p>
51
- * <p>If you specify an asymmetric CMK, you must also specify the encryption algorithm. The
52
- * algorithm must be compatible with the CMK type.</p>
49
+ * Context</a> in the <i>Key Management Service Developer Guide</i>.</p>
50
+ * <p>If you specify an asymmetric KMS key, you must also specify the encryption algorithm. The
51
+ * algorithm must be compatible with the KMS key type.</p>
53
52
  * <important>
54
- * <p>When you use an asymmetric CMK to encrypt or reencrypt data, be sure to record the CMK and encryption algorithm that you choose. You will be required to provide the same CMK and encryption algorithm when you decrypt the data. If the CMK and algorithm do not match the values used to encrypt the data, the decrypt operation fails.</p>
55
- * <p>You are not required to supply the CMK ID and encryption algorithm when you decrypt with symmetric CMKs because AWS KMS stores this information in the ciphertext blob. AWS KMS cannot store metadata in ciphertext generated with asymmetric keys. The standard format for asymmetric key ciphertext does not include configurable fields.</p>
53
+ * <p>When you use an asymmetric KMS key to encrypt or reencrypt data, be sure to record the KMS key and encryption algorithm that you choose. You will be required to provide the same KMS key and encryption algorithm when you decrypt the data. If the KMS key and algorithm do not match the values used to encrypt the data, the decrypt operation fails.</p>
54
+ * <p>You are not required to supply the key ID and encryption algorithm when you decrypt with symmetric KMS keys because KMS stores this information in the ciphertext blob. KMS cannot store metadata in ciphertext generated with asymmetric keys. The standard format for asymmetric key ciphertext does not include configurable fields.</p>
56
55
  * </important>
57
56
  *
58
57
  *
59
- * <p>The maximum size of the data that you can encrypt varies with the type of CMK and the
58
+ * <p>The maximum size of the data that you can encrypt varies with the type of KMS key and the
60
59
  * encryption algorithm that you choose.</p>
61
60
  * <ul>
62
61
  * <li>
63
- * <p>Symmetric CMKs</p>
62
+ * <p>Symmetric KMS keys</p>
64
63
  * <ul>
65
64
  * <li>
66
65
  * <p>
@@ -114,10 +113,10 @@ export interface EncryptCommandOutput extends EncryptResponse, __MetadataBearer
114
113
  * </ul>
115
114
  * </li>
116
115
  * </ul>
117
- * <p>The CMK that you use for this operation must be in a compatible key state. For
118
- * 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>
116
+ * <p>The KMS key that you use for this operation must be in a compatible key state. For
117
+ * 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>
119
118
  * <p>
120
- * <b>Cross-account use</b>: Yes. To perform this operation with a CMK in a different AWS account, specify
119
+ * <b>Cross-account use</b>: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify
121
120
  * the key ARN or alias ARN in the value of the <code>KeyId</code> parameter.</p>
122
121
  *
123
122
  * <p>