oci-datascience 2.4.0 → 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/LICENSE.txt +6 -0
- package/lib/client.d.ts +293 -60
- package/lib/client.js +460 -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({
|
|
@@ -2638,6 +2732,7 @@ class DataScienceClient {
|
|
|
2638
2732
|
});
|
|
2639
2733
|
}
|
|
2640
2734
|
/**
|
|
2735
|
+
* NOTE: This function is deprecated in favor of listJobRunsRecordIterator function.
|
|
2641
2736
|
* Creates a new async iterator which will iterate over the models.JobRunSummary objects
|
|
2642
2737
|
* contained in responses from the listJobRuns operation. This iterator will fetch more data from the
|
|
2643
2738
|
* server as needed.
|
|
@@ -2648,6 +2743,7 @@ class DataScienceClient {
|
|
|
2648
2743
|
return oci_common_1.paginateRecords(request, req => this.listJobRuns(req));
|
|
2649
2744
|
}
|
|
2650
2745
|
/**
|
|
2746
|
+
* NOTE: This function is deprecated in favor of listJobRunsResponseIterator function.
|
|
2651
2747
|
* Creates a new async iterator which will iterate over the responses received from the listJobRuns operation. This iterator
|
|
2652
2748
|
* will fetch more data from the server as needed.
|
|
2653
2749
|
*
|
|
@@ -2656,12 +2752,32 @@ class DataScienceClient {
|
|
|
2656
2752
|
listAllJobRunsResponses(request) {
|
|
2657
2753
|
return oci_common_1.paginateResponses(request, req => this.listJobRuns(req));
|
|
2658
2754
|
}
|
|
2755
|
+
/**
|
|
2756
|
+
* Creates a new async iterator which will iterate over the models.JobRunSummary objects
|
|
2757
|
+
* contained in responses from the listJobRuns operation. This iterator will fetch more data from the
|
|
2758
|
+
* server as needed.
|
|
2759
|
+
*
|
|
2760
|
+
* @param request a request which can be sent to the service operation
|
|
2761
|
+
*/
|
|
2762
|
+
listJobRunsRecordIterator(request) {
|
|
2763
|
+
return oci_common_1.paginateRecords(request, req => this.listJobRuns(req));
|
|
2764
|
+
}
|
|
2765
|
+
/**
|
|
2766
|
+
* Creates a new async iterator which will iterate over the responses received from the listJobRuns operation. This iterator
|
|
2767
|
+
* will fetch more data from the server as needed.
|
|
2768
|
+
*
|
|
2769
|
+
* @param request a request which can be sent to the service operation
|
|
2770
|
+
*/
|
|
2771
|
+
listJobRunsResponseIterator(request) {
|
|
2772
|
+
return oci_common_1.paginateResponses(request, req => this.listJobRuns(req));
|
|
2773
|
+
}
|
|
2659
2774
|
/**
|
|
2660
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.
|
|
2661
2777
|
* @param ListJobShapesRequest
|
|
2662
2778
|
* @return ListJobShapesResponse
|
|
2663
2779
|
* @throws OciError when an error occurs
|
|
2664
|
-
* @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.
|
|
2665
2781
|
*/
|
|
2666
2782
|
listJobShapes(listJobShapesRequest) {
|
|
2667
2783
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2677,7 +2793,8 @@ class DataScienceClient {
|
|
|
2677
2793
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2678
2794
|
"opc-request-id": listJobShapesRequest.opcRequestId
|
|
2679
2795
|
};
|
|
2680
|
-
const
|
|
2796
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2797
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listJobShapesRequest.retryConfiguration, specRetryConfiguration);
|
|
2681
2798
|
if (this.logger)
|
|
2682
2799
|
retrier.logger = this.logger;
|
|
2683
2800
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2723,6 +2840,7 @@ class DataScienceClient {
|
|
|
2723
2840
|
});
|
|
2724
2841
|
}
|
|
2725
2842
|
/**
|
|
2843
|
+
* NOTE: This function is deprecated in favor of listJobShapesRecordIterator function.
|
|
2726
2844
|
* Creates a new async iterator which will iterate over the models.JobShapeSummary objects
|
|
2727
2845
|
* contained in responses from the listJobShapes operation. This iterator will fetch more data from the
|
|
2728
2846
|
* server as needed.
|
|
@@ -2733,6 +2851,7 @@ class DataScienceClient {
|
|
|
2733
2851
|
return oci_common_1.paginateRecords(request, req => this.listJobShapes(req));
|
|
2734
2852
|
}
|
|
2735
2853
|
/**
|
|
2854
|
+
* NOTE: This function is deprecated in favor of listJobShapesResponseIterator function.
|
|
2736
2855
|
* Creates a new async iterator which will iterate over the responses received from the listJobShapes operation. This iterator
|
|
2737
2856
|
* will fetch more data from the server as needed.
|
|
2738
2857
|
*
|
|
@@ -2741,12 +2860,32 @@ class DataScienceClient {
|
|
|
2741
2860
|
listAllJobShapesResponses(request) {
|
|
2742
2861
|
return oci_common_1.paginateResponses(request, req => this.listJobShapes(req));
|
|
2743
2862
|
}
|
|
2863
|
+
/**
|
|
2864
|
+
* Creates a new async iterator which will iterate over the models.JobShapeSummary objects
|
|
2865
|
+
* contained in responses from the listJobShapes operation. This iterator will fetch more data from the
|
|
2866
|
+
* server as needed.
|
|
2867
|
+
*
|
|
2868
|
+
* @param request a request which can be sent to the service operation
|
|
2869
|
+
*/
|
|
2870
|
+
listJobShapesRecordIterator(request) {
|
|
2871
|
+
return oci_common_1.paginateRecords(request, req => this.listJobShapes(req));
|
|
2872
|
+
}
|
|
2873
|
+
/**
|
|
2874
|
+
* Creates a new async iterator which will iterate over the responses received from the listJobShapes operation. This iterator
|
|
2875
|
+
* will fetch more data from the server as needed.
|
|
2876
|
+
*
|
|
2877
|
+
* @param request a request which can be sent to the service operation
|
|
2878
|
+
*/
|
|
2879
|
+
listJobShapesResponseIterator(request) {
|
|
2880
|
+
return oci_common_1.paginateResponses(request, req => this.listJobShapes(req));
|
|
2881
|
+
}
|
|
2744
2882
|
/**
|
|
2745
2883
|
* List jobs in the specified compartment.
|
|
2884
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2746
2885
|
* @param ListJobsRequest
|
|
2747
2886
|
* @return ListJobsResponse
|
|
2748
2887
|
* @throws OciError when an error occurs
|
|
2749
|
-
* @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.
|
|
2750
2889
|
*/
|
|
2751
2890
|
listJobs(listJobsRequest) {
|
|
2752
2891
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2769,7 +2908,8 @@ class DataScienceClient {
|
|
|
2769
2908
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2770
2909
|
"opc-request-id": listJobsRequest.opcRequestId
|
|
2771
2910
|
};
|
|
2772
|
-
const
|
|
2911
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2912
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listJobsRequest.retryConfiguration, specRetryConfiguration);
|
|
2773
2913
|
if (this.logger)
|
|
2774
2914
|
retrier.logger = this.logger;
|
|
2775
2915
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2815,6 +2955,7 @@ class DataScienceClient {
|
|
|
2815
2955
|
});
|
|
2816
2956
|
}
|
|
2817
2957
|
/**
|
|
2958
|
+
* NOTE: This function is deprecated in favor of listJobsRecordIterator function.
|
|
2818
2959
|
* Creates a new async iterator which will iterate over the models.JobSummary objects
|
|
2819
2960
|
* contained in responses from the listJobs operation. This iterator will fetch more data from the
|
|
2820
2961
|
* server as needed.
|
|
@@ -2825,6 +2966,7 @@ class DataScienceClient {
|
|
|
2825
2966
|
return oci_common_1.paginateRecords(request, req => this.listJobs(req));
|
|
2826
2967
|
}
|
|
2827
2968
|
/**
|
|
2969
|
+
* NOTE: This function is deprecated in favor of listJobsResponseIterator function.
|
|
2828
2970
|
* Creates a new async iterator which will iterate over the responses received from the listJobs operation. This iterator
|
|
2829
2971
|
* will fetch more data from the server as needed.
|
|
2830
2972
|
*
|
|
@@ -2833,12 +2975,32 @@ class DataScienceClient {
|
|
|
2833
2975
|
listAllJobsResponses(request) {
|
|
2834
2976
|
return oci_common_1.paginateResponses(request, req => this.listJobs(req));
|
|
2835
2977
|
}
|
|
2978
|
+
/**
|
|
2979
|
+
* Creates a new async iterator which will iterate over the models.JobSummary objects
|
|
2980
|
+
* contained in responses from the listJobs operation. This iterator will fetch more data from the
|
|
2981
|
+
* server as needed.
|
|
2982
|
+
*
|
|
2983
|
+
* @param request a request which can be sent to the service operation
|
|
2984
|
+
*/
|
|
2985
|
+
listJobsRecordIterator(request) {
|
|
2986
|
+
return oci_common_1.paginateRecords(request, req => this.listJobs(req));
|
|
2987
|
+
}
|
|
2988
|
+
/**
|
|
2989
|
+
* Creates a new async iterator which will iterate over the responses received from the listJobs operation. This iterator
|
|
2990
|
+
* will fetch more data from the server as needed.
|
|
2991
|
+
*
|
|
2992
|
+
* @param request a request which can be sent to the service operation
|
|
2993
|
+
*/
|
|
2994
|
+
listJobsResponseIterator(request) {
|
|
2995
|
+
return oci_common_1.paginateResponses(request, req => this.listJobs(req));
|
|
2996
|
+
}
|
|
2836
2997
|
/**
|
|
2837
2998
|
* Lists the valid model deployment shapes.
|
|
2999
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2838
3000
|
* @param ListModelDeploymentShapesRequest
|
|
2839
3001
|
* @return ListModelDeploymentShapesResponse
|
|
2840
3002
|
* @throws OciError when an error occurs
|
|
2841
|
-
* @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.
|
|
2842
3004
|
*/
|
|
2843
3005
|
listModelDeploymentShapes(listModelDeploymentShapesRequest) {
|
|
2844
3006
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2854,7 +3016,8 @@ class DataScienceClient {
|
|
|
2854
3016
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2855
3017
|
"opc-request-id": listModelDeploymentShapesRequest.opcRequestId
|
|
2856
3018
|
};
|
|
2857
|
-
const
|
|
3019
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3020
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listModelDeploymentShapesRequest.retryConfiguration, specRetryConfiguration);
|
|
2858
3021
|
if (this.logger)
|
|
2859
3022
|
retrier.logger = this.logger;
|
|
2860
3023
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2900,6 +3063,7 @@ class DataScienceClient {
|
|
|
2900
3063
|
});
|
|
2901
3064
|
}
|
|
2902
3065
|
/**
|
|
3066
|
+
* NOTE: This function is deprecated in favor of listModelDeploymentShapesRecordIterator function.
|
|
2903
3067
|
* Creates a new async iterator which will iterate over the models.ModelDeploymentShapeSummary objects
|
|
2904
3068
|
* contained in responses from the listModelDeploymentShapes operation. This iterator will fetch more data from the
|
|
2905
3069
|
* server as needed.
|
|
@@ -2910,6 +3074,7 @@ class DataScienceClient {
|
|
|
2910
3074
|
return oci_common_1.paginateRecords(request, req => this.listModelDeploymentShapes(req));
|
|
2911
3075
|
}
|
|
2912
3076
|
/**
|
|
3077
|
+
* NOTE: This function is deprecated in favor of listModelDeploymentShapesResponseIterator function.
|
|
2913
3078
|
* Creates a new async iterator which will iterate over the responses received from the listModelDeploymentShapes operation. This iterator
|
|
2914
3079
|
* will fetch more data from the server as needed.
|
|
2915
3080
|
*
|
|
@@ -2918,13 +3083,33 @@ class DataScienceClient {
|
|
|
2918
3083
|
listAllModelDeploymentShapesResponses(request) {
|
|
2919
3084
|
return oci_common_1.paginateResponses(request, req => this.listModelDeploymentShapes(req));
|
|
2920
3085
|
}
|
|
3086
|
+
/**
|
|
3087
|
+
* Creates a new async iterator which will iterate over the models.ModelDeploymentShapeSummary objects
|
|
3088
|
+
* contained in responses from the listModelDeploymentShapes operation. This iterator will fetch more data from the
|
|
3089
|
+
* server as needed.
|
|
3090
|
+
*
|
|
3091
|
+
* @param request a request which can be sent to the service operation
|
|
3092
|
+
*/
|
|
3093
|
+
listModelDeploymentShapesRecordIterator(request) {
|
|
3094
|
+
return oci_common_1.paginateRecords(request, req => this.listModelDeploymentShapes(req));
|
|
3095
|
+
}
|
|
3096
|
+
/**
|
|
3097
|
+
* Creates a new async iterator which will iterate over the responses received from the listModelDeploymentShapes operation. This iterator
|
|
3098
|
+
* will fetch more data from the server as needed.
|
|
3099
|
+
*
|
|
3100
|
+
* @param request a request which can be sent to the service operation
|
|
3101
|
+
*/
|
|
3102
|
+
listModelDeploymentShapesResponseIterator(request) {
|
|
3103
|
+
return oci_common_1.paginateResponses(request, req => this.listModelDeploymentShapes(req));
|
|
3104
|
+
}
|
|
2921
3105
|
/**
|
|
2922
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.
|
|
2923
3107
|
*
|
|
3108
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2924
3109
|
* @param ListModelDeploymentsRequest
|
|
2925
3110
|
* @return ListModelDeploymentsResponse
|
|
2926
3111
|
* @throws OciError when an error occurs
|
|
2927
|
-
* @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.
|
|
2928
3113
|
*/
|
|
2929
3114
|
listModelDeployments(listModelDeploymentsRequest) {
|
|
2930
3115
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2947,7 +3132,8 @@ class DataScienceClient {
|
|
|
2947
3132
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2948
3133
|
"opc-request-id": listModelDeploymentsRequest.opcRequestId
|
|
2949
3134
|
};
|
|
2950
|
-
const
|
|
3135
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3136
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listModelDeploymentsRequest.retryConfiguration, specRetryConfiguration);
|
|
2951
3137
|
if (this.logger)
|
|
2952
3138
|
retrier.logger = this.logger;
|
|
2953
3139
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2993,6 +3179,7 @@ class DataScienceClient {
|
|
|
2993
3179
|
});
|
|
2994
3180
|
}
|
|
2995
3181
|
/**
|
|
3182
|
+
* NOTE: This function is deprecated in favor of listModelDeploymentsRecordIterator function.
|
|
2996
3183
|
* Creates a new async iterator which will iterate over the models.ModelDeploymentSummary objects
|
|
2997
3184
|
* contained in responses from the listModelDeployments operation. This iterator will fetch more data from the
|
|
2998
3185
|
* server as needed.
|
|
@@ -3003,6 +3190,7 @@ class DataScienceClient {
|
|
|
3003
3190
|
return oci_common_1.paginateRecords(request, req => this.listModelDeployments(req));
|
|
3004
3191
|
}
|
|
3005
3192
|
/**
|
|
3193
|
+
* NOTE: This function is deprecated in favor of listModelDeploymentsResponseIterator function.
|
|
3006
3194
|
* Creates a new async iterator which will iterate over the responses received from the listModelDeployments operation. This iterator
|
|
3007
3195
|
* will fetch more data from the server as needed.
|
|
3008
3196
|
*
|
|
@@ -3011,12 +3199,32 @@ class DataScienceClient {
|
|
|
3011
3199
|
listAllModelDeploymentsResponses(request) {
|
|
3012
3200
|
return oci_common_1.paginateResponses(request, req => this.listModelDeployments(req));
|
|
3013
3201
|
}
|
|
3202
|
+
/**
|
|
3203
|
+
* Creates a new async iterator which will iterate over the models.ModelDeploymentSummary objects
|
|
3204
|
+
* contained in responses from the listModelDeployments operation. This iterator will fetch more data from the
|
|
3205
|
+
* server as needed.
|
|
3206
|
+
*
|
|
3207
|
+
* @param request a request which can be sent to the service operation
|
|
3208
|
+
*/
|
|
3209
|
+
listModelDeploymentsRecordIterator(request) {
|
|
3210
|
+
return oci_common_1.paginateRecords(request, req => this.listModelDeployments(req));
|
|
3211
|
+
}
|
|
3212
|
+
/**
|
|
3213
|
+
* Creates a new async iterator which will iterate over the responses received from the listModelDeployments operation. This iterator
|
|
3214
|
+
* will fetch more data from the server as needed.
|
|
3215
|
+
*
|
|
3216
|
+
* @param request a request which can be sent to the service operation
|
|
3217
|
+
*/
|
|
3218
|
+
listModelDeploymentsResponseIterator(request) {
|
|
3219
|
+
return oci_common_1.paginateResponses(request, req => this.listModelDeployments(req));
|
|
3220
|
+
}
|
|
3014
3221
|
/**
|
|
3015
3222
|
* Lists models in the specified compartment.
|
|
3223
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3016
3224
|
* @param ListModelsRequest
|
|
3017
3225
|
* @return ListModelsResponse
|
|
3018
3226
|
* @throws OciError when an error occurs
|
|
3019
|
-
* @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.
|
|
3020
3228
|
*/
|
|
3021
3229
|
listModels(listModelsRequest) {
|
|
3022
3230
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3039,7 +3247,8 @@ class DataScienceClient {
|
|
|
3039
3247
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3040
3248
|
"opc-request-id": listModelsRequest.opcRequestId
|
|
3041
3249
|
};
|
|
3042
|
-
const
|
|
3250
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3251
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listModelsRequest.retryConfiguration, specRetryConfiguration);
|
|
3043
3252
|
if (this.logger)
|
|
3044
3253
|
retrier.logger = this.logger;
|
|
3045
3254
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3085,6 +3294,7 @@ class DataScienceClient {
|
|
|
3085
3294
|
});
|
|
3086
3295
|
}
|
|
3087
3296
|
/**
|
|
3297
|
+
* NOTE: This function is deprecated in favor of listModelsRecordIterator function.
|
|
3088
3298
|
* Creates a new async iterator which will iterate over the models.ModelSummary objects
|
|
3089
3299
|
* contained in responses from the listModels operation. This iterator will fetch more data from the
|
|
3090
3300
|
* server as needed.
|
|
@@ -3095,6 +3305,7 @@ class DataScienceClient {
|
|
|
3095
3305
|
return oci_common_1.paginateRecords(request, req => this.listModels(req));
|
|
3096
3306
|
}
|
|
3097
3307
|
/**
|
|
3308
|
+
* NOTE: This function is deprecated in favor of listModelsResponseIterator function.
|
|
3098
3309
|
* Creates a new async iterator which will iterate over the responses received from the listModels operation. This iterator
|
|
3099
3310
|
* will fetch more data from the server as needed.
|
|
3100
3311
|
*
|
|
@@ -3103,12 +3314,32 @@ class DataScienceClient {
|
|
|
3103
3314
|
listAllModelsResponses(request) {
|
|
3104
3315
|
return oci_common_1.paginateResponses(request, req => this.listModels(req));
|
|
3105
3316
|
}
|
|
3317
|
+
/**
|
|
3318
|
+
* Creates a new async iterator which will iterate over the models.ModelSummary objects
|
|
3319
|
+
* contained in responses from the listModels operation. This iterator will fetch more data from the
|
|
3320
|
+
* server as needed.
|
|
3321
|
+
*
|
|
3322
|
+
* @param request a request which can be sent to the service operation
|
|
3323
|
+
*/
|
|
3324
|
+
listModelsRecordIterator(request) {
|
|
3325
|
+
return oci_common_1.paginateRecords(request, req => this.listModels(req));
|
|
3326
|
+
}
|
|
3327
|
+
/**
|
|
3328
|
+
* Creates a new async iterator which will iterate over the responses received from the listModels operation. This iterator
|
|
3329
|
+
* will fetch more data from the server as needed.
|
|
3330
|
+
*
|
|
3331
|
+
* @param request a request which can be sent to the service operation
|
|
3332
|
+
*/
|
|
3333
|
+
listModelsResponseIterator(request) {
|
|
3334
|
+
return oci_common_1.paginateResponses(request, req => this.listModels(req));
|
|
3335
|
+
}
|
|
3106
3336
|
/**
|
|
3107
3337
|
* Lists the valid notebook session shapes.
|
|
3338
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3108
3339
|
* @param ListNotebookSessionShapesRequest
|
|
3109
3340
|
* @return ListNotebookSessionShapesResponse
|
|
3110
3341
|
* @throws OciError when an error occurs
|
|
3111
|
-
* @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.
|
|
3112
3343
|
*/
|
|
3113
3344
|
listNotebookSessionShapes(listNotebookSessionShapesRequest) {
|
|
3114
3345
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3124,7 +3355,8 @@ class DataScienceClient {
|
|
|
3124
3355
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3125
3356
|
"opc-request-id": listNotebookSessionShapesRequest.opcRequestId
|
|
3126
3357
|
};
|
|
3127
|
-
const
|
|
3358
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3359
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listNotebookSessionShapesRequest.retryConfiguration, specRetryConfiguration);
|
|
3128
3360
|
if (this.logger)
|
|
3129
3361
|
retrier.logger = this.logger;
|
|
3130
3362
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3170,6 +3402,7 @@ class DataScienceClient {
|
|
|
3170
3402
|
});
|
|
3171
3403
|
}
|
|
3172
3404
|
/**
|
|
3405
|
+
* NOTE: This function is deprecated in favor of listNotebookSessionShapesRecordIterator function.
|
|
3173
3406
|
* Creates a new async iterator which will iterate over the models.NotebookSessionShapeSummary objects
|
|
3174
3407
|
* contained in responses from the listNotebookSessionShapes operation. This iterator will fetch more data from the
|
|
3175
3408
|
* server as needed.
|
|
@@ -3180,6 +3413,7 @@ class DataScienceClient {
|
|
|
3180
3413
|
return oci_common_1.paginateRecords(request, req => this.listNotebookSessionShapes(req));
|
|
3181
3414
|
}
|
|
3182
3415
|
/**
|
|
3416
|
+
* NOTE: This function is deprecated in favor of listNotebookSessionShapesResponseIterator function.
|
|
3183
3417
|
* Creates a new async iterator which will iterate over the responses received from the listNotebookSessionShapes operation. This iterator
|
|
3184
3418
|
* will fetch more data from the server as needed.
|
|
3185
3419
|
*
|
|
@@ -3188,12 +3422,32 @@ class DataScienceClient {
|
|
|
3188
3422
|
listAllNotebookSessionShapesResponses(request) {
|
|
3189
3423
|
return oci_common_1.paginateResponses(request, req => this.listNotebookSessionShapes(req));
|
|
3190
3424
|
}
|
|
3425
|
+
/**
|
|
3426
|
+
* Creates a new async iterator which will iterate over the models.NotebookSessionShapeSummary objects
|
|
3427
|
+
* contained in responses from the listNotebookSessionShapes operation. This iterator will fetch more data from the
|
|
3428
|
+
* server as needed.
|
|
3429
|
+
*
|
|
3430
|
+
* @param request a request which can be sent to the service operation
|
|
3431
|
+
*/
|
|
3432
|
+
listNotebookSessionShapesRecordIterator(request) {
|
|
3433
|
+
return oci_common_1.paginateRecords(request, req => this.listNotebookSessionShapes(req));
|
|
3434
|
+
}
|
|
3435
|
+
/**
|
|
3436
|
+
* Creates a new async iterator which will iterate over the responses received from the listNotebookSessionShapes operation. This iterator
|
|
3437
|
+
* will fetch more data from the server as needed.
|
|
3438
|
+
*
|
|
3439
|
+
* @param request a request which can be sent to the service operation
|
|
3440
|
+
*/
|
|
3441
|
+
listNotebookSessionShapesResponseIterator(request) {
|
|
3442
|
+
return oci_common_1.paginateResponses(request, req => this.listNotebookSessionShapes(req));
|
|
3443
|
+
}
|
|
3191
3444
|
/**
|
|
3192
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.
|
|
3193
3447
|
* @param ListNotebookSessionsRequest
|
|
3194
3448
|
* @return ListNotebookSessionsResponse
|
|
3195
3449
|
* @throws OciError when an error occurs
|
|
3196
|
-
* @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.
|
|
3197
3451
|
*/
|
|
3198
3452
|
listNotebookSessions(listNotebookSessionsRequest) {
|
|
3199
3453
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3216,7 +3470,8 @@ class DataScienceClient {
|
|
|
3216
3470
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3217
3471
|
"opc-request-id": listNotebookSessionsRequest.opcRequestId
|
|
3218
3472
|
};
|
|
3219
|
-
const
|
|
3473
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3474
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listNotebookSessionsRequest.retryConfiguration, specRetryConfiguration);
|
|
3220
3475
|
if (this.logger)
|
|
3221
3476
|
retrier.logger = this.logger;
|
|
3222
3477
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3262,6 +3517,7 @@ class DataScienceClient {
|
|
|
3262
3517
|
});
|
|
3263
3518
|
}
|
|
3264
3519
|
/**
|
|
3520
|
+
* NOTE: This function is deprecated in favor of listNotebookSessionsRecordIterator function.
|
|
3265
3521
|
* Creates a new async iterator which will iterate over the models.NotebookSessionSummary objects
|
|
3266
3522
|
* contained in responses from the listNotebookSessions operation. This iterator will fetch more data from the
|
|
3267
3523
|
* server as needed.
|
|
@@ -3272,6 +3528,7 @@ class DataScienceClient {
|
|
|
3272
3528
|
return oci_common_1.paginateRecords(request, req => this.listNotebookSessions(req));
|
|
3273
3529
|
}
|
|
3274
3530
|
/**
|
|
3531
|
+
* NOTE: This function is deprecated in favor of listNotebookSessionsResponseIterator function.
|
|
3275
3532
|
* Creates a new async iterator which will iterate over the responses received from the listNotebookSessions operation. This iterator
|
|
3276
3533
|
* will fetch more data from the server as needed.
|
|
3277
3534
|
*
|
|
@@ -3280,12 +3537,32 @@ class DataScienceClient {
|
|
|
3280
3537
|
listAllNotebookSessionsResponses(request) {
|
|
3281
3538
|
return oci_common_1.paginateResponses(request, req => this.listNotebookSessions(req));
|
|
3282
3539
|
}
|
|
3540
|
+
/**
|
|
3541
|
+
* Creates a new async iterator which will iterate over the models.NotebookSessionSummary objects
|
|
3542
|
+
* contained in responses from the listNotebookSessions operation. This iterator will fetch more data from the
|
|
3543
|
+
* server as needed.
|
|
3544
|
+
*
|
|
3545
|
+
* @param request a request which can be sent to the service operation
|
|
3546
|
+
*/
|
|
3547
|
+
listNotebookSessionsRecordIterator(request) {
|
|
3548
|
+
return oci_common_1.paginateRecords(request, req => this.listNotebookSessions(req));
|
|
3549
|
+
}
|
|
3550
|
+
/**
|
|
3551
|
+
* Creates a new async iterator which will iterate over the responses received from the listNotebookSessions operation. This iterator
|
|
3552
|
+
* will fetch more data from the server as needed.
|
|
3553
|
+
*
|
|
3554
|
+
* @param request a request which can be sent to the service operation
|
|
3555
|
+
*/
|
|
3556
|
+
listNotebookSessionsResponseIterator(request) {
|
|
3557
|
+
return oci_common_1.paginateResponses(request, req => this.listNotebookSessions(req));
|
|
3558
|
+
}
|
|
3283
3559
|
/**
|
|
3284
3560
|
* Lists projects in the specified compartment.
|
|
3561
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3285
3562
|
* @param ListProjectsRequest
|
|
3286
3563
|
* @return ListProjectsResponse
|
|
3287
3564
|
* @throws OciError when an error occurs
|
|
3288
|
-
* @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.
|
|
3289
3566
|
*/
|
|
3290
3567
|
listProjects(listProjectsRequest) {
|
|
3291
3568
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3307,7 +3584,8 @@ class DataScienceClient {
|
|
|
3307
3584
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3308
3585
|
"opc-request-id": listProjectsRequest.opcRequestId
|
|
3309
3586
|
};
|
|
3310
|
-
const
|
|
3587
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3588
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listProjectsRequest.retryConfiguration, specRetryConfiguration);
|
|
3311
3589
|
if (this.logger)
|
|
3312
3590
|
retrier.logger = this.logger;
|
|
3313
3591
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3353,6 +3631,7 @@ class DataScienceClient {
|
|
|
3353
3631
|
});
|
|
3354
3632
|
}
|
|
3355
3633
|
/**
|
|
3634
|
+
* NOTE: This function is deprecated in favor of listProjectsRecordIterator function.
|
|
3356
3635
|
* Creates a new async iterator which will iterate over the models.ProjectSummary objects
|
|
3357
3636
|
* contained in responses from the listProjects operation. This iterator will fetch more data from the
|
|
3358
3637
|
* server as needed.
|
|
@@ -3363,6 +3642,7 @@ class DataScienceClient {
|
|
|
3363
3642
|
return oci_common_1.paginateRecords(request, req => this.listProjects(req));
|
|
3364
3643
|
}
|
|
3365
3644
|
/**
|
|
3645
|
+
* NOTE: This function is deprecated in favor of listProjectsResponseIterator function.
|
|
3366
3646
|
* Creates a new async iterator which will iterate over the responses received from the listProjects operation. This iterator
|
|
3367
3647
|
* will fetch more data from the server as needed.
|
|
3368
3648
|
*
|
|
@@ -3371,12 +3651,32 @@ class DataScienceClient {
|
|
|
3371
3651
|
listAllProjectsResponses(request) {
|
|
3372
3652
|
return oci_common_1.paginateResponses(request, req => this.listProjects(req));
|
|
3373
3653
|
}
|
|
3654
|
+
/**
|
|
3655
|
+
* Creates a new async iterator which will iterate over the models.ProjectSummary objects
|
|
3656
|
+
* contained in responses from the listProjects operation. This iterator will fetch more data from the
|
|
3657
|
+
* server as needed.
|
|
3658
|
+
*
|
|
3659
|
+
* @param request a request which can be sent to the service operation
|
|
3660
|
+
*/
|
|
3661
|
+
listProjectsRecordIterator(request) {
|
|
3662
|
+
return oci_common_1.paginateRecords(request, req => this.listProjects(req));
|
|
3663
|
+
}
|
|
3664
|
+
/**
|
|
3665
|
+
* Creates a new async iterator which will iterate over the responses received from the listProjects operation. This iterator
|
|
3666
|
+
* will fetch more data from the server as needed.
|
|
3667
|
+
*
|
|
3668
|
+
* @param request a request which can be sent to the service operation
|
|
3669
|
+
*/
|
|
3670
|
+
listProjectsResponseIterator(request) {
|
|
3671
|
+
return oci_common_1.paginateResponses(request, req => this.listProjects(req));
|
|
3672
|
+
}
|
|
3374
3673
|
/**
|
|
3375
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.
|
|
3376
3676
|
* @param ListWorkRequestErrorsRequest
|
|
3377
3677
|
* @return ListWorkRequestErrorsResponse
|
|
3378
3678
|
* @throws OciError when an error occurs
|
|
3379
|
-
* @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.
|
|
3380
3680
|
*/
|
|
3381
3681
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
3382
3682
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3390,7 +3690,8 @@ class DataScienceClient {
|
|
|
3390
3690
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3391
3691
|
"opc-request-id": listWorkRequestErrorsRequest.opcRequestId
|
|
3392
3692
|
};
|
|
3393
|
-
const
|
|
3693
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3694
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
3394
3695
|
if (this.logger)
|
|
3395
3696
|
retrier.logger = this.logger;
|
|
3396
3697
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3427,10 +3728,11 @@ class DataScienceClient {
|
|
|
3427
3728
|
}
|
|
3428
3729
|
/**
|
|
3429
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.
|
|
3430
3732
|
* @param ListWorkRequestLogsRequest
|
|
3431
3733
|
* @return ListWorkRequestLogsResponse
|
|
3432
3734
|
* @throws OciError when an error occurs
|
|
3433
|
-
* @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.
|
|
3434
3736
|
*/
|
|
3435
3737
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
3436
3738
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3444,7 +3746,8 @@ class DataScienceClient {
|
|
|
3444
3746
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3445
3747
|
"opc-request-id": listWorkRequestLogsRequest.opcRequestId
|
|
3446
3748
|
};
|
|
3447
|
-
const
|
|
3749
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3750
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
3448
3751
|
if (this.logger)
|
|
3449
3752
|
retrier.logger = this.logger;
|
|
3450
3753
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3481,10 +3784,11 @@ class DataScienceClient {
|
|
|
3481
3784
|
}
|
|
3482
3785
|
/**
|
|
3483
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.
|
|
3484
3788
|
* @param ListWorkRequestsRequest
|
|
3485
3789
|
* @return ListWorkRequestsResponse
|
|
3486
3790
|
* @throws OciError when an error occurs
|
|
3487
|
-
* @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.
|
|
3488
3792
|
*/
|
|
3489
3793
|
listWorkRequests(listWorkRequestsRequest) {
|
|
3490
3794
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3505,7 +3809,8 @@ class DataScienceClient {
|
|
|
3505
3809
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3506
3810
|
"opc-request-id": listWorkRequestsRequest.opcRequestId
|
|
3507
3811
|
};
|
|
3508
|
-
const
|
|
3812
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3813
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
3509
3814
|
if (this.logger)
|
|
3510
3815
|
retrier.logger = this.logger;
|
|
3511
3816
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3551,6 +3856,7 @@ class DataScienceClient {
|
|
|
3551
3856
|
});
|
|
3552
3857
|
}
|
|
3553
3858
|
/**
|
|
3859
|
+
* NOTE: This function is deprecated in favor of listWorkRequestsRecordIterator function.
|
|
3554
3860
|
* Creates a new async iterator which will iterate over the models.WorkRequestSummary objects
|
|
3555
3861
|
* contained in responses from the listWorkRequests operation. This iterator will fetch more data from the
|
|
3556
3862
|
* server as needed.
|
|
@@ -3561,6 +3867,7 @@ class DataScienceClient {
|
|
|
3561
3867
|
return oci_common_1.paginateRecords(request, req => this.listWorkRequests(req));
|
|
3562
3868
|
}
|
|
3563
3869
|
/**
|
|
3870
|
+
* NOTE: This function is deprecated in favor of listWorkRequestsResponseIterator function.
|
|
3564
3871
|
* Creates a new async iterator which will iterate over the responses received from the listWorkRequests operation. This iterator
|
|
3565
3872
|
* will fetch more data from the server as needed.
|
|
3566
3873
|
*
|
|
@@ -3569,12 +3876,32 @@ class DataScienceClient {
|
|
|
3569
3876
|
listAllWorkRequestsResponses(request) {
|
|
3570
3877
|
return oci_common_1.paginateResponses(request, req => this.listWorkRequests(req));
|
|
3571
3878
|
}
|
|
3879
|
+
/**
|
|
3880
|
+
* Creates a new async iterator which will iterate over the models.WorkRequestSummary objects
|
|
3881
|
+
* contained in responses from the listWorkRequests operation. This iterator will fetch more data from the
|
|
3882
|
+
* server as needed.
|
|
3883
|
+
*
|
|
3884
|
+
* @param request a request which can be sent to the service operation
|
|
3885
|
+
*/
|
|
3886
|
+
listWorkRequestsRecordIterator(request) {
|
|
3887
|
+
return oci_common_1.paginateRecords(request, req => this.listWorkRequests(req));
|
|
3888
|
+
}
|
|
3889
|
+
/**
|
|
3890
|
+
* Creates a new async iterator which will iterate over the responses received from the listWorkRequests operation. This iterator
|
|
3891
|
+
* will fetch more data from the server as needed.
|
|
3892
|
+
*
|
|
3893
|
+
* @param request a request which can be sent to the service operation
|
|
3894
|
+
*/
|
|
3895
|
+
listWorkRequestsResponseIterator(request) {
|
|
3896
|
+
return oci_common_1.paginateResponses(request, req => this.listWorkRequests(req));
|
|
3897
|
+
}
|
|
3572
3898
|
/**
|
|
3573
3899
|
* Updates a job.
|
|
3900
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3574
3901
|
* @param UpdateJobRequest
|
|
3575
3902
|
* @return UpdateJobResponse
|
|
3576
3903
|
* @throws OciError when an error occurs
|
|
3577
|
-
* @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.
|
|
3578
3905
|
*/
|
|
3579
3906
|
updateJob(updateJobRequest) {
|
|
3580
3907
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3589,7 +3916,8 @@ class DataScienceClient {
|
|
|
3589
3916
|
"opc-request-id": updateJobRequest.opcRequestId,
|
|
3590
3917
|
"if-match": updateJobRequest.ifMatch
|
|
3591
3918
|
};
|
|
3592
|
-
const
|
|
3919
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3920
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateJobRequest.retryConfiguration, specRetryConfiguration);
|
|
3593
3921
|
if (this.logger)
|
|
3594
3922
|
retrier.logger = this.logger;
|
|
3595
3923
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3632,10 +3960,11 @@ class DataScienceClient {
|
|
|
3632
3960
|
}
|
|
3633
3961
|
/**
|
|
3634
3962
|
* Updates a job run.
|
|
3963
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3635
3964
|
* @param UpdateJobRunRequest
|
|
3636
3965
|
* @return UpdateJobRunResponse
|
|
3637
3966
|
* @throws OciError when an error occurs
|
|
3638
|
-
* @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.
|
|
3639
3968
|
*/
|
|
3640
3969
|
updateJobRun(updateJobRunRequest) {
|
|
3641
3970
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3650,7 +3979,8 @@ class DataScienceClient {
|
|
|
3650
3979
|
"opc-request-id": updateJobRunRequest.opcRequestId,
|
|
3651
3980
|
"if-match": updateJobRunRequest.ifMatch
|
|
3652
3981
|
};
|
|
3653
|
-
const
|
|
3982
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3983
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateJobRunRequest.retryConfiguration, specRetryConfiguration);
|
|
3654
3984
|
if (this.logger)
|
|
3655
3985
|
retrier.logger = this.logger;
|
|
3656
3986
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3693,10 +4023,11 @@ class DataScienceClient {
|
|
|
3693
4023
|
}
|
|
3694
4024
|
/**
|
|
3695
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.
|
|
3696
4027
|
* @param UpdateModelRequest
|
|
3697
4028
|
* @return UpdateModelResponse
|
|
3698
4029
|
* @throws OciError when an error occurs
|
|
3699
|
-
* @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.
|
|
3700
4031
|
*/
|
|
3701
4032
|
updateModel(updateModelRequest) {
|
|
3702
4033
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3711,7 +4042,8 @@ class DataScienceClient {
|
|
|
3711
4042
|
"if-match": updateModelRequest.ifMatch,
|
|
3712
4043
|
"opc-request-id": updateModelRequest.opcRequestId
|
|
3713
4044
|
};
|
|
3714
|
-
const
|
|
4045
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4046
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateModelRequest.retryConfiguration, specRetryConfiguration);
|
|
3715
4047
|
if (this.logger)
|
|
3716
4048
|
retrier.logger = this.logger;
|
|
3717
4049
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3758,10 +4090,11 @@ class DataScienceClient {
|
|
|
3758
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
|
|
3759
4091
|
* deployment is activated.
|
|
3760
4092
|
*
|
|
4093
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3761
4094
|
* @param UpdateModelDeploymentRequest
|
|
3762
4095
|
* @return UpdateModelDeploymentResponse
|
|
3763
4096
|
* @throws OciError when an error occurs
|
|
3764
|
-
* @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.
|
|
3765
4098
|
*/
|
|
3766
4099
|
updateModelDeployment(updateModelDeploymentRequest) {
|
|
3767
4100
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3776,7 +4109,8 @@ class DataScienceClient {
|
|
|
3776
4109
|
"if-match": updateModelDeploymentRequest.ifMatch,
|
|
3777
4110
|
"opc-request-id": updateModelDeploymentRequest.opcRequestId
|
|
3778
4111
|
};
|
|
3779
|
-
const
|
|
4112
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4113
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateModelDeploymentRequest.retryConfiguration, specRetryConfiguration);
|
|
3780
4114
|
if (this.logger)
|
|
3781
4115
|
retrier.logger = this.logger;
|
|
3782
4116
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3815,10 +4149,11 @@ class DataScienceClient {
|
|
|
3815
4149
|
}
|
|
3816
4150
|
/**
|
|
3817
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.
|
|
3818
4153
|
* @param UpdateModelProvenanceRequest
|
|
3819
4154
|
* @return UpdateModelProvenanceResponse
|
|
3820
4155
|
* @throws OciError when an error occurs
|
|
3821
|
-
* @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.
|
|
3822
4157
|
*/
|
|
3823
4158
|
updateModelProvenance(updateModelProvenanceRequest) {
|
|
3824
4159
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3833,7 +4168,8 @@ class DataScienceClient {
|
|
|
3833
4168
|
"opc-request-id": updateModelProvenanceRequest.opcRequestId,
|
|
3834
4169
|
"if-match": updateModelProvenanceRequest.ifMatch
|
|
3835
4170
|
};
|
|
3836
|
-
const
|
|
4171
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4172
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateModelProvenanceRequest.retryConfiguration, specRetryConfiguration);
|
|
3837
4173
|
if (this.logger)
|
|
3838
4174
|
retrier.logger = this.logger;
|
|
3839
4175
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3879,10 +4215,11 @@ class DataScienceClient {
|
|
|
3879
4215
|
* When the notebook session is in the INACTIVE lifecycle state, you can update `notebookSessionConfigurationDetails` and change `shape`, `subnetId`, and `blockStorageSizeInGBs`.
|
|
3880
4216
|
* Changes to the `notebookSessionConfigurationDetails` take effect the next time the `ActivateNotebookSession` action is invoked on the notebook session resource.
|
|
3881
4217
|
*
|
|
4218
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3882
4219
|
* @param UpdateNotebookSessionRequest
|
|
3883
4220
|
* @return UpdateNotebookSessionResponse
|
|
3884
4221
|
* @throws OciError when an error occurs
|
|
3885
|
-
* @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.
|
|
3886
4223
|
*/
|
|
3887
4224
|
updateNotebookSession(updateNotebookSessionRequest) {
|
|
3888
4225
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3897,7 +4234,8 @@ class DataScienceClient {
|
|
|
3897
4234
|
"if-match": updateNotebookSessionRequest.ifMatch,
|
|
3898
4235
|
"opc-request-id": updateNotebookSessionRequest.opcRequestId
|
|
3899
4236
|
};
|
|
3900
|
-
const
|
|
4237
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4238
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateNotebookSessionRequest.retryConfiguration, specRetryConfiguration);
|
|
3901
4239
|
if (this.logger)
|
|
3902
4240
|
retrier.logger = this.logger;
|
|
3903
4241
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3940,10 +4278,11 @@ class DataScienceClient {
|
|
|
3940
4278
|
}
|
|
3941
4279
|
/**
|
|
3942
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.
|
|
3943
4282
|
* @param UpdateProjectRequest
|
|
3944
4283
|
* @return UpdateProjectResponse
|
|
3945
4284
|
* @throws OciError when an error occurs
|
|
3946
|
-
* @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.
|
|
3947
4286
|
*/
|
|
3948
4287
|
updateProject(updateProjectRequest) {
|
|
3949
4288
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3958,7 +4297,8 @@ class DataScienceClient {
|
|
|
3958
4297
|
"if-match": updateProjectRequest.ifMatch,
|
|
3959
4298
|
"opc-request-id": updateProjectRequest.opcRequestId
|
|
3960
4299
|
};
|
|
3961
|
-
const
|
|
4300
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4301
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateProjectRequest.retryConfiguration, specRetryConfiguration);
|
|
3962
4302
|
if (this.logger)
|
|
3963
4303
|
retrier.logger = this.logger;
|
|
3964
4304
|
const request = yield oci_common_2.composeRequest({
|