oci-datascience 2.50.1 → 2.50.3
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/index.d.ts +1 -1
- package/index.js +1 -1
- package/lib/client.d.ts +360 -64
- package/lib/client.js +2155 -587
- package/lib/client.js.map +1 -1
- package/lib/datascience-waiter.d.ts +25 -1
- package/lib/datascience-waiter.js +37 -1
- package/lib/datascience-waiter.js.map +1 -1
- package/lib/model/artifact-export-details-object-storage.d.ts +1 -1
- package/lib/model/artifact-export-details-object-storage.js +1 -1
- package/lib/model/artifact-export-details.d.ts +1 -1
- package/lib/model/artifact-export-details.js +1 -1
- package/lib/model/artifact-import-details-object-storage.d.ts +1 -1
- package/lib/model/artifact-import-details-object-storage.js +1 -1
- package/lib/model/artifact-import-details.d.ts +1 -1
- package/lib/model/artifact-import-details.js +1 -1
- package/lib/model/artifact-source-type.d.ts +1 -1
- package/lib/model/artifact-source-type.js +1 -1
- package/lib/model/category-log-details.d.ts +1 -1
- package/lib/model/category-log-details.js +1 -1
- package/lib/model/change-job-compartment-details.d.ts +1 -1
- package/lib/model/change-job-compartment-details.js +1 -1
- package/lib/model/change-job-run-compartment-details.d.ts +1 -1
- package/lib/model/change-job-run-compartment-details.js +1 -1
- package/lib/model/change-model-compartment-details.d.ts +1 -1
- package/lib/model/change-model-compartment-details.js +1 -1
- package/lib/model/change-model-deployment-compartment-details.d.ts +1 -1
- package/lib/model/change-model-deployment-compartment-details.js +1 -1
- package/lib/model/change-model-version-set-compartment-details.d.ts +28 -0
- package/lib/model/change-model-version-set-compartment-details.js +30 -0
- package/lib/model/change-model-version-set-compartment-details.js.map +1 -0
- package/lib/model/change-notebook-session-compartment-details.d.ts +1 -1
- package/lib/model/change-notebook-session-compartment-details.js +1 -1
- package/lib/model/change-pipeline-compartment-details.d.ts +27 -0
- package/lib/model/change-pipeline-compartment-details.js +30 -0
- package/lib/model/change-pipeline-compartment-details.js.map +1 -0
- package/lib/model/change-pipeline-run-compartment-details.d.ts +27 -0
- package/lib/model/change-pipeline-run-compartment-details.js +30 -0
- package/lib/model/change-pipeline-run-compartment-details.js.map +1 -0
- package/lib/model/change-project-compartment-details.d.ts +1 -1
- package/lib/model/change-project-compartment-details.js +1 -1
- package/lib/model/create-job-details.d.ts +1 -1
- package/lib/model/create-job-details.js +1 -1
- package/lib/model/create-job-run-details.d.ts +1 -1
- package/lib/model/create-job-run-details.js +1 -1
- package/lib/model/create-model-deployment-details.d.ts +1 -1
- package/lib/model/create-model-deployment-details.js +1 -1
- package/lib/model/create-model-details.d.ts +9 -1
- package/lib/model/create-model-details.js +1 -1
- package/lib/model/create-model-details.js.map +1 -1
- package/lib/model/create-model-provenance-details.d.ts +1 -1
- package/lib/model/create-model-provenance-details.js +1 -1
- package/lib/model/create-model-version-set-details.d.ts +58 -0
- package/lib/model/create-model-version-set-details.js +30 -0
- package/lib/model/create-model-version-set-details.js.map +1 -0
- package/lib/model/create-notebook-session-details.d.ts +1 -1
- package/lib/model/create-notebook-session-details.js +1 -1
- package/lib/model/create-pipeline-details.d.ts +64 -0
- package/lib/model/create-pipeline-details.js +80 -0
- package/lib/model/create-pipeline-details.js.map +1 -0
- package/lib/model/create-pipeline-run-details.d.ts +73 -0
- package/lib/model/create-pipeline-run-details.js +74 -0
- package/lib/model/create-pipeline-run-details.js.map +1 -0
- package/lib/model/create-project-details.d.ts +1 -1
- package/lib/model/create-project-details.js +1 -1
- package/lib/model/default-job-configuration-details.d.ts +1 -1
- package/lib/model/default-job-configuration-details.js +1 -1
- package/lib/model/export-model-artifact-details.d.ts +1 -1
- package/lib/model/export-model-artifact-details.js +1 -1
- package/lib/model/fast-launch-job-config-summary.d.ts +1 -1
- package/lib/model/fast-launch-job-config-summary.js +1 -1
- package/lib/model/fixed-size-scaling-policy.d.ts +1 -1
- package/lib/model/fixed-size-scaling-policy.js +1 -1
- package/lib/model/import-model-artifact-details.d.ts +1 -1
- package/lib/model/import-model-artifact-details.js +1 -1
- package/lib/model/index.d.ts +71 -1
- package/lib/model/index.js +74 -3
- package/lib/model/index.js.map +1 -1
- package/lib/model/instance-configuration.d.ts +1 -1
- package/lib/model/instance-configuration.js +1 -1
- package/lib/model/job-configuration-details.d.ts +1 -1
- package/lib/model/job-configuration-details.js +1 -1
- package/lib/model/job-infrastructure-configuration-details.d.ts +1 -1
- package/lib/model/job-infrastructure-configuration-details.js +1 -1
- package/lib/model/job-lifecycle-state.d.ts +1 -1
- package/lib/model/job-lifecycle-state.js +1 -1
- package/lib/model/job-log-configuration-details.d.ts +1 -1
- package/lib/model/job-log-configuration-details.js +1 -1
- package/lib/model/job-run-lifecycle-state.d.ts +1 -1
- package/lib/model/job-run-lifecycle-state.js +1 -1
- package/lib/model/job-run-log-details.d.ts +1 -1
- package/lib/model/job-run-log-details.js +1 -1
- package/lib/model/job-run-summary.d.ts +1 -1
- package/lib/model/job-run-summary.js +1 -1
- package/lib/model/job-run.d.ts +1 -1
- package/lib/model/job-run.js +1 -1
- package/lib/model/job-shape-config-details.d.ts +1 -1
- package/lib/model/job-shape-config-details.js +1 -1
- package/lib/model/job-shape-summary.d.ts +1 -1
- package/lib/model/job-shape-summary.js +1 -1
- package/lib/model/job-summary.d.ts +1 -1
- package/lib/model/job-summary.js +1 -1
- package/lib/model/job.d.ts +1 -1
- package/lib/model/job.js +1 -1
- package/lib/model/log-details.d.ts +1 -1
- package/lib/model/log-details.js +1 -1
- package/lib/model/managed-egress-standalone-job-infrastructure-configuration-details.d.ts +1 -1
- package/lib/model/managed-egress-standalone-job-infrastructure-configuration-details.js +1 -1
- package/lib/model/metadata.d.ts +1 -1
- package/lib/model/metadata.js +1 -1
- package/lib/model/model-configuration-details.d.ts +1 -1
- package/lib/model/model-configuration-details.js +1 -1
- package/lib/model/model-deployment-configuration-details.d.ts +1 -1
- package/lib/model/model-deployment-configuration-details.js +1 -1
- package/lib/model/model-deployment-instance-shape-config-details.d.ts +1 -1
- package/lib/model/model-deployment-instance-shape-config-details.js +1 -1
- package/lib/model/model-deployment-lifecycle-state.d.ts +1 -1
- package/lib/model/model-deployment-lifecycle-state.js +1 -1
- package/lib/model/model-deployment-shape-series.d.ts +1 -1
- package/lib/model/model-deployment-shape-series.js +1 -1
- package/lib/model/model-deployment-shape-summary.d.ts +1 -1
- package/lib/model/model-deployment-shape-summary.js +1 -1
- package/lib/model/model-deployment-summary.d.ts +1 -1
- package/lib/model/model-deployment-summary.js +1 -1
- package/lib/model/model-deployment-type.d.ts +1 -1
- package/lib/model/model-deployment-type.js +1 -1
- package/lib/model/model-deployment.d.ts +1 -1
- package/lib/model/model-deployment.js +1 -1
- package/lib/model/model-lifecycle-state.d.ts +1 -1
- package/lib/model/model-lifecycle-state.js +1 -1
- package/lib/model/model-provenance.d.ts +1 -1
- package/lib/model/model-provenance.js +1 -1
- package/lib/model/model-summary.d.ts +17 -1
- package/lib/model/model-summary.js +1 -1
- package/lib/model/model-summary.js.map +1 -1
- package/lib/model/model-version-set-lifecycle-state.d.ts +31 -0
- package/lib/model/model-version-set-lifecycle-state.js +42 -0
- package/lib/model/model-version-set-lifecycle-state.js.map +1 -0
- package/lib/model/model-version-set-summary.d.ts +77 -0
- package/lib/model/model-version-set-summary.js +30 -0
- package/lib/model/model-version-set-summary.js.map +1 -0
- package/lib/model/model-version-set.d.ts +81 -0
- package/lib/model/model-version-set.js +30 -0
- package/lib/model/model-version-set.js.map +1 -0
- package/lib/model/model.d.ts +17 -1
- package/lib/model/model.js +1 -1
- package/lib/model/model.js.map +1 -1
- package/lib/model/notebook-session-config-details.d.ts +1 -1
- package/lib/model/notebook-session-config-details.js +1 -1
- package/lib/model/notebook-session-configuration-details.d.ts +1 -1
- package/lib/model/notebook-session-configuration-details.js +1 -1
- package/lib/model/notebook-session-git-config-details.d.ts +1 -1
- package/lib/model/notebook-session-git-config-details.js +1 -1
- package/lib/model/notebook-session-git-repo-config-details.d.ts +1 -1
- package/lib/model/notebook-session-git-repo-config-details.js +1 -1
- package/lib/model/notebook-session-lifecycle-state.d.ts +1 -1
- package/lib/model/notebook-session-lifecycle-state.js +1 -1
- package/lib/model/notebook-session-runtime-config-details.d.ts +1 -1
- package/lib/model/notebook-session-runtime-config-details.js +1 -1
- package/lib/model/notebook-session-shape-config-details.d.ts +1 -1
- package/lib/model/notebook-session-shape-config-details.js +1 -1
- package/lib/model/notebook-session-shape-series.d.ts +1 -1
- package/lib/model/notebook-session-shape-series.js +1 -1
- package/lib/model/notebook-session-shape-summary.d.ts +1 -1
- package/lib/model/notebook-session-shape-summary.js +1 -1
- package/lib/model/notebook-session-summary.d.ts +1 -1
- package/lib/model/notebook-session-summary.js +1 -1
- package/lib/model/notebook-session.d.ts +1 -1
- package/lib/model/notebook-session.js +1 -1
- package/lib/model/pipeline-configuration-details.d.ts +23 -0
- package/lib/model/pipeline-configuration-details.js +69 -0
- package/lib/model/pipeline-configuration-details.js.map +1 -0
- package/lib/model/pipeline-custom-script-step-details.d.ts +30 -0
- package/lib/model/pipeline-custom-script-step-details.js +63 -0
- package/lib/model/pipeline-custom-script-step-details.js.map +1 -0
- package/lib/model/pipeline-custom-script-step-run.d.ts +25 -0
- package/lib/model/pipeline-custom-script-step-run.js +55 -0
- package/lib/model/pipeline-custom-script-step-run.js.map +1 -0
- package/lib/model/pipeline-custom-script-step-update-details.d.ts +25 -0
- package/lib/model/pipeline-custom-script-step-update-details.js +55 -0
- package/lib/model/pipeline-custom-script-step-update-details.js.map +1 -0
- package/lib/model/pipeline-default-configuration-details.d.ts +40 -0
- package/lib/model/pipeline-default-configuration-details.js +55 -0
- package/lib/model/pipeline-default-configuration-details.js.map +1 -0
- package/lib/model/pipeline-infrastructure-configuration-details.d.ts +33 -0
- package/lib/model/pipeline-infrastructure-configuration-details.js +58 -0
- package/lib/model/pipeline-infrastructure-configuration-details.js.map +1 -0
- package/lib/model/pipeline-lifecycle-state.d.ts +32 -0
- package/lib/model/pipeline-lifecycle-state.js +43 -0
- package/lib/model/pipeline-lifecycle-state.js.map +1 -0
- package/lib/model/pipeline-log-configuration-details.d.ts +38 -0
- package/lib/model/pipeline-log-configuration-details.js +30 -0
- package/lib/model/pipeline-log-configuration-details.js.map +1 -0
- package/lib/model/pipeline-ml-job-step-details.d.ts +29 -0
- package/lib/model/pipeline-ml-job-step-details.js +55 -0
- package/lib/model/pipeline-ml-job-step-details.js.map +1 -0
- package/lib/model/pipeline-ml-job-step-run.d.ts +29 -0
- package/lib/model/pipeline-ml-job-step-run.js +53 -0
- package/lib/model/pipeline-ml-job-step-run.js.map +1 -0
- package/lib/model/pipeline-ml-job-step-update-details.d.ts +25 -0
- package/lib/model/pipeline-ml-job-step-update-details.js +55 -0
- package/lib/model/pipeline-ml-job-step-update-details.js.map +1 -0
- package/lib/model/pipeline-run-lifecycle-state.d.ts +35 -0
- package/lib/model/pipeline-run-lifecycle-state.js +46 -0
- package/lib/model/pipeline-run-lifecycle-state.js.map +1 -0
- package/lib/model/pipeline-run-log-details.d.ts +30 -0
- package/lib/model/pipeline-run-log-details.js +30 -0
- package/lib/model/pipeline-run-log-details.js.map +1 -0
- package/lib/model/pipeline-run-summary.d.ts +99 -0
- package/lib/model/pipeline-run-summary.js +30 -0
- package/lib/model/pipeline-run-summary.js.map +1 -0
- package/lib/model/pipeline-run.d.ts +111 -0
- package/lib/model/pipeline-run.js +96 -0
- package/lib/model/pipeline-run.js.map +1 -0
- package/lib/model/pipeline-shape-config-details.d.ts +32 -0
- package/lib/model/pipeline-shape-config-details.js +30 -0
- package/lib/model/pipeline-shape-config-details.js.map +1 -0
- package/lib/model/pipeline-step-configuration-details.d.ts +36 -0
- package/lib/model/pipeline-step-configuration-details.js +30 -0
- package/lib/model/pipeline-step-configuration-details.js.map +1 -0
- package/lib/model/pipeline-step-details.d.ts +37 -0
- package/lib/model/pipeline-step-details.js +81 -0
- package/lib/model/pipeline-step-details.js.map +1 -0
- package/lib/model/pipeline-step-override-details.d.ts +28 -0
- package/lib/model/pipeline-step-override-details.js +58 -0
- package/lib/model/pipeline-step-override-details.js.map +1 -0
- package/lib/model/pipeline-step-run.d.ts +59 -0
- package/lib/model/pipeline-step-run.js +90 -0
- package/lib/model/pipeline-step-run.js.map +1 -0
- package/lib/model/pipeline-step-update-details.d.ts +33 -0
- package/lib/model/pipeline-step-update-details.js +81 -0
- package/lib/model/pipeline-step-update-details.js.map +1 -0
- package/lib/model/pipeline-summary.d.ts +87 -0
- package/lib/model/pipeline-summary.js +30 -0
- package/lib/model/pipeline-summary.js.map +1 -0
- package/lib/model/pipeline.d.ts +102 -0
- package/lib/model/pipeline.js +80 -0
- package/lib/model/pipeline.js.map +1 -0
- package/lib/model/project-lifecycle-state.d.ts +1 -1
- package/lib/model/project-lifecycle-state.js +1 -1
- package/lib/model/project-summary.d.ts +1 -1
- package/lib/model/project-summary.js +1 -1
- package/lib/model/project.d.ts +1 -1
- package/lib/model/project.js +1 -1
- package/lib/model/scaling-policy.d.ts +1 -1
- package/lib/model/scaling-policy.js +1 -1
- package/lib/model/single-model-deployment-configuration-details.d.ts +1 -1
- package/lib/model/single-model-deployment-configuration-details.js +1 -1
- package/lib/model/standalone-job-infrastructure-configuration-details.d.ts +1 -1
- package/lib/model/standalone-job-infrastructure-configuration-details.js +1 -1
- package/lib/model/update-category-log-details.d.ts +1 -1
- package/lib/model/update-category-log-details.js +1 -1
- package/lib/model/update-job-details.d.ts +1 -1
- package/lib/model/update-job-details.js +1 -1
- package/lib/model/update-job-run-details.d.ts +1 -1
- package/lib/model/update-job-run-details.js +1 -1
- package/lib/model/update-model-configuration-details.d.ts +1 -1
- package/lib/model/update-model-configuration-details.js +1 -1
- package/lib/model/update-model-deployment-configuration-details.d.ts +1 -1
- package/lib/model/update-model-deployment-configuration-details.js +1 -1
- package/lib/model/update-model-deployment-details.d.ts +1 -1
- package/lib/model/update-model-deployment-details.js +1 -1
- package/lib/model/update-model-details.d.ts +9 -1
- package/lib/model/update-model-details.js +1 -1
- package/lib/model/update-model-details.js.map +1 -1
- package/lib/model/update-model-provenance-details.d.ts +1 -1
- package/lib/model/update-model-provenance-details.js +1 -1
- package/lib/model/update-model-version-set-details.d.ts +45 -0
- package/lib/model/update-model-version-set-details.js +30 -0
- package/lib/model/update-model-version-set-details.js.map +1 -0
- package/lib/model/update-notebook-session-details.d.ts +1 -1
- package/lib/model/update-notebook-session-details.js +1 -1
- package/lib/model/update-pipeline-details.d.ts +55 -0
- package/lib/model/update-pipeline-details.js +74 -0
- package/lib/model/update-pipeline-details.js.map +1 -0
- package/lib/model/update-pipeline-run-details.d.ts +44 -0
- package/lib/model/update-pipeline-run-details.js +30 -0
- package/lib/model/update-pipeline-run-details.js.map +1 -0
- package/lib/model/update-project-details.d.ts +1 -1
- package/lib/model/update-project-details.js +1 -1
- package/lib/model/update-single-model-deployment-configuration-details.d.ts +1 -1
- package/lib/model/update-single-model-deployment-configuration-details.js +1 -1
- package/lib/model/work-request-error.d.ts +1 -1
- package/lib/model/work-request-error.js +1 -1
- package/lib/model/work-request-log-entry.d.ts +1 -1
- package/lib/model/work-request-log-entry.js +1 -1
- package/lib/model/work-request-operation-type.d.ts +7 -1
- package/lib/model/work-request-operation-type.js +7 -1
- package/lib/model/work-request-operation-type.js.map +1 -1
- package/lib/model/work-request-resource.d.ts +1 -1
- package/lib/model/work-request-resource.js +1 -1
- package/lib/model/work-request-status.d.ts +1 -1
- package/lib/model/work-request-status.js +1 -1
- package/lib/model/work-request-summary.d.ts +1 -1
- package/lib/model/work-request-summary.js +1 -1
- package/lib/model/work-request.d.ts +1 -1
- package/lib/model/work-request.js +1 -1
- package/lib/request/activate-model-deployment-request.d.ts +2 -2
- package/lib/request/activate-model-deployment-request.js +1 -1
- package/lib/request/activate-model-request.d.ts +2 -2
- package/lib/request/activate-model-request.js +1 -1
- package/lib/request/activate-notebook-session-request.d.ts +2 -2
- package/lib/request/activate-notebook-session-request.js +1 -1
- package/lib/request/cancel-job-run-request.d.ts +2 -2
- package/lib/request/cancel-job-run-request.js +1 -1
- package/lib/request/cancel-pipeline-run-request.d.ts +41 -0
- package/lib/request/cancel-pipeline-run-request.js +15 -0
- package/lib/request/cancel-pipeline-run-request.js.map +1 -0
- package/lib/request/cancel-work-request-request.d.ts +2 -2
- package/lib/request/cancel-work-request-request.js +1 -1
- package/lib/request/change-job-compartment-request.d.ts +2 -2
- package/lib/request/change-job-compartment-request.js +1 -1
- package/lib/request/change-job-run-compartment-request.d.ts +2 -2
- package/lib/request/change-job-run-compartment-request.js +1 -1
- package/lib/request/change-model-compartment-request.d.ts +2 -2
- package/lib/request/change-model-compartment-request.js +1 -1
- package/lib/request/change-model-deployment-compartment-request.d.ts +2 -2
- package/lib/request/change-model-deployment-compartment-request.js +1 -1
- package/lib/request/change-model-version-set-compartment-request.d.ts +46 -0
- package/lib/request/change-model-version-set-compartment-request.js +15 -0
- package/lib/request/change-model-version-set-compartment-request.js.map +1 -0
- package/lib/request/change-notebook-session-compartment-request.d.ts +2 -2
- package/lib/request/change-notebook-session-compartment-request.js +1 -1
- package/lib/request/change-pipeline-compartment-request.d.ts +41 -0
- package/lib/request/change-pipeline-compartment-request.js +15 -0
- package/lib/request/change-pipeline-compartment-request.js.map +1 -0
- package/lib/request/change-pipeline-run-compartment-request.d.ts +41 -0
- package/lib/request/change-pipeline-run-compartment-request.js +15 -0
- package/lib/request/change-pipeline-run-compartment-request.js.map +1 -0
- package/lib/request/change-project-compartment-request.d.ts +2 -2
- package/lib/request/change-project-compartment-request.js +1 -1
- package/lib/request/create-job-artifact-request.d.ts +2 -2
- package/lib/request/create-job-artifact-request.js +1 -1
- package/lib/request/create-job-request.d.ts +2 -2
- package/lib/request/create-job-request.js +1 -1
- package/lib/request/create-job-run-request.d.ts +2 -2
- package/lib/request/create-job-run-request.js +1 -1
- package/lib/request/create-model-artifact-request.d.ts +2 -2
- package/lib/request/create-model-artifact-request.js +1 -1
- package/lib/request/create-model-deployment-request.d.ts +2 -2
- package/lib/request/create-model-deployment-request.js +1 -1
- package/lib/request/create-model-provenance-request.d.ts +2 -2
- package/lib/request/create-model-provenance-request.js +1 -1
- package/lib/request/create-model-request.d.ts +2 -2
- package/lib/request/create-model-request.js +1 -1
- package/lib/request/create-model-version-set-request.d.ts +33 -0
- package/lib/request/create-model-version-set-request.js +15 -0
- package/lib/request/create-model-version-set-request.js.map +1 -0
- package/lib/request/create-notebook-session-request.d.ts +2 -2
- package/lib/request/create-notebook-session-request.js +1 -1
- package/lib/request/create-pipeline-request.d.ts +33 -0
- package/lib/request/create-pipeline-request.js +15 -0
- package/lib/request/create-pipeline-request.js.map +1 -0
- package/lib/request/create-pipeline-run-request.d.ts +33 -0
- package/lib/request/create-pipeline-run-request.js +15 -0
- package/lib/request/create-pipeline-run-request.js.map +1 -0
- package/lib/request/create-project-request.d.ts +2 -2
- package/lib/request/create-project-request.js +1 -1
- package/lib/request/create-step-artifact-request.d.ts +57 -0
- package/lib/request/create-step-artifact-request.js +15 -0
- package/lib/request/create-step-artifact-request.js.map +1 -0
- package/lib/request/deactivate-model-deployment-request.d.ts +2 -2
- package/lib/request/deactivate-model-deployment-request.js +1 -1
- package/lib/request/deactivate-model-request.d.ts +2 -2
- package/lib/request/deactivate-model-request.js +1 -1
- package/lib/request/deactivate-notebook-session-request.d.ts +2 -2
- package/lib/request/deactivate-notebook-session-request.js +1 -1
- package/lib/request/delete-job-request.d.ts +2 -2
- package/lib/request/delete-job-request.js +1 -1
- package/lib/request/delete-job-run-request.d.ts +2 -2
- package/lib/request/delete-job-run-request.js +1 -1
- package/lib/request/delete-model-deployment-request.d.ts +2 -2
- package/lib/request/delete-model-deployment-request.js +1 -1
- package/lib/request/delete-model-request.d.ts +2 -2
- package/lib/request/delete-model-request.js +1 -1
- package/lib/request/delete-model-version-set-request.d.ts +42 -0
- package/lib/request/delete-model-version-set-request.js +15 -0
- package/lib/request/delete-model-version-set-request.js.map +1 -0
- package/lib/request/delete-notebook-session-request.d.ts +2 -2
- package/lib/request/delete-notebook-session-request.js +1 -1
- package/lib/request/delete-pipeline-request.d.ts +44 -0
- package/lib/request/delete-pipeline-request.js +15 -0
- package/lib/request/delete-pipeline-request.js.map +1 -0
- package/lib/request/delete-pipeline-run-request.d.ts +40 -0
- package/lib/request/delete-pipeline-run-request.js +15 -0
- package/lib/request/delete-pipeline-run-request.js.map +1 -0
- package/lib/request/delete-project-request.d.ts +2 -2
- package/lib/request/delete-project-request.js +1 -1
- package/lib/request/export-model-artifact-request.d.ts +2 -2
- package/lib/request/export-model-artifact-request.js +1 -1
- package/lib/request/get-job-artifact-content-request.d.ts +2 -2
- package/lib/request/get-job-artifact-content-request.js +1 -1
- package/lib/request/get-job-request.d.ts +2 -2
- package/lib/request/get-job-request.js +1 -1
- package/lib/request/get-job-run-request.d.ts +2 -2
- package/lib/request/get-job-run-request.js +1 -1
- package/lib/request/get-model-artifact-content-request.d.ts +2 -2
- package/lib/request/get-model-artifact-content-request.js +1 -1
- package/lib/request/get-model-deployment-request.d.ts +2 -2
- package/lib/request/get-model-deployment-request.js +1 -1
- package/lib/request/get-model-provenance-request.d.ts +2 -2
- package/lib/request/get-model-provenance-request.js +1 -1
- package/lib/request/get-model-request.d.ts +2 -2
- package/lib/request/get-model-request.js +1 -1
- package/lib/request/get-model-version-set-request.d.ts +27 -0
- package/lib/request/get-model-version-set-request.js +15 -0
- package/lib/request/get-model-version-set-request.js.map +1 -0
- package/lib/request/get-notebook-session-request.d.ts +2 -2
- package/lib/request/get-notebook-session-request.js +1 -1
- package/lib/request/get-pipeline-request.d.ts +27 -0
- package/lib/request/get-pipeline-request.js +15 -0
- package/lib/request/get-pipeline-request.js.map +1 -0
- package/lib/request/get-pipeline-run-request.d.ts +27 -0
- package/lib/request/get-pipeline-run-request.js +15 -0
- package/lib/request/get-pipeline-run-request.js.map +1 -0
- package/lib/request/get-project-request.d.ts +2 -2
- package/lib/request/get-project-request.js +1 -1
- package/lib/request/get-step-artifact-content-request.d.ts +37 -0
- package/lib/request/get-step-artifact-content-request.js +15 -0
- package/lib/request/get-step-artifact-content-request.js.map +1 -0
- package/lib/request/get-work-request-request.d.ts +2 -2
- package/lib/request/get-work-request-request.js +1 -1
- package/lib/request/head-job-artifact-request.d.ts +2 -2
- package/lib/request/head-job-artifact-request.js +1 -1
- package/lib/request/head-model-artifact-request.d.ts +2 -2
- package/lib/request/head-model-artifact-request.js +1 -1
- package/lib/request/head-step-artifact-request.d.ts +31 -0
- package/lib/request/head-step-artifact-request.js +15 -0
- package/lib/request/head-step-artifact-request.js.map +1 -0
- package/lib/request/import-model-artifact-request.d.ts +2 -2
- package/lib/request/import-model-artifact-request.js +1 -1
- package/lib/request/index.d.ts +45 -1
- package/lib/request/index.js +8 -2
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-fast-launch-job-configs-request.d.ts +2 -2
- package/lib/request/list-fast-launch-job-configs-request.js +1 -1
- package/lib/request/list-job-runs-request.d.ts +2 -2
- package/lib/request/list-job-runs-request.js +1 -1
- package/lib/request/list-job-shapes-request.d.ts +2 -2
- package/lib/request/list-job-shapes-request.js +1 -1
- package/lib/request/list-jobs-request.d.ts +2 -2
- package/lib/request/list-jobs-request.js +1 -1
- package/lib/request/list-model-deployment-shapes-request.d.ts +2 -2
- package/lib/request/list-model-deployment-shapes-request.js +1 -1
- package/lib/request/list-model-deployments-request.d.ts +2 -2
- package/lib/request/list-model-deployments-request.js +1 -1
- package/lib/request/list-model-version-sets-request.d.ts +91 -0
- package/lib/request/list-model-version-sets-request.js +30 -0
- package/lib/request/list-model-version-sets-request.js.map +1 -0
- package/lib/request/list-models-request.d.ts +10 -2
- package/lib/request/list-models-request.js +1 -1
- package/lib/request/list-models-request.js.map +1 -1
- package/lib/request/list-notebook-session-shapes-request.d.ts +2 -2
- package/lib/request/list-notebook-session-shapes-request.js +1 -1
- package/lib/request/list-notebook-sessions-request.d.ts +2 -2
- package/lib/request/list-notebook-sessions-request.js +1 -1
- package/lib/request/list-pipeline-runs-request.d.ts +90 -0
- package/lib/request/list-pipeline-runs-request.js +29 -0
- package/lib/request/list-pipeline-runs-request.js.map +1 -0
- package/lib/request/list-pipelines-request.d.ts +90 -0
- package/lib/request/list-pipelines-request.js +29 -0
- package/lib/request/list-pipelines-request.js.map +1 -0
- package/lib/request/list-projects-request.d.ts +2 -2
- package/lib/request/list-projects-request.js +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +2 -2
- package/lib/request/list-work-request-errors-request.js +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +2 -2
- package/lib/request/list-work-request-logs-request.js +1 -1
- package/lib/request/list-work-requests-request.d.ts +9 -3
- package/lib/request/list-work-requests-request.js +7 -1
- package/lib/request/list-work-requests-request.js.map +1 -1
- package/lib/request/update-job-request.d.ts +2 -2
- package/lib/request/update-job-request.js +1 -1
- package/lib/request/update-job-run-request.d.ts +2 -2
- package/lib/request/update-job-run-request.js +1 -1
- package/lib/request/update-model-deployment-request.d.ts +2 -2
- package/lib/request/update-model-deployment-request.js +1 -1
- package/lib/request/update-model-provenance-request.d.ts +2 -2
- package/lib/request/update-model-provenance-request.js +1 -1
- package/lib/request/update-model-request.d.ts +2 -2
- package/lib/request/update-model-request.js +1 -1
- package/lib/request/update-model-version-set-request.d.ts +41 -0
- package/lib/request/update-model-version-set-request.js +15 -0
- package/lib/request/update-model-version-set-request.js.map +1 -0
- package/lib/request/update-notebook-session-request.d.ts +2 -2
- package/lib/request/update-notebook-session-request.js +1 -1
- package/lib/request/update-pipeline-request.d.ts +41 -0
- package/lib/request/update-pipeline-request.js +15 -0
- package/lib/request/update-pipeline-request.js.map +1 -0
- package/lib/request/update-pipeline-run-request.d.ts +41 -0
- package/lib/request/update-pipeline-run-request.js +15 -0
- package/lib/request/update-pipeline-run-request.js.map +1 -0
- package/lib/request/update-project-request.d.ts +2 -2
- package/lib/request/update-project-request.js +1 -1
- package/lib/response/activate-model-deployment-response.d.ts +1 -1
- package/lib/response/activate-model-deployment-response.js +1 -1
- package/lib/response/activate-model-response.d.ts +1 -1
- package/lib/response/activate-model-response.js +1 -1
- package/lib/response/activate-notebook-session-response.d.ts +1 -1
- package/lib/response/activate-notebook-session-response.js +1 -1
- package/lib/response/cancel-job-run-response.d.ts +1 -1
- package/lib/response/cancel-job-run-response.js +1 -1
- package/lib/response/cancel-pipeline-run-response.d.ts +20 -0
- package/lib/response/cancel-pipeline-run-response.js +15 -0
- package/lib/response/cancel-pipeline-run-response.js.map +1 -0
- package/lib/response/cancel-work-request-response.d.ts +1 -1
- package/lib/response/cancel-work-request-response.js +1 -1
- package/lib/response/change-job-compartment-response.d.ts +1 -1
- package/lib/response/change-job-compartment-response.js +1 -1
- package/lib/response/change-job-run-compartment-response.d.ts +1 -1
- package/lib/response/change-job-run-compartment-response.js +1 -1
- package/lib/response/change-model-compartment-response.d.ts +1 -1
- package/lib/response/change-model-compartment-response.js +1 -1
- package/lib/response/change-model-deployment-compartment-response.d.ts +1 -1
- package/lib/response/change-model-deployment-compartment-response.js +1 -1
- package/lib/response/change-model-version-set-compartment-response.d.ts +26 -0
- package/lib/response/change-model-version-set-compartment-response.js +15 -0
- package/lib/response/change-model-version-set-compartment-response.js.map +1 -0
- package/lib/response/change-notebook-session-compartment-response.d.ts +1 -1
- package/lib/response/change-notebook-session-compartment-response.js +1 -1
- package/lib/response/change-pipeline-compartment-response.d.ts +20 -0
- package/lib/response/change-pipeline-compartment-response.js +15 -0
- package/lib/response/change-pipeline-compartment-response.js.map +1 -0
- package/lib/response/change-pipeline-run-compartment-response.d.ts +20 -0
- package/lib/response/change-pipeline-run-compartment-response.js +15 -0
- package/lib/response/change-pipeline-run-compartment-response.js.map +1 -0
- package/lib/response/change-project-compartment-response.d.ts +1 -1
- package/lib/response/change-project-compartment-response.js +1 -1
- package/lib/response/create-job-artifact-response.d.ts +1 -1
- package/lib/response/create-job-artifact-response.js +1 -1
- package/lib/response/create-job-response.d.ts +1 -1
- package/lib/response/create-job-response.js +1 -1
- package/lib/response/create-job-run-response.d.ts +1 -1
- package/lib/response/create-job-run-response.js +1 -1
- package/lib/response/create-model-artifact-response.d.ts +1 -1
- package/lib/response/create-model-artifact-response.js +1 -1
- package/lib/response/create-model-deployment-response.d.ts +1 -1
- package/lib/response/create-model-deployment-response.js +1 -1
- package/lib/response/create-model-provenance-response.d.ts +1 -1
- package/lib/response/create-model-provenance-response.js +1 -1
- package/lib/response/create-model-response.d.ts +1 -1
- package/lib/response/create-model-response.js +1 -1
- package/lib/response/create-model-version-set-response.d.ts +30 -0
- package/lib/response/create-model-version-set-response.js +15 -0
- package/lib/response/create-model-version-set-response.js.map +1 -0
- package/lib/response/create-notebook-session-response.d.ts +1 -1
- package/lib/response/create-notebook-session-response.js +1 -1
- package/lib/response/create-pipeline-response.d.ts +30 -0
- package/lib/response/create-pipeline-response.js +15 -0
- package/lib/response/create-pipeline-response.js.map +1 -0
- package/lib/response/create-pipeline-run-response.d.ts +35 -0
- package/lib/response/create-pipeline-run-response.js +15 -0
- package/lib/response/create-pipeline-run-response.js.map +1 -0
- package/lib/response/create-project-response.d.ts +1 -1
- package/lib/response/create-project-response.js +1 -1
- package/lib/response/create-step-artifact-response.d.ts +20 -0
- package/lib/response/create-step-artifact-response.js +15 -0
- package/lib/response/create-step-artifact-response.js.map +1 -0
- package/lib/response/deactivate-model-deployment-response.d.ts +1 -1
- package/lib/response/deactivate-model-deployment-response.js +1 -1
- package/lib/response/deactivate-model-response.d.ts +1 -1
- package/lib/response/deactivate-model-response.js +1 -1
- package/lib/response/deactivate-notebook-session-response.d.ts +1 -1
- package/lib/response/deactivate-notebook-session-response.js +1 -1
- package/lib/response/delete-job-response.d.ts +1 -1
- package/lib/response/delete-job-response.js +1 -1
- package/lib/response/delete-job-run-response.d.ts +1 -1
- package/lib/response/delete-job-run-response.js +1 -1
- package/lib/response/delete-model-deployment-response.d.ts +1 -1
- package/lib/response/delete-model-deployment-response.js +1 -1
- package/lib/response/delete-model-response.d.ts +1 -1
- package/lib/response/delete-model-response.js +1 -1
- package/lib/response/delete-model-version-set-response.d.ts +26 -0
- package/lib/response/delete-model-version-set-response.js +15 -0
- package/lib/response/delete-model-version-set-response.js.map +1 -0
- package/lib/response/delete-notebook-session-response.d.ts +1 -1
- package/lib/response/delete-notebook-session-response.js +1 -1
- package/lib/response/delete-pipeline-response.d.ts +26 -0
- package/lib/response/delete-pipeline-response.js +15 -0
- package/lib/response/delete-pipeline-response.js.map +1 -0
- package/lib/response/delete-pipeline-run-response.d.ts +20 -0
- package/lib/response/delete-pipeline-run-response.js +15 -0
- package/lib/response/delete-pipeline-run-response.js.map +1 -0
- package/lib/response/delete-project-response.d.ts +1 -1
- package/lib/response/delete-project-response.js +1 -1
- package/lib/response/export-model-artifact-response.d.ts +1 -1
- package/lib/response/export-model-artifact-response.js +1 -1
- package/lib/response/get-job-artifact-content-response.d.ts +1 -1
- package/lib/response/get-job-artifact-content-response.js +1 -1
- package/lib/response/get-job-response.d.ts +1 -1
- package/lib/response/get-job-response.js +1 -1
- package/lib/response/get-job-run-response.d.ts +1 -1
- package/lib/response/get-job-run-response.js +1 -1
- package/lib/response/get-model-artifact-content-response.d.ts +1 -1
- package/lib/response/get-model-artifact-content-response.js +1 -1
- package/lib/response/get-model-deployment-response.d.ts +1 -1
- package/lib/response/get-model-deployment-response.js +1 -1
- package/lib/response/get-model-provenance-response.d.ts +1 -1
- package/lib/response/get-model-provenance-response.js +1 -1
- package/lib/response/get-model-response.d.ts +1 -1
- package/lib/response/get-model-response.js +1 -1
- package/lib/response/get-model-version-set-response.d.ts +30 -0
- package/lib/response/get-model-version-set-response.js +15 -0
- package/lib/response/get-model-version-set-response.js.map +1 -0
- package/lib/response/get-notebook-session-response.d.ts +1 -1
- package/lib/response/get-notebook-session-response.js +1 -1
- package/lib/response/get-pipeline-response.d.ts +30 -0
- package/lib/response/get-pipeline-response.js +15 -0
- package/lib/response/get-pipeline-response.js.map +1 -0
- package/lib/response/get-pipeline-run-response.d.ts +30 -0
- package/lib/response/get-pipeline-run-response.js +15 -0
- package/lib/response/get-pipeline-run-response.js.map +1 -0
- package/lib/response/get-project-response.d.ts +1 -1
- package/lib/response/get-project-response.js +1 -1
- package/lib/response/get-step-artifact-content-response.d.ts +52 -0
- package/lib/response/get-step-artifact-content-response.js +15 -0
- package/lib/response/get-step-artifact-content-response.js.map +1 -0
- package/lib/response/get-work-request-response.d.ts +1 -1
- package/lib/response/get-work-request-response.js +1 -1
- package/lib/response/head-job-artifact-response.d.ts +1 -1
- package/lib/response/head-job-artifact-response.js +1 -1
- package/lib/response/head-model-artifact-response.d.ts +1 -1
- package/lib/response/head-model-artifact-response.js +1 -1
- package/lib/response/head-step-artifact-response.d.ts +46 -0
- package/lib/response/head-step-artifact-response.js +15 -0
- package/lib/response/head-step-artifact-response.js.map +1 -0
- package/lib/response/import-model-artifact-response.d.ts +1 -1
- package/lib/response/import-model-artifact-response.js +1 -1
- package/lib/response/index.d.ts +45 -1
- package/lib/response/index.js +1 -1
- package/lib/response/list-fast-launch-job-configs-response.d.ts +1 -1
- package/lib/response/list-fast-launch-job-configs-response.js +1 -1
- package/lib/response/list-job-runs-response.d.ts +1 -1
- package/lib/response/list-job-runs-response.js +1 -1
- package/lib/response/list-job-shapes-response.d.ts +1 -1
- package/lib/response/list-job-shapes-response.js +1 -1
- package/lib/response/list-jobs-response.d.ts +1 -1
- package/lib/response/list-jobs-response.js +1 -1
- package/lib/response/list-model-deployment-shapes-response.d.ts +1 -1
- package/lib/response/list-model-deployment-shapes-response.js +1 -1
- package/lib/response/list-model-deployments-response.d.ts +1 -1
- package/lib/response/list-model-deployments-response.js +1 -1
- package/lib/response/list-model-version-sets-response.d.ts +35 -0
- package/lib/response/list-model-version-sets-response.js +15 -0
- package/lib/response/list-model-version-sets-response.js.map +1 -0
- package/lib/response/list-models-response.d.ts +1 -1
- package/lib/response/list-models-response.js +1 -1
- package/lib/response/list-notebook-session-shapes-response.d.ts +1 -1
- package/lib/response/list-notebook-session-shapes-response.js +1 -1
- package/lib/response/list-notebook-sessions-response.d.ts +1 -1
- package/lib/response/list-notebook-sessions-response.js +1 -1
- package/lib/response/list-pipeline-runs-response.d.ts +35 -0
- package/lib/response/list-pipeline-runs-response.js +15 -0
- package/lib/response/list-pipeline-runs-response.js.map +1 -0
- package/lib/response/list-pipelines-response.d.ts +35 -0
- package/lib/response/list-pipelines-response.js +15 -0
- package/lib/response/list-pipelines-response.js.map +1 -0
- package/lib/response/list-projects-response.d.ts +1 -1
- package/lib/response/list-projects-response.js +1 -1
- package/lib/response/list-work-request-errors-response.d.ts +1 -1
- package/lib/response/list-work-request-errors-response.js +1 -1
- package/lib/response/list-work-request-logs-response.d.ts +1 -1
- package/lib/response/list-work-request-logs-response.js +1 -1
- package/lib/response/list-work-requests-response.d.ts +1 -1
- package/lib/response/list-work-requests-response.js +1 -1
- package/lib/response/update-job-response.d.ts +1 -1
- package/lib/response/update-job-response.js +1 -1
- package/lib/response/update-job-run-response.d.ts +1 -1
- package/lib/response/update-job-run-response.js +1 -1
- package/lib/response/update-model-deployment-response.d.ts +1 -1
- package/lib/response/update-model-deployment-response.js +1 -1
- package/lib/response/update-model-provenance-response.d.ts +1 -1
- package/lib/response/update-model-provenance-response.js +1 -1
- package/lib/response/update-model-response.d.ts +1 -1
- package/lib/response/update-model-response.js +1 -1
- package/lib/response/update-model-version-set-response.d.ts +30 -0
- package/lib/response/update-model-version-set-response.js +15 -0
- package/lib/response/update-model-version-set-response.js.map +1 -0
- package/lib/response/update-notebook-session-response.d.ts +1 -1
- package/lib/response/update-notebook-session-response.js +1 -1
- package/lib/response/update-pipeline-response.d.ts +30 -0
- package/lib/response/update-pipeline-response.js +15 -0
- package/lib/response/update-pipeline-response.js.map +1 -0
- package/lib/response/update-pipeline-run-response.d.ts +30 -0
- package/lib/response/update-pipeline-run-response.js +15 -0
- package/lib/response/update-pipeline-run-response.js.map +1 -0
- package/lib/response/update-project-response.d.ts +1 -1
- package/lib/response/update-project-response.js +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*
|
|
12
|
-
* Copyright (c) 2020,
|
|
12
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
13
13
|
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
14
14
|
*/
|
|
15
15
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -158,7 +158,7 @@ class DataScienceClient {
|
|
|
158
158
|
* @param ActivateModelRequest
|
|
159
159
|
* @return ActivateModelResponse
|
|
160
160
|
* @throws OciError when an error occurs
|
|
161
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
161
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ActivateModel.ts.html |here} to see how to use ActivateModel API.
|
|
162
162
|
*/
|
|
163
163
|
activateModel(activateModelRequest) {
|
|
164
164
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -222,7 +222,7 @@ class DataScienceClient {
|
|
|
222
222
|
* @param ActivateModelDeploymentRequest
|
|
223
223
|
* @return ActivateModelDeploymentResponse
|
|
224
224
|
* @throws OciError when an error occurs
|
|
225
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
225
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ActivateModelDeployment.ts.html |here} to see how to use ActivateModelDeployment API.
|
|
226
226
|
*/
|
|
227
227
|
activateModelDeployment(activateModelDeploymentRequest) {
|
|
228
228
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -282,7 +282,7 @@ class DataScienceClient {
|
|
|
282
282
|
* @param ActivateNotebookSessionRequest
|
|
283
283
|
* @return ActivateNotebookSessionResponse
|
|
284
284
|
* @throws OciError when an error occurs
|
|
285
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
285
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ActivateNotebookSession.ts.html |here} to see how to use ActivateNotebookSession API.
|
|
286
286
|
*/
|
|
287
287
|
activateNotebookSession(activateNotebookSessionRequest) {
|
|
288
288
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -342,7 +342,7 @@ class DataScienceClient {
|
|
|
342
342
|
* @param CancelJobRunRequest
|
|
343
343
|
* @return CancelJobRunResponse
|
|
344
344
|
* @throws OciError when an error occurs
|
|
345
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
345
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/CancelJobRun.ts.html |here} to see how to use CancelJobRun API.
|
|
346
346
|
*/
|
|
347
347
|
cancelJobRun(cancelJobRunRequest) {
|
|
348
348
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -391,13 +391,69 @@ class DataScienceClient {
|
|
|
391
391
|
}
|
|
392
392
|
});
|
|
393
393
|
}
|
|
394
|
+
/**
|
|
395
|
+
* Cancel a PipelineRun.
|
|
396
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
397
|
+
* @param CancelPipelineRunRequest
|
|
398
|
+
* @return CancelPipelineRunResponse
|
|
399
|
+
* @throws OciError when an error occurs
|
|
400
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/CancelPipelineRun.ts.html |here} to see how to use CancelPipelineRun API.
|
|
401
|
+
*/
|
|
402
|
+
cancelPipelineRun(cancelPipelineRunRequest) {
|
|
403
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
404
|
+
if (this.logger)
|
|
405
|
+
this.logger.debug("Calling operation DataScienceClient#cancelPipelineRun.");
|
|
406
|
+
const operationName = "cancelPipelineRun";
|
|
407
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/PipelineRun/CancelPipelineRun";
|
|
408
|
+
const pathParams = {
|
|
409
|
+
"{pipelineRunId}": cancelPipelineRunRequest.pipelineRunId
|
|
410
|
+
};
|
|
411
|
+
const queryParams = {};
|
|
412
|
+
let headerParams = {
|
|
413
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
414
|
+
"opc-request-id": cancelPipelineRunRequest.opcRequestId,
|
|
415
|
+
"opc-retry-token": cancelPipelineRunRequest.opcRetryToken,
|
|
416
|
+
"if-match": cancelPipelineRunRequest.ifMatch
|
|
417
|
+
};
|
|
418
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
419
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelPipelineRunRequest.retryConfiguration, specRetryConfiguration);
|
|
420
|
+
if (this.logger)
|
|
421
|
+
retrier.logger = this.logger;
|
|
422
|
+
const request = yield oci_common_2.composeRequest({
|
|
423
|
+
baseEndpoint: this._endpoint,
|
|
424
|
+
defaultHeaders: this._defaultHeaders,
|
|
425
|
+
path: "/pipelineRuns/{pipelineRunId}/actions/cancelPipelineRun",
|
|
426
|
+
method: "POST",
|
|
427
|
+
pathParams: pathParams,
|
|
428
|
+
headerParams: headerParams,
|
|
429
|
+
queryParams: queryParams
|
|
430
|
+
});
|
|
431
|
+
try {
|
|
432
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
433
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
434
|
+
responseObject: {},
|
|
435
|
+
responseHeaders: [
|
|
436
|
+
{
|
|
437
|
+
value: response.headers.get("opc-request-id"),
|
|
438
|
+
key: "opcRequestId",
|
|
439
|
+
dataType: "string"
|
|
440
|
+
}
|
|
441
|
+
]
|
|
442
|
+
});
|
|
443
|
+
return sdkResponse;
|
|
444
|
+
}
|
|
445
|
+
catch (err) {
|
|
446
|
+
throw err;
|
|
447
|
+
}
|
|
448
|
+
});
|
|
449
|
+
}
|
|
394
450
|
/**
|
|
395
451
|
* Cancels a work request that has not started.
|
|
396
452
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
397
453
|
* @param CancelWorkRequestRequest
|
|
398
454
|
* @return CancelWorkRequestResponse
|
|
399
455
|
* @throws OciError when an error occurs
|
|
400
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
456
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
|
|
401
457
|
*/
|
|
402
458
|
cancelWorkRequest(cancelWorkRequestRequest) {
|
|
403
459
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -452,7 +508,7 @@ class DataScienceClient {
|
|
|
452
508
|
* @param ChangeJobCompartmentRequest
|
|
453
509
|
* @return ChangeJobCompartmentResponse
|
|
454
510
|
* @throws OciError when an error occurs
|
|
455
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
511
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ChangeJobCompartment.ts.html |here} to see how to use ChangeJobCompartment API.
|
|
456
512
|
*/
|
|
457
513
|
changeJobCompartment(changeJobCompartmentRequest) {
|
|
458
514
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -508,7 +564,7 @@ class DataScienceClient {
|
|
|
508
564
|
* @param ChangeJobRunCompartmentRequest
|
|
509
565
|
* @return ChangeJobRunCompartmentResponse
|
|
510
566
|
* @throws OciError when an error occurs
|
|
511
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
567
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ChangeJobRunCompartment.ts.html |here} to see how to use ChangeJobRunCompartment API.
|
|
512
568
|
*/
|
|
513
569
|
changeJobRunCompartment(changeJobRunCompartmentRequest) {
|
|
514
570
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -564,7 +620,7 @@ class DataScienceClient {
|
|
|
564
620
|
* @param ChangeModelCompartmentRequest
|
|
565
621
|
* @return ChangeModelCompartmentResponse
|
|
566
622
|
* @throws OciError when an error occurs
|
|
567
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
623
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ChangeModelCompartment.ts.html |here} to see how to use ChangeModelCompartment API.
|
|
568
624
|
*/
|
|
569
625
|
changeModelCompartment(changeModelCompartmentRequest) {
|
|
570
626
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -621,7 +677,7 @@ class DataScienceClient {
|
|
|
621
677
|
* @param ChangeModelDeploymentCompartmentRequest
|
|
622
678
|
* @return ChangeModelDeploymentCompartmentResponse
|
|
623
679
|
* @throws OciError when an error occurs
|
|
624
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
680
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ChangeModelDeploymentCompartment.ts.html |here} to see how to use ChangeModelDeploymentCompartment API.
|
|
625
681
|
*/
|
|
626
682
|
changeModelDeploymentCompartment(changeModelDeploymentCompartmentRequest) {
|
|
627
683
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -672,13 +728,75 @@ class DataScienceClient {
|
|
|
672
728
|
}
|
|
673
729
|
});
|
|
674
730
|
}
|
|
731
|
+
/**
|
|
732
|
+
* Moves a modelVersionSet resource into a different compartment.
|
|
733
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
734
|
+
* @param ChangeModelVersionSetCompartmentRequest
|
|
735
|
+
* @return ChangeModelVersionSetCompartmentResponse
|
|
736
|
+
* @throws OciError when an error occurs
|
|
737
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ChangeModelVersionSetCompartment.ts.html |here} to see how to use ChangeModelVersionSetCompartment API.
|
|
738
|
+
*/
|
|
739
|
+
changeModelVersionSetCompartment(changeModelVersionSetCompartmentRequest) {
|
|
740
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
741
|
+
if (this.logger)
|
|
742
|
+
this.logger.debug("Calling operation DataScienceClient#changeModelVersionSetCompartment.");
|
|
743
|
+
const operationName = "changeModelVersionSetCompartment";
|
|
744
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/ModelVersionSet/ChangeModelVersionSetCompartment";
|
|
745
|
+
const pathParams = {
|
|
746
|
+
"{modelVersionSetId}": changeModelVersionSetCompartmentRequest.modelVersionSetId
|
|
747
|
+
};
|
|
748
|
+
const queryParams = {};
|
|
749
|
+
let headerParams = {
|
|
750
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
751
|
+
"if-match": changeModelVersionSetCompartmentRequest.ifMatch,
|
|
752
|
+
"opc-request-id": changeModelVersionSetCompartmentRequest.opcRequestId,
|
|
753
|
+
"opc-retry-token": changeModelVersionSetCompartmentRequest.opcRetryToken
|
|
754
|
+
};
|
|
755
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
756
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeModelVersionSetCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
757
|
+
if (this.logger)
|
|
758
|
+
retrier.logger = this.logger;
|
|
759
|
+
const request = yield oci_common_2.composeRequest({
|
|
760
|
+
baseEndpoint: this._endpoint,
|
|
761
|
+
defaultHeaders: this._defaultHeaders,
|
|
762
|
+
path: "/modelVersionSets/{modelVersionSetId}/actions/changeCompartment",
|
|
763
|
+
method: "POST",
|
|
764
|
+
bodyContent: common.ObjectSerializer.serialize(changeModelVersionSetCompartmentRequest.changeModelVersionSetCompartmentDetails, "ChangeModelVersionSetCompartmentDetails", model.ChangeModelVersionSetCompartmentDetails.getJsonObj),
|
|
765
|
+
pathParams: pathParams,
|
|
766
|
+
headerParams: headerParams,
|
|
767
|
+
queryParams: queryParams
|
|
768
|
+
});
|
|
769
|
+
try {
|
|
770
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
771
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
772
|
+
responseObject: {},
|
|
773
|
+
responseHeaders: [
|
|
774
|
+
{
|
|
775
|
+
value: response.headers.get("opc-request-id"),
|
|
776
|
+
key: "opcRequestId",
|
|
777
|
+
dataType: "string"
|
|
778
|
+
},
|
|
779
|
+
{
|
|
780
|
+
value: response.headers.get("opc-work-request-id"),
|
|
781
|
+
key: "opcWorkRequestId",
|
|
782
|
+
dataType: "string"
|
|
783
|
+
}
|
|
784
|
+
]
|
|
785
|
+
});
|
|
786
|
+
return sdkResponse;
|
|
787
|
+
}
|
|
788
|
+
catch (err) {
|
|
789
|
+
throw err;
|
|
790
|
+
}
|
|
791
|
+
});
|
|
792
|
+
}
|
|
675
793
|
/**
|
|
676
794
|
* Moves a notebook session resource into a different compartment.
|
|
677
795
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
678
796
|
* @param ChangeNotebookSessionCompartmentRequest
|
|
679
797
|
* @return ChangeNotebookSessionCompartmentResponse
|
|
680
798
|
* @throws OciError when an error occurs
|
|
681
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
799
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ChangeNotebookSessionCompartment.ts.html |here} to see how to use ChangeNotebookSessionCompartment API.
|
|
682
800
|
*/
|
|
683
801
|
changeNotebookSessionCompartment(changeNotebookSessionCompartmentRequest) {
|
|
684
802
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -729,13 +847,125 @@ class DataScienceClient {
|
|
|
729
847
|
}
|
|
730
848
|
});
|
|
731
849
|
}
|
|
850
|
+
/**
|
|
851
|
+
* Moves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.
|
|
852
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
853
|
+
* @param ChangePipelineCompartmentRequest
|
|
854
|
+
* @return ChangePipelineCompartmentResponse
|
|
855
|
+
* @throws OciError when an error occurs
|
|
856
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ChangePipelineCompartment.ts.html |here} to see how to use ChangePipelineCompartment API.
|
|
857
|
+
*/
|
|
858
|
+
changePipelineCompartment(changePipelineCompartmentRequest) {
|
|
859
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
860
|
+
if (this.logger)
|
|
861
|
+
this.logger.debug("Calling operation DataScienceClient#changePipelineCompartment.");
|
|
862
|
+
const operationName = "changePipelineCompartment";
|
|
863
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/Pipeline/ChangePipelineCompartment";
|
|
864
|
+
const pathParams = {
|
|
865
|
+
"{pipelineId}": changePipelineCompartmentRequest.pipelineId
|
|
866
|
+
};
|
|
867
|
+
const queryParams = {};
|
|
868
|
+
let headerParams = {
|
|
869
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
870
|
+
"opc-request-id": changePipelineCompartmentRequest.opcRequestId,
|
|
871
|
+
"if-match": changePipelineCompartmentRequest.ifMatch
|
|
872
|
+
};
|
|
873
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
874
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changePipelineCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
875
|
+
if (this.logger)
|
|
876
|
+
retrier.logger = this.logger;
|
|
877
|
+
const request = yield oci_common_2.composeRequest({
|
|
878
|
+
baseEndpoint: this._endpoint,
|
|
879
|
+
defaultHeaders: this._defaultHeaders,
|
|
880
|
+
path: "/pipelines/{pipelineId}/actions/changeCompartment",
|
|
881
|
+
method: "POST",
|
|
882
|
+
bodyContent: common.ObjectSerializer.serialize(changePipelineCompartmentRequest.changePipelineCompartmentDetails, "ChangePipelineCompartmentDetails", model.ChangePipelineCompartmentDetails.getJsonObj),
|
|
883
|
+
pathParams: pathParams,
|
|
884
|
+
headerParams: headerParams,
|
|
885
|
+
queryParams: queryParams
|
|
886
|
+
});
|
|
887
|
+
try {
|
|
888
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
889
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
890
|
+
responseObject: {},
|
|
891
|
+
responseHeaders: [
|
|
892
|
+
{
|
|
893
|
+
value: response.headers.get("opc-request-id"),
|
|
894
|
+
key: "opcRequestId",
|
|
895
|
+
dataType: "string"
|
|
896
|
+
}
|
|
897
|
+
]
|
|
898
|
+
});
|
|
899
|
+
return sdkResponse;
|
|
900
|
+
}
|
|
901
|
+
catch (err) {
|
|
902
|
+
throw err;
|
|
903
|
+
}
|
|
904
|
+
});
|
|
905
|
+
}
|
|
906
|
+
/**
|
|
907
|
+
* Moves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.
|
|
908
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
909
|
+
* @param ChangePipelineRunCompartmentRequest
|
|
910
|
+
* @return ChangePipelineRunCompartmentResponse
|
|
911
|
+
* @throws OciError when an error occurs
|
|
912
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ChangePipelineRunCompartment.ts.html |here} to see how to use ChangePipelineRunCompartment API.
|
|
913
|
+
*/
|
|
914
|
+
changePipelineRunCompartment(changePipelineRunCompartmentRequest) {
|
|
915
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
916
|
+
if (this.logger)
|
|
917
|
+
this.logger.debug("Calling operation DataScienceClient#changePipelineRunCompartment.");
|
|
918
|
+
const operationName = "changePipelineRunCompartment";
|
|
919
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/PipelineRun/ChangePipelineRunCompartment";
|
|
920
|
+
const pathParams = {
|
|
921
|
+
"{pipelineRunId}": changePipelineRunCompartmentRequest.pipelineRunId
|
|
922
|
+
};
|
|
923
|
+
const queryParams = {};
|
|
924
|
+
let headerParams = {
|
|
925
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
926
|
+
"opc-request-id": changePipelineRunCompartmentRequest.opcRequestId,
|
|
927
|
+
"if-match": changePipelineRunCompartmentRequest.ifMatch
|
|
928
|
+
};
|
|
929
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
930
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changePipelineRunCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
931
|
+
if (this.logger)
|
|
932
|
+
retrier.logger = this.logger;
|
|
933
|
+
const request = yield oci_common_2.composeRequest({
|
|
934
|
+
baseEndpoint: this._endpoint,
|
|
935
|
+
defaultHeaders: this._defaultHeaders,
|
|
936
|
+
path: "/pipelineRuns/{pipelineRunId}/actions/changeCompartment",
|
|
937
|
+
method: "POST",
|
|
938
|
+
bodyContent: common.ObjectSerializer.serialize(changePipelineRunCompartmentRequest.changePipelineRunCompartmentDetails, "ChangePipelineRunCompartmentDetails", model.ChangePipelineRunCompartmentDetails.getJsonObj),
|
|
939
|
+
pathParams: pathParams,
|
|
940
|
+
headerParams: headerParams,
|
|
941
|
+
queryParams: queryParams
|
|
942
|
+
});
|
|
943
|
+
try {
|
|
944
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
945
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
946
|
+
responseObject: {},
|
|
947
|
+
responseHeaders: [
|
|
948
|
+
{
|
|
949
|
+
value: response.headers.get("opc-request-id"),
|
|
950
|
+
key: "opcRequestId",
|
|
951
|
+
dataType: "string"
|
|
952
|
+
}
|
|
953
|
+
]
|
|
954
|
+
});
|
|
955
|
+
return sdkResponse;
|
|
956
|
+
}
|
|
957
|
+
catch (err) {
|
|
958
|
+
throw err;
|
|
959
|
+
}
|
|
960
|
+
});
|
|
961
|
+
}
|
|
732
962
|
/**
|
|
733
963
|
* Moves a project resource into a different compartment.
|
|
734
964
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
735
965
|
* @param ChangeProjectCompartmentRequest
|
|
736
966
|
* @return ChangeProjectCompartmentResponse
|
|
737
967
|
* @throws OciError when an error occurs
|
|
738
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
968
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ChangeProjectCompartment.ts.html |here} to see how to use ChangeProjectCompartment API.
|
|
739
969
|
*/
|
|
740
970
|
changeProjectCompartment(changeProjectCompartmentRequest) {
|
|
741
971
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -792,7 +1022,7 @@ class DataScienceClient {
|
|
|
792
1022
|
* @param CreateJobRequest
|
|
793
1023
|
* @return CreateJobResponse
|
|
794
1024
|
* @throws OciError when an error occurs
|
|
795
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
1025
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/CreateJob.ts.html |here} to see how to use CreateJob API.
|
|
796
1026
|
*/
|
|
797
1027
|
createJob(createJobRequest) {
|
|
798
1028
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -855,7 +1085,7 @@ class DataScienceClient {
|
|
|
855
1085
|
* @param CreateJobArtifactRequest
|
|
856
1086
|
* @return CreateJobArtifactResponse
|
|
857
1087
|
* @throws OciError when an error occurs
|
|
858
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
1088
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/CreateJobArtifact.ts.html |here} to see how to use CreateJobArtifact API.
|
|
859
1089
|
*/
|
|
860
1090
|
createJobArtifact(createJobArtifactRequest) {
|
|
861
1091
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -918,7 +1148,7 @@ class DataScienceClient {
|
|
|
918
1148
|
* @param CreateJobRunRequest
|
|
919
1149
|
* @return CreateJobRunResponse
|
|
920
1150
|
* @throws OciError when an error occurs
|
|
921
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
1151
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/CreateJobRun.ts.html |here} to see how to use CreateJobRun API.
|
|
922
1152
|
*/
|
|
923
1153
|
createJobRun(createJobRunRequest) {
|
|
924
1154
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -981,7 +1211,7 @@ class DataScienceClient {
|
|
|
981
1211
|
* @param CreateModelRequest
|
|
982
1212
|
* @return CreateModelResponse
|
|
983
1213
|
* @throws OciError when an error occurs
|
|
984
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
1214
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/CreateModel.ts.html |here} to see how to use CreateModel API.
|
|
985
1215
|
*/
|
|
986
1216
|
createModel(createModelRequest) {
|
|
987
1217
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1044,7 +1274,7 @@ class DataScienceClient {
|
|
|
1044
1274
|
* @param CreateModelArtifactRequest
|
|
1045
1275
|
* @return CreateModelArtifactResponse
|
|
1046
1276
|
* @throws OciError when an error occurs
|
|
1047
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
1277
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/CreateModelArtifact.ts.html |here} to see how to use CreateModelArtifact API.
|
|
1048
1278
|
*/
|
|
1049
1279
|
createModelArtifact(createModelArtifactRequest) {
|
|
1050
1280
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1108,7 +1338,7 @@ class DataScienceClient {
|
|
|
1108
1338
|
* @param CreateModelDeploymentRequest
|
|
1109
1339
|
* @return CreateModelDeploymentResponse
|
|
1110
1340
|
* @throws OciError when an error occurs
|
|
1111
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
1341
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/CreateModelDeployment.ts.html |here} to see how to use CreateModelDeployment API.
|
|
1112
1342
|
*/
|
|
1113
1343
|
createModelDeployment(createModelDeploymentRequest) {
|
|
1114
1344
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1181,7 +1411,7 @@ class DataScienceClient {
|
|
|
1181
1411
|
* @param CreateModelProvenanceRequest
|
|
1182
1412
|
* @return CreateModelProvenanceResponse
|
|
1183
1413
|
* @throws OciError when an error occurs
|
|
1184
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
1414
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/CreateModelProvenance.ts.html |here} to see how to use CreateModelProvenance API.
|
|
1185
1415
|
*/
|
|
1186
1416
|
createModelProvenance(createModelProvenanceRequest) {
|
|
1187
1417
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1240,13 +1470,76 @@ class DataScienceClient {
|
|
|
1240
1470
|
}
|
|
1241
1471
|
});
|
|
1242
1472
|
}
|
|
1473
|
+
/**
|
|
1474
|
+
* Creates a new modelVersionSet.
|
|
1475
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1476
|
+
* @param CreateModelVersionSetRequest
|
|
1477
|
+
* @return CreateModelVersionSetResponse
|
|
1478
|
+
* @throws OciError when an error occurs
|
|
1479
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/CreateModelVersionSet.ts.html |here} to see how to use CreateModelVersionSet API.
|
|
1480
|
+
*/
|
|
1481
|
+
createModelVersionSet(createModelVersionSetRequest) {
|
|
1482
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1483
|
+
if (this.logger)
|
|
1484
|
+
this.logger.debug("Calling operation DataScienceClient#createModelVersionSet.");
|
|
1485
|
+
const operationName = "createModelVersionSet";
|
|
1486
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/ModelVersionSet/CreateModelVersionSet";
|
|
1487
|
+
const pathParams = {};
|
|
1488
|
+
const queryParams = {};
|
|
1489
|
+
let headerParams = {
|
|
1490
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1491
|
+
"opc-request-id": createModelVersionSetRequest.opcRequestId,
|
|
1492
|
+
"opc-retry-token": createModelVersionSetRequest.opcRetryToken
|
|
1493
|
+
};
|
|
1494
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1495
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createModelVersionSetRequest.retryConfiguration, specRetryConfiguration);
|
|
1496
|
+
if (this.logger)
|
|
1497
|
+
retrier.logger = this.logger;
|
|
1498
|
+
const request = yield oci_common_2.composeRequest({
|
|
1499
|
+
baseEndpoint: this._endpoint,
|
|
1500
|
+
defaultHeaders: this._defaultHeaders,
|
|
1501
|
+
path: "/modelVersionSets",
|
|
1502
|
+
method: "POST",
|
|
1503
|
+
bodyContent: common.ObjectSerializer.serialize(createModelVersionSetRequest.createModelVersionSetDetails, "CreateModelVersionSetDetails", model.CreateModelVersionSetDetails.getJsonObj),
|
|
1504
|
+
pathParams: pathParams,
|
|
1505
|
+
headerParams: headerParams,
|
|
1506
|
+
queryParams: queryParams
|
|
1507
|
+
});
|
|
1508
|
+
try {
|
|
1509
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1510
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
1511
|
+
responseObject: {},
|
|
1512
|
+
body: yield response.json(),
|
|
1513
|
+
bodyKey: "modelVersionSet",
|
|
1514
|
+
bodyModel: model.ModelVersionSet,
|
|
1515
|
+
type: "model.ModelVersionSet",
|
|
1516
|
+
responseHeaders: [
|
|
1517
|
+
{
|
|
1518
|
+
value: response.headers.get("etag"),
|
|
1519
|
+
key: "etag",
|
|
1520
|
+
dataType: "string"
|
|
1521
|
+
},
|
|
1522
|
+
{
|
|
1523
|
+
value: response.headers.get("opc-request-id"),
|
|
1524
|
+
key: "opcRequestId",
|
|
1525
|
+
dataType: "string"
|
|
1526
|
+
}
|
|
1527
|
+
]
|
|
1528
|
+
});
|
|
1529
|
+
return sdkResponse;
|
|
1530
|
+
}
|
|
1531
|
+
catch (err) {
|
|
1532
|
+
throw err;
|
|
1533
|
+
}
|
|
1534
|
+
});
|
|
1535
|
+
}
|
|
1243
1536
|
/**
|
|
1244
1537
|
* Creates a new notebook session.
|
|
1245
1538
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1246
1539
|
* @param CreateNotebookSessionRequest
|
|
1247
1540
|
* @return CreateNotebookSessionResponse
|
|
1248
1541
|
* @throws OciError when an error occurs
|
|
1249
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
1542
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/CreateNotebookSession.ts.html |here} to see how to use CreateNotebookSession API.
|
|
1250
1543
|
*/
|
|
1251
1544
|
createNotebookSession(createNotebookSessionRequest) {
|
|
1252
1545
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1314,36 +1607,37 @@ class DataScienceClient {
|
|
|
1314
1607
|
});
|
|
1315
1608
|
}
|
|
1316
1609
|
/**
|
|
1317
|
-
* Creates a new
|
|
1610
|
+
* Creates a new Pipeline.
|
|
1611
|
+
*
|
|
1318
1612
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1319
|
-
* @param
|
|
1320
|
-
* @return
|
|
1613
|
+
* @param CreatePipelineRequest
|
|
1614
|
+
* @return CreatePipelineResponse
|
|
1321
1615
|
* @throws OciError when an error occurs
|
|
1322
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
1616
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/CreatePipeline.ts.html |here} to see how to use CreatePipeline API.
|
|
1323
1617
|
*/
|
|
1324
|
-
|
|
1618
|
+
createPipeline(createPipelineRequest) {
|
|
1325
1619
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1326
1620
|
if (this.logger)
|
|
1327
|
-
this.logger.debug("Calling operation DataScienceClient#
|
|
1328
|
-
const operationName = "
|
|
1329
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/
|
|
1621
|
+
this.logger.debug("Calling operation DataScienceClient#createPipeline.");
|
|
1622
|
+
const operationName = "createPipeline";
|
|
1623
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/Pipeline/CreatePipeline";
|
|
1330
1624
|
const pathParams = {};
|
|
1331
1625
|
const queryParams = {};
|
|
1332
1626
|
let headerParams = {
|
|
1333
1627
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1334
|
-
"opc-
|
|
1335
|
-
"opc-
|
|
1628
|
+
"opc-retry-token": createPipelineRequest.opcRetryToken,
|
|
1629
|
+
"opc-request-id": createPipelineRequest.opcRequestId
|
|
1336
1630
|
};
|
|
1337
1631
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1338
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
1632
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createPipelineRequest.retryConfiguration, specRetryConfiguration);
|
|
1339
1633
|
if (this.logger)
|
|
1340
1634
|
retrier.logger = this.logger;
|
|
1341
1635
|
const request = yield oci_common_2.composeRequest({
|
|
1342
1636
|
baseEndpoint: this._endpoint,
|
|
1343
1637
|
defaultHeaders: this._defaultHeaders,
|
|
1344
|
-
path: "/
|
|
1638
|
+
path: "/pipelines",
|
|
1345
1639
|
method: "POST",
|
|
1346
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
1640
|
+
bodyContent: common.ObjectSerializer.serialize(createPipelineRequest.createPipelineDetails, "CreatePipelineDetails", model.CreatePipelineDetails.getJsonObj),
|
|
1347
1641
|
pathParams: pathParams,
|
|
1348
1642
|
headerParams: headerParams,
|
|
1349
1643
|
queryParams: queryParams
|
|
@@ -1353,9 +1647,9 @@ class DataScienceClient {
|
|
|
1353
1647
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1354
1648
|
responseObject: {},
|
|
1355
1649
|
body: yield response.json(),
|
|
1356
|
-
bodyKey: "
|
|
1357
|
-
bodyModel: model.
|
|
1358
|
-
type: "model.
|
|
1650
|
+
bodyKey: "pipeline",
|
|
1651
|
+
bodyModel: model.Pipeline,
|
|
1652
|
+
type: "model.Pipeline",
|
|
1359
1653
|
responseHeaders: [
|
|
1360
1654
|
{
|
|
1361
1655
|
value: response.headers.get("etag"),
|
|
@@ -1377,37 +1671,37 @@ class DataScienceClient {
|
|
|
1377
1671
|
});
|
|
1378
1672
|
}
|
|
1379
1673
|
/**
|
|
1380
|
-
*
|
|
1674
|
+
* Creates a new PipelineRun.
|
|
1675
|
+
*
|
|
1381
1676
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1382
|
-
* @param
|
|
1383
|
-
* @return
|
|
1677
|
+
* @param CreatePipelineRunRequest
|
|
1678
|
+
* @return CreatePipelineRunResponse
|
|
1384
1679
|
* @throws OciError when an error occurs
|
|
1385
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
1680
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/CreatePipelineRun.ts.html |here} to see how to use CreatePipelineRun API.
|
|
1386
1681
|
*/
|
|
1387
|
-
|
|
1682
|
+
createPipelineRun(createPipelineRunRequest) {
|
|
1388
1683
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1389
1684
|
if (this.logger)
|
|
1390
|
-
this.logger.debug("Calling operation DataScienceClient#
|
|
1391
|
-
const operationName = "
|
|
1392
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/
|
|
1393
|
-
const pathParams = {
|
|
1394
|
-
"{modelId}": deactivateModelRequest.modelId
|
|
1395
|
-
};
|
|
1685
|
+
this.logger.debug("Calling operation DataScienceClient#createPipelineRun.");
|
|
1686
|
+
const operationName = "createPipelineRun";
|
|
1687
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/PipelineRun/CreatePipelineRun";
|
|
1688
|
+
const pathParams = {};
|
|
1396
1689
|
const queryParams = {};
|
|
1397
1690
|
let headerParams = {
|
|
1398
1691
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1399
|
-
"
|
|
1400
|
-
"opc-request-id":
|
|
1692
|
+
"opc-retry-token": createPipelineRunRequest.opcRetryToken,
|
|
1693
|
+
"opc-request-id": createPipelineRunRequest.opcRequestId
|
|
1401
1694
|
};
|
|
1402
1695
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1403
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
1696
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createPipelineRunRequest.retryConfiguration, specRetryConfiguration);
|
|
1404
1697
|
if (this.logger)
|
|
1405
1698
|
retrier.logger = this.logger;
|
|
1406
1699
|
const request = yield oci_common_2.composeRequest({
|
|
1407
1700
|
baseEndpoint: this._endpoint,
|
|
1408
1701
|
defaultHeaders: this._defaultHeaders,
|
|
1409
|
-
path: "/
|
|
1702
|
+
path: "/pipelineRuns",
|
|
1410
1703
|
method: "POST",
|
|
1704
|
+
bodyContent: common.ObjectSerializer.serialize(createPipelineRunRequest.createPipelineRunDetails, "CreatePipelineRunDetails", model.CreatePipelineRunDetails.getJsonObj),
|
|
1411
1705
|
pathParams: pathParams,
|
|
1412
1706
|
headerParams: headerParams,
|
|
1413
1707
|
queryParams: queryParams
|
|
@@ -1417,9 +1711,9 @@ class DataScienceClient {
|
|
|
1417
1711
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1418
1712
|
responseObject: {},
|
|
1419
1713
|
body: yield response.json(),
|
|
1420
|
-
bodyKey: "
|
|
1421
|
-
bodyModel: model.
|
|
1422
|
-
type: "model.
|
|
1714
|
+
bodyKey: "pipelineRun",
|
|
1715
|
+
bodyModel: model.PipelineRun,
|
|
1716
|
+
type: "model.PipelineRun",
|
|
1423
1717
|
responseHeaders: [
|
|
1424
1718
|
{
|
|
1425
1719
|
value: response.headers.get("etag"),
|
|
@@ -1427,7 +1721,198 @@ class DataScienceClient {
|
|
|
1427
1721
|
dataType: "string"
|
|
1428
1722
|
},
|
|
1429
1723
|
{
|
|
1430
|
-
value: response.headers.get("
|
|
1724
|
+
value: response.headers.get("location"),
|
|
1725
|
+
key: "location",
|
|
1726
|
+
dataType: "string"
|
|
1727
|
+
},
|
|
1728
|
+
{
|
|
1729
|
+
value: response.headers.get("opc-request-id"),
|
|
1730
|
+
key: "opcRequestId",
|
|
1731
|
+
dataType: "string"
|
|
1732
|
+
}
|
|
1733
|
+
]
|
|
1734
|
+
});
|
|
1735
|
+
return sdkResponse;
|
|
1736
|
+
}
|
|
1737
|
+
catch (err) {
|
|
1738
|
+
throw err;
|
|
1739
|
+
}
|
|
1740
|
+
});
|
|
1741
|
+
}
|
|
1742
|
+
/**
|
|
1743
|
+
* Creates a new project.
|
|
1744
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1745
|
+
* @param CreateProjectRequest
|
|
1746
|
+
* @return CreateProjectResponse
|
|
1747
|
+
* @throws OciError when an error occurs
|
|
1748
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/CreateProject.ts.html |here} to see how to use CreateProject API.
|
|
1749
|
+
*/
|
|
1750
|
+
createProject(createProjectRequest) {
|
|
1751
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1752
|
+
if (this.logger)
|
|
1753
|
+
this.logger.debug("Calling operation DataScienceClient#createProject.");
|
|
1754
|
+
const operationName = "createProject";
|
|
1755
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/Project/CreateProject";
|
|
1756
|
+
const pathParams = {};
|
|
1757
|
+
const queryParams = {};
|
|
1758
|
+
let headerParams = {
|
|
1759
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1760
|
+
"opc-request-id": createProjectRequest.opcRequestId,
|
|
1761
|
+
"opc-retry-token": createProjectRequest.opcRetryToken
|
|
1762
|
+
};
|
|
1763
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1764
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createProjectRequest.retryConfiguration, specRetryConfiguration);
|
|
1765
|
+
if (this.logger)
|
|
1766
|
+
retrier.logger = this.logger;
|
|
1767
|
+
const request = yield oci_common_2.composeRequest({
|
|
1768
|
+
baseEndpoint: this._endpoint,
|
|
1769
|
+
defaultHeaders: this._defaultHeaders,
|
|
1770
|
+
path: "/projects",
|
|
1771
|
+
method: "POST",
|
|
1772
|
+
bodyContent: common.ObjectSerializer.serialize(createProjectRequest.createProjectDetails, "CreateProjectDetails", model.CreateProjectDetails.getJsonObj),
|
|
1773
|
+
pathParams: pathParams,
|
|
1774
|
+
headerParams: headerParams,
|
|
1775
|
+
queryParams: queryParams
|
|
1776
|
+
});
|
|
1777
|
+
try {
|
|
1778
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1779
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
1780
|
+
responseObject: {},
|
|
1781
|
+
body: yield response.json(),
|
|
1782
|
+
bodyKey: "project",
|
|
1783
|
+
bodyModel: model.Project,
|
|
1784
|
+
type: "model.Project",
|
|
1785
|
+
responseHeaders: [
|
|
1786
|
+
{
|
|
1787
|
+
value: response.headers.get("etag"),
|
|
1788
|
+
key: "etag",
|
|
1789
|
+
dataType: "string"
|
|
1790
|
+
},
|
|
1791
|
+
{
|
|
1792
|
+
value: response.headers.get("opc-request-id"),
|
|
1793
|
+
key: "opcRequestId",
|
|
1794
|
+
dataType: "string"
|
|
1795
|
+
}
|
|
1796
|
+
]
|
|
1797
|
+
});
|
|
1798
|
+
return sdkResponse;
|
|
1799
|
+
}
|
|
1800
|
+
catch (err) {
|
|
1801
|
+
throw err;
|
|
1802
|
+
}
|
|
1803
|
+
});
|
|
1804
|
+
}
|
|
1805
|
+
/**
|
|
1806
|
+
* Upload the artifact for a step in the pipeline.
|
|
1807
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1808
|
+
* @param CreateStepArtifactRequest
|
|
1809
|
+
* @return CreateStepArtifactResponse
|
|
1810
|
+
* @throws OciError when an error occurs
|
|
1811
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/CreateStepArtifact.ts.html |here} to see how to use CreateStepArtifact API.
|
|
1812
|
+
*/
|
|
1813
|
+
createStepArtifact(createStepArtifactRequest) {
|
|
1814
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1815
|
+
if (this.logger)
|
|
1816
|
+
this.logger.debug("Calling operation DataScienceClient#createStepArtifact.");
|
|
1817
|
+
const operationName = "createStepArtifact";
|
|
1818
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/Pipeline/CreateStepArtifact";
|
|
1819
|
+
const pathParams = {
|
|
1820
|
+
"{pipelineId}": createStepArtifactRequest.pipelineId,
|
|
1821
|
+
"{stepName}": createStepArtifactRequest.stepName
|
|
1822
|
+
};
|
|
1823
|
+
const queryParams = {};
|
|
1824
|
+
let headerParams = {
|
|
1825
|
+
"opc-request-id": createStepArtifactRequest.opcRequestId,
|
|
1826
|
+
"opc-retry-token": createStepArtifactRequest.opcRetryToken,
|
|
1827
|
+
"content-length": createStepArtifactRequest.contentLength,
|
|
1828
|
+
"content-disposition": createStepArtifactRequest.contentDisposition
|
|
1829
|
+
};
|
|
1830
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1831
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createStepArtifactRequest.retryConfiguration, specRetryConfiguration);
|
|
1832
|
+
if (this.logger)
|
|
1833
|
+
retrier.logger = this.logger;
|
|
1834
|
+
const request = yield oci_common_2.composeRequest({
|
|
1835
|
+
baseEndpoint: this._endpoint,
|
|
1836
|
+
defaultHeaders: this._defaultHeaders,
|
|
1837
|
+
path: "/pipelines/{pipelineId}/steps/{stepName}/artifact",
|
|
1838
|
+
method: "POST",
|
|
1839
|
+
bodyContent: createStepArtifactRequest.stepArtifact,
|
|
1840
|
+
pathParams: pathParams,
|
|
1841
|
+
headerParams: headerParams,
|
|
1842
|
+
backupBinaryBody: retrier.backUpBinaryBody,
|
|
1843
|
+
queryParams: queryParams
|
|
1844
|
+
});
|
|
1845
|
+
try {
|
|
1846
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink, true);
|
|
1847
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
1848
|
+
responseObject: {},
|
|
1849
|
+
responseHeaders: [
|
|
1850
|
+
{
|
|
1851
|
+
value: response.headers.get("opc-request-id"),
|
|
1852
|
+
key: "opcRequestId",
|
|
1853
|
+
dataType: "string"
|
|
1854
|
+
}
|
|
1855
|
+
]
|
|
1856
|
+
});
|
|
1857
|
+
return sdkResponse;
|
|
1858
|
+
}
|
|
1859
|
+
catch (err) {
|
|
1860
|
+
throw err;
|
|
1861
|
+
}
|
|
1862
|
+
});
|
|
1863
|
+
}
|
|
1864
|
+
/**
|
|
1865
|
+
* Deactivates the model.
|
|
1866
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1867
|
+
* @param DeactivateModelRequest
|
|
1868
|
+
* @return DeactivateModelResponse
|
|
1869
|
+
* @throws OciError when an error occurs
|
|
1870
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/DeactivateModel.ts.html |here} to see how to use DeactivateModel API.
|
|
1871
|
+
*/
|
|
1872
|
+
deactivateModel(deactivateModelRequest) {
|
|
1873
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1874
|
+
if (this.logger)
|
|
1875
|
+
this.logger.debug("Calling operation DataScienceClient#deactivateModel.");
|
|
1876
|
+
const operationName = "deactivateModel";
|
|
1877
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/Model/DeactivateModel";
|
|
1878
|
+
const pathParams = {
|
|
1879
|
+
"{modelId}": deactivateModelRequest.modelId
|
|
1880
|
+
};
|
|
1881
|
+
const queryParams = {};
|
|
1882
|
+
let headerParams = {
|
|
1883
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1884
|
+
"if-match": deactivateModelRequest.ifMatch,
|
|
1885
|
+
"opc-request-id": deactivateModelRequest.opcRequestId
|
|
1886
|
+
};
|
|
1887
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1888
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deactivateModelRequest.retryConfiguration, specRetryConfiguration);
|
|
1889
|
+
if (this.logger)
|
|
1890
|
+
retrier.logger = this.logger;
|
|
1891
|
+
const request = yield oci_common_2.composeRequest({
|
|
1892
|
+
baseEndpoint: this._endpoint,
|
|
1893
|
+
defaultHeaders: this._defaultHeaders,
|
|
1894
|
+
path: "/models/{modelId}/actions/deactivate",
|
|
1895
|
+
method: "POST",
|
|
1896
|
+
pathParams: pathParams,
|
|
1897
|
+
headerParams: headerParams,
|
|
1898
|
+
queryParams: queryParams
|
|
1899
|
+
});
|
|
1900
|
+
try {
|
|
1901
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1902
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
1903
|
+
responseObject: {},
|
|
1904
|
+
body: yield response.json(),
|
|
1905
|
+
bodyKey: "model",
|
|
1906
|
+
bodyModel: model.Model,
|
|
1907
|
+
type: "model.Model",
|
|
1908
|
+
responseHeaders: [
|
|
1909
|
+
{
|
|
1910
|
+
value: response.headers.get("etag"),
|
|
1911
|
+
key: "etag",
|
|
1912
|
+
dataType: "string"
|
|
1913
|
+
},
|
|
1914
|
+
{
|
|
1915
|
+
value: response.headers.get("opc-request-id"),
|
|
1431
1916
|
key: "opcRequestId",
|
|
1432
1917
|
dataType: "string"
|
|
1433
1918
|
}
|
|
@@ -1446,7 +1931,7 @@ class DataScienceClient {
|
|
|
1446
1931
|
* @param DeactivateModelDeploymentRequest
|
|
1447
1932
|
* @return DeactivateModelDeploymentResponse
|
|
1448
1933
|
* @throws OciError when an error occurs
|
|
1449
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
1934
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/DeactivateModelDeployment.ts.html |here} to see how to use DeactivateModelDeployment API.
|
|
1450
1935
|
*/
|
|
1451
1936
|
deactivateModelDeployment(deactivateModelDeploymentRequest) {
|
|
1452
1937
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1506,7 +1991,7 @@ class DataScienceClient {
|
|
|
1506
1991
|
* @param DeactivateNotebookSessionRequest
|
|
1507
1992
|
* @return DeactivateNotebookSessionResponse
|
|
1508
1993
|
* @throws OciError when an error occurs
|
|
1509
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
1994
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/DeactivateNotebookSession.ts.html |here} to see how to use DeactivateNotebookSession API.
|
|
1510
1995
|
*/
|
|
1511
1996
|
deactivateNotebookSession(deactivateNotebookSessionRequest) {
|
|
1512
1997
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1566,7 +2051,7 @@ class DataScienceClient {
|
|
|
1566
2051
|
* @param DeleteJobRequest
|
|
1567
2052
|
* @return DeleteJobResponse
|
|
1568
2053
|
* @throws OciError when an error occurs
|
|
1569
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
2054
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/DeleteJob.ts.html |here} to see how to use DeleteJob API.
|
|
1570
2055
|
*/
|
|
1571
2056
|
deleteJob(deleteJobRequest) {
|
|
1572
2057
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1628,7 +2113,7 @@ class DataScienceClient {
|
|
|
1628
2113
|
* @param DeleteJobRunRequest
|
|
1629
2114
|
* @return DeleteJobRunResponse
|
|
1630
2115
|
* @throws OciError when an error occurs
|
|
1631
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
2116
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/DeleteJobRun.ts.html |here} to see how to use DeleteJobRun API.
|
|
1632
2117
|
*/
|
|
1633
2118
|
deleteJobRun(deleteJobRunRequest) {
|
|
1634
2119
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1683,7 +2168,7 @@ class DataScienceClient {
|
|
|
1683
2168
|
* @param DeleteModelRequest
|
|
1684
2169
|
* @return DeleteModelResponse
|
|
1685
2170
|
* @throws OciError when an error occurs
|
|
1686
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
2171
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/DeleteModel.ts.html |here} to see how to use DeleteModel API.
|
|
1687
2172
|
*/
|
|
1688
2173
|
deleteModel(deleteModelRequest) {
|
|
1689
2174
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1738,7 +2223,7 @@ class DataScienceClient {
|
|
|
1738
2223
|
* @param DeleteModelDeploymentRequest
|
|
1739
2224
|
* @return DeleteModelDeploymentResponse
|
|
1740
2225
|
* @throws OciError when an error occurs
|
|
1741
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
2226
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/DeleteModelDeployment.ts.html |here} to see how to use DeleteModelDeployment API.
|
|
1742
2227
|
*/
|
|
1743
2228
|
deleteModelDeployment(deleteModelDeploymentRequest) {
|
|
1744
2229
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1793,36 +2278,38 @@ class DataScienceClient {
|
|
|
1793
2278
|
});
|
|
1794
2279
|
}
|
|
1795
2280
|
/**
|
|
1796
|
-
* Deletes the specified
|
|
2281
|
+
* Deletes the specified modelVersionSet.
|
|
1797
2282
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1798
|
-
* @param
|
|
1799
|
-
* @return
|
|
2283
|
+
* @param DeleteModelVersionSetRequest
|
|
2284
|
+
* @return DeleteModelVersionSetResponse
|
|
1800
2285
|
* @throws OciError when an error occurs
|
|
1801
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
2286
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/DeleteModelVersionSet.ts.html |here} to see how to use DeleteModelVersionSet API.
|
|
1802
2287
|
*/
|
|
1803
|
-
|
|
2288
|
+
deleteModelVersionSet(deleteModelVersionSetRequest) {
|
|
1804
2289
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1805
2290
|
if (this.logger)
|
|
1806
|
-
this.logger.debug("Calling operation DataScienceClient#
|
|
1807
|
-
const operationName = "
|
|
1808
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/
|
|
2291
|
+
this.logger.debug("Calling operation DataScienceClient#deleteModelVersionSet.");
|
|
2292
|
+
const operationName = "deleteModelVersionSet";
|
|
2293
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/ModelVersionSet/DeleteModelVersionSet";
|
|
1809
2294
|
const pathParams = {
|
|
1810
|
-
"{
|
|
2295
|
+
"{modelVersionSetId}": deleteModelVersionSetRequest.modelVersionSetId
|
|
2296
|
+
};
|
|
2297
|
+
const queryParams = {
|
|
2298
|
+
"isDeleteRelatedModels": deleteModelVersionSetRequest.isDeleteRelatedModels
|
|
1811
2299
|
};
|
|
1812
|
-
const queryParams = {};
|
|
1813
2300
|
let headerParams = {
|
|
1814
2301
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1815
|
-
"if-match":
|
|
1816
|
-
"opc-request-id":
|
|
2302
|
+
"if-match": deleteModelVersionSetRequest.ifMatch,
|
|
2303
|
+
"opc-request-id": deleteModelVersionSetRequest.opcRequestId
|
|
1817
2304
|
};
|
|
1818
2305
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1819
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
2306
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteModelVersionSetRequest.retryConfiguration, specRetryConfiguration);
|
|
1820
2307
|
if (this.logger)
|
|
1821
2308
|
retrier.logger = this.logger;
|
|
1822
2309
|
const request = yield oci_common_2.composeRequest({
|
|
1823
2310
|
baseEndpoint: this._endpoint,
|
|
1824
2311
|
defaultHeaders: this._defaultHeaders,
|
|
1825
|
-
path: "/
|
|
2312
|
+
path: "/modelVersionSets/{modelVersionSetId}",
|
|
1826
2313
|
method: "DELETE",
|
|
1827
2314
|
pathParams: pathParams,
|
|
1828
2315
|
headerParams: headerParams,
|
|
@@ -1853,36 +2340,36 @@ class DataScienceClient {
|
|
|
1853
2340
|
});
|
|
1854
2341
|
}
|
|
1855
2342
|
/**
|
|
1856
|
-
* Deletes the specified
|
|
2343
|
+
* Deletes the specified notebook session. Any unsaved work in this notebook session are lost.
|
|
1857
2344
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1858
|
-
* @param
|
|
1859
|
-
* @return
|
|
2345
|
+
* @param DeleteNotebookSessionRequest
|
|
2346
|
+
* @return DeleteNotebookSessionResponse
|
|
1860
2347
|
* @throws OciError when an error occurs
|
|
1861
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
2348
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/DeleteNotebookSession.ts.html |here} to see how to use DeleteNotebookSession API.
|
|
1862
2349
|
*/
|
|
1863
|
-
|
|
2350
|
+
deleteNotebookSession(deleteNotebookSessionRequest) {
|
|
1864
2351
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1865
2352
|
if (this.logger)
|
|
1866
|
-
this.logger.debug("Calling operation DataScienceClient#
|
|
1867
|
-
const operationName = "
|
|
1868
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/
|
|
2353
|
+
this.logger.debug("Calling operation DataScienceClient#deleteNotebookSession.");
|
|
2354
|
+
const operationName = "deleteNotebookSession";
|
|
2355
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/NotebookSession/DeleteNotebookSession";
|
|
1869
2356
|
const pathParams = {
|
|
1870
|
-
"{
|
|
2357
|
+
"{notebookSessionId}": deleteNotebookSessionRequest.notebookSessionId
|
|
1871
2358
|
};
|
|
1872
2359
|
const queryParams = {};
|
|
1873
2360
|
let headerParams = {
|
|
1874
2361
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1875
|
-
"if-match":
|
|
1876
|
-
"opc-request-id":
|
|
2362
|
+
"if-match": deleteNotebookSessionRequest.ifMatch,
|
|
2363
|
+
"opc-request-id": deleteNotebookSessionRequest.opcRequestId
|
|
1877
2364
|
};
|
|
1878
2365
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1879
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
2366
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteNotebookSessionRequest.retryConfiguration, specRetryConfiguration);
|
|
1880
2367
|
if (this.logger)
|
|
1881
2368
|
retrier.logger = this.logger;
|
|
1882
2369
|
const request = yield oci_common_2.composeRequest({
|
|
1883
2370
|
baseEndpoint: this._endpoint,
|
|
1884
2371
|
defaultHeaders: this._defaultHeaders,
|
|
1885
|
-
path: "/
|
|
2372
|
+
path: "/notebookSessions/{notebookSessionId}",
|
|
1886
2373
|
method: "DELETE",
|
|
1887
2374
|
pathParams: pathParams,
|
|
1888
2375
|
headerParams: headerParams,
|
|
@@ -1913,39 +2400,40 @@ class DataScienceClient {
|
|
|
1913
2400
|
});
|
|
1914
2401
|
}
|
|
1915
2402
|
/**
|
|
1916
|
-
*
|
|
1917
|
-
* This operation
|
|
1918
|
-
* @param
|
|
1919
|
-
* @return
|
|
2403
|
+
* Deletes a Pipeline resource by identifier.
|
|
2404
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2405
|
+
* @param DeletePipelineRequest
|
|
2406
|
+
* @return DeletePipelineResponse
|
|
1920
2407
|
* @throws OciError when an error occurs
|
|
1921
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
2408
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/DeletePipeline.ts.html |here} to see how to use DeletePipeline API.
|
|
1922
2409
|
*/
|
|
1923
|
-
|
|
2410
|
+
deletePipeline(deletePipelineRequest) {
|
|
1924
2411
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1925
2412
|
if (this.logger)
|
|
1926
|
-
this.logger.debug("Calling operation DataScienceClient#
|
|
1927
|
-
const operationName = "
|
|
1928
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/
|
|
2413
|
+
this.logger.debug("Calling operation DataScienceClient#deletePipeline.");
|
|
2414
|
+
const operationName = "deletePipeline";
|
|
2415
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/Pipeline/DeletePipeline";
|
|
1929
2416
|
const pathParams = {
|
|
1930
|
-
"{
|
|
2417
|
+
"{pipelineId}": deletePipelineRequest.pipelineId
|
|
2418
|
+
};
|
|
2419
|
+
const queryParams = {
|
|
2420
|
+
"deleteRelatedPipelineRuns": deletePipelineRequest.deleteRelatedPipelineRuns,
|
|
2421
|
+
"deleteRelatedJobRuns": deletePipelineRequest.deleteRelatedJobRuns
|
|
1931
2422
|
};
|
|
1932
|
-
const queryParams = {};
|
|
1933
2423
|
let headerParams = {
|
|
1934
2424
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1935
|
-
"
|
|
1936
|
-
"opc-
|
|
1937
|
-
"if-match": exportModelArtifactRequest.ifMatch
|
|
2425
|
+
"if-match": deletePipelineRequest.ifMatch,
|
|
2426
|
+
"opc-request-id": deletePipelineRequest.opcRequestId
|
|
1938
2427
|
};
|
|
1939
|
-
const specRetryConfiguration = common.
|
|
1940
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
2428
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2429
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deletePipelineRequest.retryConfiguration, specRetryConfiguration);
|
|
1941
2430
|
if (this.logger)
|
|
1942
2431
|
retrier.logger = this.logger;
|
|
1943
2432
|
const request = yield oci_common_2.composeRequest({
|
|
1944
2433
|
baseEndpoint: this._endpoint,
|
|
1945
2434
|
defaultHeaders: this._defaultHeaders,
|
|
1946
|
-
path: "/
|
|
1947
|
-
method: "
|
|
1948
|
-
bodyContent: common.ObjectSerializer.serialize(exportModelArtifactRequest.exportModelArtifactDetails, "ExportModelArtifactDetails", model.ExportModelArtifactDetails.getJsonObj),
|
|
2435
|
+
path: "/pipelines/{pipelineId}",
|
|
2436
|
+
method: "DELETE",
|
|
1949
2437
|
pathParams: pathParams,
|
|
1950
2438
|
headerParams: headerParams,
|
|
1951
2439
|
queryParams: queryParams
|
|
@@ -1956,13 +2444,13 @@ class DataScienceClient {
|
|
|
1956
2444
|
responseObject: {},
|
|
1957
2445
|
responseHeaders: [
|
|
1958
2446
|
{
|
|
1959
|
-
value: response.headers.get("opc-request-id"),
|
|
1960
|
-
key: "
|
|
2447
|
+
value: response.headers.get("opc-work-request-id"),
|
|
2448
|
+
key: "opcWorkRequestId",
|
|
1961
2449
|
dataType: "string"
|
|
1962
2450
|
},
|
|
1963
2451
|
{
|
|
1964
|
-
value: response.headers.get("opc-
|
|
1965
|
-
key: "
|
|
2452
|
+
value: response.headers.get("opc-request-id"),
|
|
2453
|
+
key: "opcRequestId",
|
|
1966
2454
|
dataType: "string"
|
|
1967
2455
|
}
|
|
1968
2456
|
]
|
|
@@ -1975,23 +2463,202 @@ class DataScienceClient {
|
|
|
1975
2463
|
});
|
|
1976
2464
|
}
|
|
1977
2465
|
/**
|
|
1978
|
-
*
|
|
1979
|
-
* This operation
|
|
1980
|
-
* @param
|
|
1981
|
-
* @return
|
|
2466
|
+
* Deletes a PipelineRun resource by identifier.
|
|
2467
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2468
|
+
* @param DeletePipelineRunRequest
|
|
2469
|
+
* @return DeletePipelineRunResponse
|
|
1982
2470
|
* @throws OciError when an error occurs
|
|
1983
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
2471
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/DeletePipelineRun.ts.html |here} to see how to use DeletePipelineRun API.
|
|
1984
2472
|
*/
|
|
1985
|
-
|
|
2473
|
+
deletePipelineRun(deletePipelineRunRequest) {
|
|
1986
2474
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1987
2475
|
if (this.logger)
|
|
1988
|
-
this.logger.debug("Calling operation DataScienceClient#
|
|
1989
|
-
const operationName = "
|
|
1990
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/
|
|
2476
|
+
this.logger.debug("Calling operation DataScienceClient#deletePipelineRun.");
|
|
2477
|
+
const operationName = "deletePipelineRun";
|
|
2478
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/PipelineRun/DeletePipelineRun";
|
|
1991
2479
|
const pathParams = {
|
|
1992
|
-
"{
|
|
2480
|
+
"{pipelineRunId}": deletePipelineRunRequest.pipelineRunId
|
|
2481
|
+
};
|
|
2482
|
+
const queryParams = {
|
|
2483
|
+
"deleteRelatedJobRuns": deletePipelineRunRequest.deleteRelatedJobRuns
|
|
1993
2484
|
};
|
|
1994
|
-
|
|
2485
|
+
let headerParams = {
|
|
2486
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2487
|
+
"if-match": deletePipelineRunRequest.ifMatch,
|
|
2488
|
+
"opc-request-id": deletePipelineRunRequest.opcRequestId
|
|
2489
|
+
};
|
|
2490
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2491
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deletePipelineRunRequest.retryConfiguration, specRetryConfiguration);
|
|
2492
|
+
if (this.logger)
|
|
2493
|
+
retrier.logger = this.logger;
|
|
2494
|
+
const request = yield oci_common_2.composeRequest({
|
|
2495
|
+
baseEndpoint: this._endpoint,
|
|
2496
|
+
defaultHeaders: this._defaultHeaders,
|
|
2497
|
+
path: "/pipelineRuns/{pipelineRunId}",
|
|
2498
|
+
method: "DELETE",
|
|
2499
|
+
pathParams: pathParams,
|
|
2500
|
+
headerParams: headerParams,
|
|
2501
|
+
queryParams: queryParams
|
|
2502
|
+
});
|
|
2503
|
+
try {
|
|
2504
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2505
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
2506
|
+
responseObject: {},
|
|
2507
|
+
responseHeaders: [
|
|
2508
|
+
{
|
|
2509
|
+
value: response.headers.get("opc-request-id"),
|
|
2510
|
+
key: "opcRequestId",
|
|
2511
|
+
dataType: "string"
|
|
2512
|
+
}
|
|
2513
|
+
]
|
|
2514
|
+
});
|
|
2515
|
+
return sdkResponse;
|
|
2516
|
+
}
|
|
2517
|
+
catch (err) {
|
|
2518
|
+
throw err;
|
|
2519
|
+
}
|
|
2520
|
+
});
|
|
2521
|
+
}
|
|
2522
|
+
/**
|
|
2523
|
+
* Deletes the specified project. This operation fails unless all associated resources (notebook sessions or models) are in a DELETED state. You must delete all associated resources before deleting a project.
|
|
2524
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2525
|
+
* @param DeleteProjectRequest
|
|
2526
|
+
* @return DeleteProjectResponse
|
|
2527
|
+
* @throws OciError when an error occurs
|
|
2528
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/DeleteProject.ts.html |here} to see how to use DeleteProject API.
|
|
2529
|
+
*/
|
|
2530
|
+
deleteProject(deleteProjectRequest) {
|
|
2531
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2532
|
+
if (this.logger)
|
|
2533
|
+
this.logger.debug("Calling operation DataScienceClient#deleteProject.");
|
|
2534
|
+
const operationName = "deleteProject";
|
|
2535
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/Project/DeleteProject";
|
|
2536
|
+
const pathParams = {
|
|
2537
|
+
"{projectId}": deleteProjectRequest.projectId
|
|
2538
|
+
};
|
|
2539
|
+
const queryParams = {};
|
|
2540
|
+
let headerParams = {
|
|
2541
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2542
|
+
"if-match": deleteProjectRequest.ifMatch,
|
|
2543
|
+
"opc-request-id": deleteProjectRequest.opcRequestId
|
|
2544
|
+
};
|
|
2545
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2546
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteProjectRequest.retryConfiguration, specRetryConfiguration);
|
|
2547
|
+
if (this.logger)
|
|
2548
|
+
retrier.logger = this.logger;
|
|
2549
|
+
const request = yield oci_common_2.composeRequest({
|
|
2550
|
+
baseEndpoint: this._endpoint,
|
|
2551
|
+
defaultHeaders: this._defaultHeaders,
|
|
2552
|
+
path: "/projects/{projectId}",
|
|
2553
|
+
method: "DELETE",
|
|
2554
|
+
pathParams: pathParams,
|
|
2555
|
+
headerParams: headerParams,
|
|
2556
|
+
queryParams: queryParams
|
|
2557
|
+
});
|
|
2558
|
+
try {
|
|
2559
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2560
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
2561
|
+
responseObject: {},
|
|
2562
|
+
responseHeaders: [
|
|
2563
|
+
{
|
|
2564
|
+
value: response.headers.get("opc-work-request-id"),
|
|
2565
|
+
key: "opcWorkRequestId",
|
|
2566
|
+
dataType: "string"
|
|
2567
|
+
},
|
|
2568
|
+
{
|
|
2569
|
+
value: response.headers.get("opc-request-id"),
|
|
2570
|
+
key: "opcRequestId",
|
|
2571
|
+
dataType: "string"
|
|
2572
|
+
}
|
|
2573
|
+
]
|
|
2574
|
+
});
|
|
2575
|
+
return sdkResponse;
|
|
2576
|
+
}
|
|
2577
|
+
catch (err) {
|
|
2578
|
+
throw err;
|
|
2579
|
+
}
|
|
2580
|
+
});
|
|
2581
|
+
}
|
|
2582
|
+
/**
|
|
2583
|
+
* Export model artifact from source to the service bucket
|
|
2584
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2585
|
+
* @param ExportModelArtifactRequest
|
|
2586
|
+
* @return ExportModelArtifactResponse
|
|
2587
|
+
* @throws OciError when an error occurs
|
|
2588
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ExportModelArtifact.ts.html |here} to see how to use ExportModelArtifact API.
|
|
2589
|
+
*/
|
|
2590
|
+
exportModelArtifact(exportModelArtifactRequest) {
|
|
2591
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2592
|
+
if (this.logger)
|
|
2593
|
+
this.logger.debug("Calling operation DataScienceClient#exportModelArtifact.");
|
|
2594
|
+
const operationName = "exportModelArtifact";
|
|
2595
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/Model/ExportModelArtifact";
|
|
2596
|
+
const pathParams = {
|
|
2597
|
+
"{modelId}": exportModelArtifactRequest.modelId
|
|
2598
|
+
};
|
|
2599
|
+
const queryParams = {};
|
|
2600
|
+
let headerParams = {
|
|
2601
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2602
|
+
"opc-request-id": exportModelArtifactRequest.opcRequestId,
|
|
2603
|
+
"opc-retry-token": exportModelArtifactRequest.opcRetryToken,
|
|
2604
|
+
"if-match": exportModelArtifactRequest.ifMatch
|
|
2605
|
+
};
|
|
2606
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2607
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, exportModelArtifactRequest.retryConfiguration, specRetryConfiguration);
|
|
2608
|
+
if (this.logger)
|
|
2609
|
+
retrier.logger = this.logger;
|
|
2610
|
+
const request = yield oci_common_2.composeRequest({
|
|
2611
|
+
baseEndpoint: this._endpoint,
|
|
2612
|
+
defaultHeaders: this._defaultHeaders,
|
|
2613
|
+
path: "/models/{modelId}/actions/exportArtifact",
|
|
2614
|
+
method: "POST",
|
|
2615
|
+
bodyContent: common.ObjectSerializer.serialize(exportModelArtifactRequest.exportModelArtifactDetails, "ExportModelArtifactDetails", model.ExportModelArtifactDetails.getJsonObj),
|
|
2616
|
+
pathParams: pathParams,
|
|
2617
|
+
headerParams: headerParams,
|
|
2618
|
+
queryParams: queryParams
|
|
2619
|
+
});
|
|
2620
|
+
try {
|
|
2621
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2622
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
2623
|
+
responseObject: {},
|
|
2624
|
+
responseHeaders: [
|
|
2625
|
+
{
|
|
2626
|
+
value: response.headers.get("opc-request-id"),
|
|
2627
|
+
key: "opcRequestId",
|
|
2628
|
+
dataType: "string"
|
|
2629
|
+
},
|
|
2630
|
+
{
|
|
2631
|
+
value: response.headers.get("opc-work-request-id"),
|
|
2632
|
+
key: "opcWorkRequestId",
|
|
2633
|
+
dataType: "string"
|
|
2634
|
+
}
|
|
2635
|
+
]
|
|
2636
|
+
});
|
|
2637
|
+
return sdkResponse;
|
|
2638
|
+
}
|
|
2639
|
+
catch (err) {
|
|
2640
|
+
throw err;
|
|
2641
|
+
}
|
|
2642
|
+
});
|
|
2643
|
+
}
|
|
2644
|
+
/**
|
|
2645
|
+
* Gets a job.
|
|
2646
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2647
|
+
* @param GetJobRequest
|
|
2648
|
+
* @return GetJobResponse
|
|
2649
|
+
* @throws OciError when an error occurs
|
|
2650
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/GetJob.ts.html |here} to see how to use GetJob API.
|
|
2651
|
+
*/
|
|
2652
|
+
getJob(getJobRequest) {
|
|
2653
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2654
|
+
if (this.logger)
|
|
2655
|
+
this.logger.debug("Calling operation DataScienceClient#getJob.");
|
|
2656
|
+
const operationName = "getJob";
|
|
2657
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/Job/GetJob";
|
|
2658
|
+
const pathParams = {
|
|
2659
|
+
"{jobId}": getJobRequest.jobId
|
|
2660
|
+
};
|
|
2661
|
+
const queryParams = {};
|
|
1995
2662
|
let headerParams = {
|
|
1996
2663
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1997
2664
|
"opc-request-id": getJobRequest.opcRequestId
|
|
@@ -2043,7 +2710,7 @@ class DataScienceClient {
|
|
|
2043
2710
|
* @param GetJobArtifactContentRequest
|
|
2044
2711
|
* @return GetJobArtifactContentResponse
|
|
2045
2712
|
* @throws OciError when an error occurs
|
|
2046
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
2713
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/GetJobArtifactContent.ts.html |here} to see how to use GetJobArtifactContent API.
|
|
2047
2714
|
*/
|
|
2048
2715
|
getJobArtifactContent(getJobArtifactContentRequest) {
|
|
2049
2716
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2126,7 +2793,7 @@ class DataScienceClient {
|
|
|
2126
2793
|
* @param GetJobRunRequest
|
|
2127
2794
|
* @return GetJobRunResponse
|
|
2128
2795
|
* @throws OciError when an error occurs
|
|
2129
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
2796
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/GetJobRun.ts.html |here} to see how to use GetJobRun API.
|
|
2130
2797
|
*/
|
|
2131
2798
|
getJobRun(getJobRunRequest) {
|
|
2132
2799
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2189,7 +2856,7 @@ class DataScienceClient {
|
|
|
2189
2856
|
* @param GetModelRequest
|
|
2190
2857
|
* @return GetModelResponse
|
|
2191
2858
|
* @throws OciError when an error occurs
|
|
2192
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
2859
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/GetModel.ts.html |here} to see how to use GetModel API.
|
|
2193
2860
|
*/
|
|
2194
2861
|
getModel(getModelRequest) {
|
|
2195
2862
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2252,7 +2919,7 @@ class DataScienceClient {
|
|
|
2252
2919
|
* @param GetModelArtifactContentRequest
|
|
2253
2920
|
* @return GetModelArtifactContentResponse
|
|
2254
2921
|
* @throws OciError when an error occurs
|
|
2255
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
2922
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/GetModelArtifactContent.ts.html |here} to see how to use GetModelArtifactContent API.
|
|
2256
2923
|
*/
|
|
2257
2924
|
getModelArtifactContent(getModelArtifactContentRequest) {
|
|
2258
2925
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2335,7 +3002,7 @@ class DataScienceClient {
|
|
|
2335
3002
|
* @param GetModelDeploymentRequest
|
|
2336
3003
|
* @return GetModelDeploymentResponse
|
|
2337
3004
|
* @throws OciError when an error occurs
|
|
2338
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
3005
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/GetModelDeployment.ts.html |here} to see how to use GetModelDeployment API.
|
|
2339
3006
|
*/
|
|
2340
3007
|
getModelDeployment(getModelDeploymentRequest) {
|
|
2341
3008
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2398,7 +3065,7 @@ class DataScienceClient {
|
|
|
2398
3065
|
* @param GetModelProvenanceRequest
|
|
2399
3066
|
* @return GetModelProvenanceResponse
|
|
2400
3067
|
* @throws OciError when an error occurs
|
|
2401
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
3068
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/GetModelProvenance.ts.html |here} to see how to use GetModelProvenance API.
|
|
2402
3069
|
*/
|
|
2403
3070
|
getModelProvenance(getModelProvenanceRequest) {
|
|
2404
3071
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2456,35 +3123,35 @@ class DataScienceClient {
|
|
|
2456
3123
|
});
|
|
2457
3124
|
}
|
|
2458
3125
|
/**
|
|
2459
|
-
* Gets the specified
|
|
3126
|
+
* Gets the specified model version set information.
|
|
2460
3127
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2461
|
-
* @param
|
|
2462
|
-
* @return
|
|
3128
|
+
* @param GetModelVersionSetRequest
|
|
3129
|
+
* @return GetModelVersionSetResponse
|
|
2463
3130
|
* @throws OciError when an error occurs
|
|
2464
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
3131
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/GetModelVersionSet.ts.html |here} to see how to use GetModelVersionSet API.
|
|
2465
3132
|
*/
|
|
2466
|
-
|
|
3133
|
+
getModelVersionSet(getModelVersionSetRequest) {
|
|
2467
3134
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2468
3135
|
if (this.logger)
|
|
2469
|
-
this.logger.debug("Calling operation DataScienceClient#
|
|
2470
|
-
const operationName = "
|
|
2471
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/
|
|
3136
|
+
this.logger.debug("Calling operation DataScienceClient#getModelVersionSet.");
|
|
3137
|
+
const operationName = "getModelVersionSet";
|
|
3138
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/ModelVersionSet/GetModelVersionSet";
|
|
2472
3139
|
const pathParams = {
|
|
2473
|
-
"{
|
|
3140
|
+
"{modelVersionSetId}": getModelVersionSetRequest.modelVersionSetId
|
|
2474
3141
|
};
|
|
2475
3142
|
const queryParams = {};
|
|
2476
3143
|
let headerParams = {
|
|
2477
3144
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2478
|
-
"opc-request-id":
|
|
3145
|
+
"opc-request-id": getModelVersionSetRequest.opcRequestId
|
|
2479
3146
|
};
|
|
2480
3147
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2481
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
3148
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getModelVersionSetRequest.retryConfiguration, specRetryConfiguration);
|
|
2482
3149
|
if (this.logger)
|
|
2483
3150
|
retrier.logger = this.logger;
|
|
2484
3151
|
const request = yield oci_common_2.composeRequest({
|
|
2485
3152
|
baseEndpoint: this._endpoint,
|
|
2486
3153
|
defaultHeaders: this._defaultHeaders,
|
|
2487
|
-
path: "/
|
|
3154
|
+
path: "/modelVersionSets/{modelVersionSetId}",
|
|
2488
3155
|
method: "GET",
|
|
2489
3156
|
pathParams: pathParams,
|
|
2490
3157
|
headerParams: headerParams,
|
|
@@ -2495,9 +3162,9 @@ class DataScienceClient {
|
|
|
2495
3162
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2496
3163
|
responseObject: {},
|
|
2497
3164
|
body: yield response.json(),
|
|
2498
|
-
bodyKey: "
|
|
2499
|
-
bodyModel: model.
|
|
2500
|
-
type: "model.
|
|
3165
|
+
bodyKey: "modelVersionSet",
|
|
3166
|
+
bodyModel: model.ModelVersionSet,
|
|
3167
|
+
type: "model.ModelVersionSet",
|
|
2501
3168
|
responseHeaders: [
|
|
2502
3169
|
{
|
|
2503
3170
|
value: response.headers.get("etag"),
|
|
@@ -2519,35 +3186,35 @@ class DataScienceClient {
|
|
|
2519
3186
|
});
|
|
2520
3187
|
}
|
|
2521
3188
|
/**
|
|
2522
|
-
* Gets the specified
|
|
3189
|
+
* Gets the specified notebook session's information.
|
|
2523
3190
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2524
|
-
* @param
|
|
2525
|
-
* @return
|
|
3191
|
+
* @param GetNotebookSessionRequest
|
|
3192
|
+
* @return GetNotebookSessionResponse
|
|
2526
3193
|
* @throws OciError when an error occurs
|
|
2527
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
3194
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/GetNotebookSession.ts.html |here} to see how to use GetNotebookSession API.
|
|
2528
3195
|
*/
|
|
2529
|
-
|
|
3196
|
+
getNotebookSession(getNotebookSessionRequest) {
|
|
2530
3197
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2531
3198
|
if (this.logger)
|
|
2532
|
-
this.logger.debug("Calling operation DataScienceClient#
|
|
2533
|
-
const operationName = "
|
|
2534
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/
|
|
3199
|
+
this.logger.debug("Calling operation DataScienceClient#getNotebookSession.");
|
|
3200
|
+
const operationName = "getNotebookSession";
|
|
3201
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/NotebookSession/GetNotebookSession";
|
|
2535
3202
|
const pathParams = {
|
|
2536
|
-
"{
|
|
3203
|
+
"{notebookSessionId}": getNotebookSessionRequest.notebookSessionId
|
|
2537
3204
|
};
|
|
2538
3205
|
const queryParams = {};
|
|
2539
3206
|
let headerParams = {
|
|
2540
3207
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2541
|
-
"opc-request-id":
|
|
3208
|
+
"opc-request-id": getNotebookSessionRequest.opcRequestId
|
|
2542
3209
|
};
|
|
2543
3210
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2544
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
3211
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getNotebookSessionRequest.retryConfiguration, specRetryConfiguration);
|
|
2545
3212
|
if (this.logger)
|
|
2546
3213
|
retrier.logger = this.logger;
|
|
2547
3214
|
const request = yield oci_common_2.composeRequest({
|
|
2548
3215
|
baseEndpoint: this._endpoint,
|
|
2549
3216
|
defaultHeaders: this._defaultHeaders,
|
|
2550
|
-
path: "/
|
|
3217
|
+
path: "/notebookSessions/{notebookSessionId}",
|
|
2551
3218
|
method: "GET",
|
|
2552
3219
|
pathParams: pathParams,
|
|
2553
3220
|
headerParams: headerParams,
|
|
@@ -2558,9 +3225,9 @@ class DataScienceClient {
|
|
|
2558
3225
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2559
3226
|
responseObject: {},
|
|
2560
3227
|
body: yield response.json(),
|
|
2561
|
-
bodyKey: "
|
|
2562
|
-
bodyModel: model.
|
|
2563
|
-
type: "model.
|
|
3228
|
+
bodyKey: "notebookSession",
|
|
3229
|
+
bodyModel: model.NotebookSession,
|
|
3230
|
+
type: "model.NotebookSession",
|
|
2564
3231
|
responseHeaders: [
|
|
2565
3232
|
{
|
|
2566
3233
|
value: response.headers.get("etag"),
|
|
@@ -2582,35 +3249,35 @@ class DataScienceClient {
|
|
|
2582
3249
|
});
|
|
2583
3250
|
}
|
|
2584
3251
|
/**
|
|
2585
|
-
* Gets
|
|
3252
|
+
* Gets a Pipeline by identifier.
|
|
2586
3253
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2587
|
-
* @param
|
|
2588
|
-
* @return
|
|
3254
|
+
* @param GetPipelineRequest
|
|
3255
|
+
* @return GetPipelineResponse
|
|
2589
3256
|
* @throws OciError when an error occurs
|
|
2590
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
3257
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/GetPipeline.ts.html |here} to see how to use GetPipeline API.
|
|
2591
3258
|
*/
|
|
2592
|
-
|
|
3259
|
+
getPipeline(getPipelineRequest) {
|
|
2593
3260
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2594
3261
|
if (this.logger)
|
|
2595
|
-
this.logger.debug("Calling operation DataScienceClient#
|
|
2596
|
-
const operationName = "
|
|
2597
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/
|
|
3262
|
+
this.logger.debug("Calling operation DataScienceClient#getPipeline.");
|
|
3263
|
+
const operationName = "getPipeline";
|
|
3264
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/Pipeline/GetPipeline";
|
|
2598
3265
|
const pathParams = {
|
|
2599
|
-
"{
|
|
3266
|
+
"{pipelineId}": getPipelineRequest.pipelineId
|
|
2600
3267
|
};
|
|
2601
3268
|
const queryParams = {};
|
|
2602
3269
|
let headerParams = {
|
|
2603
3270
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2604
|
-
"opc-request-id":
|
|
3271
|
+
"opc-request-id": getPipelineRequest.opcRequestId
|
|
2605
3272
|
};
|
|
2606
3273
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2607
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
3274
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPipelineRequest.retryConfiguration, specRetryConfiguration);
|
|
2608
3275
|
if (this.logger)
|
|
2609
3276
|
retrier.logger = this.logger;
|
|
2610
3277
|
const request = yield oci_common_2.composeRequest({
|
|
2611
3278
|
baseEndpoint: this._endpoint,
|
|
2612
3279
|
defaultHeaders: this._defaultHeaders,
|
|
2613
|
-
path: "/
|
|
3280
|
+
path: "/pipelines/{pipelineId}",
|
|
2614
3281
|
method: "GET",
|
|
2615
3282
|
pathParams: pathParams,
|
|
2616
3283
|
headerParams: headerParams,
|
|
@@ -2621,9 +3288,9 @@ class DataScienceClient {
|
|
|
2621
3288
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2622
3289
|
responseObject: {},
|
|
2623
3290
|
body: yield response.json(),
|
|
2624
|
-
bodyKey: "
|
|
2625
|
-
bodyModel: model.
|
|
2626
|
-
type: "model.
|
|
3291
|
+
bodyKey: "pipeline",
|
|
3292
|
+
bodyModel: model.Pipeline,
|
|
3293
|
+
type: "model.Pipeline",
|
|
2627
3294
|
responseHeaders: [
|
|
2628
3295
|
{
|
|
2629
3296
|
value: response.headers.get("etag"),
|
|
@@ -2634,11 +3301,6 @@ class DataScienceClient {
|
|
|
2634
3301
|
value: response.headers.get("opc-request-id"),
|
|
2635
3302
|
key: "opcRequestId",
|
|
2636
3303
|
dataType: "string"
|
|
2637
|
-
},
|
|
2638
|
-
{
|
|
2639
|
-
value: response.headers.get("retry-after"),
|
|
2640
|
-
key: "retryAfter",
|
|
2641
|
-
dataType: "number"
|
|
2642
3304
|
}
|
|
2643
3305
|
]
|
|
2644
3306
|
});
|
|
@@ -2650,36 +3312,36 @@ class DataScienceClient {
|
|
|
2650
3312
|
});
|
|
2651
3313
|
}
|
|
2652
3314
|
/**
|
|
2653
|
-
* Gets
|
|
3315
|
+
* Gets a PipelineRun by identifier.
|
|
2654
3316
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2655
|
-
* @param
|
|
2656
|
-
* @return
|
|
3317
|
+
* @param GetPipelineRunRequest
|
|
3318
|
+
* @return GetPipelineRunResponse
|
|
2657
3319
|
* @throws OciError when an error occurs
|
|
2658
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
3320
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/GetPipelineRun.ts.html |here} to see how to use GetPipelineRun API.
|
|
2659
3321
|
*/
|
|
2660
|
-
|
|
3322
|
+
getPipelineRun(getPipelineRunRequest) {
|
|
2661
3323
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2662
3324
|
if (this.logger)
|
|
2663
|
-
this.logger.debug("Calling operation DataScienceClient#
|
|
2664
|
-
const operationName = "
|
|
2665
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/
|
|
3325
|
+
this.logger.debug("Calling operation DataScienceClient#getPipelineRun.");
|
|
3326
|
+
const operationName = "getPipelineRun";
|
|
3327
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/PipelineRun/GetPipelineRun";
|
|
2666
3328
|
const pathParams = {
|
|
2667
|
-
"{
|
|
3329
|
+
"{pipelineRunId}": getPipelineRunRequest.pipelineRunId
|
|
2668
3330
|
};
|
|
2669
3331
|
const queryParams = {};
|
|
2670
3332
|
let headerParams = {
|
|
2671
3333
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2672
|
-
"opc-request-id":
|
|
3334
|
+
"opc-request-id": getPipelineRunRequest.opcRequestId
|
|
2673
3335
|
};
|
|
2674
3336
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2675
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
3337
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPipelineRunRequest.retryConfiguration, specRetryConfiguration);
|
|
2676
3338
|
if (this.logger)
|
|
2677
3339
|
retrier.logger = this.logger;
|
|
2678
3340
|
const request = yield oci_common_2.composeRequest({
|
|
2679
3341
|
baseEndpoint: this._endpoint,
|
|
2680
3342
|
defaultHeaders: this._defaultHeaders,
|
|
2681
|
-
path: "/
|
|
2682
|
-
method: "
|
|
3343
|
+
path: "/pipelineRuns/{pipelineRunId}",
|
|
3344
|
+
method: "GET",
|
|
2683
3345
|
pathParams: pathParams,
|
|
2684
3346
|
headerParams: headerParams,
|
|
2685
3347
|
queryParams: queryParams
|
|
@@ -2688,6 +3350,10 @@ class DataScienceClient {
|
|
|
2688
3350
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2689
3351
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2690
3352
|
responseObject: {},
|
|
3353
|
+
body: yield response.json(),
|
|
3354
|
+
bodyKey: "pipelineRun",
|
|
3355
|
+
bodyModel: model.PipelineRun,
|
|
3356
|
+
type: "model.PipelineRun",
|
|
2691
3357
|
responseHeaders: [
|
|
2692
3358
|
{
|
|
2693
3359
|
value: response.headers.get("etag"),
|
|
@@ -2698,26 +3364,153 @@ class DataScienceClient {
|
|
|
2698
3364
|
value: response.headers.get("opc-request-id"),
|
|
2699
3365
|
key: "opcRequestId",
|
|
2700
3366
|
dataType: "string"
|
|
2701
|
-
}
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
3367
|
+
}
|
|
3368
|
+
]
|
|
3369
|
+
});
|
|
3370
|
+
return sdkResponse;
|
|
3371
|
+
}
|
|
3372
|
+
catch (err) {
|
|
3373
|
+
throw err;
|
|
3374
|
+
}
|
|
3375
|
+
});
|
|
3376
|
+
}
|
|
3377
|
+
/**
|
|
3378
|
+
* Gets the specified project's information.
|
|
3379
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3380
|
+
* @param GetProjectRequest
|
|
3381
|
+
* @return GetProjectResponse
|
|
3382
|
+
* @throws OciError when an error occurs
|
|
3383
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/GetProject.ts.html |here} to see how to use GetProject API.
|
|
3384
|
+
*/
|
|
3385
|
+
getProject(getProjectRequest) {
|
|
3386
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3387
|
+
if (this.logger)
|
|
3388
|
+
this.logger.debug("Calling operation DataScienceClient#getProject.");
|
|
3389
|
+
const operationName = "getProject";
|
|
3390
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/Project/GetProject";
|
|
3391
|
+
const pathParams = {
|
|
3392
|
+
"{projectId}": getProjectRequest.projectId
|
|
3393
|
+
};
|
|
3394
|
+
const queryParams = {};
|
|
3395
|
+
let headerParams = {
|
|
3396
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3397
|
+
"opc-request-id": getProjectRequest.opcRequestId
|
|
3398
|
+
};
|
|
3399
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3400
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getProjectRequest.retryConfiguration, specRetryConfiguration);
|
|
3401
|
+
if (this.logger)
|
|
3402
|
+
retrier.logger = this.logger;
|
|
3403
|
+
const request = yield oci_common_2.composeRequest({
|
|
3404
|
+
baseEndpoint: this._endpoint,
|
|
3405
|
+
defaultHeaders: this._defaultHeaders,
|
|
3406
|
+
path: "/projects/{projectId}",
|
|
3407
|
+
method: "GET",
|
|
3408
|
+
pathParams: pathParams,
|
|
3409
|
+
headerParams: headerParams,
|
|
3410
|
+
queryParams: queryParams
|
|
3411
|
+
});
|
|
3412
|
+
try {
|
|
3413
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3414
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
3415
|
+
responseObject: {},
|
|
3416
|
+
body: yield response.json(),
|
|
3417
|
+
bodyKey: "project",
|
|
3418
|
+
bodyModel: model.Project,
|
|
3419
|
+
type: "model.Project",
|
|
3420
|
+
responseHeaders: [
|
|
2712
3421
|
{
|
|
2713
|
-
value: response.headers.get("
|
|
2714
|
-
key: "
|
|
3422
|
+
value: response.headers.get("etag"),
|
|
3423
|
+
key: "etag",
|
|
3424
|
+
dataType: "string"
|
|
3425
|
+
},
|
|
3426
|
+
{
|
|
3427
|
+
value: response.headers.get("opc-request-id"),
|
|
3428
|
+
key: "opcRequestId",
|
|
3429
|
+
dataType: "string"
|
|
3430
|
+
}
|
|
3431
|
+
]
|
|
3432
|
+
});
|
|
3433
|
+
return sdkResponse;
|
|
3434
|
+
}
|
|
3435
|
+
catch (err) {
|
|
3436
|
+
throw err;
|
|
3437
|
+
}
|
|
3438
|
+
});
|
|
3439
|
+
}
|
|
3440
|
+
/**
|
|
3441
|
+
* Download the artifact for a step in the pipeline.
|
|
3442
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3443
|
+
* @param GetStepArtifactContentRequest
|
|
3444
|
+
* @return GetStepArtifactContentResponse
|
|
3445
|
+
* @throws OciError when an error occurs
|
|
3446
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/GetStepArtifactContent.ts.html |here} to see how to use GetStepArtifactContent API.
|
|
3447
|
+
*/
|
|
3448
|
+
getStepArtifactContent(getStepArtifactContentRequest) {
|
|
3449
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3450
|
+
if (this.logger)
|
|
3451
|
+
this.logger.debug("Calling operation DataScienceClient#getStepArtifactContent.");
|
|
3452
|
+
const operationName = "getStepArtifactContent";
|
|
3453
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/Pipeline/GetStepArtifactContent";
|
|
3454
|
+
const pathParams = {
|
|
3455
|
+
"{pipelineId}": getStepArtifactContentRequest.pipelineId,
|
|
3456
|
+
"{stepName}": getStepArtifactContentRequest.stepName
|
|
3457
|
+
};
|
|
3458
|
+
const queryParams = {};
|
|
3459
|
+
let headerParams = {
|
|
3460
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3461
|
+
"opc-request-id": getStepArtifactContentRequest.opcRequestId,
|
|
3462
|
+
"range": getStepArtifactContentRequest.range
|
|
3463
|
+
};
|
|
3464
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3465
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getStepArtifactContentRequest.retryConfiguration, specRetryConfiguration);
|
|
3466
|
+
if (this.logger)
|
|
3467
|
+
retrier.logger = this.logger;
|
|
3468
|
+
const request = yield oci_common_2.composeRequest({
|
|
3469
|
+
baseEndpoint: this._endpoint,
|
|
3470
|
+
defaultHeaders: this._defaultHeaders,
|
|
3471
|
+
path: "/pipelines/{pipelineId}/steps/{stepName}/artifact/content",
|
|
3472
|
+
method: "GET",
|
|
3473
|
+
pathParams: pathParams,
|
|
3474
|
+
headerParams: headerParams,
|
|
3475
|
+
queryParams: queryParams
|
|
3476
|
+
});
|
|
3477
|
+
try {
|
|
3478
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink, true);
|
|
3479
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
3480
|
+
responseObject: {},
|
|
3481
|
+
body: response.body,
|
|
3482
|
+
bodyKey: "value",
|
|
3483
|
+
bodyModel: "string",
|
|
3484
|
+
responseHeaders: [
|
|
3485
|
+
{
|
|
3486
|
+
value: response.headers.get("etag"),
|
|
3487
|
+
key: "etag",
|
|
3488
|
+
dataType: "string"
|
|
3489
|
+
},
|
|
3490
|
+
{
|
|
3491
|
+
value: response.headers.get("opc-request-id"),
|
|
3492
|
+
key: "opcRequestId",
|
|
3493
|
+
dataType: "string"
|
|
3494
|
+
},
|
|
3495
|
+
{
|
|
3496
|
+
value: response.headers.get("content-length"),
|
|
3497
|
+
key: "contentLength",
|
|
3498
|
+
dataType: "number"
|
|
3499
|
+
},
|
|
3500
|
+
{
|
|
3501
|
+
value: response.headers.get("content-md5"),
|
|
3502
|
+
key: "contentMd5",
|
|
2715
3503
|
dataType: "string"
|
|
2716
3504
|
},
|
|
2717
3505
|
{
|
|
2718
3506
|
value: response.headers.get("last-modified"),
|
|
2719
3507
|
key: "lastModified",
|
|
2720
3508
|
dataType: "Date"
|
|
3509
|
+
},
|
|
3510
|
+
{
|
|
3511
|
+
value: response.headers.get("content-disposition"),
|
|
3512
|
+
key: "contentDisposition",
|
|
3513
|
+
dataType: "string"
|
|
2721
3514
|
}
|
|
2722
3515
|
]
|
|
2723
3516
|
});
|
|
@@ -2729,35 +3522,103 @@ class DataScienceClient {
|
|
|
2729
3522
|
});
|
|
2730
3523
|
}
|
|
2731
3524
|
/**
|
|
2732
|
-
* Gets
|
|
3525
|
+
* Gets the specified work request's information.
|
|
2733
3526
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2734
|
-
* @param
|
|
2735
|
-
* @return
|
|
3527
|
+
* @param GetWorkRequestRequest
|
|
3528
|
+
* @return GetWorkRequestResponse
|
|
2736
3529
|
* @throws OciError when an error occurs
|
|
2737
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
3530
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
2738
3531
|
*/
|
|
2739
|
-
|
|
3532
|
+
getWorkRequest(getWorkRequestRequest) {
|
|
2740
3533
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2741
3534
|
if (this.logger)
|
|
2742
|
-
this.logger.debug("Calling operation DataScienceClient#
|
|
2743
|
-
const operationName = "
|
|
2744
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/
|
|
3535
|
+
this.logger.debug("Calling operation DataScienceClient#getWorkRequest.");
|
|
3536
|
+
const operationName = "getWorkRequest";
|
|
3537
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/WorkRequest/GetWorkRequest";
|
|
2745
3538
|
const pathParams = {
|
|
2746
|
-
"{
|
|
3539
|
+
"{workRequestId}": getWorkRequestRequest.workRequestId
|
|
2747
3540
|
};
|
|
2748
3541
|
const queryParams = {};
|
|
2749
3542
|
let headerParams = {
|
|
2750
3543
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2751
|
-
"opc-request-id":
|
|
3544
|
+
"opc-request-id": getWorkRequestRequest.opcRequestId
|
|
2752
3545
|
};
|
|
2753
3546
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2754
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
3547
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
2755
3548
|
if (this.logger)
|
|
2756
3549
|
retrier.logger = this.logger;
|
|
2757
3550
|
const request = yield oci_common_2.composeRequest({
|
|
2758
3551
|
baseEndpoint: this._endpoint,
|
|
2759
3552
|
defaultHeaders: this._defaultHeaders,
|
|
2760
|
-
path: "/
|
|
3553
|
+
path: "/workRequests/{workRequestId}",
|
|
3554
|
+
method: "GET",
|
|
3555
|
+
pathParams: pathParams,
|
|
3556
|
+
headerParams: headerParams,
|
|
3557
|
+
queryParams: queryParams
|
|
3558
|
+
});
|
|
3559
|
+
try {
|
|
3560
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3561
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
3562
|
+
responseObject: {},
|
|
3563
|
+
body: yield response.json(),
|
|
3564
|
+
bodyKey: "workRequest",
|
|
3565
|
+
bodyModel: model.WorkRequest,
|
|
3566
|
+
type: "model.WorkRequest",
|
|
3567
|
+
responseHeaders: [
|
|
3568
|
+
{
|
|
3569
|
+
value: response.headers.get("etag"),
|
|
3570
|
+
key: "etag",
|
|
3571
|
+
dataType: "string"
|
|
3572
|
+
},
|
|
3573
|
+
{
|
|
3574
|
+
value: response.headers.get("opc-request-id"),
|
|
3575
|
+
key: "opcRequestId",
|
|
3576
|
+
dataType: "string"
|
|
3577
|
+
},
|
|
3578
|
+
{
|
|
3579
|
+
value: response.headers.get("retry-after"),
|
|
3580
|
+
key: "retryAfter",
|
|
3581
|
+
dataType: "number"
|
|
3582
|
+
}
|
|
3583
|
+
]
|
|
3584
|
+
});
|
|
3585
|
+
return sdkResponse;
|
|
3586
|
+
}
|
|
3587
|
+
catch (err) {
|
|
3588
|
+
throw err;
|
|
3589
|
+
}
|
|
3590
|
+
});
|
|
3591
|
+
}
|
|
3592
|
+
/**
|
|
3593
|
+
* Gets job artifact metadata.
|
|
3594
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3595
|
+
* @param HeadJobArtifactRequest
|
|
3596
|
+
* @return HeadJobArtifactResponse
|
|
3597
|
+
* @throws OciError when an error occurs
|
|
3598
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/HeadJobArtifact.ts.html |here} to see how to use HeadJobArtifact API.
|
|
3599
|
+
*/
|
|
3600
|
+
headJobArtifact(headJobArtifactRequest) {
|
|
3601
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3602
|
+
if (this.logger)
|
|
3603
|
+
this.logger.debug("Calling operation DataScienceClient#headJobArtifact.");
|
|
3604
|
+
const operationName = "headJobArtifact";
|
|
3605
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/Job/HeadJobArtifact";
|
|
3606
|
+
const pathParams = {
|
|
3607
|
+
"{jobId}": headJobArtifactRequest.jobId
|
|
3608
|
+
};
|
|
3609
|
+
const queryParams = {};
|
|
3610
|
+
let headerParams = {
|
|
3611
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3612
|
+
"opc-request-id": headJobArtifactRequest.opcRequestId
|
|
3613
|
+
};
|
|
3614
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3615
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, headJobArtifactRequest.retryConfiguration, specRetryConfiguration);
|
|
3616
|
+
if (this.logger)
|
|
3617
|
+
retrier.logger = this.logger;
|
|
3618
|
+
const request = yield oci_common_2.composeRequest({
|
|
3619
|
+
baseEndpoint: this._endpoint,
|
|
3620
|
+
defaultHeaders: this._defaultHeaders,
|
|
3621
|
+
path: "/jobs/{jobId}/artifact/content",
|
|
2761
3622
|
method: "HEAD",
|
|
2762
3623
|
pathParams: pathParams,
|
|
2763
3624
|
headerParams: headerParams,
|
|
@@ -2784,13 +3645,13 @@ class DataScienceClient {
|
|
|
2784
3645
|
dataType: "number"
|
|
2785
3646
|
},
|
|
2786
3647
|
{
|
|
2787
|
-
value: response.headers.get("content-
|
|
2788
|
-
key: "
|
|
3648
|
+
value: response.headers.get("content-md5"),
|
|
3649
|
+
key: "contentMd5",
|
|
2789
3650
|
dataType: "string"
|
|
2790
3651
|
},
|
|
2791
3652
|
{
|
|
2792
|
-
value: response.headers.get("content-
|
|
2793
|
-
key: "
|
|
3653
|
+
value: response.headers.get("content-disposition"),
|
|
3654
|
+
key: "contentDisposition",
|
|
2794
3655
|
dataType: "string"
|
|
2795
3656
|
},
|
|
2796
3657
|
{
|
|
@@ -2808,38 +3669,485 @@ class DataScienceClient {
|
|
|
2808
3669
|
});
|
|
2809
3670
|
}
|
|
2810
3671
|
/**
|
|
2811
|
-
*
|
|
2812
|
-
* This operation
|
|
2813
|
-
* @param
|
|
2814
|
-
* @return
|
|
3672
|
+
* Gets model artifact metadata for specified model.
|
|
3673
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3674
|
+
* @param HeadModelArtifactRequest
|
|
3675
|
+
* @return HeadModelArtifactResponse
|
|
2815
3676
|
* @throws OciError when an error occurs
|
|
2816
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
3677
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/HeadModelArtifact.ts.html |here} to see how to use HeadModelArtifact API.
|
|
2817
3678
|
*/
|
|
2818
|
-
|
|
3679
|
+
headModelArtifact(headModelArtifactRequest) {
|
|
2819
3680
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2820
3681
|
if (this.logger)
|
|
2821
|
-
this.logger.debug("Calling operation DataScienceClient#
|
|
2822
|
-
const operationName = "
|
|
2823
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/Model/
|
|
3682
|
+
this.logger.debug("Calling operation DataScienceClient#headModelArtifact.");
|
|
3683
|
+
const operationName = "headModelArtifact";
|
|
3684
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/Model/HeadModelArtifact";
|
|
2824
3685
|
const pathParams = {
|
|
2825
|
-
"{modelId}":
|
|
3686
|
+
"{modelId}": headModelArtifactRequest.modelId
|
|
3687
|
+
};
|
|
3688
|
+
const queryParams = {};
|
|
3689
|
+
let headerParams = {
|
|
3690
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3691
|
+
"opc-request-id": headModelArtifactRequest.opcRequestId
|
|
3692
|
+
};
|
|
3693
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3694
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, headModelArtifactRequest.retryConfiguration, specRetryConfiguration);
|
|
3695
|
+
if (this.logger)
|
|
3696
|
+
retrier.logger = this.logger;
|
|
3697
|
+
const request = yield oci_common_2.composeRequest({
|
|
3698
|
+
baseEndpoint: this._endpoint,
|
|
3699
|
+
defaultHeaders: this._defaultHeaders,
|
|
3700
|
+
path: "/models/{modelId}/artifact/content",
|
|
3701
|
+
method: "HEAD",
|
|
3702
|
+
pathParams: pathParams,
|
|
3703
|
+
headerParams: headerParams,
|
|
3704
|
+
queryParams: queryParams
|
|
3705
|
+
});
|
|
3706
|
+
try {
|
|
3707
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3708
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
3709
|
+
responseObject: {},
|
|
3710
|
+
responseHeaders: [
|
|
3711
|
+
{
|
|
3712
|
+
value: response.headers.get("etag"),
|
|
3713
|
+
key: "etag",
|
|
3714
|
+
dataType: "string"
|
|
3715
|
+
},
|
|
3716
|
+
{
|
|
3717
|
+
value: response.headers.get("opc-request-id"),
|
|
3718
|
+
key: "opcRequestId",
|
|
3719
|
+
dataType: "string"
|
|
3720
|
+
},
|
|
3721
|
+
{
|
|
3722
|
+
value: response.headers.get("content-length"),
|
|
3723
|
+
key: "contentLength",
|
|
3724
|
+
dataType: "number"
|
|
3725
|
+
},
|
|
3726
|
+
{
|
|
3727
|
+
value: response.headers.get("content-disposition"),
|
|
3728
|
+
key: "contentDisposition",
|
|
3729
|
+
dataType: "string"
|
|
3730
|
+
},
|
|
3731
|
+
{
|
|
3732
|
+
value: response.headers.get("content-md5"),
|
|
3733
|
+
key: "contentMd5",
|
|
3734
|
+
dataType: "string"
|
|
3735
|
+
},
|
|
3736
|
+
{
|
|
3737
|
+
value: response.headers.get("last-modified"),
|
|
3738
|
+
key: "lastModified",
|
|
3739
|
+
dataType: "Date"
|
|
3740
|
+
}
|
|
3741
|
+
]
|
|
3742
|
+
});
|
|
3743
|
+
return sdkResponse;
|
|
3744
|
+
}
|
|
3745
|
+
catch (err) {
|
|
3746
|
+
throw err;
|
|
3747
|
+
}
|
|
3748
|
+
});
|
|
3749
|
+
}
|
|
3750
|
+
/**
|
|
3751
|
+
* Get the artifact metadata for a step in the pipeline.
|
|
3752
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3753
|
+
* @param HeadStepArtifactRequest
|
|
3754
|
+
* @return HeadStepArtifactResponse
|
|
3755
|
+
* @throws OciError when an error occurs
|
|
3756
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/HeadStepArtifact.ts.html |here} to see how to use HeadStepArtifact API.
|
|
3757
|
+
*/
|
|
3758
|
+
headStepArtifact(headStepArtifactRequest) {
|
|
3759
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3760
|
+
if (this.logger)
|
|
3761
|
+
this.logger.debug("Calling operation DataScienceClient#headStepArtifact.");
|
|
3762
|
+
const operationName = "headStepArtifact";
|
|
3763
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/Pipeline/HeadStepArtifact";
|
|
3764
|
+
const pathParams = {
|
|
3765
|
+
"{pipelineId}": headStepArtifactRequest.pipelineId,
|
|
3766
|
+
"{stepName}": headStepArtifactRequest.stepName
|
|
3767
|
+
};
|
|
3768
|
+
const queryParams = {};
|
|
3769
|
+
let headerParams = {
|
|
3770
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3771
|
+
"opc-request-id": headStepArtifactRequest.opcRequestId
|
|
3772
|
+
};
|
|
3773
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3774
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, headStepArtifactRequest.retryConfiguration, specRetryConfiguration);
|
|
3775
|
+
if (this.logger)
|
|
3776
|
+
retrier.logger = this.logger;
|
|
3777
|
+
const request = yield oci_common_2.composeRequest({
|
|
3778
|
+
baseEndpoint: this._endpoint,
|
|
3779
|
+
defaultHeaders: this._defaultHeaders,
|
|
3780
|
+
path: "/pipelines/{pipelineId}/steps/{stepName}/artifact/content",
|
|
3781
|
+
method: "HEAD",
|
|
3782
|
+
pathParams: pathParams,
|
|
3783
|
+
headerParams: headerParams,
|
|
3784
|
+
queryParams: queryParams
|
|
3785
|
+
});
|
|
3786
|
+
try {
|
|
3787
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3788
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
3789
|
+
responseObject: {},
|
|
3790
|
+
responseHeaders: [
|
|
3791
|
+
{
|
|
3792
|
+
value: response.headers.get("etag"),
|
|
3793
|
+
key: "etag",
|
|
3794
|
+
dataType: "string"
|
|
3795
|
+
},
|
|
3796
|
+
{
|
|
3797
|
+
value: response.headers.get("opc-request-id"),
|
|
3798
|
+
key: "opcRequestId",
|
|
3799
|
+
dataType: "string"
|
|
3800
|
+
},
|
|
3801
|
+
{
|
|
3802
|
+
value: response.headers.get("content-length"),
|
|
3803
|
+
key: "contentLength",
|
|
3804
|
+
dataType: "number"
|
|
3805
|
+
},
|
|
3806
|
+
{
|
|
3807
|
+
value: response.headers.get("content-md5"),
|
|
3808
|
+
key: "contentMd5",
|
|
3809
|
+
dataType: "string"
|
|
3810
|
+
},
|
|
3811
|
+
{
|
|
3812
|
+
value: response.headers.get("content-disposition"),
|
|
3813
|
+
key: "contentDisposition",
|
|
3814
|
+
dataType: "string"
|
|
3815
|
+
},
|
|
3816
|
+
{
|
|
3817
|
+
value: response.headers.get("last-modified"),
|
|
3818
|
+
key: "lastModified",
|
|
3819
|
+
dataType: "Date"
|
|
3820
|
+
}
|
|
3821
|
+
]
|
|
3822
|
+
});
|
|
3823
|
+
return sdkResponse;
|
|
3824
|
+
}
|
|
3825
|
+
catch (err) {
|
|
3826
|
+
throw err;
|
|
3827
|
+
}
|
|
3828
|
+
});
|
|
3829
|
+
}
|
|
3830
|
+
/**
|
|
3831
|
+
* Import model artifact from service bucket
|
|
3832
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3833
|
+
* @param ImportModelArtifactRequest
|
|
3834
|
+
* @return ImportModelArtifactResponse
|
|
3835
|
+
* @throws OciError when an error occurs
|
|
3836
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ImportModelArtifact.ts.html |here} to see how to use ImportModelArtifact API.
|
|
3837
|
+
*/
|
|
3838
|
+
importModelArtifact(importModelArtifactRequest) {
|
|
3839
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3840
|
+
if (this.logger)
|
|
3841
|
+
this.logger.debug("Calling operation DataScienceClient#importModelArtifact.");
|
|
3842
|
+
const operationName = "importModelArtifact";
|
|
3843
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/Model/ImportModelArtifact";
|
|
3844
|
+
const pathParams = {
|
|
3845
|
+
"{modelId}": importModelArtifactRequest.modelId
|
|
3846
|
+
};
|
|
3847
|
+
const queryParams = {};
|
|
3848
|
+
let headerParams = {
|
|
3849
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3850
|
+
"opc-request-id": importModelArtifactRequest.opcRequestId,
|
|
3851
|
+
"if-match": importModelArtifactRequest.ifMatch
|
|
3852
|
+
};
|
|
3853
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3854
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, importModelArtifactRequest.retryConfiguration, specRetryConfiguration);
|
|
3855
|
+
if (this.logger)
|
|
3856
|
+
retrier.logger = this.logger;
|
|
3857
|
+
const request = yield oci_common_2.composeRequest({
|
|
3858
|
+
baseEndpoint: this._endpoint,
|
|
3859
|
+
defaultHeaders: this._defaultHeaders,
|
|
3860
|
+
path: "/models/{modelId}/actions/importArtifact",
|
|
3861
|
+
method: "POST",
|
|
3862
|
+
bodyContent: common.ObjectSerializer.serialize(importModelArtifactRequest.importModelArtifactDetails, "ImportModelArtifactDetails", model.ImportModelArtifactDetails.getJsonObj),
|
|
3863
|
+
pathParams: pathParams,
|
|
3864
|
+
headerParams: headerParams,
|
|
3865
|
+
queryParams: queryParams
|
|
3866
|
+
});
|
|
3867
|
+
try {
|
|
3868
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3869
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
3870
|
+
responseObject: {},
|
|
3871
|
+
responseHeaders: [
|
|
3872
|
+
{
|
|
3873
|
+
value: response.headers.get("opc-request-id"),
|
|
3874
|
+
key: "opcRequestId",
|
|
3875
|
+
dataType: "string"
|
|
3876
|
+
},
|
|
3877
|
+
{
|
|
3878
|
+
value: response.headers.get("opc-work-request-id"),
|
|
3879
|
+
key: "opcWorkRequestId",
|
|
3880
|
+
dataType: "string"
|
|
3881
|
+
}
|
|
3882
|
+
]
|
|
3883
|
+
});
|
|
3884
|
+
return sdkResponse;
|
|
3885
|
+
}
|
|
3886
|
+
catch (err) {
|
|
3887
|
+
throw err;
|
|
3888
|
+
}
|
|
3889
|
+
});
|
|
3890
|
+
}
|
|
3891
|
+
/**
|
|
3892
|
+
* List fast launch capable job configs in the specified compartment.
|
|
3893
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3894
|
+
* @param ListFastLaunchJobConfigsRequest
|
|
3895
|
+
* @return ListFastLaunchJobConfigsResponse
|
|
3896
|
+
* @throws OciError when an error occurs
|
|
3897
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ListFastLaunchJobConfigs.ts.html |here} to see how to use ListFastLaunchJobConfigs API.
|
|
3898
|
+
*/
|
|
3899
|
+
listFastLaunchJobConfigs(listFastLaunchJobConfigsRequest) {
|
|
3900
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3901
|
+
if (this.logger)
|
|
3902
|
+
this.logger.debug("Calling operation DataScienceClient#listFastLaunchJobConfigs.");
|
|
3903
|
+
const operationName = "listFastLaunchJobConfigs";
|
|
3904
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/FastLaunchJobConfigSummary/ListFastLaunchJobConfigs";
|
|
3905
|
+
const pathParams = {};
|
|
3906
|
+
const queryParams = {
|
|
3907
|
+
"compartmentId": listFastLaunchJobConfigsRequest.compartmentId,
|
|
3908
|
+
"limit": listFastLaunchJobConfigsRequest.limit,
|
|
3909
|
+
"page": listFastLaunchJobConfigsRequest.page
|
|
3910
|
+
};
|
|
3911
|
+
let headerParams = {
|
|
3912
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3913
|
+
"opc-request-id": listFastLaunchJobConfigsRequest.opcRequestId
|
|
3914
|
+
};
|
|
3915
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3916
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFastLaunchJobConfigsRequest.retryConfiguration, specRetryConfiguration);
|
|
3917
|
+
if (this.logger)
|
|
3918
|
+
retrier.logger = this.logger;
|
|
3919
|
+
const request = yield oci_common_2.composeRequest({
|
|
3920
|
+
baseEndpoint: this._endpoint,
|
|
3921
|
+
defaultHeaders: this._defaultHeaders,
|
|
3922
|
+
path: "/fastLaunchJobConfigs",
|
|
3923
|
+
method: "GET",
|
|
3924
|
+
pathParams: pathParams,
|
|
3925
|
+
headerParams: headerParams,
|
|
3926
|
+
queryParams: queryParams
|
|
3927
|
+
});
|
|
3928
|
+
try {
|
|
3929
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3930
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
3931
|
+
responseObject: {},
|
|
3932
|
+
body: yield response.json(),
|
|
3933
|
+
bodyKey: "items",
|
|
3934
|
+
bodyModel: model.FastLaunchJobConfigSummary,
|
|
3935
|
+
type: "Array<model.FastLaunchJobConfigSummary>",
|
|
3936
|
+
responseHeaders: [
|
|
3937
|
+
{
|
|
3938
|
+
value: response.headers.get("opc-next-page"),
|
|
3939
|
+
key: "opcNextPage",
|
|
3940
|
+
dataType: "string"
|
|
3941
|
+
},
|
|
3942
|
+
{
|
|
3943
|
+
value: response.headers.get("opc-prev-page"),
|
|
3944
|
+
key: "opcPrevPage",
|
|
3945
|
+
dataType: "string"
|
|
3946
|
+
},
|
|
3947
|
+
{
|
|
3948
|
+
value: response.headers.get("opc-request-id"),
|
|
3949
|
+
key: "opcRequestId",
|
|
3950
|
+
dataType: "string"
|
|
3951
|
+
}
|
|
3952
|
+
]
|
|
3953
|
+
});
|
|
3954
|
+
return sdkResponse;
|
|
3955
|
+
}
|
|
3956
|
+
catch (err) {
|
|
3957
|
+
throw err;
|
|
3958
|
+
}
|
|
3959
|
+
});
|
|
3960
|
+
}
|
|
3961
|
+
/**
|
|
3962
|
+
* NOTE: This function is deprecated in favor of listFastLaunchJobConfigsRecordIterator function.
|
|
3963
|
+
* Creates a new async iterator which will iterate over the models.FastLaunchJobConfigSummary objects
|
|
3964
|
+
* contained in responses from the listFastLaunchJobConfigs operation. This iterator will fetch more data from the
|
|
3965
|
+
* server as needed.
|
|
3966
|
+
*
|
|
3967
|
+
* @param request a request which can be sent to the service operation
|
|
3968
|
+
*/
|
|
3969
|
+
listAllFastLaunchJobConfigs(request) {
|
|
3970
|
+
return oci_common_1.paginateRecords(request, req => this.listFastLaunchJobConfigs(req));
|
|
3971
|
+
}
|
|
3972
|
+
/**
|
|
3973
|
+
* NOTE: This function is deprecated in favor of listFastLaunchJobConfigsResponseIterator function.
|
|
3974
|
+
* Creates a new async iterator which will iterate over the responses received from the listFastLaunchJobConfigs operation. This iterator
|
|
3975
|
+
* will fetch more data from the server as needed.
|
|
3976
|
+
*
|
|
3977
|
+
* @param request a request which can be sent to the service operation
|
|
3978
|
+
*/
|
|
3979
|
+
listAllFastLaunchJobConfigsResponses(request) {
|
|
3980
|
+
return oci_common_1.paginateResponses(request, req => this.listFastLaunchJobConfigs(req));
|
|
3981
|
+
}
|
|
3982
|
+
/**
|
|
3983
|
+
* Creates a new async iterator which will iterate over the models.FastLaunchJobConfigSummary objects
|
|
3984
|
+
* contained in responses from the listFastLaunchJobConfigs operation. This iterator will fetch more data from the
|
|
3985
|
+
* server as needed.
|
|
3986
|
+
*
|
|
3987
|
+
* @param request a request which can be sent to the service operation
|
|
3988
|
+
*/
|
|
3989
|
+
listFastLaunchJobConfigsRecordIterator(request) {
|
|
3990
|
+
return oci_common_1.paginateRecords(request, req => this.listFastLaunchJobConfigs(req));
|
|
3991
|
+
}
|
|
3992
|
+
/**
|
|
3993
|
+
* Creates a new async iterator which will iterate over the responses received from the listFastLaunchJobConfigs operation. This iterator
|
|
3994
|
+
* will fetch more data from the server as needed.
|
|
3995
|
+
*
|
|
3996
|
+
* @param request a request which can be sent to the service operation
|
|
3997
|
+
*/
|
|
3998
|
+
listFastLaunchJobConfigsResponseIterator(request) {
|
|
3999
|
+
return oci_common_1.paginateResponses(request, req => this.listFastLaunchJobConfigs(req));
|
|
4000
|
+
}
|
|
4001
|
+
/**
|
|
4002
|
+
* List out job runs.
|
|
4003
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4004
|
+
* @param ListJobRunsRequest
|
|
4005
|
+
* @return ListJobRunsResponse
|
|
4006
|
+
* @throws OciError when an error occurs
|
|
4007
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ListJobRuns.ts.html |here} to see how to use ListJobRuns API.
|
|
4008
|
+
*/
|
|
4009
|
+
listJobRuns(listJobRunsRequest) {
|
|
4010
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4011
|
+
if (this.logger)
|
|
4012
|
+
this.logger.debug("Calling operation DataScienceClient#listJobRuns.");
|
|
4013
|
+
const operationName = "listJobRuns";
|
|
4014
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/JobRunSummary/ListJobRuns";
|
|
4015
|
+
const pathParams = {};
|
|
4016
|
+
const queryParams = {
|
|
4017
|
+
"id": listJobRunsRequest.id,
|
|
4018
|
+
"jobId": listJobRunsRequest.jobId,
|
|
4019
|
+
"compartmentId": listJobRunsRequest.compartmentId,
|
|
4020
|
+
"createdBy": listJobRunsRequest.createdBy,
|
|
4021
|
+
"displayName": listJobRunsRequest.displayName,
|
|
4022
|
+
"limit": listJobRunsRequest.limit,
|
|
4023
|
+
"page": listJobRunsRequest.page,
|
|
4024
|
+
"sortOrder": listJobRunsRequest.sortOrder,
|
|
4025
|
+
"sortBy": listJobRunsRequest.sortBy,
|
|
4026
|
+
"lifecycleState": listJobRunsRequest.lifecycleState
|
|
4027
|
+
};
|
|
4028
|
+
let headerParams = {
|
|
4029
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4030
|
+
"opc-request-id": listJobRunsRequest.opcRequestId
|
|
4031
|
+
};
|
|
4032
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4033
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listJobRunsRequest.retryConfiguration, specRetryConfiguration);
|
|
4034
|
+
if (this.logger)
|
|
4035
|
+
retrier.logger = this.logger;
|
|
4036
|
+
const request = yield oci_common_2.composeRequest({
|
|
4037
|
+
baseEndpoint: this._endpoint,
|
|
4038
|
+
defaultHeaders: this._defaultHeaders,
|
|
4039
|
+
path: "/jobRuns",
|
|
4040
|
+
method: "GET",
|
|
4041
|
+
pathParams: pathParams,
|
|
4042
|
+
headerParams: headerParams,
|
|
4043
|
+
queryParams: queryParams
|
|
4044
|
+
});
|
|
4045
|
+
try {
|
|
4046
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4047
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
4048
|
+
responseObject: {},
|
|
4049
|
+
body: yield response.json(),
|
|
4050
|
+
bodyKey: "items",
|
|
4051
|
+
bodyModel: model.JobRunSummary,
|
|
4052
|
+
type: "Array<model.JobRunSummary>",
|
|
4053
|
+
responseHeaders: [
|
|
4054
|
+
{
|
|
4055
|
+
value: response.headers.get("opc-next-page"),
|
|
4056
|
+
key: "opcNextPage",
|
|
4057
|
+
dataType: "string"
|
|
4058
|
+
},
|
|
4059
|
+
{
|
|
4060
|
+
value: response.headers.get("opc-prev-page"),
|
|
4061
|
+
key: "opcPrevPage",
|
|
4062
|
+
dataType: "string"
|
|
4063
|
+
},
|
|
4064
|
+
{
|
|
4065
|
+
value: response.headers.get("opc-request-id"),
|
|
4066
|
+
key: "opcRequestId",
|
|
4067
|
+
dataType: "string"
|
|
4068
|
+
}
|
|
4069
|
+
]
|
|
4070
|
+
});
|
|
4071
|
+
return sdkResponse;
|
|
4072
|
+
}
|
|
4073
|
+
catch (err) {
|
|
4074
|
+
throw err;
|
|
4075
|
+
}
|
|
4076
|
+
});
|
|
4077
|
+
}
|
|
4078
|
+
/**
|
|
4079
|
+
* NOTE: This function is deprecated in favor of listJobRunsRecordIterator function.
|
|
4080
|
+
* Creates a new async iterator which will iterate over the models.JobRunSummary objects
|
|
4081
|
+
* contained in responses from the listJobRuns operation. This iterator will fetch more data from the
|
|
4082
|
+
* server as needed.
|
|
4083
|
+
*
|
|
4084
|
+
* @param request a request which can be sent to the service operation
|
|
4085
|
+
*/
|
|
4086
|
+
listAllJobRuns(request) {
|
|
4087
|
+
return oci_common_1.paginateRecords(request, req => this.listJobRuns(req));
|
|
4088
|
+
}
|
|
4089
|
+
/**
|
|
4090
|
+
* NOTE: This function is deprecated in favor of listJobRunsResponseIterator function.
|
|
4091
|
+
* Creates a new async iterator which will iterate over the responses received from the listJobRuns operation. This iterator
|
|
4092
|
+
* will fetch more data from the server as needed.
|
|
4093
|
+
*
|
|
4094
|
+
* @param request a request which can be sent to the service operation
|
|
4095
|
+
*/
|
|
4096
|
+
listAllJobRunsResponses(request) {
|
|
4097
|
+
return oci_common_1.paginateResponses(request, req => this.listJobRuns(req));
|
|
4098
|
+
}
|
|
4099
|
+
/**
|
|
4100
|
+
* Creates a new async iterator which will iterate over the models.JobRunSummary objects
|
|
4101
|
+
* contained in responses from the listJobRuns operation. This iterator will fetch more data from the
|
|
4102
|
+
* server as needed.
|
|
4103
|
+
*
|
|
4104
|
+
* @param request a request which can be sent to the service operation
|
|
4105
|
+
*/
|
|
4106
|
+
listJobRunsRecordIterator(request) {
|
|
4107
|
+
return oci_common_1.paginateRecords(request, req => this.listJobRuns(req));
|
|
4108
|
+
}
|
|
4109
|
+
/**
|
|
4110
|
+
* Creates a new async iterator which will iterate over the responses received from the listJobRuns operation. This iterator
|
|
4111
|
+
* will fetch more data from the server as needed.
|
|
4112
|
+
*
|
|
4113
|
+
* @param request a request which can be sent to the service operation
|
|
4114
|
+
*/
|
|
4115
|
+
listJobRunsResponseIterator(request) {
|
|
4116
|
+
return oci_common_1.paginateResponses(request, req => this.listJobRuns(req));
|
|
4117
|
+
}
|
|
4118
|
+
/**
|
|
4119
|
+
* List job shapes available in the specified compartment.
|
|
4120
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4121
|
+
* @param ListJobShapesRequest
|
|
4122
|
+
* @return ListJobShapesResponse
|
|
4123
|
+
* @throws OciError when an error occurs
|
|
4124
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ListJobShapes.ts.html |here} to see how to use ListJobShapes API.
|
|
4125
|
+
*/
|
|
4126
|
+
listJobShapes(listJobShapesRequest) {
|
|
4127
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4128
|
+
if (this.logger)
|
|
4129
|
+
this.logger.debug("Calling operation DataScienceClient#listJobShapes.");
|
|
4130
|
+
const operationName = "listJobShapes";
|
|
4131
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/JobShapeSummary/ListJobShapes";
|
|
4132
|
+
const pathParams = {};
|
|
4133
|
+
const queryParams = {
|
|
4134
|
+
"compartmentId": listJobShapesRequest.compartmentId,
|
|
4135
|
+
"limit": listJobShapesRequest.limit,
|
|
4136
|
+
"page": listJobShapesRequest.page
|
|
2826
4137
|
};
|
|
2827
|
-
const queryParams = {};
|
|
2828
4138
|
let headerParams = {
|
|
2829
4139
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2830
|
-
"opc-request-id":
|
|
2831
|
-
"if-match": importModelArtifactRequest.ifMatch
|
|
4140
|
+
"opc-request-id": listJobShapesRequest.opcRequestId
|
|
2832
4141
|
};
|
|
2833
|
-
const specRetryConfiguration = common.
|
|
2834
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
4142
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4143
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listJobShapesRequest.retryConfiguration, specRetryConfiguration);
|
|
2835
4144
|
if (this.logger)
|
|
2836
4145
|
retrier.logger = this.logger;
|
|
2837
4146
|
const request = yield oci_common_2.composeRequest({
|
|
2838
4147
|
baseEndpoint: this._endpoint,
|
|
2839
4148
|
defaultHeaders: this._defaultHeaders,
|
|
2840
|
-
path: "/
|
|
2841
|
-
method: "
|
|
2842
|
-
bodyContent: common.ObjectSerializer.serialize(importModelArtifactRequest.importModelArtifactDetails, "ImportModelArtifactDetails", model.ImportModelArtifactDetails.getJsonObj),
|
|
4149
|
+
path: "/jobShapes",
|
|
4150
|
+
method: "GET",
|
|
2843
4151
|
pathParams: pathParams,
|
|
2844
4152
|
headerParams: headerParams,
|
|
2845
4153
|
queryParams: queryParams
|
|
@@ -2848,15 +4156,24 @@ class DataScienceClient {
|
|
|
2848
4156
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2849
4157
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2850
4158
|
responseObject: {},
|
|
4159
|
+
body: yield response.json(),
|
|
4160
|
+
bodyKey: "items",
|
|
4161
|
+
bodyModel: model.JobShapeSummary,
|
|
4162
|
+
type: "Array<model.JobShapeSummary>",
|
|
2851
4163
|
responseHeaders: [
|
|
2852
4164
|
{
|
|
2853
|
-
value: response.headers.get("opc-
|
|
2854
|
-
key: "
|
|
4165
|
+
value: response.headers.get("opc-next-page"),
|
|
4166
|
+
key: "opcNextPage",
|
|
2855
4167
|
dataType: "string"
|
|
2856
4168
|
},
|
|
2857
4169
|
{
|
|
2858
|
-
value: response.headers.get("opc-
|
|
2859
|
-
key: "
|
|
4170
|
+
value: response.headers.get("opc-prev-page"),
|
|
4171
|
+
key: "opcPrevPage",
|
|
4172
|
+
dataType: "string"
|
|
4173
|
+
},
|
|
4174
|
+
{
|
|
4175
|
+
value: response.headers.get("opc-request-id"),
|
|
4176
|
+
key: "opcRequestId",
|
|
2860
4177
|
dataType: "string"
|
|
2861
4178
|
}
|
|
2862
4179
|
]
|
|
@@ -2869,37 +4186,84 @@ class DataScienceClient {
|
|
|
2869
4186
|
});
|
|
2870
4187
|
}
|
|
2871
4188
|
/**
|
|
2872
|
-
*
|
|
4189
|
+
* NOTE: This function is deprecated in favor of listJobShapesRecordIterator function.
|
|
4190
|
+
* Creates a new async iterator which will iterate over the models.JobShapeSummary objects
|
|
4191
|
+
* contained in responses from the listJobShapes operation. This iterator will fetch more data from the
|
|
4192
|
+
* server as needed.
|
|
4193
|
+
*
|
|
4194
|
+
* @param request a request which can be sent to the service operation
|
|
4195
|
+
*/
|
|
4196
|
+
listAllJobShapes(request) {
|
|
4197
|
+
return oci_common_1.paginateRecords(request, req => this.listJobShapes(req));
|
|
4198
|
+
}
|
|
4199
|
+
/**
|
|
4200
|
+
* NOTE: This function is deprecated in favor of listJobShapesResponseIterator function.
|
|
4201
|
+
* Creates a new async iterator which will iterate over the responses received from the listJobShapes operation. This iterator
|
|
4202
|
+
* will fetch more data from the server as needed.
|
|
4203
|
+
*
|
|
4204
|
+
* @param request a request which can be sent to the service operation
|
|
4205
|
+
*/
|
|
4206
|
+
listAllJobShapesResponses(request) {
|
|
4207
|
+
return oci_common_1.paginateResponses(request, req => this.listJobShapes(req));
|
|
4208
|
+
}
|
|
4209
|
+
/**
|
|
4210
|
+
* Creates a new async iterator which will iterate over the models.JobShapeSummary objects
|
|
4211
|
+
* contained in responses from the listJobShapes operation. This iterator will fetch more data from the
|
|
4212
|
+
* server as needed.
|
|
4213
|
+
*
|
|
4214
|
+
* @param request a request which can be sent to the service operation
|
|
4215
|
+
*/
|
|
4216
|
+
listJobShapesRecordIterator(request) {
|
|
4217
|
+
return oci_common_1.paginateRecords(request, req => this.listJobShapes(req));
|
|
4218
|
+
}
|
|
4219
|
+
/**
|
|
4220
|
+
* Creates a new async iterator which will iterate over the responses received from the listJobShapes operation. This iterator
|
|
4221
|
+
* will fetch more data from the server as needed.
|
|
4222
|
+
*
|
|
4223
|
+
* @param request a request which can be sent to the service operation
|
|
4224
|
+
*/
|
|
4225
|
+
listJobShapesResponseIterator(request) {
|
|
4226
|
+
return oci_common_1.paginateResponses(request, req => this.listJobShapes(req));
|
|
4227
|
+
}
|
|
4228
|
+
/**
|
|
4229
|
+
* List jobs in the specified compartment.
|
|
2873
4230
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2874
|
-
* @param
|
|
2875
|
-
* @return
|
|
4231
|
+
* @param ListJobsRequest
|
|
4232
|
+
* @return ListJobsResponse
|
|
2876
4233
|
* @throws OciError when an error occurs
|
|
2877
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
4234
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ListJobs.ts.html |here} to see how to use ListJobs API.
|
|
2878
4235
|
*/
|
|
2879
|
-
|
|
4236
|
+
listJobs(listJobsRequest) {
|
|
2880
4237
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2881
4238
|
if (this.logger)
|
|
2882
|
-
this.logger.debug("Calling operation DataScienceClient#
|
|
2883
|
-
const operationName = "
|
|
2884
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/
|
|
4239
|
+
this.logger.debug("Calling operation DataScienceClient#listJobs.");
|
|
4240
|
+
const operationName = "listJobs";
|
|
4241
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/JobSummary/ListJobs";
|
|
2885
4242
|
const pathParams = {};
|
|
2886
4243
|
const queryParams = {
|
|
2887
|
-
"compartmentId":
|
|
2888
|
-
"
|
|
2889
|
-
"
|
|
4244
|
+
"compartmentId": listJobsRequest.compartmentId,
|
|
4245
|
+
"projectId": listJobsRequest.projectId,
|
|
4246
|
+
"id": listJobsRequest.id,
|
|
4247
|
+
"displayName": listJobsRequest.displayName,
|
|
4248
|
+
"lifecycleState": listJobsRequest.lifecycleState,
|
|
4249
|
+
"createdBy": listJobsRequest.createdBy,
|
|
4250
|
+
"limit": listJobsRequest.limit,
|
|
4251
|
+
"page": listJobsRequest.page,
|
|
4252
|
+
"sortOrder": listJobsRequest.sortOrder,
|
|
4253
|
+
"sortBy": listJobsRequest.sortBy
|
|
2890
4254
|
};
|
|
2891
4255
|
let headerParams = {
|
|
2892
4256
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2893
|
-
"opc-request-id":
|
|
4257
|
+
"opc-request-id": listJobsRequest.opcRequestId
|
|
2894
4258
|
};
|
|
2895
4259
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2896
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
4260
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listJobsRequest.retryConfiguration, specRetryConfiguration);
|
|
2897
4261
|
if (this.logger)
|
|
2898
4262
|
retrier.logger = this.logger;
|
|
2899
4263
|
const request = yield oci_common_2.composeRequest({
|
|
2900
4264
|
baseEndpoint: this._endpoint,
|
|
2901
4265
|
defaultHeaders: this._defaultHeaders,
|
|
2902
|
-
path: "/
|
|
4266
|
+
path: "/jobs",
|
|
2903
4267
|
method: "GET",
|
|
2904
4268
|
pathParams: pathParams,
|
|
2905
4269
|
headerParams: headerParams,
|
|
@@ -2911,8 +4275,8 @@ class DataScienceClient {
|
|
|
2911
4275
|
responseObject: {},
|
|
2912
4276
|
body: yield response.json(),
|
|
2913
4277
|
bodyKey: "items",
|
|
2914
|
-
bodyModel: model.
|
|
2915
|
-
type: "Array<model.
|
|
4278
|
+
bodyModel: model.JobSummary,
|
|
4279
|
+
type: "Array<model.JobSummary>",
|
|
2916
4280
|
responseHeaders: [
|
|
2917
4281
|
{
|
|
2918
4282
|
value: response.headers.get("opc-next-page"),
|
|
@@ -2939,84 +4303,77 @@ class DataScienceClient {
|
|
|
2939
4303
|
});
|
|
2940
4304
|
}
|
|
2941
4305
|
/**
|
|
2942
|
-
* NOTE: This function is deprecated in favor of
|
|
2943
|
-
* Creates a new async iterator which will iterate over the models.
|
|
2944
|
-
* contained in responses from the
|
|
4306
|
+
* NOTE: This function is deprecated in favor of listJobsRecordIterator function.
|
|
4307
|
+
* Creates a new async iterator which will iterate over the models.JobSummary objects
|
|
4308
|
+
* contained in responses from the listJobs operation. This iterator will fetch more data from the
|
|
2945
4309
|
* server as needed.
|
|
2946
4310
|
*
|
|
2947
4311
|
* @param request a request which can be sent to the service operation
|
|
2948
4312
|
*/
|
|
2949
|
-
|
|
2950
|
-
return oci_common_1.paginateRecords(request, req => this.
|
|
4313
|
+
listAllJobs(request) {
|
|
4314
|
+
return oci_common_1.paginateRecords(request, req => this.listJobs(req));
|
|
2951
4315
|
}
|
|
2952
4316
|
/**
|
|
2953
|
-
* NOTE: This function is deprecated in favor of
|
|
2954
|
-
* Creates a new async iterator which will iterate over the responses received from the
|
|
4317
|
+
* NOTE: This function is deprecated in favor of listJobsResponseIterator function.
|
|
4318
|
+
* Creates a new async iterator which will iterate over the responses received from the listJobs operation. This iterator
|
|
2955
4319
|
* will fetch more data from the server as needed.
|
|
2956
4320
|
*
|
|
2957
4321
|
* @param request a request which can be sent to the service operation
|
|
2958
4322
|
*/
|
|
2959
|
-
|
|
2960
|
-
return oci_common_1.paginateResponses(request, req => this.
|
|
4323
|
+
listAllJobsResponses(request) {
|
|
4324
|
+
return oci_common_1.paginateResponses(request, req => this.listJobs(req));
|
|
2961
4325
|
}
|
|
2962
4326
|
/**
|
|
2963
|
-
* Creates a new async iterator which will iterate over the models.
|
|
2964
|
-
* contained in responses from the
|
|
4327
|
+
* Creates a new async iterator which will iterate over the models.JobSummary objects
|
|
4328
|
+
* contained in responses from the listJobs operation. This iterator will fetch more data from the
|
|
2965
4329
|
* server as needed.
|
|
2966
4330
|
*
|
|
2967
4331
|
* @param request a request which can be sent to the service operation
|
|
2968
4332
|
*/
|
|
2969
|
-
|
|
2970
|
-
return oci_common_1.paginateRecords(request, req => this.
|
|
4333
|
+
listJobsRecordIterator(request) {
|
|
4334
|
+
return oci_common_1.paginateRecords(request, req => this.listJobs(req));
|
|
2971
4335
|
}
|
|
2972
4336
|
/**
|
|
2973
|
-
* Creates a new async iterator which will iterate over the responses received from the
|
|
4337
|
+
* Creates a new async iterator which will iterate over the responses received from the listJobs operation. This iterator
|
|
2974
4338
|
* will fetch more data from the server as needed.
|
|
2975
4339
|
*
|
|
2976
4340
|
* @param request a request which can be sent to the service operation
|
|
2977
4341
|
*/
|
|
2978
|
-
|
|
2979
|
-
return oci_common_1.paginateResponses(request, req => this.
|
|
4342
|
+
listJobsResponseIterator(request) {
|
|
4343
|
+
return oci_common_1.paginateResponses(request, req => this.listJobs(req));
|
|
2980
4344
|
}
|
|
2981
4345
|
/**
|
|
2982
|
-
*
|
|
4346
|
+
* Lists the valid model deployment shapes.
|
|
2983
4347
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2984
|
-
* @param
|
|
2985
|
-
* @return
|
|
4348
|
+
* @param ListModelDeploymentShapesRequest
|
|
4349
|
+
* @return ListModelDeploymentShapesResponse
|
|
2986
4350
|
* @throws OciError when an error occurs
|
|
2987
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
4351
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ListModelDeploymentShapes.ts.html |here} to see how to use ListModelDeploymentShapes API.
|
|
2988
4352
|
*/
|
|
2989
|
-
|
|
4353
|
+
listModelDeploymentShapes(listModelDeploymentShapesRequest) {
|
|
2990
4354
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2991
4355
|
if (this.logger)
|
|
2992
|
-
this.logger.debug("Calling operation DataScienceClient#
|
|
2993
|
-
const operationName = "
|
|
2994
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/
|
|
4356
|
+
this.logger.debug("Calling operation DataScienceClient#listModelDeploymentShapes.");
|
|
4357
|
+
const operationName = "listModelDeploymentShapes";
|
|
4358
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/ModelDeploymentShapeSummary/ListModelDeploymentShapes";
|
|
2995
4359
|
const pathParams = {};
|
|
2996
4360
|
const queryParams = {
|
|
2997
|
-
"
|
|
2998
|
-
"
|
|
2999
|
-
"
|
|
3000
|
-
"createdBy": listJobRunsRequest.createdBy,
|
|
3001
|
-
"displayName": listJobRunsRequest.displayName,
|
|
3002
|
-
"limit": listJobRunsRequest.limit,
|
|
3003
|
-
"page": listJobRunsRequest.page,
|
|
3004
|
-
"sortOrder": listJobRunsRequest.sortOrder,
|
|
3005
|
-
"sortBy": listJobRunsRequest.sortBy,
|
|
3006
|
-
"lifecycleState": listJobRunsRequest.lifecycleState
|
|
4361
|
+
"compartmentId": listModelDeploymentShapesRequest.compartmentId,
|
|
4362
|
+
"limit": listModelDeploymentShapesRequest.limit,
|
|
4363
|
+
"page": listModelDeploymentShapesRequest.page
|
|
3007
4364
|
};
|
|
3008
4365
|
let headerParams = {
|
|
3009
4366
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3010
|
-
"opc-request-id":
|
|
4367
|
+
"opc-request-id": listModelDeploymentShapesRequest.opcRequestId
|
|
3011
4368
|
};
|
|
3012
4369
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3013
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
4370
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listModelDeploymentShapesRequest.retryConfiguration, specRetryConfiguration);
|
|
3014
4371
|
if (this.logger)
|
|
3015
4372
|
retrier.logger = this.logger;
|
|
3016
4373
|
const request = yield oci_common_2.composeRequest({
|
|
3017
4374
|
baseEndpoint: this._endpoint,
|
|
3018
4375
|
defaultHeaders: this._defaultHeaders,
|
|
3019
|
-
path: "/
|
|
4376
|
+
path: "/modelDeploymentShapes",
|
|
3020
4377
|
method: "GET",
|
|
3021
4378
|
pathParams: pathParams,
|
|
3022
4379
|
headerParams: headerParams,
|
|
@@ -3028,8 +4385,8 @@ class DataScienceClient {
|
|
|
3028
4385
|
responseObject: {},
|
|
3029
4386
|
body: yield response.json(),
|
|
3030
4387
|
bodyKey: "items",
|
|
3031
|
-
bodyModel: model.
|
|
3032
|
-
type: "Array<model.
|
|
4388
|
+
bodyModel: model.ModelDeploymentShapeSummary,
|
|
4389
|
+
type: "Array<model.ModelDeploymentShapeSummary>",
|
|
3033
4390
|
responseHeaders: [
|
|
3034
4391
|
{
|
|
3035
4392
|
value: response.headers.get("opc-next-page"),
|
|
@@ -3056,77 +4413,85 @@ class DataScienceClient {
|
|
|
3056
4413
|
});
|
|
3057
4414
|
}
|
|
3058
4415
|
/**
|
|
3059
|
-
* NOTE: This function is deprecated in favor of
|
|
3060
|
-
* Creates a new async iterator which will iterate over the models.
|
|
3061
|
-
* contained in responses from the
|
|
4416
|
+
* NOTE: This function is deprecated in favor of listModelDeploymentShapesRecordIterator function.
|
|
4417
|
+
* Creates a new async iterator which will iterate over the models.ModelDeploymentShapeSummary objects
|
|
4418
|
+
* contained in responses from the listModelDeploymentShapes operation. This iterator will fetch more data from the
|
|
3062
4419
|
* server as needed.
|
|
3063
4420
|
*
|
|
3064
4421
|
* @param request a request which can be sent to the service operation
|
|
3065
4422
|
*/
|
|
3066
|
-
|
|
3067
|
-
return oci_common_1.paginateRecords(request, req => this.
|
|
4423
|
+
listAllModelDeploymentShapes(request) {
|
|
4424
|
+
return oci_common_1.paginateRecords(request, req => this.listModelDeploymentShapes(req));
|
|
3068
4425
|
}
|
|
3069
4426
|
/**
|
|
3070
|
-
* NOTE: This function is deprecated in favor of
|
|
3071
|
-
* Creates a new async iterator which will iterate over the responses received from the
|
|
4427
|
+
* NOTE: This function is deprecated in favor of listModelDeploymentShapesResponseIterator function.
|
|
4428
|
+
* Creates a new async iterator which will iterate over the responses received from the listModelDeploymentShapes operation. This iterator
|
|
3072
4429
|
* will fetch more data from the server as needed.
|
|
3073
4430
|
*
|
|
3074
4431
|
* @param request a request which can be sent to the service operation
|
|
3075
4432
|
*/
|
|
3076
|
-
|
|
3077
|
-
return oci_common_1.paginateResponses(request, req => this.
|
|
4433
|
+
listAllModelDeploymentShapesResponses(request) {
|
|
4434
|
+
return oci_common_1.paginateResponses(request, req => this.listModelDeploymentShapes(req));
|
|
3078
4435
|
}
|
|
3079
4436
|
/**
|
|
3080
|
-
* Creates a new async iterator which will iterate over the models.
|
|
3081
|
-
* contained in responses from the
|
|
4437
|
+
* Creates a new async iterator which will iterate over the models.ModelDeploymentShapeSummary objects
|
|
4438
|
+
* contained in responses from the listModelDeploymentShapes operation. This iterator will fetch more data from the
|
|
3082
4439
|
* server as needed.
|
|
3083
4440
|
*
|
|
3084
4441
|
* @param request a request which can be sent to the service operation
|
|
3085
4442
|
*/
|
|
3086
|
-
|
|
3087
|
-
return oci_common_1.paginateRecords(request, req => this.
|
|
4443
|
+
listModelDeploymentShapesRecordIterator(request) {
|
|
4444
|
+
return oci_common_1.paginateRecords(request, req => this.listModelDeploymentShapes(req));
|
|
3088
4445
|
}
|
|
3089
4446
|
/**
|
|
3090
|
-
* Creates a new async iterator which will iterate over the responses received from the
|
|
4447
|
+
* Creates a new async iterator which will iterate over the responses received from the listModelDeploymentShapes operation. This iterator
|
|
3091
4448
|
* will fetch more data from the server as needed.
|
|
3092
4449
|
*
|
|
3093
4450
|
* @param request a request which can be sent to the service operation
|
|
3094
4451
|
*/
|
|
3095
|
-
|
|
3096
|
-
return oci_common_1.paginateResponses(request, req => this.
|
|
4452
|
+
listModelDeploymentShapesResponseIterator(request) {
|
|
4453
|
+
return oci_common_1.paginateResponses(request, req => this.listModelDeploymentShapes(req));
|
|
3097
4454
|
}
|
|
3098
4455
|
/**
|
|
3099
|
-
*
|
|
4456
|
+
* Lists all model deployments in the specified compartment. Only one parameter other than compartmentId may also be included in a query. The query must include compartmentId. If the query does not include compartmentId, or includes compartmentId but two or more other parameters an error is returned.
|
|
4457
|
+
*
|
|
3100
4458
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3101
|
-
* @param
|
|
3102
|
-
* @return
|
|
4459
|
+
* @param ListModelDeploymentsRequest
|
|
4460
|
+
* @return ListModelDeploymentsResponse
|
|
3103
4461
|
* @throws OciError when an error occurs
|
|
3104
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
4462
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ListModelDeployments.ts.html |here} to see how to use ListModelDeployments API.
|
|
3105
4463
|
*/
|
|
3106
|
-
|
|
4464
|
+
listModelDeployments(listModelDeploymentsRequest) {
|
|
3107
4465
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3108
4466
|
if (this.logger)
|
|
3109
|
-
this.logger.debug("Calling operation DataScienceClient#
|
|
3110
|
-
const operationName = "
|
|
3111
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/
|
|
4467
|
+
this.logger.debug("Calling operation DataScienceClient#listModelDeployments.");
|
|
4468
|
+
const operationName = "listModelDeployments";
|
|
4469
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/ModelDeploymentSummary/ListModelDeployments";
|
|
3112
4470
|
const pathParams = {};
|
|
3113
4471
|
const queryParams = {
|
|
3114
|
-
"compartmentId":
|
|
3115
|
-
"
|
|
3116
|
-
"
|
|
4472
|
+
"compartmentId": listModelDeploymentsRequest.compartmentId,
|
|
4473
|
+
"id": listModelDeploymentsRequest.id,
|
|
4474
|
+
"projectId": listModelDeploymentsRequest.projectId,
|
|
4475
|
+
"displayName": listModelDeploymentsRequest.displayName,
|
|
4476
|
+
"lifecycleState": listModelDeploymentsRequest.lifecycleState,
|
|
4477
|
+
"createdBy": listModelDeploymentsRequest.createdBy,
|
|
4478
|
+
"limit": listModelDeploymentsRequest.limit,
|
|
4479
|
+
"page": listModelDeploymentsRequest.page,
|
|
4480
|
+
"sortOrder": listModelDeploymentsRequest.sortOrder,
|
|
4481
|
+
"sortBy": listModelDeploymentsRequest.sortBy
|
|
3117
4482
|
};
|
|
3118
4483
|
let headerParams = {
|
|
3119
4484
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3120
|
-
"opc-request-id":
|
|
4485
|
+
"opc-request-id": listModelDeploymentsRequest.opcRequestId
|
|
3121
4486
|
};
|
|
3122
4487
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3123
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
4488
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listModelDeploymentsRequest.retryConfiguration, specRetryConfiguration);
|
|
3124
4489
|
if (this.logger)
|
|
3125
4490
|
retrier.logger = this.logger;
|
|
3126
4491
|
const request = yield oci_common_2.composeRequest({
|
|
3127
4492
|
baseEndpoint: this._endpoint,
|
|
3128
4493
|
defaultHeaders: this._defaultHeaders,
|
|
3129
|
-
path: "/
|
|
4494
|
+
path: "/modelDeployments",
|
|
3130
4495
|
method: "GET",
|
|
3131
4496
|
pathParams: pathParams,
|
|
3132
4497
|
headerParams: headerParams,
|
|
@@ -3138,8 +4503,8 @@ class DataScienceClient {
|
|
|
3138
4503
|
responseObject: {},
|
|
3139
4504
|
body: yield response.json(),
|
|
3140
4505
|
bodyKey: "items",
|
|
3141
|
-
bodyModel: model.
|
|
3142
|
-
type: "Array<model.
|
|
4506
|
+
bodyModel: model.ModelDeploymentSummary,
|
|
4507
|
+
type: "Array<model.ModelDeploymentSummary>",
|
|
3143
4508
|
responseHeaders: [
|
|
3144
4509
|
{
|
|
3145
4510
|
value: response.headers.get("opc-next-page"),
|
|
@@ -3166,84 +4531,84 @@ class DataScienceClient {
|
|
|
3166
4531
|
});
|
|
3167
4532
|
}
|
|
3168
4533
|
/**
|
|
3169
|
-
* NOTE: This function is deprecated in favor of
|
|
3170
|
-
* Creates a new async iterator which will iterate over the models.
|
|
3171
|
-
* contained in responses from the
|
|
4534
|
+
* NOTE: This function is deprecated in favor of listModelDeploymentsRecordIterator function.
|
|
4535
|
+
* Creates a new async iterator which will iterate over the models.ModelDeploymentSummary objects
|
|
4536
|
+
* contained in responses from the listModelDeployments operation. This iterator will fetch more data from the
|
|
3172
4537
|
* server as needed.
|
|
3173
4538
|
*
|
|
3174
4539
|
* @param request a request which can be sent to the service operation
|
|
3175
4540
|
*/
|
|
3176
|
-
|
|
3177
|
-
return oci_common_1.paginateRecords(request, req => this.
|
|
4541
|
+
listAllModelDeployments(request) {
|
|
4542
|
+
return oci_common_1.paginateRecords(request, req => this.listModelDeployments(req));
|
|
3178
4543
|
}
|
|
3179
4544
|
/**
|
|
3180
|
-
* NOTE: This function is deprecated in favor of
|
|
3181
|
-
* Creates a new async iterator which will iterate over the responses received from the
|
|
4545
|
+
* NOTE: This function is deprecated in favor of listModelDeploymentsResponseIterator function.
|
|
4546
|
+
* Creates a new async iterator which will iterate over the responses received from the listModelDeployments operation. This iterator
|
|
3182
4547
|
* will fetch more data from the server as needed.
|
|
3183
4548
|
*
|
|
3184
4549
|
* @param request a request which can be sent to the service operation
|
|
3185
4550
|
*/
|
|
3186
|
-
|
|
3187
|
-
return oci_common_1.paginateResponses(request, req => this.
|
|
4551
|
+
listAllModelDeploymentsResponses(request) {
|
|
4552
|
+
return oci_common_1.paginateResponses(request, req => this.listModelDeployments(req));
|
|
3188
4553
|
}
|
|
3189
4554
|
/**
|
|
3190
|
-
* Creates a new async iterator which will iterate over the models.
|
|
3191
|
-
* contained in responses from the
|
|
4555
|
+
* Creates a new async iterator which will iterate over the models.ModelDeploymentSummary objects
|
|
4556
|
+
* contained in responses from the listModelDeployments operation. This iterator will fetch more data from the
|
|
3192
4557
|
* server as needed.
|
|
3193
4558
|
*
|
|
3194
4559
|
* @param request a request which can be sent to the service operation
|
|
3195
4560
|
*/
|
|
3196
|
-
|
|
3197
|
-
return oci_common_1.paginateRecords(request, req => this.
|
|
4561
|
+
listModelDeploymentsRecordIterator(request) {
|
|
4562
|
+
return oci_common_1.paginateRecords(request, req => this.listModelDeployments(req));
|
|
3198
4563
|
}
|
|
3199
4564
|
/**
|
|
3200
|
-
* Creates a new async iterator which will iterate over the responses received from the
|
|
4565
|
+
* Creates a new async iterator which will iterate over the responses received from the listModelDeployments operation. This iterator
|
|
3201
4566
|
* will fetch more data from the server as needed.
|
|
3202
4567
|
*
|
|
3203
4568
|
* @param request a request which can be sent to the service operation
|
|
3204
4569
|
*/
|
|
3205
|
-
|
|
3206
|
-
return oci_common_1.paginateResponses(request, req => this.
|
|
4570
|
+
listModelDeploymentsResponseIterator(request) {
|
|
4571
|
+
return oci_common_1.paginateResponses(request, req => this.listModelDeployments(req));
|
|
3207
4572
|
}
|
|
3208
4573
|
/**
|
|
3209
|
-
*
|
|
4574
|
+
* Lists model version sets in the specified compartment.
|
|
3210
4575
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3211
|
-
* @param
|
|
3212
|
-
* @return
|
|
4576
|
+
* @param ListModelVersionSetsRequest
|
|
4577
|
+
* @return ListModelVersionSetsResponse
|
|
3213
4578
|
* @throws OciError when an error occurs
|
|
3214
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
4579
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ListModelVersionSets.ts.html |here} to see how to use ListModelVersionSets API.
|
|
3215
4580
|
*/
|
|
3216
|
-
|
|
4581
|
+
listModelVersionSets(listModelVersionSetsRequest) {
|
|
3217
4582
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3218
4583
|
if (this.logger)
|
|
3219
|
-
this.logger.debug("Calling operation DataScienceClient#
|
|
3220
|
-
const operationName = "
|
|
3221
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/
|
|
4584
|
+
this.logger.debug("Calling operation DataScienceClient#listModelVersionSets.");
|
|
4585
|
+
const operationName = "listModelVersionSets";
|
|
4586
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/ModelVersionSetSummary/ListModelVersionSets";
|
|
3222
4587
|
const pathParams = {};
|
|
3223
4588
|
const queryParams = {
|
|
3224
|
-
"compartmentId":
|
|
3225
|
-
"
|
|
3226
|
-
"
|
|
3227
|
-
"
|
|
3228
|
-
"lifecycleState":
|
|
3229
|
-
"createdBy":
|
|
3230
|
-
"limit":
|
|
3231
|
-
"page":
|
|
3232
|
-
"sortOrder":
|
|
3233
|
-
"sortBy":
|
|
4589
|
+
"compartmentId": listModelVersionSetsRequest.compartmentId,
|
|
4590
|
+
"id": listModelVersionSetsRequest.id,
|
|
4591
|
+
"projectId": listModelVersionSetsRequest.projectId,
|
|
4592
|
+
"name": listModelVersionSetsRequest.name,
|
|
4593
|
+
"lifecycleState": listModelVersionSetsRequest.lifecycleState,
|
|
4594
|
+
"createdBy": listModelVersionSetsRequest.createdBy,
|
|
4595
|
+
"limit": listModelVersionSetsRequest.limit,
|
|
4596
|
+
"page": listModelVersionSetsRequest.page,
|
|
4597
|
+
"sortOrder": listModelVersionSetsRequest.sortOrder,
|
|
4598
|
+
"sortBy": listModelVersionSetsRequest.sortBy
|
|
3234
4599
|
};
|
|
3235
4600
|
let headerParams = {
|
|
3236
4601
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3237
|
-
"opc-request-id":
|
|
4602
|
+
"opc-request-id": listModelVersionSetsRequest.opcRequestId
|
|
3238
4603
|
};
|
|
3239
4604
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3240
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
4605
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listModelVersionSetsRequest.retryConfiguration, specRetryConfiguration);
|
|
3241
4606
|
if (this.logger)
|
|
3242
4607
|
retrier.logger = this.logger;
|
|
3243
4608
|
const request = yield oci_common_2.composeRequest({
|
|
3244
4609
|
baseEndpoint: this._endpoint,
|
|
3245
4610
|
defaultHeaders: this._defaultHeaders,
|
|
3246
|
-
path: "/
|
|
4611
|
+
path: "/modelVersionSets",
|
|
3247
4612
|
method: "GET",
|
|
3248
4613
|
pathParams: pathParams,
|
|
3249
4614
|
headerParams: headerParams,
|
|
@@ -3255,8 +4620,8 @@ class DataScienceClient {
|
|
|
3255
4620
|
responseObject: {},
|
|
3256
4621
|
body: yield response.json(),
|
|
3257
4622
|
bodyKey: "items",
|
|
3258
|
-
bodyModel: model.
|
|
3259
|
-
type: "Array<model.
|
|
4623
|
+
bodyModel: model.ModelVersionSetSummary,
|
|
4624
|
+
type: "Array<model.ModelVersionSetSummary>",
|
|
3260
4625
|
responseHeaders: [
|
|
3261
4626
|
{
|
|
3262
4627
|
value: response.headers.get("opc-next-page"),
|
|
@@ -3283,77 +4648,86 @@ class DataScienceClient {
|
|
|
3283
4648
|
});
|
|
3284
4649
|
}
|
|
3285
4650
|
/**
|
|
3286
|
-
* NOTE: This function is deprecated in favor of
|
|
3287
|
-
* Creates a new async iterator which will iterate over the models.
|
|
3288
|
-
* contained in responses from the
|
|
4651
|
+
* NOTE: This function is deprecated in favor of listModelVersionSetsRecordIterator function.
|
|
4652
|
+
* Creates a new async iterator which will iterate over the models.ModelVersionSetSummary objects
|
|
4653
|
+
* contained in responses from the listModelVersionSets operation. This iterator will fetch more data from the
|
|
3289
4654
|
* server as needed.
|
|
3290
4655
|
*
|
|
3291
4656
|
* @param request a request which can be sent to the service operation
|
|
3292
4657
|
*/
|
|
3293
|
-
|
|
3294
|
-
return oci_common_1.paginateRecords(request, req => this.
|
|
4658
|
+
listAllModelVersionSets(request) {
|
|
4659
|
+
return oci_common_1.paginateRecords(request, req => this.listModelVersionSets(req));
|
|
3295
4660
|
}
|
|
3296
4661
|
/**
|
|
3297
|
-
* NOTE: This function is deprecated in favor of
|
|
3298
|
-
* Creates a new async iterator which will iterate over the responses received from the
|
|
4662
|
+
* NOTE: This function is deprecated in favor of listModelVersionSetsResponseIterator function.
|
|
4663
|
+
* Creates a new async iterator which will iterate over the responses received from the listModelVersionSets operation. This iterator
|
|
3299
4664
|
* will fetch more data from the server as needed.
|
|
3300
4665
|
*
|
|
3301
4666
|
* @param request a request which can be sent to the service operation
|
|
3302
4667
|
*/
|
|
3303
|
-
|
|
3304
|
-
return oci_common_1.paginateResponses(request, req => this.
|
|
4668
|
+
listAllModelVersionSetsResponses(request) {
|
|
4669
|
+
return oci_common_1.paginateResponses(request, req => this.listModelVersionSets(req));
|
|
3305
4670
|
}
|
|
3306
4671
|
/**
|
|
3307
|
-
* Creates a new async iterator which will iterate over the models.
|
|
3308
|
-
* contained in responses from the
|
|
4672
|
+
* Creates a new async iterator which will iterate over the models.ModelVersionSetSummary objects
|
|
4673
|
+
* contained in responses from the listModelVersionSets operation. This iterator will fetch more data from the
|
|
3309
4674
|
* server as needed.
|
|
3310
4675
|
*
|
|
3311
4676
|
* @param request a request which can be sent to the service operation
|
|
3312
4677
|
*/
|
|
3313
|
-
|
|
3314
|
-
return oci_common_1.paginateRecords(request, req => this.
|
|
4678
|
+
listModelVersionSetsRecordIterator(request) {
|
|
4679
|
+
return oci_common_1.paginateRecords(request, req => this.listModelVersionSets(req));
|
|
3315
4680
|
}
|
|
3316
4681
|
/**
|
|
3317
|
-
* Creates a new async iterator which will iterate over the responses received from the
|
|
4682
|
+
* Creates a new async iterator which will iterate over the responses received from the listModelVersionSets operation. This iterator
|
|
3318
4683
|
* will fetch more data from the server as needed.
|
|
3319
4684
|
*
|
|
3320
4685
|
* @param request a request which can be sent to the service operation
|
|
3321
4686
|
*/
|
|
3322
|
-
|
|
3323
|
-
return oci_common_1.paginateResponses(request, req => this.
|
|
4687
|
+
listModelVersionSetsResponseIterator(request) {
|
|
4688
|
+
return oci_common_1.paginateResponses(request, req => this.listModelVersionSets(req));
|
|
3324
4689
|
}
|
|
3325
4690
|
/**
|
|
3326
|
-
* Lists
|
|
4691
|
+
* Lists models in the specified compartment.
|
|
3327
4692
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3328
|
-
* @param
|
|
3329
|
-
* @return
|
|
4693
|
+
* @param ListModelsRequest
|
|
4694
|
+
* @return ListModelsResponse
|
|
3330
4695
|
* @throws OciError when an error occurs
|
|
3331
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
4696
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ListModels.ts.html |here} to see how to use ListModels API.
|
|
3332
4697
|
*/
|
|
3333
|
-
|
|
4698
|
+
listModels(listModelsRequest) {
|
|
3334
4699
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3335
4700
|
if (this.logger)
|
|
3336
|
-
this.logger.debug("Calling operation DataScienceClient#
|
|
3337
|
-
const operationName = "
|
|
3338
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/
|
|
4701
|
+
this.logger.debug("Calling operation DataScienceClient#listModels.");
|
|
4702
|
+
const operationName = "listModels";
|
|
4703
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/ModelSummary/ListModels";
|
|
3339
4704
|
const pathParams = {};
|
|
3340
4705
|
const queryParams = {
|
|
3341
|
-
"compartmentId":
|
|
3342
|
-
"
|
|
3343
|
-
"
|
|
4706
|
+
"compartmentId": listModelsRequest.compartmentId,
|
|
4707
|
+
"modelVersionSetName": listModelsRequest.modelVersionSetName,
|
|
4708
|
+
"versionLabel": listModelsRequest.versionLabel,
|
|
4709
|
+
"id": listModelsRequest.id,
|
|
4710
|
+
"projectId": listModelsRequest.projectId,
|
|
4711
|
+
"displayName": listModelsRequest.displayName,
|
|
4712
|
+
"lifecycleState": listModelsRequest.lifecycleState,
|
|
4713
|
+
"createdBy": listModelsRequest.createdBy,
|
|
4714
|
+
"limit": listModelsRequest.limit,
|
|
4715
|
+
"page": listModelsRequest.page,
|
|
4716
|
+
"sortOrder": listModelsRequest.sortOrder,
|
|
4717
|
+
"sortBy": listModelsRequest.sortBy
|
|
3344
4718
|
};
|
|
3345
4719
|
let headerParams = {
|
|
3346
4720
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3347
|
-
"opc-request-id":
|
|
4721
|
+
"opc-request-id": listModelsRequest.opcRequestId
|
|
3348
4722
|
};
|
|
3349
4723
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3350
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
4724
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listModelsRequest.retryConfiguration, specRetryConfiguration);
|
|
3351
4725
|
if (this.logger)
|
|
3352
4726
|
retrier.logger = this.logger;
|
|
3353
4727
|
const request = yield oci_common_2.composeRequest({
|
|
3354
4728
|
baseEndpoint: this._endpoint,
|
|
3355
4729
|
defaultHeaders: this._defaultHeaders,
|
|
3356
|
-
path: "/
|
|
4730
|
+
path: "/models",
|
|
3357
4731
|
method: "GET",
|
|
3358
4732
|
pathParams: pathParams,
|
|
3359
4733
|
headerParams: headerParams,
|
|
@@ -3365,8 +4739,8 @@ class DataScienceClient {
|
|
|
3365
4739
|
responseObject: {},
|
|
3366
4740
|
body: yield response.json(),
|
|
3367
4741
|
bodyKey: "items",
|
|
3368
|
-
bodyModel: model.
|
|
3369
|
-
type: "Array<model.
|
|
4742
|
+
bodyModel: model.ModelSummary,
|
|
4743
|
+
type: "Array<model.ModelSummary>",
|
|
3370
4744
|
responseHeaders: [
|
|
3371
4745
|
{
|
|
3372
4746
|
value: response.headers.get("opc-next-page"),
|
|
@@ -3393,85 +4767,77 @@ class DataScienceClient {
|
|
|
3393
4767
|
});
|
|
3394
4768
|
}
|
|
3395
4769
|
/**
|
|
3396
|
-
* NOTE: This function is deprecated in favor of
|
|
3397
|
-
* Creates a new async iterator which will iterate over the models.
|
|
3398
|
-
* contained in responses from the
|
|
4770
|
+
* NOTE: This function is deprecated in favor of listModelsRecordIterator function.
|
|
4771
|
+
* Creates a new async iterator which will iterate over the models.ModelSummary objects
|
|
4772
|
+
* contained in responses from the listModels operation. This iterator will fetch more data from the
|
|
3399
4773
|
* server as needed.
|
|
3400
4774
|
*
|
|
3401
4775
|
* @param request a request which can be sent to the service operation
|
|
3402
4776
|
*/
|
|
3403
|
-
|
|
3404
|
-
return oci_common_1.paginateRecords(request, req => this.
|
|
4777
|
+
listAllModels(request) {
|
|
4778
|
+
return oci_common_1.paginateRecords(request, req => this.listModels(req));
|
|
3405
4779
|
}
|
|
3406
4780
|
/**
|
|
3407
|
-
* NOTE: This function is deprecated in favor of
|
|
3408
|
-
* Creates a new async iterator which will iterate over the responses received from the
|
|
4781
|
+
* NOTE: This function is deprecated in favor of listModelsResponseIterator function.
|
|
4782
|
+
* Creates a new async iterator which will iterate over the responses received from the listModels operation. This iterator
|
|
3409
4783
|
* will fetch more data from the server as needed.
|
|
3410
4784
|
*
|
|
3411
4785
|
* @param request a request which can be sent to the service operation
|
|
3412
4786
|
*/
|
|
3413
|
-
|
|
3414
|
-
return oci_common_1.paginateResponses(request, req => this.
|
|
4787
|
+
listAllModelsResponses(request) {
|
|
4788
|
+
return oci_common_1.paginateResponses(request, req => this.listModels(req));
|
|
3415
4789
|
}
|
|
3416
4790
|
/**
|
|
3417
|
-
* Creates a new async iterator which will iterate over the models.
|
|
3418
|
-
* contained in responses from the
|
|
4791
|
+
* Creates a new async iterator which will iterate over the models.ModelSummary objects
|
|
4792
|
+
* contained in responses from the listModels operation. This iterator will fetch more data from the
|
|
3419
4793
|
* server as needed.
|
|
3420
4794
|
*
|
|
3421
4795
|
* @param request a request which can be sent to the service operation
|
|
3422
4796
|
*/
|
|
3423
|
-
|
|
3424
|
-
return oci_common_1.paginateRecords(request, req => this.
|
|
4797
|
+
listModelsRecordIterator(request) {
|
|
4798
|
+
return oci_common_1.paginateRecords(request, req => this.listModels(req));
|
|
3425
4799
|
}
|
|
3426
4800
|
/**
|
|
3427
|
-
* Creates a new async iterator which will iterate over the responses received from the
|
|
4801
|
+
* Creates a new async iterator which will iterate over the responses received from the listModels operation. This iterator
|
|
3428
4802
|
* will fetch more data from the server as needed.
|
|
3429
4803
|
*
|
|
3430
4804
|
* @param request a request which can be sent to the service operation
|
|
3431
4805
|
*/
|
|
3432
|
-
|
|
3433
|
-
return oci_common_1.paginateResponses(request, req => this.
|
|
4806
|
+
listModelsResponseIterator(request) {
|
|
4807
|
+
return oci_common_1.paginateResponses(request, req => this.listModels(req));
|
|
3434
4808
|
}
|
|
3435
4809
|
/**
|
|
3436
|
-
* Lists
|
|
3437
|
-
*
|
|
4810
|
+
* Lists the valid notebook session shapes.
|
|
3438
4811
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3439
|
-
* @param
|
|
3440
|
-
* @return
|
|
4812
|
+
* @param ListNotebookSessionShapesRequest
|
|
4813
|
+
* @return ListNotebookSessionShapesResponse
|
|
3441
4814
|
* @throws OciError when an error occurs
|
|
3442
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
4815
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ListNotebookSessionShapes.ts.html |here} to see how to use ListNotebookSessionShapes API.
|
|
3443
4816
|
*/
|
|
3444
|
-
|
|
4817
|
+
listNotebookSessionShapes(listNotebookSessionShapesRequest) {
|
|
3445
4818
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3446
4819
|
if (this.logger)
|
|
3447
|
-
this.logger.debug("Calling operation DataScienceClient#
|
|
3448
|
-
const operationName = "
|
|
3449
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/
|
|
4820
|
+
this.logger.debug("Calling operation DataScienceClient#listNotebookSessionShapes.");
|
|
4821
|
+
const operationName = "listNotebookSessionShapes";
|
|
4822
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/NotebookSessionShapeSummary/ListNotebookSessionShapes";
|
|
3450
4823
|
const pathParams = {};
|
|
3451
4824
|
const queryParams = {
|
|
3452
|
-
"compartmentId":
|
|
3453
|
-
"
|
|
3454
|
-
"
|
|
3455
|
-
"displayName": listModelDeploymentsRequest.displayName,
|
|
3456
|
-
"lifecycleState": listModelDeploymentsRequest.lifecycleState,
|
|
3457
|
-
"createdBy": listModelDeploymentsRequest.createdBy,
|
|
3458
|
-
"limit": listModelDeploymentsRequest.limit,
|
|
3459
|
-
"page": listModelDeploymentsRequest.page,
|
|
3460
|
-
"sortOrder": listModelDeploymentsRequest.sortOrder,
|
|
3461
|
-
"sortBy": listModelDeploymentsRequest.sortBy
|
|
4825
|
+
"compartmentId": listNotebookSessionShapesRequest.compartmentId,
|
|
4826
|
+
"limit": listNotebookSessionShapesRequest.limit,
|
|
4827
|
+
"page": listNotebookSessionShapesRequest.page
|
|
3462
4828
|
};
|
|
3463
4829
|
let headerParams = {
|
|
3464
4830
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3465
|
-
"opc-request-id":
|
|
4831
|
+
"opc-request-id": listNotebookSessionShapesRequest.opcRequestId
|
|
3466
4832
|
};
|
|
3467
4833
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3468
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
4834
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listNotebookSessionShapesRequest.retryConfiguration, specRetryConfiguration);
|
|
3469
4835
|
if (this.logger)
|
|
3470
4836
|
retrier.logger = this.logger;
|
|
3471
4837
|
const request = yield oci_common_2.composeRequest({
|
|
3472
4838
|
baseEndpoint: this._endpoint,
|
|
3473
4839
|
defaultHeaders: this._defaultHeaders,
|
|
3474
|
-
path: "/
|
|
4840
|
+
path: "/notebookSessionShapes",
|
|
3475
4841
|
method: "GET",
|
|
3476
4842
|
pathParams: pathParams,
|
|
3477
4843
|
headerParams: headerParams,
|
|
@@ -3483,8 +4849,8 @@ class DataScienceClient {
|
|
|
3483
4849
|
responseObject: {},
|
|
3484
4850
|
body: yield response.json(),
|
|
3485
4851
|
bodyKey: "items",
|
|
3486
|
-
bodyModel: model.
|
|
3487
|
-
type: "Array<model.
|
|
4852
|
+
bodyModel: model.NotebookSessionShapeSummary,
|
|
4853
|
+
type: "Array<model.NotebookSessionShapeSummary>",
|
|
3488
4854
|
responseHeaders: [
|
|
3489
4855
|
{
|
|
3490
4856
|
value: response.headers.get("opc-next-page"),
|
|
@@ -3511,84 +4877,84 @@ class DataScienceClient {
|
|
|
3511
4877
|
});
|
|
3512
4878
|
}
|
|
3513
4879
|
/**
|
|
3514
|
-
* NOTE: This function is deprecated in favor of
|
|
3515
|
-
* Creates a new async iterator which will iterate over the models.
|
|
3516
|
-
* contained in responses from the
|
|
4880
|
+
* NOTE: This function is deprecated in favor of listNotebookSessionShapesRecordIterator function.
|
|
4881
|
+
* Creates a new async iterator which will iterate over the models.NotebookSessionShapeSummary objects
|
|
4882
|
+
* contained in responses from the listNotebookSessionShapes operation. This iterator will fetch more data from the
|
|
3517
4883
|
* server as needed.
|
|
3518
4884
|
*
|
|
3519
4885
|
* @param request a request which can be sent to the service operation
|
|
3520
4886
|
*/
|
|
3521
|
-
|
|
3522
|
-
return oci_common_1.paginateRecords(request, req => this.
|
|
4887
|
+
listAllNotebookSessionShapes(request) {
|
|
4888
|
+
return oci_common_1.paginateRecords(request, req => this.listNotebookSessionShapes(req));
|
|
3523
4889
|
}
|
|
3524
4890
|
/**
|
|
3525
|
-
* NOTE: This function is deprecated in favor of
|
|
3526
|
-
* Creates a new async iterator which will iterate over the responses received from the
|
|
4891
|
+
* NOTE: This function is deprecated in favor of listNotebookSessionShapesResponseIterator function.
|
|
4892
|
+
* Creates a new async iterator which will iterate over the responses received from the listNotebookSessionShapes operation. This iterator
|
|
3527
4893
|
* will fetch more data from the server as needed.
|
|
3528
4894
|
*
|
|
3529
4895
|
* @param request a request which can be sent to the service operation
|
|
3530
4896
|
*/
|
|
3531
|
-
|
|
3532
|
-
return oci_common_1.paginateResponses(request, req => this.
|
|
4897
|
+
listAllNotebookSessionShapesResponses(request) {
|
|
4898
|
+
return oci_common_1.paginateResponses(request, req => this.listNotebookSessionShapes(req));
|
|
3533
4899
|
}
|
|
3534
4900
|
/**
|
|
3535
|
-
* Creates a new async iterator which will iterate over the models.
|
|
3536
|
-
* contained in responses from the
|
|
4901
|
+
* Creates a new async iterator which will iterate over the models.NotebookSessionShapeSummary objects
|
|
4902
|
+
* contained in responses from the listNotebookSessionShapes operation. This iterator will fetch more data from the
|
|
3537
4903
|
* server as needed.
|
|
3538
4904
|
*
|
|
3539
4905
|
* @param request a request which can be sent to the service operation
|
|
3540
4906
|
*/
|
|
3541
|
-
|
|
3542
|
-
return oci_common_1.paginateRecords(request, req => this.
|
|
4907
|
+
listNotebookSessionShapesRecordIterator(request) {
|
|
4908
|
+
return oci_common_1.paginateRecords(request, req => this.listNotebookSessionShapes(req));
|
|
3543
4909
|
}
|
|
3544
4910
|
/**
|
|
3545
|
-
* Creates a new async iterator which will iterate over the responses received from the
|
|
4911
|
+
* Creates a new async iterator which will iterate over the responses received from the listNotebookSessionShapes operation. This iterator
|
|
3546
4912
|
* will fetch more data from the server as needed.
|
|
3547
4913
|
*
|
|
3548
4914
|
* @param request a request which can be sent to the service operation
|
|
3549
4915
|
*/
|
|
3550
|
-
|
|
3551
|
-
return oci_common_1.paginateResponses(request, req => this.
|
|
4916
|
+
listNotebookSessionShapesResponseIterator(request) {
|
|
4917
|
+
return oci_common_1.paginateResponses(request, req => this.listNotebookSessionShapes(req));
|
|
3552
4918
|
}
|
|
3553
4919
|
/**
|
|
3554
|
-
* Lists
|
|
4920
|
+
* Lists the notebook sessions in the specified compartment.
|
|
3555
4921
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3556
|
-
* @param
|
|
3557
|
-
* @return
|
|
4922
|
+
* @param ListNotebookSessionsRequest
|
|
4923
|
+
* @return ListNotebookSessionsResponse
|
|
3558
4924
|
* @throws OciError when an error occurs
|
|
3559
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
4925
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ListNotebookSessions.ts.html |here} to see how to use ListNotebookSessions API.
|
|
3560
4926
|
*/
|
|
3561
|
-
|
|
4927
|
+
listNotebookSessions(listNotebookSessionsRequest) {
|
|
3562
4928
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3563
4929
|
if (this.logger)
|
|
3564
|
-
this.logger.debug("Calling operation DataScienceClient#
|
|
3565
|
-
const operationName = "
|
|
3566
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/
|
|
4930
|
+
this.logger.debug("Calling operation DataScienceClient#listNotebookSessions.");
|
|
4931
|
+
const operationName = "listNotebookSessions";
|
|
4932
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/NotebookSessionSummary/ListNotebookSessions";
|
|
3567
4933
|
const pathParams = {};
|
|
3568
4934
|
const queryParams = {
|
|
3569
|
-
"compartmentId":
|
|
3570
|
-
"id":
|
|
3571
|
-
"projectId":
|
|
3572
|
-
"displayName":
|
|
3573
|
-
"lifecycleState":
|
|
3574
|
-
"createdBy":
|
|
3575
|
-
"limit":
|
|
3576
|
-
"page":
|
|
3577
|
-
"sortOrder":
|
|
3578
|
-
"sortBy":
|
|
4935
|
+
"compartmentId": listNotebookSessionsRequest.compartmentId,
|
|
4936
|
+
"id": listNotebookSessionsRequest.id,
|
|
4937
|
+
"projectId": listNotebookSessionsRequest.projectId,
|
|
4938
|
+
"displayName": listNotebookSessionsRequest.displayName,
|
|
4939
|
+
"lifecycleState": listNotebookSessionsRequest.lifecycleState,
|
|
4940
|
+
"createdBy": listNotebookSessionsRequest.createdBy,
|
|
4941
|
+
"limit": listNotebookSessionsRequest.limit,
|
|
4942
|
+
"page": listNotebookSessionsRequest.page,
|
|
4943
|
+
"sortOrder": listNotebookSessionsRequest.sortOrder,
|
|
4944
|
+
"sortBy": listNotebookSessionsRequest.sortBy
|
|
3579
4945
|
};
|
|
3580
4946
|
let headerParams = {
|
|
3581
4947
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3582
|
-
"opc-request-id":
|
|
4948
|
+
"opc-request-id": listNotebookSessionsRequest.opcRequestId
|
|
3583
4949
|
};
|
|
3584
4950
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3585
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
4951
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listNotebookSessionsRequest.retryConfiguration, specRetryConfiguration);
|
|
3586
4952
|
if (this.logger)
|
|
3587
4953
|
retrier.logger = this.logger;
|
|
3588
4954
|
const request = yield oci_common_2.composeRequest({
|
|
3589
4955
|
baseEndpoint: this._endpoint,
|
|
3590
4956
|
defaultHeaders: this._defaultHeaders,
|
|
3591
|
-
path: "/
|
|
4957
|
+
path: "/notebookSessions",
|
|
3592
4958
|
method: "GET",
|
|
3593
4959
|
pathParams: pathParams,
|
|
3594
4960
|
headerParams: headerParams,
|
|
@@ -3600,8 +4966,8 @@ class DataScienceClient {
|
|
|
3600
4966
|
responseObject: {},
|
|
3601
4967
|
body: yield response.json(),
|
|
3602
4968
|
bodyKey: "items",
|
|
3603
|
-
bodyModel: model.
|
|
3604
|
-
type: "Array<model.
|
|
4969
|
+
bodyModel: model.NotebookSessionSummary,
|
|
4970
|
+
type: "Array<model.NotebookSessionSummary>",
|
|
3605
4971
|
responseHeaders: [
|
|
3606
4972
|
{
|
|
3607
4973
|
value: response.headers.get("opc-next-page"),
|
|
@@ -3628,77 +4994,84 @@ class DataScienceClient {
|
|
|
3628
4994
|
});
|
|
3629
4995
|
}
|
|
3630
4996
|
/**
|
|
3631
|
-
* NOTE: This function is deprecated in favor of
|
|
3632
|
-
* Creates a new async iterator which will iterate over the models.
|
|
3633
|
-
* contained in responses from the
|
|
4997
|
+
* NOTE: This function is deprecated in favor of listNotebookSessionsRecordIterator function.
|
|
4998
|
+
* Creates a new async iterator which will iterate over the models.NotebookSessionSummary objects
|
|
4999
|
+
* contained in responses from the listNotebookSessions operation. This iterator will fetch more data from the
|
|
3634
5000
|
* server as needed.
|
|
3635
5001
|
*
|
|
3636
5002
|
* @param request a request which can be sent to the service operation
|
|
3637
5003
|
*/
|
|
3638
|
-
|
|
3639
|
-
return oci_common_1.paginateRecords(request, req => this.
|
|
5004
|
+
listAllNotebookSessions(request) {
|
|
5005
|
+
return oci_common_1.paginateRecords(request, req => this.listNotebookSessions(req));
|
|
3640
5006
|
}
|
|
3641
5007
|
/**
|
|
3642
|
-
* NOTE: This function is deprecated in favor of
|
|
3643
|
-
* Creates a new async iterator which will iterate over the responses received from the
|
|
5008
|
+
* NOTE: This function is deprecated in favor of listNotebookSessionsResponseIterator function.
|
|
5009
|
+
* Creates a new async iterator which will iterate over the responses received from the listNotebookSessions operation. This iterator
|
|
3644
5010
|
* will fetch more data from the server as needed.
|
|
3645
5011
|
*
|
|
3646
5012
|
* @param request a request which can be sent to the service operation
|
|
3647
5013
|
*/
|
|
3648
|
-
|
|
3649
|
-
return oci_common_1.paginateResponses(request, req => this.
|
|
5014
|
+
listAllNotebookSessionsResponses(request) {
|
|
5015
|
+
return oci_common_1.paginateResponses(request, req => this.listNotebookSessions(req));
|
|
3650
5016
|
}
|
|
3651
5017
|
/**
|
|
3652
|
-
* Creates a new async iterator which will iterate over the models.
|
|
3653
|
-
* contained in responses from the
|
|
5018
|
+
* Creates a new async iterator which will iterate over the models.NotebookSessionSummary objects
|
|
5019
|
+
* contained in responses from the listNotebookSessions operation. This iterator will fetch more data from the
|
|
3654
5020
|
* server as needed.
|
|
3655
5021
|
*
|
|
3656
5022
|
* @param request a request which can be sent to the service operation
|
|
3657
5023
|
*/
|
|
3658
|
-
|
|
3659
|
-
return oci_common_1.paginateRecords(request, req => this.
|
|
5024
|
+
listNotebookSessionsRecordIterator(request) {
|
|
5025
|
+
return oci_common_1.paginateRecords(request, req => this.listNotebookSessions(req));
|
|
3660
5026
|
}
|
|
3661
5027
|
/**
|
|
3662
|
-
* Creates a new async iterator which will iterate over the responses received from the
|
|
5028
|
+
* Creates a new async iterator which will iterate over the responses received from the listNotebookSessions operation. This iterator
|
|
3663
5029
|
* will fetch more data from the server as needed.
|
|
3664
5030
|
*
|
|
3665
5031
|
* @param request a request which can be sent to the service operation
|
|
3666
5032
|
*/
|
|
3667
|
-
|
|
3668
|
-
return oci_common_1.paginateResponses(request, req => this.
|
|
5033
|
+
listNotebookSessionsResponseIterator(request) {
|
|
5034
|
+
return oci_common_1.paginateResponses(request, req => this.listNotebookSessions(req));
|
|
3669
5035
|
}
|
|
3670
5036
|
/**
|
|
3671
|
-
*
|
|
5037
|
+
* Returns a list of PipelineRuns.
|
|
3672
5038
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3673
|
-
* @param
|
|
3674
|
-
* @return
|
|
5039
|
+
* @param ListPipelineRunsRequest
|
|
5040
|
+
* @return ListPipelineRunsResponse
|
|
3675
5041
|
* @throws OciError when an error occurs
|
|
3676
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
5042
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ListPipelineRuns.ts.html |here} to see how to use ListPipelineRuns API.
|
|
3677
5043
|
*/
|
|
3678
|
-
|
|
5044
|
+
listPipelineRuns(listPipelineRunsRequest) {
|
|
3679
5045
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3680
5046
|
if (this.logger)
|
|
3681
|
-
this.logger.debug("Calling operation DataScienceClient#
|
|
3682
|
-
const operationName = "
|
|
3683
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/
|
|
5047
|
+
this.logger.debug("Calling operation DataScienceClient#listPipelineRuns.");
|
|
5048
|
+
const operationName = "listPipelineRuns";
|
|
5049
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/PipelineRun/ListPipelineRuns";
|
|
3684
5050
|
const pathParams = {};
|
|
3685
5051
|
const queryParams = {
|
|
3686
|
-
"
|
|
3687
|
-
"
|
|
3688
|
-
"
|
|
5052
|
+
"id": listPipelineRunsRequest.id,
|
|
5053
|
+
"pipelineId": listPipelineRunsRequest.pipelineId,
|
|
5054
|
+
"compartmentId": listPipelineRunsRequest.compartmentId,
|
|
5055
|
+
"displayName": listPipelineRunsRequest.displayName,
|
|
5056
|
+
"lifecycleState": listPipelineRunsRequest.lifecycleState,
|
|
5057
|
+
"createdBy": listPipelineRunsRequest.createdBy,
|
|
5058
|
+
"limit": listPipelineRunsRequest.limit,
|
|
5059
|
+
"page": listPipelineRunsRequest.page,
|
|
5060
|
+
"sortOrder": listPipelineRunsRequest.sortOrder,
|
|
5061
|
+
"sortBy": listPipelineRunsRequest.sortBy
|
|
3689
5062
|
};
|
|
3690
5063
|
let headerParams = {
|
|
3691
5064
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3692
|
-
"opc-request-id":
|
|
5065
|
+
"opc-request-id": listPipelineRunsRequest.opcRequestId
|
|
3693
5066
|
};
|
|
3694
5067
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3695
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
5068
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPipelineRunsRequest.retryConfiguration, specRetryConfiguration);
|
|
3696
5069
|
if (this.logger)
|
|
3697
5070
|
retrier.logger = this.logger;
|
|
3698
5071
|
const request = yield oci_common_2.composeRequest({
|
|
3699
5072
|
baseEndpoint: this._endpoint,
|
|
3700
5073
|
defaultHeaders: this._defaultHeaders,
|
|
3701
|
-
path: "/
|
|
5074
|
+
path: "/pipelineRuns",
|
|
3702
5075
|
method: "GET",
|
|
3703
5076
|
pathParams: pathParams,
|
|
3704
5077
|
headerParams: headerParams,
|
|
@@ -3710,9 +5083,14 @@ class DataScienceClient {
|
|
|
3710
5083
|
responseObject: {},
|
|
3711
5084
|
body: yield response.json(),
|
|
3712
5085
|
bodyKey: "items",
|
|
3713
|
-
bodyModel: model.
|
|
3714
|
-
type: "Array<model.
|
|
5086
|
+
bodyModel: model.PipelineRunSummary,
|
|
5087
|
+
type: "Array<model.PipelineRunSummary>",
|
|
3715
5088
|
responseHeaders: [
|
|
5089
|
+
{
|
|
5090
|
+
value: response.headers.get("opc-request-id"),
|
|
5091
|
+
key: "opcRequestId",
|
|
5092
|
+
dataType: "string"
|
|
5093
|
+
},
|
|
3716
5094
|
{
|
|
3717
5095
|
value: response.headers.get("opc-next-page"),
|
|
3718
5096
|
key: "opcNextPage",
|
|
@@ -3722,11 +5100,6 @@ class DataScienceClient {
|
|
|
3722
5100
|
value: response.headers.get("opc-prev-page"),
|
|
3723
5101
|
key: "opcPrevPage",
|
|
3724
5102
|
dataType: "string"
|
|
3725
|
-
},
|
|
3726
|
-
{
|
|
3727
|
-
value: response.headers.get("opc-request-id"),
|
|
3728
|
-
key: "opcRequestId",
|
|
3729
|
-
dataType: "string"
|
|
3730
5103
|
}
|
|
3731
5104
|
]
|
|
3732
5105
|
});
|
|
@@ -3738,84 +5111,84 @@ class DataScienceClient {
|
|
|
3738
5111
|
});
|
|
3739
5112
|
}
|
|
3740
5113
|
/**
|
|
3741
|
-
* NOTE: This function is deprecated in favor of
|
|
3742
|
-
* Creates a new async iterator which will iterate over the models.
|
|
3743
|
-
* contained in responses from the
|
|
5114
|
+
* NOTE: This function is deprecated in favor of listPipelineRunsRecordIterator function.
|
|
5115
|
+
* Creates a new async iterator which will iterate over the models.PipelineRunSummary objects
|
|
5116
|
+
* contained in responses from the listPipelineRuns operation. This iterator will fetch more data from the
|
|
3744
5117
|
* server as needed.
|
|
3745
5118
|
*
|
|
3746
5119
|
* @param request a request which can be sent to the service operation
|
|
3747
5120
|
*/
|
|
3748
|
-
|
|
3749
|
-
return oci_common_1.paginateRecords(request, req => this.
|
|
5121
|
+
listAllPipelineRuns(request) {
|
|
5122
|
+
return oci_common_1.paginateRecords(request, req => this.listPipelineRuns(req));
|
|
3750
5123
|
}
|
|
3751
5124
|
/**
|
|
3752
|
-
* NOTE: This function is deprecated in favor of
|
|
3753
|
-
* Creates a new async iterator which will iterate over the responses received from the
|
|
5125
|
+
* NOTE: This function is deprecated in favor of listPipelineRunsResponseIterator function.
|
|
5126
|
+
* Creates a new async iterator which will iterate over the responses received from the listPipelineRuns operation. This iterator
|
|
3754
5127
|
* will fetch more data from the server as needed.
|
|
3755
5128
|
*
|
|
3756
5129
|
* @param request a request which can be sent to the service operation
|
|
3757
5130
|
*/
|
|
3758
|
-
|
|
3759
|
-
return oci_common_1.paginateResponses(request, req => this.
|
|
5131
|
+
listAllPipelineRunsResponses(request) {
|
|
5132
|
+
return oci_common_1.paginateResponses(request, req => this.listPipelineRuns(req));
|
|
3760
5133
|
}
|
|
3761
5134
|
/**
|
|
3762
|
-
* Creates a new async iterator which will iterate over the models.
|
|
3763
|
-
* contained in responses from the
|
|
5135
|
+
* Creates a new async iterator which will iterate over the models.PipelineRunSummary objects
|
|
5136
|
+
* contained in responses from the listPipelineRuns operation. This iterator will fetch more data from the
|
|
3764
5137
|
* server as needed.
|
|
3765
5138
|
*
|
|
3766
5139
|
* @param request a request which can be sent to the service operation
|
|
3767
5140
|
*/
|
|
3768
|
-
|
|
3769
|
-
return oci_common_1.paginateRecords(request, req => this.
|
|
5141
|
+
listPipelineRunsRecordIterator(request) {
|
|
5142
|
+
return oci_common_1.paginateRecords(request, req => this.listPipelineRuns(req));
|
|
3770
5143
|
}
|
|
3771
5144
|
/**
|
|
3772
|
-
* Creates a new async iterator which will iterate over the responses received from the
|
|
5145
|
+
* Creates a new async iterator which will iterate over the responses received from the listPipelineRuns operation. This iterator
|
|
3773
5146
|
* will fetch more data from the server as needed.
|
|
3774
5147
|
*
|
|
3775
5148
|
* @param request a request which can be sent to the service operation
|
|
3776
5149
|
*/
|
|
3777
|
-
|
|
3778
|
-
return oci_common_1.paginateResponses(request, req => this.
|
|
5150
|
+
listPipelineRunsResponseIterator(request) {
|
|
5151
|
+
return oci_common_1.paginateResponses(request, req => this.listPipelineRuns(req));
|
|
3779
5152
|
}
|
|
3780
5153
|
/**
|
|
3781
|
-
*
|
|
5154
|
+
* Returns a list of Pipelines.
|
|
3782
5155
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3783
|
-
* @param
|
|
3784
|
-
* @return
|
|
5156
|
+
* @param ListPipelinesRequest
|
|
5157
|
+
* @return ListPipelinesResponse
|
|
3785
5158
|
* @throws OciError when an error occurs
|
|
3786
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
5159
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ListPipelines.ts.html |here} to see how to use ListPipelines API.
|
|
3787
5160
|
*/
|
|
3788
|
-
|
|
5161
|
+
listPipelines(listPipelinesRequest) {
|
|
3789
5162
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3790
5163
|
if (this.logger)
|
|
3791
|
-
this.logger.debug("Calling operation DataScienceClient#
|
|
3792
|
-
const operationName = "
|
|
3793
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/
|
|
5164
|
+
this.logger.debug("Calling operation DataScienceClient#listPipelines.");
|
|
5165
|
+
const operationName = "listPipelines";
|
|
5166
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/Pipeline/ListPipelines";
|
|
3794
5167
|
const pathParams = {};
|
|
3795
5168
|
const queryParams = {
|
|
3796
|
-
"compartmentId":
|
|
3797
|
-
"
|
|
3798
|
-
"
|
|
3799
|
-
"displayName":
|
|
3800
|
-
"lifecycleState":
|
|
3801
|
-
"createdBy":
|
|
3802
|
-
"limit":
|
|
3803
|
-
"page":
|
|
3804
|
-
"sortOrder":
|
|
3805
|
-
"sortBy":
|
|
5169
|
+
"compartmentId": listPipelinesRequest.compartmentId,
|
|
5170
|
+
"projectId": listPipelinesRequest.projectId,
|
|
5171
|
+
"id": listPipelinesRequest.id,
|
|
5172
|
+
"displayName": listPipelinesRequest.displayName,
|
|
5173
|
+
"lifecycleState": listPipelinesRequest.lifecycleState,
|
|
5174
|
+
"createdBy": listPipelinesRequest.createdBy,
|
|
5175
|
+
"limit": listPipelinesRequest.limit,
|
|
5176
|
+
"page": listPipelinesRequest.page,
|
|
5177
|
+
"sortOrder": listPipelinesRequest.sortOrder,
|
|
5178
|
+
"sortBy": listPipelinesRequest.sortBy
|
|
3806
5179
|
};
|
|
3807
5180
|
let headerParams = {
|
|
3808
5181
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3809
|
-
"opc-request-id":
|
|
5182
|
+
"opc-request-id": listPipelinesRequest.opcRequestId
|
|
3810
5183
|
};
|
|
3811
5184
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3812
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
5185
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPipelinesRequest.retryConfiguration, specRetryConfiguration);
|
|
3813
5186
|
if (this.logger)
|
|
3814
5187
|
retrier.logger = this.logger;
|
|
3815
5188
|
const request = yield oci_common_2.composeRequest({
|
|
3816
5189
|
baseEndpoint: this._endpoint,
|
|
3817
5190
|
defaultHeaders: this._defaultHeaders,
|
|
3818
|
-
path: "/
|
|
5191
|
+
path: "/pipelines",
|
|
3819
5192
|
method: "GET",
|
|
3820
5193
|
pathParams: pathParams,
|
|
3821
5194
|
headerParams: headerParams,
|
|
@@ -3827,9 +5200,14 @@ class DataScienceClient {
|
|
|
3827
5200
|
responseObject: {},
|
|
3828
5201
|
body: yield response.json(),
|
|
3829
5202
|
bodyKey: "items",
|
|
3830
|
-
bodyModel: model.
|
|
3831
|
-
type: "Array<model.
|
|
5203
|
+
bodyModel: model.PipelineSummary,
|
|
5204
|
+
type: "Array<model.PipelineSummary>",
|
|
3832
5205
|
responseHeaders: [
|
|
5206
|
+
{
|
|
5207
|
+
value: response.headers.get("opc-request-id"),
|
|
5208
|
+
key: "opcRequestId",
|
|
5209
|
+
dataType: "string"
|
|
5210
|
+
},
|
|
3833
5211
|
{
|
|
3834
5212
|
value: response.headers.get("opc-next-page"),
|
|
3835
5213
|
key: "opcNextPage",
|
|
@@ -3839,11 +5217,6 @@ class DataScienceClient {
|
|
|
3839
5217
|
value: response.headers.get("opc-prev-page"),
|
|
3840
5218
|
key: "opcPrevPage",
|
|
3841
5219
|
dataType: "string"
|
|
3842
|
-
},
|
|
3843
|
-
{
|
|
3844
|
-
value: response.headers.get("opc-request-id"),
|
|
3845
|
-
key: "opcRequestId",
|
|
3846
|
-
dataType: "string"
|
|
3847
5220
|
}
|
|
3848
5221
|
]
|
|
3849
5222
|
});
|
|
@@ -3855,44 +5228,44 @@ class DataScienceClient {
|
|
|
3855
5228
|
});
|
|
3856
5229
|
}
|
|
3857
5230
|
/**
|
|
3858
|
-
* NOTE: This function is deprecated in favor of
|
|
3859
|
-
* Creates a new async iterator which will iterate over the models.
|
|
3860
|
-
* contained in responses from the
|
|
5231
|
+
* NOTE: This function is deprecated in favor of listPipelinesRecordIterator function.
|
|
5232
|
+
* Creates a new async iterator which will iterate over the models.PipelineSummary objects
|
|
5233
|
+
* contained in responses from the listPipelines operation. This iterator will fetch more data from the
|
|
3861
5234
|
* server as needed.
|
|
3862
5235
|
*
|
|
3863
5236
|
* @param request a request which can be sent to the service operation
|
|
3864
5237
|
*/
|
|
3865
|
-
|
|
3866
|
-
return oci_common_1.paginateRecords(request, req => this.
|
|
5238
|
+
listAllPipelines(request) {
|
|
5239
|
+
return oci_common_1.paginateRecords(request, req => this.listPipelines(req));
|
|
3867
5240
|
}
|
|
3868
5241
|
/**
|
|
3869
|
-
* NOTE: This function is deprecated in favor of
|
|
3870
|
-
* Creates a new async iterator which will iterate over the responses received from the
|
|
5242
|
+
* NOTE: This function is deprecated in favor of listPipelinesResponseIterator function.
|
|
5243
|
+
* Creates a new async iterator which will iterate over the responses received from the listPipelines operation. This iterator
|
|
3871
5244
|
* will fetch more data from the server as needed.
|
|
3872
5245
|
*
|
|
3873
5246
|
* @param request a request which can be sent to the service operation
|
|
3874
5247
|
*/
|
|
3875
|
-
|
|
3876
|
-
return oci_common_1.paginateResponses(request, req => this.
|
|
5248
|
+
listAllPipelinesResponses(request) {
|
|
5249
|
+
return oci_common_1.paginateResponses(request, req => this.listPipelines(req));
|
|
3877
5250
|
}
|
|
3878
5251
|
/**
|
|
3879
|
-
* Creates a new async iterator which will iterate over the models.
|
|
3880
|
-
* contained in responses from the
|
|
5252
|
+
* Creates a new async iterator which will iterate over the models.PipelineSummary objects
|
|
5253
|
+
* contained in responses from the listPipelines operation. This iterator will fetch more data from the
|
|
3881
5254
|
* server as needed.
|
|
3882
5255
|
*
|
|
3883
5256
|
* @param request a request which can be sent to the service operation
|
|
3884
5257
|
*/
|
|
3885
|
-
|
|
3886
|
-
return oci_common_1.paginateRecords(request, req => this.
|
|
5258
|
+
listPipelinesRecordIterator(request) {
|
|
5259
|
+
return oci_common_1.paginateRecords(request, req => this.listPipelines(req));
|
|
3887
5260
|
}
|
|
3888
5261
|
/**
|
|
3889
|
-
* Creates a new async iterator which will iterate over the responses received from the
|
|
5262
|
+
* Creates a new async iterator which will iterate over the responses received from the listPipelines operation. This iterator
|
|
3890
5263
|
* will fetch more data from the server as needed.
|
|
3891
5264
|
*
|
|
3892
5265
|
* @param request a request which can be sent to the service operation
|
|
3893
5266
|
*/
|
|
3894
|
-
|
|
3895
|
-
return oci_common_1.paginateResponses(request, req => this.
|
|
5267
|
+
listPipelinesResponseIterator(request) {
|
|
5268
|
+
return oci_common_1.paginateResponses(request, req => this.listPipelines(req));
|
|
3896
5269
|
}
|
|
3897
5270
|
/**
|
|
3898
5271
|
* Lists projects in the specified compartment.
|
|
@@ -3900,7 +5273,7 @@ class DataScienceClient {
|
|
|
3900
5273
|
* @param ListProjectsRequest
|
|
3901
5274
|
* @return ListProjectsResponse
|
|
3902
5275
|
* @throws OciError when an error occurs
|
|
3903
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
5276
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ListProjects.ts.html |here} to see how to use ListProjects API.
|
|
3904
5277
|
*/
|
|
3905
5278
|
listProjects(listProjectsRequest) {
|
|
3906
5279
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4016,7 +5389,7 @@ class DataScienceClient {
|
|
|
4016
5389
|
* @param ListWorkRequestErrorsRequest
|
|
4017
5390
|
* @return ListWorkRequestErrorsResponse
|
|
4018
5391
|
* @throws OciError when an error occurs
|
|
4019
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
5392
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
4020
5393
|
*/
|
|
4021
5394
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
4022
5395
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4074,7 +5447,7 @@ class DataScienceClient {
|
|
|
4074
5447
|
* @param ListWorkRequestLogsRequest
|
|
4075
5448
|
* @return ListWorkRequestLogsResponse
|
|
4076
5449
|
* @throws OciError when an error occurs
|
|
4077
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
5450
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
4078
5451
|
*/
|
|
4079
5452
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
4080
5453
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4132,7 +5505,7 @@ class DataScienceClient {
|
|
|
4132
5505
|
* @param ListWorkRequestsRequest
|
|
4133
5506
|
* @return ListWorkRequestsResponse
|
|
4134
5507
|
* @throws OciError when an error occurs
|
|
4135
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
5508
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
4136
5509
|
*/
|
|
4137
5510
|
listWorkRequests(listWorkRequestsRequest) {
|
|
4138
5511
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4247,7 +5620,7 @@ class DataScienceClient {
|
|
|
4247
5620
|
* @param UpdateJobRequest
|
|
4248
5621
|
* @return UpdateJobResponse
|
|
4249
5622
|
* @throws OciError when an error occurs
|
|
4250
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
5623
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/UpdateJob.ts.html |here} to see how to use UpdateJob API.
|
|
4251
5624
|
*/
|
|
4252
5625
|
updateJob(updateJobRequest) {
|
|
4253
5626
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4312,7 +5685,7 @@ class DataScienceClient {
|
|
|
4312
5685
|
* @param UpdateJobRunRequest
|
|
4313
5686
|
* @return UpdateJobRunResponse
|
|
4314
5687
|
* @throws OciError when an error occurs
|
|
4315
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
5688
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/UpdateJobRun.ts.html |here} to see how to use UpdateJobRun API.
|
|
4316
5689
|
*/
|
|
4317
5690
|
updateJobRun(updateJobRunRequest) {
|
|
4318
5691
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4377,7 +5750,7 @@ class DataScienceClient {
|
|
|
4377
5750
|
* @param UpdateModelRequest
|
|
4378
5751
|
* @return UpdateModelResponse
|
|
4379
5752
|
* @throws OciError when an error occurs
|
|
4380
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
5753
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/UpdateModel.ts.html |here} to see how to use UpdateModel API.
|
|
4381
5754
|
*/
|
|
4382
5755
|
updateModel(updateModelRequest) {
|
|
4383
5756
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4446,7 +5819,7 @@ class DataScienceClient {
|
|
|
4446
5819
|
* @param UpdateModelDeploymentRequest
|
|
4447
5820
|
* @return UpdateModelDeploymentResponse
|
|
4448
5821
|
* @throws OciError when an error occurs
|
|
4449
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
5822
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/UpdateModelDeployment.ts.html |here} to see how to use UpdateModelDeployment API.
|
|
4450
5823
|
*/
|
|
4451
5824
|
updateModelDeployment(updateModelDeploymentRequest) {
|
|
4452
5825
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4507,7 +5880,7 @@ class DataScienceClient {
|
|
|
4507
5880
|
* @param UpdateModelProvenanceRequest
|
|
4508
5881
|
* @return UpdateModelProvenanceResponse
|
|
4509
5882
|
* @throws OciError when an error occurs
|
|
4510
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
5883
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/UpdateModelProvenance.ts.html |here} to see how to use UpdateModelProvenance API.
|
|
4511
5884
|
*/
|
|
4512
5885
|
updateModelProvenance(updateModelProvenanceRequest) {
|
|
4513
5886
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4566,6 +5939,71 @@ class DataScienceClient {
|
|
|
4566
5939
|
}
|
|
4567
5940
|
});
|
|
4568
5941
|
}
|
|
5942
|
+
/**
|
|
5943
|
+
* Updates the properties of a model version set. User can update the `description` property.
|
|
5944
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
5945
|
+
* @param UpdateModelVersionSetRequest
|
|
5946
|
+
* @return UpdateModelVersionSetResponse
|
|
5947
|
+
* @throws OciError when an error occurs
|
|
5948
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/UpdateModelVersionSet.ts.html |here} to see how to use UpdateModelVersionSet API.
|
|
5949
|
+
*/
|
|
5950
|
+
updateModelVersionSet(updateModelVersionSetRequest) {
|
|
5951
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5952
|
+
if (this.logger)
|
|
5953
|
+
this.logger.debug("Calling operation DataScienceClient#updateModelVersionSet.");
|
|
5954
|
+
const operationName = "updateModelVersionSet";
|
|
5955
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/ModelVersionSet/UpdateModelVersionSet";
|
|
5956
|
+
const pathParams = {
|
|
5957
|
+
"{modelVersionSetId}": updateModelVersionSetRequest.modelVersionSetId
|
|
5958
|
+
};
|
|
5959
|
+
const queryParams = {};
|
|
5960
|
+
let headerParams = {
|
|
5961
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
5962
|
+
"if-match": updateModelVersionSetRequest.ifMatch,
|
|
5963
|
+
"opc-request-id": updateModelVersionSetRequest.opcRequestId
|
|
5964
|
+
};
|
|
5965
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
5966
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateModelVersionSetRequest.retryConfiguration, specRetryConfiguration);
|
|
5967
|
+
if (this.logger)
|
|
5968
|
+
retrier.logger = this.logger;
|
|
5969
|
+
const request = yield oci_common_2.composeRequest({
|
|
5970
|
+
baseEndpoint: this._endpoint,
|
|
5971
|
+
defaultHeaders: this._defaultHeaders,
|
|
5972
|
+
path: "/modelVersionSets/{modelVersionSetId}",
|
|
5973
|
+
method: "PUT",
|
|
5974
|
+
bodyContent: common.ObjectSerializer.serialize(updateModelVersionSetRequest.updateModelVersionSetDetails, "UpdateModelVersionSetDetails", model.UpdateModelVersionSetDetails.getJsonObj),
|
|
5975
|
+
pathParams: pathParams,
|
|
5976
|
+
headerParams: headerParams,
|
|
5977
|
+
queryParams: queryParams
|
|
5978
|
+
});
|
|
5979
|
+
try {
|
|
5980
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
5981
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
5982
|
+
responseObject: {},
|
|
5983
|
+
body: yield response.json(),
|
|
5984
|
+
bodyKey: "modelVersionSet",
|
|
5985
|
+
bodyModel: model.ModelVersionSet,
|
|
5986
|
+
type: "model.ModelVersionSet",
|
|
5987
|
+
responseHeaders: [
|
|
5988
|
+
{
|
|
5989
|
+
value: response.headers.get("etag"),
|
|
5990
|
+
key: "etag",
|
|
5991
|
+
dataType: "string"
|
|
5992
|
+
},
|
|
5993
|
+
{
|
|
5994
|
+
value: response.headers.get("opc-request-id"),
|
|
5995
|
+
key: "opcRequestId",
|
|
5996
|
+
dataType: "string"
|
|
5997
|
+
}
|
|
5998
|
+
]
|
|
5999
|
+
});
|
|
6000
|
+
return sdkResponse;
|
|
6001
|
+
}
|
|
6002
|
+
catch (err) {
|
|
6003
|
+
throw err;
|
|
6004
|
+
}
|
|
6005
|
+
});
|
|
6006
|
+
}
|
|
4569
6007
|
/**
|
|
4570
6008
|
* Updates the properties of a notebook session. You can update the `displayName`, `freeformTags`, and `definedTags` properties.
|
|
4571
6009
|
* When the notebook session is in the INACTIVE lifecycle state, you can update `notebookSessionConfigurationDetails` and change `shape`, `subnetId`, and `blockStorageSizeInGBs`.
|
|
@@ -4575,7 +6013,7 @@ class DataScienceClient {
|
|
|
4575
6013
|
* @param UpdateNotebookSessionRequest
|
|
4576
6014
|
* @return UpdateNotebookSessionResponse
|
|
4577
6015
|
* @throws OciError when an error occurs
|
|
4578
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
6016
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/UpdateNotebookSession.ts.html |here} to see how to use UpdateNotebookSession API.
|
|
4579
6017
|
*/
|
|
4580
6018
|
updateNotebookSession(updateNotebookSessionRequest) {
|
|
4581
6019
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4634,13 +6072,143 @@ class DataScienceClient {
|
|
|
4634
6072
|
}
|
|
4635
6073
|
});
|
|
4636
6074
|
}
|
|
6075
|
+
/**
|
|
6076
|
+
* Updates the Pipeline.
|
|
6077
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6078
|
+
* @param UpdatePipelineRequest
|
|
6079
|
+
* @return UpdatePipelineResponse
|
|
6080
|
+
* @throws OciError when an error occurs
|
|
6081
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/UpdatePipeline.ts.html |here} to see how to use UpdatePipeline API.
|
|
6082
|
+
*/
|
|
6083
|
+
updatePipeline(updatePipelineRequest) {
|
|
6084
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6085
|
+
if (this.logger)
|
|
6086
|
+
this.logger.debug("Calling operation DataScienceClient#updatePipeline.");
|
|
6087
|
+
const operationName = "updatePipeline";
|
|
6088
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/Pipeline/UpdatePipeline";
|
|
6089
|
+
const pathParams = {
|
|
6090
|
+
"{pipelineId}": updatePipelineRequest.pipelineId
|
|
6091
|
+
};
|
|
6092
|
+
const queryParams = {};
|
|
6093
|
+
let headerParams = {
|
|
6094
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6095
|
+
"if-match": updatePipelineRequest.ifMatch,
|
|
6096
|
+
"opc-request-id": updatePipelineRequest.opcRequestId
|
|
6097
|
+
};
|
|
6098
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6099
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updatePipelineRequest.retryConfiguration, specRetryConfiguration);
|
|
6100
|
+
if (this.logger)
|
|
6101
|
+
retrier.logger = this.logger;
|
|
6102
|
+
const request = yield oci_common_2.composeRequest({
|
|
6103
|
+
baseEndpoint: this._endpoint,
|
|
6104
|
+
defaultHeaders: this._defaultHeaders,
|
|
6105
|
+
path: "/pipelines/{pipelineId}",
|
|
6106
|
+
method: "PUT",
|
|
6107
|
+
bodyContent: common.ObjectSerializer.serialize(updatePipelineRequest.updatePipelineDetails, "UpdatePipelineDetails", model.UpdatePipelineDetails.getJsonObj),
|
|
6108
|
+
pathParams: pathParams,
|
|
6109
|
+
headerParams: headerParams,
|
|
6110
|
+
queryParams: queryParams
|
|
6111
|
+
});
|
|
6112
|
+
try {
|
|
6113
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
6114
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
6115
|
+
responseObject: {},
|
|
6116
|
+
body: yield response.json(),
|
|
6117
|
+
bodyKey: "pipeline",
|
|
6118
|
+
bodyModel: model.Pipeline,
|
|
6119
|
+
type: "model.Pipeline",
|
|
6120
|
+
responseHeaders: [
|
|
6121
|
+
{
|
|
6122
|
+
value: response.headers.get("etag"),
|
|
6123
|
+
key: "etag",
|
|
6124
|
+
dataType: "string"
|
|
6125
|
+
},
|
|
6126
|
+
{
|
|
6127
|
+
value: response.headers.get("opc-request-id"),
|
|
6128
|
+
key: "opcRequestId",
|
|
6129
|
+
dataType: "string"
|
|
6130
|
+
}
|
|
6131
|
+
]
|
|
6132
|
+
});
|
|
6133
|
+
return sdkResponse;
|
|
6134
|
+
}
|
|
6135
|
+
catch (err) {
|
|
6136
|
+
throw err;
|
|
6137
|
+
}
|
|
6138
|
+
});
|
|
6139
|
+
}
|
|
6140
|
+
/**
|
|
6141
|
+
* Updates the PipelineRun.
|
|
6142
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6143
|
+
* @param UpdatePipelineRunRequest
|
|
6144
|
+
* @return UpdatePipelineRunResponse
|
|
6145
|
+
* @throws OciError when an error occurs
|
|
6146
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/UpdatePipelineRun.ts.html |here} to see how to use UpdatePipelineRun API.
|
|
6147
|
+
*/
|
|
6148
|
+
updatePipelineRun(updatePipelineRunRequest) {
|
|
6149
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6150
|
+
if (this.logger)
|
|
6151
|
+
this.logger.debug("Calling operation DataScienceClient#updatePipelineRun.");
|
|
6152
|
+
const operationName = "updatePipelineRun";
|
|
6153
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/PipelineRun/UpdatePipelineRun";
|
|
6154
|
+
const pathParams = {
|
|
6155
|
+
"{pipelineRunId}": updatePipelineRunRequest.pipelineRunId
|
|
6156
|
+
};
|
|
6157
|
+
const queryParams = {};
|
|
6158
|
+
let headerParams = {
|
|
6159
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6160
|
+
"if-match": updatePipelineRunRequest.ifMatch,
|
|
6161
|
+
"opc-request-id": updatePipelineRunRequest.opcRequestId
|
|
6162
|
+
};
|
|
6163
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6164
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updatePipelineRunRequest.retryConfiguration, specRetryConfiguration);
|
|
6165
|
+
if (this.logger)
|
|
6166
|
+
retrier.logger = this.logger;
|
|
6167
|
+
const request = yield oci_common_2.composeRequest({
|
|
6168
|
+
baseEndpoint: this._endpoint,
|
|
6169
|
+
defaultHeaders: this._defaultHeaders,
|
|
6170
|
+
path: "/pipelineRuns/{pipelineRunId}",
|
|
6171
|
+
method: "PUT",
|
|
6172
|
+
bodyContent: common.ObjectSerializer.serialize(updatePipelineRunRequest.updatePipelineRunDetails, "UpdatePipelineRunDetails", model.UpdatePipelineRunDetails.getJsonObj),
|
|
6173
|
+
pathParams: pathParams,
|
|
6174
|
+
headerParams: headerParams,
|
|
6175
|
+
queryParams: queryParams
|
|
6176
|
+
});
|
|
6177
|
+
try {
|
|
6178
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
6179
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
6180
|
+
responseObject: {},
|
|
6181
|
+
body: yield response.json(),
|
|
6182
|
+
bodyKey: "pipelineRun",
|
|
6183
|
+
bodyModel: model.PipelineRun,
|
|
6184
|
+
type: "model.PipelineRun",
|
|
6185
|
+
responseHeaders: [
|
|
6186
|
+
{
|
|
6187
|
+
value: response.headers.get("etag"),
|
|
6188
|
+
key: "etag",
|
|
6189
|
+
dataType: "string"
|
|
6190
|
+
},
|
|
6191
|
+
{
|
|
6192
|
+
value: response.headers.get("opc-request-id"),
|
|
6193
|
+
key: "opcRequestId",
|
|
6194
|
+
dataType: "string"
|
|
6195
|
+
}
|
|
6196
|
+
]
|
|
6197
|
+
});
|
|
6198
|
+
return sdkResponse;
|
|
6199
|
+
}
|
|
6200
|
+
catch (err) {
|
|
6201
|
+
throw err;
|
|
6202
|
+
}
|
|
6203
|
+
});
|
|
6204
|
+
}
|
|
4637
6205
|
/**
|
|
4638
6206
|
* Updates the properties of a project. You can update the `displayName`, `description`, `freeformTags`, and `definedTags` properties.
|
|
4639
6207
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4640
6208
|
* @param UpdateProjectRequest
|
|
4641
6209
|
* @return UpdateProjectResponse
|
|
4642
6210
|
* @throws OciError when an error occurs
|
|
4643
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.
|
|
6211
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/UpdateProject.ts.html |here} to see how to use UpdateProject API.
|
|
4644
6212
|
*/
|
|
4645
6213
|
updateProject(updateProjectRequest) {
|
|
4646
6214
|
return __awaiter(this, void 0, void 0, function* () {
|