oci-ailanguage 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 +36 -37
- package/lib/client.js +74 -187
- package/lib/client.js.map +1 -1
- package/lib/model/classification-type.js +2 -4
- package/lib/model/classification-type.js.map +1 -1
- package/lib/model/dataset-details.js +2 -4
- package/lib/model/dataset-details.js.map +1 -1
- package/lib/model/evaluation-result-summary.js +2 -4
- package/lib/model/evaluation-result-summary.js.map +1 -1
- package/lib/model/evaluation-results.js +2 -4
- package/lib/model/evaluation-results.js.map +1 -1
- package/lib/model/location-details.js +2 -4
- package/lib/model/location-details.js.map +1 -1
- package/lib/model/model-details.js +2 -4
- package/lib/model/model-details.js.map +1 -1
- package/lib/model/pii-entity-masking.js +2 -4
- package/lib/model/pii-entity-masking.js.map +1 -1
- package/lib/model/test-strategy.js +2 -4
- package/lib/model/test-strategy.js.map +1 -1
- package/lib/request/batch-detect-dominant-language-request.d.ts +1 -1
- package/lib/request/batch-detect-language-entities-request.d.ts +1 -1
- package/lib/request/batch-detect-language-key-phrases-request.d.ts +1 -1
- package/lib/request/batch-detect-language-pii-entities-request.d.ts +1 -1
- package/lib/request/batch-detect-language-sentiments-request.d.ts +1 -1
- package/lib/request/batch-detect-language-text-classification-request.d.ts +1 -1
- package/lib/request/batch-language-translation-request.d.ts +1 -1
- package/lib/request/change-endpoint-compartment-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-endpoint-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-endpoint-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/detect-dominant-language-request.d.ts +1 -1
- package/lib/request/detect-language-entities-request.d.ts +1 -1
- package/lib/request/detect-language-key-phrases-request.d.ts +1 -1
- package/lib/request/detect-language-sentiments-request.d.ts +1 -1
- package/lib/request/detect-language-text-classification-request.d.ts +1 -1
- package/lib/request/get-endpoint-request.d.ts +1 -1
- package/lib/request/get-model-request.d.ts +1 -1
- package/lib/request/get-model-type-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-endpoints-request.d.ts +1 -1
- package/lib/request/list-evaluation-results-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-endpoint-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
|
@@ -119,11 +119,7 @@ class AIServiceLanguageClient {
|
|
|
119
119
|
set endpoint(endpoint) {
|
|
120
120
|
this._endpoint = endpoint;
|
|
121
121
|
this._endpoint = this._endpoint + "/20221001";
|
|
122
|
-
|
|
123
|
-
this.logger.info(`AIServiceLanguageClient endpoint set to ${this._endpoint}`);
|
|
124
|
-
}
|
|
125
|
-
get logger() {
|
|
126
|
-
return common.LOG.logger;
|
|
122
|
+
oci_common_1.logger.info(`AIServiceLanguageClient endpoint set to ${this._endpoint}`);
|
|
127
123
|
}
|
|
128
124
|
/**
|
|
129
125
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -132,8 +128,7 @@ class AIServiceLanguageClient {
|
|
|
132
128
|
*/
|
|
133
129
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
134
130
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
135
|
-
|
|
136
|
-
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
131
|
+
oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
137
132
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
138
133
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(AIServiceLanguageClient.serviceEndpointTemplate, this._region, AIServiceLanguageClient.endpointServiceName);
|
|
139
134
|
}
|
|
@@ -207,12 +202,11 @@ class AIServiceLanguageClient {
|
|
|
207
202
|
* @param BatchDetectDominantLanguageRequest
|
|
208
203
|
* @return BatchDetectDominantLanguageResponse
|
|
209
204
|
* @throws OciError when an error occurs
|
|
210
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
205
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ailanguage/BatchDetectDominantLanguage.ts.html |here} to see how to use BatchDetectDominantLanguage API.
|
|
211
206
|
*/
|
|
212
207
|
batchDetectDominantLanguage(batchDetectDominantLanguageRequest) {
|
|
213
208
|
return __awaiter(this, void 0, void 0, function* () {
|
|
214
|
-
|
|
215
|
-
this.logger.debug("Calling operation AIServiceLanguageClient#batchDetectDominantLanguage.");
|
|
209
|
+
oci_common_1.logger.debug("Calling operation AIServiceLanguageClient#batchDetectDominantLanguage.");
|
|
216
210
|
const operationName = "batchDetectDominantLanguage";
|
|
217
211
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/language/20221001/BatchDetectDominantLanguage/BatchDetectDominantLanguage";
|
|
218
212
|
const pathParams = {};
|
|
@@ -223,8 +217,6 @@ class AIServiceLanguageClient {
|
|
|
223
217
|
};
|
|
224
218
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
225
219
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, batchDetectDominantLanguageRequest.retryConfiguration, specRetryConfiguration);
|
|
226
|
-
if (this.logger)
|
|
227
|
-
retrier.logger = this.logger;
|
|
228
220
|
const request = yield oci_common_1.composeRequest({
|
|
229
221
|
baseEndpoint: this._endpoint,
|
|
230
222
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -272,12 +264,11 @@ class AIServiceLanguageClient {
|
|
|
272
264
|
* @param BatchDetectLanguageEntitiesRequest
|
|
273
265
|
* @return BatchDetectLanguageEntitiesResponse
|
|
274
266
|
* @throws OciError when an error occurs
|
|
275
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
267
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ailanguage/BatchDetectLanguageEntities.ts.html |here} to see how to use BatchDetectLanguageEntities API.
|
|
276
268
|
*/
|
|
277
269
|
batchDetectLanguageEntities(batchDetectLanguageEntitiesRequest) {
|
|
278
270
|
return __awaiter(this, void 0, void 0, function* () {
|
|
279
|
-
|
|
280
|
-
this.logger.debug("Calling operation AIServiceLanguageClient#batchDetectLanguageEntities.");
|
|
271
|
+
oci_common_1.logger.debug("Calling operation AIServiceLanguageClient#batchDetectLanguageEntities.");
|
|
281
272
|
const operationName = "batchDetectLanguageEntities";
|
|
282
273
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/language/20221001/BatchDetectLanguageEntities/BatchDetectLanguageEntities";
|
|
283
274
|
const pathParams = {};
|
|
@@ -288,8 +279,6 @@ class AIServiceLanguageClient {
|
|
|
288
279
|
};
|
|
289
280
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
290
281
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, batchDetectLanguageEntitiesRequest.retryConfiguration, specRetryConfiguration);
|
|
291
|
-
if (this.logger)
|
|
292
|
-
retrier.logger = this.logger;
|
|
293
282
|
const request = yield oci_common_1.composeRequest({
|
|
294
283
|
baseEndpoint: this._endpoint,
|
|
295
284
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -335,12 +324,11 @@ class AIServiceLanguageClient {
|
|
|
335
324
|
* @param BatchDetectLanguageKeyPhrasesRequest
|
|
336
325
|
* @return BatchDetectLanguageKeyPhrasesResponse
|
|
337
326
|
* @throws OciError when an error occurs
|
|
338
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
327
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ailanguage/BatchDetectLanguageKeyPhrases.ts.html |here} to see how to use BatchDetectLanguageKeyPhrases API.
|
|
339
328
|
*/
|
|
340
329
|
batchDetectLanguageKeyPhrases(batchDetectLanguageKeyPhrasesRequest) {
|
|
341
330
|
return __awaiter(this, void 0, void 0, function* () {
|
|
342
|
-
|
|
343
|
-
this.logger.debug("Calling operation AIServiceLanguageClient#batchDetectLanguageKeyPhrases.");
|
|
331
|
+
oci_common_1.logger.debug("Calling operation AIServiceLanguageClient#batchDetectLanguageKeyPhrases.");
|
|
344
332
|
const operationName = "batchDetectLanguageKeyPhrases";
|
|
345
333
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/language/20221001/BatchDetectLanguageKeyPhrases/BatchDetectLanguageKeyPhrases";
|
|
346
334
|
const pathParams = {};
|
|
@@ -351,8 +339,6 @@ class AIServiceLanguageClient {
|
|
|
351
339
|
};
|
|
352
340
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
353
341
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, batchDetectLanguageKeyPhrasesRequest.retryConfiguration, specRetryConfiguration);
|
|
354
|
-
if (this.logger)
|
|
355
|
-
retrier.logger = this.logger;
|
|
356
342
|
const request = yield oci_common_1.composeRequest({
|
|
357
343
|
baseEndpoint: this._endpoint,
|
|
358
344
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -398,12 +384,11 @@ class AIServiceLanguageClient {
|
|
|
398
384
|
* @param BatchDetectLanguagePiiEntitiesRequest
|
|
399
385
|
* @return BatchDetectLanguagePiiEntitiesResponse
|
|
400
386
|
* @throws OciError when an error occurs
|
|
401
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
387
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ailanguage/BatchDetectLanguagePiiEntities.ts.html |here} to see how to use BatchDetectLanguagePiiEntities API.
|
|
402
388
|
*/
|
|
403
389
|
batchDetectLanguagePiiEntities(batchDetectLanguagePiiEntitiesRequest) {
|
|
404
390
|
return __awaiter(this, void 0, void 0, function* () {
|
|
405
|
-
|
|
406
|
-
this.logger.debug("Calling operation AIServiceLanguageClient#batchDetectLanguagePiiEntities.");
|
|
391
|
+
oci_common_1.logger.debug("Calling operation AIServiceLanguageClient#batchDetectLanguagePiiEntities.");
|
|
407
392
|
const operationName = "batchDetectLanguagePiiEntities";
|
|
408
393
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/language/20221001/BatchDetectLanguagePiiEntities/BatchDetectLanguagePiiEntities";
|
|
409
394
|
const pathParams = {};
|
|
@@ -414,8 +399,6 @@ class AIServiceLanguageClient {
|
|
|
414
399
|
};
|
|
415
400
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
416
401
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, batchDetectLanguagePiiEntitiesRequest.retryConfiguration, specRetryConfiguration);
|
|
417
|
-
if (this.logger)
|
|
418
|
-
retrier.logger = this.logger;
|
|
419
402
|
const request = yield oci_common_1.composeRequest({
|
|
420
403
|
baseEndpoint: this._endpoint,
|
|
421
404
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -467,12 +450,11 @@ class AIServiceLanguageClient {
|
|
|
467
450
|
* @param BatchDetectLanguageSentimentsRequest
|
|
468
451
|
* @return BatchDetectLanguageSentimentsResponse
|
|
469
452
|
* @throws OciError when an error occurs
|
|
470
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
453
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ailanguage/BatchDetectLanguageSentiments.ts.html |here} to see how to use BatchDetectLanguageSentiments API.
|
|
471
454
|
*/
|
|
472
455
|
batchDetectLanguageSentiments(batchDetectLanguageSentimentsRequest) {
|
|
473
456
|
return __awaiter(this, void 0, void 0, function* () {
|
|
474
|
-
|
|
475
|
-
this.logger.debug("Calling operation AIServiceLanguageClient#batchDetectLanguageSentiments.");
|
|
457
|
+
oci_common_1.logger.debug("Calling operation AIServiceLanguageClient#batchDetectLanguageSentiments.");
|
|
476
458
|
const operationName = "batchDetectLanguageSentiments";
|
|
477
459
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/language/20221001/BatchDetectLanguageSentiments/BatchDetectLanguageSentiments";
|
|
478
460
|
const pathParams = {};
|
|
@@ -485,8 +467,6 @@ class AIServiceLanguageClient {
|
|
|
485
467
|
};
|
|
486
468
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
487
469
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, batchDetectLanguageSentimentsRequest.retryConfiguration, specRetryConfiguration);
|
|
488
|
-
if (this.logger)
|
|
489
|
-
retrier.logger = this.logger;
|
|
490
470
|
const request = yield oci_common_1.composeRequest({
|
|
491
471
|
baseEndpoint: this._endpoint,
|
|
492
472
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -536,12 +516,11 @@ class AIServiceLanguageClient {
|
|
|
536
516
|
* @param BatchDetectLanguageTextClassificationRequest
|
|
537
517
|
* @return BatchDetectLanguageTextClassificationResponse
|
|
538
518
|
* @throws OciError when an error occurs
|
|
539
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
519
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ailanguage/BatchDetectLanguageTextClassification.ts.html |here} to see how to use BatchDetectLanguageTextClassification API.
|
|
540
520
|
*/
|
|
541
521
|
batchDetectLanguageTextClassification(batchDetectLanguageTextClassificationRequest) {
|
|
542
522
|
return __awaiter(this, void 0, void 0, function* () {
|
|
543
|
-
|
|
544
|
-
this.logger.debug("Calling operation AIServiceLanguageClient#batchDetectLanguageTextClassification.");
|
|
523
|
+
oci_common_1.logger.debug("Calling operation AIServiceLanguageClient#batchDetectLanguageTextClassification.");
|
|
545
524
|
const operationName = "batchDetectLanguageTextClassification";
|
|
546
525
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/language/20221001/BatchDetectLanguageTextClassification/BatchDetectLanguageTextClassification";
|
|
547
526
|
const pathParams = {};
|
|
@@ -552,8 +531,6 @@ class AIServiceLanguageClient {
|
|
|
552
531
|
};
|
|
553
532
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
554
533
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, batchDetectLanguageTextClassificationRequest.retryConfiguration, specRetryConfiguration);
|
|
555
|
-
if (this.logger)
|
|
556
|
-
retrier.logger = this.logger;
|
|
557
534
|
const request = yield oci_common_1.composeRequest({
|
|
558
535
|
baseEndpoint: this._endpoint,
|
|
559
536
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -599,12 +576,11 @@ class AIServiceLanguageClient {
|
|
|
599
576
|
* @param BatchLanguageTranslationRequest
|
|
600
577
|
* @return BatchLanguageTranslationResponse
|
|
601
578
|
* @throws OciError when an error occurs
|
|
602
|
-
* @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/ailanguage/BatchLanguageTranslation.ts.html |here} to see how to use BatchLanguageTranslation API.
|
|
603
580
|
*/
|
|
604
581
|
batchLanguageTranslation(batchLanguageTranslationRequest) {
|
|
605
582
|
return __awaiter(this, void 0, void 0, function* () {
|
|
606
|
-
|
|
607
|
-
this.logger.debug("Calling operation AIServiceLanguageClient#batchLanguageTranslation.");
|
|
583
|
+
oci_common_1.logger.debug("Calling operation AIServiceLanguageClient#batchLanguageTranslation.");
|
|
608
584
|
const operationName = "batchLanguageTranslation";
|
|
609
585
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/language/20221001/BatchLanguageTranslation/BatchLanguageTranslation";
|
|
610
586
|
const pathParams = {};
|
|
@@ -615,8 +591,6 @@ class AIServiceLanguageClient {
|
|
|
615
591
|
};
|
|
616
592
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
617
593
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, batchLanguageTranslationRequest.retryConfiguration, specRetryConfiguration);
|
|
618
|
-
if (this.logger)
|
|
619
|
-
retrier.logger = this.logger;
|
|
620
594
|
const request = yield oci_common_1.composeRequest({
|
|
621
595
|
baseEndpoint: this._endpoint,
|
|
622
596
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -656,12 +630,11 @@ class AIServiceLanguageClient {
|
|
|
656
630
|
* @param ChangeEndpointCompartmentRequest
|
|
657
631
|
* @return ChangeEndpointCompartmentResponse
|
|
658
632
|
* @throws OciError when an error occurs
|
|
659
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
633
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ailanguage/ChangeEndpointCompartment.ts.html |here} to see how to use ChangeEndpointCompartment API.
|
|
660
634
|
*/
|
|
661
635
|
changeEndpointCompartment(changeEndpointCompartmentRequest) {
|
|
662
636
|
return __awaiter(this, void 0, void 0, function* () {
|
|
663
|
-
|
|
664
|
-
this.logger.debug("Calling operation AIServiceLanguageClient#changeEndpointCompartment.");
|
|
637
|
+
oci_common_1.logger.debug("Calling operation AIServiceLanguageClient#changeEndpointCompartment.");
|
|
665
638
|
const operationName = "changeEndpointCompartment";
|
|
666
639
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/language/20221001/Endpoint/ChangeEndpointCompartment";
|
|
667
640
|
const pathParams = {
|
|
@@ -676,8 +649,6 @@ class AIServiceLanguageClient {
|
|
|
676
649
|
};
|
|
677
650
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
678
651
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeEndpointCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
679
|
-
if (this.logger)
|
|
680
|
-
retrier.logger = this.logger;
|
|
681
652
|
const request = yield oci_common_1.composeRequest({
|
|
682
653
|
baseEndpoint: this._endpoint,
|
|
683
654
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -713,12 +684,11 @@ class AIServiceLanguageClient {
|
|
|
713
684
|
* @param ChangeModelCompartmentRequest
|
|
714
685
|
* @return ChangeModelCompartmentResponse
|
|
715
686
|
* @throws OciError when an error occurs
|
|
716
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
687
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ailanguage/ChangeModelCompartment.ts.html |here} to see how to use ChangeModelCompartment API.
|
|
717
688
|
*/
|
|
718
689
|
changeModelCompartment(changeModelCompartmentRequest) {
|
|
719
690
|
return __awaiter(this, void 0, void 0, function* () {
|
|
720
|
-
|
|
721
|
-
this.logger.debug("Calling operation AIServiceLanguageClient#changeModelCompartment.");
|
|
691
|
+
oci_common_1.logger.debug("Calling operation AIServiceLanguageClient#changeModelCompartment.");
|
|
722
692
|
const operationName = "changeModelCompartment";
|
|
723
693
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/language/20221001/Model/ChangeModelCompartment";
|
|
724
694
|
const pathParams = {
|
|
@@ -733,8 +703,6 @@ class AIServiceLanguageClient {
|
|
|
733
703
|
};
|
|
734
704
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
735
705
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeModelCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
736
|
-
if (this.logger)
|
|
737
|
-
retrier.logger = this.logger;
|
|
738
706
|
const request = yield oci_common_1.composeRequest({
|
|
739
707
|
baseEndpoint: this._endpoint,
|
|
740
708
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -770,12 +738,11 @@ class AIServiceLanguageClient {
|
|
|
770
738
|
* @param ChangeProjectCompartmentRequest
|
|
771
739
|
* @return ChangeProjectCompartmentResponse
|
|
772
740
|
* @throws OciError when an error occurs
|
|
773
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
741
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ailanguage/ChangeProjectCompartment.ts.html |here} to see how to use ChangeProjectCompartment API.
|
|
774
742
|
*/
|
|
775
743
|
changeProjectCompartment(changeProjectCompartmentRequest) {
|
|
776
744
|
return __awaiter(this, void 0, void 0, function* () {
|
|
777
|
-
|
|
778
|
-
this.logger.debug("Calling operation AIServiceLanguageClient#changeProjectCompartment.");
|
|
745
|
+
oci_common_1.logger.debug("Calling operation AIServiceLanguageClient#changeProjectCompartment.");
|
|
779
746
|
const operationName = "changeProjectCompartment";
|
|
780
747
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/language/20221001/Project/ChangeProjectCompartment";
|
|
781
748
|
const pathParams = {
|
|
@@ -790,8 +757,6 @@ class AIServiceLanguageClient {
|
|
|
790
757
|
};
|
|
791
758
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
792
759
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeProjectCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
793
|
-
if (this.logger)
|
|
794
|
-
retrier.logger = this.logger;
|
|
795
760
|
const request = yield oci_common_1.composeRequest({
|
|
796
761
|
baseEndpoint: this._endpoint,
|
|
797
762
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -828,12 +793,11 @@ class AIServiceLanguageClient {
|
|
|
828
793
|
* @param CreateEndpointRequest
|
|
829
794
|
* @return CreateEndpointResponse
|
|
830
795
|
* @throws OciError when an error occurs
|
|
831
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
796
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ailanguage/CreateEndpoint.ts.html |here} to see how to use CreateEndpoint API.
|
|
832
797
|
*/
|
|
833
798
|
createEndpoint(createEndpointRequest) {
|
|
834
799
|
return __awaiter(this, void 0, void 0, function* () {
|
|
835
|
-
|
|
836
|
-
this.logger.debug("Calling operation AIServiceLanguageClient#createEndpoint.");
|
|
800
|
+
oci_common_1.logger.debug("Calling operation AIServiceLanguageClient#createEndpoint.");
|
|
837
801
|
const operationName = "createEndpoint";
|
|
838
802
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/language/20221001/Endpoint/CreateEndpoint";
|
|
839
803
|
const pathParams = {};
|
|
@@ -845,8 +809,6 @@ class AIServiceLanguageClient {
|
|
|
845
809
|
};
|
|
846
810
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
847
811
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
848
|
-
if (this.logger)
|
|
849
|
-
retrier.logger = this.logger;
|
|
850
812
|
const request = yield oci_common_1.composeRequest({
|
|
851
813
|
baseEndpoint: this._endpoint,
|
|
852
814
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -902,12 +864,11 @@ class AIServiceLanguageClient {
|
|
|
902
864
|
* @param CreateModelRequest
|
|
903
865
|
* @return CreateModelResponse
|
|
904
866
|
* @throws OciError when an error occurs
|
|
905
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
867
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ailanguage/CreateModel.ts.html |here} to see how to use CreateModel API.
|
|
906
868
|
*/
|
|
907
869
|
createModel(createModelRequest) {
|
|
908
870
|
return __awaiter(this, void 0, void 0, function* () {
|
|
909
|
-
|
|
910
|
-
this.logger.debug("Calling operation AIServiceLanguageClient#createModel.");
|
|
871
|
+
oci_common_1.logger.debug("Calling operation AIServiceLanguageClient#createModel.");
|
|
911
872
|
const operationName = "createModel";
|
|
912
873
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/language/20221001/Model/CreateModel";
|
|
913
874
|
const pathParams = {};
|
|
@@ -919,8 +880,6 @@ class AIServiceLanguageClient {
|
|
|
919
880
|
};
|
|
920
881
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
921
882
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createModelRequest.retryConfiguration, specRetryConfiguration);
|
|
922
|
-
if (this.logger)
|
|
923
|
-
retrier.logger = this.logger;
|
|
924
883
|
const request = yield oci_common_1.composeRequest({
|
|
925
884
|
baseEndpoint: this._endpoint,
|
|
926
885
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -976,12 +935,11 @@ class AIServiceLanguageClient {
|
|
|
976
935
|
* @param CreateProjectRequest
|
|
977
936
|
* @return CreateProjectResponse
|
|
978
937
|
* @throws OciError when an error occurs
|
|
979
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
938
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ailanguage/CreateProject.ts.html |here} to see how to use CreateProject API.
|
|
980
939
|
*/
|
|
981
940
|
createProject(createProjectRequest) {
|
|
982
941
|
return __awaiter(this, void 0, void 0, function* () {
|
|
983
|
-
|
|
984
|
-
this.logger.debug("Calling operation AIServiceLanguageClient#createProject.");
|
|
942
|
+
oci_common_1.logger.debug("Calling operation AIServiceLanguageClient#createProject.");
|
|
985
943
|
const operationName = "createProject";
|
|
986
944
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/language/20221001/Project/CreateProject";
|
|
987
945
|
const pathParams = {};
|
|
@@ -993,8 +951,6 @@ class AIServiceLanguageClient {
|
|
|
993
951
|
};
|
|
994
952
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
995
953
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createProjectRequest.retryConfiguration, specRetryConfiguration);
|
|
996
|
-
if (this.logger)
|
|
997
|
-
retrier.logger = this.logger;
|
|
998
954
|
const request = yield oci_common_1.composeRequest({
|
|
999
955
|
baseEndpoint: this._endpoint,
|
|
1000
956
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1044,12 +1000,11 @@ class AIServiceLanguageClient {
|
|
|
1044
1000
|
* @param DeleteEndpointRequest
|
|
1045
1001
|
* @return DeleteEndpointResponse
|
|
1046
1002
|
* @throws OciError when an error occurs
|
|
1047
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1003
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ailanguage/DeleteEndpoint.ts.html |here} to see how to use DeleteEndpoint API.
|
|
1048
1004
|
*/
|
|
1049
1005
|
deleteEndpoint(deleteEndpointRequest) {
|
|
1050
1006
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1051
|
-
|
|
1052
|
-
this.logger.debug("Calling operation AIServiceLanguageClient#deleteEndpoint.");
|
|
1007
|
+
oci_common_1.logger.debug("Calling operation AIServiceLanguageClient#deleteEndpoint.");
|
|
1053
1008
|
const operationName = "deleteEndpoint";
|
|
1054
1009
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/language/20221001/Endpoint/DeleteEndpoint";
|
|
1055
1010
|
const pathParams = {
|
|
@@ -1063,8 +1018,6 @@ class AIServiceLanguageClient {
|
|
|
1063
1018
|
};
|
|
1064
1019
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1065
1020
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
1066
|
-
if (this.logger)
|
|
1067
|
-
retrier.logger = this.logger;
|
|
1068
1021
|
const request = yield oci_common_1.composeRequest({
|
|
1069
1022
|
baseEndpoint: this._endpoint,
|
|
1070
1023
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1104,12 +1057,11 @@ class AIServiceLanguageClient {
|
|
|
1104
1057
|
* @param DeleteModelRequest
|
|
1105
1058
|
* @return DeleteModelResponse
|
|
1106
1059
|
* @throws OciError when an error occurs
|
|
1107
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1060
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ailanguage/DeleteModel.ts.html |here} to see how to use DeleteModel API.
|
|
1108
1061
|
*/
|
|
1109
1062
|
deleteModel(deleteModelRequest) {
|
|
1110
1063
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1111
|
-
|
|
1112
|
-
this.logger.debug("Calling operation AIServiceLanguageClient#deleteModel.");
|
|
1064
|
+
oci_common_1.logger.debug("Calling operation AIServiceLanguageClient#deleteModel.");
|
|
1113
1065
|
const operationName = "deleteModel";
|
|
1114
1066
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/language/20221001/Model/DeleteModel";
|
|
1115
1067
|
const pathParams = {
|
|
@@ -1123,8 +1075,6 @@ class AIServiceLanguageClient {
|
|
|
1123
1075
|
};
|
|
1124
1076
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1125
1077
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteModelRequest.retryConfiguration, specRetryConfiguration);
|
|
1126
|
-
if (this.logger)
|
|
1127
|
-
retrier.logger = this.logger;
|
|
1128
1078
|
const request = yield oci_common_1.composeRequest({
|
|
1129
1079
|
baseEndpoint: this._endpoint,
|
|
1130
1080
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1164,12 +1114,11 @@ class AIServiceLanguageClient {
|
|
|
1164
1114
|
* @param DeleteProjectRequest
|
|
1165
1115
|
* @return DeleteProjectResponse
|
|
1166
1116
|
* @throws OciError when an error occurs
|
|
1167
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1117
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ailanguage/DeleteProject.ts.html |here} to see how to use DeleteProject API.
|
|
1168
1118
|
*/
|
|
1169
1119
|
deleteProject(deleteProjectRequest) {
|
|
1170
1120
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1171
|
-
|
|
1172
|
-
this.logger.debug("Calling operation AIServiceLanguageClient#deleteProject.");
|
|
1121
|
+
oci_common_1.logger.debug("Calling operation AIServiceLanguageClient#deleteProject.");
|
|
1173
1122
|
const operationName = "deleteProject";
|
|
1174
1123
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/language/20221001/Project/DeleteProject";
|
|
1175
1124
|
const pathParams = {
|
|
@@ -1183,8 +1132,6 @@ class AIServiceLanguageClient {
|
|
|
1183
1132
|
};
|
|
1184
1133
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1185
1134
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteProjectRequest.retryConfiguration, specRetryConfiguration);
|
|
1186
|
-
if (this.logger)
|
|
1187
|
-
retrier.logger = this.logger;
|
|
1188
1135
|
const request = yield oci_common_1.composeRequest({
|
|
1189
1136
|
baseEndpoint: this._endpoint,
|
|
1190
1137
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1231,12 +1178,11 @@ class AIServiceLanguageClient {
|
|
|
1231
1178
|
* @param DetectDominantLanguageRequest
|
|
1232
1179
|
* @return DetectDominantLanguageResponse
|
|
1233
1180
|
* @throws OciError when an error occurs
|
|
1234
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1181
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ailanguage/DetectDominantLanguage.ts.html |here} to see how to use DetectDominantLanguage API.
|
|
1235
1182
|
*/
|
|
1236
1183
|
detectDominantLanguage(detectDominantLanguageRequest) {
|
|
1237
1184
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1238
|
-
|
|
1239
|
-
this.logger.debug("Calling operation AIServiceLanguageClient#detectDominantLanguage.");
|
|
1185
|
+
oci_common_1.logger.debug("Calling operation AIServiceLanguageClient#detectDominantLanguage.");
|
|
1240
1186
|
const operationName = "detectDominantLanguage";
|
|
1241
1187
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/language/20221001/DetectDominantLanguage/DetectDominantLanguage";
|
|
1242
1188
|
const pathParams = {};
|
|
@@ -1247,8 +1193,6 @@ class AIServiceLanguageClient {
|
|
|
1247
1193
|
};
|
|
1248
1194
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1249
1195
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, detectDominantLanguageRequest.retryConfiguration, specRetryConfiguration);
|
|
1250
|
-
if (this.logger)
|
|
1251
|
-
retrier.logger = this.logger;
|
|
1252
1196
|
const request = yield oci_common_1.composeRequest({
|
|
1253
1197
|
baseEndpoint: this._endpoint,
|
|
1254
1198
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1298,12 +1242,11 @@ class AIServiceLanguageClient {
|
|
|
1298
1242
|
* @param DetectLanguageEntitiesRequest
|
|
1299
1243
|
* @return DetectLanguageEntitiesResponse
|
|
1300
1244
|
* @throws OciError when an error occurs
|
|
1301
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1245
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ailanguage/DetectLanguageEntities.ts.html |here} to see how to use DetectLanguageEntities API.
|
|
1302
1246
|
*/
|
|
1303
1247
|
detectLanguageEntities(detectLanguageEntitiesRequest) {
|
|
1304
1248
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1305
|
-
|
|
1306
|
-
this.logger.debug("Calling operation AIServiceLanguageClient#detectLanguageEntities.");
|
|
1249
|
+
oci_common_1.logger.debug("Calling operation AIServiceLanguageClient#detectLanguageEntities.");
|
|
1307
1250
|
const operationName = "detectLanguageEntities";
|
|
1308
1251
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/language/20221001/DetectLanguageEntities/DetectLanguageEntities";
|
|
1309
1252
|
const pathParams = {};
|
|
@@ -1317,8 +1260,6 @@ class AIServiceLanguageClient {
|
|
|
1317
1260
|
};
|
|
1318
1261
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1319
1262
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, detectLanguageEntitiesRequest.retryConfiguration, specRetryConfiguration);
|
|
1320
|
-
if (this.logger)
|
|
1321
|
-
retrier.logger = this.logger;
|
|
1322
1263
|
const request = yield oci_common_1.composeRequest({
|
|
1323
1264
|
baseEndpoint: this._endpoint,
|
|
1324
1265
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1368,12 +1309,11 @@ class AIServiceLanguageClient {
|
|
|
1368
1309
|
* @param DetectLanguageKeyPhrasesRequest
|
|
1369
1310
|
* @return DetectLanguageKeyPhrasesResponse
|
|
1370
1311
|
* @throws OciError when an error occurs
|
|
1371
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1312
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ailanguage/DetectLanguageKeyPhrases.ts.html |here} to see how to use DetectLanguageKeyPhrases API.
|
|
1372
1313
|
*/
|
|
1373
1314
|
detectLanguageKeyPhrases(detectLanguageKeyPhrasesRequest) {
|
|
1374
1315
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1375
|
-
|
|
1376
|
-
this.logger.debug("Calling operation AIServiceLanguageClient#detectLanguageKeyPhrases.");
|
|
1316
|
+
oci_common_1.logger.debug("Calling operation AIServiceLanguageClient#detectLanguageKeyPhrases.");
|
|
1377
1317
|
const operationName = "detectLanguageKeyPhrases";
|
|
1378
1318
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/language/20221001/DetectLanguageKeyPhrases/DetectLanguageKeyPhrases";
|
|
1379
1319
|
const pathParams = {};
|
|
@@ -1384,8 +1324,6 @@ class AIServiceLanguageClient {
|
|
|
1384
1324
|
};
|
|
1385
1325
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1386
1326
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, detectLanguageKeyPhrasesRequest.retryConfiguration, specRetryConfiguration);
|
|
1387
|
-
if (this.logger)
|
|
1388
|
-
retrier.logger = this.logger;
|
|
1389
1327
|
const request = yield oci_common_1.composeRequest({
|
|
1390
1328
|
baseEndpoint: this._endpoint,
|
|
1391
1329
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1441,12 +1379,11 @@ class AIServiceLanguageClient {
|
|
|
1441
1379
|
* @param DetectLanguageSentimentsRequest
|
|
1442
1380
|
* @return DetectLanguageSentimentsResponse
|
|
1443
1381
|
* @throws OciError when an error occurs
|
|
1444
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1382
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ailanguage/DetectLanguageSentiments.ts.html |here} to see how to use DetectLanguageSentiments API.
|
|
1445
1383
|
*/
|
|
1446
1384
|
detectLanguageSentiments(detectLanguageSentimentsRequest) {
|
|
1447
1385
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1448
|
-
|
|
1449
|
-
this.logger.debug("Calling operation AIServiceLanguageClient#detectLanguageSentiments.");
|
|
1386
|
+
oci_common_1.logger.debug("Calling operation AIServiceLanguageClient#detectLanguageSentiments.");
|
|
1450
1387
|
const operationName = "detectLanguageSentiments";
|
|
1451
1388
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/language/20221001/DetectLanguageSentiments/DetectLanguageSentiments";
|
|
1452
1389
|
const pathParams = {};
|
|
@@ -1457,8 +1394,6 @@ class AIServiceLanguageClient {
|
|
|
1457
1394
|
};
|
|
1458
1395
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1459
1396
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, detectLanguageSentimentsRequest.retryConfiguration, specRetryConfiguration);
|
|
1460
|
-
if (this.logger)
|
|
1461
|
-
retrier.logger = this.logger;
|
|
1462
1397
|
const request = yield oci_common_1.composeRequest({
|
|
1463
1398
|
baseEndpoint: this._endpoint,
|
|
1464
1399
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1510,12 +1445,11 @@ class AIServiceLanguageClient {
|
|
|
1510
1445
|
* @param DetectLanguageTextClassificationRequest
|
|
1511
1446
|
* @return DetectLanguageTextClassificationResponse
|
|
1512
1447
|
* @throws OciError when an error occurs
|
|
1513
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1448
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ailanguage/DetectLanguageTextClassification.ts.html |here} to see how to use DetectLanguageTextClassification API.
|
|
1514
1449
|
*/
|
|
1515
1450
|
detectLanguageTextClassification(detectLanguageTextClassificationRequest) {
|
|
1516
1451
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1517
|
-
|
|
1518
|
-
this.logger.debug("Calling operation AIServiceLanguageClient#detectLanguageTextClassification.");
|
|
1452
|
+
oci_common_1.logger.debug("Calling operation AIServiceLanguageClient#detectLanguageTextClassification.");
|
|
1519
1453
|
const operationName = "detectLanguageTextClassification";
|
|
1520
1454
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/language/20221001/DetectLanguageTextClassification/DetectLanguageTextClassification";
|
|
1521
1455
|
const pathParams = {};
|
|
@@ -1526,8 +1460,6 @@ class AIServiceLanguageClient {
|
|
|
1526
1460
|
};
|
|
1527
1461
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1528
1462
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, detectLanguageTextClassificationRequest.retryConfiguration, specRetryConfiguration);
|
|
1529
|
-
if (this.logger)
|
|
1530
|
-
retrier.logger = this.logger;
|
|
1531
1463
|
const request = yield oci_common_1.composeRequest({
|
|
1532
1464
|
baseEndpoint: this._endpoint,
|
|
1533
1465
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1572,12 +1504,11 @@ class AIServiceLanguageClient {
|
|
|
1572
1504
|
* @param GetEndpointRequest
|
|
1573
1505
|
* @return GetEndpointResponse
|
|
1574
1506
|
* @throws OciError when an error occurs
|
|
1575
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1507
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ailanguage/GetEndpoint.ts.html |here} to see how to use GetEndpoint API.
|
|
1576
1508
|
*/
|
|
1577
1509
|
getEndpoint(getEndpointRequest) {
|
|
1578
1510
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1579
|
-
|
|
1580
|
-
this.logger.debug("Calling operation AIServiceLanguageClient#getEndpoint.");
|
|
1511
|
+
oci_common_1.logger.debug("Calling operation AIServiceLanguageClient#getEndpoint.");
|
|
1581
1512
|
const operationName = "getEndpoint";
|
|
1582
1513
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/language/20221001/Endpoint/GetEndpoint";
|
|
1583
1514
|
const pathParams = {
|
|
@@ -1590,8 +1521,6 @@ class AIServiceLanguageClient {
|
|
|
1590
1521
|
};
|
|
1591
1522
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1592
1523
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
1593
|
-
if (this.logger)
|
|
1594
|
-
retrier.logger = this.logger;
|
|
1595
1524
|
const request = yield oci_common_1.composeRequest({
|
|
1596
1525
|
baseEndpoint: this._endpoint,
|
|
1597
1526
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1635,12 +1564,11 @@ class AIServiceLanguageClient {
|
|
|
1635
1564
|
* @param GetModelRequest
|
|
1636
1565
|
* @return GetModelResponse
|
|
1637
1566
|
* @throws OciError when an error occurs
|
|
1638
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1567
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ailanguage/GetModel.ts.html |here} to see how to use GetModel API.
|
|
1639
1568
|
*/
|
|
1640
1569
|
getModel(getModelRequest) {
|
|
1641
1570
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1642
|
-
|
|
1643
|
-
this.logger.debug("Calling operation AIServiceLanguageClient#getModel.");
|
|
1571
|
+
oci_common_1.logger.debug("Calling operation AIServiceLanguageClient#getModel.");
|
|
1644
1572
|
const operationName = "getModel";
|
|
1645
1573
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/language/20221001/Model/GetModel";
|
|
1646
1574
|
const pathParams = {
|
|
@@ -1653,8 +1581,6 @@ class AIServiceLanguageClient {
|
|
|
1653
1581
|
};
|
|
1654
1582
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1655
1583
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getModelRequest.retryConfiguration, specRetryConfiguration);
|
|
1656
|
-
if (this.logger)
|
|
1657
|
-
retrier.logger = this.logger;
|
|
1658
1584
|
const request = yield oci_common_1.composeRequest({
|
|
1659
1585
|
baseEndpoint: this._endpoint,
|
|
1660
1586
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1698,12 +1624,11 @@ class AIServiceLanguageClient {
|
|
|
1698
1624
|
* @param GetModelTypeRequest
|
|
1699
1625
|
* @return GetModelTypeResponse
|
|
1700
1626
|
* @throws OciError when an error occurs
|
|
1701
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1627
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ailanguage/GetModelType.ts.html |here} to see how to use GetModelType API.
|
|
1702
1628
|
*/
|
|
1703
1629
|
getModelType(getModelTypeRequest) {
|
|
1704
1630
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1705
|
-
|
|
1706
|
-
this.logger.debug("Calling operation AIServiceLanguageClient#getModelType.");
|
|
1631
|
+
oci_common_1.logger.debug("Calling operation AIServiceLanguageClient#getModelType.");
|
|
1707
1632
|
const operationName = "getModelType";
|
|
1708
1633
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/language/20221001/ModelTypeInfo/GetModelType";
|
|
1709
1634
|
const pathParams = {
|
|
@@ -1716,8 +1641,6 @@ class AIServiceLanguageClient {
|
|
|
1716
1641
|
};
|
|
1717
1642
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1718
1643
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getModelTypeRequest.retryConfiguration, specRetryConfiguration);
|
|
1719
|
-
if (this.logger)
|
|
1720
|
-
retrier.logger = this.logger;
|
|
1721
1644
|
const request = yield oci_common_1.composeRequest({
|
|
1722
1645
|
baseEndpoint: this._endpoint,
|
|
1723
1646
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1756,12 +1679,11 @@ class AIServiceLanguageClient {
|
|
|
1756
1679
|
* @param GetProjectRequest
|
|
1757
1680
|
* @return GetProjectResponse
|
|
1758
1681
|
* @throws OciError when an error occurs
|
|
1759
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1682
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ailanguage/GetProject.ts.html |here} to see how to use GetProject API.
|
|
1760
1683
|
*/
|
|
1761
1684
|
getProject(getProjectRequest) {
|
|
1762
1685
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1763
|
-
|
|
1764
|
-
this.logger.debug("Calling operation AIServiceLanguageClient#getProject.");
|
|
1686
|
+
oci_common_1.logger.debug("Calling operation AIServiceLanguageClient#getProject.");
|
|
1765
1687
|
const operationName = "getProject";
|
|
1766
1688
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/language/20221001/Project/GetProject";
|
|
1767
1689
|
const pathParams = {
|
|
@@ -1774,8 +1696,6 @@ class AIServiceLanguageClient {
|
|
|
1774
1696
|
};
|
|
1775
1697
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1776
1698
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getProjectRequest.retryConfiguration, specRetryConfiguration);
|
|
1777
|
-
if (this.logger)
|
|
1778
|
-
retrier.logger = this.logger;
|
|
1779
1699
|
const request = yield oci_common_1.composeRequest({
|
|
1780
1700
|
baseEndpoint: this._endpoint,
|
|
1781
1701
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1819,12 +1739,11 @@ class AIServiceLanguageClient {
|
|
|
1819
1739
|
* @param GetWorkRequestRequest
|
|
1820
1740
|
* @return GetWorkRequestResponse
|
|
1821
1741
|
* @throws OciError when an error occurs
|
|
1822
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1742
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ailanguage/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1823
1743
|
*/
|
|
1824
1744
|
getWorkRequest(getWorkRequestRequest) {
|
|
1825
1745
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1826
|
-
|
|
1827
|
-
this.logger.debug("Calling operation AIServiceLanguageClient#getWorkRequest.");
|
|
1746
|
+
oci_common_1.logger.debug("Calling operation AIServiceLanguageClient#getWorkRequest.");
|
|
1828
1747
|
const operationName = "getWorkRequest";
|
|
1829
1748
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/language/20221001/WorkRequest/GetWorkRequest";
|
|
1830
1749
|
const pathParams = {
|
|
@@ -1837,8 +1756,6 @@ class AIServiceLanguageClient {
|
|
|
1837
1756
|
};
|
|
1838
1757
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1839
1758
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
1840
|
-
if (this.logger)
|
|
1841
|
-
retrier.logger = this.logger;
|
|
1842
1759
|
const request = yield oci_common_1.composeRequest({
|
|
1843
1760
|
baseEndpoint: this._endpoint,
|
|
1844
1761
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1883,12 +1800,11 @@ class AIServiceLanguageClient {
|
|
|
1883
1800
|
* @param ListEndpointsRequest
|
|
1884
1801
|
* @return ListEndpointsResponse
|
|
1885
1802
|
* @throws OciError when an error occurs
|
|
1886
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1803
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ailanguage/ListEndpoints.ts.html |here} to see how to use ListEndpoints API.
|
|
1887
1804
|
*/
|
|
1888
1805
|
listEndpoints(listEndpointsRequest) {
|
|
1889
1806
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1890
|
-
|
|
1891
|
-
this.logger.debug("Calling operation AIServiceLanguageClient#listEndpoints.");
|
|
1807
|
+
oci_common_1.logger.debug("Calling operation AIServiceLanguageClient#listEndpoints.");
|
|
1892
1808
|
const operationName = "listEndpoints";
|
|
1893
1809
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/language/20221001/Endpoint/ListEndpoints";
|
|
1894
1810
|
const pathParams = {};
|
|
@@ -1910,8 +1826,6 @@ class AIServiceLanguageClient {
|
|
|
1910
1826
|
};
|
|
1911
1827
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1912
1828
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listEndpointsRequest.retryConfiguration, specRetryConfiguration);
|
|
1913
|
-
if (this.logger)
|
|
1914
|
-
retrier.logger = this.logger;
|
|
1915
1829
|
const request = yield oci_common_1.composeRequest({
|
|
1916
1830
|
baseEndpoint: this._endpoint,
|
|
1917
1831
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1955,12 +1869,11 @@ class AIServiceLanguageClient {
|
|
|
1955
1869
|
* @param ListEvaluationResultsRequest
|
|
1956
1870
|
* @return ListEvaluationResultsResponse
|
|
1957
1871
|
* @throws OciError when an error occurs
|
|
1958
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1872
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ailanguage/ListEvaluationResults.ts.html |here} to see how to use ListEvaluationResults API.
|
|
1959
1873
|
*/
|
|
1960
1874
|
listEvaluationResults(listEvaluationResultsRequest) {
|
|
1961
1875
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1962
|
-
|
|
1963
|
-
this.logger.debug("Calling operation AIServiceLanguageClient#listEvaluationResults.");
|
|
1876
|
+
oci_common_1.logger.debug("Calling operation AIServiceLanguageClient#listEvaluationResults.");
|
|
1964
1877
|
const operationName = "listEvaluationResults";
|
|
1965
1878
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/language/20221001/EvaluationResultCollection/ListEvaluationResults";
|
|
1966
1879
|
const pathParams = {
|
|
@@ -1976,8 +1889,6 @@ class AIServiceLanguageClient {
|
|
|
1976
1889
|
};
|
|
1977
1890
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1978
1891
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listEvaluationResultsRequest.retryConfiguration, specRetryConfiguration);
|
|
1979
|
-
if (this.logger)
|
|
1980
|
-
retrier.logger = this.logger;
|
|
1981
1892
|
const request = yield oci_common_1.composeRequest({
|
|
1982
1893
|
baseEndpoint: this._endpoint,
|
|
1983
1894
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2022,12 +1933,11 @@ class AIServiceLanguageClient {
|
|
|
2022
1933
|
* @param ListModelsRequest
|
|
2023
1934
|
* @return ListModelsResponse
|
|
2024
1935
|
* @throws OciError when an error occurs
|
|
2025
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1936
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ailanguage/ListModels.ts.html |here} to see how to use ListModels API.
|
|
2026
1937
|
*/
|
|
2027
1938
|
listModels(listModelsRequest) {
|
|
2028
1939
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2029
|
-
|
|
2030
|
-
this.logger.debug("Calling operation AIServiceLanguageClient#listModels.");
|
|
1940
|
+
oci_common_1.logger.debug("Calling operation AIServiceLanguageClient#listModels.");
|
|
2031
1941
|
const operationName = "listModels";
|
|
2032
1942
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/language/20221001/Model/ListModels";
|
|
2033
1943
|
const pathParams = {};
|
|
@@ -2048,8 +1958,6 @@ class AIServiceLanguageClient {
|
|
|
2048
1958
|
};
|
|
2049
1959
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2050
1960
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listModelsRequest.retryConfiguration, specRetryConfiguration);
|
|
2051
|
-
if (this.logger)
|
|
2052
|
-
retrier.logger = this.logger;
|
|
2053
1961
|
const request = yield oci_common_1.composeRequest({
|
|
2054
1962
|
baseEndpoint: this._endpoint,
|
|
2055
1963
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2094,12 +2002,11 @@ class AIServiceLanguageClient {
|
|
|
2094
2002
|
* @param ListProjectsRequest
|
|
2095
2003
|
* @return ListProjectsResponse
|
|
2096
2004
|
* @throws OciError when an error occurs
|
|
2097
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2005
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ailanguage/ListProjects.ts.html |here} to see how to use ListProjects API.
|
|
2098
2006
|
*/
|
|
2099
2007
|
listProjects(listProjectsRequest) {
|
|
2100
2008
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2101
|
-
|
|
2102
|
-
this.logger.debug("Calling operation AIServiceLanguageClient#listProjects.");
|
|
2009
|
+
oci_common_1.logger.debug("Calling operation AIServiceLanguageClient#listProjects.");
|
|
2103
2010
|
const operationName = "listProjects";
|
|
2104
2011
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/language/20221001/Project/ListProjects";
|
|
2105
2012
|
const pathParams = {};
|
|
@@ -2119,8 +2026,6 @@ class AIServiceLanguageClient {
|
|
|
2119
2026
|
};
|
|
2120
2027
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2121
2028
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listProjectsRequest.retryConfiguration, specRetryConfiguration);
|
|
2122
|
-
if (this.logger)
|
|
2123
|
-
retrier.logger = this.logger;
|
|
2124
2029
|
const request = yield oci_common_1.composeRequest({
|
|
2125
2030
|
baseEndpoint: this._endpoint,
|
|
2126
2031
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2165,12 +2070,11 @@ class AIServiceLanguageClient {
|
|
|
2165
2070
|
* @param ListWorkRequestErrorsRequest
|
|
2166
2071
|
* @return ListWorkRequestErrorsResponse
|
|
2167
2072
|
* @throws OciError when an error occurs
|
|
2168
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2073
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ailanguage/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
2169
2074
|
*/
|
|
2170
2075
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
2171
2076
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2172
|
-
|
|
2173
|
-
this.logger.debug("Calling operation AIServiceLanguageClient#listWorkRequestErrors.");
|
|
2077
|
+
oci_common_1.logger.debug("Calling operation AIServiceLanguageClient#listWorkRequestErrors.");
|
|
2174
2078
|
const operationName = "listWorkRequestErrors";
|
|
2175
2079
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/language/20221001/WorkRequestError/ListWorkRequestErrors";
|
|
2176
2080
|
const pathParams = {
|
|
@@ -2188,8 +2092,6 @@ class AIServiceLanguageClient {
|
|
|
2188
2092
|
};
|
|
2189
2093
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2190
2094
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
2191
|
-
if (this.logger)
|
|
2192
|
-
retrier.logger = this.logger;
|
|
2193
2095
|
const request = yield oci_common_1.composeRequest({
|
|
2194
2096
|
baseEndpoint: this._endpoint,
|
|
2195
2097
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2234,12 +2136,11 @@ class AIServiceLanguageClient {
|
|
|
2234
2136
|
* @param ListWorkRequestLogsRequest
|
|
2235
2137
|
* @return ListWorkRequestLogsResponse
|
|
2236
2138
|
* @throws OciError when an error occurs
|
|
2237
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2139
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ailanguage/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
2238
2140
|
*/
|
|
2239
2141
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
2240
2142
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2241
|
-
|
|
2242
|
-
this.logger.debug("Calling operation AIServiceLanguageClient#listWorkRequestLogs.");
|
|
2143
|
+
oci_common_1.logger.debug("Calling operation AIServiceLanguageClient#listWorkRequestLogs.");
|
|
2243
2144
|
const operationName = "listWorkRequestLogs";
|
|
2244
2145
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/language/20221001/WorkRequestLog/ListWorkRequestLogs";
|
|
2245
2146
|
const pathParams = {
|
|
@@ -2257,8 +2158,6 @@ class AIServiceLanguageClient {
|
|
|
2257
2158
|
};
|
|
2258
2159
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2259
2160
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
2260
|
-
if (this.logger)
|
|
2261
|
-
retrier.logger = this.logger;
|
|
2262
2161
|
const request = yield oci_common_1.composeRequest({
|
|
2263
2162
|
baseEndpoint: this._endpoint,
|
|
2264
2163
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2303,12 +2202,11 @@ class AIServiceLanguageClient {
|
|
|
2303
2202
|
* @param ListWorkRequestsRequest
|
|
2304
2203
|
* @return ListWorkRequestsResponse
|
|
2305
2204
|
* @throws OciError when an error occurs
|
|
2306
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2205
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ailanguage/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
2307
2206
|
*/
|
|
2308
2207
|
listWorkRequests(listWorkRequestsRequest) {
|
|
2309
2208
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2310
|
-
|
|
2311
|
-
this.logger.debug("Calling operation AIServiceLanguageClient#listWorkRequests.");
|
|
2209
|
+
oci_common_1.logger.debug("Calling operation AIServiceLanguageClient#listWorkRequests.");
|
|
2312
2210
|
const operationName = "listWorkRequests";
|
|
2313
2211
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/language/20221001/WorkRequest/ListWorkRequests";
|
|
2314
2212
|
const pathParams = {};
|
|
@@ -2327,8 +2225,6 @@ class AIServiceLanguageClient {
|
|
|
2327
2225
|
};
|
|
2328
2226
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2329
2227
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
2330
|
-
if (this.logger)
|
|
2331
|
-
retrier.logger = this.logger;
|
|
2332
2228
|
const request = yield oci_common_1.composeRequest({
|
|
2333
2229
|
baseEndpoint: this._endpoint,
|
|
2334
2230
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2372,12 +2268,11 @@ class AIServiceLanguageClient {
|
|
|
2372
2268
|
* @param UpdateEndpointRequest
|
|
2373
2269
|
* @return UpdateEndpointResponse
|
|
2374
2270
|
* @throws OciError when an error occurs
|
|
2375
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2271
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ailanguage/UpdateEndpoint.ts.html |here} to see how to use UpdateEndpoint API.
|
|
2376
2272
|
*/
|
|
2377
2273
|
updateEndpoint(updateEndpointRequest) {
|
|
2378
2274
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2379
|
-
|
|
2380
|
-
this.logger.debug("Calling operation AIServiceLanguageClient#updateEndpoint.");
|
|
2275
|
+
oci_common_1.logger.debug("Calling operation AIServiceLanguageClient#updateEndpoint.");
|
|
2381
2276
|
const operationName = "updateEndpoint";
|
|
2382
2277
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/language/20221001/Endpoint/UpdateEndpoint";
|
|
2383
2278
|
const pathParams = {
|
|
@@ -2391,8 +2286,6 @@ class AIServiceLanguageClient {
|
|
|
2391
2286
|
};
|
|
2392
2287
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2393
2288
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
2394
|
-
if (this.logger)
|
|
2395
|
-
retrier.logger = this.logger;
|
|
2396
2289
|
const request = yield oci_common_1.composeRequest({
|
|
2397
2290
|
baseEndpoint: this._endpoint,
|
|
2398
2291
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2433,12 +2326,11 @@ class AIServiceLanguageClient {
|
|
|
2433
2326
|
* @param UpdateModelRequest
|
|
2434
2327
|
* @return UpdateModelResponse
|
|
2435
2328
|
* @throws OciError when an error occurs
|
|
2436
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2329
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ailanguage/UpdateModel.ts.html |here} to see how to use UpdateModel API.
|
|
2437
2330
|
*/
|
|
2438
2331
|
updateModel(updateModelRequest) {
|
|
2439
2332
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2440
|
-
|
|
2441
|
-
this.logger.debug("Calling operation AIServiceLanguageClient#updateModel.");
|
|
2333
|
+
oci_common_1.logger.debug("Calling operation AIServiceLanguageClient#updateModel.");
|
|
2442
2334
|
const operationName = "updateModel";
|
|
2443
2335
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/language/20221001/Model/UpdateModel";
|
|
2444
2336
|
const pathParams = {
|
|
@@ -2452,8 +2344,6 @@ class AIServiceLanguageClient {
|
|
|
2452
2344
|
};
|
|
2453
2345
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2454
2346
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateModelRequest.retryConfiguration, specRetryConfiguration);
|
|
2455
|
-
if (this.logger)
|
|
2456
|
-
retrier.logger = this.logger;
|
|
2457
2347
|
const request = yield oci_common_1.composeRequest({
|
|
2458
2348
|
baseEndpoint: this._endpoint,
|
|
2459
2349
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2494,12 +2384,11 @@ class AIServiceLanguageClient {
|
|
|
2494
2384
|
* @param UpdateProjectRequest
|
|
2495
2385
|
* @return UpdateProjectResponse
|
|
2496
2386
|
* @throws OciError when an error occurs
|
|
2497
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
2387
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/ailanguage/UpdateProject.ts.html |here} to see how to use UpdateProject API.
|
|
2498
2388
|
*/
|
|
2499
2389
|
updateProject(updateProjectRequest) {
|
|
2500
2390
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2501
|
-
|
|
2502
|
-
this.logger.debug("Calling operation AIServiceLanguageClient#updateProject.");
|
|
2391
|
+
oci_common_1.logger.debug("Calling operation AIServiceLanguageClient#updateProject.");
|
|
2503
2392
|
const operationName = "updateProject";
|
|
2504
2393
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/language/20221001/Project/UpdateProject";
|
|
2505
2394
|
const pathParams = {
|
|
@@ -2513,8 +2402,6 @@ class AIServiceLanguageClient {
|
|
|
2513
2402
|
};
|
|
2514
2403
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2515
2404
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateProjectRequest.retryConfiguration, specRetryConfiguration);
|
|
2516
|
-
if (this.logger)
|
|
2517
|
-
retrier.logger = this.logger;
|
|
2518
2405
|
const request = yield oci_common_1.composeRequest({
|
|
2519
2406
|
baseEndpoint: this._endpoint,
|
|
2520
2407
|
defaultHeaders: this._defaultHeaders,
|