@aws-sdk/client-acm-pca 3.32.0 → 3.36.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 (311) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/{dist/cjs → dist-cjs}/ACMPCA.js +0 -1
  3. package/{dist/cjs → dist-cjs}/ACMPCAClient.js +8 -9
  4. package/{dist/cjs → dist-cjs}/commands/CreateCertificateAuthorityAuditReportCommand.js +2 -3
  5. package/{dist/cjs → dist-cjs}/commands/CreateCertificateAuthorityCommand.js +2 -3
  6. package/{dist/cjs → dist-cjs}/commands/CreatePermissionCommand.js +2 -3
  7. package/{dist/cjs → dist-cjs}/commands/DeleteCertificateAuthorityCommand.js +2 -3
  8. package/{dist/cjs → dist-cjs}/commands/DeletePermissionCommand.js +2 -3
  9. package/{dist/cjs → dist-cjs}/commands/DeletePolicyCommand.js +2 -3
  10. package/{dist/cjs → dist-cjs}/commands/DescribeCertificateAuthorityAuditReportCommand.js +2 -3
  11. package/{dist/cjs → dist-cjs}/commands/DescribeCertificateAuthorityCommand.js +2 -3
  12. package/{dist/cjs → dist-cjs}/commands/GetCertificateAuthorityCertificateCommand.js +2 -3
  13. package/{dist/cjs → dist-cjs}/commands/GetCertificateAuthorityCsrCommand.js +2 -3
  14. package/{dist/cjs → dist-cjs}/commands/GetCertificateCommand.js +2 -3
  15. package/{dist/cjs → dist-cjs}/commands/GetPolicyCommand.js +2 -3
  16. package/{dist/cjs → dist-cjs}/commands/ImportCertificateAuthorityCertificateCommand.js +2 -3
  17. package/{dist/cjs → dist-cjs}/commands/IssueCertificateCommand.js +2 -3
  18. package/{dist/cjs → dist-cjs}/commands/ListCertificateAuthoritiesCommand.js +2 -3
  19. package/{dist/cjs → dist-cjs}/commands/ListPermissionsCommand.js +2 -3
  20. package/{dist/cjs → dist-cjs}/commands/ListTagsCommand.js +2 -3
  21. package/{dist/cjs → dist-cjs}/commands/PutPolicyCommand.js +2 -3
  22. package/{dist/cjs → dist-cjs}/commands/RestoreCertificateAuthorityCommand.js +2 -3
  23. package/{dist/cjs → dist-cjs}/commands/RevokeCertificateCommand.js +2 -3
  24. package/{dist/cjs → dist-cjs}/commands/TagCertificateAuthorityCommand.js +2 -3
  25. package/{dist/cjs → dist-cjs}/commands/UntagCertificateAuthorityCommand.js +2 -3
  26. package/{dist/cjs → dist-cjs}/commands/UpdateCertificateAuthorityCommand.js +2 -3
  27. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  28. package/{dist/cjs → dist-cjs}/index.js +0 -1
  29. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  30. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
  31. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  32. package/{dist/cjs → dist-cjs}/pagination/ListCertificateAuthoritiesPaginator.js +0 -1
  33. package/{dist/cjs → dist-cjs}/pagination/ListPermissionsPaginator.js +0 -1
  34. package/{dist/cjs → dist-cjs}/pagination/ListTagsPaginator.js +0 -1
  35. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -1
  36. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
  37. package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
  38. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
  39. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
  40. package/{dist/cjs → dist-cjs}/waiters/waitForAuditReportCreated.js +4 -5
  41. package/{dist/cjs → dist-cjs}/waiters/waitForCertificateAuthorityCSRCreated.js +2 -3
  42. package/{dist/cjs → dist-cjs}/waiters/waitForCertificateIssued.js +2 -3
  43. package/{dist/es → dist-es}/ACMPCA.js +1 -22
  44. package/{dist/es → dist-es}/ACMPCAClient.js +2 -28
  45. package/dist-es/commands/CreateCertificateAuthorityAuditReportCommand.js +39 -0
  46. package/dist-es/commands/CreateCertificateAuthorityCommand.js +39 -0
  47. package/dist-es/commands/CreatePermissionCommand.js +39 -0
  48. package/dist-es/commands/DeleteCertificateAuthorityCommand.js +39 -0
  49. package/dist-es/commands/DeletePermissionCommand.js +39 -0
  50. package/dist-es/commands/DeletePolicyCommand.js +39 -0
  51. package/{dist/es → dist-es}/commands/DescribeCertificateAuthorityAuditReportCommand.js +4 -33
  52. package/dist-es/commands/DescribeCertificateAuthorityCommand.js +39 -0
  53. package/{dist/es → dist-es}/commands/GetCertificateAuthorityCertificateCommand.js +4 -33
  54. package/{dist/es → dist-es}/commands/GetCertificateAuthorityCsrCommand.js +4 -34
  55. package/dist-es/commands/GetCertificateCommand.js +39 -0
  56. package/dist-es/commands/GetPolicyCommand.js +39 -0
  57. package/dist-es/commands/ImportCertificateAuthorityCertificateCommand.js +39 -0
  58. package/{dist/es → dist-es}/commands/IssueCertificateCommand.js +4 -37
  59. package/{dist/es → dist-es}/commands/ListCertificateAuthoritiesCommand.js +4 -30
  60. package/dist-es/commands/ListPermissionsCommand.js +39 -0
  61. package/{dist/es → dist-es}/commands/ListTagsCommand.js +4 -33
  62. package/dist-es/commands/PutPolicyCommand.js +39 -0
  63. package/dist-es/commands/RestoreCertificateAuthorityCommand.js +39 -0
  64. package/dist-es/commands/RevokeCertificateCommand.js +39 -0
  65. package/dist-es/commands/TagCertificateAuthorityCommand.js +39 -0
  66. package/{dist/es → dist-es}/commands/UntagCertificateAuthorityCommand.js +4 -34
  67. package/dist-es/commands/UpdateCertificateAuthorityCommand.js +39 -0
  68. package/{dist/es → dist-es}/endpoints.js +1 -2
  69. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  70. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  71. package/{dist/es → dist-es}/models/models_0.js +0 -229
  72. package/dist-es/pagination/Interfaces.js +1 -0
  73. package/{dist/es → dist-es}/pagination/ListCertificateAuthoritiesPaginator.js +16 -29
  74. package/{dist/es → dist-es}/pagination/ListPermissionsPaginator.js +16 -29
  75. package/{dist/es → dist-es}/pagination/ListTagsPaginator.js +16 -29
  76. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +622 -628
  77. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  78. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  79. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  80. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  81. package/{dist/es → dist-es}/waiters/waitForAuditReportCreated.js +10 -20
  82. package/{dist/es → dist-es}/waiters/waitForCertificateAuthorityCSRCreated.js +9 -19
  83. package/{dist/es → dist-es}/waiters/waitForCertificateIssued.js +9 -19
  84. package/{dist/types → dist-types}/ACMPCA.d.ts +1 -1
  85. package/{dist/types → dist-types}/ACMPCAClient.d.ts +8 -8
  86. package/{dist/types → dist-types}/commands/CreateCertificateAuthorityAuditReportCommand.d.ts +2 -2
  87. package/{dist/types → dist-types}/commands/CreateCertificateAuthorityCommand.d.ts +2 -2
  88. package/{dist/types → dist-types}/commands/CreatePermissionCommand.d.ts +2 -2
  89. package/{dist/types → dist-types}/commands/DeleteCertificateAuthorityCommand.d.ts +2 -2
  90. package/{dist/types → dist-types}/commands/DeletePermissionCommand.d.ts +2 -2
  91. package/{dist/types → dist-types}/commands/DeletePolicyCommand.d.ts +2 -2
  92. package/{dist/types → dist-types}/commands/DescribeCertificateAuthorityAuditReportCommand.d.ts +2 -2
  93. package/{dist/types → dist-types}/commands/DescribeCertificateAuthorityCommand.d.ts +2 -2
  94. package/{dist/types → dist-types}/commands/GetCertificateAuthorityCertificateCommand.d.ts +2 -2
  95. package/{dist/types → dist-types}/commands/GetCertificateAuthorityCsrCommand.d.ts +2 -2
  96. package/{dist/types → dist-types}/commands/GetCertificateCommand.d.ts +2 -2
  97. package/{dist/types → dist-types}/commands/GetPolicyCommand.d.ts +2 -2
  98. package/{dist/types → dist-types}/commands/ImportCertificateAuthorityCertificateCommand.d.ts +2 -2
  99. package/{dist/types → dist-types}/commands/IssueCertificateCommand.d.ts +2 -2
  100. package/{dist/types → dist-types}/commands/ListCertificateAuthoritiesCommand.d.ts +2 -2
  101. package/{dist/types → dist-types}/commands/ListPermissionsCommand.d.ts +2 -2
  102. package/{dist/types → dist-types}/commands/ListTagsCommand.d.ts +2 -2
  103. package/{dist/types → dist-types}/commands/PutPolicyCommand.d.ts +2 -2
  104. package/{dist/types → dist-types}/commands/RestoreCertificateAuthorityCommand.d.ts +2 -2
  105. package/{dist/types → dist-types}/commands/RevokeCertificateCommand.d.ts +2 -2
  106. package/{dist/types → dist-types}/commands/TagCertificateAuthorityCommand.d.ts +2 -2
  107. package/{dist/types → dist-types}/commands/UntagCertificateAuthorityCommand.d.ts +2 -2
  108. package/{dist/types → dist-types}/commands/UpdateCertificateAuthorityCommand.d.ts +2 -2
  109. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  110. package/{index.ts → dist-types/index.d.ts} +0 -0
  111. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  112. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  113. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  114. package/{dist/types → dist-types}/pagination/ListCertificateAuthoritiesPaginator.d.ts +1 -1
  115. package/{dist/types → dist-types}/pagination/ListPermissionsPaginator.d.ts +1 -1
  116. package/{dist/types → dist-types}/pagination/ListTagsPaginator.d.ts +1 -1
  117. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
  118. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.browser.d.ts +37 -36
  119. package/{dist/types → dist-types}/runtimeConfig.d.ts +2 -1
  120. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
  121. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  122. package/{dist/types → dist-types}/ts3.4/ACMPCA.d.ts +1 -1
  123. package/{dist/types → dist-types}/ts3.4/ACMPCAClient.d.ts +8 -8
  124. package/{dist/types → dist-types}/ts3.4/commands/CreateCertificateAuthorityAuditReportCommand.d.ts +2 -2
  125. package/{dist/types → dist-types}/ts3.4/commands/CreateCertificateAuthorityCommand.d.ts +2 -2
  126. package/{dist/types → dist-types}/ts3.4/commands/CreatePermissionCommand.d.ts +2 -2
  127. package/{dist/types → dist-types}/ts3.4/commands/DeleteCertificateAuthorityCommand.d.ts +2 -2
  128. package/{dist/types → dist-types}/ts3.4/commands/DeletePermissionCommand.d.ts +2 -2
  129. package/{dist/types → dist-types}/ts3.4/commands/DeletePolicyCommand.d.ts +2 -2
  130. package/{dist/types → dist-types}/ts3.4/commands/DescribeCertificateAuthorityAuditReportCommand.d.ts +2 -2
  131. package/{dist/types → dist-types}/ts3.4/commands/DescribeCertificateAuthorityCommand.d.ts +2 -2
  132. package/{dist/types → dist-types}/ts3.4/commands/GetCertificateAuthorityCertificateCommand.d.ts +2 -2
  133. package/{dist/types → dist-types}/ts3.4/commands/GetCertificateAuthorityCsrCommand.d.ts +2 -2
  134. package/{dist/types → dist-types}/ts3.4/commands/GetCertificateCommand.d.ts +2 -2
  135. package/{dist/types → dist-types}/ts3.4/commands/GetPolicyCommand.d.ts +2 -2
  136. package/{dist/types → dist-types}/ts3.4/commands/ImportCertificateAuthorityCertificateCommand.d.ts +2 -2
  137. package/{dist/types → dist-types}/ts3.4/commands/IssueCertificateCommand.d.ts +2 -2
  138. package/{dist/types → dist-types}/ts3.4/commands/ListCertificateAuthoritiesCommand.d.ts +2 -2
  139. package/{dist/types → dist-types}/ts3.4/commands/ListPermissionsCommand.d.ts +2 -2
  140. package/{dist/types → dist-types}/ts3.4/commands/ListTagsCommand.d.ts +2 -2
  141. package/{dist/types → dist-types}/ts3.4/commands/PutPolicyCommand.d.ts +2 -2
  142. package/{dist/types → dist-types}/ts3.4/commands/RestoreCertificateAuthorityCommand.d.ts +2 -2
  143. package/{dist/types → dist-types}/ts3.4/commands/RevokeCertificateCommand.d.ts +2 -2
  144. package/{dist/types → dist-types}/ts3.4/commands/TagCertificateAuthorityCommand.d.ts +2 -2
  145. package/{dist/types → dist-types}/ts3.4/commands/UntagCertificateAuthorityCommand.d.ts +2 -2
  146. package/{dist/types → dist-types}/ts3.4/commands/UpdateCertificateAuthorityCommand.d.ts +2 -2
  147. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  148. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  149. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  150. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  151. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  152. package/{dist/types → dist-types}/ts3.4/pagination/ListCertificateAuthoritiesPaginator.d.ts +1 -1
  153. package/{dist/types → dist-types}/ts3.4/pagination/ListPermissionsPaginator.d.ts +1 -1
  154. package/{dist/types → dist-types}/ts3.4/pagination/ListTagsPaginator.d.ts +1 -1
  155. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  156. package/{dist/types → dist-types/ts3.4}/runtimeConfig.browser.d.ts +37 -36
  157. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -1
  158. package/{dist/types → dist-types/ts3.4}/runtimeConfig.native.d.ts +36 -35
  159. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  160. package/{dist/types → dist-types}/ts3.4/waiters/waitForAuditReportCreated.d.ts +1 -1
  161. package/{dist/types → dist-types}/ts3.4/waiters/waitForCertificateAuthorityCSRCreated.d.ts +1 -1
  162. package/{dist/types → dist-types}/ts3.4/waiters/waitForCertificateIssued.d.ts +1 -1
  163. package/{dist/types → dist-types}/waiters/waitForAuditReportCreated.d.ts +1 -1
  164. package/{dist/types → dist-types}/waiters/waitForCertificateAuthorityCSRCreated.d.ts +1 -1
  165. package/{dist/types → dist-types}/waiters/waitForCertificateIssued.d.ts +1 -1
  166. package/package.json +53 -50
  167. package/ACMPCA.ts +0 -1322
  168. package/ACMPCAClient.ts +0 -360
  169. package/commands/CreateCertificateAuthorityAuditReportCommand.ts +0 -121
  170. package/commands/CreateCertificateAuthorityCommand.ts +0 -117
  171. package/commands/CreatePermissionCommand.ts +0 -120
  172. package/commands/DeleteCertificateAuthorityCommand.ts +0 -116
  173. package/commands/DeletePermissionCommand.ts +0 -122
  174. package/commands/DeletePolicyCommand.ts +0 -128
  175. package/commands/DescribeCertificateAuthorityAuditReportCommand.ts +0 -112
  176. package/commands/DescribeCertificateAuthorityCommand.ts +0 -139
  177. package/commands/GetCertificateAuthorityCertificateCommand.ts +0 -108
  178. package/commands/GetCertificateAuthorityCsrCommand.ts +0 -101
  179. package/commands/GetCertificateCommand.ts +0 -101
  180. package/commands/GetPolicyCommand.ts +0 -121
  181. package/commands/ImportCertificateAuthorityCertificateCommand.ts +0 -228
  182. package/commands/IssueCertificateCommand.ts +0 -101
  183. package/commands/ListCertificateAuthoritiesCommand.ts +0 -97
  184. package/commands/ListPermissionsCommand.ts +0 -121
  185. package/commands/ListTagsCommand.ts +0 -90
  186. package/commands/PutPolicyCommand.ts +0 -122
  187. package/commands/RestoreCertificateAuthorityCommand.ts +0 -107
  188. package/commands/RevokeCertificateCommand.ts +0 -113
  189. package/commands/TagCertificateAuthorityCommand.ts +0 -101
  190. package/commands/UntagCertificateAuthorityCommand.ts +0 -101
  191. package/commands/UpdateCertificateAuthorityCommand.ts +0 -107
  192. package/dist/cjs/ACMPCA.js.map +0 -1
  193. package/dist/cjs/ACMPCAClient.js.map +0 -1
  194. package/dist/cjs/commands/CreateCertificateAuthorityAuditReportCommand.js.map +0 -1
  195. package/dist/cjs/commands/CreateCertificateAuthorityCommand.js.map +0 -1
  196. package/dist/cjs/commands/CreatePermissionCommand.js.map +0 -1
  197. package/dist/cjs/commands/DeleteCertificateAuthorityCommand.js.map +0 -1
  198. package/dist/cjs/commands/DeletePermissionCommand.js.map +0 -1
  199. package/dist/cjs/commands/DeletePolicyCommand.js.map +0 -1
  200. package/dist/cjs/commands/DescribeCertificateAuthorityAuditReportCommand.js.map +0 -1
  201. package/dist/cjs/commands/DescribeCertificateAuthorityCommand.js.map +0 -1
  202. package/dist/cjs/commands/GetCertificateAuthorityCertificateCommand.js.map +0 -1
  203. package/dist/cjs/commands/GetCertificateAuthorityCsrCommand.js.map +0 -1
  204. package/dist/cjs/commands/GetCertificateCommand.js.map +0 -1
  205. package/dist/cjs/commands/GetPolicyCommand.js.map +0 -1
  206. package/dist/cjs/commands/ImportCertificateAuthorityCertificateCommand.js.map +0 -1
  207. package/dist/cjs/commands/IssueCertificateCommand.js.map +0 -1
  208. package/dist/cjs/commands/ListCertificateAuthoritiesCommand.js.map +0 -1
  209. package/dist/cjs/commands/ListPermissionsCommand.js.map +0 -1
  210. package/dist/cjs/commands/ListTagsCommand.js.map +0 -1
  211. package/dist/cjs/commands/PutPolicyCommand.js.map +0 -1
  212. package/dist/cjs/commands/RestoreCertificateAuthorityCommand.js.map +0 -1
  213. package/dist/cjs/commands/RevokeCertificateCommand.js.map +0 -1
  214. package/dist/cjs/commands/TagCertificateAuthorityCommand.js.map +0 -1
  215. package/dist/cjs/commands/UntagCertificateAuthorityCommand.js.map +0 -1
  216. package/dist/cjs/commands/UpdateCertificateAuthorityCommand.js.map +0 -1
  217. package/dist/cjs/endpoints.js.map +0 -1
  218. package/dist/cjs/index.js.map +0 -1
  219. package/dist/cjs/models/index.js.map +0 -1
  220. package/dist/cjs/models/models_0.js.map +0 -1
  221. package/dist/cjs/package.json +0 -92
  222. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  223. package/dist/cjs/pagination/ListCertificateAuthoritiesPaginator.js.map +0 -1
  224. package/dist/cjs/pagination/ListPermissionsPaginator.js.map +0 -1
  225. package/dist/cjs/pagination/ListTagsPaginator.js.map +0 -1
  226. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  227. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  228. package/dist/cjs/runtimeConfig.js.map +0 -1
  229. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  230. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  231. package/dist/cjs/waiters/waitForAuditReportCreated.js.map +0 -1
  232. package/dist/cjs/waiters/waitForCertificateAuthorityCSRCreated.js.map +0 -1
  233. package/dist/cjs/waiters/waitForCertificateIssued.js.map +0 -1
  234. package/dist/es/ACMPCA.js.map +0 -1
  235. package/dist/es/ACMPCAClient.js.map +0 -1
  236. package/dist/es/commands/CreateCertificateAuthorityAuditReportCommand.js +0 -80
  237. package/dist/es/commands/CreateCertificateAuthorityAuditReportCommand.js.map +0 -1
  238. package/dist/es/commands/CreateCertificateAuthorityCommand.js +0 -85
  239. package/dist/es/commands/CreateCertificateAuthorityCommand.js.map +0 -1
  240. package/dist/es/commands/CreatePermissionCommand.js +0 -91
  241. package/dist/es/commands/CreatePermissionCommand.js.map +0 -1
  242. package/dist/es/commands/DeleteCertificateAuthorityCommand.js +0 -84
  243. package/dist/es/commands/DeleteCertificateAuthorityCommand.js.map +0 -1
  244. package/dist/es/commands/DeletePermissionCommand.js +0 -93
  245. package/dist/es/commands/DeletePermissionCommand.js.map +0 -1
  246. package/dist/es/commands/DeletePolicyCommand.js +0 -99
  247. package/dist/es/commands/DeletePolicyCommand.js.map +0 -1
  248. package/dist/es/commands/DescribeCertificateAuthorityAuditReportCommand.js.map +0 -1
  249. package/dist/es/commands/DescribeCertificateAuthorityCommand.js +0 -105
  250. package/dist/es/commands/DescribeCertificateAuthorityCommand.js.map +0 -1
  251. package/dist/es/commands/GetCertificateAuthorityCertificateCommand.js.map +0 -1
  252. package/dist/es/commands/GetCertificateAuthorityCsrCommand.js.map +0 -1
  253. package/dist/es/commands/GetCertificateCommand.js +0 -72
  254. package/dist/es/commands/GetCertificateCommand.js.map +0 -1
  255. package/dist/es/commands/GetPolicyCommand.js +0 -95
  256. package/dist/es/commands/GetPolicyCommand.js.map +0 -1
  257. package/dist/es/commands/ImportCertificateAuthorityCertificateCommand.js +0 -192
  258. package/dist/es/commands/ImportCertificateAuthorityCertificateCommand.js.map +0 -1
  259. package/dist/es/commands/IssueCertificateCommand.js.map +0 -1
  260. package/dist/es/commands/ListCertificateAuthoritiesCommand.js.map +0 -1
  261. package/dist/es/commands/ListPermissionsCommand.js +0 -92
  262. package/dist/es/commands/ListPermissionsCommand.js.map +0 -1
  263. package/dist/es/commands/ListTagsCommand.js.map +0 -1
  264. package/dist/es/commands/PutPolicyCommand.js +0 -96
  265. package/dist/es/commands/PutPolicyCommand.js.map +0 -1
  266. package/dist/es/commands/RestoreCertificateAuthorityCommand.js +0 -75
  267. package/dist/es/commands/RestoreCertificateAuthorityCommand.js.map +0 -1
  268. package/dist/es/commands/RevokeCertificateCommand.js +0 -84
  269. package/dist/es/commands/RevokeCertificateCommand.js.map +0 -1
  270. package/dist/es/commands/TagCertificateAuthorityCommand.js +0 -72
  271. package/dist/es/commands/TagCertificateAuthorityCommand.js.map +0 -1
  272. package/dist/es/commands/UntagCertificateAuthorityCommand.js.map +0 -1
  273. package/dist/es/commands/UpdateCertificateAuthorityCommand.js +0 -75
  274. package/dist/es/commands/UpdateCertificateAuthorityCommand.js.map +0 -1
  275. package/dist/es/endpoints.js.map +0 -1
  276. package/dist/es/index.js +0 -34
  277. package/dist/es/index.js.map +0 -1
  278. package/dist/es/models/index.js +0 -2
  279. package/dist/es/models/index.js.map +0 -1
  280. package/dist/es/models/models_0.js.map +0 -1
  281. package/dist/es/package.json +0 -92
  282. package/dist/es/pagination/Interfaces.js +0 -2
  283. package/dist/es/pagination/Interfaces.js.map +0 -1
  284. package/dist/es/pagination/ListCertificateAuthoritiesPaginator.js.map +0 -1
  285. package/dist/es/pagination/ListPermissionsPaginator.js.map +0 -1
  286. package/dist/es/pagination/ListTagsPaginator.js.map +0 -1
  287. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  288. package/dist/es/runtimeConfig.browser.js.map +0 -1
  289. package/dist/es/runtimeConfig.js.map +0 -1
  290. package/dist/es/runtimeConfig.native.js.map +0 -1
  291. package/dist/es/runtimeConfig.shared.js.map +0 -1
  292. package/dist/es/waiters/waitForAuditReportCreated.js.map +0 -1
  293. package/dist/es/waiters/waitForCertificateAuthorityCSRCreated.js.map +0 -1
  294. package/dist/es/waiters/waitForCertificateIssued.js.map +0 -1
  295. package/endpoints.ts +0 -91
  296. package/jest.config.js +0 -4
  297. package/models/models_0.ts +0 -2571
  298. package/pagination/Interfaces.ts +0 -7
  299. package/pagination/ListCertificateAuthoritiesPaginator.ts +0 -58
  300. package/pagination/ListPermissionsPaginator.ts +0 -58
  301. package/pagination/ListTagsPaginator.ts +0 -54
  302. package/protocols/Aws_json1_1.ts +0 -3844
  303. package/runtimeConfig.browser.ts +0 -40
  304. package/runtimeConfig.native.ts +0 -16
  305. package/runtimeConfig.shared.ts +0 -16
  306. package/runtimeConfig.ts +0 -45
  307. package/tsconfig.es.json +0 -12
  308. package/tsconfig.json +0 -32
  309. package/waiters/waitForAuditReportCreated.ts +0 -60
  310. package/waiters/waitForCertificateAuthorityCSRCreated.ts +0 -48
  311. package/waiters/waitForCertificateIssued.ts +0 -42
package/ACMPCA.ts DELETED
@@ -1,1322 +0,0 @@
1
- import { ACMPCAClient } from "./ACMPCAClient";
2
- import {
3
- CreateCertificateAuthorityAuditReportCommand,
4
- CreateCertificateAuthorityAuditReportCommandInput,
5
- CreateCertificateAuthorityAuditReportCommandOutput,
6
- } from "./commands/CreateCertificateAuthorityAuditReportCommand";
7
- import {
8
- CreateCertificateAuthorityCommand,
9
- CreateCertificateAuthorityCommandInput,
10
- CreateCertificateAuthorityCommandOutput,
11
- } from "./commands/CreateCertificateAuthorityCommand";
12
- import {
13
- CreatePermissionCommand,
14
- CreatePermissionCommandInput,
15
- CreatePermissionCommandOutput,
16
- } from "./commands/CreatePermissionCommand";
17
- import {
18
- DeleteCertificateAuthorityCommand,
19
- DeleteCertificateAuthorityCommandInput,
20
- DeleteCertificateAuthorityCommandOutput,
21
- } from "./commands/DeleteCertificateAuthorityCommand";
22
- import {
23
- DeletePermissionCommand,
24
- DeletePermissionCommandInput,
25
- DeletePermissionCommandOutput,
26
- } from "./commands/DeletePermissionCommand";
27
- import {
28
- DeletePolicyCommand,
29
- DeletePolicyCommandInput,
30
- DeletePolicyCommandOutput,
31
- } from "./commands/DeletePolicyCommand";
32
- import {
33
- DescribeCertificateAuthorityAuditReportCommand,
34
- DescribeCertificateAuthorityAuditReportCommandInput,
35
- DescribeCertificateAuthorityAuditReportCommandOutput,
36
- } from "./commands/DescribeCertificateAuthorityAuditReportCommand";
37
- import {
38
- DescribeCertificateAuthorityCommand,
39
- DescribeCertificateAuthorityCommandInput,
40
- DescribeCertificateAuthorityCommandOutput,
41
- } from "./commands/DescribeCertificateAuthorityCommand";
42
- import {
43
- GetCertificateAuthorityCertificateCommand,
44
- GetCertificateAuthorityCertificateCommandInput,
45
- GetCertificateAuthorityCertificateCommandOutput,
46
- } from "./commands/GetCertificateAuthorityCertificateCommand";
47
- import {
48
- GetCertificateAuthorityCsrCommand,
49
- GetCertificateAuthorityCsrCommandInput,
50
- GetCertificateAuthorityCsrCommandOutput,
51
- } from "./commands/GetCertificateAuthorityCsrCommand";
52
- import {
53
- GetCertificateCommand,
54
- GetCertificateCommandInput,
55
- GetCertificateCommandOutput,
56
- } from "./commands/GetCertificateCommand";
57
- import { GetPolicyCommand, GetPolicyCommandInput, GetPolicyCommandOutput } from "./commands/GetPolicyCommand";
58
- import {
59
- ImportCertificateAuthorityCertificateCommand,
60
- ImportCertificateAuthorityCertificateCommandInput,
61
- ImportCertificateAuthorityCertificateCommandOutput,
62
- } from "./commands/ImportCertificateAuthorityCertificateCommand";
63
- import {
64
- IssueCertificateCommand,
65
- IssueCertificateCommandInput,
66
- IssueCertificateCommandOutput,
67
- } from "./commands/IssueCertificateCommand";
68
- import {
69
- ListCertificateAuthoritiesCommand,
70
- ListCertificateAuthoritiesCommandInput,
71
- ListCertificateAuthoritiesCommandOutput,
72
- } from "./commands/ListCertificateAuthoritiesCommand";
73
- import {
74
- ListPermissionsCommand,
75
- ListPermissionsCommandInput,
76
- ListPermissionsCommandOutput,
77
- } from "./commands/ListPermissionsCommand";
78
- import { ListTagsCommand, ListTagsCommandInput, ListTagsCommandOutput } from "./commands/ListTagsCommand";
79
- import { PutPolicyCommand, PutPolicyCommandInput, PutPolicyCommandOutput } from "./commands/PutPolicyCommand";
80
- import {
81
- RestoreCertificateAuthorityCommand,
82
- RestoreCertificateAuthorityCommandInput,
83
- RestoreCertificateAuthorityCommandOutput,
84
- } from "./commands/RestoreCertificateAuthorityCommand";
85
- import {
86
- RevokeCertificateCommand,
87
- RevokeCertificateCommandInput,
88
- RevokeCertificateCommandOutput,
89
- } from "./commands/RevokeCertificateCommand";
90
- import {
91
- TagCertificateAuthorityCommand,
92
- TagCertificateAuthorityCommandInput,
93
- TagCertificateAuthorityCommandOutput,
94
- } from "./commands/TagCertificateAuthorityCommand";
95
- import {
96
- UntagCertificateAuthorityCommand,
97
- UntagCertificateAuthorityCommandInput,
98
- UntagCertificateAuthorityCommandOutput,
99
- } from "./commands/UntagCertificateAuthorityCommand";
100
- import {
101
- UpdateCertificateAuthorityCommand,
102
- UpdateCertificateAuthorityCommandInput,
103
- UpdateCertificateAuthorityCommandOutput,
104
- } from "./commands/UpdateCertificateAuthorityCommand";
105
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
106
-
107
- /**
108
- * <p>This is the <i>ACM Private CA API Reference</i>. It provides descriptions,
109
- * syntax, and usage examples for each of the actions and data types involved in creating
110
- * and managing private certificate authorities (CA) for your organization.</p>
111
- * <p>The documentation for each action shows the Query API request parameters and the XML
112
- * response. Alternatively, you can use one of the AWS SDKs to access an API that's
113
- * tailored to the programming language or platform that you're using. For more
114
- * information, see <a href="https://aws.amazon.com/tools/#SDKs">AWS
115
- * SDKs</a>.</p>
116
- * <p>Each ACM Private CA API operation has a quota that determines the number of times the operation
117
- * can be called per second. ACM Private CA throttles API requests at different rates depending
118
- * on the operation. Throttling means that ACM Private CA rejects an otherwise valid request
119
- * because the request exceeds the operation's quota for the number of requests per second.
120
- * When a request is throttled, ACM Private CA returns a <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/CommonErrors.html">ThrottlingException</a> error. ACM Private CA does not guarantee a minimum request
121
- * rate for APIs. </p>
122
- *
123
- * <p>To see an up-to-date list of your ACM Private CA quotas, or to request a quota increase,
124
- * log into your AWS account and visit the <a href="https://console.aws.amazon.com/servicequotas/">Service Quotas</a>
125
- * console.</p>
126
- */
127
- export class ACMPCA extends ACMPCAClient {
128
- /**
129
- * <p>Creates a root or subordinate private certificate authority (CA). You must specify the
130
- * CA configuration, an optional configuration for Online Certificate Status Protocol (OCSP)
131
- * and/or a certificate revocation list (CRL), the CA type, and
132
- * an optional idempotency token to avoid accidental creation of multiple CAs. The CA
133
- * configuration specifies the name of the algorithm and key size to be used to create the
134
- * CA private key, the type of signing algorithm that the CA uses, and X.500 subject
135
- * information. The OCSP configuration can optionally specify a custom URL for the OCSP responder.
136
- * The CRL configuration specifies the CRL expiration period in days (the
137
- * validity period of the CRL), the Amazon S3 bucket that will contain the CRL, and a CNAME
138
- * alias for the S3 bucket that is included in certificates issued by the CA. If
139
- * successful, this action returns the Amazon Resource Name (ARN) of the CA.</p>
140
- * <p>ACM Private CA assets that are stored in Amazon S3 can be protected with encryption.
141
- * For more information, see <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaCreateCa.html#crl-encryption">Encrypting Your
142
- * CRLs</a>.</p>
143
- * <note>
144
- * <p>Both PCA and the IAM principal must have permission to write to
145
- * the S3 bucket that you specify. If the IAM principal making the call
146
- * does not have permission to write to the bucket, then an exception is
147
- * thrown. For more information, see <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaAuthAccess.html">Configure
148
- * Access to ACM Private CA</a>.</p>
149
- * </note>
150
- */
151
- public createCertificateAuthority(
152
- args: CreateCertificateAuthorityCommandInput,
153
- options?: __HttpHandlerOptions
154
- ): Promise<CreateCertificateAuthorityCommandOutput>;
155
- public createCertificateAuthority(
156
- args: CreateCertificateAuthorityCommandInput,
157
- cb: (err: any, data?: CreateCertificateAuthorityCommandOutput) => void
158
- ): void;
159
- public createCertificateAuthority(
160
- args: CreateCertificateAuthorityCommandInput,
161
- options: __HttpHandlerOptions,
162
- cb: (err: any, data?: CreateCertificateAuthorityCommandOutput) => void
163
- ): void;
164
- public createCertificateAuthority(
165
- args: CreateCertificateAuthorityCommandInput,
166
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateCertificateAuthorityCommandOutput) => void),
167
- cb?: (err: any, data?: CreateCertificateAuthorityCommandOutput) => void
168
- ): Promise<CreateCertificateAuthorityCommandOutput> | void {
169
- const command = new CreateCertificateAuthorityCommand(args);
170
- if (typeof optionsOrCb === "function") {
171
- this.send(command, optionsOrCb);
172
- } else if (typeof cb === "function") {
173
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
174
- this.send(command, optionsOrCb || {}, cb);
175
- } else {
176
- return this.send(command, optionsOrCb);
177
- }
178
- }
179
-
180
- /**
181
- * <p>Creates an audit report that lists every time that your CA private key is used. The
182
- * report is saved in the Amazon S3 bucket that you specify on input.
183
- *
184
- * The <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_IssueCertificate.html">IssueCertificate</a> and <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_RevokeCertificate.html">RevokeCertificate</a> actions use
185
- * the private key. </p>
186
- * <note>
187
- * <p>Both PCA and the IAM principal must have permission to write to
188
- * the S3 bucket that you specify. If the IAM principal making the call
189
- * does not have permission to write to the bucket, then an exception is
190
- * thrown. For more information, see <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaAuthAccess.html">Configure
191
- * Access to ACM Private CA</a>.</p>
192
- * </note>
193
- *
194
- * <p>ACM Private CA assets that are stored in Amazon S3 can be protected with encryption.
195
- * For more information, see <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaAuditReport.html#audit-report-encryption">Encrypting Your Audit
196
- * Reports</a>.</p>
197
- */
198
- public createCertificateAuthorityAuditReport(
199
- args: CreateCertificateAuthorityAuditReportCommandInput,
200
- options?: __HttpHandlerOptions
201
- ): Promise<CreateCertificateAuthorityAuditReportCommandOutput>;
202
- public createCertificateAuthorityAuditReport(
203
- args: CreateCertificateAuthorityAuditReportCommandInput,
204
- cb: (err: any, data?: CreateCertificateAuthorityAuditReportCommandOutput) => void
205
- ): void;
206
- public createCertificateAuthorityAuditReport(
207
- args: CreateCertificateAuthorityAuditReportCommandInput,
208
- options: __HttpHandlerOptions,
209
- cb: (err: any, data?: CreateCertificateAuthorityAuditReportCommandOutput) => void
210
- ): void;
211
- public createCertificateAuthorityAuditReport(
212
- args: CreateCertificateAuthorityAuditReportCommandInput,
213
- optionsOrCb?:
214
- | __HttpHandlerOptions
215
- | ((err: any, data?: CreateCertificateAuthorityAuditReportCommandOutput) => void),
216
- cb?: (err: any, data?: CreateCertificateAuthorityAuditReportCommandOutput) => void
217
- ): Promise<CreateCertificateAuthorityAuditReportCommandOutput> | void {
218
- const command = new CreateCertificateAuthorityAuditReportCommand(args);
219
- if (typeof optionsOrCb === "function") {
220
- this.send(command, optionsOrCb);
221
- } else if (typeof cb === "function") {
222
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
223
- this.send(command, optionsOrCb || {}, cb);
224
- } else {
225
- return this.send(command, optionsOrCb);
226
- }
227
- }
228
-
229
- /**
230
- * <p>Grants one or more permissions on a private CA to the AWS Certificate Manager (ACM) service
231
- * principal (<code>acm.amazonaws.com</code>). These permissions allow ACM to issue and
232
- * renew ACM certificates that reside in the same AWS account as the CA.</p>
233
- * <p>You can list current permissions with the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_ListPermissions.html">ListPermissions</a> action and
234
- * revoke them with the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_DeletePermission.html">DeletePermission</a> action.</p>
235
- * <p class="title">
236
- * <b>About Permissions</b>
237
- * </p>
238
- * <ul>
239
- * <li>
240
- * <p>If the private CA and the certificates it issues reside in the same
241
- * account, you can use <code>CreatePermission</code> to grant permissions for ACM to
242
- * carry out automatic certificate renewals.</p>
243
- * </li>
244
- * <li>
245
- * <p>For automatic certificate renewal to succeed, the ACM service principal
246
- * needs permissions to create, retrieve, and list certificates.</p>
247
- * </li>
248
- * <li>
249
- * <p>If the private CA and the ACM certificates reside in different accounts,
250
- * then permissions cannot be used to enable automatic renewals. Instead,
251
- * the ACM certificate owner must set up a resource-based policy to enable
252
- * cross-account issuance and renewals. For more information, see
253
- * <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-rbp.html">Using a Resource
254
- * Based Policy with ACM Private CA</a>.</p>
255
- * </li>
256
- * </ul>
257
- */
258
- public createPermission(
259
- args: CreatePermissionCommandInput,
260
- options?: __HttpHandlerOptions
261
- ): Promise<CreatePermissionCommandOutput>;
262
- public createPermission(
263
- args: CreatePermissionCommandInput,
264
- cb: (err: any, data?: CreatePermissionCommandOutput) => void
265
- ): void;
266
- public createPermission(
267
- args: CreatePermissionCommandInput,
268
- options: __HttpHandlerOptions,
269
- cb: (err: any, data?: CreatePermissionCommandOutput) => void
270
- ): void;
271
- public createPermission(
272
- args: CreatePermissionCommandInput,
273
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreatePermissionCommandOutput) => void),
274
- cb?: (err: any, data?: CreatePermissionCommandOutput) => void
275
- ): Promise<CreatePermissionCommandOutput> | void {
276
- const command = new CreatePermissionCommand(args);
277
- if (typeof optionsOrCb === "function") {
278
- this.send(command, optionsOrCb);
279
- } else if (typeof cb === "function") {
280
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
281
- this.send(command, optionsOrCb || {}, cb);
282
- } else {
283
- return this.send(command, optionsOrCb);
284
- }
285
- }
286
-
287
- /**
288
- * <p>Deletes a private certificate authority (CA). You must provide the Amazon Resource
289
- * Name (ARN) of the private CA that you want to delete. You can find the ARN by calling
290
- * the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_ListCertificateAuthorities.html">ListCertificateAuthorities</a> action. </p>
291
- * <note>
292
- * <p>Deleting a CA will invalidate other CAs and certificates below it in your CA
293
- * hierarchy.</p>
294
- * </note>
295
- * <p>Before you can delete a CA that you have created and activated, you must disable it.
296
- * To do this, call the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_UpdateCertificateAuthority.html">UpdateCertificateAuthority</a> action and set the <b>CertificateAuthorityStatus</b> parameter to <code>DISABLED</code>. </p>
297
- * <p>Additionally, you can delete a CA if you are waiting for it to be created (that is,
298
- * the status of the CA is <code>CREATING</code>). You can also delete it if the CA has
299
- * been created but you haven't yet imported the signed certificate into ACM Private CA (that is,
300
- * the status of the CA is <code>PENDING_CERTIFICATE</code>). </p>
301
- * <p>When you successfully call <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_DeleteCertificateAuthority.html">DeleteCertificateAuthority</a>, the CA's status changes to
302
- * <code>DELETED</code>. However, the CA won't be permanently deleted until the restoration
303
- * period has passed. By default, if you do not set the
304
- * <code>PermanentDeletionTimeInDays</code> parameter, the CA remains restorable for 30
305
- * days. You can set the parameter from 7 to 30 days. The <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_DescribeCertificateAuthority.html">DescribeCertificateAuthority</a> action returns the time remaining in the
306
- * restoration window of a private CA in the <code>DELETED</code> state. To restore an
307
- * eligible CA, call the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_RestoreCertificateAuthority.html">RestoreCertificateAuthority</a> action.</p>
308
- */
309
- public deleteCertificateAuthority(
310
- args: DeleteCertificateAuthorityCommandInput,
311
- options?: __HttpHandlerOptions
312
- ): Promise<DeleteCertificateAuthorityCommandOutput>;
313
- public deleteCertificateAuthority(
314
- args: DeleteCertificateAuthorityCommandInput,
315
- cb: (err: any, data?: DeleteCertificateAuthorityCommandOutput) => void
316
- ): void;
317
- public deleteCertificateAuthority(
318
- args: DeleteCertificateAuthorityCommandInput,
319
- options: __HttpHandlerOptions,
320
- cb: (err: any, data?: DeleteCertificateAuthorityCommandOutput) => void
321
- ): void;
322
- public deleteCertificateAuthority(
323
- args: DeleteCertificateAuthorityCommandInput,
324
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteCertificateAuthorityCommandOutput) => void),
325
- cb?: (err: any, data?: DeleteCertificateAuthorityCommandOutput) => void
326
- ): Promise<DeleteCertificateAuthorityCommandOutput> | void {
327
- const command = new DeleteCertificateAuthorityCommand(args);
328
- if (typeof optionsOrCb === "function") {
329
- this.send(command, optionsOrCb);
330
- } else if (typeof cb === "function") {
331
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
332
- this.send(command, optionsOrCb || {}, cb);
333
- } else {
334
- return this.send(command, optionsOrCb);
335
- }
336
- }
337
-
338
- /**
339
- * <p>Revokes permissions on a private CA granted to the AWS Certificate Manager (ACM) service principal
340
- * (acm.amazonaws.com). </p>
341
- * <p>These permissions allow ACM to issue and renew ACM certificates that reside in the
342
- * same AWS account as the CA. If you revoke these permissions, ACM will no longer
343
- * renew the affected certificates automatically.</p>
344
- * <p>Permissions can be granted with the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_CreatePermission.html">CreatePermission</a> action and
345
- * listed with the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_ListPermissions.html">ListPermissions</a> action. </p>
346
- * <p class="title">
347
- * <b>About Permissions</b>
348
- * </p>
349
- * <ul>
350
- * <li>
351
- * <p>If the private CA and the certificates it issues reside in the same
352
- * account, you can use <code>CreatePermission</code> to grant permissions for ACM to
353
- * carry out automatic certificate renewals.</p>
354
- * </li>
355
- * <li>
356
- * <p>For automatic certificate renewal to succeed, the ACM service principal
357
- * needs permissions to create, retrieve, and list certificates.</p>
358
- * </li>
359
- * <li>
360
- * <p>If the private CA and the ACM certificates reside in different accounts,
361
- * then permissions cannot be used to enable automatic renewals. Instead,
362
- * the ACM certificate owner must set up a resource-based policy to enable
363
- * cross-account issuance and renewals. For more information, see
364
- * <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-rbp.html">Using a Resource
365
- * Based Policy with ACM Private CA</a>.</p>
366
- * </li>
367
- * </ul>
368
- */
369
- public deletePermission(
370
- args: DeletePermissionCommandInput,
371
- options?: __HttpHandlerOptions
372
- ): Promise<DeletePermissionCommandOutput>;
373
- public deletePermission(
374
- args: DeletePermissionCommandInput,
375
- cb: (err: any, data?: DeletePermissionCommandOutput) => void
376
- ): void;
377
- public deletePermission(
378
- args: DeletePermissionCommandInput,
379
- options: __HttpHandlerOptions,
380
- cb: (err: any, data?: DeletePermissionCommandOutput) => void
381
- ): void;
382
- public deletePermission(
383
- args: DeletePermissionCommandInput,
384
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeletePermissionCommandOutput) => void),
385
- cb?: (err: any, data?: DeletePermissionCommandOutput) => void
386
- ): Promise<DeletePermissionCommandOutput> | void {
387
- const command = new DeletePermissionCommand(args);
388
- if (typeof optionsOrCb === "function") {
389
- this.send(command, optionsOrCb);
390
- } else if (typeof cb === "function") {
391
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
392
- this.send(command, optionsOrCb || {}, cb);
393
- } else {
394
- return this.send(command, optionsOrCb);
395
- }
396
- }
397
-
398
- /**
399
- * <p>Deletes the resource-based policy attached to a private CA. Deletion will remove any
400
- * access that the policy has granted. If there is no policy attached to the private CA,
401
- * this action will return successful.</p>
402
- * <p>If you delete a policy that was applied through AWS Resource Access Manager (RAM), the
403
- * CA will be removed from all shares in which it was included. </p>
404
- * <p>The AWS Certificate Manager Service Linked Role that the policy supports is not affected when you
405
- * delete the policy. </p>
406
- * <p>The current policy can be shown with <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_GetPolicy.html">GetPolicy</a> and updated with <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_PutPolicy.html">PutPolicy</a>.</p>
407
- * <p class="title">
408
- * <b>About Policies</b>
409
- * </p>
410
- * <ul>
411
- * <li>
412
- * <p>A policy grants access on a private CA to an AWS customer account, to AWS Organizations, or to
413
- * an AWS Organizations unit. Policies are under the control of a CA administrator. For more information,
414
- * see <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-rbp.html">Using a Resource Based Policy with ACM Private CA</a>.</p>
415
- * </li>
416
- * <li>
417
- * <p>A policy permits a user of AWS Certificate Manager (ACM) to issue ACM certificates
418
- * signed by a CA in another account.</p>
419
- * </li>
420
- * <li>
421
- * <p>For ACM to manage automatic renewal of these certificates,
422
- * the ACM user must configure a Service Linked Role (SLR). The SLR allows
423
- * the ACM service to assume the identity of the user, subject to confirmation against the
424
- * ACM Private CA policy. For more information, see
425
- * <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-slr.html">Using a
426
- * Service Linked Role with ACM</a>.</p>
427
- * </li>
428
- * <li>
429
- * <p>Updates made in AWS Resource Manager (RAM) are reflected in policies. For more information,
430
- * see <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-ram.html">Attach a Policy for Cross-Account
431
- * Access</a>.</p>
432
- * </li>
433
- * </ul>
434
- */
435
- public deletePolicy(
436
- args: DeletePolicyCommandInput,
437
- options?: __HttpHandlerOptions
438
- ): Promise<DeletePolicyCommandOutput>;
439
- public deletePolicy(args: DeletePolicyCommandInput, cb: (err: any, data?: DeletePolicyCommandOutput) => void): void;
440
- public deletePolicy(
441
- args: DeletePolicyCommandInput,
442
- options: __HttpHandlerOptions,
443
- cb: (err: any, data?: DeletePolicyCommandOutput) => void
444
- ): void;
445
- public deletePolicy(
446
- args: DeletePolicyCommandInput,
447
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeletePolicyCommandOutput) => void),
448
- cb?: (err: any, data?: DeletePolicyCommandOutput) => void
449
- ): Promise<DeletePolicyCommandOutput> | void {
450
- const command = new DeletePolicyCommand(args);
451
- if (typeof optionsOrCb === "function") {
452
- this.send(command, optionsOrCb);
453
- } else if (typeof cb === "function") {
454
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
455
- this.send(command, optionsOrCb || {}, cb);
456
- } else {
457
- return this.send(command, optionsOrCb);
458
- }
459
- }
460
-
461
- /**
462
- * <p>Lists information about your private certificate authority (CA) or one that has been
463
- * shared with you. You specify the private CA on input by its ARN (Amazon Resource Name).
464
- * The output contains the status of your CA. This can be any of the following: </p>
465
- * <ul>
466
- * <li>
467
- * <p>
468
- * <code>CREATING</code> - ACM Private CA is creating your private certificate
469
- * authority.</p>
470
- * </li>
471
- * <li>
472
- * <p>
473
- * <code>PENDING_CERTIFICATE</code> - The certificate is pending. You must use
474
- * your ACM Private CA-hosted or on-premises root or subordinate CA to sign your private CA
475
- * CSR and then import it into PCA. </p>
476
- * </li>
477
- * <li>
478
- * <p>
479
- * <code>ACTIVE</code> - Your private CA is active.</p>
480
- * </li>
481
- * <li>
482
- * <p>
483
- * <code>DISABLED</code> - Your private CA has been disabled.</p>
484
- * </li>
485
- * <li>
486
- * <p>
487
- * <code>EXPIRED</code> - Your private CA certificate has expired.</p>
488
- * </li>
489
- * <li>
490
- * <p>
491
- * <code>FAILED</code> - Your private CA has failed. Your CA can fail because of
492
- * problems such a network outage or back-end AWS failure or other errors. A
493
- * failed CA can never return to the pending state. You must create a new CA.
494
- * </p>
495
- * </li>
496
- * <li>
497
- * <p>
498
- * <code>DELETED</code> - Your private CA is within the restoration period, after
499
- * which it is permanently deleted. The length of time remaining in the CA's
500
- * restoration period is also included in this action's output.</p>
501
- * </li>
502
- * </ul>
503
- */
504
- public describeCertificateAuthority(
505
- args: DescribeCertificateAuthorityCommandInput,
506
- options?: __HttpHandlerOptions
507
- ): Promise<DescribeCertificateAuthorityCommandOutput>;
508
- public describeCertificateAuthority(
509
- args: DescribeCertificateAuthorityCommandInput,
510
- cb: (err: any, data?: DescribeCertificateAuthorityCommandOutput) => void
511
- ): void;
512
- public describeCertificateAuthority(
513
- args: DescribeCertificateAuthorityCommandInput,
514
- options: __HttpHandlerOptions,
515
- cb: (err: any, data?: DescribeCertificateAuthorityCommandOutput) => void
516
- ): void;
517
- public describeCertificateAuthority(
518
- args: DescribeCertificateAuthorityCommandInput,
519
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeCertificateAuthorityCommandOutput) => void),
520
- cb?: (err: any, data?: DescribeCertificateAuthorityCommandOutput) => void
521
- ): Promise<DescribeCertificateAuthorityCommandOutput> | void {
522
- const command = new DescribeCertificateAuthorityCommand(args);
523
- if (typeof optionsOrCb === "function") {
524
- this.send(command, optionsOrCb);
525
- } else if (typeof cb === "function") {
526
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
527
- this.send(command, optionsOrCb || {}, cb);
528
- } else {
529
- return this.send(command, optionsOrCb);
530
- }
531
- }
532
-
533
- /**
534
- * <p>Lists information about a specific audit report created by calling the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_CreateCertificateAuthorityAuditReport.html">CreateCertificateAuthorityAuditReport</a> action. Audit information is created
535
- * every time the certificate authority (CA) private key is used. The private key is used
536
- * when you call the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_IssueCertificate.html">IssueCertificate</a> action or the
537
- * <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_RevokeCertificate.html">RevokeCertificate</a> action. </p>
538
- */
539
- public describeCertificateAuthorityAuditReport(
540
- args: DescribeCertificateAuthorityAuditReportCommandInput,
541
- options?: __HttpHandlerOptions
542
- ): Promise<DescribeCertificateAuthorityAuditReportCommandOutput>;
543
- public describeCertificateAuthorityAuditReport(
544
- args: DescribeCertificateAuthorityAuditReportCommandInput,
545
- cb: (err: any, data?: DescribeCertificateAuthorityAuditReportCommandOutput) => void
546
- ): void;
547
- public describeCertificateAuthorityAuditReport(
548
- args: DescribeCertificateAuthorityAuditReportCommandInput,
549
- options: __HttpHandlerOptions,
550
- cb: (err: any, data?: DescribeCertificateAuthorityAuditReportCommandOutput) => void
551
- ): void;
552
- public describeCertificateAuthorityAuditReport(
553
- args: DescribeCertificateAuthorityAuditReportCommandInput,
554
- optionsOrCb?:
555
- | __HttpHandlerOptions
556
- | ((err: any, data?: DescribeCertificateAuthorityAuditReportCommandOutput) => void),
557
- cb?: (err: any, data?: DescribeCertificateAuthorityAuditReportCommandOutput) => void
558
- ): Promise<DescribeCertificateAuthorityAuditReportCommandOutput> | void {
559
- const command = new DescribeCertificateAuthorityAuditReportCommand(args);
560
- if (typeof optionsOrCb === "function") {
561
- this.send(command, optionsOrCb);
562
- } else if (typeof cb === "function") {
563
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
564
- this.send(command, optionsOrCb || {}, cb);
565
- } else {
566
- return this.send(command, optionsOrCb);
567
- }
568
- }
569
-
570
- /**
571
- * <p>Retrieves a certificate from your private CA or one that has been shared with you. The
572
- * ARN of the certificate is returned when you call the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_IssueCertificate.html">IssueCertificate</a> action. You
573
- * must specify both the ARN of your private CA and the ARN of the issued certificate when
574
- * calling the <b>GetCertificate</b> action. You can retrieve the
575
- * certificate if it is in the <b>ISSUED</b> state. You can call
576
- * the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_CreateCertificateAuthorityAuditReport.html">CreateCertificateAuthorityAuditReport</a> action to create a report that
577
- * contains information about all of the certificates issued and revoked by your private
578
- * CA. </p>
579
- */
580
- public getCertificate(
581
- args: GetCertificateCommandInput,
582
- options?: __HttpHandlerOptions
583
- ): Promise<GetCertificateCommandOutput>;
584
- public getCertificate(
585
- args: GetCertificateCommandInput,
586
- cb: (err: any, data?: GetCertificateCommandOutput) => void
587
- ): void;
588
- public getCertificate(
589
- args: GetCertificateCommandInput,
590
- options: __HttpHandlerOptions,
591
- cb: (err: any, data?: GetCertificateCommandOutput) => void
592
- ): void;
593
- public getCertificate(
594
- args: GetCertificateCommandInput,
595
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetCertificateCommandOutput) => void),
596
- cb?: (err: any, data?: GetCertificateCommandOutput) => void
597
- ): Promise<GetCertificateCommandOutput> | void {
598
- const command = new GetCertificateCommand(args);
599
- if (typeof optionsOrCb === "function") {
600
- this.send(command, optionsOrCb);
601
- } else if (typeof cb === "function") {
602
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
603
- this.send(command, optionsOrCb || {}, cb);
604
- } else {
605
- return this.send(command, optionsOrCb);
606
- }
607
- }
608
-
609
- /**
610
- * <p>Retrieves the certificate and certificate chain for your private certificate authority
611
- * (CA) or one that has been shared with you. Both the certificate and the chain are base64
612
- * PEM-encoded. The chain does not include the CA certificate. Each certificate in the
613
- * chain signs the one before it. </p>
614
- */
615
- public getCertificateAuthorityCertificate(
616
- args: GetCertificateAuthorityCertificateCommandInput,
617
- options?: __HttpHandlerOptions
618
- ): Promise<GetCertificateAuthorityCertificateCommandOutput>;
619
- public getCertificateAuthorityCertificate(
620
- args: GetCertificateAuthorityCertificateCommandInput,
621
- cb: (err: any, data?: GetCertificateAuthorityCertificateCommandOutput) => void
622
- ): void;
623
- public getCertificateAuthorityCertificate(
624
- args: GetCertificateAuthorityCertificateCommandInput,
625
- options: __HttpHandlerOptions,
626
- cb: (err: any, data?: GetCertificateAuthorityCertificateCommandOutput) => void
627
- ): void;
628
- public getCertificateAuthorityCertificate(
629
- args: GetCertificateAuthorityCertificateCommandInput,
630
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetCertificateAuthorityCertificateCommandOutput) => void),
631
- cb?: (err: any, data?: GetCertificateAuthorityCertificateCommandOutput) => void
632
- ): Promise<GetCertificateAuthorityCertificateCommandOutput> | void {
633
- const command = new GetCertificateAuthorityCertificateCommand(args);
634
- if (typeof optionsOrCb === "function") {
635
- this.send(command, optionsOrCb);
636
- } else if (typeof cb === "function") {
637
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
638
- this.send(command, optionsOrCb || {}, cb);
639
- } else {
640
- return this.send(command, optionsOrCb);
641
- }
642
- }
643
-
644
- /**
645
- * <p>Retrieves the certificate signing request (CSR) for your private certificate authority
646
- * (CA). The CSR is created when you call the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_CreateCertificateAuthority.html">CreateCertificateAuthority</a> action. Sign the CSR with your ACM Private CA-hosted or
647
- * on-premises root or subordinate CA. Then import the signed certificate back into ACM Private CA
648
- * by calling the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_ImportCertificateAuthorityCertificate.html">ImportCertificateAuthorityCertificate</a> action. The CSR is returned as a
649
- * base64 PEM-encoded string. </p>
650
- */
651
- public getCertificateAuthorityCsr(
652
- args: GetCertificateAuthorityCsrCommandInput,
653
- options?: __HttpHandlerOptions
654
- ): Promise<GetCertificateAuthorityCsrCommandOutput>;
655
- public getCertificateAuthorityCsr(
656
- args: GetCertificateAuthorityCsrCommandInput,
657
- cb: (err: any, data?: GetCertificateAuthorityCsrCommandOutput) => void
658
- ): void;
659
- public getCertificateAuthorityCsr(
660
- args: GetCertificateAuthorityCsrCommandInput,
661
- options: __HttpHandlerOptions,
662
- cb: (err: any, data?: GetCertificateAuthorityCsrCommandOutput) => void
663
- ): void;
664
- public getCertificateAuthorityCsr(
665
- args: GetCertificateAuthorityCsrCommandInput,
666
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetCertificateAuthorityCsrCommandOutput) => void),
667
- cb?: (err: any, data?: GetCertificateAuthorityCsrCommandOutput) => void
668
- ): Promise<GetCertificateAuthorityCsrCommandOutput> | void {
669
- const command = new GetCertificateAuthorityCsrCommand(args);
670
- if (typeof optionsOrCb === "function") {
671
- this.send(command, optionsOrCb);
672
- } else if (typeof cb === "function") {
673
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
674
- this.send(command, optionsOrCb || {}, cb);
675
- } else {
676
- return this.send(command, optionsOrCb);
677
- }
678
- }
679
-
680
- /**
681
- * <p>Retrieves the resource-based policy attached to a private CA. If either the private CA
682
- * resource or the policy cannot be found, this action returns a
683
- * <code>ResourceNotFoundException</code>. </p>
684
- * <p>The policy can be attached or updated with <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_PutPolicy.html">PutPolicy</a> and removed with <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_DeletePolicy.html">DeletePolicy</a>.</p>
685
- * <p class="title">
686
- * <b>About Policies</b>
687
- * </p>
688
- * <ul>
689
- * <li>
690
- * <p>A policy grants access on a private CA to an AWS customer account, to AWS Organizations, or to
691
- * an AWS Organizations unit. Policies are under the control of a CA administrator. For more information,
692
- * see <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-rbp.html">Using a Resource Based Policy with ACM Private CA</a>.</p>
693
- * </li>
694
- * <li>
695
- * <p>A policy permits a user of AWS Certificate Manager (ACM) to issue ACM certificates
696
- * signed by a CA in another account.</p>
697
- * </li>
698
- * <li>
699
- * <p>For ACM to manage automatic renewal of these certificates,
700
- * the ACM user must configure a Service Linked Role (SLR). The SLR allows
701
- * the ACM service to assume the identity of the user, subject to confirmation against the
702
- * ACM Private CA policy. For more information, see
703
- * <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-slr.html">Using a
704
- * Service Linked Role with ACM</a>.</p>
705
- * </li>
706
- * <li>
707
- * <p>Updates made in AWS Resource Manager (RAM) are reflected in policies. For more information,
708
- * see <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-ram.html">Attach a Policy for Cross-Account
709
- * Access</a>.</p>
710
- * </li>
711
- * </ul>
712
- */
713
- public getPolicy(args: GetPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetPolicyCommandOutput>;
714
- public getPolicy(args: GetPolicyCommandInput, cb: (err: any, data?: GetPolicyCommandOutput) => void): void;
715
- public getPolicy(
716
- args: GetPolicyCommandInput,
717
- options: __HttpHandlerOptions,
718
- cb: (err: any, data?: GetPolicyCommandOutput) => void
719
- ): void;
720
- public getPolicy(
721
- args: GetPolicyCommandInput,
722
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetPolicyCommandOutput) => void),
723
- cb?: (err: any, data?: GetPolicyCommandOutput) => void
724
- ): Promise<GetPolicyCommandOutput> | void {
725
- const command = new GetPolicyCommand(args);
726
- if (typeof optionsOrCb === "function") {
727
- this.send(command, optionsOrCb);
728
- } else if (typeof cb === "function") {
729
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
730
- this.send(command, optionsOrCb || {}, cb);
731
- } else {
732
- return this.send(command, optionsOrCb);
733
- }
734
- }
735
-
736
- /**
737
- * <p>Imports a signed private CA certificate into ACM Private CA. This action is used when you are
738
- * using a chain of trust whose root is located outside ACM Private CA. Before you can call this
739
- * action, the following preparations must in place:</p>
740
- * <ol>
741
- * <li>
742
- * <p>In ACM Private CA, call the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_CreateCertificateAuthority.html">CreateCertificateAuthority</a> action to create the private CA that you
743
- * plan to back with the imported certificate.</p>
744
- * </li>
745
- * <li>
746
- * <p>Call the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_GetCertificateAuthorityCsr.html">GetCertificateAuthorityCsr</a> action to generate a certificate signing
747
- * request (CSR).</p>
748
- * </li>
749
- * <li>
750
- * <p>Sign the CSR using a root or intermediate CA hosted by either an on-premises
751
- * PKI hierarchy or by a commercial CA.</p>
752
- * </li>
753
- * <li>
754
- * <p>Create a certificate chain and copy the signed certificate and the certificate
755
- * chain to your working directory.</p>
756
- * </li>
757
- * </ol>
758
- * <p>ACM Private CA supports three scenarios for installing a CA certificate:</p>
759
- * <ul>
760
- * <li>
761
- * <p>Installing a certificate for a root CA hosted by ACM Private CA.</p>
762
- * </li>
763
- * <li>
764
- * <p>Installing a subordinate CA certificate whose parent authority is hosted by
765
- * ACM Private CA.</p>
766
- * </li>
767
- * <li>
768
- * <p>Installing a subordinate CA certificate whose parent authority is externally
769
- * hosted.</p>
770
- * </li>
771
- * </ul>
772
- * <p>The following additional requirements apply when you import a CA certificate.</p>
773
- * <ul>
774
- * <li>
775
- * <p>Only a self-signed certificate can be imported as a root CA.</p>
776
- * </li>
777
- * <li>
778
- * <p>A self-signed certificate cannot be imported as a subordinate CA.</p>
779
- * </li>
780
- * <li>
781
- * <p>Your certificate chain must not include the private CA certificate that you
782
- * are importing.</p>
783
- * </li>
784
- * <li>
785
- * <p>Your root CA must be the last certificate in your chain. The subordinate
786
- * certificate, if any, that your root CA signed must be next to last. The
787
- * subordinate certificate signed by the preceding subordinate CA must come next,
788
- * and so on until your chain is built. </p>
789
- * </li>
790
- * <li>
791
- * <p>The chain must be PEM-encoded.</p>
792
- * </li>
793
- * <li>
794
- * <p>The maximum allowed size of a certificate is 32 KB.</p>
795
- * </li>
796
- * <li>
797
- * <p>The maximum allowed size of a certificate chain is 2 MB.</p>
798
- * </li>
799
- * </ul>
800
- * <p>
801
- * <i>Enforcement of Critical Constraints</i>
802
- * </p>
803
- * <p>ACM Private CA allows the following extensions to be marked critical in the imported CA
804
- * certificate or chain.</p>
805
- * <ul>
806
- * <li>
807
- * <p>Basic constraints (<i>must</i> be marked critical)</p>
808
- * </li>
809
- * <li>
810
- * <p>Subject alternative names</p>
811
- * </li>
812
- * <li>
813
- * <p>Key usage</p>
814
- * </li>
815
- * <li>
816
- * <p>Extended key usage</p>
817
- * </li>
818
- * <li>
819
- * <p>Authority key identifier</p>
820
- * </li>
821
- * <li>
822
- * <p>Subject key identifier</p>
823
- * </li>
824
- * <li>
825
- * <p>Issuer alternative name</p>
826
- * </li>
827
- * <li>
828
- * <p>Subject directory attributes</p>
829
- * </li>
830
- * <li>
831
- * <p>Subject information access</p>
832
- * </li>
833
- * <li>
834
- * <p>Certificate policies</p>
835
- * </li>
836
- * <li>
837
- * <p>Policy mappings</p>
838
- * </li>
839
- * <li>
840
- * <p>Inhibit anyPolicy</p>
841
- * </li>
842
- * </ul>
843
- * <p>ACM Private CA rejects the following extensions when they are marked critical in an imported CA
844
- * certificate or chain.</p>
845
- * <ul>
846
- * <li>
847
- * <p>Name constraints</p>
848
- * </li>
849
- * <li>
850
- * <p>Policy constraints</p>
851
- * </li>
852
- * <li>
853
- * <p>CRL distribution points</p>
854
- * </li>
855
- * <li>
856
- * <p>Authority information access</p>
857
- * </li>
858
- * <li>
859
- * <p>Freshest CRL</p>
860
- * </li>
861
- * <li>
862
- * <p>Any other extension</p>
863
- * </li>
864
- * </ul>
865
- */
866
- public importCertificateAuthorityCertificate(
867
- args: ImportCertificateAuthorityCertificateCommandInput,
868
- options?: __HttpHandlerOptions
869
- ): Promise<ImportCertificateAuthorityCertificateCommandOutput>;
870
- public importCertificateAuthorityCertificate(
871
- args: ImportCertificateAuthorityCertificateCommandInput,
872
- cb: (err: any, data?: ImportCertificateAuthorityCertificateCommandOutput) => void
873
- ): void;
874
- public importCertificateAuthorityCertificate(
875
- args: ImportCertificateAuthorityCertificateCommandInput,
876
- options: __HttpHandlerOptions,
877
- cb: (err: any, data?: ImportCertificateAuthorityCertificateCommandOutput) => void
878
- ): void;
879
- public importCertificateAuthorityCertificate(
880
- args: ImportCertificateAuthorityCertificateCommandInput,
881
- optionsOrCb?:
882
- | __HttpHandlerOptions
883
- | ((err: any, data?: ImportCertificateAuthorityCertificateCommandOutput) => void),
884
- cb?: (err: any, data?: ImportCertificateAuthorityCertificateCommandOutput) => void
885
- ): Promise<ImportCertificateAuthorityCertificateCommandOutput> | void {
886
- const command = new ImportCertificateAuthorityCertificateCommand(args);
887
- if (typeof optionsOrCb === "function") {
888
- this.send(command, optionsOrCb);
889
- } else if (typeof cb === "function") {
890
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
891
- this.send(command, optionsOrCb || {}, cb);
892
- } else {
893
- return this.send(command, optionsOrCb);
894
- }
895
- }
896
-
897
- /**
898
- * <p>Uses your private certificate authority (CA), or one that has been shared with you, to
899
- * issue a client certificate. This action returns the Amazon Resource Name (ARN) of the
900
- * certificate. You can retrieve the certificate by calling the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_GetCertificate.html">GetCertificate</a> action and
901
- * specifying the ARN. </p>
902
- * <note>
903
- * <p>You cannot use the ACM <b>ListCertificateAuthorities</b> action to retrieve the ARNs of the
904
- * certificates that you issue by using ACM Private CA.</p>
905
- * </note>
906
- */
907
- public issueCertificate(
908
- args: IssueCertificateCommandInput,
909
- options?: __HttpHandlerOptions
910
- ): Promise<IssueCertificateCommandOutput>;
911
- public issueCertificate(
912
- args: IssueCertificateCommandInput,
913
- cb: (err: any, data?: IssueCertificateCommandOutput) => void
914
- ): void;
915
- public issueCertificate(
916
- args: IssueCertificateCommandInput,
917
- options: __HttpHandlerOptions,
918
- cb: (err: any, data?: IssueCertificateCommandOutput) => void
919
- ): void;
920
- public issueCertificate(
921
- args: IssueCertificateCommandInput,
922
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: IssueCertificateCommandOutput) => void),
923
- cb?: (err: any, data?: IssueCertificateCommandOutput) => void
924
- ): Promise<IssueCertificateCommandOutput> | void {
925
- const command = new IssueCertificateCommand(args);
926
- if (typeof optionsOrCb === "function") {
927
- this.send(command, optionsOrCb);
928
- } else if (typeof cb === "function") {
929
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
930
- this.send(command, optionsOrCb || {}, cb);
931
- } else {
932
- return this.send(command, optionsOrCb);
933
- }
934
- }
935
-
936
- /**
937
- * <p>Lists the private certificate authorities that you created by using the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_CreateCertificateAuthority.html">CreateCertificateAuthority</a> action.</p>
938
- */
939
- public listCertificateAuthorities(
940
- args: ListCertificateAuthoritiesCommandInput,
941
- options?: __HttpHandlerOptions
942
- ): Promise<ListCertificateAuthoritiesCommandOutput>;
943
- public listCertificateAuthorities(
944
- args: ListCertificateAuthoritiesCommandInput,
945
- cb: (err: any, data?: ListCertificateAuthoritiesCommandOutput) => void
946
- ): void;
947
- public listCertificateAuthorities(
948
- args: ListCertificateAuthoritiesCommandInput,
949
- options: __HttpHandlerOptions,
950
- cb: (err: any, data?: ListCertificateAuthoritiesCommandOutput) => void
951
- ): void;
952
- public listCertificateAuthorities(
953
- args: ListCertificateAuthoritiesCommandInput,
954
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListCertificateAuthoritiesCommandOutput) => void),
955
- cb?: (err: any, data?: ListCertificateAuthoritiesCommandOutput) => void
956
- ): Promise<ListCertificateAuthoritiesCommandOutput> | void {
957
- const command = new ListCertificateAuthoritiesCommand(args);
958
- if (typeof optionsOrCb === "function") {
959
- this.send(command, optionsOrCb);
960
- } else if (typeof cb === "function") {
961
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
962
- this.send(command, optionsOrCb || {}, cb);
963
- } else {
964
- return this.send(command, optionsOrCb);
965
- }
966
- }
967
-
968
- /**
969
- * <p>List all permissions on a private CA, if any, granted to the AWS Certificate Manager (ACM) service
970
- * principal (acm.amazonaws.com). </p>
971
- * <p>These permissions allow ACM to issue and renew ACM certificates that reside in the
972
- * same AWS account as the CA. </p>
973
- * <p>Permissions can be granted with the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_CreatePermission.html">CreatePermission</a> action and
974
- * revoked with the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_DeletePermission.html">DeletePermission</a> action.</p>
975
- * <p class="title">
976
- * <b>About Permissions</b>
977
- * </p>
978
- * <ul>
979
- * <li>
980
- * <p>If the private CA and the certificates it issues reside in the same
981
- * account, you can use <code>CreatePermission</code> to grant permissions for ACM to
982
- * carry out automatic certificate renewals.</p>
983
- * </li>
984
- * <li>
985
- * <p>For automatic certificate renewal to succeed, the ACM service principal
986
- * needs permissions to create, retrieve, and list certificates.</p>
987
- * </li>
988
- * <li>
989
- * <p>If the private CA and the ACM certificates reside in different accounts,
990
- * then permissions cannot be used to enable automatic renewals. Instead,
991
- * the ACM certificate owner must set up a resource-based policy to enable
992
- * cross-account issuance and renewals. For more information, see
993
- * <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-rbp.html">Using a Resource
994
- * Based Policy with ACM Private CA</a>.</p>
995
- * </li>
996
- * </ul>
997
- */
998
- public listPermissions(
999
- args: ListPermissionsCommandInput,
1000
- options?: __HttpHandlerOptions
1001
- ): Promise<ListPermissionsCommandOutput>;
1002
- public listPermissions(
1003
- args: ListPermissionsCommandInput,
1004
- cb: (err: any, data?: ListPermissionsCommandOutput) => void
1005
- ): void;
1006
- public listPermissions(
1007
- args: ListPermissionsCommandInput,
1008
- options: __HttpHandlerOptions,
1009
- cb: (err: any, data?: ListPermissionsCommandOutput) => void
1010
- ): void;
1011
- public listPermissions(
1012
- args: ListPermissionsCommandInput,
1013
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListPermissionsCommandOutput) => void),
1014
- cb?: (err: any, data?: ListPermissionsCommandOutput) => void
1015
- ): Promise<ListPermissionsCommandOutput> | void {
1016
- const command = new ListPermissionsCommand(args);
1017
- if (typeof optionsOrCb === "function") {
1018
- this.send(command, optionsOrCb);
1019
- } else if (typeof cb === "function") {
1020
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1021
- this.send(command, optionsOrCb || {}, cb);
1022
- } else {
1023
- return this.send(command, optionsOrCb);
1024
- }
1025
- }
1026
-
1027
- /**
1028
- * <p>Lists the tags, if any, that are associated with your private CA or one that has been
1029
- * shared with you. Tags are labels that you can use to identify and organize your CAs.
1030
- * Each tag consists of a key and an optional value. Call the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_TagCertificateAuthority.html">TagCertificateAuthority</a>
1031
- * action to add one or more tags to your CA. Call the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_UntagCertificateAuthority.html">UntagCertificateAuthority</a> action to remove tags. </p>
1032
- */
1033
- public listTags(args: ListTagsCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsCommandOutput>;
1034
- public listTags(args: ListTagsCommandInput, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
1035
- public listTags(
1036
- args: ListTagsCommandInput,
1037
- options: __HttpHandlerOptions,
1038
- cb: (err: any, data?: ListTagsCommandOutput) => void
1039
- ): void;
1040
- public listTags(
1041
- args: ListTagsCommandInput,
1042
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsCommandOutput) => void),
1043
- cb?: (err: any, data?: ListTagsCommandOutput) => void
1044
- ): Promise<ListTagsCommandOutput> | void {
1045
- const command = new ListTagsCommand(args);
1046
- if (typeof optionsOrCb === "function") {
1047
- this.send(command, optionsOrCb);
1048
- } else if (typeof cb === "function") {
1049
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1050
- this.send(command, optionsOrCb || {}, cb);
1051
- } else {
1052
- return this.send(command, optionsOrCb);
1053
- }
1054
- }
1055
-
1056
- /**
1057
- * <p>Attaches a resource-based policy to a private CA. </p>
1058
- * <p>A policy can also be applied by sharing a private CA through AWS Resource Access
1059
- * Manager (RAM). For more information, see <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-ram.html">Attach a Policy for Cross-Account
1060
- * Access</a>.</p>
1061
- * <p>The policy can be displayed with <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_GetPolicy.html">GetPolicy</a> and removed with <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_DeletePolicy.html">DeletePolicy</a>.</p>
1062
- * <p class="title">
1063
- * <b>About Policies</b>
1064
- * </p>
1065
- * <ul>
1066
- * <li>
1067
- * <p>A policy grants access on a private CA to an AWS customer account, to AWS Organizations, or to
1068
- * an AWS Organizations unit. Policies are under the control of a CA administrator. For more information,
1069
- * see <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-rbp.html">Using a Resource Based Policy with ACM Private CA</a>.</p>
1070
- * </li>
1071
- * <li>
1072
- * <p>A policy permits a user of AWS Certificate Manager (ACM) to issue ACM certificates
1073
- * signed by a CA in another account.</p>
1074
- * </li>
1075
- * <li>
1076
- * <p>For ACM to manage automatic renewal of these certificates,
1077
- * the ACM user must configure a Service Linked Role (SLR). The SLR allows
1078
- * the ACM service to assume the identity of the user, subject to confirmation against the
1079
- * ACM Private CA policy. For more information, see
1080
- * <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-slr.html">Using a
1081
- * Service Linked Role with ACM</a>.</p>
1082
- * </li>
1083
- * <li>
1084
- * <p>Updates made in AWS Resource Manager (RAM) are reflected in policies. For more information,
1085
- * see <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-ram.html">Attach a Policy for Cross-Account
1086
- * Access</a>.</p>
1087
- * </li>
1088
- * </ul>
1089
- */
1090
- public putPolicy(args: PutPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutPolicyCommandOutput>;
1091
- public putPolicy(args: PutPolicyCommandInput, cb: (err: any, data?: PutPolicyCommandOutput) => void): void;
1092
- public putPolicy(
1093
- args: PutPolicyCommandInput,
1094
- options: __HttpHandlerOptions,
1095
- cb: (err: any, data?: PutPolicyCommandOutput) => void
1096
- ): void;
1097
- public putPolicy(
1098
- args: PutPolicyCommandInput,
1099
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutPolicyCommandOutput) => void),
1100
- cb?: (err: any, data?: PutPolicyCommandOutput) => void
1101
- ): Promise<PutPolicyCommandOutput> | void {
1102
- const command = new PutPolicyCommand(args);
1103
- if (typeof optionsOrCb === "function") {
1104
- this.send(command, optionsOrCb);
1105
- } else if (typeof cb === "function") {
1106
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1107
- this.send(command, optionsOrCb || {}, cb);
1108
- } else {
1109
- return this.send(command, optionsOrCb);
1110
- }
1111
- }
1112
-
1113
- /**
1114
- * <p>Restores a certificate authority (CA) that is in the <code>DELETED</code> state. You
1115
- * can restore a CA during the period that you defined in the <b>PermanentDeletionTimeInDays</b> parameter of the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_DeleteCertificateAuthority.html">DeleteCertificateAuthority</a> action. Currently, you can specify 7 to 30 days.
1116
- * If you did not specify a <b>PermanentDeletionTimeInDays</b>
1117
- * value, by default you can restore the CA at any time in a 30 day period. You can check
1118
- * the time remaining in the restoration period of a private CA in the <code>DELETED</code>
1119
- * state by calling the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_DescribeCertificateAuthority.html">DescribeCertificateAuthority</a> or <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_ListCertificateAuthorities.html">ListCertificateAuthorities</a> actions. The status of a restored CA is set to
1120
- * its pre-deletion status when the <b>RestoreCertificateAuthority</b> action returns. To change its status to
1121
- * <code>ACTIVE</code>, call the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_UpdateCertificateAuthority.html">UpdateCertificateAuthority</a> action. If the private CA was in the
1122
- * <code>PENDING_CERTIFICATE</code> state at deletion, you must use the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_ImportCertificateAuthorityCertificate.html">ImportCertificateAuthorityCertificate</a> action to import a certificate
1123
- * authority into the private CA before it can be activated. You cannot restore a CA after
1124
- * the restoration period has ended.</p>
1125
- */
1126
- public restoreCertificateAuthority(
1127
- args: RestoreCertificateAuthorityCommandInput,
1128
- options?: __HttpHandlerOptions
1129
- ): Promise<RestoreCertificateAuthorityCommandOutput>;
1130
- public restoreCertificateAuthority(
1131
- args: RestoreCertificateAuthorityCommandInput,
1132
- cb: (err: any, data?: RestoreCertificateAuthorityCommandOutput) => void
1133
- ): void;
1134
- public restoreCertificateAuthority(
1135
- args: RestoreCertificateAuthorityCommandInput,
1136
- options: __HttpHandlerOptions,
1137
- cb: (err: any, data?: RestoreCertificateAuthorityCommandOutput) => void
1138
- ): void;
1139
- public restoreCertificateAuthority(
1140
- args: RestoreCertificateAuthorityCommandInput,
1141
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RestoreCertificateAuthorityCommandOutput) => void),
1142
- cb?: (err: any, data?: RestoreCertificateAuthorityCommandOutput) => void
1143
- ): Promise<RestoreCertificateAuthorityCommandOutput> | void {
1144
- const command = new RestoreCertificateAuthorityCommand(args);
1145
- if (typeof optionsOrCb === "function") {
1146
- this.send(command, optionsOrCb);
1147
- } else if (typeof cb === "function") {
1148
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1149
- this.send(command, optionsOrCb || {}, cb);
1150
- } else {
1151
- return this.send(command, optionsOrCb);
1152
- }
1153
- }
1154
-
1155
- /**
1156
- * <p>Revokes a certificate that was issued inside ACM Private CA. If you enable a certificate
1157
- * revocation list (CRL) when you create or update your private CA, information about the
1158
- * revoked certificates will be included in the CRL. ACM Private CA writes the CRL to an S3 bucket
1159
- * that you specify. A CRL is typically updated approximately 30 minutes after a
1160
- * certificate is revoked. If for any reason the CRL update fails, ACM Private CA attempts makes
1161
- * further attempts every 15 minutes. With Amazon CloudWatch, you can create alarms for the
1162
- * metrics <code>CRLGenerated</code> and <code>MisconfiguredCRLBucket</code>. For more
1163
- * information, see <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaCloudWatch.html">Supported CloudWatch Metrics</a>.</p>
1164
- * <note>
1165
- * <p>Both PCA and the IAM principal must have permission to write to
1166
- * the S3 bucket that you specify. If the IAM principal making the call
1167
- * does not have permission to write to the bucket, then an exception is
1168
- * thrown. For more information, see <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaAuthAccess.html">Configure
1169
- * Access to ACM Private CA</a>.</p>
1170
- * </note>
1171
- * <p>ACM Private CA also writes
1172
- * revocation information to the audit report. For more information, see <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_CreateCertificateAuthorityAuditReport.html">CreateCertificateAuthorityAuditReport</a>.</p>
1173
- * <note>
1174
- * <p>You cannot revoke a root CA self-signed certificate.</p>
1175
- * </note>
1176
- */
1177
- public revokeCertificate(
1178
- args: RevokeCertificateCommandInput,
1179
- options?: __HttpHandlerOptions
1180
- ): Promise<RevokeCertificateCommandOutput>;
1181
- public revokeCertificate(
1182
- args: RevokeCertificateCommandInput,
1183
- cb: (err: any, data?: RevokeCertificateCommandOutput) => void
1184
- ): void;
1185
- public revokeCertificate(
1186
- args: RevokeCertificateCommandInput,
1187
- options: __HttpHandlerOptions,
1188
- cb: (err: any, data?: RevokeCertificateCommandOutput) => void
1189
- ): void;
1190
- public revokeCertificate(
1191
- args: RevokeCertificateCommandInput,
1192
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RevokeCertificateCommandOutput) => void),
1193
- cb?: (err: any, data?: RevokeCertificateCommandOutput) => void
1194
- ): Promise<RevokeCertificateCommandOutput> | void {
1195
- const command = new RevokeCertificateCommand(args);
1196
- if (typeof optionsOrCb === "function") {
1197
- this.send(command, optionsOrCb);
1198
- } else if (typeof cb === "function") {
1199
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1200
- this.send(command, optionsOrCb || {}, cb);
1201
- } else {
1202
- return this.send(command, optionsOrCb);
1203
- }
1204
- }
1205
-
1206
- /**
1207
- * <p>Adds one or more tags to your private CA. Tags are labels that you can use to identify
1208
- * and organize your AWS resources. Each tag consists of a key and an optional value. You
1209
- * specify the private CA on input by its Amazon Resource Name (ARN). You specify the tag
1210
- * by using a key-value pair. You can apply a tag to just one private CA if you want to
1211
- * identify a specific characteristic of that CA, or you can apply the same tag to multiple
1212
- * private CAs if you want to filter for a common relationship among those CAs. To remove
1213
- * one or more tags, use the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_UntagCertificateAuthority.html">UntagCertificateAuthority</a> action. Call the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_ListTags.html">ListTags</a> action to see what tags are
1214
- * associated with your CA. </p>
1215
- */
1216
- public tagCertificateAuthority(
1217
- args: TagCertificateAuthorityCommandInput,
1218
- options?: __HttpHandlerOptions
1219
- ): Promise<TagCertificateAuthorityCommandOutput>;
1220
- public tagCertificateAuthority(
1221
- args: TagCertificateAuthorityCommandInput,
1222
- cb: (err: any, data?: TagCertificateAuthorityCommandOutput) => void
1223
- ): void;
1224
- public tagCertificateAuthority(
1225
- args: TagCertificateAuthorityCommandInput,
1226
- options: __HttpHandlerOptions,
1227
- cb: (err: any, data?: TagCertificateAuthorityCommandOutput) => void
1228
- ): void;
1229
- public tagCertificateAuthority(
1230
- args: TagCertificateAuthorityCommandInput,
1231
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagCertificateAuthorityCommandOutput) => void),
1232
- cb?: (err: any, data?: TagCertificateAuthorityCommandOutput) => void
1233
- ): Promise<TagCertificateAuthorityCommandOutput> | void {
1234
- const command = new TagCertificateAuthorityCommand(args);
1235
- if (typeof optionsOrCb === "function") {
1236
- this.send(command, optionsOrCb);
1237
- } else if (typeof cb === "function") {
1238
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1239
- this.send(command, optionsOrCb || {}, cb);
1240
- } else {
1241
- return this.send(command, optionsOrCb);
1242
- }
1243
- }
1244
-
1245
- /**
1246
- * <p>Remove one or more tags from your private CA. A tag consists of a key-value pair. If
1247
- * you do not specify the value portion of the tag when calling this action, the tag will
1248
- * be removed regardless of value. If you specify a value, the tag is removed only if it is
1249
- * associated with the specified value. To add tags to a private CA, use the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_TagCertificateAuthority.html">TagCertificateAuthority</a>. Call the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_ListTags.html">ListTags</a> action to see what tags are
1250
- * associated with your CA. </p>
1251
- */
1252
- public untagCertificateAuthority(
1253
- args: UntagCertificateAuthorityCommandInput,
1254
- options?: __HttpHandlerOptions
1255
- ): Promise<UntagCertificateAuthorityCommandOutput>;
1256
- public untagCertificateAuthority(
1257
- args: UntagCertificateAuthorityCommandInput,
1258
- cb: (err: any, data?: UntagCertificateAuthorityCommandOutput) => void
1259
- ): void;
1260
- public untagCertificateAuthority(
1261
- args: UntagCertificateAuthorityCommandInput,
1262
- options: __HttpHandlerOptions,
1263
- cb: (err: any, data?: UntagCertificateAuthorityCommandOutput) => void
1264
- ): void;
1265
- public untagCertificateAuthority(
1266
- args: UntagCertificateAuthorityCommandInput,
1267
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagCertificateAuthorityCommandOutput) => void),
1268
- cb?: (err: any, data?: UntagCertificateAuthorityCommandOutput) => void
1269
- ): Promise<UntagCertificateAuthorityCommandOutput> | void {
1270
- const command = new UntagCertificateAuthorityCommand(args);
1271
- if (typeof optionsOrCb === "function") {
1272
- this.send(command, optionsOrCb);
1273
- } else if (typeof cb === "function") {
1274
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1275
- this.send(command, optionsOrCb || {}, cb);
1276
- } else {
1277
- return this.send(command, optionsOrCb);
1278
- }
1279
- }
1280
-
1281
- /**
1282
- * <p>Updates the status or configuration of a private certificate authority (CA). Your
1283
- * private CA must be in the <code>ACTIVE</code> or <code>DISABLED</code> state before you
1284
- * can update it. You can disable a private CA that is in the <code>ACTIVE</code> state or
1285
- * make a CA that is in the <code>DISABLED</code> state active again.</p>
1286
- * <note>
1287
- * <p>Both PCA and the IAM principal must have permission to write to
1288
- * the S3 bucket that you specify. If the IAM principal making the call
1289
- * does not have permission to write to the bucket, then an exception is
1290
- * thrown. For more information, see <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaAuthAccess.html">Configure
1291
- * Access to ACM Private CA</a>.</p>
1292
- * </note>
1293
- */
1294
- public updateCertificateAuthority(
1295
- args: UpdateCertificateAuthorityCommandInput,
1296
- options?: __HttpHandlerOptions
1297
- ): Promise<UpdateCertificateAuthorityCommandOutput>;
1298
- public updateCertificateAuthority(
1299
- args: UpdateCertificateAuthorityCommandInput,
1300
- cb: (err: any, data?: UpdateCertificateAuthorityCommandOutput) => void
1301
- ): void;
1302
- public updateCertificateAuthority(
1303
- args: UpdateCertificateAuthorityCommandInput,
1304
- options: __HttpHandlerOptions,
1305
- cb: (err: any, data?: UpdateCertificateAuthorityCommandOutput) => void
1306
- ): void;
1307
- public updateCertificateAuthority(
1308
- args: UpdateCertificateAuthorityCommandInput,
1309
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateCertificateAuthorityCommandOutput) => void),
1310
- cb?: (err: any, data?: UpdateCertificateAuthorityCommandOutput) => void
1311
- ): Promise<UpdateCertificateAuthorityCommandOutput> | void {
1312
- const command = new UpdateCertificateAuthorityCommand(args);
1313
- if (typeof optionsOrCb === "function") {
1314
- this.send(command, optionsOrCb);
1315
- } else if (typeof cb === "function") {
1316
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1317
- this.send(command, optionsOrCb || {}, cb);
1318
- } else {
1319
- return this.send(command, optionsOrCb);
1320
- }
1321
- }
1322
- }