oci-servicecatalog 2.79.1 → 2.81.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/lib/client.d.ts +28 -27
  2. package/lib/client.js +138 -55
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/create-private-application-package.js +4 -2
  5. package/lib/model/create-private-application-package.js.map +1 -1
  6. package/lib/model/private-application-package.js +4 -2
  7. package/lib/model/private-application-package.js.map +1 -1
  8. package/lib/request/bulk-replace-service-catalog-associations-request.d.ts +1 -1
  9. package/lib/request/change-private-application-compartment-request.d.ts +1 -1
  10. package/lib/request/change-service-catalog-compartment-request.d.ts +1 -1
  11. package/lib/request/create-private-application-request.d.ts +1 -1
  12. package/lib/request/create-service-catalog-association-request.d.ts +1 -1
  13. package/lib/request/create-service-catalog-request.d.ts +1 -1
  14. package/lib/request/delete-private-application-request.d.ts +1 -1
  15. package/lib/request/delete-service-catalog-association-request.d.ts +1 -1
  16. package/lib/request/delete-service-catalog-request.d.ts +1 -1
  17. package/lib/request/get-private-application-action-download-logo-request.d.ts +1 -1
  18. package/lib/request/get-private-application-package-action-download-config-request.d.ts +1 -1
  19. package/lib/request/get-private-application-package-request.d.ts +1 -1
  20. package/lib/request/get-private-application-request.d.ts +1 -1
  21. package/lib/request/get-service-catalog-association-request.d.ts +1 -1
  22. package/lib/request/get-service-catalog-request.d.ts +1 -1
  23. package/lib/request/get-work-request-request.d.ts +1 -1
  24. package/lib/request/list-applications-request.d.ts +1 -1
  25. package/lib/request/list-private-application-packages-request.d.ts +1 -1
  26. package/lib/request/list-private-applications-request.d.ts +1 -1
  27. package/lib/request/list-service-catalog-associations-request.d.ts +1 -1
  28. package/lib/request/list-service-catalogs-request.d.ts +1 -1
  29. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  30. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  31. package/lib/request/list-work-requests-request.d.ts +1 -1
  32. package/lib/request/update-private-application-request.d.ts +1 -1
  33. package/lib/request/update-service-catalog-request.d.ts +1 -1
  34. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -57,7 +57,7 @@ var ServiceCatalogApiKeys;
57
57
  */
58
58
  class ServiceCatalogClient {
59
59
  constructor(params, clientConfiguration) {
60
- this["_realmSpecificEndpointTemplateEnabled"] = false;
60
+ this["_realmSpecificEndpointTemplateEnabled"] = undefined;
61
61
  this["_endpoint"] = "";
62
62
  this["_defaultHeaders"] = {};
63
63
  this._circuitBreaker = null;
@@ -116,7 +116,11 @@ class ServiceCatalogClient {
116
116
  set endpoint(endpoint) {
117
117
  this._endpoint = endpoint;
118
118
  this._endpoint = this._endpoint + "/20210527";
119
- oci_common_1.logger.info(`ServiceCatalogClient endpoint set to ${this._endpoint}`);
119
+ if (this.logger)
120
+ this.logger.info(`ServiceCatalogClient endpoint set to ${this._endpoint}`);
121
+ }
122
+ get logger() {
123
+ return common.LOG.logger;
120
124
  }
121
125
  /**
122
126
  * Determines whether realm specific endpoint should be used or not.
@@ -125,7 +129,8 @@ class ServiceCatalogClient {
125
129
  */
126
130
  set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
127
131
  this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
128
- oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
132
+ if (this.logger)
133
+ this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
129
134
  if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
130
135
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(ServiceCatalogClient.serviceEndpointTemplate, this._region, ServiceCatalogClient.endpointServiceName);
131
136
  }
@@ -191,11 +196,12 @@ class ServiceCatalogClient {
191
196
  * @param BulkReplaceServiceCatalogAssociationsRequest
192
197
  * @return BulkReplaceServiceCatalogAssociationsResponse
193
198
  * @throws OciError when an error occurs
194
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/servicecatalog/BulkReplaceServiceCatalogAssociations.ts.html |here} to see how to use BulkReplaceServiceCatalogAssociations API.
199
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/servicecatalog/BulkReplaceServiceCatalogAssociations.ts.html |here} to see how to use BulkReplaceServiceCatalogAssociations API.
195
200
  */
196
201
  bulkReplaceServiceCatalogAssociations(bulkReplaceServiceCatalogAssociationsRequest) {
197
202
  return __awaiter(this, void 0, void 0, function* () {
198
- oci_common_1.logger.debug("Calling operation ServiceCatalogClient#bulkReplaceServiceCatalogAssociations.");
203
+ if (this.logger)
204
+ this.logger.debug("Calling operation ServiceCatalogClient#bulkReplaceServiceCatalogAssociations.");
199
205
  const operationName = "bulkReplaceServiceCatalogAssociations";
200
206
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/service-catalog/20210527/ServiceCatalogAssociation/BulkReplaceServiceCatalogAssociations";
201
207
  const pathParams = {
@@ -209,6 +215,8 @@ class ServiceCatalogClient {
209
215
  };
210
216
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
211
217
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, bulkReplaceServiceCatalogAssociationsRequest.retryConfiguration, specRetryConfiguration);
218
+ if (this.logger)
219
+ retrier.logger = this.logger;
212
220
  const request = yield oci_common_1.composeRequest({
213
221
  baseEndpoint: this._endpoint,
214
222
  defaultHeaders: this._defaultHeaders,
@@ -244,11 +252,12 @@ class ServiceCatalogClient {
244
252
  * @param ChangePrivateApplicationCompartmentRequest
245
253
  * @return ChangePrivateApplicationCompartmentResponse
246
254
  * @throws OciError when an error occurs
247
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/servicecatalog/ChangePrivateApplicationCompartment.ts.html |here} to see how to use ChangePrivateApplicationCompartment API.
255
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/servicecatalog/ChangePrivateApplicationCompartment.ts.html |here} to see how to use ChangePrivateApplicationCompartment API.
248
256
  */
249
257
  changePrivateApplicationCompartment(changePrivateApplicationCompartmentRequest) {
250
258
  return __awaiter(this, void 0, void 0, function* () {
251
- oci_common_1.logger.debug("Calling operation ServiceCatalogClient#changePrivateApplicationCompartment.");
259
+ if (this.logger)
260
+ this.logger.debug("Calling operation ServiceCatalogClient#changePrivateApplicationCompartment.");
252
261
  const operationName = "changePrivateApplicationCompartment";
253
262
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/service-catalog/20210527/PrivateApplication/ChangePrivateApplicationCompartment";
254
263
  const pathParams = {
@@ -262,6 +271,8 @@ class ServiceCatalogClient {
262
271
  };
263
272
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
264
273
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changePrivateApplicationCompartmentRequest.retryConfiguration, specRetryConfiguration);
274
+ if (this.logger)
275
+ retrier.logger = this.logger;
265
276
  const request = yield oci_common_1.composeRequest({
266
277
  baseEndpoint: this._endpoint,
267
278
  defaultHeaders: this._defaultHeaders,
@@ -302,11 +313,12 @@ class ServiceCatalogClient {
302
313
  * @param ChangeServiceCatalogCompartmentRequest
303
314
  * @return ChangeServiceCatalogCompartmentResponse
304
315
  * @throws OciError when an error occurs
305
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/servicecatalog/ChangeServiceCatalogCompartment.ts.html |here} to see how to use ChangeServiceCatalogCompartment API.
316
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/servicecatalog/ChangeServiceCatalogCompartment.ts.html |here} to see how to use ChangeServiceCatalogCompartment API.
306
317
  */
307
318
  changeServiceCatalogCompartment(changeServiceCatalogCompartmentRequest) {
308
319
  return __awaiter(this, void 0, void 0, function* () {
309
- oci_common_1.logger.debug("Calling operation ServiceCatalogClient#changeServiceCatalogCompartment.");
320
+ if (this.logger)
321
+ this.logger.debug("Calling operation ServiceCatalogClient#changeServiceCatalogCompartment.");
310
322
  const operationName = "changeServiceCatalogCompartment";
311
323
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/service-catalog/20210527/ServiceCatalog/ChangeServiceCatalogCompartment";
312
324
  const pathParams = {
@@ -320,6 +332,8 @@ class ServiceCatalogClient {
320
332
  };
321
333
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
322
334
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeServiceCatalogCompartmentRequest.retryConfiguration, specRetryConfiguration);
335
+ if (this.logger)
336
+ retrier.logger = this.logger;
323
337
  const request = yield oci_common_1.composeRequest({
324
338
  baseEndpoint: this._endpoint,
325
339
  defaultHeaders: this._defaultHeaders,
@@ -355,11 +369,12 @@ class ServiceCatalogClient {
355
369
  * @param CreatePrivateApplicationRequest
356
370
  * @return CreatePrivateApplicationResponse
357
371
  * @throws OciError when an error occurs
358
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/servicecatalog/CreatePrivateApplication.ts.html |here} to see how to use CreatePrivateApplication API.
372
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/servicecatalog/CreatePrivateApplication.ts.html |here} to see how to use CreatePrivateApplication API.
359
373
  */
360
374
  createPrivateApplication(createPrivateApplicationRequest) {
361
375
  return __awaiter(this, void 0, void 0, function* () {
362
- oci_common_1.logger.debug("Calling operation ServiceCatalogClient#createPrivateApplication.");
376
+ if (this.logger)
377
+ this.logger.debug("Calling operation ServiceCatalogClient#createPrivateApplication.");
363
378
  const operationName = "createPrivateApplication";
364
379
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/service-catalog/20210527/PrivateApplication/CreatePrivateApplication";
365
380
  const pathParams = {};
@@ -371,6 +386,8 @@ class ServiceCatalogClient {
371
386
  };
372
387
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
373
388
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createPrivateApplicationRequest.retryConfiguration, specRetryConfiguration);
389
+ if (this.logger)
390
+ retrier.logger = this.logger;
374
391
  const request = yield oci_common_1.composeRequest({
375
392
  baseEndpoint: this._endpoint,
376
393
  defaultHeaders: this._defaultHeaders,
@@ -420,11 +437,12 @@ class ServiceCatalogClient {
420
437
  * @param CreateServiceCatalogRequest
421
438
  * @return CreateServiceCatalogResponse
422
439
  * @throws OciError when an error occurs
423
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/servicecatalog/CreateServiceCatalog.ts.html |here} to see how to use CreateServiceCatalog API.
440
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/servicecatalog/CreateServiceCatalog.ts.html |here} to see how to use CreateServiceCatalog API.
424
441
  */
425
442
  createServiceCatalog(createServiceCatalogRequest) {
426
443
  return __awaiter(this, void 0, void 0, function* () {
427
- oci_common_1.logger.debug("Calling operation ServiceCatalogClient#createServiceCatalog.");
444
+ if (this.logger)
445
+ this.logger.debug("Calling operation ServiceCatalogClient#createServiceCatalog.");
428
446
  const operationName = "createServiceCatalog";
429
447
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/service-catalog/20210527/ServiceCatalog/CreateServiceCatalog";
430
448
  const pathParams = {};
@@ -436,6 +454,8 @@ class ServiceCatalogClient {
436
454
  };
437
455
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
438
456
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createServiceCatalogRequest.retryConfiguration, specRetryConfiguration);
457
+ if (this.logger)
458
+ retrier.logger = this.logger;
439
459
  const request = yield oci_common_1.composeRequest({
440
460
  baseEndpoint: this._endpoint,
441
461
  defaultHeaders: this._defaultHeaders,
@@ -480,11 +500,12 @@ class ServiceCatalogClient {
480
500
  * @param CreateServiceCatalogAssociationRequest
481
501
  * @return CreateServiceCatalogAssociationResponse
482
502
  * @throws OciError when an error occurs
483
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/servicecatalog/CreateServiceCatalogAssociation.ts.html |here} to see how to use CreateServiceCatalogAssociation API.
503
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/servicecatalog/CreateServiceCatalogAssociation.ts.html |here} to see how to use CreateServiceCatalogAssociation API.
484
504
  */
485
505
  createServiceCatalogAssociation(createServiceCatalogAssociationRequest) {
486
506
  return __awaiter(this, void 0, void 0, function* () {
487
- oci_common_1.logger.debug("Calling operation ServiceCatalogClient#createServiceCatalogAssociation.");
507
+ if (this.logger)
508
+ this.logger.debug("Calling operation ServiceCatalogClient#createServiceCatalogAssociation.");
488
509
  const operationName = "createServiceCatalogAssociation";
489
510
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/service-catalog/20210527/ServiceCatalogAssociation/CreateServiceCatalogAssociation";
490
511
  const pathParams = {};
@@ -496,6 +517,8 @@ class ServiceCatalogClient {
496
517
  };
497
518
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
498
519
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createServiceCatalogAssociationRequest.retryConfiguration, specRetryConfiguration);
520
+ if (this.logger)
521
+ retrier.logger = this.logger;
499
522
  const request = yield oci_common_1.composeRequest({
500
523
  baseEndpoint: this._endpoint,
501
524
  defaultHeaders: this._defaultHeaders,
@@ -540,11 +563,12 @@ class ServiceCatalogClient {
540
563
  * @param DeletePrivateApplicationRequest
541
564
  * @return DeletePrivateApplicationResponse
542
565
  * @throws OciError when an error occurs
543
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/servicecatalog/DeletePrivateApplication.ts.html |here} to see how to use DeletePrivateApplication API.
566
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/servicecatalog/DeletePrivateApplication.ts.html |here} to see how to use DeletePrivateApplication API.
544
567
  */
545
568
  deletePrivateApplication(deletePrivateApplicationRequest) {
546
569
  return __awaiter(this, void 0, void 0, function* () {
547
- oci_common_1.logger.debug("Calling operation ServiceCatalogClient#deletePrivateApplication.");
570
+ if (this.logger)
571
+ this.logger.debug("Calling operation ServiceCatalogClient#deletePrivateApplication.");
548
572
  const operationName = "deletePrivateApplication";
549
573
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/service-catalog/20210527/PrivateApplication/DeletePrivateApplication";
550
574
  const pathParams = {
@@ -558,6 +582,8 @@ class ServiceCatalogClient {
558
582
  };
559
583
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
560
584
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deletePrivateApplicationRequest.retryConfiguration, specRetryConfiguration);
585
+ if (this.logger)
586
+ retrier.logger = this.logger;
561
587
  const request = yield oci_common_1.composeRequest({
562
588
  baseEndpoint: this._endpoint,
563
589
  defaultHeaders: this._defaultHeaders,
@@ -597,11 +623,12 @@ class ServiceCatalogClient {
597
623
  * @param DeleteServiceCatalogRequest
598
624
  * @return DeleteServiceCatalogResponse
599
625
  * @throws OciError when an error occurs
600
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/servicecatalog/DeleteServiceCatalog.ts.html |here} to see how to use DeleteServiceCatalog API.
626
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/servicecatalog/DeleteServiceCatalog.ts.html |here} to see how to use DeleteServiceCatalog API.
601
627
  */
602
628
  deleteServiceCatalog(deleteServiceCatalogRequest) {
603
629
  return __awaiter(this, void 0, void 0, function* () {
604
- oci_common_1.logger.debug("Calling operation ServiceCatalogClient#deleteServiceCatalog.");
630
+ if (this.logger)
631
+ this.logger.debug("Calling operation ServiceCatalogClient#deleteServiceCatalog.");
605
632
  const operationName = "deleteServiceCatalog";
606
633
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/service-catalog/20210527/ServiceCatalog/DeleteServiceCatalog";
607
634
  const pathParams = {
@@ -615,6 +642,8 @@ class ServiceCatalogClient {
615
642
  };
616
643
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
617
644
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteServiceCatalogRequest.retryConfiguration, specRetryConfiguration);
645
+ if (this.logger)
646
+ retrier.logger = this.logger;
618
647
  const request = yield oci_common_1.composeRequest({
619
648
  baseEndpoint: this._endpoint,
620
649
  defaultHeaders: this._defaultHeaders,
@@ -649,11 +678,12 @@ class ServiceCatalogClient {
649
678
  * @param DeleteServiceCatalogAssociationRequest
650
679
  * @return DeleteServiceCatalogAssociationResponse
651
680
  * @throws OciError when an error occurs
652
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/servicecatalog/DeleteServiceCatalogAssociation.ts.html |here} to see how to use DeleteServiceCatalogAssociation API.
681
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/servicecatalog/DeleteServiceCatalogAssociation.ts.html |here} to see how to use DeleteServiceCatalogAssociation API.
653
682
  */
654
683
  deleteServiceCatalogAssociation(deleteServiceCatalogAssociationRequest) {
655
684
  return __awaiter(this, void 0, void 0, function* () {
656
- oci_common_1.logger.debug("Calling operation ServiceCatalogClient#deleteServiceCatalogAssociation.");
685
+ if (this.logger)
686
+ this.logger.debug("Calling operation ServiceCatalogClient#deleteServiceCatalogAssociation.");
657
687
  const operationName = "deleteServiceCatalogAssociation";
658
688
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/service-catalog/20210527/ServiceCatalogAssociation/DeleteServiceCatalogAssociation";
659
689
  const pathParams = {
@@ -667,6 +697,8 @@ class ServiceCatalogClient {
667
697
  };
668
698
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
669
699
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteServiceCatalogAssociationRequest.retryConfiguration, specRetryConfiguration);
700
+ if (this.logger)
701
+ retrier.logger = this.logger;
670
702
  const request = yield oci_common_1.composeRequest({
671
703
  baseEndpoint: this._endpoint,
672
704
  defaultHeaders: this._defaultHeaders,
@@ -701,11 +733,12 @@ class ServiceCatalogClient {
701
733
  * @param GetPrivateApplicationRequest
702
734
  * @return GetPrivateApplicationResponse
703
735
  * @throws OciError when an error occurs
704
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/servicecatalog/GetPrivateApplication.ts.html |here} to see how to use GetPrivateApplication API.
736
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/servicecatalog/GetPrivateApplication.ts.html |here} to see how to use GetPrivateApplication API.
705
737
  */
706
738
  getPrivateApplication(getPrivateApplicationRequest) {
707
739
  return __awaiter(this, void 0, void 0, function* () {
708
- oci_common_1.logger.debug("Calling operation ServiceCatalogClient#getPrivateApplication.");
740
+ if (this.logger)
741
+ this.logger.debug("Calling operation ServiceCatalogClient#getPrivateApplication.");
709
742
  const operationName = "getPrivateApplication";
710
743
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/service-catalog/20210527/PrivateApplication/GetPrivateApplication";
711
744
  const pathParams = {
@@ -718,6 +751,8 @@ class ServiceCatalogClient {
718
751
  };
719
752
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
720
753
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPrivateApplicationRequest.retryConfiguration, specRetryConfiguration);
754
+ if (this.logger)
755
+ retrier.logger = this.logger;
721
756
  const request = yield oci_common_1.composeRequest({
722
757
  baseEndpoint: this._endpoint,
723
758
  defaultHeaders: this._defaultHeaders,
@@ -761,11 +796,12 @@ class ServiceCatalogClient {
761
796
  * @param GetPrivateApplicationActionDownloadLogoRequest
762
797
  * @return GetPrivateApplicationActionDownloadLogoResponse
763
798
  * @throws OciError when an error occurs
764
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/servicecatalog/GetPrivateApplicationActionDownloadLogo.ts.html |here} to see how to use GetPrivateApplicationActionDownloadLogo API.
799
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/servicecatalog/GetPrivateApplicationActionDownloadLogo.ts.html |here} to see how to use GetPrivateApplicationActionDownloadLogo API.
765
800
  */
766
801
  getPrivateApplicationActionDownloadLogo(getPrivateApplicationActionDownloadLogoRequest) {
767
802
  return __awaiter(this, void 0, void 0, function* () {
768
- oci_common_1.logger.debug("Calling operation ServiceCatalogClient#getPrivateApplicationActionDownloadLogo.");
803
+ if (this.logger)
804
+ this.logger.debug("Calling operation ServiceCatalogClient#getPrivateApplicationActionDownloadLogo.");
769
805
  const operationName = "getPrivateApplicationActionDownloadLogo";
770
806
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/service-catalog/20210527/PrivateApplication/GetPrivateApplicationActionDownloadLogo";
771
807
  const pathParams = {
@@ -778,6 +814,8 @@ class ServiceCatalogClient {
778
814
  };
779
815
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
780
816
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPrivateApplicationActionDownloadLogoRequest.retryConfiguration, specRetryConfiguration);
817
+ if (this.logger)
818
+ retrier.logger = this.logger;
781
819
  const request = yield oci_common_1.composeRequest({
782
820
  baseEndpoint: this._endpoint,
783
821
  defaultHeaders: this._defaultHeaders,
@@ -815,11 +853,12 @@ class ServiceCatalogClient {
815
853
  * @param GetPrivateApplicationPackageRequest
816
854
  * @return GetPrivateApplicationPackageResponse
817
855
  * @throws OciError when an error occurs
818
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/servicecatalog/GetPrivateApplicationPackage.ts.html |here} to see how to use GetPrivateApplicationPackage API.
856
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/servicecatalog/GetPrivateApplicationPackage.ts.html |here} to see how to use GetPrivateApplicationPackage API.
819
857
  */
820
858
  getPrivateApplicationPackage(getPrivateApplicationPackageRequest) {
821
859
  return __awaiter(this, void 0, void 0, function* () {
822
- oci_common_1.logger.debug("Calling operation ServiceCatalogClient#getPrivateApplicationPackage.");
860
+ if (this.logger)
861
+ this.logger.debug("Calling operation ServiceCatalogClient#getPrivateApplicationPackage.");
823
862
  const operationName = "getPrivateApplicationPackage";
824
863
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/service-catalog/20210527/PrivateApplicationPackage/GetPrivateApplicationPackage";
825
864
  const pathParams = {
@@ -832,6 +871,8 @@ class ServiceCatalogClient {
832
871
  };
833
872
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
834
873
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPrivateApplicationPackageRequest.retryConfiguration, specRetryConfiguration);
874
+ if (this.logger)
875
+ retrier.logger = this.logger;
835
876
  const request = yield oci_common_1.composeRequest({
836
877
  baseEndpoint: this._endpoint,
837
878
  defaultHeaders: this._defaultHeaders,
@@ -875,11 +916,12 @@ class ServiceCatalogClient {
875
916
  * @param GetPrivateApplicationPackageActionDownloadConfigRequest
876
917
  * @return GetPrivateApplicationPackageActionDownloadConfigResponse
877
918
  * @throws OciError when an error occurs
878
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/servicecatalog/GetPrivateApplicationPackageActionDownloadConfig.ts.html |here} to see how to use GetPrivateApplicationPackageActionDownloadConfig API.
919
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/servicecatalog/GetPrivateApplicationPackageActionDownloadConfig.ts.html |here} to see how to use GetPrivateApplicationPackageActionDownloadConfig API.
879
920
  */
880
921
  getPrivateApplicationPackageActionDownloadConfig(getPrivateApplicationPackageActionDownloadConfigRequest) {
881
922
  return __awaiter(this, void 0, void 0, function* () {
882
- oci_common_1.logger.debug("Calling operation ServiceCatalogClient#getPrivateApplicationPackageActionDownloadConfig.");
923
+ if (this.logger)
924
+ this.logger.debug("Calling operation ServiceCatalogClient#getPrivateApplicationPackageActionDownloadConfig.");
883
925
  const operationName = "getPrivateApplicationPackageActionDownloadConfig";
884
926
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/service-catalog/20210527/PrivateApplicationPackage/GetPrivateApplicationPackageActionDownloadConfig";
885
927
  const pathParams = {
@@ -892,6 +934,8 @@ class ServiceCatalogClient {
892
934
  };
893
935
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
894
936
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPrivateApplicationPackageActionDownloadConfigRequest.retryConfiguration, specRetryConfiguration);
937
+ if (this.logger)
938
+ retrier.logger = this.logger;
895
939
  const request = yield oci_common_1.composeRequest({
896
940
  baseEndpoint: this._endpoint,
897
941
  defaultHeaders: this._defaultHeaders,
@@ -929,11 +973,12 @@ class ServiceCatalogClient {
929
973
  * @param GetServiceCatalogRequest
930
974
  * @return GetServiceCatalogResponse
931
975
  * @throws OciError when an error occurs
932
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/servicecatalog/GetServiceCatalog.ts.html |here} to see how to use GetServiceCatalog API.
976
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/servicecatalog/GetServiceCatalog.ts.html |here} to see how to use GetServiceCatalog API.
933
977
  */
934
978
  getServiceCatalog(getServiceCatalogRequest) {
935
979
  return __awaiter(this, void 0, void 0, function* () {
936
- oci_common_1.logger.debug("Calling operation ServiceCatalogClient#getServiceCatalog.");
980
+ if (this.logger)
981
+ this.logger.debug("Calling operation ServiceCatalogClient#getServiceCatalog.");
937
982
  const operationName = "getServiceCatalog";
938
983
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/service-catalog/20210527/ServiceCatalog/GetServiceCatalog";
939
984
  const pathParams = {
@@ -946,6 +991,8 @@ class ServiceCatalogClient {
946
991
  };
947
992
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
948
993
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getServiceCatalogRequest.retryConfiguration, specRetryConfiguration);
994
+ if (this.logger)
995
+ retrier.logger = this.logger;
949
996
  const request = yield oci_common_1.composeRequest({
950
997
  baseEndpoint: this._endpoint,
951
998
  defaultHeaders: this._defaultHeaders,
@@ -989,11 +1036,12 @@ class ServiceCatalogClient {
989
1036
  * @param GetServiceCatalogAssociationRequest
990
1037
  * @return GetServiceCatalogAssociationResponse
991
1038
  * @throws OciError when an error occurs
992
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/servicecatalog/GetServiceCatalogAssociation.ts.html |here} to see how to use GetServiceCatalogAssociation API.
1039
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/servicecatalog/GetServiceCatalogAssociation.ts.html |here} to see how to use GetServiceCatalogAssociation API.
993
1040
  */
994
1041
  getServiceCatalogAssociation(getServiceCatalogAssociationRequest) {
995
1042
  return __awaiter(this, void 0, void 0, function* () {
996
- oci_common_1.logger.debug("Calling operation ServiceCatalogClient#getServiceCatalogAssociation.");
1043
+ if (this.logger)
1044
+ this.logger.debug("Calling operation ServiceCatalogClient#getServiceCatalogAssociation.");
997
1045
  const operationName = "getServiceCatalogAssociation";
998
1046
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/service-catalog/20210527/ServiceCatalogAssociation/GetServiceCatalogAssociation";
999
1047
  const pathParams = {
@@ -1006,6 +1054,8 @@ class ServiceCatalogClient {
1006
1054
  };
1007
1055
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1008
1056
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getServiceCatalogAssociationRequest.retryConfiguration, specRetryConfiguration);
1057
+ if (this.logger)
1058
+ retrier.logger = this.logger;
1009
1059
  const request = yield oci_common_1.composeRequest({
1010
1060
  baseEndpoint: this._endpoint,
1011
1061
  defaultHeaders: this._defaultHeaders,
@@ -1049,11 +1099,12 @@ class ServiceCatalogClient {
1049
1099
  * @param GetWorkRequestRequest
1050
1100
  * @return GetWorkRequestResponse
1051
1101
  * @throws OciError when an error occurs
1052
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/servicecatalog/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1102
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/servicecatalog/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1053
1103
  */
1054
1104
  getWorkRequest(getWorkRequestRequest) {
1055
1105
  return __awaiter(this, void 0, void 0, function* () {
1056
- oci_common_1.logger.debug("Calling operation ServiceCatalogClient#getWorkRequest.");
1106
+ if (this.logger)
1107
+ this.logger.debug("Calling operation ServiceCatalogClient#getWorkRequest.");
1057
1108
  const operationName = "getWorkRequest";
1058
1109
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/service-catalog/20210527/WorkRequest/GetWorkRequest";
1059
1110
  const pathParams = {
@@ -1066,6 +1117,8 @@ class ServiceCatalogClient {
1066
1117
  };
1067
1118
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1068
1119
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
1120
+ if (this.logger)
1121
+ retrier.logger = this.logger;
1069
1122
  const request = yield oci_common_1.composeRequest({
1070
1123
  baseEndpoint: this._endpoint,
1071
1124
  defaultHeaders: this._defaultHeaders,
@@ -1117,11 +1170,12 @@ class ServiceCatalogClient {
1117
1170
  * @param ListApplicationsRequest
1118
1171
  * @return ListApplicationsResponse
1119
1172
  * @throws OciError when an error occurs
1120
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/servicecatalog/ListApplications.ts.html |here} to see how to use ListApplications API.
1173
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/servicecatalog/ListApplications.ts.html |here} to see how to use ListApplications API.
1121
1174
  */
1122
1175
  listApplications(listApplicationsRequest) {
1123
1176
  return __awaiter(this, void 0, void 0, function* () {
1124
- oci_common_1.logger.debug("Calling operation ServiceCatalogClient#listApplications.");
1177
+ if (this.logger)
1178
+ this.logger.debug("Calling operation ServiceCatalogClient#listApplications.");
1125
1179
  const operationName = "listApplications";
1126
1180
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/service-catalog/20210527/ApplicationSummary/ListApplications";
1127
1181
  const pathParams = {};
@@ -1145,6 +1199,8 @@ class ServiceCatalogClient {
1145
1199
  };
1146
1200
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1147
1201
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listApplicationsRequest.retryConfiguration, specRetryConfiguration);
1202
+ if (this.logger)
1203
+ retrier.logger = this.logger;
1148
1204
  const request = yield oci_common_1.composeRequest({
1149
1205
  baseEndpoint: this._endpoint,
1150
1206
  defaultHeaders: this._defaultHeaders,
@@ -1188,11 +1244,12 @@ class ServiceCatalogClient {
1188
1244
  * @param ListPrivateApplicationPackagesRequest
1189
1245
  * @return ListPrivateApplicationPackagesResponse
1190
1246
  * @throws OciError when an error occurs
1191
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/servicecatalog/ListPrivateApplicationPackages.ts.html |here} to see how to use ListPrivateApplicationPackages API.
1247
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/servicecatalog/ListPrivateApplicationPackages.ts.html |here} to see how to use ListPrivateApplicationPackages API.
1192
1248
  */
1193
1249
  listPrivateApplicationPackages(listPrivateApplicationPackagesRequest) {
1194
1250
  return __awaiter(this, void 0, void 0, function* () {
1195
- oci_common_1.logger.debug("Calling operation ServiceCatalogClient#listPrivateApplicationPackages.");
1251
+ if (this.logger)
1252
+ this.logger.debug("Calling operation ServiceCatalogClient#listPrivateApplicationPackages.");
1196
1253
  const operationName = "listPrivateApplicationPackages";
1197
1254
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/service-catalog/20210527/PrivateApplicationPackage/ListPrivateApplicationPackages";
1198
1255
  const pathParams = {};
@@ -1212,6 +1269,8 @@ class ServiceCatalogClient {
1212
1269
  };
1213
1270
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1214
1271
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPrivateApplicationPackagesRequest.retryConfiguration, specRetryConfiguration);
1272
+ if (this.logger)
1273
+ retrier.logger = this.logger;
1215
1274
  const request = yield oci_common_1.composeRequest({
1216
1275
  baseEndpoint: this._endpoint,
1217
1276
  defaultHeaders: this._defaultHeaders,
@@ -1255,11 +1314,12 @@ class ServiceCatalogClient {
1255
1314
  * @param ListPrivateApplicationsRequest
1256
1315
  * @return ListPrivateApplicationsResponse
1257
1316
  * @throws OciError when an error occurs
1258
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/servicecatalog/ListPrivateApplications.ts.html |here} to see how to use ListPrivateApplications API.
1317
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/servicecatalog/ListPrivateApplications.ts.html |here} to see how to use ListPrivateApplications API.
1259
1318
  */
1260
1319
  listPrivateApplications(listPrivateApplicationsRequest) {
1261
1320
  return __awaiter(this, void 0, void 0, function* () {
1262
- oci_common_1.logger.debug("Calling operation ServiceCatalogClient#listPrivateApplications.");
1321
+ if (this.logger)
1322
+ this.logger.debug("Calling operation ServiceCatalogClient#listPrivateApplications.");
1263
1323
  const operationName = "listPrivateApplications";
1264
1324
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/service-catalog/20210527/PrivateApplication/ListPrivateApplications";
1265
1325
  const pathParams = {};
@@ -1278,6 +1338,8 @@ class ServiceCatalogClient {
1278
1338
  };
1279
1339
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1280
1340
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPrivateApplicationsRequest.retryConfiguration, specRetryConfiguration);
1341
+ if (this.logger)
1342
+ retrier.logger = this.logger;
1281
1343
  const request = yield oci_common_1.composeRequest({
1282
1344
  baseEndpoint: this._endpoint,
1283
1345
  defaultHeaders: this._defaultHeaders,
@@ -1321,11 +1383,12 @@ class ServiceCatalogClient {
1321
1383
  * @param ListServiceCatalogAssociationsRequest
1322
1384
  * @return ListServiceCatalogAssociationsResponse
1323
1385
  * @throws OciError when an error occurs
1324
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/servicecatalog/ListServiceCatalogAssociations.ts.html |here} to see how to use ListServiceCatalogAssociations API.
1386
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/servicecatalog/ListServiceCatalogAssociations.ts.html |here} to see how to use ListServiceCatalogAssociations API.
1325
1387
  */
1326
1388
  listServiceCatalogAssociations(listServiceCatalogAssociationsRequest) {
1327
1389
  return __awaiter(this, void 0, void 0, function* () {
1328
- oci_common_1.logger.debug("Calling operation ServiceCatalogClient#listServiceCatalogAssociations.");
1390
+ if (this.logger)
1391
+ this.logger.debug("Calling operation ServiceCatalogClient#listServiceCatalogAssociations.");
1329
1392
  const operationName = "listServiceCatalogAssociations";
1330
1393
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/service-catalog/20210527/ServiceCatalogAssociation/ListServiceCatalogAssociations";
1331
1394
  const pathParams = {};
@@ -1345,6 +1408,8 @@ class ServiceCatalogClient {
1345
1408
  };
1346
1409
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1347
1410
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listServiceCatalogAssociationsRequest.retryConfiguration, specRetryConfiguration);
1411
+ if (this.logger)
1412
+ retrier.logger = this.logger;
1348
1413
  const request = yield oci_common_1.composeRequest({
1349
1414
  baseEndpoint: this._endpoint,
1350
1415
  defaultHeaders: this._defaultHeaders,
@@ -1388,11 +1453,12 @@ class ServiceCatalogClient {
1388
1453
  * @param ListServiceCatalogsRequest
1389
1454
  * @return ListServiceCatalogsResponse
1390
1455
  * @throws OciError when an error occurs
1391
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/servicecatalog/ListServiceCatalogs.ts.html |here} to see how to use ListServiceCatalogs API.
1456
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/servicecatalog/ListServiceCatalogs.ts.html |here} to see how to use ListServiceCatalogs API.
1392
1457
  */
1393
1458
  listServiceCatalogs(listServiceCatalogsRequest) {
1394
1459
  return __awaiter(this, void 0, void 0, function* () {
1395
- oci_common_1.logger.debug("Calling operation ServiceCatalogClient#listServiceCatalogs.");
1460
+ if (this.logger)
1461
+ this.logger.debug("Calling operation ServiceCatalogClient#listServiceCatalogs.");
1396
1462
  const operationName = "listServiceCatalogs";
1397
1463
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/service-catalog/20210527/ServiceCatalog/ListServiceCatalogs";
1398
1464
  const pathParams = {};
@@ -1411,6 +1477,8 @@ class ServiceCatalogClient {
1411
1477
  };
1412
1478
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1413
1479
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listServiceCatalogsRequest.retryConfiguration, specRetryConfiguration);
1480
+ if (this.logger)
1481
+ retrier.logger = this.logger;
1414
1482
  const request = yield oci_common_1.composeRequest({
1415
1483
  baseEndpoint: this._endpoint,
1416
1484
  defaultHeaders: this._defaultHeaders,
@@ -1455,11 +1523,12 @@ class ServiceCatalogClient {
1455
1523
  * @param ListWorkRequestErrorsRequest
1456
1524
  * @return ListWorkRequestErrorsResponse
1457
1525
  * @throws OciError when an error occurs
1458
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/servicecatalog/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1526
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/servicecatalog/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1459
1527
  */
1460
1528
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
1461
1529
  return __awaiter(this, void 0, void 0, function* () {
1462
- oci_common_1.logger.debug("Calling operation ServiceCatalogClient#listWorkRequestErrors.");
1530
+ if (this.logger)
1531
+ this.logger.debug("Calling operation ServiceCatalogClient#listWorkRequestErrors.");
1463
1532
  const operationName = "listWorkRequestErrors";
1464
1533
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/service-catalog/20210527/WorkRequestError/ListWorkRequestErrors";
1465
1534
  const pathParams = {
@@ -1477,6 +1546,8 @@ class ServiceCatalogClient {
1477
1546
  };
1478
1547
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1479
1548
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
1549
+ if (this.logger)
1550
+ retrier.logger = this.logger;
1480
1551
  const request = yield oci_common_1.composeRequest({
1481
1552
  baseEndpoint: this._endpoint,
1482
1553
  defaultHeaders: this._defaultHeaders,
@@ -1521,11 +1592,12 @@ class ServiceCatalogClient {
1521
1592
  * @param ListWorkRequestLogsRequest
1522
1593
  * @return ListWorkRequestLogsResponse
1523
1594
  * @throws OciError when an error occurs
1524
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/servicecatalog/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
1595
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/servicecatalog/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
1525
1596
  */
1526
1597
  listWorkRequestLogs(listWorkRequestLogsRequest) {
1527
1598
  return __awaiter(this, void 0, void 0, function* () {
1528
- oci_common_1.logger.debug("Calling operation ServiceCatalogClient#listWorkRequestLogs.");
1599
+ if (this.logger)
1600
+ this.logger.debug("Calling operation ServiceCatalogClient#listWorkRequestLogs.");
1529
1601
  const operationName = "listWorkRequestLogs";
1530
1602
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/service-catalog/20210527/WorkRequestLogEntry/ListWorkRequestLogs";
1531
1603
  const pathParams = {
@@ -1543,6 +1615,8 @@ class ServiceCatalogClient {
1543
1615
  };
1544
1616
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1545
1617
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
1618
+ if (this.logger)
1619
+ retrier.logger = this.logger;
1546
1620
  const request = yield oci_common_1.composeRequest({
1547
1621
  baseEndpoint: this._endpoint,
1548
1622
  defaultHeaders: this._defaultHeaders,
@@ -1587,11 +1661,12 @@ class ServiceCatalogClient {
1587
1661
  * @param ListWorkRequestsRequest
1588
1662
  * @return ListWorkRequestsResponse
1589
1663
  * @throws OciError when an error occurs
1590
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/servicecatalog/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1664
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/servicecatalog/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1591
1665
  */
1592
1666
  listWorkRequests(listWorkRequestsRequest) {
1593
1667
  return __awaiter(this, void 0, void 0, function* () {
1594
- oci_common_1.logger.debug("Calling operation ServiceCatalogClient#listWorkRequests.");
1668
+ if (this.logger)
1669
+ this.logger.debug("Calling operation ServiceCatalogClient#listWorkRequests.");
1595
1670
  const operationName = "listWorkRequests";
1596
1671
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/service-catalog/20210527/WorkRequest/ListWorkRequests";
1597
1672
  const pathParams = {};
@@ -1611,6 +1686,8 @@ class ServiceCatalogClient {
1611
1686
  };
1612
1687
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1613
1688
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
1689
+ if (this.logger)
1690
+ retrier.logger = this.logger;
1614
1691
  const request = yield oci_common_1.composeRequest({
1615
1692
  baseEndpoint: this._endpoint,
1616
1693
  defaultHeaders: this._defaultHeaders,
@@ -1654,11 +1731,12 @@ class ServiceCatalogClient {
1654
1731
  * @param UpdatePrivateApplicationRequest
1655
1732
  * @return UpdatePrivateApplicationResponse
1656
1733
  * @throws OciError when an error occurs
1657
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/servicecatalog/UpdatePrivateApplication.ts.html |here} to see how to use UpdatePrivateApplication API.
1734
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/servicecatalog/UpdatePrivateApplication.ts.html |here} to see how to use UpdatePrivateApplication API.
1658
1735
  */
1659
1736
  updatePrivateApplication(updatePrivateApplicationRequest) {
1660
1737
  return __awaiter(this, void 0, void 0, function* () {
1661
- oci_common_1.logger.debug("Calling operation ServiceCatalogClient#updatePrivateApplication.");
1738
+ if (this.logger)
1739
+ this.logger.debug("Calling operation ServiceCatalogClient#updatePrivateApplication.");
1662
1740
  const operationName = "updatePrivateApplication";
1663
1741
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/service-catalog/20210527/PrivateApplication/UpdatePrivateApplication";
1664
1742
  const pathParams = {
@@ -1672,6 +1750,8 @@ class ServiceCatalogClient {
1672
1750
  };
1673
1751
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1674
1752
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updatePrivateApplicationRequest.retryConfiguration, specRetryConfiguration);
1753
+ if (this.logger)
1754
+ retrier.logger = this.logger;
1675
1755
  const request = yield oci_common_1.composeRequest({
1676
1756
  baseEndpoint: this._endpoint,
1677
1757
  defaultHeaders: this._defaultHeaders,
@@ -1721,11 +1801,12 @@ class ServiceCatalogClient {
1721
1801
  * @param UpdateServiceCatalogRequest
1722
1802
  * @return UpdateServiceCatalogResponse
1723
1803
  * @throws OciError when an error occurs
1724
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/servicecatalog/UpdateServiceCatalog.ts.html |here} to see how to use UpdateServiceCatalog API.
1804
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/servicecatalog/UpdateServiceCatalog.ts.html |here} to see how to use UpdateServiceCatalog API.
1725
1805
  */
1726
1806
  updateServiceCatalog(updateServiceCatalogRequest) {
1727
1807
  return __awaiter(this, void 0, void 0, function* () {
1728
- oci_common_1.logger.debug("Calling operation ServiceCatalogClient#updateServiceCatalog.");
1808
+ if (this.logger)
1809
+ this.logger.debug("Calling operation ServiceCatalogClient#updateServiceCatalog.");
1729
1810
  const operationName = "updateServiceCatalog";
1730
1811
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/service-catalog/20210527/ServiceCatalog/UpdateServiceCatalog";
1731
1812
  const pathParams = {
@@ -1739,6 +1820,8 @@ class ServiceCatalogClient {
1739
1820
  };
1740
1821
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1741
1822
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateServiceCatalogRequest.retryConfiguration, specRetryConfiguration);
1823
+ if (this.logger)
1824
+ retrier.logger = this.logger;
1742
1825
  const request = yield oci_common_1.composeRequest({
1743
1826
  baseEndpoint: this._endpoint,
1744
1827
  defaultHeaders: this._defaultHeaders,