@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
@@ -1,120 +0,0 @@
1
- import { ACMPCAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ACMPCAClient";
2
- import { CreatePermissionRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CreatePermissionCommand,
5
- serializeAws_json1_1CreatePermissionCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CreatePermissionCommandInput extends CreatePermissionRequest {}
21
- export interface CreatePermissionCommandOutput extends __MetadataBearer {}
22
-
23
- /**
24
- * <p>Grants one or more permissions on a private CA to the AWS Certificate Manager (ACM) service
25
- * principal (<code>acm.amazonaws.com</code>). These permissions allow ACM to issue and
26
- * renew ACM certificates that reside in the same AWS account as the CA.</p>
27
- * <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
28
- * revoke them with the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_DeletePermission.html">DeletePermission</a> action.</p>
29
- * <p class="title">
30
- * <b>About Permissions</b>
31
- * </p>
32
- * <ul>
33
- * <li>
34
- * <p>If the private CA and the certificates it issues reside in the same
35
- * account, you can use <code>CreatePermission</code> to grant permissions for ACM to
36
- * carry out automatic certificate renewals.</p>
37
- * </li>
38
- * <li>
39
- * <p>For automatic certificate renewal to succeed, the ACM service principal
40
- * needs permissions to create, retrieve, and list certificates.</p>
41
- * </li>
42
- * <li>
43
- * <p>If the private CA and the ACM certificates reside in different accounts,
44
- * then permissions cannot be used to enable automatic renewals. Instead,
45
- * the ACM certificate owner must set up a resource-based policy to enable
46
- * cross-account issuance and renewals. For more information, see
47
- * <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-rbp.html">Using a Resource
48
- * Based Policy with ACM Private CA</a>.</p>
49
- * </li>
50
- * </ul>
51
- * @example
52
- * Use a bare-bones client and the command you need to make an API call.
53
- * ```javascript
54
- * import { ACMPCAClient, CreatePermissionCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
55
- * // const { ACMPCAClient, CreatePermissionCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
56
- * const client = new ACMPCAClient(config);
57
- * const command = new CreatePermissionCommand(input);
58
- * const response = await client.send(command);
59
- * ```
60
- *
61
- * @see {@link CreatePermissionCommandInput} for command's `input` shape.
62
- * @see {@link CreatePermissionCommandOutput} for command's `response` shape.
63
- * @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
64
- *
65
- */
66
- export class CreatePermissionCommand extends $Command<
67
- CreatePermissionCommandInput,
68
- CreatePermissionCommandOutput,
69
- ACMPCAClientResolvedConfig
70
- > {
71
- // Start section: command_properties
72
- // End section: command_properties
73
-
74
- constructor(readonly input: CreatePermissionCommandInput) {
75
- // Start section: command_constructor
76
- super();
77
- // End section: command_constructor
78
- }
79
-
80
- /**
81
- * @internal
82
- */
83
- resolveMiddleware(
84
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
85
- configuration: ACMPCAClientResolvedConfig,
86
- options?: __HttpHandlerOptions
87
- ): Handler<CreatePermissionCommandInput, CreatePermissionCommandOutput> {
88
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
89
-
90
- const stack = clientStack.concat(this.middlewareStack);
91
-
92
- const { logger } = configuration;
93
- const clientName = "ACMPCAClient";
94
- const commandName = "CreatePermissionCommand";
95
- const handlerExecutionContext: HandlerExecutionContext = {
96
- logger,
97
- clientName,
98
- commandName,
99
- inputFilterSensitiveLog: CreatePermissionRequest.filterSensitiveLog,
100
- outputFilterSensitiveLog: (output: any) => output,
101
- };
102
- const { requestHandler } = configuration;
103
- return stack.resolve(
104
- (request: FinalizeHandlerArguments<any>) =>
105
- requestHandler.handle(request.request as __HttpRequest, options || {}),
106
- handlerExecutionContext
107
- );
108
- }
109
-
110
- private serialize(input: CreatePermissionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
111
- return serializeAws_json1_1CreatePermissionCommand(input, context);
112
- }
113
-
114
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreatePermissionCommandOutput> {
115
- return deserializeAws_json1_1CreatePermissionCommand(output, context);
116
- }
117
-
118
- // Start section: command_body_extra
119
- // End section: command_body_extra
120
- }
@@ -1,116 +0,0 @@
1
- import { ACMPCAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ACMPCAClient";
2
- import { DeleteCertificateAuthorityRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DeleteCertificateAuthorityCommand,
5
- serializeAws_json1_1DeleteCertificateAuthorityCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DeleteCertificateAuthorityCommandInput extends DeleteCertificateAuthorityRequest {}
21
- export interface DeleteCertificateAuthorityCommandOutput extends __MetadataBearer {}
22
-
23
- /**
24
- * <p>Deletes a private certificate authority (CA). You must provide the Amazon Resource
25
- * Name (ARN) of the private CA that you want to delete. You can find the ARN by calling
26
- * the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_ListCertificateAuthorities.html">ListCertificateAuthorities</a> action. </p>
27
- * <note>
28
- * <p>Deleting a CA will invalidate other CAs and certificates below it in your CA
29
- * hierarchy.</p>
30
- * </note>
31
- * <p>Before you can delete a CA that you have created and activated, you must disable it.
32
- * 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>
33
- * <p>Additionally, you can delete a CA if you are waiting for it to be created (that is,
34
- * the status of the CA is <code>CREATING</code>). You can also delete it if the CA has
35
- * been created but you haven't yet imported the signed certificate into ACM Private CA (that is,
36
- * the status of the CA is <code>PENDING_CERTIFICATE</code>). </p>
37
- * <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
38
- * <code>DELETED</code>. However, the CA won't be permanently deleted until the restoration
39
- * period has passed. By default, if you do not set the
40
- * <code>PermanentDeletionTimeInDays</code> parameter, the CA remains restorable for 30
41
- * 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
42
- * restoration window of a private CA in the <code>DELETED</code> state. To restore an
43
- * eligible CA, call the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_RestoreCertificateAuthority.html">RestoreCertificateAuthority</a> action.</p>
44
- * @example
45
- * Use a bare-bones client and the command you need to make an API call.
46
- * ```javascript
47
- * import { ACMPCAClient, DeleteCertificateAuthorityCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
48
- * // const { ACMPCAClient, DeleteCertificateAuthorityCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
49
- * const client = new ACMPCAClient(config);
50
- * const command = new DeleteCertificateAuthorityCommand(input);
51
- * const response = await client.send(command);
52
- * ```
53
- *
54
- * @see {@link DeleteCertificateAuthorityCommandInput} for command's `input` shape.
55
- * @see {@link DeleteCertificateAuthorityCommandOutput} for command's `response` shape.
56
- * @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
57
- *
58
- */
59
- export class DeleteCertificateAuthorityCommand extends $Command<
60
- DeleteCertificateAuthorityCommandInput,
61
- DeleteCertificateAuthorityCommandOutput,
62
- ACMPCAClientResolvedConfig
63
- > {
64
- // Start section: command_properties
65
- // End section: command_properties
66
-
67
- constructor(readonly input: DeleteCertificateAuthorityCommandInput) {
68
- // Start section: command_constructor
69
- super();
70
- // End section: command_constructor
71
- }
72
-
73
- /**
74
- * @internal
75
- */
76
- resolveMiddleware(
77
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
78
- configuration: ACMPCAClientResolvedConfig,
79
- options?: __HttpHandlerOptions
80
- ): Handler<DeleteCertificateAuthorityCommandInput, DeleteCertificateAuthorityCommandOutput> {
81
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
82
-
83
- const stack = clientStack.concat(this.middlewareStack);
84
-
85
- const { logger } = configuration;
86
- const clientName = "ACMPCAClient";
87
- const commandName = "DeleteCertificateAuthorityCommand";
88
- const handlerExecutionContext: HandlerExecutionContext = {
89
- logger,
90
- clientName,
91
- commandName,
92
- inputFilterSensitiveLog: DeleteCertificateAuthorityRequest.filterSensitiveLog,
93
- outputFilterSensitiveLog: (output: any) => output,
94
- };
95
- const { requestHandler } = configuration;
96
- return stack.resolve(
97
- (request: FinalizeHandlerArguments<any>) =>
98
- requestHandler.handle(request.request as __HttpRequest, options || {}),
99
- handlerExecutionContext
100
- );
101
- }
102
-
103
- private serialize(input: DeleteCertificateAuthorityCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
104
- return serializeAws_json1_1DeleteCertificateAuthorityCommand(input, context);
105
- }
106
-
107
- private deserialize(
108
- output: __HttpResponse,
109
- context: __SerdeContext
110
- ): Promise<DeleteCertificateAuthorityCommandOutput> {
111
- return deserializeAws_json1_1DeleteCertificateAuthorityCommand(output, context);
112
- }
113
-
114
- // Start section: command_body_extra
115
- // End section: command_body_extra
116
- }
@@ -1,122 +0,0 @@
1
- import { ACMPCAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ACMPCAClient";
2
- import { DeletePermissionRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DeletePermissionCommand,
5
- serializeAws_json1_1DeletePermissionCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DeletePermissionCommandInput extends DeletePermissionRequest {}
21
- export interface DeletePermissionCommandOutput extends __MetadataBearer {}
22
-
23
- /**
24
- * <p>Revokes permissions on a private CA granted to the AWS Certificate Manager (ACM) service principal
25
- * (acm.amazonaws.com). </p>
26
- * <p>These permissions allow ACM to issue and renew ACM certificates that reside in the
27
- * same AWS account as the CA. If you revoke these permissions, ACM will no longer
28
- * renew the affected certificates automatically.</p>
29
- * <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
30
- * listed with the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_ListPermissions.html">ListPermissions</a> action. </p>
31
- * <p class="title">
32
- * <b>About Permissions</b>
33
- * </p>
34
- * <ul>
35
- * <li>
36
- * <p>If the private CA and the certificates it issues reside in the same
37
- * account, you can use <code>CreatePermission</code> to grant permissions for ACM to
38
- * carry out automatic certificate renewals.</p>
39
- * </li>
40
- * <li>
41
- * <p>For automatic certificate renewal to succeed, the ACM service principal
42
- * needs permissions to create, retrieve, and list certificates.</p>
43
- * </li>
44
- * <li>
45
- * <p>If the private CA and the ACM certificates reside in different accounts,
46
- * then permissions cannot be used to enable automatic renewals. Instead,
47
- * the ACM certificate owner must set up a resource-based policy to enable
48
- * cross-account issuance and renewals. For more information, see
49
- * <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-rbp.html">Using a Resource
50
- * Based Policy with ACM Private CA</a>.</p>
51
- * </li>
52
- * </ul>
53
- * @example
54
- * Use a bare-bones client and the command you need to make an API call.
55
- * ```javascript
56
- * import { ACMPCAClient, DeletePermissionCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
57
- * // const { ACMPCAClient, DeletePermissionCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
58
- * const client = new ACMPCAClient(config);
59
- * const command = new DeletePermissionCommand(input);
60
- * const response = await client.send(command);
61
- * ```
62
- *
63
- * @see {@link DeletePermissionCommandInput} for command's `input` shape.
64
- * @see {@link DeletePermissionCommandOutput} for command's `response` shape.
65
- * @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
66
- *
67
- */
68
- export class DeletePermissionCommand extends $Command<
69
- DeletePermissionCommandInput,
70
- DeletePermissionCommandOutput,
71
- ACMPCAClientResolvedConfig
72
- > {
73
- // Start section: command_properties
74
- // End section: command_properties
75
-
76
- constructor(readonly input: DeletePermissionCommandInput) {
77
- // Start section: command_constructor
78
- super();
79
- // End section: command_constructor
80
- }
81
-
82
- /**
83
- * @internal
84
- */
85
- resolveMiddleware(
86
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
87
- configuration: ACMPCAClientResolvedConfig,
88
- options?: __HttpHandlerOptions
89
- ): Handler<DeletePermissionCommandInput, DeletePermissionCommandOutput> {
90
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
91
-
92
- const stack = clientStack.concat(this.middlewareStack);
93
-
94
- const { logger } = configuration;
95
- const clientName = "ACMPCAClient";
96
- const commandName = "DeletePermissionCommand";
97
- const handlerExecutionContext: HandlerExecutionContext = {
98
- logger,
99
- clientName,
100
- commandName,
101
- inputFilterSensitiveLog: DeletePermissionRequest.filterSensitiveLog,
102
- outputFilterSensitiveLog: (output: any) => output,
103
- };
104
- const { requestHandler } = configuration;
105
- return stack.resolve(
106
- (request: FinalizeHandlerArguments<any>) =>
107
- requestHandler.handle(request.request as __HttpRequest, options || {}),
108
- handlerExecutionContext
109
- );
110
- }
111
-
112
- private serialize(input: DeletePermissionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
113
- return serializeAws_json1_1DeletePermissionCommand(input, context);
114
- }
115
-
116
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeletePermissionCommandOutput> {
117
- return deserializeAws_json1_1DeletePermissionCommand(output, context);
118
- }
119
-
120
- // Start section: command_body_extra
121
- // End section: command_body_extra
122
- }
@@ -1,128 +0,0 @@
1
- import { ACMPCAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ACMPCAClient";
2
- import { DeletePolicyRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DeletePolicyCommand,
5
- serializeAws_json1_1DeletePolicyCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DeletePolicyCommandInput extends DeletePolicyRequest {}
21
- export interface DeletePolicyCommandOutput extends __MetadataBearer {}
22
-
23
- /**
24
- * <p>Deletes the resource-based policy attached to a private CA. Deletion will remove any
25
- * access that the policy has granted. If there is no policy attached to the private CA,
26
- * this action will return successful.</p>
27
- * <p>If you delete a policy that was applied through AWS Resource Access Manager (RAM), the
28
- * CA will be removed from all shares in which it was included. </p>
29
- * <p>The AWS Certificate Manager Service Linked Role that the policy supports is not affected when you
30
- * delete the policy. </p>
31
- * <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>
32
- * <p class="title">
33
- * <b>About Policies</b>
34
- * </p>
35
- * <ul>
36
- * <li>
37
- * <p>A policy grants access on a private CA to an AWS customer account, to AWS Organizations, or to
38
- * an AWS Organizations unit. Policies are under the control of a CA administrator. For more information,
39
- * 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>
40
- * </li>
41
- * <li>
42
- * <p>A policy permits a user of AWS Certificate Manager (ACM) to issue ACM certificates
43
- * signed by a CA in another account.</p>
44
- * </li>
45
- * <li>
46
- * <p>For ACM to manage automatic renewal of these certificates,
47
- * the ACM user must configure a Service Linked Role (SLR). The SLR allows
48
- * the ACM service to assume the identity of the user, subject to confirmation against the
49
- * ACM Private CA policy. For more information, see
50
- * <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-slr.html">Using a
51
- * Service Linked Role with ACM</a>.</p>
52
- * </li>
53
- * <li>
54
- * <p>Updates made in AWS Resource Manager (RAM) are reflected in policies. For more information,
55
- * see <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-ram.html">Attach a Policy for Cross-Account
56
- * Access</a>.</p>
57
- * </li>
58
- * </ul>
59
- * @example
60
- * Use a bare-bones client and the command you need to make an API call.
61
- * ```javascript
62
- * import { ACMPCAClient, DeletePolicyCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
63
- * // const { ACMPCAClient, DeletePolicyCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
64
- * const client = new ACMPCAClient(config);
65
- * const command = new DeletePolicyCommand(input);
66
- * const response = await client.send(command);
67
- * ```
68
- *
69
- * @see {@link DeletePolicyCommandInput} for command's `input` shape.
70
- * @see {@link DeletePolicyCommandOutput} for command's `response` shape.
71
- * @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
72
- *
73
- */
74
- export class DeletePolicyCommand extends $Command<
75
- DeletePolicyCommandInput,
76
- DeletePolicyCommandOutput,
77
- ACMPCAClientResolvedConfig
78
- > {
79
- // Start section: command_properties
80
- // End section: command_properties
81
-
82
- constructor(readonly input: DeletePolicyCommandInput) {
83
- // Start section: command_constructor
84
- super();
85
- // End section: command_constructor
86
- }
87
-
88
- /**
89
- * @internal
90
- */
91
- resolveMiddleware(
92
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
93
- configuration: ACMPCAClientResolvedConfig,
94
- options?: __HttpHandlerOptions
95
- ): Handler<DeletePolicyCommandInput, DeletePolicyCommandOutput> {
96
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
97
-
98
- const stack = clientStack.concat(this.middlewareStack);
99
-
100
- const { logger } = configuration;
101
- const clientName = "ACMPCAClient";
102
- const commandName = "DeletePolicyCommand";
103
- const handlerExecutionContext: HandlerExecutionContext = {
104
- logger,
105
- clientName,
106
- commandName,
107
- inputFilterSensitiveLog: DeletePolicyRequest.filterSensitiveLog,
108
- outputFilterSensitiveLog: (output: any) => output,
109
- };
110
- const { requestHandler } = configuration;
111
- return stack.resolve(
112
- (request: FinalizeHandlerArguments<any>) =>
113
- requestHandler.handle(request.request as __HttpRequest, options || {}),
114
- handlerExecutionContext
115
- );
116
- }
117
-
118
- private serialize(input: DeletePolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
119
- return serializeAws_json1_1DeletePolicyCommand(input, context);
120
- }
121
-
122
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeletePolicyCommandOutput> {
123
- return deserializeAws_json1_1DeletePolicyCommand(output, context);
124
- }
125
-
126
- // Start section: command_body_extra
127
- // End section: command_body_extra
128
- }
@@ -1,112 +0,0 @@
1
- import { ACMPCAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ACMPCAClient";
2
- import {
3
- DescribeCertificateAuthorityAuditReportRequest,
4
- DescribeCertificateAuthorityAuditReportResponse,
5
- } from "../models/models_0";
6
- import {
7
- deserializeAws_json1_1DescribeCertificateAuthorityAuditReportCommand,
8
- serializeAws_json1_1DescribeCertificateAuthorityAuditReportCommand,
9
- } from "../protocols/Aws_json1_1";
10
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
11
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
12
- import { Command as $Command } from "@aws-sdk/smithy-client";
13
- import {
14
- FinalizeHandlerArguments,
15
- Handler,
16
- HandlerExecutionContext,
17
- MiddlewareStack,
18
- HttpHandlerOptions as __HttpHandlerOptions,
19
- MetadataBearer as __MetadataBearer,
20
- SerdeContext as __SerdeContext,
21
- } from "@aws-sdk/types";
22
-
23
- export interface DescribeCertificateAuthorityAuditReportCommandInput
24
- extends DescribeCertificateAuthorityAuditReportRequest {}
25
- export interface DescribeCertificateAuthorityAuditReportCommandOutput
26
- extends DescribeCertificateAuthorityAuditReportResponse,
27
- __MetadataBearer {}
28
-
29
- /**
30
- * <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
31
- * every time the certificate authority (CA) private key is used. The private key is used
32
- * when you call the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_IssueCertificate.html">IssueCertificate</a> action or the
33
- * <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_RevokeCertificate.html">RevokeCertificate</a> action. </p>
34
- * @example
35
- * Use a bare-bones client and the command you need to make an API call.
36
- * ```javascript
37
- * import { ACMPCAClient, DescribeCertificateAuthorityAuditReportCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
38
- * // const { ACMPCAClient, DescribeCertificateAuthorityAuditReportCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
39
- * const client = new ACMPCAClient(config);
40
- * const command = new DescribeCertificateAuthorityAuditReportCommand(input);
41
- * const response = await client.send(command);
42
- * ```
43
- *
44
- * @see {@link DescribeCertificateAuthorityAuditReportCommandInput} for command's `input` shape.
45
- * @see {@link DescribeCertificateAuthorityAuditReportCommandOutput} for command's `response` shape.
46
- * @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
47
- *
48
- */
49
- export class DescribeCertificateAuthorityAuditReportCommand extends $Command<
50
- DescribeCertificateAuthorityAuditReportCommandInput,
51
- DescribeCertificateAuthorityAuditReportCommandOutput,
52
- ACMPCAClientResolvedConfig
53
- > {
54
- // Start section: command_properties
55
- // End section: command_properties
56
-
57
- constructor(readonly input: DescribeCertificateAuthorityAuditReportCommandInput) {
58
- // Start section: command_constructor
59
- super();
60
- // End section: command_constructor
61
- }
62
-
63
- /**
64
- * @internal
65
- */
66
- resolveMiddleware(
67
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
68
- configuration: ACMPCAClientResolvedConfig,
69
- options?: __HttpHandlerOptions
70
- ): Handler<
71
- DescribeCertificateAuthorityAuditReportCommandInput,
72
- DescribeCertificateAuthorityAuditReportCommandOutput
73
- > {
74
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
75
-
76
- const stack = clientStack.concat(this.middlewareStack);
77
-
78
- const { logger } = configuration;
79
- const clientName = "ACMPCAClient";
80
- const commandName = "DescribeCertificateAuthorityAuditReportCommand";
81
- const handlerExecutionContext: HandlerExecutionContext = {
82
- logger,
83
- clientName,
84
- commandName,
85
- inputFilterSensitiveLog: DescribeCertificateAuthorityAuditReportRequest.filterSensitiveLog,
86
- outputFilterSensitiveLog: DescribeCertificateAuthorityAuditReportResponse.filterSensitiveLog,
87
- };
88
- const { requestHandler } = configuration;
89
- return stack.resolve(
90
- (request: FinalizeHandlerArguments<any>) =>
91
- requestHandler.handle(request.request as __HttpRequest, options || {}),
92
- handlerExecutionContext
93
- );
94
- }
95
-
96
- private serialize(
97
- input: DescribeCertificateAuthorityAuditReportCommandInput,
98
- context: __SerdeContext
99
- ): Promise<__HttpRequest> {
100
- return serializeAws_json1_1DescribeCertificateAuthorityAuditReportCommand(input, context);
101
- }
102
-
103
- private deserialize(
104
- output: __HttpResponse,
105
- context: __SerdeContext
106
- ): Promise<DescribeCertificateAuthorityAuditReportCommandOutput> {
107
- return deserializeAws_json1_1DescribeCertificateAuthorityAuditReportCommand(output, context);
108
- }
109
-
110
- // Start section: command_body_extra
111
- // End section: command_body_extra
112
- }