@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.
- package/.turbo/turbo-build.log +19 -0
- package/LICENSE.txt +202 -0
- package/dist/cjs/index.js +315 -0
- package/dist/esm/api.d.ts +309 -0
- package/dist/esm/api.d.ts.map +1 -0
- package/dist/esm/index.d.ts +13 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.mjs +203 -0
- package/dist/esm/types/certificate-for-get-leaf-instance-output.d.ts +45 -0
- package/dist/esm/types/certificate-for-get-leaf-instance-output.d.ts.map +1 -0
- package/dist/esm/types/certificate-for-get-root-instance-output.d.ts +45 -0
- package/dist/esm/types/certificate-for-get-root-instance-output.d.ts.map +1 -0
- package/dist/esm/types/certificate-for-get-sub-instance-output.d.ts +45 -0
- package/dist/esm/types/certificate-for-get-sub-instance-output.d.ts.map +1 -0
- package/dist/esm/types/contact-for-create-leaf-instance-input.d.ts +35 -0
- package/dist/esm/types/contact-for-create-leaf-instance-input.d.ts.map +1 -0
- package/dist/esm/types/contact-for-create-root-instance-input.d.ts +35 -0
- package/dist/esm/types/contact-for-create-root-instance-input.d.ts.map +1 -0
- package/dist/esm/types/contact-for-create-sub-instance-input.d.ts +35 -0
- package/dist/esm/types/contact-for-create-sub-instance-input.d.ts.map +1 -0
- package/dist/esm/types/contact-for-get-leaf-instance-output.d.ts +35 -0
- package/dist/esm/types/contact-for-get-leaf-instance-output.d.ts.map +1 -0
- package/dist/esm/types/contact-for-get-root-instance-output.d.ts +35 -0
- package/dist/esm/types/contact-for-get-root-instance-output.d.ts.map +1 -0
- package/dist/esm/types/contact-for-get-sub-instance-output.d.ts +35 -0
- package/dist/esm/types/contact-for-get-sub-instance-output.d.ts.map +1 -0
- package/dist/esm/types/contact-for-list-leaf-instances-output.d.ts +35 -0
- package/dist/esm/types/contact-for-list-leaf-instances-output.d.ts.map +1 -0
- package/dist/esm/types/contact-for-list-root-instances-output.d.ts +35 -0
- package/dist/esm/types/contact-for-list-root-instances-output.d.ts.map +1 -0
- package/dist/esm/types/contact-for-list-sub-instances-output.d.ts +35 -0
- package/dist/esm/types/contact-for-list-sub-instances-output.d.ts.map +1 -0
- package/dist/esm/types/create-leaf-instance-request.d.ts +114 -0
- package/dist/esm/types/create-leaf-instance-request.d.ts.map +1 -0
- package/dist/esm/types/create-leaf-instance-response.d.ts +60 -0
- package/dist/esm/types/create-leaf-instance-response.d.ts.map +1 -0
- package/dist/esm/types/create-root-instance-request.d.ts +125 -0
- package/dist/esm/types/create-root-instance-request.d.ts.map +1 -0
- package/dist/esm/types/create-root-instance-response.d.ts +30 -0
- package/dist/esm/types/create-root-instance-response.d.ts.map +1 -0
- package/dist/esm/types/create-sub-instance-request.d.ts +109 -0
- package/dist/esm/types/create-sub-instance-request.d.ts.map +1 -0
- package/dist/esm/types/create-sub-instance-response.d.ts +35 -0
- package/dist/esm/types/create-sub-instance-response.d.ts.map +1 -0
- package/dist/esm/types/csr-common-for-create-leaf-instance-input.d.ts +36 -0
- package/dist/esm/types/csr-common-for-create-leaf-instance-input.d.ts.map +1 -0
- package/dist/esm/types/csr-common-for-create-root-instance-input.d.ts +36 -0
- package/dist/esm/types/csr-common-for-create-root-instance-input.d.ts.map +1 -0
- package/dist/esm/types/csr-common-for-create-sub-instance-input.d.ts +36 -0
- package/dist/esm/types/csr-common-for-create-sub-instance-input.d.ts.map +1 -0
- package/dist/esm/types/custom-extensions-for-create-leaf-instance-input.d.ts +35 -0
- package/dist/esm/types/custom-extensions-for-create-leaf-instance-input.d.ts.map +1 -0
- package/dist/esm/types/custom-extensions-for-create-root-instance-input.d.ts +35 -0
- package/dist/esm/types/custom-extensions-for-create-root-instance-input.d.ts.map +1 -0
- package/dist/esm/types/custom-extensions-for-create-sub-instance-input.d.ts +35 -0
- package/dist/esm/types/custom-extensions-for-create-sub-instance-input.d.ts.map +1 -0
- package/dist/esm/types/delete-leaf-instance-request.d.ts +25 -0
- package/dist/esm/types/delete-leaf-instance-request.d.ts.map +1 -0
- package/dist/esm/types/delete-leaf-instance-response.d.ts +20 -0
- package/dist/esm/types/delete-leaf-instance-response.d.ts.map +1 -0
- package/dist/esm/types/delete-root-instance-request.d.ts +25 -0
- package/dist/esm/types/delete-root-instance-request.d.ts.map +1 -0
- package/dist/esm/types/delete-root-instance-response.d.ts +20 -0
- package/dist/esm/types/delete-root-instance-response.d.ts.map +1 -0
- package/dist/esm/types/delete-sub-instance-request.d.ts +25 -0
- package/dist/esm/types/delete-sub-instance-request.d.ts.map +1 -0
- package/dist/esm/types/delete-sub-instance-response.d.ts +20 -0
- package/dist/esm/types/delete-sub-instance-response.d.ts.map +1 -0
- package/dist/esm/types/deploy-info-for-list-leaf-instances-output.d.ts +26 -0
- package/dist/esm/types/deploy-info-for-list-leaf-instances-output.d.ts.map +1 -0
- package/dist/esm/types/deploy-info-for-list-root-instances-output.d.ts +26 -0
- package/dist/esm/types/deploy-info-for-list-root-instances-output.d.ts.map +1 -0
- package/dist/esm/types/deploy-info-for-list-sub-instances-output.d.ts +26 -0
- package/dist/esm/types/deploy-info-for-list-sub-instances-output.d.ts.map +1 -0
- package/dist/esm/types/deploy-summary-for-list-leaf-instances-output.d.ts +30 -0
- package/dist/esm/types/deploy-summary-for-list-leaf-instances-output.d.ts.map +1 -0
- package/dist/esm/types/deploy-summary-for-list-root-instances-output.d.ts +30 -0
- package/dist/esm/types/deploy-summary-for-list-root-instances-output.d.ts.map +1 -0
- package/dist/esm/types/deploy-summary-for-list-sub-instances-output.d.ts +30 -0
- package/dist/esm/types/deploy-summary-for-list-sub-instances-output.d.ts.map +1 -0
- package/dist/esm/types/disable-root-instance-request.d.ts +25 -0
- package/dist/esm/types/disable-root-instance-request.d.ts.map +1 -0
- package/dist/esm/types/disable-root-instance-response.d.ts +20 -0
- package/dist/esm/types/disable-root-instance-response.d.ts.map +1 -0
- package/dist/esm/types/disable-sub-instance-request.d.ts +25 -0
- package/dist/esm/types/disable-sub-instance-request.d.ts.map +1 -0
- package/dist/esm/types/disable-sub-instance-response.d.ts +20 -0
- package/dist/esm/types/disable-sub-instance-response.d.ts.map +1 -0
- package/dist/esm/types/download-leaf-instance-request.d.ts +40 -0
- package/dist/esm/types/download-leaf-instance-request.d.ts.map +1 -0
- package/dist/esm/types/download-leaf-instance-response.d.ts +50 -0
- package/dist/esm/types/download-leaf-instance-response.d.ts.map +1 -0
- package/dist/esm/types/enable-root-instance-request.d.ts +25 -0
- package/dist/esm/types/enable-root-instance-request.d.ts.map +1 -0
- package/dist/esm/types/enable-root-instance-response.d.ts +20 -0
- package/dist/esm/types/enable-root-instance-response.d.ts.map +1 -0
- package/dist/esm/types/enable-sub-instance-request.d.ts +25 -0
- package/dist/esm/types/enable-sub-instance-request.d.ts.map +1 -0
- package/dist/esm/types/enable-sub-instance-response.d.ts +20 -0
- package/dist/esm/types/enable-sub-instance-response.d.ts.map +1 -0
- package/dist/esm/types/extended-key-usages-for-create-leaf-instance-input.d.ts +50 -0
- package/dist/esm/types/extended-key-usages-for-create-leaf-instance-input.d.ts.map +1 -0
- package/dist/esm/types/extended-key-usages-for-create-root-instance-input.d.ts +50 -0
- package/dist/esm/types/extended-key-usages-for-create-root-instance-input.d.ts.map +1 -0
- package/dist/esm/types/extended-key-usages-for-create-sub-instance-input.d.ts +50 -0
- package/dist/esm/types/extended-key-usages-for-create-sub-instance-input.d.ts.map +1 -0
- package/dist/esm/types/extension-for-get-leaf-instance-output.d.ts +26 -0
- package/dist/esm/types/extension-for-get-leaf-instance-output.d.ts.map +1 -0
- package/dist/esm/types/extensions-for-create-leaf-instance-input.d.ts +38 -0
- package/dist/esm/types/extensions-for-create-leaf-instance-input.d.ts.map +1 -0
- package/dist/esm/types/extensions-for-create-root-instance-input.d.ts +38 -0
- package/dist/esm/types/extensions-for-create-root-instance-input.d.ts.map +1 -0
- package/dist/esm/types/extensions-for-create-sub-instance-input.d.ts +38 -0
- package/dist/esm/types/extensions-for-create-sub-instance-input.d.ts.map +1 -0
- package/dist/esm/types/get-leaf-instance-request.d.ts +25 -0
- package/dist/esm/types/get-leaf-instance-request.d.ts.map +1 -0
- package/dist/esm/types/get-leaf-instance-response.d.ts +130 -0
- package/dist/esm/types/get-leaf-instance-response.d.ts.map +1 -0
- package/dist/esm/types/get-quota-detail-request.d.ts +25 -0
- package/dist/esm/types/get-quota-detail-request.d.ts.map +1 -0
- package/dist/esm/types/get-quota-detail-response.d.ts +25 -0
- package/dist/esm/types/get-quota-detail-response.d.ts.map +1 -0
- package/dist/esm/types/get-root-instance-request.d.ts +25 -0
- package/dist/esm/types/get-root-instance-request.d.ts.map +1 -0
- package/dist/esm/types/get-root-instance-response.d.ts +114 -0
- package/dist/esm/types/get-root-instance-response.d.ts.map +1 -0
- package/dist/esm/types/get-sub-instance-request.d.ts +25 -0
- package/dist/esm/types/get-sub-instance-request.d.ts.map +1 -0
- package/dist/esm/types/get-sub-instance-response.d.ts +119 -0
- package/dist/esm/types/get-sub-instance-response.d.ts.map +1 -0
- package/dist/esm/types/index.d.ts +117 -0
- package/dist/esm/types/index.d.ts.map +1 -0
- package/dist/esm/types/key-usages-for-create-leaf-instance-input.d.ts +65 -0
- package/dist/esm/types/key-usages-for-create-leaf-instance-input.d.ts.map +1 -0
- package/dist/esm/types/key-usages-for-create-root-instance-input.d.ts +65 -0
- package/dist/esm/types/key-usages-for-create-root-instance-input.d.ts.map +1 -0
- package/dist/esm/types/key-usages-for-create-sub-instance-input.d.ts +65 -0
- package/dist/esm/types/key-usages-for-create-sub-instance-input.d.ts.map +1 -0
- package/dist/esm/types/list-leaf-instances-request.d.ts +66 -0
- package/dist/esm/types/list-leaf-instances-request.d.ts.map +1 -0
- package/dist/esm/types/list-leaf-instances-response.d.ts +41 -0
- package/dist/esm/types/list-leaf-instances-response.d.ts.map +1 -0
- package/dist/esm/types/list-root-instances-request.d.ts +61 -0
- package/dist/esm/types/list-root-instances-request.d.ts.map +1 -0
- package/dist/esm/types/list-root-instances-response.d.ts +41 -0
- package/dist/esm/types/list-root-instances-response.d.ts.map +1 -0
- package/dist/esm/types/list-sub-instances-request.d.ts +66 -0
- package/dist/esm/types/list-sub-instances-request.d.ts.map +1 -0
- package/dist/esm/types/list-sub-instances-response.d.ts +41 -0
- package/dist/esm/types/list-sub-instances-response.d.ts.map +1 -0
- package/dist/esm/types/list-tags-for-resources-request.d.ts +46 -0
- package/dist/esm/types/list-tags-for-resources-request.d.ts.map +1 -0
- package/dist/esm/types/list-tags-for-resources-response.d.ts +41 -0
- package/dist/esm/types/list-tags-for-resources-response.d.ts.map +1 -0
- package/dist/esm/types/resource-tag-for-list-tags-for-resources-output.d.ts +40 -0
- package/dist/esm/types/resource-tag-for-list-tags-for-resources-output.d.ts.map +1 -0
- package/dist/esm/types/result-for-list-leaf-instances-output.d.ts +129 -0
- package/dist/esm/types/result-for-list-leaf-instances-output.d.ts.map +1 -0
- package/dist/esm/types/result-for-list-root-instances-output.d.ts +129 -0
- package/dist/esm/types/result-for-list-root-instances-output.d.ts.map +1 -0
- package/dist/esm/types/result-for-list-sub-instances-output.d.ts +129 -0
- package/dist/esm/types/result-for-list-sub-instances-output.d.ts.map +1 -0
- package/dist/esm/types/revoke-leaf-instance-request.d.ts +30 -0
- package/dist/esm/types/revoke-leaf-instance-request.d.ts.map +1 -0
- package/dist/esm/types/revoke-leaf-instance-response.d.ts +20 -0
- package/dist/esm/types/revoke-leaf-instance-response.d.ts.map +1 -0
- package/dist/esm/types/revoke-root-instance-request.d.ts +30 -0
- package/dist/esm/types/revoke-root-instance-request.d.ts.map +1 -0
- package/dist/esm/types/revoke-root-instance-response.d.ts +20 -0
- package/dist/esm/types/revoke-root-instance-response.d.ts.map +1 -0
- package/dist/esm/types/revoke-sub-instance-request.d.ts +30 -0
- package/dist/esm/types/revoke-sub-instance-request.d.ts.map +1 -0
- package/dist/esm/types/revoke-sub-instance-response.d.ts +20 -0
- package/dist/esm/types/revoke-sub-instance-response.d.ts.map +1 -0
- package/dist/esm/types/subject-alternative-name-for-get-leaf-instance-output.d.ts +40 -0
- package/dist/esm/types/subject-alternative-name-for-get-leaf-instance-output.d.ts.map +1 -0
- package/dist/esm/types/subject-for-create-leaf-instance-input.d.ts +65 -0
- package/dist/esm/types/subject-for-create-leaf-instance-input.d.ts.map +1 -0
- package/dist/esm/types/subject-for-create-root-instance-input.d.ts +65 -0
- package/dist/esm/types/subject-for-create-root-instance-input.d.ts.map +1 -0
- package/dist/esm/types/subject-for-create-sub-instance-input.d.ts +65 -0
- package/dist/esm/types/subject-for-create-sub-instance-input.d.ts.map +1 -0
- package/dist/esm/types/subject-for-get-leaf-instance-output.d.ts +65 -0
- package/dist/esm/types/subject-for-get-leaf-instance-output.d.ts.map +1 -0
- package/dist/esm/types/subject-for-get-root-instance-output.d.ts +65 -0
- package/dist/esm/types/subject-for-get-root-instance-output.d.ts.map +1 -0
- package/dist/esm/types/subject-for-get-sub-instance-output.d.ts +65 -0
- package/dist/esm/types/subject-for-get-sub-instance-output.d.ts.map +1 -0
- package/dist/esm/types/subject-for-list-leaf-instances-output.d.ts +65 -0
- package/dist/esm/types/subject-for-list-leaf-instances-output.d.ts.map +1 -0
- package/dist/esm/types/subject-for-list-root-instances-output.d.ts +65 -0
- package/dist/esm/types/subject-for-list-root-instances-output.d.ts.map +1 -0
- package/dist/esm/types/subject-for-list-sub-instances-output.d.ts +65 -0
- package/dist/esm/types/subject-for-list-sub-instances-output.d.ts.map +1 -0
- package/dist/esm/types/tag-filter-for-list-leaf-instances-input.d.ts +30 -0
- package/dist/esm/types/tag-filter-for-list-leaf-instances-input.d.ts.map +1 -0
- package/dist/esm/types/tag-filter-for-list-root-instances-input.d.ts +30 -0
- package/dist/esm/types/tag-filter-for-list-root-instances-input.d.ts.map +1 -0
- package/dist/esm/types/tag-filter-for-list-sub-instances-input.d.ts +30 -0
- package/dist/esm/types/tag-filter-for-list-sub-instances-input.d.ts.map +1 -0
- package/dist/esm/types/tag-filter-for-list-tags-for-resources-input.d.ts +30 -0
- package/dist/esm/types/tag-filter-for-list-tags-for-resources-input.d.ts.map +1 -0
- package/dist/esm/types/tag-for-create-leaf-instance-input.d.ts +30 -0
- package/dist/esm/types/tag-for-create-leaf-instance-input.d.ts.map +1 -0
- package/dist/esm/types/tag-for-create-root-instance-input.d.ts +30 -0
- package/dist/esm/types/tag-for-create-root-instance-input.d.ts.map +1 -0
- package/dist/esm/types/tag-for-create-sub-instance-input.d.ts +30 -0
- package/dist/esm/types/tag-for-create-sub-instance-input.d.ts.map +1 -0
- package/dist/esm/types/tag-for-get-leaf-instance-output.d.ts +30 -0
- package/dist/esm/types/tag-for-get-leaf-instance-output.d.ts.map +1 -0
- package/dist/esm/types/tag-for-get-root-instance-output.d.ts +30 -0
- package/dist/esm/types/tag-for-get-root-instance-output.d.ts.map +1 -0
- package/dist/esm/types/tag-for-get-sub-instance-output.d.ts +30 -0
- package/dist/esm/types/tag-for-get-sub-instance-output.d.ts.map +1 -0
- package/dist/esm/types/tag-for-list-leaf-instances-output.d.ts +30 -0
- package/dist/esm/types/tag-for-list-leaf-instances-output.d.ts.map +1 -0
- package/dist/esm/types/tag-for-list-root-instances-output.d.ts +30 -0
- package/dist/esm/types/tag-for-list-root-instances-output.d.ts.map +1 -0
- package/dist/esm/types/tag-for-list-sub-instances-output.d.ts +30 -0
- package/dist/esm/types/tag-for-list-sub-instances-output.d.ts.map +1 -0
- package/dist/esm/types/tag-for-tag-resources-input.d.ts +30 -0
- package/dist/esm/types/tag-for-tag-resources-input.d.ts.map +1 -0
- package/dist/esm/types/tag-for-upload-leaf-certificate-input.d.ts +30 -0
- package/dist/esm/types/tag-for-upload-leaf-certificate-input.d.ts.map +1 -0
- package/dist/esm/types/tag-for-upload-root-instance-input.d.ts +30 -0
- package/dist/esm/types/tag-for-upload-root-instance-input.d.ts.map +1 -0
- package/dist/esm/types/tag-resources-request.d.ts +36 -0
- package/dist/esm/types/tag-resources-request.d.ts.map +1 -0
- package/dist/esm/types/tag-resources-response.d.ts +20 -0
- package/dist/esm/types/tag-resources-response.d.ts.map +1 -0
- package/dist/esm/types/untag-resources-request.d.ts +35 -0
- package/dist/esm/types/untag-resources-request.d.ts.map +1 -0
- package/dist/esm/types/untag-resources-response.d.ts +20 -0
- package/dist/esm/types/untag-resources-response.d.ts.map +1 -0
- package/dist/esm/types/upload-leaf-certificate-request.d.ts +51 -0
- package/dist/esm/types/upload-leaf-certificate-request.d.ts.map +1 -0
- package/dist/esm/types/upload-leaf-certificate-response.d.ts +30 -0
- package/dist/esm/types/upload-leaf-certificate-response.d.ts.map +1 -0
- package/dist/esm/types/upload-root-instance-request.d.ts +51 -0
- package/dist/esm/types/upload-root-instance-request.d.ts.map +1 -0
- package/dist/esm/types/upload-root-instance-response.d.ts +30 -0
- package/dist/esm/types/upload-root-instance-response.d.ts.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +37 -0
- package/rslib.config.ts +26 -0
- package/src/api.ts +533 -0
- package/src/index.ts +14 -0
- package/src/types/certificate-for-get-leaf-instance-output.ts +52 -0
- package/src/types/certificate-for-get-root-instance-output.ts +52 -0
- package/src/types/certificate-for-get-sub-instance-output.ts +52 -0
- package/src/types/contact-for-create-leaf-instance-input.ts +40 -0
- package/src/types/contact-for-create-root-instance-input.ts +40 -0
- package/src/types/contact-for-create-sub-instance-input.ts +40 -0
- package/src/types/contact-for-get-leaf-instance-output.ts +40 -0
- package/src/types/contact-for-get-root-instance-output.ts +40 -0
- package/src/types/contact-for-get-sub-instance-output.ts +40 -0
- package/src/types/contact-for-list-leaf-instances-output.ts +40 -0
- package/src/types/contact-for-list-root-instances-output.ts +40 -0
- package/src/types/contact-for-list-sub-instances-output.ts +40 -0
- package/src/types/create-leaf-instance-request.ts +134 -0
- package/src/types/create-leaf-instance-response.ts +70 -0
- package/src/types/create-root-instance-request.ts +143 -0
- package/src/types/create-root-instance-response.ts +34 -0
- package/src/types/create-sub-instance-request.ts +128 -0
- package/src/types/create-sub-instance-response.ts +40 -0
- package/src/types/csr-common-for-create-leaf-instance-input.ts +41 -0
- package/src/types/csr-common-for-create-root-instance-input.ts +41 -0
- package/src/types/csr-common-for-create-sub-instance-input.ts +41 -0
- package/src/types/custom-extensions-for-create-leaf-instance-input.ts +40 -0
- package/src/types/custom-extensions-for-create-root-instance-input.ts +40 -0
- package/src/types/custom-extensions-for-create-sub-instance-input.ts +40 -0
- package/src/types/delete-leaf-instance-request.ts +28 -0
- package/src/types/delete-leaf-instance-response.ts +22 -0
- package/src/types/delete-root-instance-request.ts +28 -0
- package/src/types/delete-root-instance-response.ts +22 -0
- package/src/types/delete-sub-instance-request.ts +28 -0
- package/src/types/delete-sub-instance-response.ts +22 -0
- package/src/types/deploy-info-for-list-leaf-instances-output.ts +29 -0
- package/src/types/deploy-info-for-list-root-instances-output.ts +29 -0
- package/src/types/deploy-info-for-list-sub-instances-output.ts +29 -0
- package/src/types/deploy-summary-for-list-leaf-instances-output.ts +34 -0
- package/src/types/deploy-summary-for-list-root-instances-output.ts +34 -0
- package/src/types/deploy-summary-for-list-sub-instances-output.ts +34 -0
- package/src/types/disable-root-instance-request.ts +28 -0
- package/src/types/disable-root-instance-response.ts +22 -0
- package/src/types/disable-sub-instance-request.ts +28 -0
- package/src/types/disable-sub-instance-response.ts +22 -0
- package/src/types/download-leaf-instance-request.ts +46 -0
- package/src/types/download-leaf-instance-response.ts +58 -0
- package/src/types/enable-root-instance-request.ts +28 -0
- package/src/types/enable-root-instance-response.ts +22 -0
- package/src/types/enable-sub-instance-request.ts +28 -0
- package/src/types/enable-sub-instance-response.ts +22 -0
- package/src/types/extended-key-usages-for-create-leaf-instance-input.ts +58 -0
- package/src/types/extended-key-usages-for-create-root-instance-input.ts +58 -0
- package/src/types/extended-key-usages-for-create-sub-instance-input.ts +58 -0
- package/src/types/extension-for-get-leaf-instance-output.ts +29 -0
- package/src/types/extensions-for-create-leaf-instance-input.ts +43 -0
- package/src/types/extensions-for-create-root-instance-input.ts +43 -0
- package/src/types/extensions-for-create-sub-instance-input.ts +43 -0
- package/src/types/get-leaf-instance-request.ts +28 -0
- package/src/types/get-leaf-instance-response.ts +153 -0
- package/src/types/get-quota-detail-request.ts +28 -0
- package/src/types/get-quota-detail-response.ts +28 -0
- package/src/types/get-root-instance-request.ts +28 -0
- package/src/types/get-root-instance-response.ts +134 -0
- package/src/types/get-sub-instance-request.ts +28 -0
- package/src/types/get-sub-instance-response.ts +140 -0
- package/src/types/index.ts +116 -0
- package/src/types/key-usages-for-create-leaf-instance-input.ts +76 -0
- package/src/types/key-usages-for-create-root-instance-input.ts +76 -0
- package/src/types/key-usages-for-create-sub-instance-input.ts +76 -0
- package/src/types/list-leaf-instances-request.ts +77 -0
- package/src/types/list-leaf-instances-response.ts +47 -0
- package/src/types/list-root-instances-request.ts +71 -0
- package/src/types/list-root-instances-response.ts +47 -0
- package/src/types/list-sub-instances-request.ts +77 -0
- package/src/types/list-sub-instances-response.ts +47 -0
- package/src/types/list-tags-for-resources-request.ts +53 -0
- package/src/types/list-tags-for-resources-response.ts +47 -0
- package/src/types/resource-tag-for-list-tags-for-resources-output.ts +46 -0
- package/src/types/result-for-list-leaf-instances-output.ts +152 -0
- package/src/types/result-for-list-root-instances-output.ts +152 -0
- package/src/types/result-for-list-sub-instances-output.ts +152 -0
- package/src/types/revoke-leaf-instance-request.ts +34 -0
- package/src/types/revoke-leaf-instance-response.ts +22 -0
- package/src/types/revoke-root-instance-request.ts +34 -0
- package/src/types/revoke-root-instance-response.ts +22 -0
- package/src/types/revoke-sub-instance-request.ts +34 -0
- package/src/types/revoke-sub-instance-response.ts +22 -0
- package/src/types/subject-alternative-name-for-get-leaf-instance-output.ts +46 -0
- package/src/types/subject-for-create-leaf-instance-input.ts +76 -0
- package/src/types/subject-for-create-root-instance-input.ts +76 -0
- package/src/types/subject-for-create-sub-instance-input.ts +76 -0
- package/src/types/subject-for-get-leaf-instance-output.ts +76 -0
- package/src/types/subject-for-get-root-instance-output.ts +76 -0
- package/src/types/subject-for-get-sub-instance-output.ts +76 -0
- package/src/types/subject-for-list-leaf-instances-output.ts +76 -0
- package/src/types/subject-for-list-root-instances-output.ts +76 -0
- package/src/types/subject-for-list-sub-instances-output.ts +76 -0
- package/src/types/tag-filter-for-list-leaf-instances-input.ts +34 -0
- package/src/types/tag-filter-for-list-root-instances-input.ts +34 -0
- package/src/types/tag-filter-for-list-sub-instances-input.ts +34 -0
- package/src/types/tag-filter-for-list-tags-for-resources-input.ts +34 -0
- package/src/types/tag-for-create-leaf-instance-input.ts +34 -0
- package/src/types/tag-for-create-root-instance-input.ts +34 -0
- package/src/types/tag-for-create-sub-instance-input.ts +34 -0
- package/src/types/tag-for-get-leaf-instance-output.ts +34 -0
- package/src/types/tag-for-get-root-instance-output.ts +34 -0
- package/src/types/tag-for-get-sub-instance-output.ts +34 -0
- package/src/types/tag-for-list-leaf-instances-output.ts +34 -0
- package/src/types/tag-for-list-root-instances-output.ts +34 -0
- package/src/types/tag-for-list-sub-instances-output.ts +34 -0
- package/src/types/tag-for-tag-resources-input.ts +34 -0
- package/src/types/tag-for-upload-leaf-certificate-input.ts +34 -0
- package/src/types/tag-for-upload-root-instance-input.ts +34 -0
- package/src/types/tag-resources-request.ts +41 -0
- package/src/types/tag-resources-response.ts +22 -0
- package/src/types/untag-resources-request.ts +40 -0
- package/src/types/untag-resources-response.ts +22 -0
- package/src/types/upload-leaf-certificate-request.ts +59 -0
- package/src/types/upload-leaf-certificate-response.ts +34 -0
- package/src/types/upload-root-instance-request.ts +59 -0
- package/src/types/upload-root-instance-response.ts +34 -0
- 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
|
+
}
|