aidp-typescript-client 4.1.1 → 4.2.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/dist/lib/client.d.ts +149 -298
- package/dist/lib/client.js +854 -301
- package/dist/lib/client.js.map +1 -1
- package/dist/lib/model/agent-permission-summary.d.ts +1 -0
- package/dist/lib/model/agent-permission-summary.js +1 -0
- package/dist/lib/model/agent-permission-summary.js.map +1 -1
- package/dist/lib/model/all-privilege-type.d.ts +1 -0
- package/dist/lib/model/all-privilege-type.js +1 -0
- package/dist/lib/model/all-privilege-type.js.map +1 -1
- package/dist/lib/model/assign-agent-permission-details.d.ts +2 -1
- package/dist/lib/model/assign-agent-permission-details.js +1 -0
- package/dist/lib/model/assign-agent-permission-details.js.map +1 -1
- package/dist/lib/model/assign-schema-permission-details.d.ts +2 -1
- package/dist/lib/model/assign-schema-permission-details.js +1 -0
- package/dist/lib/model/assign-schema-permission-details.js.map +1 -1
- package/dist/lib/model/async-operation-action-type.d.ts +2 -0
- package/dist/lib/model/async-operation-action-type.js +2 -0
- package/dist/lib/model/async-operation-action-type.js.map +1 -1
- package/dist/lib/model/async-operation-summary.d.ts +4 -0
- package/dist/lib/model/async-operation-summary.js.map +1 -1
- package/dist/lib/model/async-operation.d.ts +4 -0
- package/dist/lib/model/async-operation.js.map +1 -1
- package/dist/lib/model/bundle-deployment-status.d.ts +1 -0
- package/dist/lib/model/bundle-deployment-status.js +4 -0
- package/dist/lib/model/bundle-deployment-status.js.map +1 -1
- package/dist/lib/model/bundle-publish-location.d.ts +17 -0
- package/dist/lib/model/bundle-publish-location.js +19 -0
- package/dist/lib/model/bundle-publish-location.js.map +1 -0
- package/dist/lib/model/bundle-publish-status.d.ts +43 -0
- package/dist/lib/model/bundle-publish-status.js +77 -0
- package/dist/lib/model/bundle-publish-status.js.map +1 -0
- package/dist/lib/model/bundle-published-resource.d.ts +30 -0
- package/dist/lib/model/bundle-published-resource.js +29 -0
- package/dist/lib/model/bundle-published-resource.js.map +1 -0
- package/dist/lib/model/cluster-library-details.d.ts +3 -1
- package/dist/lib/model/cluster-library-details.js +2 -0
- package/dist/lib/model/cluster-library-details.js.map +1 -1
- package/dist/lib/model/cluster-library-summary.d.ts +8 -0
- package/dist/lib/model/cluster-library-summary.js +8 -0
- package/dist/lib/model/cluster-library-summary.js.map +1 -1
- package/dist/lib/model/compute-configuration-libraries.d.ts +17 -0
- package/dist/lib/model/compute-configuration-libraries.js +19 -0
- package/dist/lib/model/compute-configuration-libraries.js.map +1 -0
- package/dist/lib/model/compute-configuration-library-entry.d.ts +21 -0
- package/dist/lib/model/compute-configuration-library-entry.js +19 -0
- package/dist/lib/model/compute-configuration-library-entry.js.map +1 -0
- package/dist/lib/model/compute-configuration.d.ts +21 -0
- package/dist/lib/model/compute-configuration.js +59 -0
- package/dist/lib/model/compute-configuration.js.map +1 -0
- package/dist/lib/model/create-spark-cluster-details.d.ts +4 -0
- package/dist/lib/model/create-spark-cluster-details.js.map +1 -1
- package/dist/lib/model/db2-external-catalog-connection-property-key.d.ts +15 -0
- package/dist/lib/model/db2-external-catalog-connection-property-key.js +27 -0
- package/dist/lib/model/db2-external-catalog-connection-property-key.js.map +1 -0
- package/dist/lib/model/db2-schema-summary.d.ts +12 -0
- package/dist/lib/model/{google-bigquery-schema-summary.js → db2-schema-summary.js} +8 -8
- package/dist/lib/model/db2-schema-summary.js.map +1 -0
- package/dist/lib/model/db2-schema.d.ts +12 -0
- package/dist/lib/model/{google-bigquery-schema.js → db2-schema.js} +8 -8
- package/dist/lib/model/db2-schema.js.map +1 -0
- package/dist/lib/model/db2-table-summary.d.ts +12 -0
- package/dist/lib/model/{google-bigquery-table-summary.js → db2-table-summary.js} +8 -8
- package/dist/lib/model/db2-table-summary.js.map +1 -0
- package/dist/lib/model/db2-table.d.ts +12 -0
- package/dist/lib/model/{google-bigquery-table.js → db2-table.js} +8 -8
- package/dist/lib/model/db2-table.js.map +1 -0
- package/dist/lib/model/export-compute-configuration-details.d.ts +28 -0
- package/dist/lib/model/export-compute-configuration-details.js +61 -0
- package/dist/lib/model/export-compute-configuration-details.js.map +1 -0
- package/dist/lib/model/external-catalog-source-type.d.ts +1 -1
- package/dist/lib/model/external-catalog-source-type.js +1 -1
- package/dist/lib/model/external-catalog-source-type.js.map +1 -1
- package/dist/lib/model/fetch-bundle-publish-status-details.d.ts +13 -0
- package/dist/lib/model/fetch-bundle-publish-status-details.js +19 -0
- package/dist/lib/model/fetch-bundle-publish-status-details.js.map +1 -0
- package/dist/lib/model/file-read-configuration.d.ts +3 -3
- package/dist/lib/model/file-write-configuration.d.ts +1 -1
- package/dist/lib/model/import-compute-configuration-details.d.ts +13 -0
- package/dist/lib/model/import-compute-configuration-details.js +19 -0
- package/dist/lib/model/import-compute-configuration-details.js.map +1 -0
- package/dist/lib/model/index.d.ts +54 -10
- package/dist/lib/model/index.js +74 -29
- package/dist/lib/model/index.js.map +1 -1
- package/dist/lib/model/install-cluster-library-details.d.ts +20 -0
- package/dist/lib/model/install-cluster-library-details.js.map +1 -1
- package/dist/lib/model/maven-cluster-library-summary.d.ts +24 -0
- package/dist/lib/model/maven-cluster-library-summary.js +53 -0
- package/dist/lib/model/maven-cluster-library-summary.js.map +1 -0
- package/dist/lib/model/maven-search-summary-collection.d.ts +14 -0
- package/dist/lib/model/maven-search-summary-collection.js +61 -0
- package/dist/lib/model/maven-search-summary-collection.js.map +1 -0
- package/dist/lib/model/maven-search-summary.d.ts +47 -0
- package/dist/lib/model/maven-search-summary.js +19 -0
- package/dist/lib/model/maven-search-summary.js.map +1 -0
- package/dist/lib/model/oac-object-column-sql-info.d.ts +21 -0
- package/dist/lib/model/oac-object-column-sql-info.js +19 -0
- package/dist/lib/model/oac-object-column-sql-info.js.map +1 -0
- package/dist/lib/model/oac-object-column.d.ts +20 -2
- package/dist/lib/model/oac-object-column.js +48 -2
- package/dist/lib/model/oac-object-column.js.map +1 -1
- package/dist/lib/model/oac-object-hierarchy-level.d.ts +21 -0
- package/dist/lib/model/oac-object-hierarchy-level.js +19 -0
- package/dist/lib/model/oac-object-hierarchy-level.js.map +1 -0
- package/dist/lib/model/oac-object-table-summary.d.ts +9 -0
- package/dist/lib/model/oac-object-table-summary.js +50 -2
- package/dist/lib/model/oac-object-table-summary.js.map +1 -1
- package/dist/lib/model/oac-object-table.d.ts +8 -0
- package/dist/lib/model/oac-object-table.js +12 -0
- package/dist/lib/model/oac-object-table.js.map +1 -1
- package/dist/lib/model/publish-bundle-details.d.ts +13 -0
- package/dist/lib/model/publish-bundle-details.js +19 -0
- package/dist/lib/model/publish-bundle-details.js.map +1 -0
- package/dist/lib/model/pypi-cluster-library-summary.d.ts +20 -0
- package/dist/lib/model/pypi-cluster-library-summary.js +53 -0
- package/dist/lib/model/pypi-cluster-library-summary.js.map +1 -0
- package/dist/lib/model/revoke-agent-permission-details.d.ts +2 -1
- package/dist/lib/model/revoke-agent-permission-details.js +1 -0
- package/dist/lib/model/revoke-agent-permission-details.js.map +1 -1
- package/dist/lib/model/revoke-schema-permission-details.d.ts +2 -1
- package/dist/lib/model/revoke-schema-permission-details.js +1 -0
- package/dist/lib/model/revoke-schema-permission-details.js.map +1 -1
- package/dist/lib/model/schema-catalog-type.d.ts +1 -1
- package/dist/lib/model/schema-catalog-type.js +1 -1
- package/dist/lib/model/schema-catalog-type.js.map +1 -1
- package/dist/lib/model/schema-permission-summary.d.ts +1 -0
- package/dist/lib/model/schema-permission-summary.js +1 -0
- package/dist/lib/model/schema-permission-summary.js.map +1 -1
- package/dist/lib/model/schema-privilege-for-manage.d.ts +2 -1
- package/dist/lib/model/schema-privilege-for-manage.js +1 -0
- package/dist/lib/model/schema-privilege-for-manage.js.map +1 -1
- package/dist/lib/model/schema-privilege.d.ts +1 -0
- package/dist/lib/model/schema-privilege.js +1 -0
- package/dist/lib/model/schema-privilege.js.map +1 -1
- package/dist/lib/model/schema-summary.js +4 -4
- package/dist/lib/model/schema-summary.js.map +1 -1
- package/dist/lib/model/schema.js +4 -4
- package/dist/lib/model/schema.js.map +1 -1
- package/dist/lib/model/table-catalog-type.d.ts +1 -1
- package/dist/lib/model/table-catalog-type.js +1 -1
- package/dist/lib/model/table-catalog-type.js.map +1 -1
- package/dist/lib/model/table-summary.js +4 -4
- package/dist/lib/model/table-summary.js.map +1 -1
- package/dist/lib/model/table.js +4 -4
- package/dist/lib/model/table.js.map +1 -1
- package/dist/lib/model/task-run-retry-collection.d.ts +14 -0
- package/dist/lib/model/task-run-retry-collection.js +61 -0
- package/dist/lib/model/task-run-retry-collection.js.map +1 -0
- package/dist/lib/model/task-run-retry-summary.d.ts +59 -0
- package/dist/lib/model/task-run-retry-summary.js +59 -0
- package/dist/lib/model/task-run-retry-summary.js.map +1 -0
- package/dist/lib/model/task-run-retry.d.ts +17 -1
- package/dist/lib/model/task-run-retry.js.map +1 -1
- package/dist/lib/model/uninstall-cluster-library-details.d.ts +21 -1
- package/dist/lib/model/uninstall-cluster-library-details.js.map +1 -1
- package/dist/lib/model/upload-and-extract-zip-details.d.ts +41 -0
- package/dist/lib/model/upload-and-extract-zip-details.js +24 -0
- package/dist/lib/model/upload-and-extract-zip-details.js.map +1 -0
- package/dist/lib/model/upload-and-extract-zip-result.d.ts +21 -0
- package/dist/lib/model/upload-and-extract-zip-result.js +19 -0
- package/dist/lib/model/upload-and-extract-zip-result.js.map +1 -0
- package/dist/lib/model/workspace-network-configuration-details.d.ts +6 -0
- package/dist/lib/model/workspace-network-configuration-details.js.map +1 -1
- package/dist/lib/model/zip-and-download-folder-details.d.ts +13 -0
- package/dist/lib/model/zip-and-download-folder-details.js +19 -0
- package/dist/lib/model/zip-and-download-folder-details.js.map +1 -0
- package/dist/lib/model/zip-and-download-folder-result.d.ts +21 -0
- package/dist/lib/model/zip-and-download-folder-result.js +19 -0
- package/dist/lib/model/zip-and-download-folder-result.js.map +1 -0
- package/dist/lib/request/clone-compute-request.d.ts +35 -0
- package/dist/lib/request/clone-compute-request.js +4 -0
- package/dist/lib/request/clone-compute-request.js.map +1 -0
- package/dist/lib/request/copy-agent-request.d.ts +2 -2
- package/dist/lib/request/create-agent-request.d.ts +1 -1
- package/dist/lib/request/delete-agent-deployment-request.d.ts +2 -2
- package/dist/lib/request/delete-agent-request.d.ts +1 -1
- package/dist/lib/request/delete-agent-session-request.d.ts +2 -2
- package/dist/lib/request/deploy-agent-request.d.ts +2 -2
- package/dist/lib/request/export-compute-configuration-request.d.ts +40 -0
- package/dist/lib/request/export-compute-configuration-request.js +4 -0
- package/dist/lib/request/export-compute-configuration-request.js.map +1 -0
- package/dist/lib/request/fetch-bundle-publish-status-action-request.d.ts +27 -0
- package/dist/lib/request/fetch-bundle-publish-status-action-request.js +4 -0
- package/dist/lib/request/fetch-bundle-publish-status-action-request.js.map +1 -0
- package/dist/lib/request/get-agent-deployment-request.d.ts +2 -2
- package/dist/lib/request/get-agent-request.d.ts +1 -1
- package/dist/lib/request/get-agent-session-request.d.ts +2 -2
- package/dist/lib/request/get-agent-session-trace-request.d.ts +2 -2
- package/dist/lib/request/get-catalog-request.d.ts +4 -0
- package/dist/lib/request/get-compute-configuration-request.d.ts +26 -0
- package/dist/lib/request/get-compute-configuration-request.js +4 -0
- package/dist/lib/request/get-compute-configuration-request.js.map +1 -0
- package/dist/lib/request/get-schema-request.d.ts +4 -0
- package/dist/lib/request/get-table-request.d.ts +4 -0
- package/dist/lib/request/get-task-run-request.d.ts +4 -0
- package/dist/lib/request/import-compute-configuration-request.d.ts +40 -0
- package/dist/lib/request/import-compute-configuration-request.js +4 -0
- package/dist/lib/request/import-compute-configuration-request.js.map +1 -0
- package/dist/lib/request/index.d.ts +24 -0
- package/dist/lib/request/index.js +3 -1
- package/dist/lib/request/index.js.map +1 -1
- package/dist/lib/request/list-agent-deployments-request.d.ts +1 -1
- package/dist/lib/request/list-agent-permissions-request.d.ts +1 -1
- package/dist/lib/request/list-agent-session-chat-histories-request.d.ts +2 -2
- package/dist/lib/request/list-agent-sessions-request.d.ts +1 -1
- package/dist/lib/request/list-catalogs-request.d.ts +4 -0
- package/dist/lib/request/list-catalogs-request.js.map +1 -1
- package/dist/lib/request/list-jobs-request.d.ts +1 -4
- package/dist/lib/request/list-jobs-request.js.map +1 -1
- package/dist/lib/request/list-schemas-request.d.ts +4 -0
- package/dist/lib/request/list-schemas-request.js.map +1 -1
- package/dist/lib/request/list-tables-request.d.ts +4 -0
- package/dist/lib/request/list-tables-request.js.map +1 -1
- package/dist/lib/request/list-task-run-retries-request.d.ts +77 -0
- package/dist/lib/request/list-task-run-retries-request.js +28 -0
- package/dist/lib/request/list-task-run-retries-request.js.map +1 -0
- package/dist/lib/request/list-task-runs-request.d.ts +1 -4
- package/dist/lib/request/list-task-runs-request.js.map +1 -1
- package/dist/lib/request/manage-agent-permission-request.d.ts +1 -1
- package/dist/lib/request/preview-agent-agent-card-request.d.ts +1 -1
- package/dist/lib/request/publish-bundle-action-request.d.ts +36 -0
- package/dist/lib/request/publish-bundle-action-request.js +4 -0
- package/dist/lib/request/publish-bundle-action-request.js.map +1 -0
- package/dist/lib/request/redeploy-agent-by-key-request.d.ts +2 -2
- package/dist/lib/request/search-maven-packages-request.d.ts +44 -0
- package/dist/lib/request/search-maven-packages-request.js +4 -0
- package/dist/lib/request/search-maven-packages-request.js.map +1 -0
- package/dist/lib/request/update-agent-deployment-metadata-request.d.ts +2 -2
- package/dist/lib/request/update-agent-request.d.ts +1 -1
- package/dist/lib/request/upload-and-extract-volume-zip-request.d.ts +36 -0
- package/dist/lib/request/upload-and-extract-volume-zip-request.js +4 -0
- package/dist/lib/request/upload-and-extract-volume-zip-request.js.map +1 -0
- package/dist/lib/request/upload-and-extract-workspace-zip-request.d.ts +36 -0
- package/dist/lib/request/upload-and-extract-workspace-zip-request.js +4 -0
- package/dist/lib/request/upload-and-extract-workspace-zip-request.js.map +1 -0
- package/dist/lib/request/validate-agent-request.d.ts +1 -1
- package/dist/lib/request/zip-and-download-volume-folder-request.d.ts +36 -0
- package/dist/lib/request/zip-and-download-volume-folder-request.js +4 -0
- package/dist/lib/request/zip-and-download-volume-folder-request.js.map +1 -0
- package/dist/lib/request/zip-and-download-workspace-folder-request.d.ts +36 -0
- package/dist/lib/request/zip-and-download-workspace-folder-request.js +4 -0
- package/dist/lib/request/zip-and-download-workspace-folder-request.js.map +1 -0
- package/dist/lib/response/clone-compute-response.d.ts +14 -0
- package/dist/lib/response/clone-compute-response.js +4 -0
- package/dist/lib/response/clone-compute-response.js.map +1 -0
- package/dist/lib/response/copy-agent-response.d.ts +1 -1
- package/dist/lib/response/create-agent-response.d.ts +1 -1
- package/dist/lib/response/export-compute-configuration-response.d.ts +33 -0
- package/dist/lib/response/export-compute-configuration-response.js +4 -0
- package/dist/lib/response/export-compute-configuration-response.js.map +1 -0
- package/dist/lib/response/fetch-bundle-publish-status-action-response.d.ts +13 -0
- package/dist/lib/response/fetch-bundle-publish-status-action-response.js +4 -0
- package/dist/lib/response/fetch-bundle-publish-status-action-response.js.map +1 -0
- package/dist/lib/response/get-compute-configuration-response.d.ts +13 -0
- package/dist/lib/response/get-compute-configuration-response.js +4 -0
- package/dist/lib/response/get-compute-configuration-response.js.map +1 -0
- package/dist/lib/response/import-compute-configuration-response.d.ts +14 -0
- package/dist/lib/response/import-compute-configuration-response.js +4 -0
- package/dist/lib/response/import-compute-configuration-response.js.map +1 -0
- package/dist/lib/response/index.d.ts +24 -0
- package/dist/lib/response/list-task-run-retries-response.d.ts +25 -0
- package/dist/lib/response/list-task-run-retries-response.js +4 -0
- package/dist/lib/response/list-task-run-retries-response.js.map +1 -0
- package/dist/lib/response/publish-bundle-action-response.d.ts +14 -0
- package/dist/lib/response/publish-bundle-action-response.js +4 -0
- package/dist/lib/response/publish-bundle-action-response.js.map +1 -0
- package/dist/lib/response/redeploy-agent-by-key-response.d.ts +1 -1
- package/dist/lib/response/search-maven-packages-response.d.ts +25 -0
- package/dist/lib/response/search-maven-packages-response.js +4 -0
- package/dist/lib/response/search-maven-packages-response.js.map +1 -0
- package/dist/lib/response/upload-and-extract-volume-zip-response.d.ts +19 -0
- package/dist/lib/response/upload-and-extract-volume-zip-response.js +4 -0
- package/dist/lib/response/upload-and-extract-volume-zip-response.js.map +1 -0
- package/dist/lib/response/upload-and-extract-workspace-zip-response.d.ts +19 -0
- package/dist/lib/response/upload-and-extract-workspace-zip-response.js +4 -0
- package/dist/lib/response/upload-and-extract-workspace-zip-response.js.map +1 -0
- package/dist/lib/response/zip-and-download-volume-folder-response.d.ts +19 -0
- package/dist/lib/response/zip-and-download-volume-folder-response.js +4 -0
- package/dist/lib/response/zip-and-download-volume-folder-response.js.map +1 -0
- package/dist/lib/response/zip-and-download-workspace-folder-response.d.ts +19 -0
- package/dist/lib/response/zip-and-download-workspace-folder-response.js +4 -0
- package/dist/lib/response/zip-and-download-workspace-folder-response.js.map +1 -0
- package/lib/client.ts +1050 -401
- package/lib/model/agent-permission-summary.ts +1 -0
- package/lib/model/all-privilege-type.ts +1 -0
- package/lib/model/assign-agent-permission-details.ts +2 -1
- package/lib/model/assign-schema-permission-details.ts +2 -1
- package/lib/model/async-operation-action-type.ts +2 -0
- package/lib/model/async-operation-summary.ts +7 -0
- package/lib/model/async-operation.ts +7 -0
- package/lib/model/bundle-deployment-status.ts +10 -0
- package/lib/model/bundle-publish-location.ts +49 -0
- package/lib/model/bundle-publish-status.ts +102 -0
- package/lib/model/bundle-published-resource.ts +67 -0
- package/lib/model/cluster-library-details.ts +3 -1
- package/lib/model/cluster-library-summary.ts +22 -0
- package/lib/model/compute-configuration-libraries.ts +49 -0
- package/lib/model/compute-configuration-library-entry.ts +56 -0
- package/lib/model/compute-configuration.ts +59 -0
- package/lib/model/create-spark-cluster-details.ts +7 -0
- package/lib/model/db2-external-catalog-connection-property-key.ts +27 -0
- package/lib/model/db2-schema-summary.ts +36 -0
- package/lib/model/db2-schema.ts +36 -0
- package/lib/model/db2-table-summary.ts +36 -0
- package/lib/model/db2-table.ts +36 -0
- package/lib/model/export-compute-configuration-details.ts +71 -0
- package/lib/model/external-catalog-source-type.ts +1 -1
- package/lib/model/fetch-bundle-publish-status-details.ts +42 -0
- package/lib/model/file-read-configuration.ts +3 -3
- package/lib/model/file-write-configuration.ts +1 -1
- package/lib/model/import-compute-configuration-details.ts +42 -0
- package/lib/model/index.ts +54 -10
- package/lib/model/install-cluster-library-details.ts +35 -0
- package/lib/model/maven-cluster-library-summary.ts +57 -0
- package/lib/model/maven-search-summary-collection.ts +50 -0
- package/lib/model/maven-search-summary.ts +84 -0
- package/lib/model/oac-object-column-sql-info.ts +56 -0
- package/lib/model/oac-object-column.ts +48 -2
- package/lib/model/oac-object-hierarchy-level.ts +56 -0
- package/lib/model/oac-object-table-summary.ts +30 -0
- package/lib/model/oac-object-table.ts +30 -0
- package/lib/model/publish-bundle-details.ts +42 -0
- package/lib/model/pypi-cluster-library-summary.ts +50 -0
- package/lib/model/revoke-agent-permission-details.ts +2 -1
- package/lib/model/revoke-schema-permission-details.ts +2 -1
- package/lib/model/schema-catalog-type.ts +1 -1
- package/lib/model/schema-permission-summary.ts +1 -0
- package/lib/model/schema-privilege-for-manage.ts +2 -1
- package/lib/model/schema-privilege.ts +1 -0
- package/lib/model/schema-summary.ts +4 -4
- package/lib/model/schema.ts +4 -4
- package/lib/model/table-catalog-type.ts +1 -1
- package/lib/model/table-summary.ts +4 -4
- package/lib/model/table.ts +4 -4
- package/lib/model/task-run-retry-collection.ts +50 -0
- package/lib/model/task-run-retry-summary.ts +129 -0
- package/lib/model/task-run-retry.ts +29 -1
- package/lib/model/uninstall-cluster-library-details.ts +36 -1
- package/lib/model/upload-and-extract-zip-details.ts +91 -0
- package/lib/model/upload-and-extract-zip-result.ts +56 -0
- package/lib/model/workspace-network-configuration-details.ts +9 -0
- package/lib/model/zip-and-download-folder-details.ts +42 -0
- package/lib/model/zip-and-download-folder-result.ts +56 -0
- package/lib/request/clone-compute-request.ts +40 -0
- package/lib/request/copy-agent-request.ts +2 -2
- package/lib/request/create-agent-request.ts +1 -1
- package/lib/request/delete-agent-deployment-request.ts +2 -2
- package/lib/request/delete-agent-request.ts +1 -1
- package/lib/request/delete-agent-session-request.ts +2 -2
- package/lib/request/deploy-agent-request.ts +2 -2
- package/lib/request/export-compute-configuration-request.ts +44 -0
- package/lib/request/fetch-bundle-publish-status-action-request.ts +31 -0
- package/lib/request/get-agent-deployment-request.ts +2 -2
- package/lib/request/get-agent-request.ts +1 -1
- package/lib/request/get-agent-session-request.ts +2 -2
- package/lib/request/get-agent-session-trace-request.ts +2 -2
- package/lib/request/get-catalog-request.ts +4 -0
- package/lib/request/get-compute-configuration-request.ts +31 -0
- package/lib/request/get-schema-request.ts +4 -0
- package/lib/request/get-table-request.ts +4 -0
- package/lib/request/get-task-run-request.ts +4 -0
- package/lib/request/import-compute-configuration-request.ts +44 -0
- package/lib/request/index.ts +24 -0
- package/lib/request/list-agent-deployments-request.ts +1 -1
- package/lib/request/list-agent-permissions-request.ts +1 -1
- package/lib/request/list-agent-session-chat-histories-request.ts +2 -2
- package/lib/request/list-agent-sessions-request.ts +1 -1
- package/lib/request/list-catalogs-request.ts +4 -0
- package/lib/request/list-jobs-request.ts +1 -4
- package/lib/request/list-schemas-request.ts +4 -0
- package/lib/request/list-tables-request.ts +4 -0
- package/lib/request/list-task-run-retries-request.ts +84 -0
- package/lib/request/list-task-runs-request.ts +1 -4
- package/lib/request/manage-agent-permission-request.ts +1 -1
- package/lib/request/preview-agent-agent-card-request.ts +1 -1
- package/lib/request/publish-bundle-action-request.ts +40 -0
- package/lib/request/redeploy-agent-by-key-request.ts +2 -2
- package/lib/request/search-maven-packages-request.ts +49 -0
- package/lib/request/update-agent-deployment-metadata-request.ts +2 -2
- package/lib/request/update-agent-request.ts +1 -1
- package/lib/request/upload-and-extract-volume-zip-request.ts +40 -0
- package/lib/request/upload-and-extract-workspace-zip-request.ts +40 -0
- package/lib/request/validate-agent-request.ts +1 -1
- package/lib/request/zip-and-download-volume-folder-request.ts +40 -0
- package/lib/request/zip-and-download-workspace-folder-request.ts +40 -0
- package/lib/response/clone-compute-response.ts +21 -0
- package/lib/response/copy-agent-response.ts +1 -1
- package/lib/response/create-agent-response.ts +1 -1
- package/lib/response/export-compute-configuration-response.ts +39 -0
- package/lib/response/fetch-bundle-publish-status-action-response.ts +18 -0
- package/lib/response/get-compute-configuration-response.ts +18 -0
- package/lib/response/import-compute-configuration-response.ts +21 -0
- package/lib/response/index.ts +24 -0
- package/lib/response/list-task-run-retries-response.ts +30 -0
- package/lib/response/publish-bundle-action-response.ts +21 -0
- package/lib/response/redeploy-agent-by-key-response.ts +1 -1
- package/lib/response/search-maven-packages-response.ts +30 -0
- package/lib/response/upload-and-extract-volume-zip-response.ts +24 -0
- package/lib/response/upload-and-extract-workspace-zip-response.ts +24 -0
- package/lib/response/zip-and-download-volume-folder-response.ts +24 -0
- package/lib/response/zip-and-download-workspace-folder-response.ts +24 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/dist/lib/model/google-bigquery-external-catalog-connection-property-key.d.ts +0 -15
- package/dist/lib/model/google-bigquery-external-catalog-connection-property-key.js +0 -27
- package/dist/lib/model/google-bigquery-external-catalog-connection-property-key.js.map +0 -1
- package/dist/lib/model/google-bigquery-schema-summary.d.ts +0 -12
- package/dist/lib/model/google-bigquery-schema-summary.js.map +0 -1
- package/dist/lib/model/google-bigquery-schema.d.ts +0 -12
- package/dist/lib/model/google-bigquery-schema.js.map +0 -1
- package/dist/lib/model/google-bigquery-table-summary.d.ts +0 -12
- package/dist/lib/model/google-bigquery-table-summary.js.map +0 -1
- package/dist/lib/model/google-bigquery-table.d.ts +0 -12
- package/dist/lib/model/google-bigquery-table.js.map +0 -1
- package/lib/model/google-bigquery-external-catalog-connection-property-key.ts +0 -27
- package/lib/model/google-bigquery-schema-summary.ts +0 -36
- package/lib/model/google-bigquery-schema.ts +0 -36
- package/lib/model/google-bigquery-table-summary.ts +0 -36
- package/lib/model/google-bigquery-table.ts +0 -36
package/lib/client.ts
CHANGED
|
@@ -181,7 +181,7 @@ export class AgentClient {
|
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
/**
|
|
184
|
-
*
|
|
184
|
+
* Copies an agent.
|
|
185
185
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
186
186
|
* @param CopyAgentRequest
|
|
187
187
|
* @return CopyAgentResponse
|
|
@@ -266,7 +266,7 @@ export class AgentClient {
|
|
|
266
266
|
}
|
|
267
267
|
|
|
268
268
|
/**
|
|
269
|
-
*
|
|
269
|
+
* Creates an agent.
|
|
270
270
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
271
271
|
* @param CreateAgentRequest
|
|
272
272
|
* @return CreateAgentResponse
|
|
@@ -350,7 +350,7 @@ export class AgentClient {
|
|
|
350
350
|
}
|
|
351
351
|
|
|
352
352
|
/**
|
|
353
|
-
* Delete an
|
|
353
|
+
* Delete an agent from the schema.
|
|
354
354
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
355
355
|
* @param DeleteAgentRequest
|
|
356
356
|
* @return DeleteAgentResponse
|
|
@@ -413,7 +413,7 @@ export class AgentClient {
|
|
|
413
413
|
}
|
|
414
414
|
|
|
415
415
|
/**
|
|
416
|
-
*
|
|
416
|
+
* Deletes an agent deployment.
|
|
417
417
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
418
418
|
* @param DeleteAgentDeploymentRequest
|
|
419
419
|
* @return DeleteAgentDeploymentResponse
|
|
@@ -477,7 +477,7 @@ export class AgentClient {
|
|
|
477
477
|
}
|
|
478
478
|
|
|
479
479
|
/**
|
|
480
|
-
*
|
|
480
|
+
* Deletes an agent Session.
|
|
481
481
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
482
482
|
* @param DeleteAgentSessionRequest
|
|
483
483
|
* @return DeleteAgentSessionResponse
|
|
@@ -541,7 +541,7 @@ export class AgentClient {
|
|
|
541
541
|
}
|
|
542
542
|
|
|
543
543
|
/**
|
|
544
|
-
* Deploys
|
|
544
|
+
* Deploys a specified agent.
|
|
545
545
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
546
546
|
* @param DeployAgentRequest
|
|
547
547
|
* @return DeployAgentResponse
|
|
@@ -631,7 +631,7 @@ export class AgentClient {
|
|
|
631
631
|
}
|
|
632
632
|
|
|
633
633
|
/**
|
|
634
|
-
* Returns detailed information about an
|
|
634
|
+
* Returns detailed information about an agent.
|
|
635
635
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
636
636
|
* @param GetAgentRequest
|
|
637
637
|
* @return GetAgentResponse
|
|
@@ -703,7 +703,7 @@ export class AgentClient {
|
|
|
703
703
|
}
|
|
704
704
|
|
|
705
705
|
/**
|
|
706
|
-
* Returns detailed information about an
|
|
706
|
+
* Returns detailed information about an agent deployment.
|
|
707
707
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
708
708
|
* @param GetAgentDeploymentRequest
|
|
709
709
|
* @return GetAgentDeploymentResponse
|
|
@@ -776,7 +776,7 @@ export class AgentClient {
|
|
|
776
776
|
}
|
|
777
777
|
|
|
778
778
|
/**
|
|
779
|
-
* Returns detailed information about an
|
|
779
|
+
* Returns detailed information about an agent session.
|
|
780
780
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
781
781
|
* @param GetAgentSessionRequest
|
|
782
782
|
* @return GetAgentSessionResponse
|
|
@@ -923,7 +923,7 @@ export class AgentClient {
|
|
|
923
923
|
}
|
|
924
924
|
|
|
925
925
|
/**
|
|
926
|
-
* Returns a list of deployments of an agent.
|
|
926
|
+
* Returns a list of all deployments of an agent.
|
|
927
927
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
928
928
|
* @param ListAgentDeploymentsRequest
|
|
929
929
|
* @return ListAgentDeploymentsResponse
|
|
@@ -1005,7 +1005,7 @@ export class AgentClient {
|
|
|
1005
1005
|
}
|
|
1006
1006
|
|
|
1007
1007
|
/**
|
|
1008
|
-
* Returns a list of permissions for a given
|
|
1008
|
+
* Returns a list of permissions for a given agent.
|
|
1009
1009
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1010
1010
|
* @param ListAgentPermissionsRequest
|
|
1011
1011
|
* @return ListAgentPermissionsResponse
|
|
@@ -1081,7 +1081,7 @@ export class AgentClient {
|
|
|
1081
1081
|
}
|
|
1082
1082
|
|
|
1083
1083
|
/**
|
|
1084
|
-
* Returns list of
|
|
1084
|
+
* Returns list of agent session chat messages.
|
|
1085
1085
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1086
1086
|
* @param ListAgentSessionChatHistoriesRequest
|
|
1087
1087
|
* @return ListAgentSessionChatHistoriesResponse
|
|
@@ -1156,7 +1156,7 @@ export class AgentClient {
|
|
|
1156
1156
|
}
|
|
1157
1157
|
|
|
1158
1158
|
/**
|
|
1159
|
-
* Returns a list of testing sessions of an
|
|
1159
|
+
* Returns a list of testing sessions of an agent.
|
|
1160
1160
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1161
1161
|
* @param ListAgentSessionsRequest
|
|
1162
1162
|
* @return ListAgentSessionsResponse
|
|
@@ -1240,7 +1240,7 @@ export class AgentClient {
|
|
|
1240
1240
|
}
|
|
1241
1241
|
|
|
1242
1242
|
/**
|
|
1243
|
-
* Returns a list of
|
|
1243
|
+
* Returns a list of agents in a schema.
|
|
1244
1244
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1245
1245
|
* @param ListAgentsRequest
|
|
1246
1246
|
* @return ListAgentsResponse
|
|
@@ -1318,7 +1318,7 @@ export class AgentClient {
|
|
|
1318
1318
|
}
|
|
1319
1319
|
|
|
1320
1320
|
/**
|
|
1321
|
-
* Update the permissions for a given
|
|
1321
|
+
* Update the permissions for a given agent.
|
|
1322
1322
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1323
1323
|
* @param ManageAgentPermissionRequest
|
|
1324
1324
|
* @return ManageAgentPermissionResponse
|
|
@@ -1458,7 +1458,7 @@ export class AgentClient {
|
|
|
1458
1458
|
}
|
|
1459
1459
|
|
|
1460
1460
|
/**
|
|
1461
|
-
* Redeploys an
|
|
1461
|
+
* Redeploys an agent.
|
|
1462
1462
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1463
1463
|
* @param RedeployAgentByKeyRequest
|
|
1464
1464
|
* @return RedeployAgentByKeyResponse
|
|
@@ -1548,7 +1548,7 @@ export class AgentClient {
|
|
|
1548
1548
|
}
|
|
1549
1549
|
|
|
1550
1550
|
/**
|
|
1551
|
-
*
|
|
1551
|
+
* Updates an agent with provided details.
|
|
1552
1552
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1553
1553
|
* @param UpdateAgentRequest
|
|
1554
1554
|
* @return UpdateAgentResponse
|
|
@@ -1623,7 +1623,7 @@ export class AgentClient {
|
|
|
1623
1623
|
}
|
|
1624
1624
|
|
|
1625
1625
|
/**
|
|
1626
|
-
*
|
|
1626
|
+
* Updates the deployment metadata for an agent.
|
|
1627
1627
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1628
1628
|
* @param UpdateAgentDeploymentMetadataRequest
|
|
1629
1629
|
* @return UpdateAgentDeploymentMetadataResponse
|
|
@@ -1698,7 +1698,7 @@ export class AgentClient {
|
|
|
1698
1698
|
}
|
|
1699
1699
|
|
|
1700
1700
|
/**
|
|
1701
|
-
*
|
|
1701
|
+
* Validates the agent JSON diagram generated by UI.
|
|
1702
1702
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1703
1703
|
* @param ValidateAgentRequest
|
|
1704
1704
|
* @return ValidateAgentResponse
|
|
@@ -2572,85 +2572,7 @@ export class BundleClient {
|
|
|
2572
2572
|
}
|
|
2573
2573
|
|
|
2574
2574
|
/**
|
|
2575
|
-
* (Deprecated)
|
|
2576
|
-
* <p>
|
|
2577
|
-
A bundle is a self-contained, portable representation of selected workspace assets, such as jobs
|
|
2578
|
-
* and agent flows, along with their dependencies and associated code artifacts. It captures both
|
|
2579
|
-
* the resource configurations and the supporting assets required to recreate those resources in
|
|
2580
|
-
* another workspace or environment.
|
|
2581
|
-
* <p>
|
|
2582
|
-
The bundle manifest is named `aidp_workbench.yaml`. The bundle preserves the workspace folder
|
|
2583
|
-
* structure for code artifacts from the location where it was created, so the generated bundle
|
|
2584
|
-
* mirrors the source layout.
|
|
2585
|
-
* <p>
|
|
2586
|
-
Dependencies are tracked inside the bundle under each asset type:
|
|
2587
|
-
* - job and agent flow dependencies are added under the `dependencies` folder inside the
|
|
2588
|
-
* `jobs` and `agentflows` folders
|
|
2589
|
-
* - code dependencies are added under the `artifacts` directory in the bundle
|
|
2590
|
-
* <p>
|
|
2591
|
-
Dependency references use template variables, for example:
|
|
2592
|
-
* - compute: `$${jobs.dependencies.training_compute.compute.key}`
|
|
2593
|
-
* - nested jobs: `$${jobs.dependencies.training_job.job.key}`
|
|
2594
|
-
* - aicompute: `$${jobs.dependencies.training_aicompute.aicompute.key}`
|
|
2595
|
-
* <p>
|
|
2596
|
-
Bundles also support the special variable `$${bundle.root}`, which points to the root of the
|
|
2597
|
-
* bundle folder and is used for referencing artifacts.
|
|
2598
|
-
* <p>
|
|
2599
|
-
Variables and overrides:
|
|
2600
|
-
* - bundles support parameterization using variables defined in the bundle manifest
|
|
2601
|
-
* (`aidp_workbench.yaml`)
|
|
2602
|
-
* <p>
|
|
2603
|
-
Example manifest defaults:
|
|
2604
|
-
* defaults:
|
|
2605
|
-
* variables:
|
|
2606
|
-
* job_compute_key: \"$${jobs.dependencies.small.compute.key}\"
|
|
2607
|
-
* <p>
|
|
2608
|
-
- variables can be referenced in resource descriptors using the `$${var.<name>}` syntax
|
|
2609
|
-
* <p>
|
|
2610
|
-
Example usage in a job descriptor:
|
|
2611
|
-
* \"clusterKey\": \"$${var.job_compute_key}\"
|
|
2612
|
-
* <p>
|
|
2613
|
-
- workspace-specific overrides can be provided via `.aidp/overrides.yaml` inside the bundle
|
|
2614
|
-
* - this file is intended for environment-specific configuration and should not be committed to Git,
|
|
2615
|
-
* allowing the bundle to remain portable and environment-agnostic
|
|
2616
|
-
* <p>
|
|
2617
|
-
Example overrides file:
|
|
2618
|
-
* variables:
|
|
2619
|
-
* job_compute_key: f6e7f5d8-d965-4009-95d9-02e993d9a16b
|
|
2620
|
-
* <p>
|
|
2621
|
-
- when an override is provided, the referenced dependency (for example, compute) is not created,
|
|
2622
|
-
* and the provided value is used instead
|
|
2623
|
-
* - when no override is provided, the system falls back to the default variable value, which may
|
|
2624
|
-
* reference a dependency included in the bundle (resulting in that dependency being created)
|
|
2625
|
-
* - this mechanism enables environment-specific customization (for example, reusing existing
|
|
2626
|
-
* infrastructure in production while creating new resources in development)
|
|
2627
|
-
* - the same pattern can be used for other environment-specific parameters such as compute shape,
|
|
2628
|
-
* number of OCPUs, or other configuration values
|
|
2629
|
-
* <p>
|
|
2630
|
-
Git integration and promotion:
|
|
2631
|
-
* - bundles can only be created inside Git-backed workspace folders
|
|
2632
|
-
* - bundles are self-contained packages that include resource definitions, dependency references,
|
|
2633
|
-
* and associated code artifacts required to recreate the bundled resources
|
|
2634
|
-
* - the entire bundle folder can be committed and pushed to a Git repository
|
|
2635
|
-
* - bundles can be pulled into another workspace via Git and deployed there
|
|
2636
|
-
* - bundles can be promoted across environments (for example, dev \u2192 test \u2192 prod) using Git workflows
|
|
2637
|
-
* - because the bundle includes both resource configuration and code dependencies, it can be used
|
|
2638
|
-
* to reliably replicate assets across workspaces
|
|
2639
|
-
* <p>
|
|
2640
|
-
This operation is asynchronous. The service validates the request, starts bundle
|
|
2641
|
-
* creation, and returns an async operation key in the response headers. Use the async
|
|
2642
|
-
* operation APIs to track completion.
|
|
2643
|
-
* <p>
|
|
2644
|
-
Typical use cases:
|
|
2645
|
-
* - capture selected workspace resources into a version-controlled bundle
|
|
2646
|
-
* - prepare a bundle for later deployment or promotion
|
|
2647
|
-
* - establish a bundle root that can later be inspected, updated, or deployed
|
|
2648
|
-
* <p>
|
|
2649
|
-
Request notes:
|
|
2650
|
-
* - `path` identifies the parent folder in the workspace volume where the bundle should be created
|
|
2651
|
-
* - `name` identifies the bundle folder name
|
|
2652
|
-
* - `bundledResources` identifies which workspace resources should be included
|
|
2653
|
-
*
|
|
2575
|
+
* (Deprecated)
|
|
2654
2576
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2655
2577
|
* @param CreateBundleRequest
|
|
2656
2578
|
* @return CreateBundleResponse
|
|
@@ -2722,69 +2644,6 @@ Request notes:
|
|
|
2722
2644
|
/**
|
|
2723
2645
|
* (Preview) Creates a new bundle.
|
|
2724
2646
|
* <p>
|
|
2725
|
-
A bundle is a self-contained, portable representation of selected workspace assets, such as jobs
|
|
2726
|
-
* and agent flows, along with their dependencies and associated code artifacts. It captures both
|
|
2727
|
-
* the resource configurations and the supporting assets required to recreate those resources in
|
|
2728
|
-
* another workspace or environment.
|
|
2729
|
-
* <p>
|
|
2730
|
-
The bundle manifest is named `aidp_workbench.yaml`. The bundle preserves the workspace folder
|
|
2731
|
-
* structure for code artifacts from the location where it was created, so the generated bundle
|
|
2732
|
-
* mirrors the source layout.
|
|
2733
|
-
* <p>
|
|
2734
|
-
Dependencies are tracked inside the bundle under each asset type:
|
|
2735
|
-
* - job and agent flow dependencies are added under the `dependencies` folder inside the
|
|
2736
|
-
* `jobs` and `agentflows` folders
|
|
2737
|
-
* - code dependencies are added under the `artifacts` directory in the bundle
|
|
2738
|
-
* <p>
|
|
2739
|
-
Dependency references use template variables, for example:
|
|
2740
|
-
* - compute: `$${jobs.dependencies.training_compute.compute.key}`
|
|
2741
|
-
* - nested jobs: `$${jobs.dependencies.training_job.job.key}`
|
|
2742
|
-
* - aicompute: `$${jobs.dependencies.training_aicompute.aicompute.key}`
|
|
2743
|
-
* <p>
|
|
2744
|
-
Bundles also support the special variable `$${bundle.root}`, which points to the root of the
|
|
2745
|
-
* bundle folder and is used for referencing artifacts.
|
|
2746
|
-
* <p>
|
|
2747
|
-
Variables and overrides:
|
|
2748
|
-
* - bundles support parameterization using variables defined in the bundle manifest
|
|
2749
|
-
* (`aidp_workbench.yaml`)
|
|
2750
|
-
* <p>
|
|
2751
|
-
Example manifest defaults:
|
|
2752
|
-
* defaults:
|
|
2753
|
-
* variables:
|
|
2754
|
-
* job_compute_key: \"$${jobs.dependencies.small.compute.key}\"
|
|
2755
|
-
* <p>
|
|
2756
|
-
- variables can be referenced in resource descriptors using the `$${var.<name>}` syntax
|
|
2757
|
-
* <p>
|
|
2758
|
-
Example usage in a job descriptor:
|
|
2759
|
-
* \"clusterKey\": \"$${var.job_compute_key}\"
|
|
2760
|
-
* <p>
|
|
2761
|
-
- workspace-specific overrides can be provided via `.aidp/overrides.yaml` inside the bundle
|
|
2762
|
-
* - this file is intended for environment-specific configuration and should not be committed to Git,
|
|
2763
|
-
* allowing the bundle to remain portable and environment-agnostic
|
|
2764
|
-
* <p>
|
|
2765
|
-
Example overrides file:
|
|
2766
|
-
* variables:
|
|
2767
|
-
* job_compute_key: f6e7f5d8-d965-4009-95d9-02e993d9a16b
|
|
2768
|
-
* <p>
|
|
2769
|
-
- when an override is provided, the referenced dependency (for example, compute) is not created,
|
|
2770
|
-
* and the provided value is used instead
|
|
2771
|
-
* - when no override is provided, the system falls back to the default variable value, which may
|
|
2772
|
-
* reference a dependency included in the bundle (resulting in that dependency being created)
|
|
2773
|
-
* - this mechanism enables environment-specific customization (for example, reusing existing
|
|
2774
|
-
* infrastructure in production while creating new resources in development)
|
|
2775
|
-
* - the same pattern can be used for other environment-specific parameters such as compute shape,
|
|
2776
|
-
* number of OCPUs, or other configuration values
|
|
2777
|
-
* <p>
|
|
2778
|
-
Git integration and promotion:
|
|
2779
|
-
* - bundles can only be created inside Git-backed workspace folders
|
|
2780
|
-
* - bundles are self-contained packages that include resource definitions, dependency references,
|
|
2781
|
-
* and associated code artifacts required to recreate the bundled resources
|
|
2782
|
-
* - the entire bundle folder can be committed and pushed to a Git repository
|
|
2783
|
-
* - bundles can be pulled into another workspace via Git and deployed there
|
|
2784
|
-
* - bundles can be promoted across environments (for example, dev \u2192 test \u2192 prod) using Git workflows
|
|
2785
|
-
* - because the bundle includes both resource configuration and code dependencies, it can be used
|
|
2786
|
-
* to reliably replicate assets across workspaces
|
|
2787
|
-
* <p>
|
|
2788
2647
|
This operation is asynchronous. The service validates the request, starts bundle
|
|
2789
2648
|
* creation, and returns an async operation key in the response headers. Use the async
|
|
2790
2649
|
* operation APIs to track completion.
|
|
@@ -2868,24 +2727,7 @@ Request notes:
|
|
|
2868
2727
|
}
|
|
2869
2728
|
|
|
2870
2729
|
/**
|
|
2871
|
-
* (Deprecated)
|
|
2872
|
-
* Returns an async job key for tracking deployment progress.
|
|
2873
|
-
* <p>
|
|
2874
|
-
This operation is asynchronous. The request is accepted for background execution and
|
|
2875
|
-
* returns an async operation key in the response headers.
|
|
2876
|
-
* <p>
|
|
2877
|
-
Deployment typically uses:
|
|
2878
|
-
* - the bundle manifest at the bundle root
|
|
2879
|
-
* - top-level resource descriptors in the bundle
|
|
2880
|
-
* - dependency descriptors referenced by those top-level resources
|
|
2881
|
-
* - default or override variable values when present
|
|
2882
|
-
* <p>
|
|
2883
|
-
Use this operation when you want to apply the bundle contents into the target
|
|
2884
|
-
* workspace state.
|
|
2885
|
-
* <p>
|
|
2886
|
-
Request notes:
|
|
2887
|
-
* - `path` identifies the bundle root folder in the workspace volume
|
|
2888
|
-
*
|
|
2730
|
+
* (Deprecated)
|
|
2889
2731
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2890
2732
|
* @param DeployBundleRequest
|
|
2891
2733
|
* @return DeployBundleResponse
|
|
@@ -2955,23 +2797,7 @@ Request notes:
|
|
|
2955
2797
|
}
|
|
2956
2798
|
|
|
2957
2799
|
/**
|
|
2958
|
-
*
|
|
2959
|
-
* Returns an async job key for tracking deployment progress.
|
|
2960
|
-
* <p>
|
|
2961
|
-
This operation is asynchronous. The request is accepted for background execution and
|
|
2962
|
-
* returns an async operation key in the response headers.
|
|
2963
|
-
* <p>
|
|
2964
|
-
Deployment typically uses:
|
|
2965
|
-
* - the bundle manifest at the bundle root
|
|
2966
|
-
* - top-level resource descriptors in the bundle
|
|
2967
|
-
* - dependency descriptors referenced by those top-level resources
|
|
2968
|
-
* - default or override variable values when present
|
|
2969
|
-
* <p>
|
|
2970
|
-
Use this operation when you want to apply the bundle contents into the target
|
|
2971
|
-
* workspace state.
|
|
2972
|
-
* <p>
|
|
2973
|
-
Request notes:
|
|
2974
|
-
* - `path` identifies the bundle root folder in the workspace volume
|
|
2800
|
+
* Deprecated compatibility API. Use `publish` for new callers.
|
|
2975
2801
|
*
|
|
2976
2802
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2977
2803
|
* @param DeployBundleActionRequest
|
|
@@ -3042,27 +2868,7 @@ Request notes:
|
|
|
3042
2868
|
}
|
|
3043
2869
|
|
|
3044
2870
|
/**
|
|
3045
|
-
* (Deprecated)
|
|
3046
|
-
* specified bundle.
|
|
3047
|
-
* <p>
|
|
3048
|
-
This operation is useful after deploy or purge requests when you want the latest
|
|
3049
|
-
* bundle-level deployment outcome rather than raw async operation details.
|
|
3050
|
-
* <p>
|
|
3051
|
-
The response can include:
|
|
3052
|
-
* - overall deployment status
|
|
3053
|
-
* - start and completion timestamps
|
|
3054
|
-
* - summary message
|
|
3055
|
-
* - resources associated with the last recorded deployment result
|
|
3056
|
-
* <p>
|
|
3057
|
-
Typical status values include:
|
|
3058
|
-
* - `IN_PROGRESS`
|
|
3059
|
-
* - `SUCCEEDED`
|
|
3060
|
-
* - `FAILED`
|
|
3061
|
-
* - `NOT_DEPLOYED`
|
|
3062
|
-
* <p>
|
|
3063
|
-
Request notes:
|
|
3064
|
-
* - `path` identifies the bundle root folder in the workspace volume
|
|
3065
|
-
*
|
|
2871
|
+
* (Deprecated)
|
|
3066
2872
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3067
2873
|
* @param FetchBundleDeploymentStatusRequest
|
|
3068
2874
|
* @return FetchBundleDeploymentStatusResponse
|
|
@@ -3131,26 +2937,7 @@ Request notes:
|
|
|
3131
2937
|
}
|
|
3132
2938
|
|
|
3133
2939
|
/**
|
|
3134
|
-
*
|
|
3135
|
-
* specified bundle.
|
|
3136
|
-
* <p>
|
|
3137
|
-
This operation is useful after deploy or purge requests when you want the latest
|
|
3138
|
-
* bundle-level deployment outcome rather than raw async operation details.
|
|
3139
|
-
* <p>
|
|
3140
|
-
The response can include:
|
|
3141
|
-
* - overall deployment status
|
|
3142
|
-
* - start and completion timestamps
|
|
3143
|
-
* - summary message
|
|
3144
|
-
* - resources associated with the last recorded deployment result
|
|
3145
|
-
* <p>
|
|
3146
|
-
Typical status values include:
|
|
3147
|
-
* - `IN_PROGRESS`
|
|
3148
|
-
* - `SUCCEEDED`
|
|
3149
|
-
* - `FAILED`
|
|
3150
|
-
* - `NOT_DEPLOYED`
|
|
3151
|
-
* <p>
|
|
3152
|
-
Request notes:
|
|
3153
|
-
* - `path` identifies the bundle root folder in the workspace volume
|
|
2940
|
+
* Deprecated compatibility API. Use `getBundlePublishStatus` for new callers.
|
|
3154
2941
|
*
|
|
3155
2942
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3156
2943
|
* @param FetchBundleDeploymentStatusActionRequest
|
|
@@ -3220,22 +3007,164 @@ Request notes:
|
|
|
3220
3007
|
}
|
|
3221
3008
|
|
|
3222
3009
|
/**
|
|
3223
|
-
* (
|
|
3010
|
+
* (Preview) Returns the latest publish summary.
|
|
3011
|
+
*
|
|
3012
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3013
|
+
* @param FetchBundlePublishStatusActionRequest
|
|
3014
|
+
* @return FetchBundlePublishStatusActionResponse
|
|
3015
|
+
* @throws OciError when an error occurs
|
|
3016
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/FetchBundlePublishStatusAction.ts.html |here} to see how to use FetchBundlePublishStatusAction API.
|
|
3017
|
+
*/
|
|
3018
|
+
public async fetchBundlePublishStatusAction (fetchBundlePublishStatusActionRequest: requests.FetchBundlePublishStatusActionRequest) : Promise<responses.FetchBundlePublishStatusActionResponse> {
|
|
3019
|
+
if (this.logger)
|
|
3020
|
+
this.logger.debug("Calling operation BundleClient#fetchBundlePublishStatusAction.");
|
|
3021
|
+
const operationName = "fetchBundlePublishStatusAction";
|
|
3022
|
+
const apiReferenceLink = "";
|
|
3023
|
+
const pathParams = {
|
|
3024
|
+
"{aiDataPlatformId}": fetchBundlePublishStatusActionRequest.aiDataPlatformId,
|
|
3025
|
+
"{workspaceKey}": fetchBundlePublishStatusActionRequest.workspaceKey,
|
|
3026
|
+
};
|
|
3027
|
+
|
|
3028
|
+
const queryParams = {
|
|
3029
|
+
};
|
|
3030
|
+
|
|
3031
|
+
let headerParams = {
|
|
3032
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3033
|
+
'opc-request-id': fetchBundlePublishStatusActionRequest.opcRequestId,
|
|
3034
|
+
};
|
|
3035
|
+
|
|
3036
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3037
|
+
const retrier = GenericRetrier.createPreferredRetrier(
|
|
3038
|
+
this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
3039
|
+
fetchBundlePublishStatusActionRequest.retryConfiguration,
|
|
3040
|
+
specRetryConfiguration
|
|
3041
|
+
);
|
|
3042
|
+
if (this.logger) retrier.logger = this.logger;
|
|
3043
|
+
const request = await composeRequest({
|
|
3044
|
+
baseEndpoint: this._endpoint,
|
|
3045
|
+
defaultHeaders: this._defaultHeaders,
|
|
3046
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/actions/getBundlePublishStatus',
|
|
3047
|
+
method: 'POST',
|
|
3048
|
+
bodyContent: common.ObjectSerializer.serialize(fetchBundlePublishStatusActionRequest.fetchBundlePublishStatusDetails, "FetchBundlePublishStatusDetails"
|
|
3049
|
+
, model.FetchBundlePublishStatusDetails.getJsonObj)
|
|
3050
|
+
,
|
|
3051
|
+
pathParams: pathParams,
|
|
3052
|
+
headerParams: headerParams,
|
|
3053
|
+
queryParams: queryParams
|
|
3054
|
+
});
|
|
3055
|
+
try {
|
|
3056
|
+
const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3057
|
+
const sdkResponse = composeResponse({
|
|
3058
|
+
responseObject: <responses.FetchBundlePublishStatusActionResponse>{},
|
|
3059
|
+
body: await response.json(),
|
|
3060
|
+
bodyKey: "bundlePublishStatus",
|
|
3061
|
+
bodyModel: model.BundlePublishStatus,
|
|
3062
|
+
type: "model.BundlePublishStatus",
|
|
3063
|
+
responseHeaders: [
|
|
3064
|
+
{
|
|
3065
|
+
value: response.headers.get("opc-request-id"),
|
|
3066
|
+
key: "opcRequestId",
|
|
3067
|
+
dataType: "string"
|
|
3068
|
+
},
|
|
3069
|
+
]
|
|
3070
|
+
});
|
|
3071
|
+
|
|
3072
|
+
return sdkResponse;
|
|
3073
|
+
}
|
|
3074
|
+
catch (err) {
|
|
3075
|
+
throw err;
|
|
3076
|
+
}
|
|
3077
|
+
}
|
|
3078
|
+
|
|
3079
|
+
/**
|
|
3080
|
+
* (Preview) Publishes the specified bundle, creating or updating jobs and agent flows according to the bundle manifest.
|
|
3081
|
+
* Returns an async job key for tracking publish progress.
|
|
3224
3082
|
* <p>
|
|
3225
|
-
This operation is
|
|
3226
|
-
*
|
|
3227
|
-
* volume.
|
|
3083
|
+
This operation is asynchronous. The request is accepted for background execution and
|
|
3084
|
+
* returns an async operation key in the response headers.
|
|
3228
3085
|
* <p>
|
|
3229
|
-
|
|
3230
|
-
*
|
|
3086
|
+
Publishing typically uses:
|
|
3087
|
+
* - the bundle manifest at the bundle root
|
|
3088
|
+
* - top-level resource descriptors in the bundle
|
|
3089
|
+
* - dependency descriptors referenced by those top-level resources
|
|
3090
|
+
* - default or override variable values when present
|
|
3231
3091
|
* <p>
|
|
3232
|
-
|
|
3233
|
-
*
|
|
3234
|
-
* - clean up a workspace before re-deploying or retiring a bundle
|
|
3092
|
+
Use this operation when you want to apply the bundle contents into the target
|
|
3093
|
+
* workspace state.
|
|
3235
3094
|
* <p>
|
|
3236
3095
|
Request notes:
|
|
3237
3096
|
* - `path` identifies the bundle root folder in the workspace volume
|
|
3238
3097
|
*
|
|
3098
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3099
|
+
* @param PublishBundleActionRequest
|
|
3100
|
+
* @return PublishBundleActionResponse
|
|
3101
|
+
* @throws OciError when an error occurs
|
|
3102
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/PublishBundleAction.ts.html |here} to see how to use PublishBundleAction API.
|
|
3103
|
+
*/
|
|
3104
|
+
public async publishBundleAction (publishBundleActionRequest: requests.PublishBundleActionRequest) : Promise<responses.PublishBundleActionResponse> {
|
|
3105
|
+
if (this.logger)
|
|
3106
|
+
this.logger.debug("Calling operation BundleClient#publishBundleAction.");
|
|
3107
|
+
const operationName = "publishBundleAction";
|
|
3108
|
+
const apiReferenceLink = "";
|
|
3109
|
+
const pathParams = {
|
|
3110
|
+
"{aiDataPlatformId}": publishBundleActionRequest.aiDataPlatformId,
|
|
3111
|
+
"{workspaceKey}": publishBundleActionRequest.workspaceKey,
|
|
3112
|
+
};
|
|
3113
|
+
|
|
3114
|
+
const queryParams = {
|
|
3115
|
+
};
|
|
3116
|
+
|
|
3117
|
+
let headerParams = {
|
|
3118
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3119
|
+
'opc-retry-token': publishBundleActionRequest.opcRetryToken,'opc-request-id': publishBundleActionRequest.opcRequestId,
|
|
3120
|
+
};
|
|
3121
|
+
|
|
3122
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3123
|
+
const retrier = GenericRetrier.createPreferredRetrier(
|
|
3124
|
+
this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
3125
|
+
publishBundleActionRequest.retryConfiguration,
|
|
3126
|
+
specRetryConfiguration
|
|
3127
|
+
);
|
|
3128
|
+
if (this.logger) retrier.logger = this.logger;
|
|
3129
|
+
const request = await composeRequest({
|
|
3130
|
+
baseEndpoint: this._endpoint,
|
|
3131
|
+
defaultHeaders: this._defaultHeaders,
|
|
3132
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/actions/publishBundle',
|
|
3133
|
+
method: 'POST',
|
|
3134
|
+
bodyContent: common.ObjectSerializer.serialize(publishBundleActionRequest.publishBundleDetails, "PublishBundleDetails"
|
|
3135
|
+
, model.PublishBundleDetails.getJsonObj)
|
|
3136
|
+
,
|
|
3137
|
+
pathParams: pathParams,
|
|
3138
|
+
headerParams: headerParams,
|
|
3139
|
+
queryParams: queryParams
|
|
3140
|
+
});
|
|
3141
|
+
try {
|
|
3142
|
+
const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3143
|
+
const sdkResponse = composeResponse({
|
|
3144
|
+
responseObject: <responses.PublishBundleActionResponse>{},
|
|
3145
|
+
responseHeaders: [
|
|
3146
|
+
{
|
|
3147
|
+
value: response.headers.get("opc-request-id"),
|
|
3148
|
+
key: "opcRequestId",
|
|
3149
|
+
dataType: "string"
|
|
3150
|
+
},
|
|
3151
|
+
{
|
|
3152
|
+
value: response.headers.get("aidp-async-operation-key"),
|
|
3153
|
+
key: "aidpAsyncOperationKey",
|
|
3154
|
+
dataType: "string"
|
|
3155
|
+
},
|
|
3156
|
+
]
|
|
3157
|
+
});
|
|
3158
|
+
|
|
3159
|
+
return sdkResponse;
|
|
3160
|
+
}
|
|
3161
|
+
catch (err) {
|
|
3162
|
+
throw err;
|
|
3163
|
+
}
|
|
3164
|
+
}
|
|
3165
|
+
|
|
3166
|
+
/**
|
|
3167
|
+
* (Deprecated)
|
|
3239
3168
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3240
3169
|
* @param PurgeBundleRequest
|
|
3241
3170
|
* @return PurgeBundleResponse
|
|
@@ -3390,41 +3319,7 @@ Request notes:
|
|
|
3390
3319
|
}
|
|
3391
3320
|
|
|
3392
3321
|
/**
|
|
3393
|
-
* (Deprecated)
|
|
3394
|
-
* Returns an async job key for tracking sync progress.
|
|
3395
|
-
* <p>
|
|
3396
|
-
This operation is intended for cases where the bundle should be refreshed to reflect
|
|
3397
|
-
* newer source changes while preserving the bundle structure and identity.
|
|
3398
|
-
* <p>
|
|
3399
|
-
Sync uses the bundle's recorded origin metadata to rebuild the bundle from the source
|
|
3400
|
-
* jobs and agent flows that were captured when the bundle was created. The source metadata
|
|
3401
|
-
* is stored in `.aidp/resource_origins.yaml` and must match the requested AIDP/Data Lake and
|
|
3402
|
-
* workspace. The operation refreshes source-controlled bundle content while preserving the
|
|
3403
|
-
* bundle identity and runtime metadata.
|
|
3404
|
-
* <p>
|
|
3405
|
-
During sync, the service stages a refreshed bundle snapshot under the bundle `.aidp`
|
|
3406
|
-
* directory, compares existing and staged descriptors, preserves existing variable aliases
|
|
3407
|
-
* and override references where possible, merges existing manifest default variables, and
|
|
3408
|
-
* then promotes the refreshed source-controlled files back into the bundle root.
|
|
3409
|
-
* <p>
|
|
3410
|
-
Sync preserves environment-specific and deployment runtime files such as
|
|
3411
|
-
* `.aidp/overrides.yaml` and `.aidp/aidp.state.json`. These files are not replaced by the
|
|
3412
|
-
* refreshed source snapshot.
|
|
3413
|
-
* <p>
|
|
3414
|
-
This operation is asynchronous and returns async operation headers when accepted.
|
|
3415
|
-
* <p>
|
|
3416
|
-
Typical use cases:
|
|
3417
|
-
* - refresh bundle contents after upstream workspace resources have changed
|
|
3418
|
-
* - reconcile descriptor or artifact content with current resource origins
|
|
3419
|
-
* - preserve local bundle overrides while pulling in source resource updates
|
|
3420
|
-
* - keep a Git-backed bundle current before committing or promoting it
|
|
3421
|
-
* <p>
|
|
3422
|
-
Request notes:
|
|
3423
|
-
* - `path` identifies the bundle root folder in the workspace volume
|
|
3424
|
-
* - the bundle must contain a valid `aidp_workbench.yaml`
|
|
3425
|
-
* - the bundle must contain `.aidp/resource_origins.yaml`
|
|
3426
|
-
* - origin metadata must refer to the same AIDP/Data Lake and workspace as the request
|
|
3427
|
-
*
|
|
3322
|
+
* (Deprecated)
|
|
3428
3323
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3429
3324
|
* @param SyncBundleRequest
|
|
3430
3325
|
* @return SyncBundleResponse
|
|
@@ -3500,28 +3395,13 @@ Request notes:
|
|
|
3500
3395
|
This operation is intended for cases where the bundle should be refreshed to reflect
|
|
3501
3396
|
* newer source changes while preserving the bundle structure and identity.
|
|
3502
3397
|
* <p>
|
|
3503
|
-
Sync uses the bundle's recorded origin metadata to rebuild the bundle from the source
|
|
3504
|
-
* jobs and agent flows that were captured when the bundle was created. The source metadata
|
|
3505
|
-
* is stored in `.aidp/resource_origins.yaml` and must match the requested AIDP/Data Lake and
|
|
3506
|
-
* workspace. The operation refreshes source-controlled bundle content while preserving the
|
|
3507
|
-
* bundle identity and runtime metadata.
|
|
3508
|
-
* <p>
|
|
3509
|
-
During sync, the service stages a refreshed bundle snapshot under the bundle `.aidp`
|
|
3510
|
-
* directory, compares existing and staged descriptors, preserves existing variable aliases
|
|
3511
|
-
* and override references where possible, merges existing manifest default variables, and
|
|
3512
|
-
* then promotes the refreshed source-controlled files back into the bundle root.
|
|
3513
|
-
* <p>
|
|
3514
|
-
Sync preserves environment-specific and deployment runtime files such as
|
|
3515
|
-
* `.aidp/overrides.yaml` and `.aidp/aidp.state.json`. These files are not replaced by the
|
|
3516
|
-
* refreshed source snapshot.
|
|
3517
|
-
* <p>
|
|
3518
3398
|
This operation is asynchronous and returns async operation headers when accepted.
|
|
3519
3399
|
* <p>
|
|
3520
3400
|
Typical use cases:
|
|
3521
3401
|
* - refresh bundle contents after upstream workspace resources have changed
|
|
3522
3402
|
* - reconcile descriptor or artifact content with current resource origins
|
|
3523
3403
|
* - preserve local bundle overrides while pulling in source resource updates
|
|
3524
|
-
* - keep a
|
|
3404
|
+
* - keep a bundle current before promoting it
|
|
3525
3405
|
* <p>
|
|
3526
3406
|
Request notes:
|
|
3527
3407
|
* - `path` identifies the bundle root folder in the workspace volume
|
|
@@ -4002,6 +3882,7 @@ export class CatalogClient {
|
|
|
4002
3882
|
|
|
4003
3883
|
const queryParams = {
|
|
4004
3884
|
'isCatalogGuid': getCatalogRequest.isCatalogGuid,
|
|
3885
|
+
'shouldSkipOcidTranslation': getCatalogRequest.shouldSkipOcidTranslation,
|
|
4005
3886
|
};
|
|
4006
3887
|
|
|
4007
3888
|
let headerParams = {
|
|
@@ -4150,6 +4031,7 @@ export class CatalogClient {
|
|
|
4150
4031
|
'displayName': listCatalogsRequest.displayName,
|
|
4151
4032
|
'catalogState': listCatalogsRequest.catalogState,
|
|
4152
4033
|
'catalogType': listCatalogsRequest.catalogType,
|
|
4034
|
+
'shouldSkipOcidTranslation': listCatalogsRequest.shouldSkipOcidTranslation,
|
|
4153
4035
|
'limit': listCatalogsRequest.limit,
|
|
4154
4036
|
'page': listCatalogsRequest.page,
|
|
4155
4037
|
'sortOrder': listCatalogsRequest.sortOrder,
|
|
@@ -4578,6 +4460,74 @@ export class ClusterClient {
|
|
|
4578
4460
|
this.closeProvider();
|
|
4579
4461
|
}
|
|
4580
4462
|
|
|
4463
|
+
/**
|
|
4464
|
+
* Creates one Spark Compute by copying all source Compute settings and configuration.
|
|
4465
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4466
|
+
* @param CloneComputeRequest
|
|
4467
|
+
* @return CloneComputeResponse
|
|
4468
|
+
* @throws OciError when an error occurs
|
|
4469
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/CloneCompute.ts.html |here} to see how to use CloneCompute API.
|
|
4470
|
+
*/
|
|
4471
|
+
public async cloneCompute (cloneComputeRequest: requests.CloneComputeRequest) : Promise<responses.CloneComputeResponse> {
|
|
4472
|
+
if (this.logger)
|
|
4473
|
+
this.logger.debug("Calling operation ClusterClient#cloneCompute.");
|
|
4474
|
+
const operationName = "cloneCompute";
|
|
4475
|
+
const apiReferenceLink = "";
|
|
4476
|
+
const pathParams = {
|
|
4477
|
+
"{aiDataPlatformId}": cloneComputeRequest.aiDataPlatformId,
|
|
4478
|
+
"{workspaceKey}": cloneComputeRequest.workspaceKey,
|
|
4479
|
+
"{clusterKey}": cloneComputeRequest.clusterKey,
|
|
4480
|
+
};
|
|
4481
|
+
|
|
4482
|
+
const queryParams = {
|
|
4483
|
+
};
|
|
4484
|
+
|
|
4485
|
+
let headerParams = {
|
|
4486
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4487
|
+
'opc-retry-token': cloneComputeRequest.opcRetryToken,'opc-request-id': cloneComputeRequest.opcRequestId,
|
|
4488
|
+
};
|
|
4489
|
+
|
|
4490
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4491
|
+
const retrier = GenericRetrier.createPreferredRetrier(
|
|
4492
|
+
this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
4493
|
+
cloneComputeRequest.retryConfiguration,
|
|
4494
|
+
specRetryConfiguration
|
|
4495
|
+
);
|
|
4496
|
+
if (this.logger) retrier.logger = this.logger;
|
|
4497
|
+
const request = await composeRequest({
|
|
4498
|
+
baseEndpoint: this._endpoint,
|
|
4499
|
+
defaultHeaders: this._defaultHeaders,
|
|
4500
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}/actions/cloneCompute',
|
|
4501
|
+
method: 'POST',
|
|
4502
|
+
pathParams: pathParams,
|
|
4503
|
+
headerParams: headerParams,
|
|
4504
|
+
queryParams: queryParams
|
|
4505
|
+
});
|
|
4506
|
+
try {
|
|
4507
|
+
const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4508
|
+
const sdkResponse = composeResponse({
|
|
4509
|
+
responseObject: <responses.CloneComputeResponse>{},
|
|
4510
|
+
responseHeaders: [
|
|
4511
|
+
{
|
|
4512
|
+
value: response.headers.get("aidp-async-operation-key"),
|
|
4513
|
+
key: "aidpAsyncOperationKey",
|
|
4514
|
+
dataType: "string"
|
|
4515
|
+
},
|
|
4516
|
+
{
|
|
4517
|
+
value: response.headers.get("opc-request-id"),
|
|
4518
|
+
key: "opcRequestId",
|
|
4519
|
+
dataType: "string"
|
|
4520
|
+
},
|
|
4521
|
+
]
|
|
4522
|
+
});
|
|
4523
|
+
|
|
4524
|
+
return sdkResponse;
|
|
4525
|
+
}
|
|
4526
|
+
catch (err) {
|
|
4527
|
+
throw err;
|
|
4528
|
+
}
|
|
4529
|
+
}
|
|
4530
|
+
|
|
4581
4531
|
/**
|
|
4582
4532
|
* Creates a new cluster with the provided details.
|
|
4583
4533
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
@@ -4663,17 +4613,259 @@ export class ClusterClient {
|
|
|
4663
4613
|
* @param DeleteClusterRequest
|
|
4664
4614
|
* @return DeleteClusterResponse
|
|
4665
4615
|
* @throws OciError when an error occurs
|
|
4666
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/DeleteCluster.ts.html |here} to see how to use DeleteCluster API.
|
|
4616
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/DeleteCluster.ts.html |here} to see how to use DeleteCluster API.
|
|
4617
|
+
*/
|
|
4618
|
+
public async deleteCluster (deleteClusterRequest: requests.DeleteClusterRequest) : Promise<responses.DeleteClusterResponse> {
|
|
4619
|
+
if (this.logger)
|
|
4620
|
+
this.logger.debug("Calling operation ClusterClient#deleteCluster.");
|
|
4621
|
+
const operationName = "deleteCluster";
|
|
4622
|
+
const apiReferenceLink = "";
|
|
4623
|
+
const pathParams = {
|
|
4624
|
+
"{aiDataPlatformId}": deleteClusterRequest.aiDataPlatformId,
|
|
4625
|
+
"{workspaceKey}": deleteClusterRequest.workspaceKey,
|
|
4626
|
+
"{clusterKey}": deleteClusterRequest.clusterKey,
|
|
4627
|
+
};
|
|
4628
|
+
|
|
4629
|
+
const queryParams = {
|
|
4630
|
+
};
|
|
4631
|
+
|
|
4632
|
+
let headerParams = {
|
|
4633
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4634
|
+
'if-match': deleteClusterRequest.ifMatch,'opc-request-id': deleteClusterRequest.opcRequestId,
|
|
4635
|
+
};
|
|
4636
|
+
|
|
4637
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4638
|
+
const retrier = GenericRetrier.createPreferredRetrier(
|
|
4639
|
+
this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
4640
|
+
deleteClusterRequest.retryConfiguration,
|
|
4641
|
+
specRetryConfiguration
|
|
4642
|
+
);
|
|
4643
|
+
if (this.logger) retrier.logger = this.logger;
|
|
4644
|
+
const request = await composeRequest({
|
|
4645
|
+
baseEndpoint: this._endpoint,
|
|
4646
|
+
defaultHeaders: this._defaultHeaders,
|
|
4647
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}',
|
|
4648
|
+
method: 'DELETE',
|
|
4649
|
+
pathParams: pathParams,
|
|
4650
|
+
headerParams: headerParams,
|
|
4651
|
+
queryParams: queryParams
|
|
4652
|
+
});
|
|
4653
|
+
try {
|
|
4654
|
+
const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4655
|
+
const sdkResponse = composeResponse({
|
|
4656
|
+
responseObject: <responses.DeleteClusterResponse>{},
|
|
4657
|
+
responseHeaders: [
|
|
4658
|
+
{
|
|
4659
|
+
value: response.headers.get("aidp-async-operation-key"),
|
|
4660
|
+
key: "aidpAsyncOperationKey",
|
|
4661
|
+
dataType: "string"
|
|
4662
|
+
},
|
|
4663
|
+
{
|
|
4664
|
+
value: response.headers.get("opc-request-id"),
|
|
4665
|
+
key: "opcRequestId",
|
|
4666
|
+
dataType: "string"
|
|
4667
|
+
},
|
|
4668
|
+
]
|
|
4669
|
+
});
|
|
4670
|
+
|
|
4671
|
+
return sdkResponse;
|
|
4672
|
+
}
|
|
4673
|
+
catch (err) {
|
|
4674
|
+
throw err;
|
|
4675
|
+
}
|
|
4676
|
+
}
|
|
4677
|
+
|
|
4678
|
+
/**
|
|
4679
|
+
* Downloads logs within the specified cluster and time range.
|
|
4680
|
+
* The logs can be filtered by severity (`logLevel`), type (`logContentTypeContains`),
|
|
4681
|
+
* and other parameters such as execution context and thread identifiers.
|
|
4682
|
+
*
|
|
4683
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4684
|
+
* @param DownloadClusterLogsRequest
|
|
4685
|
+
* @return DownloadClusterLogsResponse
|
|
4686
|
+
* @throws OciError when an error occurs
|
|
4687
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/DownloadClusterLogs.ts.html |here} to see how to use DownloadClusterLogs API.
|
|
4688
|
+
*/
|
|
4689
|
+
public async downloadClusterLogs (downloadClusterLogsRequest: requests.DownloadClusterLogsRequest) : Promise<responses.DownloadClusterLogsResponse> {
|
|
4690
|
+
if (this.logger)
|
|
4691
|
+
this.logger.debug("Calling operation ClusterClient#downloadClusterLogs.");
|
|
4692
|
+
const operationName = "downloadClusterLogs";
|
|
4693
|
+
const apiReferenceLink = "";
|
|
4694
|
+
const pathParams = {
|
|
4695
|
+
"{aiDataPlatformId}": downloadClusterLogsRequest.aiDataPlatformId,
|
|
4696
|
+
"{workspaceKey}": downloadClusterLogsRequest.workspaceKey,
|
|
4697
|
+
"{clusterKey}": downloadClusterLogsRequest.clusterKey,
|
|
4698
|
+
};
|
|
4699
|
+
|
|
4700
|
+
const queryParams = {
|
|
4701
|
+
};
|
|
4702
|
+
|
|
4703
|
+
let headerParams = {
|
|
4704
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4705
|
+
'opc-request-id': downloadClusterLogsRequest.opcRequestId,'opc-retry-token': downloadClusterLogsRequest.opcRetryToken,
|
|
4706
|
+
};
|
|
4707
|
+
|
|
4708
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4709
|
+
const retrier = GenericRetrier.createPreferredRetrier(
|
|
4710
|
+
this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
4711
|
+
downloadClusterLogsRequest.retryConfiguration,
|
|
4712
|
+
specRetryConfiguration
|
|
4713
|
+
);
|
|
4714
|
+
if (this.logger) retrier.logger = this.logger;
|
|
4715
|
+
const request = await composeRequest({
|
|
4716
|
+
baseEndpoint: this._endpoint,
|
|
4717
|
+
defaultHeaders: this._defaultHeaders,
|
|
4718
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}/actions/downloadLogs',
|
|
4719
|
+
method: 'POST',
|
|
4720
|
+
bodyContent: common.ObjectSerializer.serialize(downloadClusterLogsRequest.downloadClusterLogsDetails, "DownloadClusterLogsDetails"
|
|
4721
|
+
, model.DownloadClusterLogsDetails.getJsonObj)
|
|
4722
|
+
,
|
|
4723
|
+
pathParams: pathParams,
|
|
4724
|
+
headerParams: headerParams,
|
|
4725
|
+
queryParams: queryParams
|
|
4726
|
+
});
|
|
4727
|
+
try {
|
|
4728
|
+
const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4729
|
+
const sdkResponse = composeResponse({
|
|
4730
|
+
responseObject: <responses.DownloadClusterLogsResponse>{},
|
|
4731
|
+
responseHeaders: [
|
|
4732
|
+
{
|
|
4733
|
+
value: response.headers.get("aidp-async-operation-key"),
|
|
4734
|
+
key: "aidpAsyncOperationKey",
|
|
4735
|
+
dataType: "string"
|
|
4736
|
+
},
|
|
4737
|
+
{
|
|
4738
|
+
value: response.headers.get("datalake-cluster-log-par-url"),
|
|
4739
|
+
key: "datalakeClusterLogParUrl",
|
|
4740
|
+
dataType: "string"
|
|
4741
|
+
},
|
|
4742
|
+
{
|
|
4743
|
+
value: response.headers.get("opc-request-id"),
|
|
4744
|
+
key: "opcRequestId",
|
|
4745
|
+
dataType: "string"
|
|
4746
|
+
},
|
|
4747
|
+
]
|
|
4748
|
+
});
|
|
4749
|
+
|
|
4750
|
+
return sdkResponse;
|
|
4751
|
+
}
|
|
4752
|
+
catch (err) {
|
|
4753
|
+
throw err;
|
|
4754
|
+
}
|
|
4755
|
+
}
|
|
4756
|
+
|
|
4757
|
+
/**
|
|
4758
|
+
* Writes selected Compute configuration values supplied by the caller to a workspace YAML file without overwriting an existing file.
|
|
4759
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4760
|
+
* @param ExportComputeConfigurationRequest
|
|
4761
|
+
* @return ExportComputeConfigurationResponse
|
|
4762
|
+
* @throws OciError when an error occurs
|
|
4763
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ExportComputeConfiguration.ts.html |here} to see how to use ExportComputeConfiguration API.
|
|
4764
|
+
*/
|
|
4765
|
+
public async exportComputeConfiguration (exportComputeConfigurationRequest: requests.ExportComputeConfigurationRequest) : Promise<responses.ExportComputeConfigurationResponse> {
|
|
4766
|
+
if (this.logger)
|
|
4767
|
+
this.logger.debug("Calling operation ClusterClient#exportComputeConfiguration.");
|
|
4768
|
+
const operationName = "exportComputeConfiguration";
|
|
4769
|
+
const apiReferenceLink = "";
|
|
4770
|
+
const pathParams = {
|
|
4771
|
+
"{aiDataPlatformId}": exportComputeConfigurationRequest.aiDataPlatformId,
|
|
4772
|
+
"{workspaceKey}": exportComputeConfigurationRequest.workspaceKey,
|
|
4773
|
+
"{clusterKey}": exportComputeConfigurationRequest.clusterKey,
|
|
4774
|
+
};
|
|
4775
|
+
|
|
4776
|
+
const queryParams = {
|
|
4777
|
+
};
|
|
4778
|
+
|
|
4779
|
+
let headerParams = {
|
|
4780
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4781
|
+
'opc-retry-token': exportComputeConfigurationRequest.opcRetryToken,'opc-request-id': exportComputeConfigurationRequest.opcRequestId,
|
|
4782
|
+
};
|
|
4783
|
+
|
|
4784
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4785
|
+
const retrier = GenericRetrier.createPreferredRetrier(
|
|
4786
|
+
this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
4787
|
+
exportComputeConfigurationRequest.retryConfiguration,
|
|
4788
|
+
specRetryConfiguration
|
|
4789
|
+
);
|
|
4790
|
+
if (this.logger) retrier.logger = this.logger;
|
|
4791
|
+
const request = await composeRequest({
|
|
4792
|
+
baseEndpoint: this._endpoint,
|
|
4793
|
+
defaultHeaders: this._defaultHeaders,
|
|
4794
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}/actions/exportComputeConfiguration',
|
|
4795
|
+
method: 'POST',
|
|
4796
|
+
bodyContent: common.ObjectSerializer.serialize(exportComputeConfigurationRequest.exportComputeConfigurationDetails, "ExportComputeConfigurationDetails"
|
|
4797
|
+
, model.ExportComputeConfigurationDetails.getJsonObj)
|
|
4798
|
+
,
|
|
4799
|
+
pathParams: pathParams,
|
|
4800
|
+
headerParams: headerParams,
|
|
4801
|
+
queryParams: queryParams
|
|
4802
|
+
});
|
|
4803
|
+
try {
|
|
4804
|
+
const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4805
|
+
const sdkResponse = composeResponse({
|
|
4806
|
+
responseObject: <responses.ExportComputeConfigurationResponse>{},
|
|
4807
|
+
|
|
4808
|
+
body: response.body!,
|
|
4809
|
+
bodyKey: "value",
|
|
4810
|
+
bodyModel: "string",
|
|
4811
|
+
responseHeaders: [
|
|
4812
|
+
{
|
|
4813
|
+
value: response.headers.get("location"),
|
|
4814
|
+
key: "location",
|
|
4815
|
+
dataType: "string"
|
|
4816
|
+
},
|
|
4817
|
+
{
|
|
4818
|
+
value: response.headers.get("content-location"),
|
|
4819
|
+
key: "contentLocation",
|
|
4820
|
+
dataType: "string"
|
|
4821
|
+
},
|
|
4822
|
+
{
|
|
4823
|
+
value: response.headers.get("opc-request-id"),
|
|
4824
|
+
key: "opcRequestId",
|
|
4825
|
+
dataType: "string"
|
|
4826
|
+
},
|
|
4827
|
+
{
|
|
4828
|
+
value: response.headers.get("path"),
|
|
4829
|
+
key: "path",
|
|
4830
|
+
dataType: "string"
|
|
4831
|
+
},
|
|
4832
|
+
{
|
|
4833
|
+
value: response.headers.get("type"),
|
|
4834
|
+
key: "type",
|
|
4835
|
+
dataType: "string"
|
|
4836
|
+
},
|
|
4837
|
+
{
|
|
4838
|
+
value: response.headers.get("time-updated"),
|
|
4839
|
+
key: "timeUpdated",
|
|
4840
|
+
dataType: "Date"
|
|
4841
|
+
},
|
|
4842
|
+
]
|
|
4843
|
+
});
|
|
4844
|
+
|
|
4845
|
+
return sdkResponse;
|
|
4846
|
+
}
|
|
4847
|
+
catch (err) {
|
|
4848
|
+
throw err;
|
|
4849
|
+
}
|
|
4850
|
+
}
|
|
4851
|
+
|
|
4852
|
+
/**
|
|
4853
|
+
* Returns detailed information about a cluster.
|
|
4854
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4855
|
+
* @param GetClusterRequest
|
|
4856
|
+
* @return GetClusterResponse
|
|
4857
|
+
* @throws OciError when an error occurs
|
|
4858
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/GetCluster.ts.html |here} to see how to use GetCluster API.
|
|
4667
4859
|
*/
|
|
4668
|
-
public async
|
|
4860
|
+
public async getCluster (getClusterRequest: requests.GetClusterRequest) : Promise<responses.GetClusterResponse> {
|
|
4669
4861
|
if (this.logger)
|
|
4670
|
-
this.logger.debug("Calling operation ClusterClient#
|
|
4671
|
-
const operationName = "
|
|
4862
|
+
this.logger.debug("Calling operation ClusterClient#getCluster.");
|
|
4863
|
+
const operationName = "getCluster";
|
|
4672
4864
|
const apiReferenceLink = "";
|
|
4673
4865
|
const pathParams = {
|
|
4674
|
-
"{aiDataPlatformId}":
|
|
4675
|
-
"{workspaceKey}":
|
|
4676
|
-
"{clusterKey}":
|
|
4866
|
+
"{aiDataPlatformId}": getClusterRequest.aiDataPlatformId,
|
|
4867
|
+
"{workspaceKey}": getClusterRequest.workspaceKey,
|
|
4868
|
+
"{clusterKey}": getClusterRequest.clusterKey,
|
|
4677
4869
|
};
|
|
4678
4870
|
|
|
4679
4871
|
const queryParams = {
|
|
@@ -4681,13 +4873,13 @@ export class ClusterClient {
|
|
|
4681
4873
|
|
|
4682
4874
|
let headerParams = {
|
|
4683
4875
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4684
|
-
'
|
|
4876
|
+
'opc-request-id': getClusterRequest.opcRequestId,'should-update-recent': getClusterRequest.shouldUpdateRecent,
|
|
4685
4877
|
};
|
|
4686
4878
|
|
|
4687
4879
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4688
4880
|
const retrier = GenericRetrier.createPreferredRetrier(
|
|
4689
4881
|
this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
4690
|
-
|
|
4882
|
+
getClusterRequest.retryConfiguration,
|
|
4691
4883
|
specRetryConfiguration
|
|
4692
4884
|
);
|
|
4693
4885
|
if (this.logger) retrier.logger = this.logger;
|
|
@@ -4695,7 +4887,7 @@ export class ClusterClient {
|
|
|
4695
4887
|
baseEndpoint: this._endpoint,
|
|
4696
4888
|
defaultHeaders: this._defaultHeaders,
|
|
4697
4889
|
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}',
|
|
4698
|
-
method: '
|
|
4890
|
+
method: 'GET',
|
|
4699
4891
|
pathParams: pathParams,
|
|
4700
4892
|
headerParams: headerParams,
|
|
4701
4893
|
queryParams: queryParams
|
|
@@ -4703,11 +4895,15 @@ export class ClusterClient {
|
|
|
4703
4895
|
try {
|
|
4704
4896
|
const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4705
4897
|
const sdkResponse = composeResponse({
|
|
4706
|
-
responseObject: <responses.
|
|
4898
|
+
responseObject: <responses.GetClusterResponse>{},
|
|
4899
|
+
body: await response.json(),
|
|
4900
|
+
bodyKey: "cluster",
|
|
4901
|
+
bodyModel: model.Cluster,
|
|
4902
|
+
type: "model.Cluster",
|
|
4707
4903
|
responseHeaders: [
|
|
4708
4904
|
{
|
|
4709
|
-
value: response.headers.get("
|
|
4710
|
-
key: "
|
|
4905
|
+
value: response.headers.get("etag"),
|
|
4906
|
+
key: "etag",
|
|
4711
4907
|
dataType: "string"
|
|
4712
4908
|
},
|
|
4713
4909
|
{
|
|
@@ -4726,25 +4922,22 @@ export class ClusterClient {
|
|
|
4726
4922
|
}
|
|
4727
4923
|
|
|
4728
4924
|
/**
|
|
4729
|
-
*
|
|
4730
|
-
* The logs can be filtered by severity (`logLevel`), type (`logContentTypeContains`),
|
|
4731
|
-
* and other parameters such as execution context and thread identifiers.
|
|
4732
|
-
*
|
|
4925
|
+
* Gets cluster-scoped Python and JAR libraries and environment variables from Spark Compute.
|
|
4733
4926
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4734
|
-
* @param
|
|
4735
|
-
* @return
|
|
4927
|
+
* @param GetComputeConfigurationRequest
|
|
4928
|
+
* @return GetComputeConfigurationResponse
|
|
4736
4929
|
* @throws OciError when an error occurs
|
|
4737
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/
|
|
4930
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/GetComputeConfiguration.ts.html |here} to see how to use GetComputeConfiguration API.
|
|
4738
4931
|
*/
|
|
4739
|
-
public async
|
|
4932
|
+
public async getComputeConfiguration (getComputeConfigurationRequest: requests.GetComputeConfigurationRequest) : Promise<responses.GetComputeConfigurationResponse> {
|
|
4740
4933
|
if (this.logger)
|
|
4741
|
-
this.logger.debug("Calling operation ClusterClient#
|
|
4742
|
-
const operationName = "
|
|
4934
|
+
this.logger.debug("Calling operation ClusterClient#getComputeConfiguration.");
|
|
4935
|
+
const operationName = "getComputeConfiguration";
|
|
4743
4936
|
const apiReferenceLink = "";
|
|
4744
4937
|
const pathParams = {
|
|
4745
|
-
"{aiDataPlatformId}":
|
|
4746
|
-
"{workspaceKey}":
|
|
4747
|
-
"{clusterKey}":
|
|
4938
|
+
"{aiDataPlatformId}": getComputeConfigurationRequest.aiDataPlatformId,
|
|
4939
|
+
"{workspaceKey}": getComputeConfigurationRequest.workspaceKey,
|
|
4940
|
+
"{clusterKey}": getComputeConfigurationRequest.clusterKey,
|
|
4748
4941
|
};
|
|
4749
4942
|
|
|
4750
4943
|
const queryParams = {
|
|
@@ -4752,24 +4945,21 @@ export class ClusterClient {
|
|
|
4752
4945
|
|
|
4753
4946
|
let headerParams = {
|
|
4754
4947
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4755
|
-
'opc-request-id':
|
|
4948
|
+
'opc-request-id': getComputeConfigurationRequest.opcRequestId,
|
|
4756
4949
|
};
|
|
4757
4950
|
|
|
4758
4951
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4759
4952
|
const retrier = GenericRetrier.createPreferredRetrier(
|
|
4760
4953
|
this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
4761
|
-
|
|
4954
|
+
getComputeConfigurationRequest.retryConfiguration,
|
|
4762
4955
|
specRetryConfiguration
|
|
4763
4956
|
);
|
|
4764
4957
|
if (this.logger) retrier.logger = this.logger;
|
|
4765
4958
|
const request = await composeRequest({
|
|
4766
4959
|
baseEndpoint: this._endpoint,
|
|
4767
4960
|
defaultHeaders: this._defaultHeaders,
|
|
4768
|
-
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}/actions/
|
|
4769
|
-
method: '
|
|
4770
|
-
bodyContent: common.ObjectSerializer.serialize(downloadClusterLogsRequest.downloadClusterLogsDetails, "DownloadClusterLogsDetails"
|
|
4771
|
-
, model.DownloadClusterLogsDetails.getJsonObj)
|
|
4772
|
-
,
|
|
4961
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}/actions/getComputeConfiguration',
|
|
4962
|
+
method: 'GET',
|
|
4773
4963
|
pathParams: pathParams,
|
|
4774
4964
|
headerParams: headerParams,
|
|
4775
4965
|
queryParams: queryParams
|
|
@@ -4777,18 +4967,12 @@ export class ClusterClient {
|
|
|
4777
4967
|
try {
|
|
4778
4968
|
const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4779
4969
|
const sdkResponse = composeResponse({
|
|
4780
|
-
responseObject: <responses.
|
|
4970
|
+
responseObject: <responses.GetComputeConfigurationResponse>{},
|
|
4971
|
+
body: await response.json(),
|
|
4972
|
+
bodyKey: "computeConfiguration",
|
|
4973
|
+
bodyModel: model.ComputeConfiguration,
|
|
4974
|
+
type: "model.ComputeConfiguration",
|
|
4781
4975
|
responseHeaders: [
|
|
4782
|
-
{
|
|
4783
|
-
value: response.headers.get("aidp-async-operation-key"),
|
|
4784
|
-
key: "aidpAsyncOperationKey",
|
|
4785
|
-
dataType: "string"
|
|
4786
|
-
},
|
|
4787
|
-
{
|
|
4788
|
-
value: response.headers.get("datalake-cluster-log-par-url"),
|
|
4789
|
-
key: "datalakeClusterLogParUrl",
|
|
4790
|
-
dataType: "string"
|
|
4791
|
-
},
|
|
4792
4976
|
{
|
|
4793
4977
|
value: response.headers.get("opc-request-id"),
|
|
4794
4978
|
key: "opcRequestId",
|
|
@@ -4805,22 +4989,20 @@ export class ClusterClient {
|
|
|
4805
4989
|
}
|
|
4806
4990
|
|
|
4807
4991
|
/**
|
|
4808
|
-
*
|
|
4992
|
+
* Gets information about the master catalog default cluster.
|
|
4809
4993
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4810
|
-
* @param
|
|
4811
|
-
* @return
|
|
4994
|
+
* @param GetDefaultClusterRequest
|
|
4995
|
+
* @return GetDefaultClusterResponse
|
|
4812
4996
|
* @throws OciError when an error occurs
|
|
4813
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/
|
|
4997
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/GetDefaultCluster.ts.html |here} to see how to use GetDefaultCluster API.
|
|
4814
4998
|
*/
|
|
4815
|
-
public async
|
|
4999
|
+
public async getDefaultCluster (getDefaultClusterRequest: requests.GetDefaultClusterRequest) : Promise<responses.GetDefaultClusterResponse> {
|
|
4816
5000
|
if (this.logger)
|
|
4817
|
-
this.logger.debug("Calling operation ClusterClient#
|
|
4818
|
-
const operationName = "
|
|
5001
|
+
this.logger.debug("Calling operation ClusterClient#getDefaultCluster.");
|
|
5002
|
+
const operationName = "getDefaultCluster";
|
|
4819
5003
|
const apiReferenceLink = "";
|
|
4820
5004
|
const pathParams = {
|
|
4821
|
-
"{aiDataPlatformId}":
|
|
4822
|
-
"{workspaceKey}": getClusterRequest.workspaceKey,
|
|
4823
|
-
"{clusterKey}": getClusterRequest.clusterKey,
|
|
5005
|
+
"{aiDataPlatformId}": getDefaultClusterRequest.aiDataPlatformId,
|
|
4824
5006
|
};
|
|
4825
5007
|
|
|
4826
5008
|
const queryParams = {
|
|
@@ -4828,20 +5010,20 @@ export class ClusterClient {
|
|
|
4828
5010
|
|
|
4829
5011
|
let headerParams = {
|
|
4830
5012
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4831
|
-
'opc-request-id':
|
|
5013
|
+
'opc-request-id': getDefaultClusterRequest.opcRequestId,
|
|
4832
5014
|
};
|
|
4833
5015
|
|
|
4834
5016
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4835
5017
|
const retrier = GenericRetrier.createPreferredRetrier(
|
|
4836
5018
|
this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
4837
|
-
|
|
5019
|
+
getDefaultClusterRequest.retryConfiguration,
|
|
4838
5020
|
specRetryConfiguration
|
|
4839
5021
|
);
|
|
4840
5022
|
if (this.logger) retrier.logger = this.logger;
|
|
4841
5023
|
const request = await composeRequest({
|
|
4842
5024
|
baseEndpoint: this._endpoint,
|
|
4843
5025
|
defaultHeaders: this._defaultHeaders,
|
|
4844
|
-
path: '/aiDataPlatforms/{aiDataPlatformId}/
|
|
5026
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/defaultCluster',
|
|
4845
5027
|
method: 'GET',
|
|
4846
5028
|
pathParams: pathParams,
|
|
4847
5029
|
headerParams: headerParams,
|
|
@@ -4850,11 +5032,11 @@ export class ClusterClient {
|
|
|
4850
5032
|
try {
|
|
4851
5033
|
const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4852
5034
|
const sdkResponse = composeResponse({
|
|
4853
|
-
responseObject: <responses.
|
|
5035
|
+
responseObject: <responses.GetDefaultClusterResponse>{},
|
|
4854
5036
|
body: await response.json(),
|
|
4855
|
-
bodyKey: "
|
|
4856
|
-
bodyModel: model.
|
|
4857
|
-
type: "model.
|
|
5037
|
+
bodyKey: "defaultCluster",
|
|
5038
|
+
bodyModel: model.DefaultCluster,
|
|
5039
|
+
type: "model.DefaultCluster",
|
|
4858
5040
|
responseHeaders: [
|
|
4859
5041
|
{
|
|
4860
5042
|
value: response.headers.get("etag"),
|
|
@@ -4877,20 +5059,22 @@ export class ClusterClient {
|
|
|
4877
5059
|
}
|
|
4878
5060
|
|
|
4879
5061
|
/**
|
|
4880
|
-
*
|
|
5062
|
+
* Imports one or more unique workspace YAML files into an active Spark Compute.
|
|
4881
5063
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4882
|
-
* @param
|
|
4883
|
-
* @return
|
|
5064
|
+
* @param ImportComputeConfigurationRequest
|
|
5065
|
+
* @return ImportComputeConfigurationResponse
|
|
4884
5066
|
* @throws OciError when an error occurs
|
|
4885
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/
|
|
5067
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ImportComputeConfiguration.ts.html |here} to see how to use ImportComputeConfiguration API.
|
|
4886
5068
|
*/
|
|
4887
|
-
public async
|
|
5069
|
+
public async importComputeConfiguration (importComputeConfigurationRequest: requests.ImportComputeConfigurationRequest) : Promise<responses.ImportComputeConfigurationResponse> {
|
|
4888
5070
|
if (this.logger)
|
|
4889
|
-
this.logger.debug("Calling operation ClusterClient#
|
|
4890
|
-
const operationName = "
|
|
5071
|
+
this.logger.debug("Calling operation ClusterClient#importComputeConfiguration.");
|
|
5072
|
+
const operationName = "importComputeConfiguration";
|
|
4891
5073
|
const apiReferenceLink = "";
|
|
4892
5074
|
const pathParams = {
|
|
4893
|
-
"{aiDataPlatformId}":
|
|
5075
|
+
"{aiDataPlatformId}": importComputeConfigurationRequest.aiDataPlatformId,
|
|
5076
|
+
"{workspaceKey}": importComputeConfigurationRequest.workspaceKey,
|
|
5077
|
+
"{clusterKey}": importComputeConfigurationRequest.clusterKey,
|
|
4894
5078
|
};
|
|
4895
5079
|
|
|
4896
5080
|
const queryParams = {
|
|
@@ -4898,21 +5082,24 @@ export class ClusterClient {
|
|
|
4898
5082
|
|
|
4899
5083
|
let headerParams = {
|
|
4900
5084
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4901
|
-
'opc-request-id':
|
|
5085
|
+
'opc-retry-token': importComputeConfigurationRequest.opcRetryToken,'opc-request-id': importComputeConfigurationRequest.opcRequestId,
|
|
4902
5086
|
};
|
|
4903
5087
|
|
|
4904
5088
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4905
5089
|
const retrier = GenericRetrier.createPreferredRetrier(
|
|
4906
5090
|
this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
4907
|
-
|
|
5091
|
+
importComputeConfigurationRequest.retryConfiguration,
|
|
4908
5092
|
specRetryConfiguration
|
|
4909
5093
|
);
|
|
4910
5094
|
if (this.logger) retrier.logger = this.logger;
|
|
4911
5095
|
const request = await composeRequest({
|
|
4912
5096
|
baseEndpoint: this._endpoint,
|
|
4913
5097
|
defaultHeaders: this._defaultHeaders,
|
|
4914
|
-
path: '/aiDataPlatforms/{aiDataPlatformId}/
|
|
4915
|
-
method: '
|
|
5098
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}/actions/importComputeConfiguration',
|
|
5099
|
+
method: 'POST',
|
|
5100
|
+
bodyContent: common.ObjectSerializer.serialize(importComputeConfigurationRequest.importComputeConfigurationDetails, "ImportComputeConfigurationDetails"
|
|
5101
|
+
, model.ImportComputeConfigurationDetails.getJsonObj)
|
|
5102
|
+
,
|
|
4916
5103
|
pathParams: pathParams,
|
|
4917
5104
|
headerParams: headerParams,
|
|
4918
5105
|
queryParams: queryParams
|
|
@@ -4920,15 +5107,11 @@ export class ClusterClient {
|
|
|
4920
5107
|
try {
|
|
4921
5108
|
const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4922
5109
|
const sdkResponse = composeResponse({
|
|
4923
|
-
responseObject: <responses.
|
|
4924
|
-
body: await response.json(),
|
|
4925
|
-
bodyKey: "defaultCluster",
|
|
4926
|
-
bodyModel: model.DefaultCluster,
|
|
4927
|
-
type: "model.DefaultCluster",
|
|
5110
|
+
responseObject: <responses.ImportComputeConfigurationResponse>{},
|
|
4928
5111
|
responseHeaders: [
|
|
4929
5112
|
{
|
|
4930
|
-
value: response.headers.get("
|
|
4931
|
-
key: "
|
|
5113
|
+
value: response.headers.get("aidp-async-operation-key"),
|
|
5114
|
+
key: "aidpAsyncOperationKey",
|
|
4932
5115
|
dataType: "string"
|
|
4933
5116
|
},
|
|
4934
5117
|
{
|
|
@@ -5565,6 +5748,86 @@ export class ClusterClient {
|
|
|
5565
5748
|
}
|
|
5566
5749
|
}
|
|
5567
5750
|
|
|
5751
|
+
/**
|
|
5752
|
+
* Searches Maven packages available for cluster library installation.
|
|
5753
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
5754
|
+
* @param SearchMavenPackagesRequest
|
|
5755
|
+
* @return SearchMavenPackagesResponse
|
|
5756
|
+
* @throws OciError when an error occurs
|
|
5757
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/SearchMavenPackages.ts.html |here} to see how to use SearchMavenPackages API.
|
|
5758
|
+
*/
|
|
5759
|
+
public async searchMavenPackages (searchMavenPackagesRequest: requests.SearchMavenPackagesRequest) : Promise<responses.SearchMavenPackagesResponse> {
|
|
5760
|
+
if (this.logger)
|
|
5761
|
+
this.logger.debug("Calling operation ClusterClient#searchMavenPackages.");
|
|
5762
|
+
const operationName = "searchMavenPackages";
|
|
5763
|
+
const apiReferenceLink = "";
|
|
5764
|
+
const pathParams = {
|
|
5765
|
+
"{aiDataPlatformId}": searchMavenPackagesRequest.aiDataPlatformId,
|
|
5766
|
+
"{workspaceKey}": searchMavenPackagesRequest.workspaceKey,
|
|
5767
|
+
"{clusterKey}": searchMavenPackagesRequest.clusterKey,
|
|
5768
|
+
};
|
|
5769
|
+
|
|
5770
|
+
const queryParams = {
|
|
5771
|
+
'mavenSearchQuery': searchMavenPackagesRequest.mavenSearchQuery,
|
|
5772
|
+
'limit': searchMavenPackagesRequest.limit,
|
|
5773
|
+
'page': searchMavenPackagesRequest.page,
|
|
5774
|
+
};
|
|
5775
|
+
|
|
5776
|
+
let headerParams = {
|
|
5777
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
5778
|
+
'opc-request-id': searchMavenPackagesRequest.opcRequestId,
|
|
5779
|
+
};
|
|
5780
|
+
|
|
5781
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
5782
|
+
const retrier = GenericRetrier.createPreferredRetrier(
|
|
5783
|
+
this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
5784
|
+
searchMavenPackagesRequest.retryConfiguration,
|
|
5785
|
+
specRetryConfiguration
|
|
5786
|
+
);
|
|
5787
|
+
if (this.logger) retrier.logger = this.logger;
|
|
5788
|
+
const request = await composeRequest({
|
|
5789
|
+
baseEndpoint: this._endpoint,
|
|
5790
|
+
defaultHeaders: this._defaultHeaders,
|
|
5791
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}/mavenPackages',
|
|
5792
|
+
method: 'GET',
|
|
5793
|
+
pathParams: pathParams,
|
|
5794
|
+
headerParams: headerParams,
|
|
5795
|
+
queryParams: queryParams
|
|
5796
|
+
});
|
|
5797
|
+
try {
|
|
5798
|
+
const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
5799
|
+
const sdkResponse = composeResponse({
|
|
5800
|
+
responseObject: <responses.SearchMavenPackagesResponse>{},
|
|
5801
|
+
body: await response.json(),
|
|
5802
|
+
bodyKey: "mavenSearchSummaryCollection",
|
|
5803
|
+
bodyModel: model.MavenSearchSummaryCollection,
|
|
5804
|
+
type: "model.MavenSearchSummaryCollection",
|
|
5805
|
+
responseHeaders: [
|
|
5806
|
+
{
|
|
5807
|
+
value: response.headers.get("opc-request-id"),
|
|
5808
|
+
key: "opcRequestId",
|
|
5809
|
+
dataType: "string"
|
|
5810
|
+
},
|
|
5811
|
+
{
|
|
5812
|
+
value: response.headers.get("opc-next-page"),
|
|
5813
|
+
key: "opcNextPage",
|
|
5814
|
+
dataType: "string"
|
|
5815
|
+
},
|
|
5816
|
+
{
|
|
5817
|
+
value: response.headers.get("opc-prev-page"),
|
|
5818
|
+
key: "opcPrevPage",
|
|
5819
|
+
dataType: "string"
|
|
5820
|
+
},
|
|
5821
|
+
]
|
|
5822
|
+
});
|
|
5823
|
+
|
|
5824
|
+
return sdkResponse;
|
|
5825
|
+
}
|
|
5826
|
+
catch (err) {
|
|
5827
|
+
throw err;
|
|
5828
|
+
}
|
|
5829
|
+
}
|
|
5830
|
+
|
|
5568
5831
|
/**
|
|
5569
5832
|
* Starts a cluster that has halted operation.
|
|
5570
5833
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
@@ -13617,7 +13880,8 @@ export class NotebookClient {
|
|
|
13617
13880
|
}
|
|
13618
13881
|
|
|
13619
13882
|
/**
|
|
13620
|
-
* Returns
|
|
13883
|
+
* Returns content for a given file or metadata for a directory. Directory content listing is not supported; requests with type=directory and
|
|
13884
|
+
* content=1 return 400 and should use content=0 to retrieve directory metadata. You can optionally specify a type and/or format argument via URL parameter.
|
|
13621
13885
|
* When given, the Content service returns a model in the requested type and/or format. If the request cannot be satisfied, for example if type=text
|
|
13622
13886
|
* is requested, but the file is binary, then the request returns a 400 message and a JSON response with a Reason field identifying the issue. The value
|
|
13623
13887
|
* of the Reason field is \u2018bad format\u2019 or \u2018bad type\u2019, depending on what was requested.
|
|
@@ -15590,6 +15854,7 @@ export class SchemaClient {
|
|
|
15590
15854
|
};
|
|
15591
15855
|
|
|
15592
15856
|
const queryParams = {
|
|
15857
|
+
'shouldSkipOcidTranslation': getSchemaRequest.shouldSkipOcidTranslation,
|
|
15593
15858
|
};
|
|
15594
15859
|
|
|
15595
15860
|
let headerParams = {
|
|
@@ -15661,6 +15926,7 @@ export class SchemaClient {
|
|
|
15661
15926
|
};
|
|
15662
15927
|
|
|
15663
15928
|
const queryParams = {
|
|
15929
|
+
'shouldSkipOcidTranslation': getTableRequest.shouldSkipOcidTranslation,
|
|
15664
15930
|
};
|
|
15665
15931
|
|
|
15666
15932
|
let headerParams = {
|
|
@@ -15878,6 +16144,7 @@ export class SchemaClient {
|
|
|
15878
16144
|
|
|
15879
16145
|
const queryParams = {
|
|
15880
16146
|
'catalogKey': listSchemasRequest.catalogKey,
|
|
16147
|
+
'shouldSkipOcidTranslation': listSchemasRequest.shouldSkipOcidTranslation,
|
|
15881
16148
|
'displayName': listSchemasRequest.displayName,
|
|
15882
16149
|
'limit': listSchemasRequest.limit,
|
|
15883
16150
|
'page': listSchemasRequest.page,
|
|
@@ -16029,6 +16296,7 @@ export class SchemaClient {
|
|
|
16029
16296
|
|
|
16030
16297
|
const queryParams = {
|
|
16031
16298
|
'catalogKey': listTablesRequest.catalogKey,
|
|
16299
|
+
'shouldSkipOcidTranslation': listTablesRequest.shouldSkipOcidTranslation,
|
|
16032
16300
|
'schemaKey': listTablesRequest.schemaKey,
|
|
16033
16301
|
'displayName': listTablesRequest.displayName,
|
|
16034
16302
|
'limit': listTablesRequest.limit,
|
|
@@ -18696,16 +18964,95 @@ export class VolumeClient {
|
|
|
18696
18964
|
* @param UpdateVolumeRequest
|
|
18697
18965
|
* @return UpdateVolumeResponse
|
|
18698
18966
|
* @throws OciError when an error occurs
|
|
18699
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/UpdateVolume.ts.html |here} to see how to use UpdateVolume API.
|
|
18967
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/UpdateVolume.ts.html |here} to see how to use UpdateVolume API.
|
|
18968
|
+
*/
|
|
18969
|
+
public async updateVolume (updateVolumeRequest: requests.UpdateVolumeRequest) : Promise<responses.UpdateVolumeResponse> {
|
|
18970
|
+
if (this.logger)
|
|
18971
|
+
this.logger.debug("Calling operation VolumeClient#updateVolume.");
|
|
18972
|
+
const operationName = "updateVolume";
|
|
18973
|
+
const apiReferenceLink = "";
|
|
18974
|
+
const pathParams = {
|
|
18975
|
+
"{aiDataPlatformId}": updateVolumeRequest.aiDataPlatformId,
|
|
18976
|
+
"{volumeKey}": updateVolumeRequest.volumeKey,
|
|
18977
|
+
};
|
|
18978
|
+
|
|
18979
|
+
const queryParams = {
|
|
18980
|
+
};
|
|
18981
|
+
|
|
18982
|
+
let headerParams = {
|
|
18983
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
18984
|
+
'should-update-recent': updateVolumeRequest.shouldUpdateRecent,'if-match': updateVolumeRequest.ifMatch,'opc-request-id': updateVolumeRequest.opcRequestId,
|
|
18985
|
+
};
|
|
18986
|
+
|
|
18987
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
18988
|
+
const retrier = GenericRetrier.createPreferredRetrier(
|
|
18989
|
+
this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
18990
|
+
updateVolumeRequest.retryConfiguration,
|
|
18991
|
+
specRetryConfiguration
|
|
18992
|
+
);
|
|
18993
|
+
if (this.logger) retrier.logger = this.logger;
|
|
18994
|
+
const request = await composeRequest({
|
|
18995
|
+
baseEndpoint: this._endpoint,
|
|
18996
|
+
defaultHeaders: this._defaultHeaders,
|
|
18997
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/volumes/{volumeKey}',
|
|
18998
|
+
method: 'PUT',
|
|
18999
|
+
bodyContent: common.ObjectSerializer.serialize(updateVolumeRequest.updateVolumeDetails, "UpdateVolumeDetails"
|
|
19000
|
+
, model.UpdateVolumeDetails.getJsonObj)
|
|
19001
|
+
,
|
|
19002
|
+
pathParams: pathParams,
|
|
19003
|
+
headerParams: headerParams,
|
|
19004
|
+
queryParams: queryParams
|
|
19005
|
+
});
|
|
19006
|
+
try {
|
|
19007
|
+
const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
19008
|
+
const sdkResponse = composeResponse({
|
|
19009
|
+
responseObject: <responses.UpdateVolumeResponse>{},
|
|
19010
|
+
body: await response.json(),
|
|
19011
|
+
bodyKey: "volume",
|
|
19012
|
+
bodyModel: model.Volume,
|
|
19013
|
+
type: "model.Volume",
|
|
19014
|
+
responseHeaders: [
|
|
19015
|
+
{
|
|
19016
|
+
value: response.headers.get("opc-work-request-id"),
|
|
19017
|
+
key: "opcWorkRequestId",
|
|
19018
|
+
dataType: "string"
|
|
19019
|
+
},
|
|
19020
|
+
{
|
|
19021
|
+
value: response.headers.get("opc-request-id"),
|
|
19022
|
+
key: "opcRequestId",
|
|
19023
|
+
dataType: "string"
|
|
19024
|
+
},
|
|
19025
|
+
{
|
|
19026
|
+
value: response.headers.get("etag"),
|
|
19027
|
+
key: "etag",
|
|
19028
|
+
dataType: "string"
|
|
19029
|
+
},
|
|
19030
|
+
]
|
|
19031
|
+
});
|
|
19032
|
+
|
|
19033
|
+
return sdkResponse;
|
|
19034
|
+
}
|
|
19035
|
+
catch (err) {
|
|
19036
|
+
throw err;
|
|
19037
|
+
}
|
|
19038
|
+
}
|
|
19039
|
+
|
|
19040
|
+
/**
|
|
19041
|
+
* Creates or updates an asynchronous volume ZIP upload and extraction operation. CREATE returns a PAR URL for uploading the ZIP bytes and an async operation key. UPDATE records the uploaded ZIP metadata so extraction can continue.
|
|
19042
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
19043
|
+
* @param UploadAndExtractVolumeZipRequest
|
|
19044
|
+
* @return UploadAndExtractVolumeZipResponse
|
|
19045
|
+
* @throws OciError when an error occurs
|
|
19046
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/UploadAndExtractVolumeZip.ts.html |here} to see how to use UploadAndExtractVolumeZip API.
|
|
18700
19047
|
*/
|
|
18701
|
-
public async
|
|
19048
|
+
public async uploadAndExtractVolumeZip (uploadAndExtractVolumeZipRequest: requests.UploadAndExtractVolumeZipRequest) : Promise<responses.UploadAndExtractVolumeZipResponse> {
|
|
18702
19049
|
if (this.logger)
|
|
18703
|
-
this.logger.debug("Calling operation VolumeClient#
|
|
18704
|
-
const operationName = "
|
|
19050
|
+
this.logger.debug("Calling operation VolumeClient#uploadAndExtractVolumeZip.");
|
|
19051
|
+
const operationName = "uploadAndExtractVolumeZip";
|
|
18705
19052
|
const apiReferenceLink = "";
|
|
18706
19053
|
const pathParams = {
|
|
18707
|
-
"{aiDataPlatformId}":
|
|
18708
|
-
"{volumeKey}":
|
|
19054
|
+
"{aiDataPlatformId}": uploadAndExtractVolumeZipRequest.aiDataPlatformId,
|
|
19055
|
+
"{volumeKey}": uploadAndExtractVolumeZipRequest.volumeKey,
|
|
18709
19056
|
};
|
|
18710
19057
|
|
|
18711
19058
|
const queryParams = {
|
|
@@ -18713,23 +19060,23 @@ export class VolumeClient {
|
|
|
18713
19060
|
|
|
18714
19061
|
let headerParams = {
|
|
18715
19062
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
18716
|
-
'
|
|
19063
|
+
'opc-retry-token': uploadAndExtractVolumeZipRequest.opcRetryToken,'opc-request-id': uploadAndExtractVolumeZipRequest.opcRequestId,
|
|
18717
19064
|
};
|
|
18718
19065
|
|
|
18719
19066
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
18720
19067
|
const retrier = GenericRetrier.createPreferredRetrier(
|
|
18721
19068
|
this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
18722
|
-
|
|
19069
|
+
uploadAndExtractVolumeZipRequest.retryConfiguration,
|
|
18723
19070
|
specRetryConfiguration
|
|
18724
19071
|
);
|
|
18725
19072
|
if (this.logger) retrier.logger = this.logger;
|
|
18726
19073
|
const request = await composeRequest({
|
|
18727
19074
|
baseEndpoint: this._endpoint,
|
|
18728
19075
|
defaultHeaders: this._defaultHeaders,
|
|
18729
|
-
path: '/aiDataPlatforms/{aiDataPlatformId}/volumes/{volumeKey}',
|
|
18730
|
-
method: '
|
|
18731
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
18732
|
-
, model.
|
|
19076
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/volumes/{volumeKey}/actions/uploadAndExtractZip',
|
|
19077
|
+
method: 'POST',
|
|
19078
|
+
bodyContent: common.ObjectSerializer.serialize(uploadAndExtractVolumeZipRequest.uploadAndExtractZipDetails, "UploadAndExtractZipDetails"
|
|
19079
|
+
, model.UploadAndExtractZipDetails.getJsonObj)
|
|
18733
19080
|
,
|
|
18734
19081
|
pathParams: pathParams,
|
|
18735
19082
|
headerParams: headerParams,
|
|
@@ -18738,15 +19085,15 @@ export class VolumeClient {
|
|
|
18738
19085
|
try {
|
|
18739
19086
|
const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
18740
19087
|
const sdkResponse = composeResponse({
|
|
18741
|
-
responseObject: <responses.
|
|
19088
|
+
responseObject: <responses.UploadAndExtractVolumeZipResponse>{},
|
|
18742
19089
|
body: await response.json(),
|
|
18743
|
-
bodyKey: "
|
|
18744
|
-
bodyModel: model.
|
|
18745
|
-
type: "model.
|
|
19090
|
+
bodyKey: "uploadAndExtractZipResult",
|
|
19091
|
+
bodyModel: model.UploadAndExtractZipResult,
|
|
19092
|
+
type: "model.UploadAndExtractZipResult",
|
|
18746
19093
|
responseHeaders: [
|
|
18747
19094
|
{
|
|
18748
|
-
value: response.headers.get("
|
|
18749
|
-
key: "
|
|
19095
|
+
value: response.headers.get("aidp-async-operation-key"),
|
|
19096
|
+
key: "aidpAsyncOperationKey",
|
|
18750
19097
|
dataType: "string"
|
|
18751
19098
|
},
|
|
18752
19099
|
{
|
|
@@ -18754,11 +19101,6 @@ export class VolumeClient {
|
|
|
18754
19101
|
key: "opcRequestId",
|
|
18755
19102
|
dataType: "string"
|
|
18756
19103
|
},
|
|
18757
|
-
{
|
|
18758
|
-
value: response.headers.get("etag"),
|
|
18759
|
-
key: "etag",
|
|
18760
|
-
dataType: "string"
|
|
18761
|
-
},
|
|
18762
19104
|
]
|
|
18763
19105
|
});
|
|
18764
19106
|
|
|
@@ -18939,6 +19281,80 @@ export class VolumeClient {
|
|
|
18939
19281
|
}
|
|
18940
19282
|
}
|
|
18941
19283
|
|
|
19284
|
+
/**
|
|
19285
|
+
* Starts asynchronous creation of a ZIP archive for a volume folder. The response includes a PAR URL for downloading the archive after the operation succeeds.
|
|
19286
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
19287
|
+
* @param ZipAndDownloadVolumeFolderRequest
|
|
19288
|
+
* @return ZipAndDownloadVolumeFolderResponse
|
|
19289
|
+
* @throws OciError when an error occurs
|
|
19290
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ZipAndDownloadVolumeFolder.ts.html |here} to see how to use ZipAndDownloadVolumeFolder API.
|
|
19291
|
+
*/
|
|
19292
|
+
public async zipAndDownloadVolumeFolder (zipAndDownloadVolumeFolderRequest: requests.ZipAndDownloadVolumeFolderRequest) : Promise<responses.ZipAndDownloadVolumeFolderResponse> {
|
|
19293
|
+
if (this.logger)
|
|
19294
|
+
this.logger.debug("Calling operation VolumeClient#zipAndDownloadVolumeFolder.");
|
|
19295
|
+
const operationName = "zipAndDownloadVolumeFolder";
|
|
19296
|
+
const apiReferenceLink = "";
|
|
19297
|
+
const pathParams = {
|
|
19298
|
+
"{aiDataPlatformId}": zipAndDownloadVolumeFolderRequest.aiDataPlatformId,
|
|
19299
|
+
"{volumeKey}": zipAndDownloadVolumeFolderRequest.volumeKey,
|
|
19300
|
+
};
|
|
19301
|
+
|
|
19302
|
+
const queryParams = {
|
|
19303
|
+
};
|
|
19304
|
+
|
|
19305
|
+
let headerParams = {
|
|
19306
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
19307
|
+
'opc-retry-token': zipAndDownloadVolumeFolderRequest.opcRetryToken,'opc-request-id': zipAndDownloadVolumeFolderRequest.opcRequestId,
|
|
19308
|
+
};
|
|
19309
|
+
|
|
19310
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
19311
|
+
const retrier = GenericRetrier.createPreferredRetrier(
|
|
19312
|
+
this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
19313
|
+
zipAndDownloadVolumeFolderRequest.retryConfiguration,
|
|
19314
|
+
specRetryConfiguration
|
|
19315
|
+
);
|
|
19316
|
+
if (this.logger) retrier.logger = this.logger;
|
|
19317
|
+
const request = await composeRequest({
|
|
19318
|
+
baseEndpoint: this._endpoint,
|
|
19319
|
+
defaultHeaders: this._defaultHeaders,
|
|
19320
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/volumes/{volumeKey}/actions/zipAndDownloadFolder',
|
|
19321
|
+
method: 'POST',
|
|
19322
|
+
bodyContent: common.ObjectSerializer.serialize(zipAndDownloadVolumeFolderRequest.zipAndDownloadFolderDetails, "ZipAndDownloadFolderDetails"
|
|
19323
|
+
, model.ZipAndDownloadFolderDetails.getJsonObj)
|
|
19324
|
+
,
|
|
19325
|
+
pathParams: pathParams,
|
|
19326
|
+
headerParams: headerParams,
|
|
19327
|
+
queryParams: queryParams
|
|
19328
|
+
});
|
|
19329
|
+
try {
|
|
19330
|
+
const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
19331
|
+
const sdkResponse = composeResponse({
|
|
19332
|
+
responseObject: <responses.ZipAndDownloadVolumeFolderResponse>{},
|
|
19333
|
+
body: await response.json(),
|
|
19334
|
+
bodyKey: "zipAndDownloadFolderResult",
|
|
19335
|
+
bodyModel: model.ZipAndDownloadFolderResult,
|
|
19336
|
+
type: "model.ZipAndDownloadFolderResult",
|
|
19337
|
+
responseHeaders: [
|
|
19338
|
+
{
|
|
19339
|
+
value: response.headers.get("aidp-async-operation-key"),
|
|
19340
|
+
key: "aidpAsyncOperationKey",
|
|
19341
|
+
dataType: "string"
|
|
19342
|
+
},
|
|
19343
|
+
{
|
|
19344
|
+
value: response.headers.get("opc-request-id"),
|
|
19345
|
+
key: "opcRequestId",
|
|
19346
|
+
dataType: "string"
|
|
19347
|
+
},
|
|
19348
|
+
]
|
|
19349
|
+
});
|
|
19350
|
+
|
|
19351
|
+
return sdkResponse;
|
|
19352
|
+
}
|
|
19353
|
+
catch (err) {
|
|
19354
|
+
throw err;
|
|
19355
|
+
}
|
|
19356
|
+
}
|
|
19357
|
+
|
|
18942
19358
|
}
|
|
18943
19359
|
export enum WorkflowApiKeys {
|
|
18944
19360
|
}
|
|
@@ -19884,6 +20300,7 @@ export class WorkflowClient {
|
|
|
19884
20300
|
};
|
|
19885
20301
|
|
|
19886
20302
|
const queryParams = {
|
|
20303
|
+
'shouldIncludeTaskRunRetries': getTaskRunRequest.shouldIncludeTaskRunRetries,
|
|
19887
20304
|
};
|
|
19888
20305
|
|
|
19889
20306
|
let headerParams = {
|
|
@@ -20265,6 +20682,89 @@ export class WorkflowClient {
|
|
|
20265
20682
|
}
|
|
20266
20683
|
}
|
|
20267
20684
|
|
|
20685
|
+
/**
|
|
20686
|
+
* Returns detailed information about retries of a task run with a given task run key.
|
|
20687
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
20688
|
+
* @param ListTaskRunRetriesRequest
|
|
20689
|
+
* @return ListTaskRunRetriesResponse
|
|
20690
|
+
* @throws OciError when an error occurs
|
|
20691
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ListTaskRunRetries.ts.html |here} to see how to use ListTaskRunRetries API.
|
|
20692
|
+
*/
|
|
20693
|
+
public async listTaskRunRetries (listTaskRunRetriesRequest: requests.ListTaskRunRetriesRequest) : Promise<responses.ListTaskRunRetriesResponse> {
|
|
20694
|
+
if (this.logger)
|
|
20695
|
+
this.logger.debug("Calling operation WorkflowClient#listTaskRunRetries.");
|
|
20696
|
+
const operationName = "listTaskRunRetries";
|
|
20697
|
+
const apiReferenceLink = "";
|
|
20698
|
+
const pathParams = {
|
|
20699
|
+
"{aiDataPlatformId}": listTaskRunRetriesRequest.aiDataPlatformId,
|
|
20700
|
+
"{workspaceKey}": listTaskRunRetriesRequest.workspaceKey,
|
|
20701
|
+
"{taskRunKey}": listTaskRunRetriesRequest.taskRunKey,
|
|
20702
|
+
};
|
|
20703
|
+
|
|
20704
|
+
const queryParams = {
|
|
20705
|
+
'displayName': listTaskRunRetriesRequest.displayName,
|
|
20706
|
+
'status': listTaskRunRetriesRequest.status,
|
|
20707
|
+
'limit': listTaskRunRetriesRequest.limit,
|
|
20708
|
+
'page': listTaskRunRetriesRequest.page,
|
|
20709
|
+
'sortOrder': listTaskRunRetriesRequest.sortOrder,
|
|
20710
|
+
'sortBy': listTaskRunRetriesRequest.sortBy,
|
|
20711
|
+
};
|
|
20712
|
+
|
|
20713
|
+
let headerParams = {
|
|
20714
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
20715
|
+
'opc-request-id': listTaskRunRetriesRequest.opcRequestId,
|
|
20716
|
+
};
|
|
20717
|
+
|
|
20718
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
20719
|
+
const retrier = GenericRetrier.createPreferredRetrier(
|
|
20720
|
+
this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
20721
|
+
listTaskRunRetriesRequest.retryConfiguration,
|
|
20722
|
+
specRetryConfiguration
|
|
20723
|
+
);
|
|
20724
|
+
if (this.logger) retrier.logger = this.logger;
|
|
20725
|
+
const request = await composeRequest({
|
|
20726
|
+
baseEndpoint: this._endpoint,
|
|
20727
|
+
defaultHeaders: this._defaultHeaders,
|
|
20728
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/taskRuns/{taskRunKey}/retries',
|
|
20729
|
+
method: 'GET',
|
|
20730
|
+
pathParams: pathParams,
|
|
20731
|
+
headerParams: headerParams,
|
|
20732
|
+
queryParams: queryParams
|
|
20733
|
+
});
|
|
20734
|
+
try {
|
|
20735
|
+
const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
20736
|
+
const sdkResponse = composeResponse({
|
|
20737
|
+
responseObject: <responses.ListTaskRunRetriesResponse>{},
|
|
20738
|
+
body: await response.json(),
|
|
20739
|
+
bodyKey: "taskRunRetryCollection",
|
|
20740
|
+
bodyModel: model.TaskRunRetryCollection,
|
|
20741
|
+
type: "model.TaskRunRetryCollection",
|
|
20742
|
+
responseHeaders: [
|
|
20743
|
+
{
|
|
20744
|
+
value: response.headers.get("opc-request-id"),
|
|
20745
|
+
key: "opcRequestId",
|
|
20746
|
+
dataType: "string"
|
|
20747
|
+
},
|
|
20748
|
+
{
|
|
20749
|
+
value: response.headers.get("opc-next-page"),
|
|
20750
|
+
key: "opcNextPage",
|
|
20751
|
+
dataType: "string"
|
|
20752
|
+
},
|
|
20753
|
+
{
|
|
20754
|
+
value: response.headers.get("opc-prev-page"),
|
|
20755
|
+
key: "opcPrevPage",
|
|
20756
|
+
dataType: "string"
|
|
20757
|
+
},
|
|
20758
|
+
]
|
|
20759
|
+
});
|
|
20760
|
+
|
|
20761
|
+
return sdkResponse;
|
|
20762
|
+
}
|
|
20763
|
+
catch (err) {
|
|
20764
|
+
throw err;
|
|
20765
|
+
}
|
|
20766
|
+
}
|
|
20767
|
+
|
|
20268
20768
|
/**
|
|
20269
20769
|
* Returns a list of task runs.
|
|
20270
20770
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
@@ -22759,6 +23259,81 @@ export class WorkspaceObjectClient {
|
|
|
22759
23259
|
}
|
|
22760
23260
|
}
|
|
22761
23261
|
|
|
23262
|
+
/**
|
|
23263
|
+
* Creates or updates an asynchronous workspace ZIP upload and extraction operation. CREATE returns a PAR URL for uploading the ZIP bytes and an async operation key. UPDATE records the uploaded ZIP metadata so extraction can continue.
|
|
23264
|
+
*
|
|
23265
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
23266
|
+
* @param UploadAndExtractWorkspaceZipRequest
|
|
23267
|
+
* @return UploadAndExtractWorkspaceZipResponse
|
|
23268
|
+
* @throws OciError when an error occurs
|
|
23269
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/UploadAndExtractWorkspaceZip.ts.html |here} to see how to use UploadAndExtractWorkspaceZip API.
|
|
23270
|
+
*/
|
|
23271
|
+
public async uploadAndExtractWorkspaceZip (uploadAndExtractWorkspaceZipRequest: requests.UploadAndExtractWorkspaceZipRequest) : Promise<responses.UploadAndExtractWorkspaceZipResponse> {
|
|
23272
|
+
if (this.logger)
|
|
23273
|
+
this.logger.debug("Calling operation WorkspaceObjectClient#uploadAndExtractWorkspaceZip.");
|
|
23274
|
+
const operationName = "uploadAndExtractWorkspaceZip";
|
|
23275
|
+
const apiReferenceLink = "";
|
|
23276
|
+
const pathParams = {
|
|
23277
|
+
"{aiDataPlatformId}": uploadAndExtractWorkspaceZipRequest.aiDataPlatformId,
|
|
23278
|
+
"{workspaceKey}": uploadAndExtractWorkspaceZipRequest.workspaceKey,
|
|
23279
|
+
};
|
|
23280
|
+
|
|
23281
|
+
const queryParams = {
|
|
23282
|
+
};
|
|
23283
|
+
|
|
23284
|
+
let headerParams = {
|
|
23285
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
23286
|
+
'opc-retry-token': uploadAndExtractWorkspaceZipRequest.opcRetryToken,'opc-request-id': uploadAndExtractWorkspaceZipRequest.opcRequestId,
|
|
23287
|
+
};
|
|
23288
|
+
|
|
23289
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
23290
|
+
const retrier = GenericRetrier.createPreferredRetrier(
|
|
23291
|
+
this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
23292
|
+
uploadAndExtractWorkspaceZipRequest.retryConfiguration,
|
|
23293
|
+
specRetryConfiguration
|
|
23294
|
+
);
|
|
23295
|
+
if (this.logger) retrier.logger = this.logger;
|
|
23296
|
+
const request = await composeRequest({
|
|
23297
|
+
baseEndpoint: this._endpoint,
|
|
23298
|
+
defaultHeaders: this._defaultHeaders,
|
|
23299
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/actions/uploadAndExtractZip',
|
|
23300
|
+
method: 'POST',
|
|
23301
|
+
bodyContent: common.ObjectSerializer.serialize(uploadAndExtractWorkspaceZipRequest.uploadAndExtractZipDetails, "UploadAndExtractZipDetails"
|
|
23302
|
+
, model.UploadAndExtractZipDetails.getJsonObj)
|
|
23303
|
+
,
|
|
23304
|
+
pathParams: pathParams,
|
|
23305
|
+
headerParams: headerParams,
|
|
23306
|
+
queryParams: queryParams
|
|
23307
|
+
});
|
|
23308
|
+
try {
|
|
23309
|
+
const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
23310
|
+
const sdkResponse = composeResponse({
|
|
23311
|
+
responseObject: <responses.UploadAndExtractWorkspaceZipResponse>{},
|
|
23312
|
+
body: await response.json(),
|
|
23313
|
+
bodyKey: "uploadAndExtractZipResult",
|
|
23314
|
+
bodyModel: model.UploadAndExtractZipResult,
|
|
23315
|
+
type: "model.UploadAndExtractZipResult",
|
|
23316
|
+
responseHeaders: [
|
|
23317
|
+
{
|
|
23318
|
+
value: response.headers.get("aidp-async-operation-key"),
|
|
23319
|
+
key: "aidpAsyncOperationKey",
|
|
23320
|
+
dataType: "string"
|
|
23321
|
+
},
|
|
23322
|
+
{
|
|
23323
|
+
value: response.headers.get("opc-request-id"),
|
|
23324
|
+
key: "opcRequestId",
|
|
23325
|
+
dataType: "string"
|
|
23326
|
+
},
|
|
23327
|
+
]
|
|
23328
|
+
});
|
|
23329
|
+
|
|
23330
|
+
return sdkResponse;
|
|
23331
|
+
}
|
|
23332
|
+
catch (err) {
|
|
23333
|
+
throw err;
|
|
23334
|
+
}
|
|
23335
|
+
}
|
|
23336
|
+
|
|
22762
23337
|
/**
|
|
22763
23338
|
* Creates a workspace file by generating PAR or updates the metadata by close file. If file exists, then it will be updated.
|
|
22764
23339
|
*
|
|
@@ -22858,4 +23433,78 @@ export class WorkspaceObjectClient {
|
|
|
22858
23433
|
}
|
|
22859
23434
|
}
|
|
22860
23435
|
|
|
23436
|
+
/**
|
|
23437
|
+
* Starts asynchronous creation of a ZIP archive for a workspace folder. The response includes a PAR URL for downloading the archive after the operation succeeds.
|
|
23438
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
23439
|
+
* @param ZipAndDownloadWorkspaceFolderRequest
|
|
23440
|
+
* @return ZipAndDownloadWorkspaceFolderResponse
|
|
23441
|
+
* @throws OciError when an error occurs
|
|
23442
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ZipAndDownloadWorkspaceFolder.ts.html |here} to see how to use ZipAndDownloadWorkspaceFolder API.
|
|
23443
|
+
*/
|
|
23444
|
+
public async zipAndDownloadWorkspaceFolder (zipAndDownloadWorkspaceFolderRequest: requests.ZipAndDownloadWorkspaceFolderRequest) : Promise<responses.ZipAndDownloadWorkspaceFolderResponse> {
|
|
23445
|
+
if (this.logger)
|
|
23446
|
+
this.logger.debug("Calling operation WorkspaceObjectClient#zipAndDownloadWorkspaceFolder.");
|
|
23447
|
+
const operationName = "zipAndDownloadWorkspaceFolder";
|
|
23448
|
+
const apiReferenceLink = "";
|
|
23449
|
+
const pathParams = {
|
|
23450
|
+
"{aiDataPlatformId}": zipAndDownloadWorkspaceFolderRequest.aiDataPlatformId,
|
|
23451
|
+
"{workspaceKey}": zipAndDownloadWorkspaceFolderRequest.workspaceKey,
|
|
23452
|
+
};
|
|
23453
|
+
|
|
23454
|
+
const queryParams = {
|
|
23455
|
+
};
|
|
23456
|
+
|
|
23457
|
+
let headerParams = {
|
|
23458
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
23459
|
+
'opc-retry-token': zipAndDownloadWorkspaceFolderRequest.opcRetryToken,'opc-request-id': zipAndDownloadWorkspaceFolderRequest.opcRequestId,
|
|
23460
|
+
};
|
|
23461
|
+
|
|
23462
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
23463
|
+
const retrier = GenericRetrier.createPreferredRetrier(
|
|
23464
|
+
this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
23465
|
+
zipAndDownloadWorkspaceFolderRequest.retryConfiguration,
|
|
23466
|
+
specRetryConfiguration
|
|
23467
|
+
);
|
|
23468
|
+
if (this.logger) retrier.logger = this.logger;
|
|
23469
|
+
const request = await composeRequest({
|
|
23470
|
+
baseEndpoint: this._endpoint,
|
|
23471
|
+
defaultHeaders: this._defaultHeaders,
|
|
23472
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/actions/zipAndDownloadFolder',
|
|
23473
|
+
method: 'POST',
|
|
23474
|
+
bodyContent: common.ObjectSerializer.serialize(zipAndDownloadWorkspaceFolderRequest.zipAndDownloadFolderDetails, "ZipAndDownloadFolderDetails"
|
|
23475
|
+
, model.ZipAndDownloadFolderDetails.getJsonObj)
|
|
23476
|
+
,
|
|
23477
|
+
pathParams: pathParams,
|
|
23478
|
+
headerParams: headerParams,
|
|
23479
|
+
queryParams: queryParams
|
|
23480
|
+
});
|
|
23481
|
+
try {
|
|
23482
|
+
const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
23483
|
+
const sdkResponse = composeResponse({
|
|
23484
|
+
responseObject: <responses.ZipAndDownloadWorkspaceFolderResponse>{},
|
|
23485
|
+
body: await response.json(),
|
|
23486
|
+
bodyKey: "zipAndDownloadFolderResult",
|
|
23487
|
+
bodyModel: model.ZipAndDownloadFolderResult,
|
|
23488
|
+
type: "model.ZipAndDownloadFolderResult",
|
|
23489
|
+
responseHeaders: [
|
|
23490
|
+
{
|
|
23491
|
+
value: response.headers.get("aidp-async-operation-key"),
|
|
23492
|
+
key: "aidpAsyncOperationKey",
|
|
23493
|
+
dataType: "string"
|
|
23494
|
+
},
|
|
23495
|
+
{
|
|
23496
|
+
value: response.headers.get("opc-request-id"),
|
|
23497
|
+
key: "opcRequestId",
|
|
23498
|
+
dataType: "string"
|
|
23499
|
+
},
|
|
23500
|
+
]
|
|
23501
|
+
});
|
|
23502
|
+
|
|
23503
|
+
return sdkResponse;
|
|
23504
|
+
}
|
|
23505
|
+
catch (err) {
|
|
23506
|
+
throw err;
|
|
23507
|
+
}
|
|
23508
|
+
}
|
|
23509
|
+
|
|
22861
23510
|
}
|