oci-datascience 2.41.0 → 2.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +83 -65
- package/lib/client.js +194 -70
- package/lib/client.js.map +1 -1
- package/lib/model/artifact-export-details-object-storage.d.ts +41 -0
- package/lib/model/artifact-export-details-object-storage.js +55 -0
- package/lib/model/artifact-export-details-object-storage.js.map +1 -0
- package/lib/model/artifact-export-details.d.ts +23 -0
- package/lib/model/artifact-export-details.js +69 -0
- package/lib/model/artifact-export-details.js.map +1 -0
- package/lib/model/artifact-import-details-object-storage.d.ts +41 -0
- package/lib/model/artifact-import-details-object-storage.js +55 -0
- package/lib/model/artifact-import-details-object-storage.js.map +1 -0
- package/lib/model/artifact-import-details.d.ts +23 -0
- package/lib/model/artifact-import-details.js +69 -0
- package/lib/model/artifact-import-details.js.map +1 -0
- package/lib/model/artifact-source-type.d.ts +23 -0
- package/lib/model/artifact-source-type.js +34 -0
- package/lib/model/artifact-source-type.js.map +1 -0
- package/lib/model/export-model-artifact-details.d.ts +24 -0
- package/lib/model/export-model-artifact-details.js +58 -0
- package/lib/model/export-model-artifact-details.js.map +1 -0
- package/lib/model/import-model-artifact-details.d.ts +24 -0
- package/lib/model/import-model-artifact-details.js +58 -0
- package/lib/model/import-model-artifact-details.js.map +1 -0
- package/lib/model/index.d.ts +14 -0
- package/lib/model/index.js +16 -2
- package/lib/model/index.js.map +1 -1
- package/lib/model/job-shape-config-details.d.ts +2 -2
- package/lib/model/model-deployment-instance-shape-config-details.d.ts +2 -2
- package/lib/model/notebook-session-shape-config-details.d.ts +2 -2
- package/lib/model/work-request-operation-type.d.ts +2 -0
- package/lib/model/work-request-operation-type.js +2 -0
- package/lib/model/work-request-operation-type.js.map +1 -1
- package/lib/request/activate-model-deployment-request.d.ts +1 -1
- package/lib/request/activate-model-request.d.ts +1 -1
- package/lib/request/activate-notebook-session-request.d.ts +1 -1
- package/lib/request/cancel-job-run-request.d.ts +1 -1
- package/lib/request/cancel-work-request-request.d.ts +1 -1
- package/lib/request/change-job-compartment-request.d.ts +1 -1
- package/lib/request/change-job-run-compartment-request.d.ts +1 -1
- package/lib/request/change-model-compartment-request.d.ts +1 -1
- package/lib/request/change-model-deployment-compartment-request.d.ts +1 -1
- package/lib/request/change-notebook-session-compartment-request.d.ts +1 -1
- package/lib/request/change-project-compartment-request.d.ts +1 -1
- package/lib/request/create-job-artifact-request.d.ts +1 -1
- package/lib/request/create-job-request.d.ts +1 -1
- package/lib/request/create-job-run-request.d.ts +1 -1
- package/lib/request/create-model-artifact-request.d.ts +10 -1
- package/lib/request/create-model-deployment-request.d.ts +1 -1
- package/lib/request/create-model-provenance-request.d.ts +1 -1
- package/lib/request/create-model-request.d.ts +1 -1
- package/lib/request/create-notebook-session-request.d.ts +1 -1
- package/lib/request/create-project-request.d.ts +1 -1
- package/lib/request/deactivate-model-deployment-request.d.ts +1 -1
- package/lib/request/deactivate-model-request.d.ts +1 -1
- package/lib/request/deactivate-notebook-session-request.d.ts +1 -1
- package/lib/request/delete-job-request.d.ts +1 -1
- package/lib/request/delete-job-run-request.d.ts +1 -1
- package/lib/request/delete-model-deployment-request.d.ts +1 -1
- package/lib/request/delete-model-request.d.ts +1 -1
- package/lib/request/delete-notebook-session-request.d.ts +1 -1
- package/lib/request/delete-project-request.d.ts +1 -1
- package/lib/request/export-model-artifact-request.d.ts +46 -0
- package/lib/request/export-model-artifact-request.js +15 -0
- package/lib/request/export-model-artifact-request.js.map +1 -0
- package/lib/request/get-job-artifact-content-request.d.ts +1 -1
- package/lib/request/get-job-request.d.ts +1 -1
- package/lib/request/get-job-run-request.d.ts +1 -1
- package/lib/request/get-model-artifact-content-request.d.ts +1 -1
- package/lib/request/get-model-deployment-request.d.ts +1 -1
- package/lib/request/get-model-provenance-request.d.ts +1 -1
- package/lib/request/get-model-request.d.ts +1 -1
- package/lib/request/get-notebook-session-request.d.ts +1 -1
- package/lib/request/get-project-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/head-job-artifact-request.d.ts +1 -1
- package/lib/request/head-model-artifact-request.d.ts +1 -1
- package/lib/request/import-model-artifact-request.d.ts +41 -0
- package/lib/request/import-model-artifact-request.js +15 -0
- package/lib/request/import-model-artifact-request.js.map +1 -0
- package/lib/request/index.d.ts +4 -0
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-fast-launch-job-configs-request.d.ts +1 -1
- package/lib/request/list-job-runs-request.d.ts +1 -1
- package/lib/request/list-job-shapes-request.d.ts +1 -1
- package/lib/request/list-jobs-request.d.ts +1 -1
- package/lib/request/list-model-deployment-shapes-request.d.ts +1 -1
- package/lib/request/list-model-deployments-request.d.ts +1 -1
- package/lib/request/list-models-request.d.ts +1 -1
- package/lib/request/list-notebook-session-shapes-request.d.ts +1 -1
- package/lib/request/list-notebook-sessions-request.d.ts +1 -1
- package/lib/request/list-projects-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +3 -1
- package/lib/request/list-work-requests-request.js +2 -0
- package/lib/request/list-work-requests-request.js.map +1 -1
- package/lib/request/update-job-request.d.ts +1 -1
- package/lib/request/update-job-run-request.d.ts +1 -1
- package/lib/request/update-model-deployment-request.d.ts +1 -1
- package/lib/request/update-model-provenance-request.d.ts +1 -1
- package/lib/request/update-model-request.d.ts +1 -1
- package/lib/request/update-notebook-session-request.d.ts +1 -1
- package/lib/request/update-project-request.d.ts +1 -1
- package/lib/response/export-model-artifact-response.d.ts +26 -0
- package/lib/response/export-model-artifact-response.js +15 -0
- package/lib/response/export-model-artifact-response.js.map +1 -0
- package/lib/response/import-model-artifact-response.d.ts +26 -0
- package/lib/response/import-model-artifact-response.js +15 -0
- package/lib/response/import-model-artifact-response.js.map +1 -0
- package/lib/response/index.d.ts +4 -0
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -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.
|
|
161
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/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.
|
|
225
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/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.
|
|
285
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/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.
|
|
345
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/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* () {
|
|
@@ -397,7 +397,7 @@ class DataScienceClient {
|
|
|
397
397
|
* @param CancelWorkRequestRequest
|
|
398
398
|
* @return CancelWorkRequestResponse
|
|
399
399
|
* @throws OciError when an error occurs
|
|
400
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
400
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
|
|
401
401
|
*/
|
|
402
402
|
cancelWorkRequest(cancelWorkRequestRequest) {
|
|
403
403
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -452,7 +452,7 @@ class DataScienceClient {
|
|
|
452
452
|
* @param ChangeJobCompartmentRequest
|
|
453
453
|
* @return ChangeJobCompartmentResponse
|
|
454
454
|
* @throws OciError when an error occurs
|
|
455
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
455
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/ChangeJobCompartment.ts.html |here} to see how to use ChangeJobCompartment API.
|
|
456
456
|
*/
|
|
457
457
|
changeJobCompartment(changeJobCompartmentRequest) {
|
|
458
458
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -508,7 +508,7 @@ class DataScienceClient {
|
|
|
508
508
|
* @param ChangeJobRunCompartmentRequest
|
|
509
509
|
* @return ChangeJobRunCompartmentResponse
|
|
510
510
|
* @throws OciError when an error occurs
|
|
511
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
511
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/ChangeJobRunCompartment.ts.html |here} to see how to use ChangeJobRunCompartment API.
|
|
512
512
|
*/
|
|
513
513
|
changeJobRunCompartment(changeJobRunCompartmentRequest) {
|
|
514
514
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -564,7 +564,7 @@ class DataScienceClient {
|
|
|
564
564
|
* @param ChangeModelCompartmentRequest
|
|
565
565
|
* @return ChangeModelCompartmentResponse
|
|
566
566
|
* @throws OciError when an error occurs
|
|
567
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
567
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/ChangeModelCompartment.ts.html |here} to see how to use ChangeModelCompartment API.
|
|
568
568
|
*/
|
|
569
569
|
changeModelCompartment(changeModelCompartmentRequest) {
|
|
570
570
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -621,7 +621,7 @@ class DataScienceClient {
|
|
|
621
621
|
* @param ChangeModelDeploymentCompartmentRequest
|
|
622
622
|
* @return ChangeModelDeploymentCompartmentResponse
|
|
623
623
|
* @throws OciError when an error occurs
|
|
624
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
624
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/ChangeModelDeploymentCompartment.ts.html |here} to see how to use ChangeModelDeploymentCompartment API.
|
|
625
625
|
*/
|
|
626
626
|
changeModelDeploymentCompartment(changeModelDeploymentCompartmentRequest) {
|
|
627
627
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -678,7 +678,7 @@ class DataScienceClient {
|
|
|
678
678
|
* @param ChangeNotebookSessionCompartmentRequest
|
|
679
679
|
* @return ChangeNotebookSessionCompartmentResponse
|
|
680
680
|
* @throws OciError when an error occurs
|
|
681
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
681
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/ChangeNotebookSessionCompartment.ts.html |here} to see how to use ChangeNotebookSessionCompartment API.
|
|
682
682
|
*/
|
|
683
683
|
changeNotebookSessionCompartment(changeNotebookSessionCompartmentRequest) {
|
|
684
684
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -735,7 +735,7 @@ class DataScienceClient {
|
|
|
735
735
|
* @param ChangeProjectCompartmentRequest
|
|
736
736
|
* @return ChangeProjectCompartmentResponse
|
|
737
737
|
* @throws OciError when an error occurs
|
|
738
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
738
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/ChangeProjectCompartment.ts.html |here} to see how to use ChangeProjectCompartment API.
|
|
739
739
|
*/
|
|
740
740
|
changeProjectCompartment(changeProjectCompartmentRequest) {
|
|
741
741
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -792,7 +792,7 @@ class DataScienceClient {
|
|
|
792
792
|
* @param CreateJobRequest
|
|
793
793
|
* @return CreateJobResponse
|
|
794
794
|
* @throws OciError when an error occurs
|
|
795
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
795
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/CreateJob.ts.html |here} to see how to use CreateJob API.
|
|
796
796
|
*/
|
|
797
797
|
createJob(createJobRequest) {
|
|
798
798
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -855,7 +855,7 @@ class DataScienceClient {
|
|
|
855
855
|
* @param CreateJobArtifactRequest
|
|
856
856
|
* @return CreateJobArtifactResponse
|
|
857
857
|
* @throws OciError when an error occurs
|
|
858
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
858
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/CreateJobArtifact.ts.html |here} to see how to use CreateJobArtifact API.
|
|
859
859
|
*/
|
|
860
860
|
createJobArtifact(createJobArtifactRequest) {
|
|
861
861
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -918,7 +918,7 @@ class DataScienceClient {
|
|
|
918
918
|
* @param CreateJobRunRequest
|
|
919
919
|
* @return CreateJobRunResponse
|
|
920
920
|
* @throws OciError when an error occurs
|
|
921
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
921
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/CreateJobRun.ts.html |here} to see how to use CreateJobRun API.
|
|
922
922
|
*/
|
|
923
923
|
createJobRun(createJobRunRequest) {
|
|
924
924
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -981,7 +981,7 @@ class DataScienceClient {
|
|
|
981
981
|
* @param CreateModelRequest
|
|
982
982
|
* @return CreateModelResponse
|
|
983
983
|
* @throws OciError when an error occurs
|
|
984
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
984
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/CreateModel.ts.html |here} to see how to use CreateModel API.
|
|
985
985
|
*/
|
|
986
986
|
createModel(createModelRequest) {
|
|
987
987
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1044,7 +1044,7 @@ class DataScienceClient {
|
|
|
1044
1044
|
* @param CreateModelArtifactRequest
|
|
1045
1045
|
* @return CreateModelArtifactResponse
|
|
1046
1046
|
* @throws OciError when an error occurs
|
|
1047
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1047
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/CreateModelArtifact.ts.html |here} to see how to use CreateModelArtifact API.
|
|
1048
1048
|
*/
|
|
1049
1049
|
createModelArtifact(createModelArtifactRequest) {
|
|
1050
1050
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1060,7 +1060,8 @@ class DataScienceClient {
|
|
|
1060
1060
|
"opc-request-id": createModelArtifactRequest.opcRequestId,
|
|
1061
1061
|
"opc-retry-token": createModelArtifactRequest.opcRetryToken,
|
|
1062
1062
|
"content-length": createModelArtifactRequest.contentLength,
|
|
1063
|
-
"content-disposition": createModelArtifactRequest.contentDisposition
|
|
1063
|
+
"content-disposition": createModelArtifactRequest.contentDisposition,
|
|
1064
|
+
"if-match": createModelArtifactRequest.ifMatch
|
|
1064
1065
|
};
|
|
1065
1066
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1066
1067
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createModelArtifactRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -1107,7 +1108,7 @@ class DataScienceClient {
|
|
|
1107
1108
|
* @param CreateModelDeploymentRequest
|
|
1108
1109
|
* @return CreateModelDeploymentResponse
|
|
1109
1110
|
* @throws OciError when an error occurs
|
|
1110
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1111
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/CreateModelDeployment.ts.html |here} to see how to use CreateModelDeployment API.
|
|
1111
1112
|
*/
|
|
1112
1113
|
createModelDeployment(createModelDeploymentRequest) {
|
|
1113
1114
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1180,7 +1181,7 @@ class DataScienceClient {
|
|
|
1180
1181
|
* @param CreateModelProvenanceRequest
|
|
1181
1182
|
* @return CreateModelProvenanceResponse
|
|
1182
1183
|
* @throws OciError when an error occurs
|
|
1183
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1184
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/CreateModelProvenance.ts.html |here} to see how to use CreateModelProvenance API.
|
|
1184
1185
|
*/
|
|
1185
1186
|
createModelProvenance(createModelProvenanceRequest) {
|
|
1186
1187
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1245,7 +1246,7 @@ class DataScienceClient {
|
|
|
1245
1246
|
* @param CreateNotebookSessionRequest
|
|
1246
1247
|
* @return CreateNotebookSessionResponse
|
|
1247
1248
|
* @throws OciError when an error occurs
|
|
1248
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1249
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/CreateNotebookSession.ts.html |here} to see how to use CreateNotebookSession API.
|
|
1249
1250
|
*/
|
|
1250
1251
|
createNotebookSession(createNotebookSessionRequest) {
|
|
1251
1252
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1318,7 +1319,7 @@ class DataScienceClient {
|
|
|
1318
1319
|
* @param CreateProjectRequest
|
|
1319
1320
|
* @return CreateProjectResponse
|
|
1320
1321
|
* @throws OciError when an error occurs
|
|
1321
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1322
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/CreateProject.ts.html |here} to see how to use CreateProject API.
|
|
1322
1323
|
*/
|
|
1323
1324
|
createProject(createProjectRequest) {
|
|
1324
1325
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1381,7 +1382,7 @@ class DataScienceClient {
|
|
|
1381
1382
|
* @param DeactivateModelRequest
|
|
1382
1383
|
* @return DeactivateModelResponse
|
|
1383
1384
|
* @throws OciError when an error occurs
|
|
1384
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1385
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/DeactivateModel.ts.html |here} to see how to use DeactivateModel API.
|
|
1385
1386
|
*/
|
|
1386
1387
|
deactivateModel(deactivateModelRequest) {
|
|
1387
1388
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1445,7 +1446,7 @@ class DataScienceClient {
|
|
|
1445
1446
|
* @param DeactivateModelDeploymentRequest
|
|
1446
1447
|
* @return DeactivateModelDeploymentResponse
|
|
1447
1448
|
* @throws OciError when an error occurs
|
|
1448
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1449
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/DeactivateModelDeployment.ts.html |here} to see how to use DeactivateModelDeployment API.
|
|
1449
1450
|
*/
|
|
1450
1451
|
deactivateModelDeployment(deactivateModelDeploymentRequest) {
|
|
1451
1452
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1505,7 +1506,7 @@ class DataScienceClient {
|
|
|
1505
1506
|
* @param DeactivateNotebookSessionRequest
|
|
1506
1507
|
* @return DeactivateNotebookSessionResponse
|
|
1507
1508
|
* @throws OciError when an error occurs
|
|
1508
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1509
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/DeactivateNotebookSession.ts.html |here} to see how to use DeactivateNotebookSession API.
|
|
1509
1510
|
*/
|
|
1510
1511
|
deactivateNotebookSession(deactivateNotebookSessionRequest) {
|
|
1511
1512
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1565,7 +1566,7 @@ class DataScienceClient {
|
|
|
1565
1566
|
* @param DeleteJobRequest
|
|
1566
1567
|
* @return DeleteJobResponse
|
|
1567
1568
|
* @throws OciError when an error occurs
|
|
1568
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1569
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/DeleteJob.ts.html |here} to see how to use DeleteJob API.
|
|
1569
1570
|
*/
|
|
1570
1571
|
deleteJob(deleteJobRequest) {
|
|
1571
1572
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1627,7 +1628,7 @@ class DataScienceClient {
|
|
|
1627
1628
|
* @param DeleteJobRunRequest
|
|
1628
1629
|
* @return DeleteJobRunResponse
|
|
1629
1630
|
* @throws OciError when an error occurs
|
|
1630
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1631
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/DeleteJobRun.ts.html |here} to see how to use DeleteJobRun API.
|
|
1631
1632
|
*/
|
|
1632
1633
|
deleteJobRun(deleteJobRunRequest) {
|
|
1633
1634
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1682,7 +1683,7 @@ class DataScienceClient {
|
|
|
1682
1683
|
* @param DeleteModelRequest
|
|
1683
1684
|
* @return DeleteModelResponse
|
|
1684
1685
|
* @throws OciError when an error occurs
|
|
1685
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1686
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/DeleteModel.ts.html |here} to see how to use DeleteModel API.
|
|
1686
1687
|
*/
|
|
1687
1688
|
deleteModel(deleteModelRequest) {
|
|
1688
1689
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1737,7 +1738,7 @@ class DataScienceClient {
|
|
|
1737
1738
|
* @param DeleteModelDeploymentRequest
|
|
1738
1739
|
* @return DeleteModelDeploymentResponse
|
|
1739
1740
|
* @throws OciError when an error occurs
|
|
1740
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1741
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/DeleteModelDeployment.ts.html |here} to see how to use DeleteModelDeployment API.
|
|
1741
1742
|
*/
|
|
1742
1743
|
deleteModelDeployment(deleteModelDeploymentRequest) {
|
|
1743
1744
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1797,7 +1798,7 @@ class DataScienceClient {
|
|
|
1797
1798
|
* @param DeleteNotebookSessionRequest
|
|
1798
1799
|
* @return DeleteNotebookSessionResponse
|
|
1799
1800
|
* @throws OciError when an error occurs
|
|
1800
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1801
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/DeleteNotebookSession.ts.html |here} to see how to use DeleteNotebookSession API.
|
|
1801
1802
|
*/
|
|
1802
1803
|
deleteNotebookSession(deleteNotebookSessionRequest) {
|
|
1803
1804
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1857,7 +1858,7 @@ class DataScienceClient {
|
|
|
1857
1858
|
* @param DeleteProjectRequest
|
|
1858
1859
|
* @return DeleteProjectResponse
|
|
1859
1860
|
* @throws OciError when an error occurs
|
|
1860
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1861
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/DeleteProject.ts.html |here} to see how to use DeleteProject API.
|
|
1861
1862
|
*/
|
|
1862
1863
|
deleteProject(deleteProjectRequest) {
|
|
1863
1864
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1911,13 +1912,75 @@ class DataScienceClient {
|
|
|
1911
1912
|
}
|
|
1912
1913
|
});
|
|
1913
1914
|
}
|
|
1915
|
+
/**
|
|
1916
|
+
* Export model artifact from source to the service bucket
|
|
1917
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1918
|
+
* @param ExportModelArtifactRequest
|
|
1919
|
+
* @return ExportModelArtifactResponse
|
|
1920
|
+
* @throws OciError when an error occurs
|
|
1921
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/ExportModelArtifact.ts.html |here} to see how to use ExportModelArtifact API.
|
|
1922
|
+
*/
|
|
1923
|
+
exportModelArtifact(exportModelArtifactRequest) {
|
|
1924
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1925
|
+
if (this.logger)
|
|
1926
|
+
this.logger.debug("Calling operation DataScienceClient#exportModelArtifact.");
|
|
1927
|
+
const operationName = "exportModelArtifact";
|
|
1928
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/Model/ExportModelArtifact";
|
|
1929
|
+
const pathParams = {
|
|
1930
|
+
"{modelId}": exportModelArtifactRequest.modelId
|
|
1931
|
+
};
|
|
1932
|
+
const queryParams = {};
|
|
1933
|
+
let headerParams = {
|
|
1934
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1935
|
+
"opc-request-id": exportModelArtifactRequest.opcRequestId,
|
|
1936
|
+
"opc-retry-token": exportModelArtifactRequest.opcRetryToken,
|
|
1937
|
+
"if-match": exportModelArtifactRequest.ifMatch
|
|
1938
|
+
};
|
|
1939
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1940
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, exportModelArtifactRequest.retryConfiguration, specRetryConfiguration);
|
|
1941
|
+
if (this.logger)
|
|
1942
|
+
retrier.logger = this.logger;
|
|
1943
|
+
const request = yield oci_common_2.composeRequest({
|
|
1944
|
+
baseEndpoint: this._endpoint,
|
|
1945
|
+
defaultHeaders: this._defaultHeaders,
|
|
1946
|
+
path: "/models/{modelId}/actions/exportArtifact",
|
|
1947
|
+
method: "POST",
|
|
1948
|
+
bodyContent: common.ObjectSerializer.serialize(exportModelArtifactRequest.exportModelArtifactDetails, "ExportModelArtifactDetails", model.ExportModelArtifactDetails.getJsonObj),
|
|
1949
|
+
pathParams: pathParams,
|
|
1950
|
+
headerParams: headerParams,
|
|
1951
|
+
queryParams: queryParams
|
|
1952
|
+
});
|
|
1953
|
+
try {
|
|
1954
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1955
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
1956
|
+
responseObject: {},
|
|
1957
|
+
responseHeaders: [
|
|
1958
|
+
{
|
|
1959
|
+
value: response.headers.get("opc-request-id"),
|
|
1960
|
+
key: "opcRequestId",
|
|
1961
|
+
dataType: "string"
|
|
1962
|
+
},
|
|
1963
|
+
{
|
|
1964
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1965
|
+
key: "opcWorkRequestId",
|
|
1966
|
+
dataType: "string"
|
|
1967
|
+
}
|
|
1968
|
+
]
|
|
1969
|
+
});
|
|
1970
|
+
return sdkResponse;
|
|
1971
|
+
}
|
|
1972
|
+
catch (err) {
|
|
1973
|
+
throw err;
|
|
1974
|
+
}
|
|
1975
|
+
});
|
|
1976
|
+
}
|
|
1914
1977
|
/**
|
|
1915
1978
|
* Gets a job.
|
|
1916
1979
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1917
1980
|
* @param GetJobRequest
|
|
1918
1981
|
* @return GetJobResponse
|
|
1919
1982
|
* @throws OciError when an error occurs
|
|
1920
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1983
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/GetJob.ts.html |here} to see how to use GetJob API.
|
|
1921
1984
|
*/
|
|
1922
1985
|
getJob(getJobRequest) {
|
|
1923
1986
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1980,7 +2043,7 @@ class DataScienceClient {
|
|
|
1980
2043
|
* @param GetJobArtifactContentRequest
|
|
1981
2044
|
* @return GetJobArtifactContentResponse
|
|
1982
2045
|
* @throws OciError when an error occurs
|
|
1983
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2046
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/GetJobArtifactContent.ts.html |here} to see how to use GetJobArtifactContent API.
|
|
1984
2047
|
*/
|
|
1985
2048
|
getJobArtifactContent(getJobArtifactContentRequest) {
|
|
1986
2049
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2063,7 +2126,7 @@ class DataScienceClient {
|
|
|
2063
2126
|
* @param GetJobRunRequest
|
|
2064
2127
|
* @return GetJobRunResponse
|
|
2065
2128
|
* @throws OciError when an error occurs
|
|
2066
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2129
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/GetJobRun.ts.html |here} to see how to use GetJobRun API.
|
|
2067
2130
|
*/
|
|
2068
2131
|
getJobRun(getJobRunRequest) {
|
|
2069
2132
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2126,7 +2189,7 @@ class DataScienceClient {
|
|
|
2126
2189
|
* @param GetModelRequest
|
|
2127
2190
|
* @return GetModelResponse
|
|
2128
2191
|
* @throws OciError when an error occurs
|
|
2129
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2192
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/GetModel.ts.html |here} to see how to use GetModel API.
|
|
2130
2193
|
*/
|
|
2131
2194
|
getModel(getModelRequest) {
|
|
2132
2195
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2189,7 +2252,7 @@ class DataScienceClient {
|
|
|
2189
2252
|
* @param GetModelArtifactContentRequest
|
|
2190
2253
|
* @return GetModelArtifactContentResponse
|
|
2191
2254
|
* @throws OciError when an error occurs
|
|
2192
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2255
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/GetModelArtifactContent.ts.html |here} to see how to use GetModelArtifactContent API.
|
|
2193
2256
|
*/
|
|
2194
2257
|
getModelArtifactContent(getModelArtifactContentRequest) {
|
|
2195
2258
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2272,7 +2335,7 @@ class DataScienceClient {
|
|
|
2272
2335
|
* @param GetModelDeploymentRequest
|
|
2273
2336
|
* @return GetModelDeploymentResponse
|
|
2274
2337
|
* @throws OciError when an error occurs
|
|
2275
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2338
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/GetModelDeployment.ts.html |here} to see how to use GetModelDeployment API.
|
|
2276
2339
|
*/
|
|
2277
2340
|
getModelDeployment(getModelDeploymentRequest) {
|
|
2278
2341
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2335,7 +2398,7 @@ class DataScienceClient {
|
|
|
2335
2398
|
* @param GetModelProvenanceRequest
|
|
2336
2399
|
* @return GetModelProvenanceResponse
|
|
2337
2400
|
* @throws OciError when an error occurs
|
|
2338
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2401
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/GetModelProvenance.ts.html |here} to see how to use GetModelProvenance API.
|
|
2339
2402
|
*/
|
|
2340
2403
|
getModelProvenance(getModelProvenanceRequest) {
|
|
2341
2404
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2398,7 +2461,7 @@ class DataScienceClient {
|
|
|
2398
2461
|
* @param GetNotebookSessionRequest
|
|
2399
2462
|
* @return GetNotebookSessionResponse
|
|
2400
2463
|
* @throws OciError when an error occurs
|
|
2401
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2464
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/GetNotebookSession.ts.html |here} to see how to use GetNotebookSession API.
|
|
2402
2465
|
*/
|
|
2403
2466
|
getNotebookSession(getNotebookSessionRequest) {
|
|
2404
2467
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2461,7 +2524,7 @@ class DataScienceClient {
|
|
|
2461
2524
|
* @param GetProjectRequest
|
|
2462
2525
|
* @return GetProjectResponse
|
|
2463
2526
|
* @throws OciError when an error occurs
|
|
2464
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2527
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/GetProject.ts.html |here} to see how to use GetProject API.
|
|
2465
2528
|
*/
|
|
2466
2529
|
getProject(getProjectRequest) {
|
|
2467
2530
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2520,11 +2583,11 @@ class DataScienceClient {
|
|
|
2520
2583
|
}
|
|
2521
2584
|
/**
|
|
2522
2585
|
* Gets the specified work request's information.
|
|
2523
|
-
* This operation
|
|
2586
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2524
2587
|
* @param GetWorkRequestRequest
|
|
2525
2588
|
* @return GetWorkRequestResponse
|
|
2526
2589
|
* @throws OciError when an error occurs
|
|
2527
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2590
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
2528
2591
|
*/
|
|
2529
2592
|
getWorkRequest(getWorkRequestRequest) {
|
|
2530
2593
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2540,7 +2603,7 @@ class DataScienceClient {
|
|
|
2540
2603
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2541
2604
|
"opc-request-id": getWorkRequestRequest.opcRequestId
|
|
2542
2605
|
};
|
|
2543
|
-
const specRetryConfiguration = common.
|
|
2606
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2544
2607
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
2545
2608
|
if (this.logger)
|
|
2546
2609
|
retrier.logger = this.logger;
|
|
@@ -2592,7 +2655,7 @@ class DataScienceClient {
|
|
|
2592
2655
|
* @param HeadJobArtifactRequest
|
|
2593
2656
|
* @return HeadJobArtifactResponse
|
|
2594
2657
|
* @throws OciError when an error occurs
|
|
2595
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2658
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/HeadJobArtifact.ts.html |here} to see how to use HeadJobArtifact API.
|
|
2596
2659
|
*/
|
|
2597
2660
|
headJobArtifact(headJobArtifactRequest) {
|
|
2598
2661
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2671,7 +2734,7 @@ class DataScienceClient {
|
|
|
2671
2734
|
* @param HeadModelArtifactRequest
|
|
2672
2735
|
* @return HeadModelArtifactResponse
|
|
2673
2736
|
* @throws OciError when an error occurs
|
|
2674
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2737
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/HeadModelArtifact.ts.html |here} to see how to use HeadModelArtifact API.
|
|
2675
2738
|
*/
|
|
2676
2739
|
headModelArtifact(headModelArtifactRequest) {
|
|
2677
2740
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2744,13 +2807,74 @@ class DataScienceClient {
|
|
|
2744
2807
|
}
|
|
2745
2808
|
});
|
|
2746
2809
|
}
|
|
2810
|
+
/**
|
|
2811
|
+
* Import model artifact from service bucket
|
|
2812
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2813
|
+
* @param ImportModelArtifactRequest
|
|
2814
|
+
* @return ImportModelArtifactResponse
|
|
2815
|
+
* @throws OciError when an error occurs
|
|
2816
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/ImportModelArtifact.ts.html |here} to see how to use ImportModelArtifact API.
|
|
2817
|
+
*/
|
|
2818
|
+
importModelArtifact(importModelArtifactRequest) {
|
|
2819
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2820
|
+
if (this.logger)
|
|
2821
|
+
this.logger.debug("Calling operation DataScienceClient#importModelArtifact.");
|
|
2822
|
+
const operationName = "importModelArtifact";
|
|
2823
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/Model/ImportModelArtifact";
|
|
2824
|
+
const pathParams = {
|
|
2825
|
+
"{modelId}": importModelArtifactRequest.modelId
|
|
2826
|
+
};
|
|
2827
|
+
const queryParams = {};
|
|
2828
|
+
let headerParams = {
|
|
2829
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2830
|
+
"opc-request-id": importModelArtifactRequest.opcRequestId,
|
|
2831
|
+
"if-match": importModelArtifactRequest.ifMatch
|
|
2832
|
+
};
|
|
2833
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2834
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, importModelArtifactRequest.retryConfiguration, specRetryConfiguration);
|
|
2835
|
+
if (this.logger)
|
|
2836
|
+
retrier.logger = this.logger;
|
|
2837
|
+
const request = yield oci_common_2.composeRequest({
|
|
2838
|
+
baseEndpoint: this._endpoint,
|
|
2839
|
+
defaultHeaders: this._defaultHeaders,
|
|
2840
|
+
path: "/models/{modelId}/actions/importArtifact",
|
|
2841
|
+
method: "POST",
|
|
2842
|
+
bodyContent: common.ObjectSerializer.serialize(importModelArtifactRequest.importModelArtifactDetails, "ImportModelArtifactDetails", model.ImportModelArtifactDetails.getJsonObj),
|
|
2843
|
+
pathParams: pathParams,
|
|
2844
|
+
headerParams: headerParams,
|
|
2845
|
+
queryParams: queryParams
|
|
2846
|
+
});
|
|
2847
|
+
try {
|
|
2848
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2849
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
2850
|
+
responseObject: {},
|
|
2851
|
+
responseHeaders: [
|
|
2852
|
+
{
|
|
2853
|
+
value: response.headers.get("opc-request-id"),
|
|
2854
|
+
key: "opcRequestId",
|
|
2855
|
+
dataType: "string"
|
|
2856
|
+
},
|
|
2857
|
+
{
|
|
2858
|
+
value: response.headers.get("opc-work-request-id"),
|
|
2859
|
+
key: "opcWorkRequestId",
|
|
2860
|
+
dataType: "string"
|
|
2861
|
+
}
|
|
2862
|
+
]
|
|
2863
|
+
});
|
|
2864
|
+
return sdkResponse;
|
|
2865
|
+
}
|
|
2866
|
+
catch (err) {
|
|
2867
|
+
throw err;
|
|
2868
|
+
}
|
|
2869
|
+
});
|
|
2870
|
+
}
|
|
2747
2871
|
/**
|
|
2748
2872
|
* List fast launch capable job configs in the specified compartment.
|
|
2749
2873
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2750
2874
|
* @param ListFastLaunchJobConfigsRequest
|
|
2751
2875
|
* @return ListFastLaunchJobConfigsResponse
|
|
2752
2876
|
* @throws OciError when an error occurs
|
|
2753
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2877
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/ListFastLaunchJobConfigs.ts.html |here} to see how to use ListFastLaunchJobConfigs API.
|
|
2754
2878
|
*/
|
|
2755
2879
|
listFastLaunchJobConfigs(listFastLaunchJobConfigsRequest) {
|
|
2756
2880
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2860,7 +2984,7 @@ class DataScienceClient {
|
|
|
2860
2984
|
* @param ListJobRunsRequest
|
|
2861
2985
|
* @return ListJobRunsResponse
|
|
2862
2986
|
* @throws OciError when an error occurs
|
|
2863
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2987
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/ListJobRuns.ts.html |here} to see how to use ListJobRuns API.
|
|
2864
2988
|
*/
|
|
2865
2989
|
listJobRuns(listJobRunsRequest) {
|
|
2866
2990
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2977,7 +3101,7 @@ class DataScienceClient {
|
|
|
2977
3101
|
* @param ListJobShapesRequest
|
|
2978
3102
|
* @return ListJobShapesResponse
|
|
2979
3103
|
* @throws OciError when an error occurs
|
|
2980
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3104
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/ListJobShapes.ts.html |here} to see how to use ListJobShapes API.
|
|
2981
3105
|
*/
|
|
2982
3106
|
listJobShapes(listJobShapesRequest) {
|
|
2983
3107
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3087,7 +3211,7 @@ class DataScienceClient {
|
|
|
3087
3211
|
* @param ListJobsRequest
|
|
3088
3212
|
* @return ListJobsResponse
|
|
3089
3213
|
* @throws OciError when an error occurs
|
|
3090
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3214
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/ListJobs.ts.html |here} to see how to use ListJobs API.
|
|
3091
3215
|
*/
|
|
3092
3216
|
listJobs(listJobsRequest) {
|
|
3093
3217
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3204,7 +3328,7 @@ class DataScienceClient {
|
|
|
3204
3328
|
* @param ListModelDeploymentShapesRequest
|
|
3205
3329
|
* @return ListModelDeploymentShapesResponse
|
|
3206
3330
|
* @throws OciError when an error occurs
|
|
3207
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3331
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/ListModelDeploymentShapes.ts.html |here} to see how to use ListModelDeploymentShapes API.
|
|
3208
3332
|
*/
|
|
3209
3333
|
listModelDeploymentShapes(listModelDeploymentShapesRequest) {
|
|
3210
3334
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3315,7 +3439,7 @@ class DataScienceClient {
|
|
|
3315
3439
|
* @param ListModelDeploymentsRequest
|
|
3316
3440
|
* @return ListModelDeploymentsResponse
|
|
3317
3441
|
* @throws OciError when an error occurs
|
|
3318
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3442
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/ListModelDeployments.ts.html |here} to see how to use ListModelDeployments API.
|
|
3319
3443
|
*/
|
|
3320
3444
|
listModelDeployments(listModelDeploymentsRequest) {
|
|
3321
3445
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3432,7 +3556,7 @@ class DataScienceClient {
|
|
|
3432
3556
|
* @param ListModelsRequest
|
|
3433
3557
|
* @return ListModelsResponse
|
|
3434
3558
|
* @throws OciError when an error occurs
|
|
3435
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3559
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/ListModels.ts.html |here} to see how to use ListModels API.
|
|
3436
3560
|
*/
|
|
3437
3561
|
listModels(listModelsRequest) {
|
|
3438
3562
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3549,7 +3673,7 @@ class DataScienceClient {
|
|
|
3549
3673
|
* @param ListNotebookSessionShapesRequest
|
|
3550
3674
|
* @return ListNotebookSessionShapesResponse
|
|
3551
3675
|
* @throws OciError when an error occurs
|
|
3552
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3676
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/ListNotebookSessionShapes.ts.html |here} to see how to use ListNotebookSessionShapes API.
|
|
3553
3677
|
*/
|
|
3554
3678
|
listNotebookSessionShapes(listNotebookSessionShapesRequest) {
|
|
3555
3679
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3659,7 +3783,7 @@ class DataScienceClient {
|
|
|
3659
3783
|
* @param ListNotebookSessionsRequest
|
|
3660
3784
|
* @return ListNotebookSessionsResponse
|
|
3661
3785
|
* @throws OciError when an error occurs
|
|
3662
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3786
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/ListNotebookSessions.ts.html |here} to see how to use ListNotebookSessions API.
|
|
3663
3787
|
*/
|
|
3664
3788
|
listNotebookSessions(listNotebookSessionsRequest) {
|
|
3665
3789
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3776,7 +3900,7 @@ class DataScienceClient {
|
|
|
3776
3900
|
* @param ListProjectsRequest
|
|
3777
3901
|
* @return ListProjectsResponse
|
|
3778
3902
|
* @throws OciError when an error occurs
|
|
3779
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3903
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/ListProjects.ts.html |here} to see how to use ListProjects API.
|
|
3780
3904
|
*/
|
|
3781
3905
|
listProjects(listProjectsRequest) {
|
|
3782
3906
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3888,11 +4012,11 @@ class DataScienceClient {
|
|
|
3888
4012
|
}
|
|
3889
4013
|
/**
|
|
3890
4014
|
* Lists work request errors for the specified work request.
|
|
3891
|
-
* This operation
|
|
4015
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3892
4016
|
* @param ListWorkRequestErrorsRequest
|
|
3893
4017
|
* @return ListWorkRequestErrorsResponse
|
|
3894
4018
|
* @throws OciError when an error occurs
|
|
3895
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4019
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
3896
4020
|
*/
|
|
3897
4021
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
3898
4022
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3908,7 +4032,7 @@ class DataScienceClient {
|
|
|
3908
4032
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3909
4033
|
"opc-request-id": listWorkRequestErrorsRequest.opcRequestId
|
|
3910
4034
|
};
|
|
3911
|
-
const specRetryConfiguration = common.
|
|
4035
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3912
4036
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
3913
4037
|
if (this.logger)
|
|
3914
4038
|
retrier.logger = this.logger;
|
|
@@ -3946,11 +4070,11 @@ class DataScienceClient {
|
|
|
3946
4070
|
}
|
|
3947
4071
|
/**
|
|
3948
4072
|
* Lists work request logs for the specified work request.
|
|
3949
|
-
* This operation
|
|
4073
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3950
4074
|
* @param ListWorkRequestLogsRequest
|
|
3951
4075
|
* @return ListWorkRequestLogsResponse
|
|
3952
4076
|
* @throws OciError when an error occurs
|
|
3953
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4077
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
3954
4078
|
*/
|
|
3955
4079
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
3956
4080
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3966,7 +4090,7 @@ class DataScienceClient {
|
|
|
3966
4090
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3967
4091
|
"opc-request-id": listWorkRequestLogsRequest.opcRequestId
|
|
3968
4092
|
};
|
|
3969
|
-
const specRetryConfiguration = common.
|
|
4093
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3970
4094
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
3971
4095
|
if (this.logger)
|
|
3972
4096
|
retrier.logger = this.logger;
|
|
@@ -4004,11 +4128,11 @@ class DataScienceClient {
|
|
|
4004
4128
|
}
|
|
4005
4129
|
/**
|
|
4006
4130
|
* Lists work requests in the specified compartment.
|
|
4007
|
-
* This operation
|
|
4131
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4008
4132
|
* @param ListWorkRequestsRequest
|
|
4009
4133
|
* @return ListWorkRequestsResponse
|
|
4010
4134
|
* @throws OciError when an error occurs
|
|
4011
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4135
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
4012
4136
|
*/
|
|
4013
4137
|
listWorkRequests(listWorkRequestsRequest) {
|
|
4014
4138
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4031,7 +4155,7 @@ class DataScienceClient {
|
|
|
4031
4155
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4032
4156
|
"opc-request-id": listWorkRequestsRequest.opcRequestId
|
|
4033
4157
|
};
|
|
4034
|
-
const specRetryConfiguration = common.
|
|
4158
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4035
4159
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
4036
4160
|
if (this.logger)
|
|
4037
4161
|
retrier.logger = this.logger;
|
|
@@ -4123,7 +4247,7 @@ class DataScienceClient {
|
|
|
4123
4247
|
* @param UpdateJobRequest
|
|
4124
4248
|
* @return UpdateJobResponse
|
|
4125
4249
|
* @throws OciError when an error occurs
|
|
4126
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4250
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/UpdateJob.ts.html |here} to see how to use UpdateJob API.
|
|
4127
4251
|
*/
|
|
4128
4252
|
updateJob(updateJobRequest) {
|
|
4129
4253
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4188,7 +4312,7 @@ class DataScienceClient {
|
|
|
4188
4312
|
* @param UpdateJobRunRequest
|
|
4189
4313
|
* @return UpdateJobRunResponse
|
|
4190
4314
|
* @throws OciError when an error occurs
|
|
4191
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4315
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/UpdateJobRun.ts.html |here} to see how to use UpdateJobRun API.
|
|
4192
4316
|
*/
|
|
4193
4317
|
updateJobRun(updateJobRunRequest) {
|
|
4194
4318
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4253,7 +4377,7 @@ class DataScienceClient {
|
|
|
4253
4377
|
* @param UpdateModelRequest
|
|
4254
4378
|
* @return UpdateModelResponse
|
|
4255
4379
|
* @throws OciError when an error occurs
|
|
4256
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4380
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/UpdateModel.ts.html |here} to see how to use UpdateModel API.
|
|
4257
4381
|
*/
|
|
4258
4382
|
updateModel(updateModelRequest) {
|
|
4259
4383
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4322,7 +4446,7 @@ class DataScienceClient {
|
|
|
4322
4446
|
* @param UpdateModelDeploymentRequest
|
|
4323
4447
|
* @return UpdateModelDeploymentResponse
|
|
4324
4448
|
* @throws OciError when an error occurs
|
|
4325
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4449
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/UpdateModelDeployment.ts.html |here} to see how to use UpdateModelDeployment API.
|
|
4326
4450
|
*/
|
|
4327
4451
|
updateModelDeployment(updateModelDeploymentRequest) {
|
|
4328
4452
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4383,7 +4507,7 @@ class DataScienceClient {
|
|
|
4383
4507
|
* @param UpdateModelProvenanceRequest
|
|
4384
4508
|
* @return UpdateModelProvenanceResponse
|
|
4385
4509
|
* @throws OciError when an error occurs
|
|
4386
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4510
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/UpdateModelProvenance.ts.html |here} to see how to use UpdateModelProvenance API.
|
|
4387
4511
|
*/
|
|
4388
4512
|
updateModelProvenance(updateModelProvenanceRequest) {
|
|
4389
4513
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4451,7 +4575,7 @@ class DataScienceClient {
|
|
|
4451
4575
|
* @param UpdateNotebookSessionRequest
|
|
4452
4576
|
* @return UpdateNotebookSessionResponse
|
|
4453
4577
|
* @throws OciError when an error occurs
|
|
4454
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4578
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/UpdateNotebookSession.ts.html |here} to see how to use UpdateNotebookSession API.
|
|
4455
4579
|
*/
|
|
4456
4580
|
updateNotebookSession(updateNotebookSessionRequest) {
|
|
4457
4581
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4516,7 +4640,7 @@ class DataScienceClient {
|
|
|
4516
4640
|
* @param UpdateProjectRequest
|
|
4517
4641
|
* @return UpdateProjectResponse
|
|
4518
4642
|
* @throws OciError when an error occurs
|
|
4519
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4643
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/datascience/UpdateProject.ts.html |here} to see how to use UpdateProject API.
|
|
4520
4644
|
*/
|
|
4521
4645
|
updateProject(updateProjectRequest) {
|
|
4522
4646
|
return __awaiter(this, void 0, void 0, function* () {
|