oci-globallydistributeddatabase 2.79.1 → 2.80.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 (43) hide show
  1. package/lib/client.d.ts +31 -30
  2. package/lib/client.js +153 -61
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/create-sharded-database-details.js +4 -2
  5. package/lib/model/create-sharded-database-details.js.map +1 -1
  6. package/lib/model/patch-instruction.js +4 -2
  7. package/lib/model/patch-instruction.js.map +1 -1
  8. package/lib/model/prevalidate-payload.js +4 -2
  9. package/lib/model/prevalidate-payload.js.map +1 -1
  10. package/lib/model/sharded-database-summary.js +4 -2
  11. package/lib/model/sharded-database-summary.js.map +1 -1
  12. package/lib/model/sharded-database.js +4 -2
  13. package/lib/model/sharded-database.js.map +1 -1
  14. package/lib/request/change-private-endpoint-compartment-request.d.ts +1 -1
  15. package/lib/request/change-sharded-database-compartment-request.d.ts +1 -1
  16. package/lib/request/configure-sharded-database-gsms-request.d.ts +1 -1
  17. package/lib/request/configure-sharding-request.d.ts +1 -1
  18. package/lib/request/create-private-endpoint-request.d.ts +1 -1
  19. package/lib/request/create-sharded-database-request.d.ts +1 -1
  20. package/lib/request/delete-private-endpoint-request.d.ts +1 -1
  21. package/lib/request/delete-sharded-database-request.d.ts +1 -1
  22. package/lib/request/download-gsm-certificate-signing-request-request.d.ts +1 -1
  23. package/lib/request/fetch-connection-string-request.d.ts +1 -1
  24. package/lib/request/fetch-shardable-cloud-autonomous-vm-clusters-request.d.ts +1 -1
  25. package/lib/request/generate-gsm-certificate-signing-request-request.d.ts +1 -1
  26. package/lib/request/generate-wallet-request.d.ts +1 -1
  27. package/lib/request/get-private-endpoint-request.d.ts +1 -1
  28. package/lib/request/get-sharded-database-request.d.ts +1 -1
  29. package/lib/request/get-work-request-request.d.ts +1 -1
  30. package/lib/request/list-private-endpoints-request.d.ts +1 -1
  31. package/lib/request/list-sharded-databases-request.d.ts +1 -1
  32. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  33. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  34. package/lib/request/list-work-requests-request.d.ts +1 -1
  35. package/lib/request/patch-sharded-database-request.d.ts +1 -1
  36. package/lib/request/prevalidate-sharded-database-request.d.ts +1 -1
  37. package/lib/request/start-sharded-database-request.d.ts +1 -1
  38. package/lib/request/stop-sharded-database-request.d.ts +1 -1
  39. package/lib/request/update-private-endpoint-request.d.ts +1 -1
  40. package/lib/request/update-sharded-database-request.d.ts +1 -1
  41. package/lib/request/upload-signed-certificate-and-generate-wallet-request.d.ts +1 -1
  42. package/lib/request/validate-network-request.d.ts +1 -1
  43. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -57,7 +57,7 @@ var ShardedDatabaseServiceApiKeys;
57
57
  */
58
58
  class ShardedDatabaseServiceClient {
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 ShardedDatabaseServiceClient {
116
116
  set endpoint(endpoint) {
117
117
  this._endpoint = endpoint;
118
118
  this._endpoint = this._endpoint + "/20230301";
119
- oci_common_1.logger.info(`ShardedDatabaseServiceClient endpoint set to ${this._endpoint}`);
119
+ if (this.logger)
120
+ this.logger.info(`ShardedDatabaseServiceClient 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 ShardedDatabaseServiceClient {
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(ShardedDatabaseServiceClient.serviceEndpointTemplate, this._region, ShardedDatabaseServiceClient.endpointServiceName);
131
136
  }
@@ -192,11 +197,12 @@ class ShardedDatabaseServiceClient {
192
197
  * @param ChangePrivateEndpointCompartmentRequest
193
198
  * @return ChangePrivateEndpointCompartmentResponse
194
199
  * @throws OciError when an error occurs
195
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/globallydistributeddatabase/ChangePrivateEndpointCompartment.ts.html |here} to see how to use ChangePrivateEndpointCompartment API.
200
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/globallydistributeddatabase/ChangePrivateEndpointCompartment.ts.html |here} to see how to use ChangePrivateEndpointCompartment API.
196
201
  */
197
202
  changePrivateEndpointCompartment(changePrivateEndpointCompartmentRequest) {
198
203
  return __awaiter(this, void 0, void 0, function* () {
199
- oci_common_1.logger.debug("Calling operation ShardedDatabaseServiceClient#changePrivateEndpointCompartment.");
204
+ if (this.logger)
205
+ this.logger.debug("Calling operation ShardedDatabaseServiceClient#changePrivateEndpointCompartment.");
200
206
  const operationName = "changePrivateEndpointCompartment";
201
207
  const apiReferenceLink = "";
202
208
  const pathParams = {
@@ -211,6 +217,8 @@ class ShardedDatabaseServiceClient {
211
217
  };
212
218
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
213
219
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changePrivateEndpointCompartmentRequest.retryConfiguration, specRetryConfiguration);
220
+ if (this.logger)
221
+ retrier.logger = this.logger;
214
222
  const request = yield oci_common_1.composeRequest({
215
223
  baseEndpoint: this._endpoint,
216
224
  defaultHeaders: this._defaultHeaders,
@@ -252,11 +260,12 @@ class ShardedDatabaseServiceClient {
252
260
  * @param ChangeShardedDatabaseCompartmentRequest
253
261
  * @return ChangeShardedDatabaseCompartmentResponse
254
262
  * @throws OciError when an error occurs
255
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/globallydistributeddatabase/ChangeShardedDatabaseCompartment.ts.html |here} to see how to use ChangeShardedDatabaseCompartment API.
263
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/globallydistributeddatabase/ChangeShardedDatabaseCompartment.ts.html |here} to see how to use ChangeShardedDatabaseCompartment API.
256
264
  */
257
265
  changeShardedDatabaseCompartment(changeShardedDatabaseCompartmentRequest) {
258
266
  return __awaiter(this, void 0, void 0, function* () {
259
- oci_common_1.logger.debug("Calling operation ShardedDatabaseServiceClient#changeShardedDatabaseCompartment.");
267
+ if (this.logger)
268
+ this.logger.debug("Calling operation ShardedDatabaseServiceClient#changeShardedDatabaseCompartment.");
260
269
  const operationName = "changeShardedDatabaseCompartment";
261
270
  const apiReferenceLink = "";
262
271
  const pathParams = {
@@ -271,6 +280,8 @@ class ShardedDatabaseServiceClient {
271
280
  };
272
281
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
273
282
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeShardedDatabaseCompartmentRequest.retryConfiguration, specRetryConfiguration);
283
+ if (this.logger)
284
+ retrier.logger = this.logger;
274
285
  const request = yield oci_common_1.composeRequest({
275
286
  baseEndpoint: this._endpoint,
276
287
  defaultHeaders: this._defaultHeaders,
@@ -315,11 +326,12 @@ class ShardedDatabaseServiceClient {
315
326
  * @param ConfigureShardedDatabaseGsmsRequest
316
327
  * @return ConfigureShardedDatabaseGsmsResponse
317
328
  * @throws OciError when an error occurs
318
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/globallydistributeddatabase/ConfigureShardedDatabaseGsms.ts.html |here} to see how to use ConfigureShardedDatabaseGsms API.
329
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/globallydistributeddatabase/ConfigureShardedDatabaseGsms.ts.html |here} to see how to use ConfigureShardedDatabaseGsms API.
319
330
  */
320
331
  configureShardedDatabaseGsms(configureShardedDatabaseGsmsRequest) {
321
332
  return __awaiter(this, void 0, void 0, function* () {
322
- oci_common_1.logger.debug("Calling operation ShardedDatabaseServiceClient#configureShardedDatabaseGsms.");
333
+ if (this.logger)
334
+ this.logger.debug("Calling operation ShardedDatabaseServiceClient#configureShardedDatabaseGsms.");
323
335
  const operationName = "configureShardedDatabaseGsms";
324
336
  const apiReferenceLink = "";
325
337
  const pathParams = {
@@ -334,6 +346,8 @@ class ShardedDatabaseServiceClient {
334
346
  };
335
347
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
336
348
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, configureShardedDatabaseGsmsRequest.retryConfiguration, specRetryConfiguration);
349
+ if (this.logger)
350
+ retrier.logger = this.logger;
337
351
  const request = yield oci_common_1.composeRequest({
338
352
  baseEndpoint: this._endpoint,
339
353
  defaultHeaders: this._defaultHeaders,
@@ -379,11 +393,12 @@ class ShardedDatabaseServiceClient {
379
393
  * @param ConfigureShardingRequest
380
394
  * @return ConfigureShardingResponse
381
395
  * @throws OciError when an error occurs
382
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/globallydistributeddatabase/ConfigureSharding.ts.html |here} to see how to use ConfigureSharding API.
396
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/globallydistributeddatabase/ConfigureSharding.ts.html |here} to see how to use ConfigureSharding API.
383
397
  */
384
398
  configureSharding(configureShardingRequest) {
385
399
  return __awaiter(this, void 0, void 0, function* () {
386
- oci_common_1.logger.debug("Calling operation ShardedDatabaseServiceClient#configureSharding.");
400
+ if (this.logger)
401
+ this.logger.debug("Calling operation ShardedDatabaseServiceClient#configureSharding.");
387
402
  const operationName = "configureSharding";
388
403
  const apiReferenceLink = "";
389
404
  const pathParams = {
@@ -400,6 +415,8 @@ class ShardedDatabaseServiceClient {
400
415
  };
401
416
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
402
417
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, configureShardingRequest.retryConfiguration, specRetryConfiguration);
418
+ if (this.logger)
419
+ retrier.logger = this.logger;
403
420
  const request = yield oci_common_1.composeRequest({
404
421
  baseEndpoint: this._endpoint,
405
422
  defaultHeaders: this._defaultHeaders,
@@ -440,11 +457,12 @@ class ShardedDatabaseServiceClient {
440
457
  * @param CreatePrivateEndpointRequest
441
458
  * @return CreatePrivateEndpointResponse
442
459
  * @throws OciError when an error occurs
443
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/globallydistributeddatabase/CreatePrivateEndpoint.ts.html |here} to see how to use CreatePrivateEndpoint API.
460
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/globallydistributeddatabase/CreatePrivateEndpoint.ts.html |here} to see how to use CreatePrivateEndpoint API.
444
461
  */
445
462
  createPrivateEndpoint(createPrivateEndpointRequest) {
446
463
  return __awaiter(this, void 0, void 0, function* () {
447
- oci_common_1.logger.debug("Calling operation ShardedDatabaseServiceClient#createPrivateEndpoint.");
464
+ if (this.logger)
465
+ this.logger.debug("Calling operation ShardedDatabaseServiceClient#createPrivateEndpoint.");
448
466
  const operationName = "createPrivateEndpoint";
449
467
  const apiReferenceLink = "";
450
468
  const pathParams = {};
@@ -456,6 +474,8 @@ class ShardedDatabaseServiceClient {
456
474
  };
457
475
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
458
476
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createPrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
477
+ if (this.logger)
478
+ retrier.logger = this.logger;
459
479
  const request = yield oci_common_1.composeRequest({
460
480
  baseEndpoint: this._endpoint,
461
481
  defaultHeaders: this._defaultHeaders,
@@ -506,11 +526,12 @@ class ShardedDatabaseServiceClient {
506
526
  * @param CreateShardedDatabaseRequest
507
527
  * @return CreateShardedDatabaseResponse
508
528
  * @throws OciError when an error occurs
509
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/globallydistributeddatabase/CreateShardedDatabase.ts.html |here} to see how to use CreateShardedDatabase API.
529
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/globallydistributeddatabase/CreateShardedDatabase.ts.html |here} to see how to use CreateShardedDatabase API.
510
530
  */
511
531
  createShardedDatabase(createShardedDatabaseRequest) {
512
532
  return __awaiter(this, void 0, void 0, function* () {
513
- oci_common_1.logger.debug("Calling operation ShardedDatabaseServiceClient#createShardedDatabase.");
533
+ if (this.logger)
534
+ this.logger.debug("Calling operation ShardedDatabaseServiceClient#createShardedDatabase.");
514
535
  const operationName = "createShardedDatabase";
515
536
  const apiReferenceLink = "";
516
537
  const pathParams = {};
@@ -522,6 +543,8 @@ class ShardedDatabaseServiceClient {
522
543
  };
523
544
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
524
545
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createShardedDatabaseRequest.retryConfiguration, specRetryConfiguration);
546
+ if (this.logger)
547
+ retrier.logger = this.logger;
525
548
  const request = yield oci_common_1.composeRequest({
526
549
  baseEndpoint: this._endpoint,
527
550
  defaultHeaders: this._defaultHeaders,
@@ -572,11 +595,12 @@ class ShardedDatabaseServiceClient {
572
595
  * @param DeletePrivateEndpointRequest
573
596
  * @return DeletePrivateEndpointResponse
574
597
  * @throws OciError when an error occurs
575
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/globallydistributeddatabase/DeletePrivateEndpoint.ts.html |here} to see how to use DeletePrivateEndpoint API.
598
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/globallydistributeddatabase/DeletePrivateEndpoint.ts.html |here} to see how to use DeletePrivateEndpoint API.
576
599
  */
577
600
  deletePrivateEndpoint(deletePrivateEndpointRequest) {
578
601
  return __awaiter(this, void 0, void 0, function* () {
579
- oci_common_1.logger.debug("Calling operation ShardedDatabaseServiceClient#deletePrivateEndpoint.");
602
+ if (this.logger)
603
+ this.logger.debug("Calling operation ShardedDatabaseServiceClient#deletePrivateEndpoint.");
580
604
  const operationName = "deletePrivateEndpoint";
581
605
  const apiReferenceLink = "";
582
606
  const pathParams = {
@@ -591,6 +615,8 @@ class ShardedDatabaseServiceClient {
591
615
  };
592
616
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
593
617
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deletePrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
618
+ if (this.logger)
619
+ retrier.logger = this.logger;
594
620
  const request = yield oci_common_1.composeRequest({
595
621
  baseEndpoint: this._endpoint,
596
622
  defaultHeaders: this._defaultHeaders,
@@ -631,11 +657,12 @@ class ShardedDatabaseServiceClient {
631
657
  * @param DeleteShardedDatabaseRequest
632
658
  * @return DeleteShardedDatabaseResponse
633
659
  * @throws OciError when an error occurs
634
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/globallydistributeddatabase/DeleteShardedDatabase.ts.html |here} to see how to use DeleteShardedDatabase API.
660
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/globallydistributeddatabase/DeleteShardedDatabase.ts.html |here} to see how to use DeleteShardedDatabase API.
635
661
  */
636
662
  deleteShardedDatabase(deleteShardedDatabaseRequest) {
637
663
  return __awaiter(this, void 0, void 0, function* () {
638
- oci_common_1.logger.debug("Calling operation ShardedDatabaseServiceClient#deleteShardedDatabase.");
664
+ if (this.logger)
665
+ this.logger.debug("Calling operation ShardedDatabaseServiceClient#deleteShardedDatabase.");
639
666
  const operationName = "deleteShardedDatabase";
640
667
  const apiReferenceLink = "";
641
668
  const pathParams = {
@@ -650,6 +677,8 @@ class ShardedDatabaseServiceClient {
650
677
  };
651
678
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
652
679
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteShardedDatabaseRequest.retryConfiguration, specRetryConfiguration);
680
+ if (this.logger)
681
+ retrier.logger = this.logger;
653
682
  const request = yield oci_common_1.composeRequest({
654
683
  baseEndpoint: this._endpoint,
655
684
  defaultHeaders: this._defaultHeaders,
@@ -693,11 +722,12 @@ class ShardedDatabaseServiceClient {
693
722
  * @param DownloadGsmCertificateSigningRequestRequest
694
723
  * @return DownloadGsmCertificateSigningRequestResponse
695
724
  * @throws OciError when an error occurs
696
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/globallydistributeddatabase/DownloadGsmCertificateSigningRequest.ts.html |here} to see how to use DownloadGsmCertificateSigningRequest API.
725
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/globallydistributeddatabase/DownloadGsmCertificateSigningRequest.ts.html |here} to see how to use DownloadGsmCertificateSigningRequest API.
697
726
  */
698
727
  downloadGsmCertificateSigningRequest(downloadGsmCertificateSigningRequestRequest) {
699
728
  return __awaiter(this, void 0, void 0, function* () {
700
- oci_common_1.logger.debug("Calling operation ShardedDatabaseServiceClient#downloadGsmCertificateSigningRequest.");
729
+ if (this.logger)
730
+ this.logger.debug("Calling operation ShardedDatabaseServiceClient#downloadGsmCertificateSigningRequest.");
701
731
  const operationName = "downloadGsmCertificateSigningRequest";
702
732
  const apiReferenceLink = "";
703
733
  const pathParams = {
@@ -712,6 +742,8 @@ class ShardedDatabaseServiceClient {
712
742
  };
713
743
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
714
744
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, downloadGsmCertificateSigningRequestRequest.retryConfiguration, specRetryConfiguration);
745
+ if (this.logger)
746
+ retrier.logger = this.logger;
715
747
  const request = yield oci_common_1.composeRequest({
716
748
  baseEndpoint: this._endpoint,
717
749
  defaultHeaders: this._defaultHeaders,
@@ -765,11 +797,12 @@ class ShardedDatabaseServiceClient {
765
797
  * @param FetchConnectionStringRequest
766
798
  * @return FetchConnectionStringResponse
767
799
  * @throws OciError when an error occurs
768
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/globallydistributeddatabase/FetchConnectionString.ts.html |here} to see how to use FetchConnectionString API.
800
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/globallydistributeddatabase/FetchConnectionString.ts.html |here} to see how to use FetchConnectionString API.
769
801
  */
770
802
  fetchConnectionString(fetchConnectionStringRequest) {
771
803
  return __awaiter(this, void 0, void 0, function* () {
772
- oci_common_1.logger.debug("Calling operation ShardedDatabaseServiceClient#fetchConnectionString.");
804
+ if (this.logger)
805
+ this.logger.debug("Calling operation ShardedDatabaseServiceClient#fetchConnectionString.");
773
806
  const operationName = "fetchConnectionString";
774
807
  const apiReferenceLink = "";
775
808
  const pathParams = {
@@ -784,6 +817,8 @@ class ShardedDatabaseServiceClient {
784
817
  };
785
818
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
786
819
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, fetchConnectionStringRequest.retryConfiguration, specRetryConfiguration);
820
+ if (this.logger)
821
+ retrier.logger = this.logger;
787
822
  const request = yield oci_common_1.composeRequest({
788
823
  baseEndpoint: this._endpoint,
789
824
  defaultHeaders: this._defaultHeaders,
@@ -828,11 +863,12 @@ class ShardedDatabaseServiceClient {
828
863
  * @param FetchShardableCloudAutonomousVmClustersRequest
829
864
  * @return FetchShardableCloudAutonomousVmClustersResponse
830
865
  * @throws OciError when an error occurs
831
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/globallydistributeddatabase/FetchShardableCloudAutonomousVmClusters.ts.html |here} to see how to use FetchShardableCloudAutonomousVmClusters API.
866
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/globallydistributeddatabase/FetchShardableCloudAutonomousVmClusters.ts.html |here} to see how to use FetchShardableCloudAutonomousVmClusters API.
832
867
  */
833
868
  fetchShardableCloudAutonomousVmClusters(fetchShardableCloudAutonomousVmClustersRequest) {
834
869
  return __awaiter(this, void 0, void 0, function* () {
835
- oci_common_1.logger.debug("Calling operation ShardedDatabaseServiceClient#fetchShardableCloudAutonomousVmClusters.");
870
+ if (this.logger)
871
+ this.logger.debug("Calling operation ShardedDatabaseServiceClient#fetchShardableCloudAutonomousVmClusters.");
836
872
  const operationName = "fetchShardableCloudAutonomousVmClusters";
837
873
  const apiReferenceLink = "";
838
874
  const pathParams = {};
@@ -844,6 +880,8 @@ class ShardedDatabaseServiceClient {
844
880
  };
845
881
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
846
882
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, fetchShardableCloudAutonomousVmClustersRequest.retryConfiguration, specRetryConfiguration);
883
+ if (this.logger)
884
+ retrier.logger = this.logger;
847
885
  const request = yield oci_common_1.composeRequest({
848
886
  baseEndpoint: this._endpoint,
849
887
  defaultHeaders: this._defaultHeaders,
@@ -886,11 +924,12 @@ class ShardedDatabaseServiceClient {
886
924
  * @param GenerateGsmCertificateSigningRequestRequest
887
925
  * @return GenerateGsmCertificateSigningRequestResponse
888
926
  * @throws OciError when an error occurs
889
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/globallydistributeddatabase/GenerateGsmCertificateSigningRequest.ts.html |here} to see how to use GenerateGsmCertificateSigningRequest API.
927
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/globallydistributeddatabase/GenerateGsmCertificateSigningRequest.ts.html |here} to see how to use GenerateGsmCertificateSigningRequest API.
890
928
  */
891
929
  generateGsmCertificateSigningRequest(generateGsmCertificateSigningRequestRequest) {
892
930
  return __awaiter(this, void 0, void 0, function* () {
893
- oci_common_1.logger.debug("Calling operation ShardedDatabaseServiceClient#generateGsmCertificateSigningRequest.");
931
+ if (this.logger)
932
+ this.logger.debug("Calling operation ShardedDatabaseServiceClient#generateGsmCertificateSigningRequest.");
894
933
  const operationName = "generateGsmCertificateSigningRequest";
895
934
  const apiReferenceLink = "";
896
935
  const pathParams = {
@@ -905,6 +944,8 @@ class ShardedDatabaseServiceClient {
905
944
  };
906
945
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
907
946
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, generateGsmCertificateSigningRequestRequest.retryConfiguration, specRetryConfiguration);
947
+ if (this.logger)
948
+ retrier.logger = this.logger;
908
949
  const request = yield oci_common_1.composeRequest({
909
950
  baseEndpoint: this._endpoint,
910
951
  defaultHeaders: this._defaultHeaders,
@@ -945,11 +986,12 @@ class ShardedDatabaseServiceClient {
945
986
  * @param GenerateWalletRequest
946
987
  * @return GenerateWalletResponse
947
988
  * @throws OciError when an error occurs
948
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/globallydistributeddatabase/GenerateWallet.ts.html |here} to see how to use GenerateWallet API.
989
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/globallydistributeddatabase/GenerateWallet.ts.html |here} to see how to use GenerateWallet API.
949
990
  */
950
991
  generateWallet(generateWalletRequest) {
951
992
  return __awaiter(this, void 0, void 0, function* () {
952
- oci_common_1.logger.debug("Calling operation ShardedDatabaseServiceClient#generateWallet.");
993
+ if (this.logger)
994
+ this.logger.debug("Calling operation ShardedDatabaseServiceClient#generateWallet.");
953
995
  const operationName = "generateWallet";
954
996
  const apiReferenceLink = "";
955
997
  const pathParams = {
@@ -964,6 +1006,8 @@ class ShardedDatabaseServiceClient {
964
1006
  };
965
1007
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
966
1008
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, generateWalletRequest.retryConfiguration, specRetryConfiguration);
1009
+ if (this.logger)
1010
+ retrier.logger = this.logger;
967
1011
  const request = yield oci_common_1.composeRequest({
968
1012
  baseEndpoint: this._endpoint,
969
1013
  defaultHeaders: this._defaultHeaders,
@@ -1018,11 +1062,12 @@ class ShardedDatabaseServiceClient {
1018
1062
  * @param GetPrivateEndpointRequest
1019
1063
  * @return GetPrivateEndpointResponse
1020
1064
  * @throws OciError when an error occurs
1021
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/globallydistributeddatabase/GetPrivateEndpoint.ts.html |here} to see how to use GetPrivateEndpoint API.
1065
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/globallydistributeddatabase/GetPrivateEndpoint.ts.html |here} to see how to use GetPrivateEndpoint API.
1022
1066
  */
1023
1067
  getPrivateEndpoint(getPrivateEndpointRequest) {
1024
1068
  return __awaiter(this, void 0, void 0, function* () {
1025
- oci_common_1.logger.debug("Calling operation ShardedDatabaseServiceClient#getPrivateEndpoint.");
1069
+ if (this.logger)
1070
+ this.logger.debug("Calling operation ShardedDatabaseServiceClient#getPrivateEndpoint.");
1026
1071
  const operationName = "getPrivateEndpoint";
1027
1072
  const apiReferenceLink = "";
1028
1073
  const pathParams = {
@@ -1035,6 +1080,8 @@ class ShardedDatabaseServiceClient {
1035
1080
  };
1036
1081
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1037
1082
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
1083
+ if (this.logger)
1084
+ retrier.logger = this.logger;
1038
1085
  const request = yield oci_common_1.composeRequest({
1039
1086
  baseEndpoint: this._endpoint,
1040
1087
  defaultHeaders: this._defaultHeaders,
@@ -1079,11 +1126,12 @@ class ShardedDatabaseServiceClient {
1079
1126
  * @param GetShardedDatabaseRequest
1080
1127
  * @return GetShardedDatabaseResponse
1081
1128
  * @throws OciError when an error occurs
1082
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/globallydistributeddatabase/GetShardedDatabase.ts.html |here} to see how to use GetShardedDatabase API.
1129
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/globallydistributeddatabase/GetShardedDatabase.ts.html |here} to see how to use GetShardedDatabase API.
1083
1130
  */
1084
1131
  getShardedDatabase(getShardedDatabaseRequest) {
1085
1132
  return __awaiter(this, void 0, void 0, function* () {
1086
- oci_common_1.logger.debug("Calling operation ShardedDatabaseServiceClient#getShardedDatabase.");
1133
+ if (this.logger)
1134
+ this.logger.debug("Calling operation ShardedDatabaseServiceClient#getShardedDatabase.");
1087
1135
  const operationName = "getShardedDatabase";
1088
1136
  const apiReferenceLink = "";
1089
1137
  const pathParams = {
@@ -1098,6 +1146,8 @@ class ShardedDatabaseServiceClient {
1098
1146
  };
1099
1147
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1100
1148
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getShardedDatabaseRequest.retryConfiguration, specRetryConfiguration);
1149
+ if (this.logger)
1150
+ retrier.logger = this.logger;
1101
1151
  const request = yield oci_common_1.composeRequest({
1102
1152
  baseEndpoint: this._endpoint,
1103
1153
  defaultHeaders: this._defaultHeaders,
@@ -1141,11 +1191,12 @@ class ShardedDatabaseServiceClient {
1141
1191
  * @param GetWorkRequestRequest
1142
1192
  * @return GetWorkRequestResponse
1143
1193
  * @throws OciError when an error occurs
1144
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/globallydistributeddatabase/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1194
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/globallydistributeddatabase/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1145
1195
  */
1146
1196
  getWorkRequest(getWorkRequestRequest) {
1147
1197
  return __awaiter(this, void 0, void 0, function* () {
1148
- oci_common_1.logger.debug("Calling operation ShardedDatabaseServiceClient#getWorkRequest.");
1198
+ if (this.logger)
1199
+ this.logger.debug("Calling operation ShardedDatabaseServiceClient#getWorkRequest.");
1149
1200
  const operationName = "getWorkRequest";
1150
1201
  const apiReferenceLink = "";
1151
1202
  const pathParams = {
@@ -1158,6 +1209,8 @@ class ShardedDatabaseServiceClient {
1158
1209
  };
1159
1210
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1160
1211
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
1212
+ if (this.logger)
1213
+ retrier.logger = this.logger;
1161
1214
  const request = yield oci_common_1.composeRequest({
1162
1215
  baseEndpoint: this._endpoint,
1163
1216
  defaultHeaders: this._defaultHeaders,
@@ -1202,11 +1255,12 @@ class ShardedDatabaseServiceClient {
1202
1255
  * @param ListPrivateEndpointsRequest
1203
1256
  * @return ListPrivateEndpointsResponse
1204
1257
  * @throws OciError when an error occurs
1205
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/globallydistributeddatabase/ListPrivateEndpoints.ts.html |here} to see how to use ListPrivateEndpoints API.
1258
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/globallydistributeddatabase/ListPrivateEndpoints.ts.html |here} to see how to use ListPrivateEndpoints API.
1206
1259
  */
1207
1260
  listPrivateEndpoints(listPrivateEndpointsRequest) {
1208
1261
  return __awaiter(this, void 0, void 0, function* () {
1209
- oci_common_1.logger.debug("Calling operation ShardedDatabaseServiceClient#listPrivateEndpoints.");
1262
+ if (this.logger)
1263
+ this.logger.debug("Calling operation ShardedDatabaseServiceClient#listPrivateEndpoints.");
1210
1264
  const operationName = "listPrivateEndpoints";
1211
1265
  const apiReferenceLink = "";
1212
1266
  const pathParams = {};
@@ -1225,6 +1279,8 @@ class ShardedDatabaseServiceClient {
1225
1279
  };
1226
1280
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1227
1281
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPrivateEndpointsRequest.retryConfiguration, specRetryConfiguration);
1282
+ if (this.logger)
1283
+ retrier.logger = this.logger;
1228
1284
  const request = yield oci_common_1.composeRequest({
1229
1285
  baseEndpoint: this._endpoint,
1230
1286
  defaultHeaders: this._defaultHeaders,
@@ -1269,11 +1325,12 @@ class ShardedDatabaseServiceClient {
1269
1325
  * @param ListShardedDatabasesRequest
1270
1326
  * @return ListShardedDatabasesResponse
1271
1327
  * @throws OciError when an error occurs
1272
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/globallydistributeddatabase/ListShardedDatabases.ts.html |here} to see how to use ListShardedDatabases API.
1328
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/globallydistributeddatabase/ListShardedDatabases.ts.html |here} to see how to use ListShardedDatabases API.
1273
1329
  */
1274
1330
  listShardedDatabases(listShardedDatabasesRequest) {
1275
1331
  return __awaiter(this, void 0, void 0, function* () {
1276
- oci_common_1.logger.debug("Calling operation ShardedDatabaseServiceClient#listShardedDatabases.");
1332
+ if (this.logger)
1333
+ this.logger.debug("Calling operation ShardedDatabaseServiceClient#listShardedDatabases.");
1277
1334
  const operationName = "listShardedDatabases";
1278
1335
  const apiReferenceLink = "";
1279
1336
  const pathParams = {};
@@ -1292,6 +1349,8 @@ class ShardedDatabaseServiceClient {
1292
1349
  };
1293
1350
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1294
1351
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listShardedDatabasesRequest.retryConfiguration, specRetryConfiguration);
1352
+ if (this.logger)
1353
+ retrier.logger = this.logger;
1295
1354
  const request = yield oci_common_1.composeRequest({
1296
1355
  baseEndpoint: this._endpoint,
1297
1356
  defaultHeaders: this._defaultHeaders,
@@ -1336,11 +1395,12 @@ class ShardedDatabaseServiceClient {
1336
1395
  * @param ListWorkRequestErrorsRequest
1337
1396
  * @return ListWorkRequestErrorsResponse
1338
1397
  * @throws OciError when an error occurs
1339
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/globallydistributeddatabase/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1398
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/globallydistributeddatabase/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1340
1399
  */
1341
1400
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
1342
1401
  return __awaiter(this, void 0, void 0, function* () {
1343
- oci_common_1.logger.debug("Calling operation ShardedDatabaseServiceClient#listWorkRequestErrors.");
1402
+ if (this.logger)
1403
+ this.logger.debug("Calling operation ShardedDatabaseServiceClient#listWorkRequestErrors.");
1344
1404
  const operationName = "listWorkRequestErrors";
1345
1405
  const apiReferenceLink = "";
1346
1406
  const pathParams = {
@@ -1358,6 +1418,8 @@ class ShardedDatabaseServiceClient {
1358
1418
  };
1359
1419
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1360
1420
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
1421
+ if (this.logger)
1422
+ retrier.logger = this.logger;
1361
1423
  const request = yield oci_common_1.composeRequest({
1362
1424
  baseEndpoint: this._endpoint,
1363
1425
  defaultHeaders: this._defaultHeaders,
@@ -1402,11 +1464,12 @@ class ShardedDatabaseServiceClient {
1402
1464
  * @param ListWorkRequestLogsRequest
1403
1465
  * @return ListWorkRequestLogsResponse
1404
1466
  * @throws OciError when an error occurs
1405
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/globallydistributeddatabase/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
1467
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/globallydistributeddatabase/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
1406
1468
  */
1407
1469
  listWorkRequestLogs(listWorkRequestLogsRequest) {
1408
1470
  return __awaiter(this, void 0, void 0, function* () {
1409
- oci_common_1.logger.debug("Calling operation ShardedDatabaseServiceClient#listWorkRequestLogs.");
1471
+ if (this.logger)
1472
+ this.logger.debug("Calling operation ShardedDatabaseServiceClient#listWorkRequestLogs.");
1410
1473
  const operationName = "listWorkRequestLogs";
1411
1474
  const apiReferenceLink = "";
1412
1475
  const pathParams = {
@@ -1424,6 +1487,8 @@ class ShardedDatabaseServiceClient {
1424
1487
  };
1425
1488
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1426
1489
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
1490
+ if (this.logger)
1491
+ retrier.logger = this.logger;
1427
1492
  const request = yield oci_common_1.composeRequest({
1428
1493
  baseEndpoint: this._endpoint,
1429
1494
  defaultHeaders: this._defaultHeaders,
@@ -1468,11 +1533,12 @@ class ShardedDatabaseServiceClient {
1468
1533
  * @param ListWorkRequestsRequest
1469
1534
  * @return ListWorkRequestsResponse
1470
1535
  * @throws OciError when an error occurs
1471
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/globallydistributeddatabase/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1536
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/globallydistributeddatabase/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1472
1537
  */
1473
1538
  listWorkRequests(listWorkRequestsRequest) {
1474
1539
  return __awaiter(this, void 0, void 0, function* () {
1475
- oci_common_1.logger.debug("Calling operation ShardedDatabaseServiceClient#listWorkRequests.");
1540
+ if (this.logger)
1541
+ this.logger.debug("Calling operation ShardedDatabaseServiceClient#listWorkRequests.");
1476
1542
  const operationName = "listWorkRequests";
1477
1543
  const apiReferenceLink = "";
1478
1544
  const pathParams = {};
@@ -1492,6 +1558,8 @@ class ShardedDatabaseServiceClient {
1492
1558
  };
1493
1559
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1494
1560
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
1561
+ if (this.logger)
1562
+ retrier.logger = this.logger;
1495
1563
  const request = yield oci_common_1.composeRequest({
1496
1564
  baseEndpoint: this._endpoint,
1497
1565
  defaultHeaders: this._defaultHeaders,
@@ -1538,11 +1606,12 @@ class ShardedDatabaseServiceClient {
1538
1606
  * @param PatchShardedDatabaseRequest
1539
1607
  * @return PatchShardedDatabaseResponse
1540
1608
  * @throws OciError when an error occurs
1541
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/globallydistributeddatabase/PatchShardedDatabase.ts.html |here} to see how to use PatchShardedDatabase API.
1609
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/globallydistributeddatabase/PatchShardedDatabase.ts.html |here} to see how to use PatchShardedDatabase API.
1542
1610
  */
1543
1611
  patchShardedDatabase(patchShardedDatabaseRequest) {
1544
1612
  return __awaiter(this, void 0, void 0, function* () {
1545
- oci_common_1.logger.debug("Calling operation ShardedDatabaseServiceClient#patchShardedDatabase.");
1613
+ if (this.logger)
1614
+ this.logger.debug("Calling operation ShardedDatabaseServiceClient#patchShardedDatabase.");
1546
1615
  const operationName = "patchShardedDatabase";
1547
1616
  const apiReferenceLink = "";
1548
1617
  const pathParams = {
@@ -1556,6 +1625,8 @@ class ShardedDatabaseServiceClient {
1556
1625
  };
1557
1626
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1558
1627
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, patchShardedDatabaseRequest.retryConfiguration, specRetryConfiguration);
1628
+ if (this.logger)
1629
+ retrier.logger = this.logger;
1559
1630
  const request = yield oci_common_1.composeRequest({
1560
1631
  baseEndpoint: this._endpoint,
1561
1632
  defaultHeaders: this._defaultHeaders,
@@ -1597,11 +1668,12 @@ class ShardedDatabaseServiceClient {
1597
1668
  * @param PrevalidateShardedDatabaseRequest
1598
1669
  * @return PrevalidateShardedDatabaseResponse
1599
1670
  * @throws OciError when an error occurs
1600
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/globallydistributeddatabase/PrevalidateShardedDatabase.ts.html |here} to see how to use PrevalidateShardedDatabase API.
1671
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/globallydistributeddatabase/PrevalidateShardedDatabase.ts.html |here} to see how to use PrevalidateShardedDatabase API.
1601
1672
  */
1602
1673
  prevalidateShardedDatabase(prevalidateShardedDatabaseRequest) {
1603
1674
  return __awaiter(this, void 0, void 0, function* () {
1604
- oci_common_1.logger.debug("Calling operation ShardedDatabaseServiceClient#prevalidateShardedDatabase.");
1675
+ if (this.logger)
1676
+ this.logger.debug("Calling operation ShardedDatabaseServiceClient#prevalidateShardedDatabase.");
1605
1677
  const operationName = "prevalidateShardedDatabase";
1606
1678
  const apiReferenceLink = "";
1607
1679
  const pathParams = {};
@@ -1615,6 +1687,8 @@ class ShardedDatabaseServiceClient {
1615
1687
  };
1616
1688
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1617
1689
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, prevalidateShardedDatabaseRequest.retryConfiguration, specRetryConfiguration);
1690
+ if (this.logger)
1691
+ retrier.logger = this.logger;
1618
1692
  const request = yield oci_common_1.composeRequest({
1619
1693
  baseEndpoint: this._endpoint,
1620
1694
  defaultHeaders: this._defaultHeaders,
@@ -1654,11 +1728,12 @@ class ShardedDatabaseServiceClient {
1654
1728
  * @param StartShardedDatabaseRequest
1655
1729
  * @return StartShardedDatabaseResponse
1656
1730
  * @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/globallydistributeddatabase/StartShardedDatabase.ts.html |here} to see how to use StartShardedDatabase API.
1731
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/globallydistributeddatabase/StartShardedDatabase.ts.html |here} to see how to use StartShardedDatabase API.
1658
1732
  */
1659
1733
  startShardedDatabase(startShardedDatabaseRequest) {
1660
1734
  return __awaiter(this, void 0, void 0, function* () {
1661
- oci_common_1.logger.debug("Calling operation ShardedDatabaseServiceClient#startShardedDatabase.");
1735
+ if (this.logger)
1736
+ this.logger.debug("Calling operation ShardedDatabaseServiceClient#startShardedDatabase.");
1662
1737
  const operationName = "startShardedDatabase";
1663
1738
  const apiReferenceLink = "";
1664
1739
  const pathParams = {
@@ -1673,6 +1748,8 @@ class ShardedDatabaseServiceClient {
1673
1748
  };
1674
1749
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1675
1750
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, startShardedDatabaseRequest.retryConfiguration, specRetryConfiguration);
1751
+ if (this.logger)
1752
+ retrier.logger = this.logger;
1676
1753
  const request = yield oci_common_1.composeRequest({
1677
1754
  baseEndpoint: this._endpoint,
1678
1755
  defaultHeaders: this._defaultHeaders,
@@ -1712,11 +1789,12 @@ class ShardedDatabaseServiceClient {
1712
1789
  * @param StopShardedDatabaseRequest
1713
1790
  * @return StopShardedDatabaseResponse
1714
1791
  * @throws OciError when an error occurs
1715
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/globallydistributeddatabase/StopShardedDatabase.ts.html |here} to see how to use StopShardedDatabase API.
1792
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/globallydistributeddatabase/StopShardedDatabase.ts.html |here} to see how to use StopShardedDatabase API.
1716
1793
  */
1717
1794
  stopShardedDatabase(stopShardedDatabaseRequest) {
1718
1795
  return __awaiter(this, void 0, void 0, function* () {
1719
- oci_common_1.logger.debug("Calling operation ShardedDatabaseServiceClient#stopShardedDatabase.");
1796
+ if (this.logger)
1797
+ this.logger.debug("Calling operation ShardedDatabaseServiceClient#stopShardedDatabase.");
1720
1798
  const operationName = "stopShardedDatabase";
1721
1799
  const apiReferenceLink = "";
1722
1800
  const pathParams = {
@@ -1731,6 +1809,8 @@ class ShardedDatabaseServiceClient {
1731
1809
  };
1732
1810
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1733
1811
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, stopShardedDatabaseRequest.retryConfiguration, specRetryConfiguration);
1812
+ if (this.logger)
1813
+ retrier.logger = this.logger;
1734
1814
  const request = yield oci_common_1.composeRequest({
1735
1815
  baseEndpoint: this._endpoint,
1736
1816
  defaultHeaders: this._defaultHeaders,
@@ -1771,11 +1851,12 @@ class ShardedDatabaseServiceClient {
1771
1851
  * @param UpdatePrivateEndpointRequest
1772
1852
  * @return UpdatePrivateEndpointResponse
1773
1853
  * @throws OciError when an error occurs
1774
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/globallydistributeddatabase/UpdatePrivateEndpoint.ts.html |here} to see how to use UpdatePrivateEndpoint API.
1854
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/globallydistributeddatabase/UpdatePrivateEndpoint.ts.html |here} to see how to use UpdatePrivateEndpoint API.
1775
1855
  */
1776
1856
  updatePrivateEndpoint(updatePrivateEndpointRequest) {
1777
1857
  return __awaiter(this, void 0, void 0, function* () {
1778
- oci_common_1.logger.debug("Calling operation ShardedDatabaseServiceClient#updatePrivateEndpoint.");
1858
+ if (this.logger)
1859
+ this.logger.debug("Calling operation ShardedDatabaseServiceClient#updatePrivateEndpoint.");
1779
1860
  const operationName = "updatePrivateEndpoint";
1780
1861
  const apiReferenceLink = "";
1781
1862
  const pathParams = {
@@ -1790,6 +1871,8 @@ class ShardedDatabaseServiceClient {
1790
1871
  };
1791
1872
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1792
1873
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updatePrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
1874
+ if (this.logger)
1875
+ retrier.logger = this.logger;
1793
1876
  const request = yield oci_common_1.composeRequest({
1794
1877
  baseEndpoint: this._endpoint,
1795
1878
  defaultHeaders: this._defaultHeaders,
@@ -1835,11 +1918,12 @@ class ShardedDatabaseServiceClient {
1835
1918
  * @param UpdateShardedDatabaseRequest
1836
1919
  * @return UpdateShardedDatabaseResponse
1837
1920
  * @throws OciError when an error occurs
1838
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/globallydistributeddatabase/UpdateShardedDatabase.ts.html |here} to see how to use UpdateShardedDatabase API.
1921
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/globallydistributeddatabase/UpdateShardedDatabase.ts.html |here} to see how to use UpdateShardedDatabase API.
1839
1922
  */
1840
1923
  updateShardedDatabase(updateShardedDatabaseRequest) {
1841
1924
  return __awaiter(this, void 0, void 0, function* () {
1842
- oci_common_1.logger.debug("Calling operation ShardedDatabaseServiceClient#updateShardedDatabase.");
1925
+ if (this.logger)
1926
+ this.logger.debug("Calling operation ShardedDatabaseServiceClient#updateShardedDatabase.");
1843
1927
  const operationName = "updateShardedDatabase";
1844
1928
  const apiReferenceLink = "";
1845
1929
  const pathParams = {
@@ -1853,6 +1937,8 @@ class ShardedDatabaseServiceClient {
1853
1937
  };
1854
1938
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1855
1939
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateShardedDatabaseRequest.retryConfiguration, specRetryConfiguration);
1940
+ if (this.logger)
1941
+ retrier.logger = this.logger;
1856
1942
  const request = yield oci_common_1.composeRequest({
1857
1943
  baseEndpoint: this._endpoint,
1858
1944
  defaultHeaders: this._defaultHeaders,
@@ -1900,11 +1986,12 @@ class ShardedDatabaseServiceClient {
1900
1986
  * @param UploadSignedCertificateAndGenerateWalletRequest
1901
1987
  * @return UploadSignedCertificateAndGenerateWalletResponse
1902
1988
  * @throws OciError when an error occurs
1903
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/globallydistributeddatabase/UploadSignedCertificateAndGenerateWallet.ts.html |here} to see how to use UploadSignedCertificateAndGenerateWallet API.
1989
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/globallydistributeddatabase/UploadSignedCertificateAndGenerateWallet.ts.html |here} to see how to use UploadSignedCertificateAndGenerateWallet API.
1904
1990
  */
1905
1991
  uploadSignedCertificateAndGenerateWallet(uploadSignedCertificateAndGenerateWalletRequest) {
1906
1992
  return __awaiter(this, void 0, void 0, function* () {
1907
- oci_common_1.logger.debug("Calling operation ShardedDatabaseServiceClient#uploadSignedCertificateAndGenerateWallet.");
1993
+ if (this.logger)
1994
+ this.logger.debug("Calling operation ShardedDatabaseServiceClient#uploadSignedCertificateAndGenerateWallet.");
1908
1995
  const operationName = "uploadSignedCertificateAndGenerateWallet";
1909
1996
  const apiReferenceLink = "";
1910
1997
  const pathParams = {
@@ -1919,6 +2006,8 @@ class ShardedDatabaseServiceClient {
1919
2006
  };
1920
2007
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1921
2008
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, uploadSignedCertificateAndGenerateWalletRequest.retryConfiguration, specRetryConfiguration);
2009
+ if (this.logger)
2010
+ retrier.logger = this.logger;
1922
2011
  const request = yield oci_common_1.composeRequest({
1923
2012
  baseEndpoint: this._endpoint,
1924
2013
  defaultHeaders: this._defaultHeaders,
@@ -1960,11 +2049,12 @@ class ShardedDatabaseServiceClient {
1960
2049
  * @param ValidateNetworkRequest
1961
2050
  * @return ValidateNetworkResponse
1962
2051
  * @throws OciError when an error occurs
1963
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/globallydistributeddatabase/ValidateNetwork.ts.html |here} to see how to use ValidateNetwork API.
2052
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/globallydistributeddatabase/ValidateNetwork.ts.html |here} to see how to use ValidateNetwork API.
1964
2053
  */
1965
2054
  validateNetwork(validateNetworkRequest) {
1966
2055
  return __awaiter(this, void 0, void 0, function* () {
1967
- oci_common_1.logger.debug("Calling operation ShardedDatabaseServiceClient#validateNetwork.");
2056
+ if (this.logger)
2057
+ this.logger.debug("Calling operation ShardedDatabaseServiceClient#validateNetwork.");
1968
2058
  const operationName = "validateNetwork";
1969
2059
  const apiReferenceLink = "";
1970
2060
  const pathParams = {
@@ -1983,6 +2073,8 @@ class ShardedDatabaseServiceClient {
1983
2073
  };
1984
2074
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1985
2075
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, validateNetworkRequest.retryConfiguration, specRetryConfiguration);
2076
+ if (this.logger)
2077
+ retrier.logger = this.logger;
1986
2078
  const request = yield oci_common_1.composeRequest({
1987
2079
  baseEndpoint: this._endpoint,
1988
2080
  defaultHeaders: this._defaultHeaders,