oci-aivision 2.79.0 → 2.79.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +25 -26
- package/lib/client.js +52 -132
- package/lib/client.js.map +1 -1
- package/lib/model/dataset.js +2 -4
- package/lib/model/dataset.js.map +1 -1
- package/lib/model/document-details.js +2 -4
- package/lib/model/document-details.js.map +1 -1
- package/lib/model/document-feature.js +2 -4
- package/lib/model/document-feature.js.map +1 -1
- package/lib/model/field-value.js +2 -4
- package/lib/model/field-value.js.map +1 -1
- package/lib/model/image-details.js +2 -4
- package/lib/model/image-details.js.map +1 -1
- package/lib/model/image-feature.js +2 -4
- package/lib/model/image-feature.js.map +1 -1
- package/lib/model/input-location.js +2 -4
- package/lib/model/input-location.js.map +1 -1
- package/lib/request/analyze-document-request.d.ts +1 -1
- package/lib/request/analyze-image-request.d.ts +1 -1
- package/lib/request/cancel-document-job-request.d.ts +1 -1
- package/lib/request/cancel-image-job-request.d.ts +1 -1
- package/lib/request/cancel-work-request-request.d.ts +1 -1
- package/lib/request/change-model-compartment-request.d.ts +1 -1
- package/lib/request/change-project-compartment-request.d.ts +1 -1
- package/lib/request/create-document-job-request.d.ts +1 -1
- package/lib/request/create-image-job-request.d.ts +1 -1
- package/lib/request/create-model-request.d.ts +1 -1
- package/lib/request/create-project-request.d.ts +1 -1
- package/lib/request/delete-model-request.d.ts +1 -1
- package/lib/request/delete-project-request.d.ts +1 -1
- package/lib/request/get-document-job-request.d.ts +1 -1
- package/lib/request/get-image-job-request.d.ts +1 -1
- package/lib/request/get-model-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/list-models-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-model-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
|
@@ -116,11 +116,7 @@ class AIServiceVisionClient {
|
|
|
116
116
|
set endpoint(endpoint) {
|
|
117
117
|
this._endpoint = endpoint;
|
|
118
118
|
this._endpoint = this._endpoint + "/20220125";
|
|
119
|
-
|
|
120
|
-
this.logger.info(`AIServiceVisionClient endpoint set to ${this._endpoint}`);
|
|
121
|
-
}
|
|
122
|
-
get logger() {
|
|
123
|
-
return common.LOG.logger;
|
|
119
|
+
oci_common_1.logger.info(`AIServiceVisionClient endpoint set to ${this._endpoint}`);
|
|
124
120
|
}
|
|
125
121
|
/**
|
|
126
122
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -129,8 +125,7 @@ class AIServiceVisionClient {
|
|
|
129
125
|
*/
|
|
130
126
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
131
127
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
132
|
-
|
|
133
|
-
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
128
|
+
oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
134
129
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
135
130
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(AIServiceVisionClient.serviceEndpointTemplate, this._region, AIServiceVisionClient.endpointServiceName);
|
|
136
131
|
}
|
|
@@ -197,12 +192,11 @@ class AIServiceVisionClient {
|
|
|
197
192
|
* @param AnalyzeDocumentRequest
|
|
198
193
|
* @return AnalyzeDocumentResponse
|
|
199
194
|
* @throws OciError when an error occurs
|
|
200
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
195
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aivision/AnalyzeDocument.ts.html |here} to see how to use AnalyzeDocument API.
|
|
201
196
|
*/
|
|
202
197
|
analyzeDocument(analyzeDocumentRequest) {
|
|
203
198
|
return __awaiter(this, void 0, void 0, function* () {
|
|
204
|
-
|
|
205
|
-
this.logger.debug("Calling operation AIServiceVisionClient#analyzeDocument.");
|
|
199
|
+
oci_common_1.logger.debug("Calling operation AIServiceVisionClient#analyzeDocument.");
|
|
206
200
|
const operationName = "analyzeDocument";
|
|
207
201
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vision/20220125/AnalyzeDocumentResult/AnalyzeDocument";
|
|
208
202
|
const pathParams = {};
|
|
@@ -213,8 +207,6 @@ class AIServiceVisionClient {
|
|
|
213
207
|
};
|
|
214
208
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
215
209
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, analyzeDocumentRequest.retryConfiguration, specRetryConfiguration);
|
|
216
|
-
if (this.logger)
|
|
217
|
-
retrier.logger = this.logger;
|
|
218
210
|
const request = yield oci_common_1.composeRequest({
|
|
219
211
|
baseEndpoint: this._endpoint,
|
|
220
212
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -260,12 +252,11 @@ class AIServiceVisionClient {
|
|
|
260
252
|
* @param AnalyzeImageRequest
|
|
261
253
|
* @return AnalyzeImageResponse
|
|
262
254
|
* @throws OciError when an error occurs
|
|
263
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
255
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aivision/AnalyzeImage.ts.html |here} to see how to use AnalyzeImage API.
|
|
264
256
|
*/
|
|
265
257
|
analyzeImage(analyzeImageRequest) {
|
|
266
258
|
return __awaiter(this, void 0, void 0, function* () {
|
|
267
|
-
|
|
268
|
-
this.logger.debug("Calling operation AIServiceVisionClient#analyzeImage.");
|
|
259
|
+
oci_common_1.logger.debug("Calling operation AIServiceVisionClient#analyzeImage.");
|
|
269
260
|
const operationName = "analyzeImage";
|
|
270
261
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vision/20220125/AnalyzeImageResult/AnalyzeImage";
|
|
271
262
|
const pathParams = {};
|
|
@@ -276,8 +267,6 @@ class AIServiceVisionClient {
|
|
|
276
267
|
};
|
|
277
268
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
278
269
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, analyzeImageRequest.retryConfiguration, specRetryConfiguration);
|
|
279
|
-
if (this.logger)
|
|
280
|
-
retrier.logger = this.logger;
|
|
281
270
|
const request = yield oci_common_1.composeRequest({
|
|
282
271
|
baseEndpoint: this._endpoint,
|
|
283
272
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -323,12 +312,11 @@ class AIServiceVisionClient {
|
|
|
323
312
|
* @param CancelDocumentJobRequest
|
|
324
313
|
* @return CancelDocumentJobResponse
|
|
325
314
|
* @throws OciError when an error occurs
|
|
326
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
315
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aivision/CancelDocumentJob.ts.html |here} to see how to use CancelDocumentJob API.
|
|
327
316
|
*/
|
|
328
317
|
cancelDocumentJob(cancelDocumentJobRequest) {
|
|
329
318
|
return __awaiter(this, void 0, void 0, function* () {
|
|
330
|
-
|
|
331
|
-
this.logger.debug("Calling operation AIServiceVisionClient#cancelDocumentJob.");
|
|
319
|
+
oci_common_1.logger.debug("Calling operation AIServiceVisionClient#cancelDocumentJob.");
|
|
332
320
|
const operationName = "cancelDocumentJob";
|
|
333
321
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vision/20220125/DocumentJob/CancelDocumentJob";
|
|
334
322
|
const pathParams = {
|
|
@@ -342,8 +330,6 @@ class AIServiceVisionClient {
|
|
|
342
330
|
};
|
|
343
331
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
344
332
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelDocumentJobRequest.retryConfiguration, specRetryConfiguration);
|
|
345
|
-
if (this.logger)
|
|
346
|
-
retrier.logger = this.logger;
|
|
347
333
|
const request = yield oci_common_1.composeRequest({
|
|
348
334
|
baseEndpoint: this._endpoint,
|
|
349
335
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -379,12 +365,11 @@ class AIServiceVisionClient {
|
|
|
379
365
|
* @param CancelImageJobRequest
|
|
380
366
|
* @return CancelImageJobResponse
|
|
381
367
|
* @throws OciError when an error occurs
|
|
382
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
368
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aivision/CancelImageJob.ts.html |here} to see how to use CancelImageJob API.
|
|
383
369
|
*/
|
|
384
370
|
cancelImageJob(cancelImageJobRequest) {
|
|
385
371
|
return __awaiter(this, void 0, void 0, function* () {
|
|
386
|
-
|
|
387
|
-
this.logger.debug("Calling operation AIServiceVisionClient#cancelImageJob.");
|
|
372
|
+
oci_common_1.logger.debug("Calling operation AIServiceVisionClient#cancelImageJob.");
|
|
388
373
|
const operationName = "cancelImageJob";
|
|
389
374
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vision/20220125/ImageJob/CancelImageJob";
|
|
390
375
|
const pathParams = {
|
|
@@ -398,8 +383,6 @@ class AIServiceVisionClient {
|
|
|
398
383
|
};
|
|
399
384
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
400
385
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelImageJobRequest.retryConfiguration, specRetryConfiguration);
|
|
401
|
-
if (this.logger)
|
|
402
|
-
retrier.logger = this.logger;
|
|
403
386
|
const request = yield oci_common_1.composeRequest({
|
|
404
387
|
baseEndpoint: this._endpoint,
|
|
405
388
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -434,12 +417,11 @@ class AIServiceVisionClient {
|
|
|
434
417
|
* @param CancelWorkRequestRequest
|
|
435
418
|
* @return CancelWorkRequestResponse
|
|
436
419
|
* @throws OciError when an error occurs
|
|
437
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
420
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aivision/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
|
|
438
421
|
*/
|
|
439
422
|
cancelWorkRequest(cancelWorkRequestRequest) {
|
|
440
423
|
return __awaiter(this, void 0, void 0, function* () {
|
|
441
|
-
|
|
442
|
-
this.logger.debug("Calling operation AIServiceVisionClient#cancelWorkRequest.");
|
|
424
|
+
oci_common_1.logger.debug("Calling operation AIServiceVisionClient#cancelWorkRequest.");
|
|
443
425
|
const operationName = "cancelWorkRequest";
|
|
444
426
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vision/20220125/WorkRequest/CancelWorkRequest";
|
|
445
427
|
const pathParams = {
|
|
@@ -453,8 +435,6 @@ class AIServiceVisionClient {
|
|
|
453
435
|
};
|
|
454
436
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
455
437
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
456
|
-
if (this.logger)
|
|
457
|
-
retrier.logger = this.logger;
|
|
458
438
|
const request = yield oci_common_1.composeRequest({
|
|
459
439
|
baseEndpoint: this._endpoint,
|
|
460
440
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -489,12 +469,11 @@ class AIServiceVisionClient {
|
|
|
489
469
|
* @param ChangeModelCompartmentRequest
|
|
490
470
|
* @return ChangeModelCompartmentResponse
|
|
491
471
|
* @throws OciError when an error occurs
|
|
492
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
472
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aivision/ChangeModelCompartment.ts.html |here} to see how to use ChangeModelCompartment API.
|
|
493
473
|
*/
|
|
494
474
|
changeModelCompartment(changeModelCompartmentRequest) {
|
|
495
475
|
return __awaiter(this, void 0, void 0, function* () {
|
|
496
|
-
|
|
497
|
-
this.logger.debug("Calling operation AIServiceVisionClient#changeModelCompartment.");
|
|
476
|
+
oci_common_1.logger.debug("Calling operation AIServiceVisionClient#changeModelCompartment.");
|
|
498
477
|
const operationName = "changeModelCompartment";
|
|
499
478
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vision/20220125/Model/ChangeModelCompartment";
|
|
500
479
|
const pathParams = {
|
|
@@ -508,8 +487,6 @@ class AIServiceVisionClient {
|
|
|
508
487
|
};
|
|
509
488
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
510
489
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeModelCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
511
|
-
if (this.logger)
|
|
512
|
-
retrier.logger = this.logger;
|
|
513
490
|
const request = yield oci_common_1.composeRequest({
|
|
514
491
|
baseEndpoint: this._endpoint,
|
|
515
492
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -545,12 +522,11 @@ class AIServiceVisionClient {
|
|
|
545
522
|
* @param ChangeProjectCompartmentRequest
|
|
546
523
|
* @return ChangeProjectCompartmentResponse
|
|
547
524
|
* @throws OciError when an error occurs
|
|
548
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
525
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aivision/ChangeProjectCompartment.ts.html |here} to see how to use ChangeProjectCompartment API.
|
|
549
526
|
*/
|
|
550
527
|
changeProjectCompartment(changeProjectCompartmentRequest) {
|
|
551
528
|
return __awaiter(this, void 0, void 0, function* () {
|
|
552
|
-
|
|
553
|
-
this.logger.debug("Calling operation AIServiceVisionClient#changeProjectCompartment.");
|
|
529
|
+
oci_common_1.logger.debug("Calling operation AIServiceVisionClient#changeProjectCompartment.");
|
|
554
530
|
const operationName = "changeProjectCompartment";
|
|
555
531
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vision/20220125/Project/ChangeProjectCompartment";
|
|
556
532
|
const pathParams = {
|
|
@@ -564,8 +540,6 @@ class AIServiceVisionClient {
|
|
|
564
540
|
};
|
|
565
541
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
566
542
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeProjectCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
567
|
-
if (this.logger)
|
|
568
|
-
retrier.logger = this.logger;
|
|
569
543
|
const request = yield oci_common_1.composeRequest({
|
|
570
544
|
baseEndpoint: this._endpoint,
|
|
571
545
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -602,12 +576,11 @@ class AIServiceVisionClient {
|
|
|
602
576
|
* @param CreateDocumentJobRequest
|
|
603
577
|
* @return CreateDocumentJobResponse
|
|
604
578
|
* @throws OciError when an error occurs
|
|
605
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
579
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aivision/CreateDocumentJob.ts.html |here} to see how to use CreateDocumentJob API.
|
|
606
580
|
*/
|
|
607
581
|
createDocumentJob(createDocumentJobRequest) {
|
|
608
582
|
return __awaiter(this, void 0, void 0, function* () {
|
|
609
|
-
|
|
610
|
-
this.logger.debug("Calling operation AIServiceVisionClient#createDocumentJob.");
|
|
583
|
+
oci_common_1.logger.debug("Calling operation AIServiceVisionClient#createDocumentJob.");
|
|
611
584
|
const operationName = "createDocumentJob";
|
|
612
585
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vision/20220125/DocumentJob/CreateDocumentJob";
|
|
613
586
|
const pathParams = {};
|
|
@@ -619,8 +592,6 @@ class AIServiceVisionClient {
|
|
|
619
592
|
};
|
|
620
593
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
621
594
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDocumentJobRequest.retryConfiguration, specRetryConfiguration);
|
|
622
|
-
if (this.logger)
|
|
623
|
-
retrier.logger = this.logger;
|
|
624
595
|
const request = yield oci_common_1.composeRequest({
|
|
625
596
|
baseEndpoint: this._endpoint,
|
|
626
597
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -666,12 +637,11 @@ class AIServiceVisionClient {
|
|
|
666
637
|
* @param CreateImageJobRequest
|
|
667
638
|
* @return CreateImageJobResponse
|
|
668
639
|
* @throws OciError when an error occurs
|
|
669
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
640
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aivision/CreateImageJob.ts.html |here} to see how to use CreateImageJob API.
|
|
670
641
|
*/
|
|
671
642
|
createImageJob(createImageJobRequest) {
|
|
672
643
|
return __awaiter(this, void 0, void 0, function* () {
|
|
673
|
-
|
|
674
|
-
this.logger.debug("Calling operation AIServiceVisionClient#createImageJob.");
|
|
644
|
+
oci_common_1.logger.debug("Calling operation AIServiceVisionClient#createImageJob.");
|
|
675
645
|
const operationName = "createImageJob";
|
|
676
646
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vision/20220125/ImageJob/CreateImageJob";
|
|
677
647
|
const pathParams = {};
|
|
@@ -683,8 +653,6 @@ class AIServiceVisionClient {
|
|
|
683
653
|
};
|
|
684
654
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
685
655
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createImageJobRequest.retryConfiguration, specRetryConfiguration);
|
|
686
|
-
if (this.logger)
|
|
687
|
-
retrier.logger = this.logger;
|
|
688
656
|
const request = yield oci_common_1.composeRequest({
|
|
689
657
|
baseEndpoint: this._endpoint,
|
|
690
658
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -730,12 +698,11 @@ class AIServiceVisionClient {
|
|
|
730
698
|
* @param CreateModelRequest
|
|
731
699
|
* @return CreateModelResponse
|
|
732
700
|
* @throws OciError when an error occurs
|
|
733
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
701
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aivision/CreateModel.ts.html |here} to see how to use CreateModel API.
|
|
734
702
|
*/
|
|
735
703
|
createModel(createModelRequest) {
|
|
736
704
|
return __awaiter(this, void 0, void 0, function* () {
|
|
737
|
-
|
|
738
|
-
this.logger.debug("Calling operation AIServiceVisionClient#createModel.");
|
|
705
|
+
oci_common_1.logger.debug("Calling operation AIServiceVisionClient#createModel.");
|
|
739
706
|
const operationName = "createModel";
|
|
740
707
|
const apiReferenceLink = "";
|
|
741
708
|
const pathParams = {};
|
|
@@ -747,8 +714,6 @@ class AIServiceVisionClient {
|
|
|
747
714
|
};
|
|
748
715
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
749
716
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createModelRequest.retryConfiguration, specRetryConfiguration);
|
|
750
|
-
if (this.logger)
|
|
751
|
-
retrier.logger = this.logger;
|
|
752
717
|
const request = yield oci_common_1.composeRequest({
|
|
753
718
|
baseEndpoint: this._endpoint,
|
|
754
719
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -799,12 +764,11 @@ class AIServiceVisionClient {
|
|
|
799
764
|
* @param CreateProjectRequest
|
|
800
765
|
* @return CreateProjectResponse
|
|
801
766
|
* @throws OciError when an error occurs
|
|
802
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
767
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aivision/CreateProject.ts.html |here} to see how to use CreateProject API.
|
|
803
768
|
*/
|
|
804
769
|
createProject(createProjectRequest) {
|
|
805
770
|
return __awaiter(this, void 0, void 0, function* () {
|
|
806
|
-
|
|
807
|
-
this.logger.debug("Calling operation AIServiceVisionClient#createProject.");
|
|
771
|
+
oci_common_1.logger.debug("Calling operation AIServiceVisionClient#createProject.");
|
|
808
772
|
const operationName = "createProject";
|
|
809
773
|
const apiReferenceLink = "";
|
|
810
774
|
const pathParams = {};
|
|
@@ -816,8 +780,6 @@ class AIServiceVisionClient {
|
|
|
816
780
|
};
|
|
817
781
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
818
782
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createProjectRequest.retryConfiguration, specRetryConfiguration);
|
|
819
|
-
if (this.logger)
|
|
820
|
-
retrier.logger = this.logger;
|
|
821
783
|
const request = yield oci_common_1.composeRequest({
|
|
822
784
|
baseEndpoint: this._endpoint,
|
|
823
785
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -867,12 +829,11 @@ class AIServiceVisionClient {
|
|
|
867
829
|
* @param DeleteModelRequest
|
|
868
830
|
* @return DeleteModelResponse
|
|
869
831
|
* @throws OciError when an error occurs
|
|
870
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
832
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aivision/DeleteModel.ts.html |here} to see how to use DeleteModel API.
|
|
871
833
|
*/
|
|
872
834
|
deleteModel(deleteModelRequest) {
|
|
873
835
|
return __awaiter(this, void 0, void 0, function* () {
|
|
874
|
-
|
|
875
|
-
this.logger.debug("Calling operation AIServiceVisionClient#deleteModel.");
|
|
836
|
+
oci_common_1.logger.debug("Calling operation AIServiceVisionClient#deleteModel.");
|
|
876
837
|
const operationName = "deleteModel";
|
|
877
838
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vision/20220125/Model/DeleteModel";
|
|
878
839
|
const pathParams = {
|
|
@@ -886,8 +847,6 @@ class AIServiceVisionClient {
|
|
|
886
847
|
};
|
|
887
848
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
888
849
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteModelRequest.retryConfiguration, specRetryConfiguration);
|
|
889
|
-
if (this.logger)
|
|
890
|
-
retrier.logger = this.logger;
|
|
891
850
|
const request = yield oci_common_1.composeRequest({
|
|
892
851
|
baseEndpoint: this._endpoint,
|
|
893
852
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -927,12 +886,11 @@ class AIServiceVisionClient {
|
|
|
927
886
|
* @param DeleteProjectRequest
|
|
928
887
|
* @return DeleteProjectResponse
|
|
929
888
|
* @throws OciError when an error occurs
|
|
930
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
889
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aivision/DeleteProject.ts.html |here} to see how to use DeleteProject API.
|
|
931
890
|
*/
|
|
932
891
|
deleteProject(deleteProjectRequest) {
|
|
933
892
|
return __awaiter(this, void 0, void 0, function* () {
|
|
934
|
-
|
|
935
|
-
this.logger.debug("Calling operation AIServiceVisionClient#deleteProject.");
|
|
893
|
+
oci_common_1.logger.debug("Calling operation AIServiceVisionClient#deleteProject.");
|
|
936
894
|
const operationName = "deleteProject";
|
|
937
895
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vision/20220125/Project/DeleteProject";
|
|
938
896
|
const pathParams = {
|
|
@@ -946,8 +904,6 @@ class AIServiceVisionClient {
|
|
|
946
904
|
};
|
|
947
905
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
948
906
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteProjectRequest.retryConfiguration, specRetryConfiguration);
|
|
949
|
-
if (this.logger)
|
|
950
|
-
retrier.logger = this.logger;
|
|
951
907
|
const request = yield oci_common_1.composeRequest({
|
|
952
908
|
baseEndpoint: this._endpoint,
|
|
953
909
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -988,12 +944,11 @@ class AIServiceVisionClient {
|
|
|
988
944
|
* @param GetDocumentJobRequest
|
|
989
945
|
* @return GetDocumentJobResponse
|
|
990
946
|
* @throws OciError when an error occurs
|
|
991
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
947
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aivision/GetDocumentJob.ts.html |here} to see how to use GetDocumentJob API.
|
|
992
948
|
*/
|
|
993
949
|
getDocumentJob(getDocumentJobRequest) {
|
|
994
950
|
return __awaiter(this, void 0, void 0, function* () {
|
|
995
|
-
|
|
996
|
-
this.logger.debug("Calling operation AIServiceVisionClient#getDocumentJob.");
|
|
951
|
+
oci_common_1.logger.debug("Calling operation AIServiceVisionClient#getDocumentJob.");
|
|
997
952
|
const operationName = "getDocumentJob";
|
|
998
953
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vision/20220125/DocumentJob/GetDocumentJob";
|
|
999
954
|
const pathParams = {
|
|
@@ -1006,8 +961,6 @@ class AIServiceVisionClient {
|
|
|
1006
961
|
};
|
|
1007
962
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1008
963
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDocumentJobRequest.retryConfiguration, specRetryConfiguration);
|
|
1009
|
-
if (this.logger)
|
|
1010
|
-
retrier.logger = this.logger;
|
|
1011
964
|
const request = yield oci_common_1.composeRequest({
|
|
1012
965
|
baseEndpoint: this._endpoint,
|
|
1013
966
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1052,12 +1005,11 @@ class AIServiceVisionClient {
|
|
|
1052
1005
|
* @param GetImageJobRequest
|
|
1053
1006
|
* @return GetImageJobResponse
|
|
1054
1007
|
* @throws OciError when an error occurs
|
|
1055
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1008
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aivision/GetImageJob.ts.html |here} to see how to use GetImageJob API.
|
|
1056
1009
|
*/
|
|
1057
1010
|
getImageJob(getImageJobRequest) {
|
|
1058
1011
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1059
|
-
|
|
1060
|
-
this.logger.debug("Calling operation AIServiceVisionClient#getImageJob.");
|
|
1012
|
+
oci_common_1.logger.debug("Calling operation AIServiceVisionClient#getImageJob.");
|
|
1061
1013
|
const operationName = "getImageJob";
|
|
1062
1014
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vision/20220125/ImageJob/GetImageJob";
|
|
1063
1015
|
const pathParams = {
|
|
@@ -1070,8 +1022,6 @@ class AIServiceVisionClient {
|
|
|
1070
1022
|
};
|
|
1071
1023
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1072
1024
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getImageJobRequest.retryConfiguration, specRetryConfiguration);
|
|
1073
|
-
if (this.logger)
|
|
1074
|
-
retrier.logger = this.logger;
|
|
1075
1025
|
const request = yield oci_common_1.composeRequest({
|
|
1076
1026
|
baseEndpoint: this._endpoint,
|
|
1077
1027
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1115,12 +1065,11 @@ class AIServiceVisionClient {
|
|
|
1115
1065
|
* @param GetModelRequest
|
|
1116
1066
|
* @return GetModelResponse
|
|
1117
1067
|
* @throws OciError when an error occurs
|
|
1118
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1068
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aivision/GetModel.ts.html |here} to see how to use GetModel API.
|
|
1119
1069
|
*/
|
|
1120
1070
|
getModel(getModelRequest) {
|
|
1121
1071
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1122
|
-
|
|
1123
|
-
this.logger.debug("Calling operation AIServiceVisionClient#getModel.");
|
|
1072
|
+
oci_common_1.logger.debug("Calling operation AIServiceVisionClient#getModel.");
|
|
1124
1073
|
const operationName = "getModel";
|
|
1125
1074
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vision/20220125/Model/GetModel";
|
|
1126
1075
|
const pathParams = {
|
|
@@ -1133,8 +1082,6 @@ class AIServiceVisionClient {
|
|
|
1133
1082
|
};
|
|
1134
1083
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1135
1084
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getModelRequest.retryConfiguration, specRetryConfiguration);
|
|
1136
|
-
if (this.logger)
|
|
1137
|
-
retrier.logger = this.logger;
|
|
1138
1085
|
const request = yield oci_common_1.composeRequest({
|
|
1139
1086
|
baseEndpoint: this._endpoint,
|
|
1140
1087
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1178,12 +1125,11 @@ class AIServiceVisionClient {
|
|
|
1178
1125
|
* @param GetProjectRequest
|
|
1179
1126
|
* @return GetProjectResponse
|
|
1180
1127
|
* @throws OciError when an error occurs
|
|
1181
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1128
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aivision/GetProject.ts.html |here} to see how to use GetProject API.
|
|
1182
1129
|
*/
|
|
1183
1130
|
getProject(getProjectRequest) {
|
|
1184
1131
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1185
|
-
|
|
1186
|
-
this.logger.debug("Calling operation AIServiceVisionClient#getProject.");
|
|
1132
|
+
oci_common_1.logger.debug("Calling operation AIServiceVisionClient#getProject.");
|
|
1187
1133
|
const operationName = "getProject";
|
|
1188
1134
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vision/20220125/Project/GetProject";
|
|
1189
1135
|
const pathParams = {
|
|
@@ -1196,8 +1142,6 @@ class AIServiceVisionClient {
|
|
|
1196
1142
|
};
|
|
1197
1143
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1198
1144
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getProjectRequest.retryConfiguration, specRetryConfiguration);
|
|
1199
|
-
if (this.logger)
|
|
1200
|
-
retrier.logger = this.logger;
|
|
1201
1145
|
const request = yield oci_common_1.composeRequest({
|
|
1202
1146
|
baseEndpoint: this._endpoint,
|
|
1203
1147
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1241,12 +1185,11 @@ class AIServiceVisionClient {
|
|
|
1241
1185
|
* @param GetWorkRequestRequest
|
|
1242
1186
|
* @return GetWorkRequestResponse
|
|
1243
1187
|
* @throws OciError when an error occurs
|
|
1244
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1188
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aivision/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1245
1189
|
*/
|
|
1246
1190
|
getWorkRequest(getWorkRequestRequest) {
|
|
1247
1191
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1248
|
-
|
|
1249
|
-
this.logger.debug("Calling operation AIServiceVisionClient#getWorkRequest.");
|
|
1192
|
+
oci_common_1.logger.debug("Calling operation AIServiceVisionClient#getWorkRequest.");
|
|
1250
1193
|
const operationName = "getWorkRequest";
|
|
1251
1194
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vision/20220125/WorkRequest/GetWorkRequest";
|
|
1252
1195
|
const pathParams = {
|
|
@@ -1259,8 +1202,6 @@ class AIServiceVisionClient {
|
|
|
1259
1202
|
};
|
|
1260
1203
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1261
1204
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
1262
|
-
if (this.logger)
|
|
1263
|
-
retrier.logger = this.logger;
|
|
1264
1205
|
const request = yield oci_common_1.composeRequest({
|
|
1265
1206
|
baseEndpoint: this._endpoint,
|
|
1266
1207
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1310,12 +1251,11 @@ class AIServiceVisionClient {
|
|
|
1310
1251
|
* @param ListModelsRequest
|
|
1311
1252
|
* @return ListModelsResponse
|
|
1312
1253
|
* @throws OciError when an error occurs
|
|
1313
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1254
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aivision/ListModels.ts.html |here} to see how to use ListModels API.
|
|
1314
1255
|
*/
|
|
1315
1256
|
listModels(listModelsRequest) {
|
|
1316
1257
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1317
|
-
|
|
1318
|
-
this.logger.debug("Calling operation AIServiceVisionClient#listModels.");
|
|
1258
|
+
oci_common_1.logger.debug("Calling operation AIServiceVisionClient#listModels.");
|
|
1319
1259
|
const operationName = "listModels";
|
|
1320
1260
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vision/20220125/ModelCollection/ListModels";
|
|
1321
1261
|
const pathParams = {};
|
|
@@ -1336,8 +1276,6 @@ class AIServiceVisionClient {
|
|
|
1336
1276
|
};
|
|
1337
1277
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1338
1278
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listModelsRequest.retryConfiguration, specRetryConfiguration);
|
|
1339
|
-
if (this.logger)
|
|
1340
|
-
retrier.logger = this.logger;
|
|
1341
1279
|
const request = yield oci_common_1.composeRequest({
|
|
1342
1280
|
baseEndpoint: this._endpoint,
|
|
1343
1281
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1382,12 +1320,11 @@ class AIServiceVisionClient {
|
|
|
1382
1320
|
* @param ListProjectsRequest
|
|
1383
1321
|
* @return ListProjectsResponse
|
|
1384
1322
|
* @throws OciError when an error occurs
|
|
1385
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1323
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aivision/ListProjects.ts.html |here} to see how to use ListProjects API.
|
|
1386
1324
|
*/
|
|
1387
1325
|
listProjects(listProjectsRequest) {
|
|
1388
1326
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1389
|
-
|
|
1390
|
-
this.logger.debug("Calling operation AIServiceVisionClient#listProjects.");
|
|
1327
|
+
oci_common_1.logger.debug("Calling operation AIServiceVisionClient#listProjects.");
|
|
1391
1328
|
const operationName = "listProjects";
|
|
1392
1329
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vision/20220125/ProjectCollection/ListProjects";
|
|
1393
1330
|
const pathParams = {};
|
|
@@ -1407,8 +1344,6 @@ class AIServiceVisionClient {
|
|
|
1407
1344
|
};
|
|
1408
1345
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1409
1346
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listProjectsRequest.retryConfiguration, specRetryConfiguration);
|
|
1410
|
-
if (this.logger)
|
|
1411
|
-
retrier.logger = this.logger;
|
|
1412
1347
|
const request = yield oci_common_1.composeRequest({
|
|
1413
1348
|
baseEndpoint: this._endpoint,
|
|
1414
1349
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1453,12 +1388,11 @@ class AIServiceVisionClient {
|
|
|
1453
1388
|
* @param ListWorkRequestErrorsRequest
|
|
1454
1389
|
* @return ListWorkRequestErrorsResponse
|
|
1455
1390
|
* @throws OciError when an error occurs
|
|
1456
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1391
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aivision/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1457
1392
|
*/
|
|
1458
1393
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1459
1394
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1460
|
-
|
|
1461
|
-
this.logger.debug("Calling operation AIServiceVisionClient#listWorkRequestErrors.");
|
|
1395
|
+
oci_common_1.logger.debug("Calling operation AIServiceVisionClient#listWorkRequestErrors.");
|
|
1462
1396
|
const operationName = "listWorkRequestErrors";
|
|
1463
1397
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vision/20220125/WorkRequestError/ListWorkRequestErrors";
|
|
1464
1398
|
const pathParams = {
|
|
@@ -1476,8 +1410,6 @@ class AIServiceVisionClient {
|
|
|
1476
1410
|
};
|
|
1477
1411
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1478
1412
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
1479
|
-
if (this.logger)
|
|
1480
|
-
retrier.logger = this.logger;
|
|
1481
1413
|
const request = yield oci_common_1.composeRequest({
|
|
1482
1414
|
baseEndpoint: this._endpoint,
|
|
1483
1415
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1522,12 +1454,11 @@ class AIServiceVisionClient {
|
|
|
1522
1454
|
* @param ListWorkRequestLogsRequest
|
|
1523
1455
|
* @return ListWorkRequestLogsResponse
|
|
1524
1456
|
* @throws OciError when an error occurs
|
|
1525
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1457
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aivision/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1526
1458
|
*/
|
|
1527
1459
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1528
1460
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1529
|
-
|
|
1530
|
-
this.logger.debug("Calling operation AIServiceVisionClient#listWorkRequestLogs.");
|
|
1461
|
+
oci_common_1.logger.debug("Calling operation AIServiceVisionClient#listWorkRequestLogs.");
|
|
1531
1462
|
const operationName = "listWorkRequestLogs";
|
|
1532
1463
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vision/20220125/WorkRequestLogEntry/ListWorkRequestLogs";
|
|
1533
1464
|
const pathParams = {
|
|
@@ -1545,8 +1476,6 @@ class AIServiceVisionClient {
|
|
|
1545
1476
|
};
|
|
1546
1477
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1547
1478
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
1548
|
-
if (this.logger)
|
|
1549
|
-
retrier.logger = this.logger;
|
|
1550
1479
|
const request = yield oci_common_1.composeRequest({
|
|
1551
1480
|
baseEndpoint: this._endpoint,
|
|
1552
1481
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1591,12 +1520,11 @@ class AIServiceVisionClient {
|
|
|
1591
1520
|
* @param ListWorkRequestsRequest
|
|
1592
1521
|
* @return ListWorkRequestsResponse
|
|
1593
1522
|
* @throws OciError when an error occurs
|
|
1594
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1523
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aivision/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1595
1524
|
*/
|
|
1596
1525
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1597
1526
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1598
|
-
|
|
1599
|
-
this.logger.debug("Calling operation AIServiceVisionClient#listWorkRequests.");
|
|
1527
|
+
oci_common_1.logger.debug("Calling operation AIServiceVisionClient#listWorkRequests.");
|
|
1600
1528
|
const operationName = "listWorkRequests";
|
|
1601
1529
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vision/20220125/WorkRequest/ListWorkRequests";
|
|
1602
1530
|
const pathParams = {};
|
|
@@ -1616,8 +1544,6 @@ class AIServiceVisionClient {
|
|
|
1616
1544
|
};
|
|
1617
1545
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1618
1546
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
1619
|
-
if (this.logger)
|
|
1620
|
-
retrier.logger = this.logger;
|
|
1621
1547
|
const request = yield oci_common_1.composeRequest({
|
|
1622
1548
|
baseEndpoint: this._endpoint,
|
|
1623
1549
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1661,12 +1587,11 @@ class AIServiceVisionClient {
|
|
|
1661
1587
|
* @param UpdateModelRequest
|
|
1662
1588
|
* @return UpdateModelResponse
|
|
1663
1589
|
* @throws OciError when an error occurs
|
|
1664
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1590
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aivision/UpdateModel.ts.html |here} to see how to use UpdateModel API.
|
|
1665
1591
|
*/
|
|
1666
1592
|
updateModel(updateModelRequest) {
|
|
1667
1593
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1668
|
-
|
|
1669
|
-
this.logger.debug("Calling operation AIServiceVisionClient#updateModel.");
|
|
1594
|
+
oci_common_1.logger.debug("Calling operation AIServiceVisionClient#updateModel.");
|
|
1670
1595
|
const operationName = "updateModel";
|
|
1671
1596
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vision/20220125/Model/UpdateModel";
|
|
1672
1597
|
const pathParams = {
|
|
@@ -1680,8 +1605,6 @@ class AIServiceVisionClient {
|
|
|
1680
1605
|
};
|
|
1681
1606
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1682
1607
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateModelRequest.retryConfiguration, specRetryConfiguration);
|
|
1683
|
-
if (this.logger)
|
|
1684
|
-
retrier.logger = this.logger;
|
|
1685
1608
|
const request = yield oci_common_1.composeRequest({
|
|
1686
1609
|
baseEndpoint: this._endpoint,
|
|
1687
1610
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1722,12 +1645,11 @@ class AIServiceVisionClient {
|
|
|
1722
1645
|
* @param UpdateProjectRequest
|
|
1723
1646
|
* @return UpdateProjectResponse
|
|
1724
1647
|
* @throws OciError when an error occurs
|
|
1725
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1648
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aivision/UpdateProject.ts.html |here} to see how to use UpdateProject API.
|
|
1726
1649
|
*/
|
|
1727
1650
|
updateProject(updateProjectRequest) {
|
|
1728
1651
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1729
|
-
|
|
1730
|
-
this.logger.debug("Calling operation AIServiceVisionClient#updateProject.");
|
|
1652
|
+
oci_common_1.logger.debug("Calling operation AIServiceVisionClient#updateProject.");
|
|
1731
1653
|
const operationName = "updateProject";
|
|
1732
1654
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/vision/20220125/Project/UpdateProject";
|
|
1733
1655
|
const pathParams = {
|
|
@@ -1741,8 +1663,6 @@ class AIServiceVisionClient {
|
|
|
1741
1663
|
};
|
|
1742
1664
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1743
1665
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateProjectRequest.retryConfiguration, specRetryConfiguration);
|
|
1744
|
-
if (this.logger)
|
|
1745
|
-
retrier.logger = this.logger;
|
|
1746
1666
|
const request = yield oci_common_1.composeRequest({
|
|
1747
1667
|
baseEndpoint: this._endpoint,
|
|
1748
1668
|
defaultHeaders: this._defaultHeaders,
|