@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,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
- const endpoints_1 = require("./endpoints");
5
4
  const url_parser_1 = require("@aws-sdk/url-parser");
5
+ const endpoints_1 = require("./endpoints");
6
6
  /**
7
7
  * @internal
8
8
  */
@@ -18,4 +18,3 @@ const getRuntimeConfig = (config) => {
18
18
  });
19
19
  };
20
20
  exports.getRuntimeConfig = getRuntimeConfig;
21
- //# sourceMappingURL=runtimeConfig.shared.js.map
@@ -1,15 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.waitUntilAuditReportCreated = exports.waitForAuditReportCreated = void 0;
4
- const DescribeCertificateAuthorityAuditReportCommand_1 = require("../commands/DescribeCertificateAuthorityAuditReportCommand");
5
4
  const util_waiter_1 = require("@aws-sdk/util-waiter");
5
+ const DescribeCertificateAuthorityAuditReportCommand_1 = require("../commands/DescribeCertificateAuthorityAuditReportCommand");
6
6
  const checkState = async (client, input) => {
7
7
  let reason;
8
8
  try {
9
- let result = await client.send(new DescribeCertificateAuthorityAuditReportCommand_1.DescribeCertificateAuthorityAuditReportCommand(input));
9
+ const result = await client.send(new DescribeCertificateAuthorityAuditReportCommand_1.DescribeCertificateAuthorityAuditReportCommand(input));
10
10
  reason = result;
11
11
  try {
12
- let returnComparator = () => {
12
+ const returnComparator = () => {
13
13
  return result.AuditReportStatus;
14
14
  };
15
15
  if (returnComparator() === "SUCCESS") {
@@ -18,7 +18,7 @@ const checkState = async (client, input) => {
18
18
  }
19
19
  catch (e) { }
20
20
  try {
21
- let returnComparator = () => {
21
+ const returnComparator = () => {
22
22
  return result.AuditReportStatus;
23
23
  };
24
24
  if (returnComparator() === "FAILED") {
@@ -52,4 +52,3 @@ const waitUntilAuditReportCreated = async (params, input) => {
52
52
  return util_waiter_1.checkExceptions(result);
53
53
  };
54
54
  exports.waitUntilAuditReportCreated = waitUntilAuditReportCreated;
55
- //# sourceMappingURL=waitForAuditReportCreated.js.map
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.waitUntilCertificateAuthorityCSRCreated = exports.waitForCertificateAuthorityCSRCreated = void 0;
4
- const GetCertificateAuthorityCsrCommand_1 = require("../commands/GetCertificateAuthorityCsrCommand");
5
4
  const util_waiter_1 = require("@aws-sdk/util-waiter");
5
+ const GetCertificateAuthorityCsrCommand_1 = require("../commands/GetCertificateAuthorityCsrCommand");
6
6
  const checkState = async (client, input) => {
7
7
  let reason;
8
8
  try {
9
- let result = await client.send(new GetCertificateAuthorityCsrCommand_1.GetCertificateAuthorityCsrCommand(input));
9
+ const result = await client.send(new GetCertificateAuthorityCsrCommand_1.GetCertificateAuthorityCsrCommand(input));
10
10
  reason = result;
11
11
  return { state: util_waiter_1.WaiterState.SUCCESS, reason };
12
12
  }
@@ -38,4 +38,3 @@ const waitUntilCertificateAuthorityCSRCreated = async (params, input) => {
38
38
  return util_waiter_1.checkExceptions(result);
39
39
  };
40
40
  exports.waitUntilCertificateAuthorityCSRCreated = waitUntilCertificateAuthorityCSRCreated;
41
- //# sourceMappingURL=waitForCertificateAuthorityCSRCreated.js.map
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.waitUntilCertificateIssued = exports.waitForCertificateIssued = void 0;
4
- const GetCertificateCommand_1 = require("../commands/GetCertificateCommand");
5
4
  const util_waiter_1 = require("@aws-sdk/util-waiter");
5
+ const GetCertificateCommand_1 = require("../commands/GetCertificateCommand");
6
6
  const checkState = async (client, input) => {
7
7
  let reason;
8
8
  try {
9
- let result = await client.send(new GetCertificateCommand_1.GetCertificateCommand(input));
9
+ const result = await client.send(new GetCertificateCommand_1.GetCertificateCommand(input));
10
10
  reason = result;
11
11
  return { state: util_waiter_1.WaiterState.SUCCESS, reason };
12
12
  }
@@ -38,4 +38,3 @@ const waitUntilCertificateIssued = async (params, input) => {
38
38
  return util_waiter_1.checkExceptions(result);
39
39
  };
40
40
  exports.waitUntilCertificateIssued = waitUntilCertificateIssued;
41
- //# sourceMappingURL=waitForCertificateIssued.js.map
@@ -23,27 +23,7 @@ import { RevokeCertificateCommand, } from "./commands/RevokeCertificateCommand";
23
23
  import { TagCertificateAuthorityCommand, } from "./commands/TagCertificateAuthorityCommand";
24
24
  import { UntagCertificateAuthorityCommand, } from "./commands/UntagCertificateAuthorityCommand";
25
25
  import { UpdateCertificateAuthorityCommand, } from "./commands/UpdateCertificateAuthorityCommand";
26
- /**
27
- * <p>This is the <i>ACM Private CA API Reference</i>. It provides descriptions,
28
- * syntax, and usage examples for each of the actions and data types involved in creating
29
- * and managing private certificate authorities (CA) for your organization.</p>
30
- * <p>The documentation for each action shows the Query API request parameters and the XML
31
- * response. Alternatively, you can use one of the AWS SDKs to access an API that's
32
- * tailored to the programming language or platform that you're using. For more
33
- * information, see <a href="https://aws.amazon.com/tools/#SDKs">AWS
34
- * SDKs</a>.</p>
35
- * <p>Each ACM Private CA API operation has a quota that determines the number of times the operation
36
- * can be called per second. ACM Private CA throttles API requests at different rates depending
37
- * on the operation. Throttling means that ACM Private CA rejects an otherwise valid request
38
- * because the request exceeds the operation's quota for the number of requests per second.
39
- * 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
40
- * rate for APIs. </p>
41
- *
42
- * <p>To see an up-to-date list of your ACM Private CA quotas, or to request a quota increase,
43
- * log into your AWS account and visit the <a href="https://console.aws.amazon.com/servicequotas/">Service Quotas</a>
44
- * console.</p>
45
- */
46
- var ACMPCA = /** @class */ (function (_super) {
26
+ var ACMPCA = (function (_super) {
47
27
  __extends(ACMPCA, _super);
48
28
  function ACMPCA() {
49
29
  return _super !== null && _super.apply(this, arguments) || this;
@@ -373,4 +353,3 @@ var ACMPCA = /** @class */ (function (_super) {
373
353
  return ACMPCA;
374
354
  }(ACMPCAClient));
375
355
  export { ACMPCA };
376
- //# sourceMappingURL=ACMPCA.js.map
@@ -1,5 +1,4 @@
1
1
  import { __extends } from "tslib";
2
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
3
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
4
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
5
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,27 +7,8 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
8
7
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
- /**
12
- * <p>This is the <i>ACM Private CA API Reference</i>. It provides descriptions,
13
- * syntax, and usage examples for each of the actions and data types involved in creating
14
- * and managing private certificate authorities (CA) for your organization.</p>
15
- * <p>The documentation for each action shows the Query API request parameters and the XML
16
- * response. Alternatively, you can use one of the AWS SDKs to access an API that's
17
- * tailored to the programming language or platform that you're using. For more
18
- * information, see <a href="https://aws.amazon.com/tools/#SDKs">AWS
19
- * SDKs</a>.</p>
20
- * <p>Each ACM Private CA API operation has a quota that determines the number of times the operation
21
- * can be called per second. ACM Private CA throttles API requests at different rates depending
22
- * on the operation. Throttling means that ACM Private CA rejects an otherwise valid request
23
- * because the request exceeds the operation's quota for the number of requests per second.
24
- * 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
25
- * rate for APIs. </p>
26
- *
27
- * <p>To see an up-to-date list of your ACM Private CA quotas, or to request a quota increase,
28
- * log into your AWS account and visit the <a href="https://console.aws.amazon.com/servicequotas/">Service Quotas</a>
29
- * console.</p>
30
- */
31
- var ACMPCAClient = /** @class */ (function (_super) {
10
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
+ var ACMPCAClient = (function (_super) {
32
12
  __extends(ACMPCAClient, _super);
33
13
  function ACMPCAClient(configuration) {
34
14
  var _this = this;
@@ -49,15 +29,9 @@ var ACMPCAClient = /** @class */ (function (_super) {
49
29
  _this.middlewareStack.use(getUserAgentPlugin(_this.config));
50
30
  return _this;
51
31
  }
52
- /**
53
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
54
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
55
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
56
- */
57
32
  ACMPCAClient.prototype.destroy = function () {
58
33
  _super.prototype.destroy.call(this);
59
34
  };
60
35
  return ACMPCAClient;
61
36
  }(__Client));
62
37
  export { ACMPCAClient };
63
- //# sourceMappingURL=ACMPCAClient.js.map
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreateCertificateAuthorityAuditReportRequest, CreateCertificateAuthorityAuditReportResponse, } from "../models/models_0";
5
+ import { deserializeAws_json1_1CreateCertificateAuthorityAuditReportCommand, serializeAws_json1_1CreateCertificateAuthorityAuditReportCommand, } from "../protocols/Aws_json1_1";
6
+ var CreateCertificateAuthorityAuditReportCommand = (function (_super) {
7
+ __extends(CreateCertificateAuthorityAuditReportCommand, _super);
8
+ function CreateCertificateAuthorityAuditReportCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ CreateCertificateAuthorityAuditReportCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ACMPCAClient";
18
+ var commandName = "CreateCertificateAuthorityAuditReportCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: CreateCertificateAuthorityAuditReportRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: CreateCertificateAuthorityAuditReportResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateCertificateAuthorityAuditReportCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1CreateCertificateAuthorityAuditReportCommand(input, context);
33
+ };
34
+ CreateCertificateAuthorityAuditReportCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1CreateCertificateAuthorityAuditReportCommand(output, context);
36
+ };
37
+ return CreateCertificateAuthorityAuditReportCommand;
38
+ }($Command));
39
+ export { CreateCertificateAuthorityAuditReportCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreateCertificateAuthorityRequest, CreateCertificateAuthorityResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1CreateCertificateAuthorityCommand, serializeAws_json1_1CreateCertificateAuthorityCommand, } from "../protocols/Aws_json1_1";
6
+ var CreateCertificateAuthorityCommand = (function (_super) {
7
+ __extends(CreateCertificateAuthorityCommand, _super);
8
+ function CreateCertificateAuthorityCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ CreateCertificateAuthorityCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ACMPCAClient";
18
+ var commandName = "CreateCertificateAuthorityCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: CreateCertificateAuthorityRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: CreateCertificateAuthorityResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateCertificateAuthorityCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1CreateCertificateAuthorityCommand(input, context);
33
+ };
34
+ CreateCertificateAuthorityCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1CreateCertificateAuthorityCommand(output, context);
36
+ };
37
+ return CreateCertificateAuthorityCommand;
38
+ }($Command));
39
+ export { CreateCertificateAuthorityCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreatePermissionRequest } from "../models/models_0";
5
+ import { deserializeAws_json1_1CreatePermissionCommand, serializeAws_json1_1CreatePermissionCommand, } from "../protocols/Aws_json1_1";
6
+ var CreatePermissionCommand = (function (_super) {
7
+ __extends(CreatePermissionCommand, _super);
8
+ function CreatePermissionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ CreatePermissionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ACMPCAClient";
18
+ var commandName = "CreatePermissionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: CreatePermissionRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: function (output) { return output; },
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreatePermissionCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1CreatePermissionCommand(input, context);
33
+ };
34
+ CreatePermissionCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1CreatePermissionCommand(output, context);
36
+ };
37
+ return CreatePermissionCommand;
38
+ }($Command));
39
+ export { CreatePermissionCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DeleteCertificateAuthorityRequest } from "../models/models_0";
5
+ import { deserializeAws_json1_1DeleteCertificateAuthorityCommand, serializeAws_json1_1DeleteCertificateAuthorityCommand, } from "../protocols/Aws_json1_1";
6
+ var DeleteCertificateAuthorityCommand = (function (_super) {
7
+ __extends(DeleteCertificateAuthorityCommand, _super);
8
+ function DeleteCertificateAuthorityCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DeleteCertificateAuthorityCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ACMPCAClient";
18
+ var commandName = "DeleteCertificateAuthorityCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DeleteCertificateAuthorityRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: function (output) { return output; },
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteCertificateAuthorityCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1DeleteCertificateAuthorityCommand(input, context);
33
+ };
34
+ DeleteCertificateAuthorityCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1DeleteCertificateAuthorityCommand(output, context);
36
+ };
37
+ return DeleteCertificateAuthorityCommand;
38
+ }($Command));
39
+ export { DeleteCertificateAuthorityCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DeletePermissionRequest } from "../models/models_0";
5
+ import { deserializeAws_json1_1DeletePermissionCommand, serializeAws_json1_1DeletePermissionCommand, } from "../protocols/Aws_json1_1";
6
+ var DeletePermissionCommand = (function (_super) {
7
+ __extends(DeletePermissionCommand, _super);
8
+ function DeletePermissionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DeletePermissionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ACMPCAClient";
18
+ var commandName = "DeletePermissionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DeletePermissionRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: function (output) { return output; },
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeletePermissionCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1DeletePermissionCommand(input, context);
33
+ };
34
+ DeletePermissionCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1DeletePermissionCommand(output, context);
36
+ };
37
+ return DeletePermissionCommand;
38
+ }($Command));
39
+ export { DeletePermissionCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DeletePolicyRequest } from "../models/models_0";
5
+ import { deserializeAws_json1_1DeletePolicyCommand, serializeAws_json1_1DeletePolicyCommand, } from "../protocols/Aws_json1_1";
6
+ var DeletePolicyCommand = (function (_super) {
7
+ __extends(DeletePolicyCommand, _super);
8
+ function DeletePolicyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DeletePolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ACMPCAClient";
18
+ var commandName = "DeletePolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DeletePolicyRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: function (output) { return output; },
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeletePolicyCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1DeletePolicyCommand(input, context);
33
+ };
34
+ DeletePolicyCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1DeletePolicyCommand(output, context);
36
+ };
37
+ return DeletePolicyCommand;
38
+ }($Command));
39
+ export { DeletePolicyCommand };
@@ -1,43 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { DescribeCertificateAuthorityAuditReportRequest, DescribeCertificateAuthorityAuditReportResponse, } from "../models/models_0";
3
- import { deserializeAws_json1_1DescribeCertificateAuthorityAuditReportCommand, serializeAws_json1_1DescribeCertificateAuthorityAuditReportCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <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
8
- * every time the certificate authority (CA) private key is used. The private key is used
9
- * when you call the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_IssueCertificate.html">IssueCertificate</a> action or the
10
- * <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_RevokeCertificate.html">RevokeCertificate</a> action. </p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { ACMPCAClient, DescribeCertificateAuthorityAuditReportCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
15
- * // const { ACMPCAClient, DescribeCertificateAuthorityAuditReportCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
16
- * const client = new ACMPCAClient(config);
17
- * const command = new DescribeCertificateAuthorityAuditReportCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DescribeCertificateAuthorityAuditReportCommandInput} for command's `input` shape.
22
- * @see {@link DescribeCertificateAuthorityAuditReportCommandOutput} for command's `response` shape.
23
- * @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
- var DescribeCertificateAuthorityAuditReportCommand = /** @class */ (function (_super) {
4
+ import { DescribeCertificateAuthorityAuditReportRequest, DescribeCertificateAuthorityAuditReportResponse, } from "../models/models_0";
5
+ import { deserializeAws_json1_1DescribeCertificateAuthorityAuditReportCommand, serializeAws_json1_1DescribeCertificateAuthorityAuditReportCommand, } from "../protocols/Aws_json1_1";
6
+ var DescribeCertificateAuthorityAuditReportCommand = (function (_super) {
27
7
  __extends(DescribeCertificateAuthorityAuditReportCommand, _super);
28
- // Start section: command_properties
29
- // End section: command_properties
30
8
  function DescribeCertificateAuthorityAuditReportCommand(input) {
31
- var _this =
32
- // Start section: command_constructor
33
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
34
10
  _this.input = input;
35
11
  return _this;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  DescribeCertificateAuthorityAuditReportCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
42
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -65,4 +37,3 @@ var DescribeCertificateAuthorityAuditReportCommand = /** @class */ (function (_s
65
37
  return DescribeCertificateAuthorityAuditReportCommand;
66
38
  }($Command));
67
39
  export { DescribeCertificateAuthorityAuditReportCommand };
68
- //# sourceMappingURL=DescribeCertificateAuthorityAuditReportCommand.js.map
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DescribeCertificateAuthorityRequest, DescribeCertificateAuthorityResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1DescribeCertificateAuthorityCommand, serializeAws_json1_1DescribeCertificateAuthorityCommand, } from "../protocols/Aws_json1_1";
6
+ var DescribeCertificateAuthorityCommand = (function (_super) {
7
+ __extends(DescribeCertificateAuthorityCommand, _super);
8
+ function DescribeCertificateAuthorityCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DescribeCertificateAuthorityCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ACMPCAClient";
18
+ var commandName = "DescribeCertificateAuthorityCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DescribeCertificateAuthorityRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: DescribeCertificateAuthorityResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeCertificateAuthorityCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1DescribeCertificateAuthorityCommand(input, context);
33
+ };
34
+ DescribeCertificateAuthorityCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1DescribeCertificateAuthorityCommand(output, context);
36
+ };
37
+ return DescribeCertificateAuthorityCommand;
38
+ }($Command));
39
+ export { DescribeCertificateAuthorityCommand };
@@ -1,43 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { GetCertificateAuthorityCertificateRequest, GetCertificateAuthorityCertificateResponse, } from "../models/models_0";
3
- import { deserializeAws_json1_1GetCertificateAuthorityCertificateCommand, serializeAws_json1_1GetCertificateAuthorityCertificateCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Retrieves the certificate and certificate chain for your private certificate authority
8
- * (CA) or one that has been shared with you. Both the certificate and the chain are base64
9
- * PEM-encoded. The chain does not include the CA certificate. Each certificate in the
10
- * chain signs the one before it. </p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { ACMPCAClient, GetCertificateAuthorityCertificateCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
15
- * // const { ACMPCAClient, GetCertificateAuthorityCertificateCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
16
- * const client = new ACMPCAClient(config);
17
- * const command = new GetCertificateAuthorityCertificateCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link GetCertificateAuthorityCertificateCommandInput} for command's `input` shape.
22
- * @see {@link GetCertificateAuthorityCertificateCommandOutput} for command's `response` shape.
23
- * @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
- var GetCertificateAuthorityCertificateCommand = /** @class */ (function (_super) {
4
+ import { GetCertificateAuthorityCertificateRequest, GetCertificateAuthorityCertificateResponse, } from "../models/models_0";
5
+ import { deserializeAws_json1_1GetCertificateAuthorityCertificateCommand, serializeAws_json1_1GetCertificateAuthorityCertificateCommand, } from "../protocols/Aws_json1_1";
6
+ var GetCertificateAuthorityCertificateCommand = (function (_super) {
27
7
  __extends(GetCertificateAuthorityCertificateCommand, _super);
28
- // Start section: command_properties
29
- // End section: command_properties
30
8
  function GetCertificateAuthorityCertificateCommand(input) {
31
- var _this =
32
- // Start section: command_constructor
33
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
34
10
  _this.input = input;
35
11
  return _this;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  GetCertificateAuthorityCertificateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
42
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -65,4 +37,3 @@ var GetCertificateAuthorityCertificateCommand = /** @class */ (function (_super)
65
37
  return GetCertificateAuthorityCertificateCommand;
66
38
  }($Command));
67
39
  export { GetCertificateAuthorityCertificateCommand };
68
- //# sourceMappingURL=GetCertificateAuthorityCertificateCommand.js.map
@@ -1,44 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { GetCertificateAuthorityCsrRequest, GetCertificateAuthorityCsrResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1GetCertificateAuthorityCsrCommand, serializeAws_json1_1GetCertificateAuthorityCsrCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Retrieves the certificate signing request (CSR) for your private certificate authority
8
- * (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
9
- * on-premises root or subordinate CA. Then import the signed certificate back into ACM Private CA
10
- * 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
11
- * base64 PEM-encoded string. </p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { ACMPCAClient, GetCertificateAuthorityCsrCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
16
- * // const { ACMPCAClient, GetCertificateAuthorityCsrCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
17
- * const client = new ACMPCAClient(config);
18
- * const command = new GetCertificateAuthorityCsrCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link GetCertificateAuthorityCsrCommandInput} for command's `input` shape.
23
- * @see {@link GetCertificateAuthorityCsrCommandOutput} for command's `response` shape.
24
- * @see {@link ACMPCAClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
- var GetCertificateAuthorityCsrCommand = /** @class */ (function (_super) {
4
+ import { GetCertificateAuthorityCsrRequest, GetCertificateAuthorityCsrResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1GetCertificateAuthorityCsrCommand, serializeAws_json1_1GetCertificateAuthorityCsrCommand, } from "../protocols/Aws_json1_1";
6
+ var GetCertificateAuthorityCsrCommand = (function (_super) {
28
7
  __extends(GetCertificateAuthorityCsrCommand, _super);
29
- // Start section: command_properties
30
- // End section: command_properties
31
8
  function GetCertificateAuthorityCsrCommand(input) {
32
- var _this =
33
- // Start section: command_constructor
34
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
35
10
  _this.input = input;
36
11
  return _this;
37
- // End section: command_constructor
38
12
  }
39
- /**
40
- * @internal
41
- */
42
13
  GetCertificateAuthorityCsrCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
43
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
44
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -66,4 +37,3 @@ var GetCertificateAuthorityCsrCommand = /** @class */ (function (_super) {
66
37
  return GetCertificateAuthorityCsrCommand;
67
38
  }($Command));
68
39
  export { GetCertificateAuthorityCsrCommand };
69
- //# sourceMappingURL=GetCertificateAuthorityCsrCommand.js.map