oci-datascience 2.5.2 → 2.6.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 +123 -60
- package/lib/client.js +250 -120
- package/lib/client.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 +1 -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/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/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 +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/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -53,6 +53,9 @@ const oci_common_2 = require("oci-common");
|
|
|
53
53
|
var DataScienceApiKeys;
|
|
54
54
|
(function (DataScienceApiKeys) {
|
|
55
55
|
})(DataScienceApiKeys = exports.DataScienceApiKeys || (exports.DataScienceApiKeys = {}));
|
|
56
|
+
/**
|
|
57
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
58
|
+
*/
|
|
56
59
|
class DataScienceClient {
|
|
57
60
|
constructor(params, clientConfiguration) {
|
|
58
61
|
this["_endpoint"] = "";
|
|
@@ -67,6 +70,13 @@ class DataScienceClient {
|
|
|
67
70
|
? clientConfiguration.circuitBreaker.circuit
|
|
68
71
|
: null;
|
|
69
72
|
}
|
|
73
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
74
|
+
const specCircuitBreakerEnabled = false;
|
|
75
|
+
if (!this._circuitBreaker &&
|
|
76
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
77
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
78
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
79
|
+
}
|
|
70
80
|
this._httpClient =
|
|
71
81
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
72
82
|
if (params.authenticationDetailsProvider &&
|
|
@@ -138,10 +148,11 @@ class DataScienceClient {
|
|
|
138
148
|
}
|
|
139
149
|
/**
|
|
140
150
|
* Activates the model.
|
|
151
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
141
152
|
* @param ActivateModelRequest
|
|
142
153
|
* @return ActivateModelResponse
|
|
143
154
|
* @throws OciError when an error occurs
|
|
144
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
155
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/ActivateModel.ts.html |here} to see how to use ActivateModel API.
|
|
145
156
|
*/
|
|
146
157
|
activateModel(activateModelRequest) {
|
|
147
158
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -156,7 +167,8 @@ class DataScienceClient {
|
|
|
156
167
|
"if-match": activateModelRequest.ifMatch,
|
|
157
168
|
"opc-request-id": activateModelRequest.opcRequestId
|
|
158
169
|
};
|
|
159
|
-
const
|
|
170
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
171
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, activateModelRequest.retryConfiguration, specRetryConfiguration);
|
|
160
172
|
if (this.logger)
|
|
161
173
|
retrier.logger = this.logger;
|
|
162
174
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -198,10 +210,11 @@ class DataScienceClient {
|
|
|
198
210
|
}
|
|
199
211
|
/**
|
|
200
212
|
* Activates the model deployment.
|
|
213
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
201
214
|
* @param ActivateModelDeploymentRequest
|
|
202
215
|
* @return ActivateModelDeploymentResponse
|
|
203
216
|
* @throws OciError when an error occurs
|
|
204
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
217
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/ActivateModelDeployment.ts.html |here} to see how to use ActivateModelDeployment API.
|
|
205
218
|
*/
|
|
206
219
|
activateModelDeployment(activateModelDeploymentRequest) {
|
|
207
220
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -216,7 +229,8 @@ class DataScienceClient {
|
|
|
216
229
|
"if-match": activateModelDeploymentRequest.ifMatch,
|
|
217
230
|
"opc-request-id": activateModelDeploymentRequest.opcRequestId
|
|
218
231
|
};
|
|
219
|
-
const
|
|
232
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
233
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, activateModelDeploymentRequest.retryConfiguration, specRetryConfiguration);
|
|
220
234
|
if (this.logger)
|
|
221
235
|
retrier.logger = this.logger;
|
|
222
236
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -254,10 +268,11 @@ class DataScienceClient {
|
|
|
254
268
|
}
|
|
255
269
|
/**
|
|
256
270
|
* Activates the notebook session.
|
|
271
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
257
272
|
* @param ActivateNotebookSessionRequest
|
|
258
273
|
* @return ActivateNotebookSessionResponse
|
|
259
274
|
* @throws OciError when an error occurs
|
|
260
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
275
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/ActivateNotebookSession.ts.html |here} to see how to use ActivateNotebookSession API.
|
|
261
276
|
*/
|
|
262
277
|
activateNotebookSession(activateNotebookSessionRequest) {
|
|
263
278
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -272,7 +287,8 @@ class DataScienceClient {
|
|
|
272
287
|
"if-match": activateNotebookSessionRequest.ifMatch,
|
|
273
288
|
"opc-request-id": activateNotebookSessionRequest.opcRequestId
|
|
274
289
|
};
|
|
275
|
-
const
|
|
290
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
291
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, activateNotebookSessionRequest.retryConfiguration, specRetryConfiguration);
|
|
276
292
|
if (this.logger)
|
|
277
293
|
retrier.logger = this.logger;
|
|
278
294
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -310,10 +326,11 @@ class DataScienceClient {
|
|
|
310
326
|
}
|
|
311
327
|
/**
|
|
312
328
|
* Cancels an IN_PROGRESS job run.
|
|
329
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
313
330
|
* @param CancelJobRunRequest
|
|
314
331
|
* @return CancelJobRunResponse
|
|
315
332
|
* @throws OciError when an error occurs
|
|
316
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
333
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/CancelJobRun.ts.html |here} to see how to use CancelJobRun API.
|
|
317
334
|
*/
|
|
318
335
|
cancelJobRun(cancelJobRunRequest) {
|
|
319
336
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -328,7 +345,8 @@ class DataScienceClient {
|
|
|
328
345
|
"opc-request-id": cancelJobRunRequest.opcRequestId,
|
|
329
346
|
"if-match": cancelJobRunRequest.ifMatch
|
|
330
347
|
};
|
|
331
|
-
const
|
|
348
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
349
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelJobRunRequest.retryConfiguration, specRetryConfiguration);
|
|
332
350
|
if (this.logger)
|
|
333
351
|
retrier.logger = this.logger;
|
|
334
352
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -361,10 +379,11 @@ class DataScienceClient {
|
|
|
361
379
|
}
|
|
362
380
|
/**
|
|
363
381
|
* Cancels a work request that has not started.
|
|
382
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
364
383
|
* @param CancelWorkRequestRequest
|
|
365
384
|
* @return CancelWorkRequestResponse
|
|
366
385
|
* @throws OciError when an error occurs
|
|
367
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
386
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
|
|
368
387
|
*/
|
|
369
388
|
cancelWorkRequest(cancelWorkRequestRequest) {
|
|
370
389
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -379,7 +398,8 @@ class DataScienceClient {
|
|
|
379
398
|
"if-match": cancelWorkRequestRequest.ifMatch,
|
|
380
399
|
"opc-request-id": cancelWorkRequestRequest.opcRequestId
|
|
381
400
|
};
|
|
382
|
-
const
|
|
401
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
402
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
383
403
|
if (this.logger)
|
|
384
404
|
retrier.logger = this.logger;
|
|
385
405
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -412,10 +432,11 @@ class DataScienceClient {
|
|
|
412
432
|
}
|
|
413
433
|
/**
|
|
414
434
|
* Changes a job's compartment
|
|
435
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
415
436
|
* @param ChangeJobCompartmentRequest
|
|
416
437
|
* @return ChangeJobCompartmentResponse
|
|
417
438
|
* @throws OciError when an error occurs
|
|
418
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
439
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/ChangeJobCompartment.ts.html |here} to see how to use ChangeJobCompartment API.
|
|
419
440
|
*/
|
|
420
441
|
changeJobCompartment(changeJobCompartmentRequest) {
|
|
421
442
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -430,7 +451,8 @@ class DataScienceClient {
|
|
|
430
451
|
"if-match": changeJobCompartmentRequest.ifMatch,
|
|
431
452
|
"opc-request-id": changeJobCompartmentRequest.opcRequestId
|
|
432
453
|
};
|
|
433
|
-
const
|
|
454
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
455
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeJobCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
434
456
|
if (this.logger)
|
|
435
457
|
retrier.logger = this.logger;
|
|
436
458
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -464,10 +486,11 @@ class DataScienceClient {
|
|
|
464
486
|
}
|
|
465
487
|
/**
|
|
466
488
|
* Changes a job run's compartment
|
|
489
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
467
490
|
* @param ChangeJobRunCompartmentRequest
|
|
468
491
|
* @return ChangeJobRunCompartmentResponse
|
|
469
492
|
* @throws OciError when an error occurs
|
|
470
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
493
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/ChangeJobRunCompartment.ts.html |here} to see how to use ChangeJobRunCompartment API.
|
|
471
494
|
*/
|
|
472
495
|
changeJobRunCompartment(changeJobRunCompartmentRequest) {
|
|
473
496
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -482,7 +505,8 @@ class DataScienceClient {
|
|
|
482
505
|
"if-match": changeJobRunCompartmentRequest.ifMatch,
|
|
483
506
|
"opc-request-id": changeJobRunCompartmentRequest.opcRequestId
|
|
484
507
|
};
|
|
485
|
-
const
|
|
508
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
509
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeJobRunCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
486
510
|
if (this.logger)
|
|
487
511
|
retrier.logger = this.logger;
|
|
488
512
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -516,10 +540,11 @@ class DataScienceClient {
|
|
|
516
540
|
}
|
|
517
541
|
/**
|
|
518
542
|
* Moves a model resource into a different compartment.
|
|
543
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
519
544
|
* @param ChangeModelCompartmentRequest
|
|
520
545
|
* @return ChangeModelCompartmentResponse
|
|
521
546
|
* @throws OciError when an error occurs
|
|
522
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
547
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/ChangeModelCompartment.ts.html |here} to see how to use ChangeModelCompartment API.
|
|
523
548
|
*/
|
|
524
549
|
changeModelCompartment(changeModelCompartmentRequest) {
|
|
525
550
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -535,7 +560,8 @@ class DataScienceClient {
|
|
|
535
560
|
"opc-request-id": changeModelCompartmentRequest.opcRequestId,
|
|
536
561
|
"opc-retry-token": changeModelCompartmentRequest.opcRetryToken
|
|
537
562
|
};
|
|
538
|
-
const
|
|
563
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
564
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeModelCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
539
565
|
if (this.logger)
|
|
540
566
|
retrier.logger = this.logger;
|
|
541
567
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -569,10 +595,11 @@ class DataScienceClient {
|
|
|
569
595
|
}
|
|
570
596
|
/**
|
|
571
597
|
* Moves a model deployment into a different compartment. When provided, If-Match is checked against ETag values of the resource.
|
|
598
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
572
599
|
* @param ChangeModelDeploymentCompartmentRequest
|
|
573
600
|
* @return ChangeModelDeploymentCompartmentResponse
|
|
574
601
|
* @throws OciError when an error occurs
|
|
575
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
602
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/ChangeModelDeploymentCompartment.ts.html |here} to see how to use ChangeModelDeploymentCompartment API.
|
|
576
603
|
*/
|
|
577
604
|
changeModelDeploymentCompartment(changeModelDeploymentCompartmentRequest) {
|
|
578
605
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -588,7 +615,8 @@ class DataScienceClient {
|
|
|
588
615
|
"opc-request-id": changeModelDeploymentCompartmentRequest.opcRequestId,
|
|
589
616
|
"opc-retry-token": changeModelDeploymentCompartmentRequest.opcRetryToken
|
|
590
617
|
};
|
|
591
|
-
const
|
|
618
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
619
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeModelDeploymentCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
592
620
|
if (this.logger)
|
|
593
621
|
retrier.logger = this.logger;
|
|
594
622
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -622,10 +650,11 @@ class DataScienceClient {
|
|
|
622
650
|
}
|
|
623
651
|
/**
|
|
624
652
|
* Moves a notebook session resource into a different compartment.
|
|
653
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
625
654
|
* @param ChangeNotebookSessionCompartmentRequest
|
|
626
655
|
* @return ChangeNotebookSessionCompartmentResponse
|
|
627
656
|
* @throws OciError when an error occurs
|
|
628
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
657
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/ChangeNotebookSessionCompartment.ts.html |here} to see how to use ChangeNotebookSessionCompartment API.
|
|
629
658
|
*/
|
|
630
659
|
changeNotebookSessionCompartment(changeNotebookSessionCompartmentRequest) {
|
|
631
660
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -641,7 +670,8 @@ class DataScienceClient {
|
|
|
641
670
|
"opc-request-id": changeNotebookSessionCompartmentRequest.opcRequestId,
|
|
642
671
|
"opc-retry-token": changeNotebookSessionCompartmentRequest.opcRetryToken
|
|
643
672
|
};
|
|
644
|
-
const
|
|
673
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
674
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeNotebookSessionCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
645
675
|
if (this.logger)
|
|
646
676
|
retrier.logger = this.logger;
|
|
647
677
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -675,10 +705,11 @@ class DataScienceClient {
|
|
|
675
705
|
}
|
|
676
706
|
/**
|
|
677
707
|
* Moves a project resource into a different compartment.
|
|
708
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
678
709
|
* @param ChangeProjectCompartmentRequest
|
|
679
710
|
* @return ChangeProjectCompartmentResponse
|
|
680
711
|
* @throws OciError when an error occurs
|
|
681
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
712
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/ChangeProjectCompartment.ts.html |here} to see how to use ChangeProjectCompartment API.
|
|
682
713
|
*/
|
|
683
714
|
changeProjectCompartment(changeProjectCompartmentRequest) {
|
|
684
715
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -694,7 +725,8 @@ class DataScienceClient {
|
|
|
694
725
|
"opc-request-id": changeProjectCompartmentRequest.opcRequestId,
|
|
695
726
|
"opc-retry-token": changeProjectCompartmentRequest.opcRetryToken
|
|
696
727
|
};
|
|
697
|
-
const
|
|
728
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
729
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeProjectCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
698
730
|
if (this.logger)
|
|
699
731
|
retrier.logger = this.logger;
|
|
700
732
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -728,10 +760,11 @@ class DataScienceClient {
|
|
|
728
760
|
}
|
|
729
761
|
/**
|
|
730
762
|
* Creates a job.
|
|
763
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
731
764
|
* @param CreateJobRequest
|
|
732
765
|
* @return CreateJobResponse
|
|
733
766
|
* @throws OciError when an error occurs
|
|
734
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
767
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/CreateJob.ts.html |here} to see how to use CreateJob API.
|
|
735
768
|
*/
|
|
736
769
|
createJob(createJobRequest) {
|
|
737
770
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -744,7 +777,8 @@ class DataScienceClient {
|
|
|
744
777
|
"opc-request-id": createJobRequest.opcRequestId,
|
|
745
778
|
"opc-retry-token": createJobRequest.opcRetryToken
|
|
746
779
|
};
|
|
747
|
-
const
|
|
780
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
781
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createJobRequest.retryConfiguration, specRetryConfiguration);
|
|
748
782
|
if (this.logger)
|
|
749
783
|
retrier.logger = this.logger;
|
|
750
784
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -787,10 +821,11 @@ class DataScienceClient {
|
|
|
787
821
|
}
|
|
788
822
|
/**
|
|
789
823
|
* Uploads a job artifact.
|
|
824
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
790
825
|
* @param CreateJobArtifactRequest
|
|
791
826
|
* @return CreateJobArtifactResponse
|
|
792
827
|
* @throws OciError when an error occurs
|
|
793
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
828
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/CreateJobArtifact.ts.html |here} to see how to use CreateJobArtifact API.
|
|
794
829
|
*/
|
|
795
830
|
createJobArtifact(createJobArtifactRequest) {
|
|
796
831
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -806,7 +841,8 @@ class DataScienceClient {
|
|
|
806
841
|
"content-length": createJobArtifactRequest.contentLength,
|
|
807
842
|
"content-disposition": createJobArtifactRequest.contentDisposition
|
|
808
843
|
};
|
|
809
|
-
const
|
|
844
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
845
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createJobArtifactRequest.retryConfiguration, specRetryConfiguration);
|
|
810
846
|
if (this.logger)
|
|
811
847
|
retrier.logger = this.logger;
|
|
812
848
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -846,10 +882,11 @@ class DataScienceClient {
|
|
|
846
882
|
}
|
|
847
883
|
/**
|
|
848
884
|
* Creates a job run.
|
|
885
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
849
886
|
* @param CreateJobRunRequest
|
|
850
887
|
* @return CreateJobRunResponse
|
|
851
888
|
* @throws OciError when an error occurs
|
|
852
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
889
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/CreateJobRun.ts.html |here} to see how to use CreateJobRun API.
|
|
853
890
|
*/
|
|
854
891
|
createJobRun(createJobRunRequest) {
|
|
855
892
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -862,7 +899,8 @@ class DataScienceClient {
|
|
|
862
899
|
"opc-request-id": createJobRunRequest.opcRequestId,
|
|
863
900
|
"opc-retry-token": createJobRunRequest.opcRetryToken
|
|
864
901
|
};
|
|
865
|
-
const
|
|
902
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
903
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createJobRunRequest.retryConfiguration, specRetryConfiguration);
|
|
866
904
|
if (this.logger)
|
|
867
905
|
retrier.logger = this.logger;
|
|
868
906
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -905,10 +943,11 @@ class DataScienceClient {
|
|
|
905
943
|
}
|
|
906
944
|
/**
|
|
907
945
|
* Creates a new model.
|
|
946
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
908
947
|
* @param CreateModelRequest
|
|
909
948
|
* @return CreateModelResponse
|
|
910
949
|
* @throws OciError when an error occurs
|
|
911
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
950
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/CreateModel.ts.html |here} to see how to use CreateModel API.
|
|
912
951
|
*/
|
|
913
952
|
createModel(createModelRequest) {
|
|
914
953
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -921,7 +960,8 @@ class DataScienceClient {
|
|
|
921
960
|
"opc-request-id": createModelRequest.opcRequestId,
|
|
922
961
|
"opc-retry-token": createModelRequest.opcRetryToken
|
|
923
962
|
};
|
|
924
|
-
const
|
|
963
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
964
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createModelRequest.retryConfiguration, specRetryConfiguration);
|
|
925
965
|
if (this.logger)
|
|
926
966
|
retrier.logger = this.logger;
|
|
927
967
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -964,10 +1004,11 @@ class DataScienceClient {
|
|
|
964
1004
|
}
|
|
965
1005
|
/**
|
|
966
1006
|
* Creates model artifact for specified model.
|
|
1007
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
967
1008
|
* @param CreateModelArtifactRequest
|
|
968
1009
|
* @return CreateModelArtifactResponse
|
|
969
1010
|
* @throws OciError when an error occurs
|
|
970
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1011
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/CreateModelArtifact.ts.html |here} to see how to use CreateModelArtifact API.
|
|
971
1012
|
*/
|
|
972
1013
|
createModelArtifact(createModelArtifactRequest) {
|
|
973
1014
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -983,7 +1024,8 @@ class DataScienceClient {
|
|
|
983
1024
|
"content-length": createModelArtifactRequest.contentLength,
|
|
984
1025
|
"content-disposition": createModelArtifactRequest.contentDisposition
|
|
985
1026
|
};
|
|
986
|
-
const
|
|
1027
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1028
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createModelArtifactRequest.retryConfiguration, specRetryConfiguration);
|
|
987
1029
|
if (this.logger)
|
|
988
1030
|
retrier.logger = this.logger;
|
|
989
1031
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1023,10 +1065,11 @@ class DataScienceClient {
|
|
|
1023
1065
|
}
|
|
1024
1066
|
/**
|
|
1025
1067
|
* Creates a new model deployment.
|
|
1068
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1026
1069
|
* @param CreateModelDeploymentRequest
|
|
1027
1070
|
* @return CreateModelDeploymentResponse
|
|
1028
1071
|
* @throws OciError when an error occurs
|
|
1029
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1072
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/CreateModelDeployment.ts.html |here} to see how to use CreateModelDeployment API.
|
|
1030
1073
|
*/
|
|
1031
1074
|
createModelDeployment(createModelDeploymentRequest) {
|
|
1032
1075
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1039,7 +1082,8 @@ class DataScienceClient {
|
|
|
1039
1082
|
"opc-request-id": createModelDeploymentRequest.opcRequestId,
|
|
1040
1083
|
"opc-retry-token": createModelDeploymentRequest.opcRetryToken
|
|
1041
1084
|
};
|
|
1042
|
-
const
|
|
1085
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1086
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createModelDeploymentRequest.retryConfiguration, specRetryConfiguration);
|
|
1043
1087
|
if (this.logger)
|
|
1044
1088
|
retrier.logger = this.logger;
|
|
1045
1089
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1092,10 +1136,11 @@ class DataScienceClient {
|
|
|
1092
1136
|
}
|
|
1093
1137
|
/**
|
|
1094
1138
|
* Creates provenance information for the specified model.
|
|
1139
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1095
1140
|
* @param CreateModelProvenanceRequest
|
|
1096
1141
|
* @return CreateModelProvenanceResponse
|
|
1097
1142
|
* @throws OciError when an error occurs
|
|
1098
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1143
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/CreateModelProvenance.ts.html |here} to see how to use CreateModelProvenance API.
|
|
1099
1144
|
*/
|
|
1100
1145
|
createModelProvenance(createModelProvenanceRequest) {
|
|
1101
1146
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1110,7 +1155,8 @@ class DataScienceClient {
|
|
|
1110
1155
|
"opc-request-id": createModelProvenanceRequest.opcRequestId,
|
|
1111
1156
|
"opc-retry-token": createModelProvenanceRequest.opcRetryToken
|
|
1112
1157
|
};
|
|
1113
|
-
const
|
|
1158
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1159
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createModelProvenanceRequest.retryConfiguration, specRetryConfiguration);
|
|
1114
1160
|
if (this.logger)
|
|
1115
1161
|
retrier.logger = this.logger;
|
|
1116
1162
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1153,10 +1199,11 @@ class DataScienceClient {
|
|
|
1153
1199
|
}
|
|
1154
1200
|
/**
|
|
1155
1201
|
* Creates a new notebook session.
|
|
1202
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1156
1203
|
* @param CreateNotebookSessionRequest
|
|
1157
1204
|
* @return CreateNotebookSessionResponse
|
|
1158
1205
|
* @throws OciError when an error occurs
|
|
1159
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1206
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/CreateNotebookSession.ts.html |here} to see how to use CreateNotebookSession API.
|
|
1160
1207
|
*/
|
|
1161
1208
|
createNotebookSession(createNotebookSessionRequest) {
|
|
1162
1209
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1169,7 +1216,8 @@ class DataScienceClient {
|
|
|
1169
1216
|
"opc-request-id": createNotebookSessionRequest.opcRequestId,
|
|
1170
1217
|
"opc-retry-token": createNotebookSessionRequest.opcRetryToken
|
|
1171
1218
|
};
|
|
1172
|
-
const
|
|
1219
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1220
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createNotebookSessionRequest.retryConfiguration, specRetryConfiguration);
|
|
1173
1221
|
if (this.logger)
|
|
1174
1222
|
retrier.logger = this.logger;
|
|
1175
1223
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1222,10 +1270,11 @@ class DataScienceClient {
|
|
|
1222
1270
|
}
|
|
1223
1271
|
/**
|
|
1224
1272
|
* Creates a new project.
|
|
1273
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1225
1274
|
* @param CreateProjectRequest
|
|
1226
1275
|
* @return CreateProjectResponse
|
|
1227
1276
|
* @throws OciError when an error occurs
|
|
1228
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1277
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/CreateProject.ts.html |here} to see how to use CreateProject API.
|
|
1229
1278
|
*/
|
|
1230
1279
|
createProject(createProjectRequest) {
|
|
1231
1280
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1238,7 +1287,8 @@ class DataScienceClient {
|
|
|
1238
1287
|
"opc-request-id": createProjectRequest.opcRequestId,
|
|
1239
1288
|
"opc-retry-token": createProjectRequest.opcRetryToken
|
|
1240
1289
|
};
|
|
1241
|
-
const
|
|
1290
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1291
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createProjectRequest.retryConfiguration, specRetryConfiguration);
|
|
1242
1292
|
if (this.logger)
|
|
1243
1293
|
retrier.logger = this.logger;
|
|
1244
1294
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1281,10 +1331,11 @@ class DataScienceClient {
|
|
|
1281
1331
|
}
|
|
1282
1332
|
/**
|
|
1283
1333
|
* Deactivates the model.
|
|
1334
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1284
1335
|
* @param DeactivateModelRequest
|
|
1285
1336
|
* @return DeactivateModelResponse
|
|
1286
1337
|
* @throws OciError when an error occurs
|
|
1287
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1338
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/DeactivateModel.ts.html |here} to see how to use DeactivateModel API.
|
|
1288
1339
|
*/
|
|
1289
1340
|
deactivateModel(deactivateModelRequest) {
|
|
1290
1341
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1299,7 +1350,8 @@ class DataScienceClient {
|
|
|
1299
1350
|
"if-match": deactivateModelRequest.ifMatch,
|
|
1300
1351
|
"opc-request-id": deactivateModelRequest.opcRequestId
|
|
1301
1352
|
};
|
|
1302
|
-
const
|
|
1353
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1354
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deactivateModelRequest.retryConfiguration, specRetryConfiguration);
|
|
1303
1355
|
if (this.logger)
|
|
1304
1356
|
retrier.logger = this.logger;
|
|
1305
1357
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1341,10 +1393,11 @@ class DataScienceClient {
|
|
|
1341
1393
|
}
|
|
1342
1394
|
/**
|
|
1343
1395
|
* Deactivates the model deployment.
|
|
1396
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1344
1397
|
* @param DeactivateModelDeploymentRequest
|
|
1345
1398
|
* @return DeactivateModelDeploymentResponse
|
|
1346
1399
|
* @throws OciError when an error occurs
|
|
1347
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1400
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/DeactivateModelDeployment.ts.html |here} to see how to use DeactivateModelDeployment API.
|
|
1348
1401
|
*/
|
|
1349
1402
|
deactivateModelDeployment(deactivateModelDeploymentRequest) {
|
|
1350
1403
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1359,7 +1412,8 @@ class DataScienceClient {
|
|
|
1359
1412
|
"if-match": deactivateModelDeploymentRequest.ifMatch,
|
|
1360
1413
|
"opc-request-id": deactivateModelDeploymentRequest.opcRequestId
|
|
1361
1414
|
};
|
|
1362
|
-
const
|
|
1415
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1416
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deactivateModelDeploymentRequest.retryConfiguration, specRetryConfiguration);
|
|
1363
1417
|
if (this.logger)
|
|
1364
1418
|
retrier.logger = this.logger;
|
|
1365
1419
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1397,10 +1451,11 @@ class DataScienceClient {
|
|
|
1397
1451
|
}
|
|
1398
1452
|
/**
|
|
1399
1453
|
* Deactivates the notebook session.
|
|
1454
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1400
1455
|
* @param DeactivateNotebookSessionRequest
|
|
1401
1456
|
* @return DeactivateNotebookSessionResponse
|
|
1402
1457
|
* @throws OciError when an error occurs
|
|
1403
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1458
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/DeactivateNotebookSession.ts.html |here} to see how to use DeactivateNotebookSession API.
|
|
1404
1459
|
*/
|
|
1405
1460
|
deactivateNotebookSession(deactivateNotebookSessionRequest) {
|
|
1406
1461
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1415,7 +1470,8 @@ class DataScienceClient {
|
|
|
1415
1470
|
"if-match": deactivateNotebookSessionRequest.ifMatch,
|
|
1416
1471
|
"opc-request-id": deactivateNotebookSessionRequest.opcRequestId
|
|
1417
1472
|
};
|
|
1418
|
-
const
|
|
1473
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1474
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deactivateNotebookSessionRequest.retryConfiguration, specRetryConfiguration);
|
|
1419
1475
|
if (this.logger)
|
|
1420
1476
|
retrier.logger = this.logger;
|
|
1421
1477
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1453,10 +1509,11 @@ class DataScienceClient {
|
|
|
1453
1509
|
}
|
|
1454
1510
|
/**
|
|
1455
1511
|
* Deletes a job.
|
|
1512
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1456
1513
|
* @param DeleteJobRequest
|
|
1457
1514
|
* @return DeleteJobResponse
|
|
1458
1515
|
* @throws OciError when an error occurs
|
|
1459
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1516
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/DeleteJob.ts.html |here} to see how to use DeleteJob API.
|
|
1460
1517
|
*/
|
|
1461
1518
|
deleteJob(deleteJobRequest) {
|
|
1462
1519
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1473,7 +1530,8 @@ class DataScienceClient {
|
|
|
1473
1530
|
"if-match": deleteJobRequest.ifMatch,
|
|
1474
1531
|
"opc-request-id": deleteJobRequest.opcRequestId
|
|
1475
1532
|
};
|
|
1476
|
-
const
|
|
1533
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1534
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteJobRequest.retryConfiguration, specRetryConfiguration);
|
|
1477
1535
|
if (this.logger)
|
|
1478
1536
|
retrier.logger = this.logger;
|
|
1479
1537
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1511,10 +1569,11 @@ class DataScienceClient {
|
|
|
1511
1569
|
}
|
|
1512
1570
|
/**
|
|
1513
1571
|
* Deletes a job run.
|
|
1572
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1514
1573
|
* @param DeleteJobRunRequest
|
|
1515
1574
|
* @return DeleteJobRunResponse
|
|
1516
1575
|
* @throws OciError when an error occurs
|
|
1517
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1576
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/DeleteJobRun.ts.html |here} to see how to use DeleteJobRun API.
|
|
1518
1577
|
*/
|
|
1519
1578
|
deleteJobRun(deleteJobRunRequest) {
|
|
1520
1579
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1529,7 +1588,8 @@ class DataScienceClient {
|
|
|
1529
1588
|
"if-match": deleteJobRunRequest.ifMatch,
|
|
1530
1589
|
"opc-request-id": deleteJobRunRequest.opcRequestId
|
|
1531
1590
|
};
|
|
1532
|
-
const
|
|
1591
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1592
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteJobRunRequest.retryConfiguration, specRetryConfiguration);
|
|
1533
1593
|
if (this.logger)
|
|
1534
1594
|
retrier.logger = this.logger;
|
|
1535
1595
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1562,10 +1622,11 @@ class DataScienceClient {
|
|
|
1562
1622
|
}
|
|
1563
1623
|
/**
|
|
1564
1624
|
* Deletes the specified model.
|
|
1625
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1565
1626
|
* @param DeleteModelRequest
|
|
1566
1627
|
* @return DeleteModelResponse
|
|
1567
1628
|
* @throws OciError when an error occurs
|
|
1568
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1629
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/DeleteModel.ts.html |here} to see how to use DeleteModel API.
|
|
1569
1630
|
*/
|
|
1570
1631
|
deleteModel(deleteModelRequest) {
|
|
1571
1632
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1580,7 +1641,8 @@ class DataScienceClient {
|
|
|
1580
1641
|
"if-match": deleteModelRequest.ifMatch,
|
|
1581
1642
|
"opc-request-id": deleteModelRequest.opcRequestId
|
|
1582
1643
|
};
|
|
1583
|
-
const
|
|
1644
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1645
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteModelRequest.retryConfiguration, specRetryConfiguration);
|
|
1584
1646
|
if (this.logger)
|
|
1585
1647
|
retrier.logger = this.logger;
|
|
1586
1648
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1613,10 +1675,11 @@ class DataScienceClient {
|
|
|
1613
1675
|
}
|
|
1614
1676
|
/**
|
|
1615
1677
|
* Deletes the specified model deployment. Any unsaved work in this model deployment is lost.
|
|
1678
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1616
1679
|
* @param DeleteModelDeploymentRequest
|
|
1617
1680
|
* @return DeleteModelDeploymentResponse
|
|
1618
1681
|
* @throws OciError when an error occurs
|
|
1619
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1682
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/DeleteModelDeployment.ts.html |here} to see how to use DeleteModelDeployment API.
|
|
1620
1683
|
*/
|
|
1621
1684
|
deleteModelDeployment(deleteModelDeploymentRequest) {
|
|
1622
1685
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1631,7 +1694,8 @@ class DataScienceClient {
|
|
|
1631
1694
|
"if-match": deleteModelDeploymentRequest.ifMatch,
|
|
1632
1695
|
"opc-request-id": deleteModelDeploymentRequest.opcRequestId
|
|
1633
1696
|
};
|
|
1634
|
-
const
|
|
1697
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1698
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteModelDeploymentRequest.retryConfiguration, specRetryConfiguration);
|
|
1635
1699
|
if (this.logger)
|
|
1636
1700
|
retrier.logger = this.logger;
|
|
1637
1701
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1669,10 +1733,11 @@ class DataScienceClient {
|
|
|
1669
1733
|
}
|
|
1670
1734
|
/**
|
|
1671
1735
|
* Deletes the specified notebook session. Any unsaved work in this notebook session are lost.
|
|
1736
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1672
1737
|
* @param DeleteNotebookSessionRequest
|
|
1673
1738
|
* @return DeleteNotebookSessionResponse
|
|
1674
1739
|
* @throws OciError when an error occurs
|
|
1675
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1740
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/DeleteNotebookSession.ts.html |here} to see how to use DeleteNotebookSession API.
|
|
1676
1741
|
*/
|
|
1677
1742
|
deleteNotebookSession(deleteNotebookSessionRequest) {
|
|
1678
1743
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1687,7 +1752,8 @@ class DataScienceClient {
|
|
|
1687
1752
|
"if-match": deleteNotebookSessionRequest.ifMatch,
|
|
1688
1753
|
"opc-request-id": deleteNotebookSessionRequest.opcRequestId
|
|
1689
1754
|
};
|
|
1690
|
-
const
|
|
1755
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1756
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteNotebookSessionRequest.retryConfiguration, specRetryConfiguration);
|
|
1691
1757
|
if (this.logger)
|
|
1692
1758
|
retrier.logger = this.logger;
|
|
1693
1759
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1725,10 +1791,11 @@ class DataScienceClient {
|
|
|
1725
1791
|
}
|
|
1726
1792
|
/**
|
|
1727
1793
|
* 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.
|
|
1794
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1728
1795
|
* @param DeleteProjectRequest
|
|
1729
1796
|
* @return DeleteProjectResponse
|
|
1730
1797
|
* @throws OciError when an error occurs
|
|
1731
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1798
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/DeleteProject.ts.html |here} to see how to use DeleteProject API.
|
|
1732
1799
|
*/
|
|
1733
1800
|
deleteProject(deleteProjectRequest) {
|
|
1734
1801
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1743,7 +1810,8 @@ class DataScienceClient {
|
|
|
1743
1810
|
"if-match": deleteProjectRequest.ifMatch,
|
|
1744
1811
|
"opc-request-id": deleteProjectRequest.opcRequestId
|
|
1745
1812
|
};
|
|
1746
|
-
const
|
|
1813
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1814
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteProjectRequest.retryConfiguration, specRetryConfiguration);
|
|
1747
1815
|
if (this.logger)
|
|
1748
1816
|
retrier.logger = this.logger;
|
|
1749
1817
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1781,10 +1849,11 @@ class DataScienceClient {
|
|
|
1781
1849
|
}
|
|
1782
1850
|
/**
|
|
1783
1851
|
* Gets a job.
|
|
1852
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1784
1853
|
* @param GetJobRequest
|
|
1785
1854
|
* @return GetJobResponse
|
|
1786
1855
|
* @throws OciError when an error occurs
|
|
1787
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1856
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/GetJob.ts.html |here} to see how to use GetJob API.
|
|
1788
1857
|
*/
|
|
1789
1858
|
getJob(getJobRequest) {
|
|
1790
1859
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1798,7 +1867,8 @@ class DataScienceClient {
|
|
|
1798
1867
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1799
1868
|
"opc-request-id": getJobRequest.opcRequestId
|
|
1800
1869
|
};
|
|
1801
|
-
const
|
|
1870
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1871
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getJobRequest.retryConfiguration, specRetryConfiguration);
|
|
1802
1872
|
if (this.logger)
|
|
1803
1873
|
retrier.logger = this.logger;
|
|
1804
1874
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1840,10 +1910,11 @@ class DataScienceClient {
|
|
|
1840
1910
|
}
|
|
1841
1911
|
/**
|
|
1842
1912
|
* Downloads job artifact content for specified job.
|
|
1913
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1843
1914
|
* @param GetJobArtifactContentRequest
|
|
1844
1915
|
* @return GetJobArtifactContentResponse
|
|
1845
1916
|
* @throws OciError when an error occurs
|
|
1846
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1917
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/GetJobArtifactContent.ts.html |here} to see how to use GetJobArtifactContent API.
|
|
1847
1918
|
*/
|
|
1848
1919
|
getJobArtifactContent(getJobArtifactContentRequest) {
|
|
1849
1920
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1858,7 +1929,8 @@ class DataScienceClient {
|
|
|
1858
1929
|
"opc-request-id": getJobArtifactContentRequest.opcRequestId,
|
|
1859
1930
|
"range": getJobArtifactContentRequest.range
|
|
1860
1931
|
};
|
|
1861
|
-
const
|
|
1932
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1933
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getJobArtifactContentRequest.retryConfiguration, specRetryConfiguration);
|
|
1862
1934
|
if (this.logger)
|
|
1863
1935
|
retrier.logger = this.logger;
|
|
1864
1936
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1919,10 +1991,11 @@ class DataScienceClient {
|
|
|
1919
1991
|
}
|
|
1920
1992
|
/**
|
|
1921
1993
|
* Gets a job run.
|
|
1994
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1922
1995
|
* @param GetJobRunRequest
|
|
1923
1996
|
* @return GetJobRunResponse
|
|
1924
1997
|
* @throws OciError when an error occurs
|
|
1925
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1998
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/GetJobRun.ts.html |here} to see how to use GetJobRun API.
|
|
1926
1999
|
*/
|
|
1927
2000
|
getJobRun(getJobRunRequest) {
|
|
1928
2001
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1936,7 +2009,8 @@ class DataScienceClient {
|
|
|
1936
2009
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1937
2010
|
"opc-request-id": getJobRunRequest.opcRequestId
|
|
1938
2011
|
};
|
|
1939
|
-
const
|
|
2012
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2013
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getJobRunRequest.retryConfiguration, specRetryConfiguration);
|
|
1940
2014
|
if (this.logger)
|
|
1941
2015
|
retrier.logger = this.logger;
|
|
1942
2016
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1978,10 +2052,11 @@ class DataScienceClient {
|
|
|
1978
2052
|
}
|
|
1979
2053
|
/**
|
|
1980
2054
|
* Gets the specified model's information.
|
|
2055
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1981
2056
|
* @param GetModelRequest
|
|
1982
2057
|
* @return GetModelResponse
|
|
1983
2058
|
* @throws OciError when an error occurs
|
|
1984
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2059
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/GetModel.ts.html |here} to see how to use GetModel API.
|
|
1985
2060
|
*/
|
|
1986
2061
|
getModel(getModelRequest) {
|
|
1987
2062
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1995,7 +2070,8 @@ class DataScienceClient {
|
|
|
1995
2070
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1996
2071
|
"opc-request-id": getModelRequest.opcRequestId
|
|
1997
2072
|
};
|
|
1998
|
-
const
|
|
2073
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2074
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getModelRequest.retryConfiguration, specRetryConfiguration);
|
|
1999
2075
|
if (this.logger)
|
|
2000
2076
|
retrier.logger = this.logger;
|
|
2001
2077
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2037,10 +2113,11 @@ class DataScienceClient {
|
|
|
2037
2113
|
}
|
|
2038
2114
|
/**
|
|
2039
2115
|
* Downloads model artifact content for specified model.
|
|
2116
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2040
2117
|
* @param GetModelArtifactContentRequest
|
|
2041
2118
|
* @return GetModelArtifactContentResponse
|
|
2042
2119
|
* @throws OciError when an error occurs
|
|
2043
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2120
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/GetModelArtifactContent.ts.html |here} to see how to use GetModelArtifactContent API.
|
|
2044
2121
|
*/
|
|
2045
2122
|
getModelArtifactContent(getModelArtifactContentRequest) {
|
|
2046
2123
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2055,7 +2132,8 @@ class DataScienceClient {
|
|
|
2055
2132
|
"opc-request-id": getModelArtifactContentRequest.opcRequestId,
|
|
2056
2133
|
"range": getModelArtifactContentRequest.range
|
|
2057
2134
|
};
|
|
2058
|
-
const
|
|
2135
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2136
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getModelArtifactContentRequest.retryConfiguration, specRetryConfiguration);
|
|
2059
2137
|
if (this.logger)
|
|
2060
2138
|
retrier.logger = this.logger;
|
|
2061
2139
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2116,10 +2194,11 @@ class DataScienceClient {
|
|
|
2116
2194
|
}
|
|
2117
2195
|
/**
|
|
2118
2196
|
* Retrieves the model deployment for the specified `modelDeploymentId`.
|
|
2197
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2119
2198
|
* @param GetModelDeploymentRequest
|
|
2120
2199
|
* @return GetModelDeploymentResponse
|
|
2121
2200
|
* @throws OciError when an error occurs
|
|
2122
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2201
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/GetModelDeployment.ts.html |here} to see how to use GetModelDeployment API.
|
|
2123
2202
|
*/
|
|
2124
2203
|
getModelDeployment(getModelDeploymentRequest) {
|
|
2125
2204
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2133,7 +2212,8 @@ class DataScienceClient {
|
|
|
2133
2212
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2134
2213
|
"opc-request-id": getModelDeploymentRequest.opcRequestId
|
|
2135
2214
|
};
|
|
2136
|
-
const
|
|
2215
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2216
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getModelDeploymentRequest.retryConfiguration, specRetryConfiguration);
|
|
2137
2217
|
if (this.logger)
|
|
2138
2218
|
retrier.logger = this.logger;
|
|
2139
2219
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2175,10 +2255,11 @@ class DataScienceClient {
|
|
|
2175
2255
|
}
|
|
2176
2256
|
/**
|
|
2177
2257
|
* Gets provenance information for specified model.
|
|
2258
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2178
2259
|
* @param GetModelProvenanceRequest
|
|
2179
2260
|
* @return GetModelProvenanceResponse
|
|
2180
2261
|
* @throws OciError when an error occurs
|
|
2181
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2262
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/GetModelProvenance.ts.html |here} to see how to use GetModelProvenance API.
|
|
2182
2263
|
*/
|
|
2183
2264
|
getModelProvenance(getModelProvenanceRequest) {
|
|
2184
2265
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2192,7 +2273,8 @@ class DataScienceClient {
|
|
|
2192
2273
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2193
2274
|
"opc-request-id": getModelProvenanceRequest.opcRequestId
|
|
2194
2275
|
};
|
|
2195
|
-
const
|
|
2276
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2277
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getModelProvenanceRequest.retryConfiguration, specRetryConfiguration);
|
|
2196
2278
|
if (this.logger)
|
|
2197
2279
|
retrier.logger = this.logger;
|
|
2198
2280
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2234,10 +2316,11 @@ class DataScienceClient {
|
|
|
2234
2316
|
}
|
|
2235
2317
|
/**
|
|
2236
2318
|
* Gets the specified notebook session's information.
|
|
2319
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2237
2320
|
* @param GetNotebookSessionRequest
|
|
2238
2321
|
* @return GetNotebookSessionResponse
|
|
2239
2322
|
* @throws OciError when an error occurs
|
|
2240
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2323
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/GetNotebookSession.ts.html |here} to see how to use GetNotebookSession API.
|
|
2241
2324
|
*/
|
|
2242
2325
|
getNotebookSession(getNotebookSessionRequest) {
|
|
2243
2326
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2251,7 +2334,8 @@ class DataScienceClient {
|
|
|
2251
2334
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2252
2335
|
"opc-request-id": getNotebookSessionRequest.opcRequestId
|
|
2253
2336
|
};
|
|
2254
|
-
const
|
|
2337
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2338
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getNotebookSessionRequest.retryConfiguration, specRetryConfiguration);
|
|
2255
2339
|
if (this.logger)
|
|
2256
2340
|
retrier.logger = this.logger;
|
|
2257
2341
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2293,10 +2377,11 @@ class DataScienceClient {
|
|
|
2293
2377
|
}
|
|
2294
2378
|
/**
|
|
2295
2379
|
* Gets the specified project's information.
|
|
2380
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2296
2381
|
* @param GetProjectRequest
|
|
2297
2382
|
* @return GetProjectResponse
|
|
2298
2383
|
* @throws OciError when an error occurs
|
|
2299
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2384
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/GetProject.ts.html |here} to see how to use GetProject API.
|
|
2300
2385
|
*/
|
|
2301
2386
|
getProject(getProjectRequest) {
|
|
2302
2387
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2310,7 +2395,8 @@ class DataScienceClient {
|
|
|
2310
2395
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2311
2396
|
"opc-request-id": getProjectRequest.opcRequestId
|
|
2312
2397
|
};
|
|
2313
|
-
const
|
|
2398
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2399
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getProjectRequest.retryConfiguration, specRetryConfiguration);
|
|
2314
2400
|
if (this.logger)
|
|
2315
2401
|
retrier.logger = this.logger;
|
|
2316
2402
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2352,10 +2438,11 @@ class DataScienceClient {
|
|
|
2352
2438
|
}
|
|
2353
2439
|
/**
|
|
2354
2440
|
* Gets the specified work request's information.
|
|
2441
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2355
2442
|
* @param GetWorkRequestRequest
|
|
2356
2443
|
* @return GetWorkRequestResponse
|
|
2357
2444
|
* @throws OciError when an error occurs
|
|
2358
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2445
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
2359
2446
|
*/
|
|
2360
2447
|
getWorkRequest(getWorkRequestRequest) {
|
|
2361
2448
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2369,7 +2456,8 @@ class DataScienceClient {
|
|
|
2369
2456
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2370
2457
|
"opc-request-id": getWorkRequestRequest.opcRequestId
|
|
2371
2458
|
};
|
|
2372
|
-
const
|
|
2459
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2460
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
2373
2461
|
if (this.logger)
|
|
2374
2462
|
retrier.logger = this.logger;
|
|
2375
2463
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2416,10 +2504,11 @@ class DataScienceClient {
|
|
|
2416
2504
|
}
|
|
2417
2505
|
/**
|
|
2418
2506
|
* Gets job artifact metadata.
|
|
2507
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2419
2508
|
* @param HeadJobArtifactRequest
|
|
2420
2509
|
* @return HeadJobArtifactResponse
|
|
2421
2510
|
* @throws OciError when an error occurs
|
|
2422
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2511
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/HeadJobArtifact.ts.html |here} to see how to use HeadJobArtifact API.
|
|
2423
2512
|
*/
|
|
2424
2513
|
headJobArtifact(headJobArtifactRequest) {
|
|
2425
2514
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2433,7 +2522,8 @@ class DataScienceClient {
|
|
|
2433
2522
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2434
2523
|
"opc-request-id": headJobArtifactRequest.opcRequestId
|
|
2435
2524
|
};
|
|
2436
|
-
const
|
|
2525
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2526
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, headJobArtifactRequest.retryConfiguration, specRetryConfiguration);
|
|
2437
2527
|
if (this.logger)
|
|
2438
2528
|
retrier.logger = this.logger;
|
|
2439
2529
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2491,10 +2581,11 @@ class DataScienceClient {
|
|
|
2491
2581
|
}
|
|
2492
2582
|
/**
|
|
2493
2583
|
* Gets model artifact metadata for specified model.
|
|
2584
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2494
2585
|
* @param HeadModelArtifactRequest
|
|
2495
2586
|
* @return HeadModelArtifactResponse
|
|
2496
2587
|
* @throws OciError when an error occurs
|
|
2497
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2588
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/HeadModelArtifact.ts.html |here} to see how to use HeadModelArtifact API.
|
|
2498
2589
|
*/
|
|
2499
2590
|
headModelArtifact(headModelArtifactRequest) {
|
|
2500
2591
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2508,7 +2599,8 @@ class DataScienceClient {
|
|
|
2508
2599
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2509
2600
|
"opc-request-id": headModelArtifactRequest.opcRequestId
|
|
2510
2601
|
};
|
|
2511
|
-
const
|
|
2602
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2603
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, headModelArtifactRequest.retryConfiguration, specRetryConfiguration);
|
|
2512
2604
|
if (this.logger)
|
|
2513
2605
|
retrier.logger = this.logger;
|
|
2514
2606
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2566,10 +2658,11 @@ class DataScienceClient {
|
|
|
2566
2658
|
}
|
|
2567
2659
|
/**
|
|
2568
2660
|
* List out job runs.
|
|
2661
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2569
2662
|
* @param ListJobRunsRequest
|
|
2570
2663
|
* @return ListJobRunsResponse
|
|
2571
2664
|
* @throws OciError when an error occurs
|
|
2572
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2665
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/ListJobRuns.ts.html |here} to see how to use ListJobRuns API.
|
|
2573
2666
|
*/
|
|
2574
2667
|
listJobRuns(listJobRunsRequest) {
|
|
2575
2668
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2592,7 +2685,8 @@ class DataScienceClient {
|
|
|
2592
2685
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2593
2686
|
"opc-request-id": listJobRunsRequest.opcRequestId
|
|
2594
2687
|
};
|
|
2595
|
-
const
|
|
2688
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2689
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listJobRunsRequest.retryConfiguration, specRetryConfiguration);
|
|
2596
2690
|
if (this.logger)
|
|
2597
2691
|
retrier.logger = this.logger;
|
|
2598
2692
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2679,10 +2773,11 @@ class DataScienceClient {
|
|
|
2679
2773
|
}
|
|
2680
2774
|
/**
|
|
2681
2775
|
* List job shapes available in the specified compartment.
|
|
2776
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2682
2777
|
* @param ListJobShapesRequest
|
|
2683
2778
|
* @return ListJobShapesResponse
|
|
2684
2779
|
* @throws OciError when an error occurs
|
|
2685
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2780
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/ListJobShapes.ts.html |here} to see how to use ListJobShapes API.
|
|
2686
2781
|
*/
|
|
2687
2782
|
listJobShapes(listJobShapesRequest) {
|
|
2688
2783
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2698,7 +2793,8 @@ class DataScienceClient {
|
|
|
2698
2793
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2699
2794
|
"opc-request-id": listJobShapesRequest.opcRequestId
|
|
2700
2795
|
};
|
|
2701
|
-
const
|
|
2796
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2797
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listJobShapesRequest.retryConfiguration, specRetryConfiguration);
|
|
2702
2798
|
if (this.logger)
|
|
2703
2799
|
retrier.logger = this.logger;
|
|
2704
2800
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2785,10 +2881,11 @@ class DataScienceClient {
|
|
|
2785
2881
|
}
|
|
2786
2882
|
/**
|
|
2787
2883
|
* List jobs in the specified compartment.
|
|
2884
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2788
2885
|
* @param ListJobsRequest
|
|
2789
2886
|
* @return ListJobsResponse
|
|
2790
2887
|
* @throws OciError when an error occurs
|
|
2791
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2888
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/ListJobs.ts.html |here} to see how to use ListJobs API.
|
|
2792
2889
|
*/
|
|
2793
2890
|
listJobs(listJobsRequest) {
|
|
2794
2891
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2811,7 +2908,8 @@ class DataScienceClient {
|
|
|
2811
2908
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2812
2909
|
"opc-request-id": listJobsRequest.opcRequestId
|
|
2813
2910
|
};
|
|
2814
|
-
const
|
|
2911
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2912
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listJobsRequest.retryConfiguration, specRetryConfiguration);
|
|
2815
2913
|
if (this.logger)
|
|
2816
2914
|
retrier.logger = this.logger;
|
|
2817
2915
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2898,10 +2996,11 @@ class DataScienceClient {
|
|
|
2898
2996
|
}
|
|
2899
2997
|
/**
|
|
2900
2998
|
* Lists the valid model deployment shapes.
|
|
2999
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2901
3000
|
* @param ListModelDeploymentShapesRequest
|
|
2902
3001
|
* @return ListModelDeploymentShapesResponse
|
|
2903
3002
|
* @throws OciError when an error occurs
|
|
2904
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3003
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/ListModelDeploymentShapes.ts.html |here} to see how to use ListModelDeploymentShapes API.
|
|
2905
3004
|
*/
|
|
2906
3005
|
listModelDeploymentShapes(listModelDeploymentShapesRequest) {
|
|
2907
3006
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2917,7 +3016,8 @@ class DataScienceClient {
|
|
|
2917
3016
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2918
3017
|
"opc-request-id": listModelDeploymentShapesRequest.opcRequestId
|
|
2919
3018
|
};
|
|
2920
|
-
const
|
|
3019
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3020
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listModelDeploymentShapesRequest.retryConfiguration, specRetryConfiguration);
|
|
2921
3021
|
if (this.logger)
|
|
2922
3022
|
retrier.logger = this.logger;
|
|
2923
3023
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3005,10 +3105,11 @@ class DataScienceClient {
|
|
|
3005
3105
|
/**
|
|
3006
3106
|
* 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.
|
|
3007
3107
|
*
|
|
3108
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3008
3109
|
* @param ListModelDeploymentsRequest
|
|
3009
3110
|
* @return ListModelDeploymentsResponse
|
|
3010
3111
|
* @throws OciError when an error occurs
|
|
3011
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3112
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/ListModelDeployments.ts.html |here} to see how to use ListModelDeployments API.
|
|
3012
3113
|
*/
|
|
3013
3114
|
listModelDeployments(listModelDeploymentsRequest) {
|
|
3014
3115
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3031,7 +3132,8 @@ class DataScienceClient {
|
|
|
3031
3132
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3032
3133
|
"opc-request-id": listModelDeploymentsRequest.opcRequestId
|
|
3033
3134
|
};
|
|
3034
|
-
const
|
|
3135
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3136
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listModelDeploymentsRequest.retryConfiguration, specRetryConfiguration);
|
|
3035
3137
|
if (this.logger)
|
|
3036
3138
|
retrier.logger = this.logger;
|
|
3037
3139
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3118,10 +3220,11 @@ class DataScienceClient {
|
|
|
3118
3220
|
}
|
|
3119
3221
|
/**
|
|
3120
3222
|
* Lists models in the specified compartment.
|
|
3223
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3121
3224
|
* @param ListModelsRequest
|
|
3122
3225
|
* @return ListModelsResponse
|
|
3123
3226
|
* @throws OciError when an error occurs
|
|
3124
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3227
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/ListModels.ts.html |here} to see how to use ListModels API.
|
|
3125
3228
|
*/
|
|
3126
3229
|
listModels(listModelsRequest) {
|
|
3127
3230
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3144,7 +3247,8 @@ class DataScienceClient {
|
|
|
3144
3247
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3145
3248
|
"opc-request-id": listModelsRequest.opcRequestId
|
|
3146
3249
|
};
|
|
3147
|
-
const
|
|
3250
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3251
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listModelsRequest.retryConfiguration, specRetryConfiguration);
|
|
3148
3252
|
if (this.logger)
|
|
3149
3253
|
retrier.logger = this.logger;
|
|
3150
3254
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3231,10 +3335,11 @@ class DataScienceClient {
|
|
|
3231
3335
|
}
|
|
3232
3336
|
/**
|
|
3233
3337
|
* Lists the valid notebook session shapes.
|
|
3338
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3234
3339
|
* @param ListNotebookSessionShapesRequest
|
|
3235
3340
|
* @return ListNotebookSessionShapesResponse
|
|
3236
3341
|
* @throws OciError when an error occurs
|
|
3237
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3342
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/ListNotebookSessionShapes.ts.html |here} to see how to use ListNotebookSessionShapes API.
|
|
3238
3343
|
*/
|
|
3239
3344
|
listNotebookSessionShapes(listNotebookSessionShapesRequest) {
|
|
3240
3345
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3250,7 +3355,8 @@ class DataScienceClient {
|
|
|
3250
3355
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3251
3356
|
"opc-request-id": listNotebookSessionShapesRequest.opcRequestId
|
|
3252
3357
|
};
|
|
3253
|
-
const
|
|
3358
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3359
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listNotebookSessionShapesRequest.retryConfiguration, specRetryConfiguration);
|
|
3254
3360
|
if (this.logger)
|
|
3255
3361
|
retrier.logger = this.logger;
|
|
3256
3362
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3337,10 +3443,11 @@ class DataScienceClient {
|
|
|
3337
3443
|
}
|
|
3338
3444
|
/**
|
|
3339
3445
|
* Lists the notebook sessions in the specified compartment.
|
|
3446
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3340
3447
|
* @param ListNotebookSessionsRequest
|
|
3341
3448
|
* @return ListNotebookSessionsResponse
|
|
3342
3449
|
* @throws OciError when an error occurs
|
|
3343
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3450
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/ListNotebookSessions.ts.html |here} to see how to use ListNotebookSessions API.
|
|
3344
3451
|
*/
|
|
3345
3452
|
listNotebookSessions(listNotebookSessionsRequest) {
|
|
3346
3453
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3363,7 +3470,8 @@ class DataScienceClient {
|
|
|
3363
3470
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3364
3471
|
"opc-request-id": listNotebookSessionsRequest.opcRequestId
|
|
3365
3472
|
};
|
|
3366
|
-
const
|
|
3473
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3474
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listNotebookSessionsRequest.retryConfiguration, specRetryConfiguration);
|
|
3367
3475
|
if (this.logger)
|
|
3368
3476
|
retrier.logger = this.logger;
|
|
3369
3477
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3450,10 +3558,11 @@ class DataScienceClient {
|
|
|
3450
3558
|
}
|
|
3451
3559
|
/**
|
|
3452
3560
|
* Lists projects in the specified compartment.
|
|
3561
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3453
3562
|
* @param ListProjectsRequest
|
|
3454
3563
|
* @return ListProjectsResponse
|
|
3455
3564
|
* @throws OciError when an error occurs
|
|
3456
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3565
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/ListProjects.ts.html |here} to see how to use ListProjects API.
|
|
3457
3566
|
*/
|
|
3458
3567
|
listProjects(listProjectsRequest) {
|
|
3459
3568
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3475,7 +3584,8 @@ class DataScienceClient {
|
|
|
3475
3584
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3476
3585
|
"opc-request-id": listProjectsRequest.opcRequestId
|
|
3477
3586
|
};
|
|
3478
|
-
const
|
|
3587
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3588
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listProjectsRequest.retryConfiguration, specRetryConfiguration);
|
|
3479
3589
|
if (this.logger)
|
|
3480
3590
|
retrier.logger = this.logger;
|
|
3481
3591
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3562,10 +3672,11 @@ class DataScienceClient {
|
|
|
3562
3672
|
}
|
|
3563
3673
|
/**
|
|
3564
3674
|
* Lists work request errors for the specified work request.
|
|
3675
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3565
3676
|
* @param ListWorkRequestErrorsRequest
|
|
3566
3677
|
* @return ListWorkRequestErrorsResponse
|
|
3567
3678
|
* @throws OciError when an error occurs
|
|
3568
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3679
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
3569
3680
|
*/
|
|
3570
3681
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
3571
3682
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3579,7 +3690,8 @@ class DataScienceClient {
|
|
|
3579
3690
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3580
3691
|
"opc-request-id": listWorkRequestErrorsRequest.opcRequestId
|
|
3581
3692
|
};
|
|
3582
|
-
const
|
|
3693
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3694
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
3583
3695
|
if (this.logger)
|
|
3584
3696
|
retrier.logger = this.logger;
|
|
3585
3697
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3616,10 +3728,11 @@ class DataScienceClient {
|
|
|
3616
3728
|
}
|
|
3617
3729
|
/**
|
|
3618
3730
|
* Lists work request logs for the specified work request.
|
|
3731
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3619
3732
|
* @param ListWorkRequestLogsRequest
|
|
3620
3733
|
* @return ListWorkRequestLogsResponse
|
|
3621
3734
|
* @throws OciError when an error occurs
|
|
3622
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3735
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
3623
3736
|
*/
|
|
3624
3737
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
3625
3738
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3633,7 +3746,8 @@ class DataScienceClient {
|
|
|
3633
3746
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3634
3747
|
"opc-request-id": listWorkRequestLogsRequest.opcRequestId
|
|
3635
3748
|
};
|
|
3636
|
-
const
|
|
3749
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3750
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
3637
3751
|
if (this.logger)
|
|
3638
3752
|
retrier.logger = this.logger;
|
|
3639
3753
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3670,10 +3784,11 @@ class DataScienceClient {
|
|
|
3670
3784
|
}
|
|
3671
3785
|
/**
|
|
3672
3786
|
* Lists work requests in the specified compartment.
|
|
3787
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3673
3788
|
* @param ListWorkRequestsRequest
|
|
3674
3789
|
* @return ListWorkRequestsResponse
|
|
3675
3790
|
* @throws OciError when an error occurs
|
|
3676
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3791
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
3677
3792
|
*/
|
|
3678
3793
|
listWorkRequests(listWorkRequestsRequest) {
|
|
3679
3794
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3694,7 +3809,8 @@ class DataScienceClient {
|
|
|
3694
3809
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3695
3810
|
"opc-request-id": listWorkRequestsRequest.opcRequestId
|
|
3696
3811
|
};
|
|
3697
|
-
const
|
|
3812
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3813
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
3698
3814
|
if (this.logger)
|
|
3699
3815
|
retrier.logger = this.logger;
|
|
3700
3816
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3781,10 +3897,11 @@ class DataScienceClient {
|
|
|
3781
3897
|
}
|
|
3782
3898
|
/**
|
|
3783
3899
|
* Updates a job.
|
|
3900
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3784
3901
|
* @param UpdateJobRequest
|
|
3785
3902
|
* @return UpdateJobResponse
|
|
3786
3903
|
* @throws OciError when an error occurs
|
|
3787
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3904
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/UpdateJob.ts.html |here} to see how to use UpdateJob API.
|
|
3788
3905
|
*/
|
|
3789
3906
|
updateJob(updateJobRequest) {
|
|
3790
3907
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3799,7 +3916,8 @@ class DataScienceClient {
|
|
|
3799
3916
|
"opc-request-id": updateJobRequest.opcRequestId,
|
|
3800
3917
|
"if-match": updateJobRequest.ifMatch
|
|
3801
3918
|
};
|
|
3802
|
-
const
|
|
3919
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3920
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateJobRequest.retryConfiguration, specRetryConfiguration);
|
|
3803
3921
|
if (this.logger)
|
|
3804
3922
|
retrier.logger = this.logger;
|
|
3805
3923
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3842,10 +3960,11 @@ class DataScienceClient {
|
|
|
3842
3960
|
}
|
|
3843
3961
|
/**
|
|
3844
3962
|
* Updates a job run.
|
|
3963
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3845
3964
|
* @param UpdateJobRunRequest
|
|
3846
3965
|
* @return UpdateJobRunResponse
|
|
3847
3966
|
* @throws OciError when an error occurs
|
|
3848
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3967
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/UpdateJobRun.ts.html |here} to see how to use UpdateJobRun API.
|
|
3849
3968
|
*/
|
|
3850
3969
|
updateJobRun(updateJobRunRequest) {
|
|
3851
3970
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3860,7 +3979,8 @@ class DataScienceClient {
|
|
|
3860
3979
|
"opc-request-id": updateJobRunRequest.opcRequestId,
|
|
3861
3980
|
"if-match": updateJobRunRequest.ifMatch
|
|
3862
3981
|
};
|
|
3863
|
-
const
|
|
3982
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3983
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateJobRunRequest.retryConfiguration, specRetryConfiguration);
|
|
3864
3984
|
if (this.logger)
|
|
3865
3985
|
retrier.logger = this.logger;
|
|
3866
3986
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3903,10 +4023,11 @@ class DataScienceClient {
|
|
|
3903
4023
|
}
|
|
3904
4024
|
/**
|
|
3905
4025
|
* Updates the properties of a model. You can update the `displayName`, `description`, `freeformTags`, and `definedTags` properties.
|
|
4026
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3906
4027
|
* @param UpdateModelRequest
|
|
3907
4028
|
* @return UpdateModelResponse
|
|
3908
4029
|
* @throws OciError when an error occurs
|
|
3909
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4030
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/UpdateModel.ts.html |here} to see how to use UpdateModel API.
|
|
3910
4031
|
*/
|
|
3911
4032
|
updateModel(updateModelRequest) {
|
|
3912
4033
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3921,7 +4042,8 @@ class DataScienceClient {
|
|
|
3921
4042
|
"if-match": updateModelRequest.ifMatch,
|
|
3922
4043
|
"opc-request-id": updateModelRequest.opcRequestId
|
|
3923
4044
|
};
|
|
3924
|
-
const
|
|
4045
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4046
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateModelRequest.retryConfiguration, specRetryConfiguration);
|
|
3925
4047
|
if (this.logger)
|
|
3926
4048
|
retrier.logger = this.logger;
|
|
3927
4049
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3968,10 +4090,11 @@ class DataScienceClient {
|
|
|
3968
4090
|
* can also be updated independently. All of the fields can be updated when the deployment is in the INACTIVE lifecycle state. Changes will take effect the next time the model
|
|
3969
4091
|
* deployment is activated.
|
|
3970
4092
|
*
|
|
4093
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3971
4094
|
* @param UpdateModelDeploymentRequest
|
|
3972
4095
|
* @return UpdateModelDeploymentResponse
|
|
3973
4096
|
* @throws OciError when an error occurs
|
|
3974
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4097
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/UpdateModelDeployment.ts.html |here} to see how to use UpdateModelDeployment API.
|
|
3975
4098
|
*/
|
|
3976
4099
|
updateModelDeployment(updateModelDeploymentRequest) {
|
|
3977
4100
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3986,7 +4109,8 @@ class DataScienceClient {
|
|
|
3986
4109
|
"if-match": updateModelDeploymentRequest.ifMatch,
|
|
3987
4110
|
"opc-request-id": updateModelDeploymentRequest.opcRequestId
|
|
3988
4111
|
};
|
|
3989
|
-
const
|
|
4112
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4113
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateModelDeploymentRequest.retryConfiguration, specRetryConfiguration);
|
|
3990
4114
|
if (this.logger)
|
|
3991
4115
|
retrier.logger = this.logger;
|
|
3992
4116
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4025,10 +4149,11 @@ class DataScienceClient {
|
|
|
4025
4149
|
}
|
|
4026
4150
|
/**
|
|
4027
4151
|
* Updates the provenance information for the specified model.
|
|
4152
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4028
4153
|
* @param UpdateModelProvenanceRequest
|
|
4029
4154
|
* @return UpdateModelProvenanceResponse
|
|
4030
4155
|
* @throws OciError when an error occurs
|
|
4031
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4156
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/UpdateModelProvenance.ts.html |here} to see how to use UpdateModelProvenance API.
|
|
4032
4157
|
*/
|
|
4033
4158
|
updateModelProvenance(updateModelProvenanceRequest) {
|
|
4034
4159
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4043,7 +4168,8 @@ class DataScienceClient {
|
|
|
4043
4168
|
"opc-request-id": updateModelProvenanceRequest.opcRequestId,
|
|
4044
4169
|
"if-match": updateModelProvenanceRequest.ifMatch
|
|
4045
4170
|
};
|
|
4046
|
-
const
|
|
4171
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4172
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateModelProvenanceRequest.retryConfiguration, specRetryConfiguration);
|
|
4047
4173
|
if (this.logger)
|
|
4048
4174
|
retrier.logger = this.logger;
|
|
4049
4175
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4089,10 +4215,11 @@ class DataScienceClient {
|
|
|
4089
4215
|
* When the notebook session is in the INACTIVE lifecycle state, you can update `notebookSessionConfigurationDetails` and change `shape`, `subnetId`, and `blockStorageSizeInGBs`.
|
|
4090
4216
|
* Changes to the `notebookSessionConfigurationDetails` take effect the next time the `ActivateNotebookSession` action is invoked on the notebook session resource.
|
|
4091
4217
|
*
|
|
4218
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4092
4219
|
* @param UpdateNotebookSessionRequest
|
|
4093
4220
|
* @return UpdateNotebookSessionResponse
|
|
4094
4221
|
* @throws OciError when an error occurs
|
|
4095
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4222
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/UpdateNotebookSession.ts.html |here} to see how to use UpdateNotebookSession API.
|
|
4096
4223
|
*/
|
|
4097
4224
|
updateNotebookSession(updateNotebookSessionRequest) {
|
|
4098
4225
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4107,7 +4234,8 @@ class DataScienceClient {
|
|
|
4107
4234
|
"if-match": updateNotebookSessionRequest.ifMatch,
|
|
4108
4235
|
"opc-request-id": updateNotebookSessionRequest.opcRequestId
|
|
4109
4236
|
};
|
|
4110
|
-
const
|
|
4237
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4238
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateNotebookSessionRequest.retryConfiguration, specRetryConfiguration);
|
|
4111
4239
|
if (this.logger)
|
|
4112
4240
|
retrier.logger = this.logger;
|
|
4113
4241
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4150,10 +4278,11 @@ class DataScienceClient {
|
|
|
4150
4278
|
}
|
|
4151
4279
|
/**
|
|
4152
4280
|
* Updates the properties of a project. You can update the `displayName`, `description`, `freeformTags`, and `definedTags` properties.
|
|
4281
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4153
4282
|
* @param UpdateProjectRequest
|
|
4154
4283
|
* @return UpdateProjectResponse
|
|
4155
4284
|
* @throws OciError when an error occurs
|
|
4156
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4285
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/datascience/UpdateProject.ts.html |here} to see how to use UpdateProject API.
|
|
4157
4286
|
*/
|
|
4158
4287
|
updateProject(updateProjectRequest) {
|
|
4159
4288
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4168,7 +4297,8 @@ class DataScienceClient {
|
|
|
4168
4297
|
"if-match": updateProjectRequest.ifMatch,
|
|
4169
4298
|
"opc-request-id": updateProjectRequest.opcRequestId
|
|
4170
4299
|
};
|
|
4171
|
-
const
|
|
4300
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4301
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateProjectRequest.retryConfiguration, specRetryConfiguration);
|
|
4172
4302
|
if (this.logger)
|
|
4173
4303
|
retrier.logger = this.logger;
|
|
4174
4304
|
const request = yield oci_common_2.composeRequest({
|