@volcengine/pca20251001 1.0.1

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 (365) hide show
  1. package/.turbo/turbo-build.log +19 -0
  2. package/LICENSE.txt +202 -0
  3. package/dist/cjs/index.js +315 -0
  4. package/dist/esm/api.d.ts +309 -0
  5. package/dist/esm/api.d.ts.map +1 -0
  6. package/dist/esm/index.d.ts +13 -0
  7. package/dist/esm/index.d.ts.map +1 -0
  8. package/dist/esm/index.mjs +203 -0
  9. package/dist/esm/types/certificate-for-get-leaf-instance-output.d.ts +45 -0
  10. package/dist/esm/types/certificate-for-get-leaf-instance-output.d.ts.map +1 -0
  11. package/dist/esm/types/certificate-for-get-root-instance-output.d.ts +45 -0
  12. package/dist/esm/types/certificate-for-get-root-instance-output.d.ts.map +1 -0
  13. package/dist/esm/types/certificate-for-get-sub-instance-output.d.ts +45 -0
  14. package/dist/esm/types/certificate-for-get-sub-instance-output.d.ts.map +1 -0
  15. package/dist/esm/types/contact-for-create-leaf-instance-input.d.ts +35 -0
  16. package/dist/esm/types/contact-for-create-leaf-instance-input.d.ts.map +1 -0
  17. package/dist/esm/types/contact-for-create-root-instance-input.d.ts +35 -0
  18. package/dist/esm/types/contact-for-create-root-instance-input.d.ts.map +1 -0
  19. package/dist/esm/types/contact-for-create-sub-instance-input.d.ts +35 -0
  20. package/dist/esm/types/contact-for-create-sub-instance-input.d.ts.map +1 -0
  21. package/dist/esm/types/contact-for-get-leaf-instance-output.d.ts +35 -0
  22. package/dist/esm/types/contact-for-get-leaf-instance-output.d.ts.map +1 -0
  23. package/dist/esm/types/contact-for-get-root-instance-output.d.ts +35 -0
  24. package/dist/esm/types/contact-for-get-root-instance-output.d.ts.map +1 -0
  25. package/dist/esm/types/contact-for-get-sub-instance-output.d.ts +35 -0
  26. package/dist/esm/types/contact-for-get-sub-instance-output.d.ts.map +1 -0
  27. package/dist/esm/types/contact-for-list-leaf-instances-output.d.ts +35 -0
  28. package/dist/esm/types/contact-for-list-leaf-instances-output.d.ts.map +1 -0
  29. package/dist/esm/types/contact-for-list-root-instances-output.d.ts +35 -0
  30. package/dist/esm/types/contact-for-list-root-instances-output.d.ts.map +1 -0
  31. package/dist/esm/types/contact-for-list-sub-instances-output.d.ts +35 -0
  32. package/dist/esm/types/contact-for-list-sub-instances-output.d.ts.map +1 -0
  33. package/dist/esm/types/create-leaf-instance-request.d.ts +114 -0
  34. package/dist/esm/types/create-leaf-instance-request.d.ts.map +1 -0
  35. package/dist/esm/types/create-leaf-instance-response.d.ts +60 -0
  36. package/dist/esm/types/create-leaf-instance-response.d.ts.map +1 -0
  37. package/dist/esm/types/create-root-instance-request.d.ts +125 -0
  38. package/dist/esm/types/create-root-instance-request.d.ts.map +1 -0
  39. package/dist/esm/types/create-root-instance-response.d.ts +30 -0
  40. package/dist/esm/types/create-root-instance-response.d.ts.map +1 -0
  41. package/dist/esm/types/create-sub-instance-request.d.ts +109 -0
  42. package/dist/esm/types/create-sub-instance-request.d.ts.map +1 -0
  43. package/dist/esm/types/create-sub-instance-response.d.ts +35 -0
  44. package/dist/esm/types/create-sub-instance-response.d.ts.map +1 -0
  45. package/dist/esm/types/csr-common-for-create-leaf-instance-input.d.ts +36 -0
  46. package/dist/esm/types/csr-common-for-create-leaf-instance-input.d.ts.map +1 -0
  47. package/dist/esm/types/csr-common-for-create-root-instance-input.d.ts +36 -0
  48. package/dist/esm/types/csr-common-for-create-root-instance-input.d.ts.map +1 -0
  49. package/dist/esm/types/csr-common-for-create-sub-instance-input.d.ts +36 -0
  50. package/dist/esm/types/csr-common-for-create-sub-instance-input.d.ts.map +1 -0
  51. package/dist/esm/types/custom-extensions-for-create-leaf-instance-input.d.ts +35 -0
  52. package/dist/esm/types/custom-extensions-for-create-leaf-instance-input.d.ts.map +1 -0
  53. package/dist/esm/types/custom-extensions-for-create-root-instance-input.d.ts +35 -0
  54. package/dist/esm/types/custom-extensions-for-create-root-instance-input.d.ts.map +1 -0
  55. package/dist/esm/types/custom-extensions-for-create-sub-instance-input.d.ts +35 -0
  56. package/dist/esm/types/custom-extensions-for-create-sub-instance-input.d.ts.map +1 -0
  57. package/dist/esm/types/delete-leaf-instance-request.d.ts +25 -0
  58. package/dist/esm/types/delete-leaf-instance-request.d.ts.map +1 -0
  59. package/dist/esm/types/delete-leaf-instance-response.d.ts +20 -0
  60. package/dist/esm/types/delete-leaf-instance-response.d.ts.map +1 -0
  61. package/dist/esm/types/delete-root-instance-request.d.ts +25 -0
  62. package/dist/esm/types/delete-root-instance-request.d.ts.map +1 -0
  63. package/dist/esm/types/delete-root-instance-response.d.ts +20 -0
  64. package/dist/esm/types/delete-root-instance-response.d.ts.map +1 -0
  65. package/dist/esm/types/delete-sub-instance-request.d.ts +25 -0
  66. package/dist/esm/types/delete-sub-instance-request.d.ts.map +1 -0
  67. package/dist/esm/types/delete-sub-instance-response.d.ts +20 -0
  68. package/dist/esm/types/delete-sub-instance-response.d.ts.map +1 -0
  69. package/dist/esm/types/deploy-info-for-list-leaf-instances-output.d.ts +26 -0
  70. package/dist/esm/types/deploy-info-for-list-leaf-instances-output.d.ts.map +1 -0
  71. package/dist/esm/types/deploy-info-for-list-root-instances-output.d.ts +26 -0
  72. package/dist/esm/types/deploy-info-for-list-root-instances-output.d.ts.map +1 -0
  73. package/dist/esm/types/deploy-info-for-list-sub-instances-output.d.ts +26 -0
  74. package/dist/esm/types/deploy-info-for-list-sub-instances-output.d.ts.map +1 -0
  75. package/dist/esm/types/deploy-summary-for-list-leaf-instances-output.d.ts +30 -0
  76. package/dist/esm/types/deploy-summary-for-list-leaf-instances-output.d.ts.map +1 -0
  77. package/dist/esm/types/deploy-summary-for-list-root-instances-output.d.ts +30 -0
  78. package/dist/esm/types/deploy-summary-for-list-root-instances-output.d.ts.map +1 -0
  79. package/dist/esm/types/deploy-summary-for-list-sub-instances-output.d.ts +30 -0
  80. package/dist/esm/types/deploy-summary-for-list-sub-instances-output.d.ts.map +1 -0
  81. package/dist/esm/types/disable-root-instance-request.d.ts +25 -0
  82. package/dist/esm/types/disable-root-instance-request.d.ts.map +1 -0
  83. package/dist/esm/types/disable-root-instance-response.d.ts +20 -0
  84. package/dist/esm/types/disable-root-instance-response.d.ts.map +1 -0
  85. package/dist/esm/types/disable-sub-instance-request.d.ts +25 -0
  86. package/dist/esm/types/disable-sub-instance-request.d.ts.map +1 -0
  87. package/dist/esm/types/disable-sub-instance-response.d.ts +20 -0
  88. package/dist/esm/types/disable-sub-instance-response.d.ts.map +1 -0
  89. package/dist/esm/types/download-leaf-instance-request.d.ts +40 -0
  90. package/dist/esm/types/download-leaf-instance-request.d.ts.map +1 -0
  91. package/dist/esm/types/download-leaf-instance-response.d.ts +50 -0
  92. package/dist/esm/types/download-leaf-instance-response.d.ts.map +1 -0
  93. package/dist/esm/types/enable-root-instance-request.d.ts +25 -0
  94. package/dist/esm/types/enable-root-instance-request.d.ts.map +1 -0
  95. package/dist/esm/types/enable-root-instance-response.d.ts +20 -0
  96. package/dist/esm/types/enable-root-instance-response.d.ts.map +1 -0
  97. package/dist/esm/types/enable-sub-instance-request.d.ts +25 -0
  98. package/dist/esm/types/enable-sub-instance-request.d.ts.map +1 -0
  99. package/dist/esm/types/enable-sub-instance-response.d.ts +20 -0
  100. package/dist/esm/types/enable-sub-instance-response.d.ts.map +1 -0
  101. package/dist/esm/types/extended-key-usages-for-create-leaf-instance-input.d.ts +50 -0
  102. package/dist/esm/types/extended-key-usages-for-create-leaf-instance-input.d.ts.map +1 -0
  103. package/dist/esm/types/extended-key-usages-for-create-root-instance-input.d.ts +50 -0
  104. package/dist/esm/types/extended-key-usages-for-create-root-instance-input.d.ts.map +1 -0
  105. package/dist/esm/types/extended-key-usages-for-create-sub-instance-input.d.ts +50 -0
  106. package/dist/esm/types/extended-key-usages-for-create-sub-instance-input.d.ts.map +1 -0
  107. package/dist/esm/types/extension-for-get-leaf-instance-output.d.ts +26 -0
  108. package/dist/esm/types/extension-for-get-leaf-instance-output.d.ts.map +1 -0
  109. package/dist/esm/types/extensions-for-create-leaf-instance-input.d.ts +38 -0
  110. package/dist/esm/types/extensions-for-create-leaf-instance-input.d.ts.map +1 -0
  111. package/dist/esm/types/extensions-for-create-root-instance-input.d.ts +38 -0
  112. package/dist/esm/types/extensions-for-create-root-instance-input.d.ts.map +1 -0
  113. package/dist/esm/types/extensions-for-create-sub-instance-input.d.ts +38 -0
  114. package/dist/esm/types/extensions-for-create-sub-instance-input.d.ts.map +1 -0
  115. package/dist/esm/types/get-leaf-instance-request.d.ts +25 -0
  116. package/dist/esm/types/get-leaf-instance-request.d.ts.map +1 -0
  117. package/dist/esm/types/get-leaf-instance-response.d.ts +130 -0
  118. package/dist/esm/types/get-leaf-instance-response.d.ts.map +1 -0
  119. package/dist/esm/types/get-quota-detail-request.d.ts +25 -0
  120. package/dist/esm/types/get-quota-detail-request.d.ts.map +1 -0
  121. package/dist/esm/types/get-quota-detail-response.d.ts +25 -0
  122. package/dist/esm/types/get-quota-detail-response.d.ts.map +1 -0
  123. package/dist/esm/types/get-root-instance-request.d.ts +25 -0
  124. package/dist/esm/types/get-root-instance-request.d.ts.map +1 -0
  125. package/dist/esm/types/get-root-instance-response.d.ts +114 -0
  126. package/dist/esm/types/get-root-instance-response.d.ts.map +1 -0
  127. package/dist/esm/types/get-sub-instance-request.d.ts +25 -0
  128. package/dist/esm/types/get-sub-instance-request.d.ts.map +1 -0
  129. package/dist/esm/types/get-sub-instance-response.d.ts +119 -0
  130. package/dist/esm/types/get-sub-instance-response.d.ts.map +1 -0
  131. package/dist/esm/types/index.d.ts +117 -0
  132. package/dist/esm/types/index.d.ts.map +1 -0
  133. package/dist/esm/types/key-usages-for-create-leaf-instance-input.d.ts +65 -0
  134. package/dist/esm/types/key-usages-for-create-leaf-instance-input.d.ts.map +1 -0
  135. package/dist/esm/types/key-usages-for-create-root-instance-input.d.ts +65 -0
  136. package/dist/esm/types/key-usages-for-create-root-instance-input.d.ts.map +1 -0
  137. package/dist/esm/types/key-usages-for-create-sub-instance-input.d.ts +65 -0
  138. package/dist/esm/types/key-usages-for-create-sub-instance-input.d.ts.map +1 -0
  139. package/dist/esm/types/list-leaf-instances-request.d.ts +66 -0
  140. package/dist/esm/types/list-leaf-instances-request.d.ts.map +1 -0
  141. package/dist/esm/types/list-leaf-instances-response.d.ts +41 -0
  142. package/dist/esm/types/list-leaf-instances-response.d.ts.map +1 -0
  143. package/dist/esm/types/list-root-instances-request.d.ts +61 -0
  144. package/dist/esm/types/list-root-instances-request.d.ts.map +1 -0
  145. package/dist/esm/types/list-root-instances-response.d.ts +41 -0
  146. package/dist/esm/types/list-root-instances-response.d.ts.map +1 -0
  147. package/dist/esm/types/list-sub-instances-request.d.ts +66 -0
  148. package/dist/esm/types/list-sub-instances-request.d.ts.map +1 -0
  149. package/dist/esm/types/list-sub-instances-response.d.ts +41 -0
  150. package/dist/esm/types/list-sub-instances-response.d.ts.map +1 -0
  151. package/dist/esm/types/list-tags-for-resources-request.d.ts +46 -0
  152. package/dist/esm/types/list-tags-for-resources-request.d.ts.map +1 -0
  153. package/dist/esm/types/list-tags-for-resources-response.d.ts +41 -0
  154. package/dist/esm/types/list-tags-for-resources-response.d.ts.map +1 -0
  155. package/dist/esm/types/resource-tag-for-list-tags-for-resources-output.d.ts +40 -0
  156. package/dist/esm/types/resource-tag-for-list-tags-for-resources-output.d.ts.map +1 -0
  157. package/dist/esm/types/result-for-list-leaf-instances-output.d.ts +129 -0
  158. package/dist/esm/types/result-for-list-leaf-instances-output.d.ts.map +1 -0
  159. package/dist/esm/types/result-for-list-root-instances-output.d.ts +129 -0
  160. package/dist/esm/types/result-for-list-root-instances-output.d.ts.map +1 -0
  161. package/dist/esm/types/result-for-list-sub-instances-output.d.ts +129 -0
  162. package/dist/esm/types/result-for-list-sub-instances-output.d.ts.map +1 -0
  163. package/dist/esm/types/revoke-leaf-instance-request.d.ts +30 -0
  164. package/dist/esm/types/revoke-leaf-instance-request.d.ts.map +1 -0
  165. package/dist/esm/types/revoke-leaf-instance-response.d.ts +20 -0
  166. package/dist/esm/types/revoke-leaf-instance-response.d.ts.map +1 -0
  167. package/dist/esm/types/revoke-root-instance-request.d.ts +30 -0
  168. package/dist/esm/types/revoke-root-instance-request.d.ts.map +1 -0
  169. package/dist/esm/types/revoke-root-instance-response.d.ts +20 -0
  170. package/dist/esm/types/revoke-root-instance-response.d.ts.map +1 -0
  171. package/dist/esm/types/revoke-sub-instance-request.d.ts +30 -0
  172. package/dist/esm/types/revoke-sub-instance-request.d.ts.map +1 -0
  173. package/dist/esm/types/revoke-sub-instance-response.d.ts +20 -0
  174. package/dist/esm/types/revoke-sub-instance-response.d.ts.map +1 -0
  175. package/dist/esm/types/subject-alternative-name-for-get-leaf-instance-output.d.ts +40 -0
  176. package/dist/esm/types/subject-alternative-name-for-get-leaf-instance-output.d.ts.map +1 -0
  177. package/dist/esm/types/subject-for-create-leaf-instance-input.d.ts +65 -0
  178. package/dist/esm/types/subject-for-create-leaf-instance-input.d.ts.map +1 -0
  179. package/dist/esm/types/subject-for-create-root-instance-input.d.ts +65 -0
  180. package/dist/esm/types/subject-for-create-root-instance-input.d.ts.map +1 -0
  181. package/dist/esm/types/subject-for-create-sub-instance-input.d.ts +65 -0
  182. package/dist/esm/types/subject-for-create-sub-instance-input.d.ts.map +1 -0
  183. package/dist/esm/types/subject-for-get-leaf-instance-output.d.ts +65 -0
  184. package/dist/esm/types/subject-for-get-leaf-instance-output.d.ts.map +1 -0
  185. package/dist/esm/types/subject-for-get-root-instance-output.d.ts +65 -0
  186. package/dist/esm/types/subject-for-get-root-instance-output.d.ts.map +1 -0
  187. package/dist/esm/types/subject-for-get-sub-instance-output.d.ts +65 -0
  188. package/dist/esm/types/subject-for-get-sub-instance-output.d.ts.map +1 -0
  189. package/dist/esm/types/subject-for-list-leaf-instances-output.d.ts +65 -0
  190. package/dist/esm/types/subject-for-list-leaf-instances-output.d.ts.map +1 -0
  191. package/dist/esm/types/subject-for-list-root-instances-output.d.ts +65 -0
  192. package/dist/esm/types/subject-for-list-root-instances-output.d.ts.map +1 -0
  193. package/dist/esm/types/subject-for-list-sub-instances-output.d.ts +65 -0
  194. package/dist/esm/types/subject-for-list-sub-instances-output.d.ts.map +1 -0
  195. package/dist/esm/types/tag-filter-for-list-leaf-instances-input.d.ts +30 -0
  196. package/dist/esm/types/tag-filter-for-list-leaf-instances-input.d.ts.map +1 -0
  197. package/dist/esm/types/tag-filter-for-list-root-instances-input.d.ts +30 -0
  198. package/dist/esm/types/tag-filter-for-list-root-instances-input.d.ts.map +1 -0
  199. package/dist/esm/types/tag-filter-for-list-sub-instances-input.d.ts +30 -0
  200. package/dist/esm/types/tag-filter-for-list-sub-instances-input.d.ts.map +1 -0
  201. package/dist/esm/types/tag-filter-for-list-tags-for-resources-input.d.ts +30 -0
  202. package/dist/esm/types/tag-filter-for-list-tags-for-resources-input.d.ts.map +1 -0
  203. package/dist/esm/types/tag-for-create-leaf-instance-input.d.ts +30 -0
  204. package/dist/esm/types/tag-for-create-leaf-instance-input.d.ts.map +1 -0
  205. package/dist/esm/types/tag-for-create-root-instance-input.d.ts +30 -0
  206. package/dist/esm/types/tag-for-create-root-instance-input.d.ts.map +1 -0
  207. package/dist/esm/types/tag-for-create-sub-instance-input.d.ts +30 -0
  208. package/dist/esm/types/tag-for-create-sub-instance-input.d.ts.map +1 -0
  209. package/dist/esm/types/tag-for-get-leaf-instance-output.d.ts +30 -0
  210. package/dist/esm/types/tag-for-get-leaf-instance-output.d.ts.map +1 -0
  211. package/dist/esm/types/tag-for-get-root-instance-output.d.ts +30 -0
  212. package/dist/esm/types/tag-for-get-root-instance-output.d.ts.map +1 -0
  213. package/dist/esm/types/tag-for-get-sub-instance-output.d.ts +30 -0
  214. package/dist/esm/types/tag-for-get-sub-instance-output.d.ts.map +1 -0
  215. package/dist/esm/types/tag-for-list-leaf-instances-output.d.ts +30 -0
  216. package/dist/esm/types/tag-for-list-leaf-instances-output.d.ts.map +1 -0
  217. package/dist/esm/types/tag-for-list-root-instances-output.d.ts +30 -0
  218. package/dist/esm/types/tag-for-list-root-instances-output.d.ts.map +1 -0
  219. package/dist/esm/types/tag-for-list-sub-instances-output.d.ts +30 -0
  220. package/dist/esm/types/tag-for-list-sub-instances-output.d.ts.map +1 -0
  221. package/dist/esm/types/tag-for-tag-resources-input.d.ts +30 -0
  222. package/dist/esm/types/tag-for-tag-resources-input.d.ts.map +1 -0
  223. package/dist/esm/types/tag-for-upload-leaf-certificate-input.d.ts +30 -0
  224. package/dist/esm/types/tag-for-upload-leaf-certificate-input.d.ts.map +1 -0
  225. package/dist/esm/types/tag-for-upload-root-instance-input.d.ts +30 -0
  226. package/dist/esm/types/tag-for-upload-root-instance-input.d.ts.map +1 -0
  227. package/dist/esm/types/tag-resources-request.d.ts +36 -0
  228. package/dist/esm/types/tag-resources-request.d.ts.map +1 -0
  229. package/dist/esm/types/tag-resources-response.d.ts +20 -0
  230. package/dist/esm/types/tag-resources-response.d.ts.map +1 -0
  231. package/dist/esm/types/untag-resources-request.d.ts +35 -0
  232. package/dist/esm/types/untag-resources-request.d.ts.map +1 -0
  233. package/dist/esm/types/untag-resources-response.d.ts +20 -0
  234. package/dist/esm/types/untag-resources-response.d.ts.map +1 -0
  235. package/dist/esm/types/upload-leaf-certificate-request.d.ts +51 -0
  236. package/dist/esm/types/upload-leaf-certificate-request.d.ts.map +1 -0
  237. package/dist/esm/types/upload-leaf-certificate-response.d.ts +30 -0
  238. package/dist/esm/types/upload-leaf-certificate-response.d.ts.map +1 -0
  239. package/dist/esm/types/upload-root-instance-request.d.ts +51 -0
  240. package/dist/esm/types/upload-root-instance-request.d.ts.map +1 -0
  241. package/dist/esm/types/upload-root-instance-response.d.ts +30 -0
  242. package/dist/esm/types/upload-root-instance-response.d.ts.map +1 -0
  243. package/dist/tsconfig.tsbuildinfo +1 -0
  244. package/package.json +37 -0
  245. package/rslib.config.ts +26 -0
  246. package/src/api.ts +533 -0
  247. package/src/index.ts +14 -0
  248. package/src/types/certificate-for-get-leaf-instance-output.ts +52 -0
  249. package/src/types/certificate-for-get-root-instance-output.ts +52 -0
  250. package/src/types/certificate-for-get-sub-instance-output.ts +52 -0
  251. package/src/types/contact-for-create-leaf-instance-input.ts +40 -0
  252. package/src/types/contact-for-create-root-instance-input.ts +40 -0
  253. package/src/types/contact-for-create-sub-instance-input.ts +40 -0
  254. package/src/types/contact-for-get-leaf-instance-output.ts +40 -0
  255. package/src/types/contact-for-get-root-instance-output.ts +40 -0
  256. package/src/types/contact-for-get-sub-instance-output.ts +40 -0
  257. package/src/types/contact-for-list-leaf-instances-output.ts +40 -0
  258. package/src/types/contact-for-list-root-instances-output.ts +40 -0
  259. package/src/types/contact-for-list-sub-instances-output.ts +40 -0
  260. package/src/types/create-leaf-instance-request.ts +134 -0
  261. package/src/types/create-leaf-instance-response.ts +70 -0
  262. package/src/types/create-root-instance-request.ts +143 -0
  263. package/src/types/create-root-instance-response.ts +34 -0
  264. package/src/types/create-sub-instance-request.ts +128 -0
  265. package/src/types/create-sub-instance-response.ts +40 -0
  266. package/src/types/csr-common-for-create-leaf-instance-input.ts +41 -0
  267. package/src/types/csr-common-for-create-root-instance-input.ts +41 -0
  268. package/src/types/csr-common-for-create-sub-instance-input.ts +41 -0
  269. package/src/types/custom-extensions-for-create-leaf-instance-input.ts +40 -0
  270. package/src/types/custom-extensions-for-create-root-instance-input.ts +40 -0
  271. package/src/types/custom-extensions-for-create-sub-instance-input.ts +40 -0
  272. package/src/types/delete-leaf-instance-request.ts +28 -0
  273. package/src/types/delete-leaf-instance-response.ts +22 -0
  274. package/src/types/delete-root-instance-request.ts +28 -0
  275. package/src/types/delete-root-instance-response.ts +22 -0
  276. package/src/types/delete-sub-instance-request.ts +28 -0
  277. package/src/types/delete-sub-instance-response.ts +22 -0
  278. package/src/types/deploy-info-for-list-leaf-instances-output.ts +29 -0
  279. package/src/types/deploy-info-for-list-root-instances-output.ts +29 -0
  280. package/src/types/deploy-info-for-list-sub-instances-output.ts +29 -0
  281. package/src/types/deploy-summary-for-list-leaf-instances-output.ts +34 -0
  282. package/src/types/deploy-summary-for-list-root-instances-output.ts +34 -0
  283. package/src/types/deploy-summary-for-list-sub-instances-output.ts +34 -0
  284. package/src/types/disable-root-instance-request.ts +28 -0
  285. package/src/types/disable-root-instance-response.ts +22 -0
  286. package/src/types/disable-sub-instance-request.ts +28 -0
  287. package/src/types/disable-sub-instance-response.ts +22 -0
  288. package/src/types/download-leaf-instance-request.ts +46 -0
  289. package/src/types/download-leaf-instance-response.ts +58 -0
  290. package/src/types/enable-root-instance-request.ts +28 -0
  291. package/src/types/enable-root-instance-response.ts +22 -0
  292. package/src/types/enable-sub-instance-request.ts +28 -0
  293. package/src/types/enable-sub-instance-response.ts +22 -0
  294. package/src/types/extended-key-usages-for-create-leaf-instance-input.ts +58 -0
  295. package/src/types/extended-key-usages-for-create-root-instance-input.ts +58 -0
  296. package/src/types/extended-key-usages-for-create-sub-instance-input.ts +58 -0
  297. package/src/types/extension-for-get-leaf-instance-output.ts +29 -0
  298. package/src/types/extensions-for-create-leaf-instance-input.ts +43 -0
  299. package/src/types/extensions-for-create-root-instance-input.ts +43 -0
  300. package/src/types/extensions-for-create-sub-instance-input.ts +43 -0
  301. package/src/types/get-leaf-instance-request.ts +28 -0
  302. package/src/types/get-leaf-instance-response.ts +153 -0
  303. package/src/types/get-quota-detail-request.ts +28 -0
  304. package/src/types/get-quota-detail-response.ts +28 -0
  305. package/src/types/get-root-instance-request.ts +28 -0
  306. package/src/types/get-root-instance-response.ts +134 -0
  307. package/src/types/get-sub-instance-request.ts +28 -0
  308. package/src/types/get-sub-instance-response.ts +140 -0
  309. package/src/types/index.ts +116 -0
  310. package/src/types/key-usages-for-create-leaf-instance-input.ts +76 -0
  311. package/src/types/key-usages-for-create-root-instance-input.ts +76 -0
  312. package/src/types/key-usages-for-create-sub-instance-input.ts +76 -0
  313. package/src/types/list-leaf-instances-request.ts +77 -0
  314. package/src/types/list-leaf-instances-response.ts +47 -0
  315. package/src/types/list-root-instances-request.ts +71 -0
  316. package/src/types/list-root-instances-response.ts +47 -0
  317. package/src/types/list-sub-instances-request.ts +77 -0
  318. package/src/types/list-sub-instances-response.ts +47 -0
  319. package/src/types/list-tags-for-resources-request.ts +53 -0
  320. package/src/types/list-tags-for-resources-response.ts +47 -0
  321. package/src/types/resource-tag-for-list-tags-for-resources-output.ts +46 -0
  322. package/src/types/result-for-list-leaf-instances-output.ts +152 -0
  323. package/src/types/result-for-list-root-instances-output.ts +152 -0
  324. package/src/types/result-for-list-sub-instances-output.ts +152 -0
  325. package/src/types/revoke-leaf-instance-request.ts +34 -0
  326. package/src/types/revoke-leaf-instance-response.ts +22 -0
  327. package/src/types/revoke-root-instance-request.ts +34 -0
  328. package/src/types/revoke-root-instance-response.ts +22 -0
  329. package/src/types/revoke-sub-instance-request.ts +34 -0
  330. package/src/types/revoke-sub-instance-response.ts +22 -0
  331. package/src/types/subject-alternative-name-for-get-leaf-instance-output.ts +46 -0
  332. package/src/types/subject-for-create-leaf-instance-input.ts +76 -0
  333. package/src/types/subject-for-create-root-instance-input.ts +76 -0
  334. package/src/types/subject-for-create-sub-instance-input.ts +76 -0
  335. package/src/types/subject-for-get-leaf-instance-output.ts +76 -0
  336. package/src/types/subject-for-get-root-instance-output.ts +76 -0
  337. package/src/types/subject-for-get-sub-instance-output.ts +76 -0
  338. package/src/types/subject-for-list-leaf-instances-output.ts +76 -0
  339. package/src/types/subject-for-list-root-instances-output.ts +76 -0
  340. package/src/types/subject-for-list-sub-instances-output.ts +76 -0
  341. package/src/types/tag-filter-for-list-leaf-instances-input.ts +34 -0
  342. package/src/types/tag-filter-for-list-root-instances-input.ts +34 -0
  343. package/src/types/tag-filter-for-list-sub-instances-input.ts +34 -0
  344. package/src/types/tag-filter-for-list-tags-for-resources-input.ts +34 -0
  345. package/src/types/tag-for-create-leaf-instance-input.ts +34 -0
  346. package/src/types/tag-for-create-root-instance-input.ts +34 -0
  347. package/src/types/tag-for-create-sub-instance-input.ts +34 -0
  348. package/src/types/tag-for-get-leaf-instance-output.ts +34 -0
  349. package/src/types/tag-for-get-root-instance-output.ts +34 -0
  350. package/src/types/tag-for-get-sub-instance-output.ts +34 -0
  351. package/src/types/tag-for-list-leaf-instances-output.ts +34 -0
  352. package/src/types/tag-for-list-root-instances-output.ts +34 -0
  353. package/src/types/tag-for-list-sub-instances-output.ts +34 -0
  354. package/src/types/tag-for-tag-resources-input.ts +34 -0
  355. package/src/types/tag-for-upload-leaf-certificate-input.ts +34 -0
  356. package/src/types/tag-for-upload-root-instance-input.ts +34 -0
  357. package/src/types/tag-resources-request.ts +41 -0
  358. package/src/types/tag-resources-response.ts +22 -0
  359. package/src/types/untag-resources-request.ts +40 -0
  360. package/src/types/untag-resources-response.ts +22 -0
  361. package/src/types/upload-leaf-certificate-request.ts +59 -0
  362. package/src/types/upload-leaf-certificate-response.ts +34 -0
  363. package/src/types/upload-root-instance-request.ts +59 -0
  364. package/src/types/upload-root-instance-response.ts +34 -0
  365. package/tsconfig.json +12 -0
package/src/api.ts ADDED
@@ -0,0 +1,533 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * pca20251001
5
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
6
+ *
7
+ * OpenAPI spec version: common-version
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by the swagger code generator program.
11
+ * https://github.com/swagger-api/swagger-codegen.git
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { Client, ClientConfig, Command, buildRequestConfigFromMetaPath, CommandOutput } from '@volcengine/sdk-core';
16
+
17
+ import { CreateLeafInstanceRequest } from './types/index';
18
+ import { CreateLeafInstanceResponse } from './types/index';
19
+ import { CreateRootInstanceRequest } from './types/index';
20
+ import { CreateRootInstanceResponse } from './types/index';
21
+ import { CreateSubInstanceRequest } from './types/index';
22
+ import { CreateSubInstanceResponse } from './types/index';
23
+ import { DeleteLeafInstanceRequest } from './types/index';
24
+ import { DeleteLeafInstanceResponse } from './types/index';
25
+ import { DeleteRootInstanceRequest } from './types/index';
26
+ import { DeleteRootInstanceResponse } from './types/index';
27
+ import { DeleteSubInstanceRequest } from './types/index';
28
+ import { DeleteSubInstanceResponse } from './types/index';
29
+ import { DisableRootInstanceRequest } from './types/index';
30
+ import { DisableRootInstanceResponse } from './types/index';
31
+ import { DisableSubInstanceRequest } from './types/index';
32
+ import { DisableSubInstanceResponse } from './types/index';
33
+ import { DownloadLeafInstanceRequest } from './types/index';
34
+ import { DownloadLeafInstanceResponse } from './types/index';
35
+ import { EnableRootInstanceRequest } from './types/index';
36
+ import { EnableRootInstanceResponse } from './types/index';
37
+ import { EnableSubInstanceRequest } from './types/index';
38
+ import { EnableSubInstanceResponse } from './types/index';
39
+ import { GetLeafInstanceRequest } from './types/index';
40
+ import { GetLeafInstanceResponse } from './types/index';
41
+ import { GetQuotaDetailRequest } from './types/index';
42
+ import { GetQuotaDetailResponse } from './types/index';
43
+ import { GetRootInstanceRequest } from './types/index';
44
+ import { GetRootInstanceResponse } from './types/index';
45
+ import { GetSubInstanceRequest } from './types/index';
46
+ import { GetSubInstanceResponse } from './types/index';
47
+ import { ListLeafInstancesRequest } from './types/index';
48
+ import { ListLeafInstancesResponse } from './types/index';
49
+ import { ListRootInstancesRequest } from './types/index';
50
+ import { ListRootInstancesResponse } from './types/index';
51
+ import { ListSubInstancesRequest } from './types/index';
52
+ import { ListSubInstancesResponse } from './types/index';
53
+ import { ListTagsForResourcesRequest } from './types/index';
54
+ import { ListTagsForResourcesResponse } from './types/index';
55
+ import { RevokeLeafInstanceRequest } from './types/index';
56
+ import { RevokeLeafInstanceResponse } from './types/index';
57
+ import { RevokeRootInstanceRequest } from './types/index';
58
+ import { RevokeRootInstanceResponse } from './types/index';
59
+ import { RevokeSubInstanceRequest } from './types/index';
60
+ import { RevokeSubInstanceResponse } from './types/index';
61
+ import { TagResourcesRequest } from './types/index';
62
+ import { TagResourcesResponse } from './types/index';
63
+ import { UntagResourcesRequest } from './types/index';
64
+ import { UntagResourcesResponse } from './types/index';
65
+ import { UploadLeafCertificateRequest } from './types/index';
66
+ import { UploadLeafCertificateResponse } from './types/index';
67
+ import { UploadRootInstanceRequest } from './types/index';
68
+ import { UploadRootInstanceResponse } from './types/index';
69
+
70
+ // ============================================================================
71
+ // Output Type Definitions
72
+ // ============================================================================
73
+ export type CreateLeafInstanceCommandOutput = CommandOutput<CreateLeafInstanceResponse>;
74
+ export type CreateRootInstanceCommandOutput = CommandOutput<CreateRootInstanceResponse>;
75
+ export type CreateSubInstanceCommandOutput = CommandOutput<CreateSubInstanceResponse>;
76
+ export type DeleteLeafInstanceCommandOutput = CommandOutput<DeleteLeafInstanceResponse>;
77
+ export type DeleteRootInstanceCommandOutput = CommandOutput<DeleteRootInstanceResponse>;
78
+ export type DeleteSubInstanceCommandOutput = CommandOutput<DeleteSubInstanceResponse>;
79
+ export type DisableRootInstanceCommandOutput = CommandOutput<DisableRootInstanceResponse>;
80
+ export type DisableSubInstanceCommandOutput = CommandOutput<DisableSubInstanceResponse>;
81
+ export type DownloadLeafInstanceCommandOutput = CommandOutput<DownloadLeafInstanceResponse>;
82
+ export type EnableRootInstanceCommandOutput = CommandOutput<EnableRootInstanceResponse>;
83
+ export type EnableSubInstanceCommandOutput = CommandOutput<EnableSubInstanceResponse>;
84
+ export type GetLeafInstanceCommandOutput = CommandOutput<GetLeafInstanceResponse>;
85
+ export type GetQuotaDetailCommandOutput = CommandOutput<GetQuotaDetailResponse>;
86
+ export type GetRootInstanceCommandOutput = CommandOutput<GetRootInstanceResponse>;
87
+ export type GetSubInstanceCommandOutput = CommandOutput<GetSubInstanceResponse>;
88
+ export type ListLeafInstancesCommandOutput = CommandOutput<ListLeafInstancesResponse>;
89
+ export type ListRootInstancesCommandOutput = CommandOutput<ListRootInstancesResponse>;
90
+ export type ListSubInstancesCommandOutput = CommandOutput<ListSubInstancesResponse>;
91
+ export type ListTagsForResourcesCommandOutput = CommandOutput<ListTagsForResourcesResponse>;
92
+ export type RevokeLeafInstanceCommandOutput = CommandOutput<RevokeLeafInstanceResponse>;
93
+ export type RevokeRootInstanceCommandOutput = CommandOutput<RevokeRootInstanceResponse>;
94
+ export type RevokeSubInstanceCommandOutput = CommandOutput<RevokeSubInstanceResponse>;
95
+ export type TagResourcesCommandOutput = CommandOutput<TagResourcesResponse>;
96
+ export type UntagResourcesCommandOutput = CommandOutput<UntagResourcesResponse>;
97
+ export type UploadLeafCertificateCommandOutput = CommandOutput<UploadLeafCertificateResponse>;
98
+ export type UploadRootInstanceCommandOutput = CommandOutput<UploadRootInstanceResponse>;
99
+
100
+
101
+ /**
102
+ * PCA20251001Client Service Client
103
+ */
104
+ export class PCA20251001Client extends Client {
105
+ constructor(config: ClientConfig = {}) {
106
+ super({
107
+ protocol: 'https',
108
+ region: 'cn-beijing',
109
+ ...config,
110
+ });
111
+ }
112
+ }
113
+
114
+ /**
115
+ * Command to CreateLeafInstance
116
+ */
117
+ export class CreateLeafInstanceCommand extends Command<
118
+ CreateLeafInstanceRequest,
119
+ CreateLeafInstanceCommandOutput,
120
+ 'CreateLeafInstanceCommand'
121
+ > {
122
+ static readonly metaPath = '/CreateLeafInstance/2025-10-01/pca/post/application_json/';
123
+
124
+ constructor(input: CreateLeafInstanceRequest) {
125
+ super(input);
126
+ this.requestConfig = buildRequestConfigFromMetaPath(CreateLeafInstanceCommand.metaPath);
127
+ }
128
+ }
129
+ /**
130
+ * Command to CreateRootInstance
131
+ */
132
+ export class CreateRootInstanceCommand extends Command<
133
+ CreateRootInstanceRequest,
134
+ CreateRootInstanceCommandOutput,
135
+ 'CreateRootInstanceCommand'
136
+ > {
137
+ static readonly metaPath = '/CreateRootInstance/2025-10-01/pca/post/application_json/';
138
+
139
+ constructor(input: CreateRootInstanceRequest) {
140
+ super(input);
141
+ this.requestConfig = buildRequestConfigFromMetaPath(CreateRootInstanceCommand.metaPath);
142
+ }
143
+ }
144
+ /**
145
+ * Command to CreateSubInstance
146
+ */
147
+ export class CreateSubInstanceCommand extends Command<
148
+ CreateSubInstanceRequest,
149
+ CreateSubInstanceCommandOutput,
150
+ 'CreateSubInstanceCommand'
151
+ > {
152
+ static readonly metaPath = '/CreateSubInstance/2025-10-01/pca/post/application_json/';
153
+
154
+ constructor(input: CreateSubInstanceRequest) {
155
+ super(input);
156
+ this.requestConfig = buildRequestConfigFromMetaPath(CreateSubInstanceCommand.metaPath);
157
+ }
158
+ }
159
+ /**
160
+ * Command to DeleteLeafInstance
161
+ */
162
+ export class DeleteLeafInstanceCommand extends Command<
163
+ DeleteLeafInstanceRequest,
164
+ DeleteLeafInstanceCommandOutput,
165
+ 'DeleteLeafInstanceCommand'
166
+ > {
167
+ static readonly metaPath = '/DeleteLeafInstance/2025-10-01/pca/post/application_json/';
168
+
169
+ constructor(input: DeleteLeafInstanceRequest) {
170
+ super(input);
171
+ this.requestConfig = buildRequestConfigFromMetaPath(DeleteLeafInstanceCommand.metaPath);
172
+ }
173
+ }
174
+ /**
175
+ * Command to DeleteRootInstance
176
+ */
177
+ export class DeleteRootInstanceCommand extends Command<
178
+ DeleteRootInstanceRequest,
179
+ DeleteRootInstanceCommandOutput,
180
+ 'DeleteRootInstanceCommand'
181
+ > {
182
+ static readonly metaPath = '/DeleteRootInstance/2025-10-01/pca/post/application_json/';
183
+
184
+ constructor(input: DeleteRootInstanceRequest) {
185
+ super(input);
186
+ this.requestConfig = buildRequestConfigFromMetaPath(DeleteRootInstanceCommand.metaPath);
187
+ }
188
+ }
189
+ /**
190
+ * Command to DeleteSubInstance
191
+ */
192
+ export class DeleteSubInstanceCommand extends Command<
193
+ DeleteSubInstanceRequest,
194
+ DeleteSubInstanceCommandOutput,
195
+ 'DeleteSubInstanceCommand'
196
+ > {
197
+ static readonly metaPath = '/DeleteSubInstance/2025-10-01/pca/post/application_json/';
198
+
199
+ constructor(input: DeleteSubInstanceRequest) {
200
+ super(input);
201
+ this.requestConfig = buildRequestConfigFromMetaPath(DeleteSubInstanceCommand.metaPath);
202
+ }
203
+ }
204
+ /**
205
+ * Command to DisableRootInstance
206
+ */
207
+ export class DisableRootInstanceCommand extends Command<
208
+ DisableRootInstanceRequest,
209
+ DisableRootInstanceCommandOutput,
210
+ 'DisableRootInstanceCommand'
211
+ > {
212
+ static readonly metaPath = '/DisableRootInstance/2025-10-01/pca/post/application_json/';
213
+
214
+ constructor(input: DisableRootInstanceRequest) {
215
+ super(input);
216
+ this.requestConfig = buildRequestConfigFromMetaPath(DisableRootInstanceCommand.metaPath);
217
+ }
218
+ }
219
+ /**
220
+ * Command to DisableSubInstance
221
+ */
222
+ export class DisableSubInstanceCommand extends Command<
223
+ DisableSubInstanceRequest,
224
+ DisableSubInstanceCommandOutput,
225
+ 'DisableSubInstanceCommand'
226
+ > {
227
+ static readonly metaPath = '/DisableSubInstance/2025-10-01/pca/post/application_json/';
228
+
229
+ constructor(input: DisableSubInstanceRequest) {
230
+ super(input);
231
+ this.requestConfig = buildRequestConfigFromMetaPath(DisableSubInstanceCommand.metaPath);
232
+ }
233
+ }
234
+ /**
235
+ * Command to DownloadLeafInstance
236
+ */
237
+ export class DownloadLeafInstanceCommand extends Command<
238
+ DownloadLeafInstanceRequest,
239
+ DownloadLeafInstanceCommandOutput,
240
+ 'DownloadLeafInstanceCommand'
241
+ > {
242
+ static readonly metaPath = '/DownloadLeafInstance/2025-10-01/pca/post/application_json/';
243
+
244
+ constructor(input: DownloadLeafInstanceRequest) {
245
+ super(input);
246
+ this.requestConfig = buildRequestConfigFromMetaPath(DownloadLeafInstanceCommand.metaPath);
247
+ }
248
+ }
249
+ /**
250
+ * Command to EnableRootInstance
251
+ */
252
+ export class EnableRootInstanceCommand extends Command<
253
+ EnableRootInstanceRequest,
254
+ EnableRootInstanceCommandOutput,
255
+ 'EnableRootInstanceCommand'
256
+ > {
257
+ static readonly metaPath = '/EnableRootInstance/2025-10-01/pca/post/application_json/';
258
+
259
+ constructor(input: EnableRootInstanceRequest) {
260
+ super(input);
261
+ this.requestConfig = buildRequestConfigFromMetaPath(EnableRootInstanceCommand.metaPath);
262
+ }
263
+ }
264
+ /**
265
+ * Command to EnableSubInstance
266
+ */
267
+ export class EnableSubInstanceCommand extends Command<
268
+ EnableSubInstanceRequest,
269
+ EnableSubInstanceCommandOutput,
270
+ 'EnableSubInstanceCommand'
271
+ > {
272
+ static readonly metaPath = '/EnableSubInstance/2025-10-01/pca/post/application_json/';
273
+
274
+ constructor(input: EnableSubInstanceRequest) {
275
+ super(input);
276
+ this.requestConfig = buildRequestConfigFromMetaPath(EnableSubInstanceCommand.metaPath);
277
+ }
278
+ }
279
+ /**
280
+ * Command to GetLeafInstance
281
+ */
282
+ export class GetLeafInstanceCommand extends Command<
283
+ GetLeafInstanceRequest,
284
+ GetLeafInstanceCommandOutput,
285
+ 'GetLeafInstanceCommand'
286
+ > {
287
+ static readonly metaPath = '/GetLeafInstance/2025-10-01/pca/get/text_plain/';
288
+
289
+ constructor(input: GetLeafInstanceRequest) {
290
+ super(input);
291
+ this.requestConfig = buildRequestConfigFromMetaPath(GetLeafInstanceCommand.metaPath);
292
+ }
293
+ }
294
+ /**
295
+ * Command to GetQuotaDetail
296
+ */
297
+ export class GetQuotaDetailCommand extends Command<
298
+ GetQuotaDetailRequest,
299
+ GetQuotaDetailCommandOutput,
300
+ 'GetQuotaDetailCommand'
301
+ > {
302
+ static readonly metaPath = '/GetQuotaDetail/2025-10-01/pca/post/application_json/';
303
+
304
+ constructor(input: GetQuotaDetailRequest) {
305
+ super(input);
306
+ this.requestConfig = buildRequestConfigFromMetaPath(GetQuotaDetailCommand.metaPath);
307
+ }
308
+ }
309
+ /**
310
+ * Command to GetRootInstance
311
+ */
312
+ export class GetRootInstanceCommand extends Command<
313
+ GetRootInstanceRequest,
314
+ GetRootInstanceCommandOutput,
315
+ 'GetRootInstanceCommand'
316
+ > {
317
+ static readonly metaPath = '/GetRootInstance/2025-10-01/pca/get/text_plain/';
318
+
319
+ constructor(input: GetRootInstanceRequest) {
320
+ super(input);
321
+ this.requestConfig = buildRequestConfigFromMetaPath(GetRootInstanceCommand.metaPath);
322
+ }
323
+ }
324
+ /**
325
+ * Command to GetSubInstance
326
+ */
327
+ export class GetSubInstanceCommand extends Command<
328
+ GetSubInstanceRequest,
329
+ GetSubInstanceCommandOutput,
330
+ 'GetSubInstanceCommand'
331
+ > {
332
+ static readonly metaPath = '/GetSubInstance/2025-10-01/pca/get/text_plain/';
333
+
334
+ constructor(input: GetSubInstanceRequest) {
335
+ super(input);
336
+ this.requestConfig = buildRequestConfigFromMetaPath(GetSubInstanceCommand.metaPath);
337
+ }
338
+ }
339
+ /**
340
+ * Command to ListLeafInstances
341
+ */
342
+ export class ListLeafInstancesCommand extends Command<
343
+ ListLeafInstancesRequest,
344
+ ListLeafInstancesCommandOutput,
345
+ 'ListLeafInstancesCommand'
346
+ > {
347
+ static readonly metaPath = '/ListLeafInstances/2025-10-01/pca/post/application_json/';
348
+
349
+ constructor(input: ListLeafInstancesRequest) {
350
+ super(input);
351
+ this.requestConfig = buildRequestConfigFromMetaPath(ListLeafInstancesCommand.metaPath);
352
+ }
353
+ }
354
+ /**
355
+ * Command to ListRootInstances
356
+ */
357
+ export class ListRootInstancesCommand extends Command<
358
+ ListRootInstancesRequest,
359
+ ListRootInstancesCommandOutput,
360
+ 'ListRootInstancesCommand'
361
+ > {
362
+ static readonly metaPath = '/ListRootInstances/2025-10-01/pca/post/application_json/';
363
+
364
+ constructor(input: ListRootInstancesRequest) {
365
+ super(input);
366
+ this.requestConfig = buildRequestConfigFromMetaPath(ListRootInstancesCommand.metaPath);
367
+ }
368
+ }
369
+ /**
370
+ * Command to ListSubInstances
371
+ */
372
+ export class ListSubInstancesCommand extends Command<
373
+ ListSubInstancesRequest,
374
+ ListSubInstancesCommandOutput,
375
+ 'ListSubInstancesCommand'
376
+ > {
377
+ static readonly metaPath = '/ListSubInstances/2025-10-01/pca/post/application_json/';
378
+
379
+ constructor(input: ListSubInstancesRequest) {
380
+ super(input);
381
+ this.requestConfig = buildRequestConfigFromMetaPath(ListSubInstancesCommand.metaPath);
382
+ }
383
+ }
384
+ /**
385
+ * Command to ListTagsForResources
386
+ */
387
+ export class ListTagsForResourcesCommand extends Command<
388
+ ListTagsForResourcesRequest,
389
+ ListTagsForResourcesCommandOutput,
390
+ 'ListTagsForResourcesCommand'
391
+ > {
392
+ static readonly metaPath = '/ListTagsForResources/2025-10-01/pca/post/application_json/';
393
+
394
+ constructor(input: ListTagsForResourcesRequest) {
395
+ super(input);
396
+ this.requestConfig = buildRequestConfigFromMetaPath(ListTagsForResourcesCommand.metaPath);
397
+ }
398
+ }
399
+ /**
400
+ * Command to RevokeLeafInstance
401
+ */
402
+ export class RevokeLeafInstanceCommand extends Command<
403
+ RevokeLeafInstanceRequest,
404
+ RevokeLeafInstanceCommandOutput,
405
+ 'RevokeLeafInstanceCommand'
406
+ > {
407
+ static readonly metaPath = '/RevokeLeafInstance/2025-10-01/pca/post/application_json/';
408
+
409
+ constructor(input: RevokeLeafInstanceRequest) {
410
+ super(input);
411
+ this.requestConfig = buildRequestConfigFromMetaPath(RevokeLeafInstanceCommand.metaPath);
412
+ }
413
+ }
414
+ /**
415
+ * Command to RevokeRootInstance
416
+ */
417
+ export class RevokeRootInstanceCommand extends Command<
418
+ RevokeRootInstanceRequest,
419
+ RevokeRootInstanceCommandOutput,
420
+ 'RevokeRootInstanceCommand'
421
+ > {
422
+ static readonly metaPath = '/RevokeRootInstance/2025-10-01/pca/post/application_json/';
423
+
424
+ constructor(input: RevokeRootInstanceRequest) {
425
+ super(input);
426
+ this.requestConfig = buildRequestConfigFromMetaPath(RevokeRootInstanceCommand.metaPath);
427
+ }
428
+ }
429
+ /**
430
+ * Command to RevokeSubInstance
431
+ */
432
+ export class RevokeSubInstanceCommand extends Command<
433
+ RevokeSubInstanceRequest,
434
+ RevokeSubInstanceCommandOutput,
435
+ 'RevokeSubInstanceCommand'
436
+ > {
437
+ static readonly metaPath = '/RevokeSubInstance/2025-10-01/pca/post/application_json/';
438
+
439
+ constructor(input: RevokeSubInstanceRequest) {
440
+ super(input);
441
+ this.requestConfig = buildRequestConfigFromMetaPath(RevokeSubInstanceCommand.metaPath);
442
+ }
443
+ }
444
+ /**
445
+ * Command to TagResources
446
+ */
447
+ export class TagResourcesCommand extends Command<
448
+ TagResourcesRequest,
449
+ TagResourcesCommandOutput,
450
+ 'TagResourcesCommand'
451
+ > {
452
+ static readonly metaPath = '/TagResources/2025-10-01/pca/post/application_json/';
453
+
454
+ constructor(input: TagResourcesRequest) {
455
+ super(input);
456
+ this.requestConfig = buildRequestConfigFromMetaPath(TagResourcesCommand.metaPath);
457
+ }
458
+ }
459
+ /**
460
+ * Command to UntagResources
461
+ */
462
+ export class UntagResourcesCommand extends Command<
463
+ UntagResourcesRequest,
464
+ UntagResourcesCommandOutput,
465
+ 'UntagResourcesCommand'
466
+ > {
467
+ static readonly metaPath = '/UntagResources/2025-10-01/pca/post/application_json/';
468
+
469
+ constructor(input: UntagResourcesRequest) {
470
+ super(input);
471
+ this.requestConfig = buildRequestConfigFromMetaPath(UntagResourcesCommand.metaPath);
472
+ }
473
+ }
474
+ /**
475
+ * Command to UploadLeafCertificate
476
+ */
477
+ export class UploadLeafCertificateCommand extends Command<
478
+ UploadLeafCertificateRequest,
479
+ UploadLeafCertificateCommandOutput,
480
+ 'UploadLeafCertificateCommand'
481
+ > {
482
+ static readonly metaPath = '/UploadLeafCertificate/2025-10-01/pca/post/application_json/';
483
+
484
+ constructor(input: UploadLeafCertificateRequest) {
485
+ super(input);
486
+ this.requestConfig = buildRequestConfigFromMetaPath(UploadLeafCertificateCommand.metaPath);
487
+ }
488
+ }
489
+ /**
490
+ * Command to UploadRootInstance
491
+ */
492
+ export class UploadRootInstanceCommand extends Command<
493
+ UploadRootInstanceRequest,
494
+ UploadRootInstanceCommandOutput,
495
+ 'UploadRootInstanceCommand'
496
+ > {
497
+ static readonly metaPath = '/UploadRootInstance/2025-10-01/pca/post/application_json/';
498
+
499
+ constructor(input: UploadRootInstanceRequest) {
500
+ super(input);
501
+ this.requestConfig = buildRequestConfigFromMetaPath(UploadRootInstanceCommand.metaPath);
502
+ }
503
+ }
504
+
505
+ export default {
506
+ PCA20251001Client,
507
+ CreateLeafInstanceCommand,
508
+ CreateRootInstanceCommand,
509
+ CreateSubInstanceCommand,
510
+ DeleteLeafInstanceCommand,
511
+ DeleteRootInstanceCommand,
512
+ DeleteSubInstanceCommand,
513
+ DisableRootInstanceCommand,
514
+ DisableSubInstanceCommand,
515
+ DownloadLeafInstanceCommand,
516
+ EnableRootInstanceCommand,
517
+ EnableSubInstanceCommand,
518
+ GetLeafInstanceCommand,
519
+ GetQuotaDetailCommand,
520
+ GetRootInstanceCommand,
521
+ GetSubInstanceCommand,
522
+ ListLeafInstancesCommand,
523
+ ListRootInstancesCommand,
524
+ ListSubInstancesCommand,
525
+ ListTagsForResourcesCommand,
526
+ RevokeLeafInstanceCommand,
527
+ RevokeRootInstanceCommand,
528
+ RevokeSubInstanceCommand,
529
+ TagResourcesCommand,
530
+ UntagResourcesCommand,
531
+ UploadLeafCertificateCommand,
532
+ UploadRootInstanceCommand,
533
+ };
package/src/index.ts ADDED
@@ -0,0 +1,14 @@
1
+ // tslint:disable
2
+ /**
3
+ * pca20251001
4
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+ *
6
+ * OpenAPI spec version: common-version
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by the swagger code generator program.
10
+ * https://github.com/swagger-api/swagger-codegen.git
11
+ * Do not edit the class manually.
12
+ */
13
+
14
+ export * from "./api";
@@ -0,0 +1,52 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * pca20251001
5
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
6
+ *
7
+ * OpenAPI spec version: common-version
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by the swagger code generator program.
11
+ * https://github.com/swagger-api/swagger-codegen.git
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ /**
16
+ *
17
+ *
18
+ * @export
19
+ * @interface CertificateForGetLeafInstanceOutput
20
+ */
21
+ export interface CertificateForGetLeafInstanceOutput {
22
+
23
+ /**
24
+ * @type {Array<string>}
25
+ * @memberof CertificateForGetLeafInstanceOutput
26
+ */
27
+ Chain?: Array<string>;
28
+
29
+ /**
30
+ * @type {string}
31
+ * @memberof CertificateForGetLeafInstanceOutput
32
+ */
33
+ Csr?: string;
34
+
35
+ /**
36
+ * @type {Array<string>}
37
+ * @memberof CertificateForGetLeafInstanceOutput
38
+ */
39
+ EncryptChain?: Array<string>;
40
+
41
+ /**
42
+ * @type {string}
43
+ * @memberof CertificateForGetLeafInstanceOutput
44
+ */
45
+ EncryptKey?: string;
46
+
47
+ /**
48
+ * @type {string}
49
+ * @memberof CertificateForGetLeafInstanceOutput
50
+ */
51
+ Key?: string;
52
+ }
@@ -0,0 +1,52 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * pca20251001
5
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
6
+ *
7
+ * OpenAPI spec version: common-version
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by the swagger code generator program.
11
+ * https://github.com/swagger-api/swagger-codegen.git
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ /**
16
+ *
17
+ *
18
+ * @export
19
+ * @interface CertificateForGetRootInstanceOutput
20
+ */
21
+ export interface CertificateForGetRootInstanceOutput {
22
+
23
+ /**
24
+ * @type {Array<string>}
25
+ * @memberof CertificateForGetRootInstanceOutput
26
+ */
27
+ Chain?: Array<string>;
28
+
29
+ /**
30
+ * @type {string}
31
+ * @memberof CertificateForGetRootInstanceOutput
32
+ */
33
+ Csr?: string;
34
+
35
+ /**
36
+ * @type {Array<string>}
37
+ * @memberof CertificateForGetRootInstanceOutput
38
+ */
39
+ EncryptChain?: Array<string>;
40
+
41
+ /**
42
+ * @type {string}
43
+ * @memberof CertificateForGetRootInstanceOutput
44
+ */
45
+ EncryptKey?: string;
46
+
47
+ /**
48
+ * @type {string}
49
+ * @memberof CertificateForGetRootInstanceOutput
50
+ */
51
+ Key?: string;
52
+ }
@@ -0,0 +1,52 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * pca20251001
5
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
6
+ *
7
+ * OpenAPI spec version: common-version
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by the swagger code generator program.
11
+ * https://github.com/swagger-api/swagger-codegen.git
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ /**
16
+ *
17
+ *
18
+ * @export
19
+ * @interface CertificateForGetSubInstanceOutput
20
+ */
21
+ export interface CertificateForGetSubInstanceOutput {
22
+
23
+ /**
24
+ * @type {Array<string>}
25
+ * @memberof CertificateForGetSubInstanceOutput
26
+ */
27
+ Chain?: Array<string>;
28
+
29
+ /**
30
+ * @type {string}
31
+ * @memberof CertificateForGetSubInstanceOutput
32
+ */
33
+ Csr?: string;
34
+
35
+ /**
36
+ * @type {Array<string>}
37
+ * @memberof CertificateForGetSubInstanceOutput
38
+ */
39
+ EncryptChain?: Array<string>;
40
+
41
+ /**
42
+ * @type {string}
43
+ * @memberof CertificateForGetSubInstanceOutput
44
+ */
45
+ EncryptKey?: string;
46
+
47
+ /**
48
+ * @type {string}
49
+ * @memberof CertificateForGetSubInstanceOutput
50
+ */
51
+ Key?: string;
52
+ }