oci-recovery 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 (27) hide show
  1. package/lib/client.d.ts +25 -24
  2. package/lib/client.js +123 -49
  3. package/lib/client.js.map +1 -1
  4. package/lib/request/change-protected-database-compartment-request.d.ts +1 -1
  5. package/lib/request/change-protection-policy-compartment-request.d.ts +1 -1
  6. package/lib/request/change-recovery-service-subnet-compartment-request.d.ts +1 -1
  7. package/lib/request/create-protected-database-request.d.ts +1 -1
  8. package/lib/request/create-protection-policy-request.d.ts +1 -1
  9. package/lib/request/create-recovery-service-subnet-request.d.ts +1 -1
  10. package/lib/request/delete-protected-database-request.d.ts +1 -1
  11. package/lib/request/delete-protection-policy-request.d.ts +1 -1
  12. package/lib/request/delete-recovery-service-subnet-request.d.ts +1 -1
  13. package/lib/request/fetch-protected-database-configuration-request.d.ts +1 -1
  14. package/lib/request/get-protected-database-request.d.ts +1 -1
  15. package/lib/request/get-protection-policy-request.d.ts +1 -1
  16. package/lib/request/get-recovery-service-subnet-request.d.ts +1 -1
  17. package/lib/request/get-work-request-request.d.ts +1 -1
  18. package/lib/request/list-protected-databases-request.d.ts +1 -1
  19. package/lib/request/list-protection-policies-request.d.ts +1 -1
  20. package/lib/request/list-recovery-service-subnets-request.d.ts +1 -1
  21. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  22. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  23. package/lib/request/list-work-requests-request.d.ts +1 -1
  24. package/lib/request/update-protected-database-request.d.ts +1 -1
  25. package/lib/request/update-protection-policy-request.d.ts +1 -1
  26. package/lib/request/update-recovery-service-subnet-request.d.ts +1 -1
  27. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -57,7 +57,7 @@ var DatabaseRecoveryApiKeys;
57
57
  */
58
58
  class DatabaseRecoveryClient {
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 DatabaseRecoveryClient {
116
116
  set endpoint(endpoint) {
117
117
  this._endpoint = endpoint;
118
118
  this._endpoint = this._endpoint + "/20210216";
119
- oci_common_1.logger.info(`DatabaseRecoveryClient endpoint set to ${this._endpoint}`);
119
+ if (this.logger)
120
+ this.logger.info(`DatabaseRecoveryClient 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 DatabaseRecoveryClient {
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(DatabaseRecoveryClient.serviceEndpointTemplate, this._region, DatabaseRecoveryClient.endpointServiceName);
131
136
  }
@@ -191,11 +196,12 @@ class DatabaseRecoveryClient {
191
196
  * @param ChangeProtectedDatabaseCompartmentRequest
192
197
  * @return ChangeProtectedDatabaseCompartmentResponse
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/recovery/ChangeProtectedDatabaseCompartment.ts.html |here} to see how to use ChangeProtectedDatabaseCompartment API.
199
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/recovery/ChangeProtectedDatabaseCompartment.ts.html |here} to see how to use ChangeProtectedDatabaseCompartment API.
195
200
  */
196
201
  changeProtectedDatabaseCompartment(changeProtectedDatabaseCompartmentRequest) {
197
202
  return __awaiter(this, void 0, void 0, function* () {
198
- oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#changeProtectedDatabaseCompartment.");
203
+ if (this.logger)
204
+ this.logger.debug("Calling operation DatabaseRecoveryClient#changeProtectedDatabaseCompartment.");
199
205
  const operationName = "changeProtectedDatabaseCompartment";
200
206
  const apiReferenceLink = "";
201
207
  const pathParams = {
@@ -209,6 +215,8 @@ class DatabaseRecoveryClient {
209
215
  };
210
216
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
211
217
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeProtectedDatabaseCompartmentRequest.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,
@@ -249,11 +257,12 @@ class DatabaseRecoveryClient {
249
257
  * @param ChangeProtectionPolicyCompartmentRequest
250
258
  * @return ChangeProtectionPolicyCompartmentResponse
251
259
  * @throws OciError when an error occurs
252
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/ChangeProtectionPolicyCompartment.ts.html |here} to see how to use ChangeProtectionPolicyCompartment API.
260
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/recovery/ChangeProtectionPolicyCompartment.ts.html |here} to see how to use ChangeProtectionPolicyCompartment API.
253
261
  */
254
262
  changeProtectionPolicyCompartment(changeProtectionPolicyCompartmentRequest) {
255
263
  return __awaiter(this, void 0, void 0, function* () {
256
- oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#changeProtectionPolicyCompartment.");
264
+ if (this.logger)
265
+ this.logger.debug("Calling operation DatabaseRecoveryClient#changeProtectionPolicyCompartment.");
257
266
  const operationName = "changeProtectionPolicyCompartment";
258
267
  const apiReferenceLink = "";
259
268
  const pathParams = {
@@ -267,6 +276,8 @@ class DatabaseRecoveryClient {
267
276
  };
268
277
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
269
278
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeProtectionPolicyCompartmentRequest.retryConfiguration, specRetryConfiguration);
279
+ if (this.logger)
280
+ retrier.logger = this.logger;
270
281
  const request = yield oci_common_1.composeRequest({
271
282
  baseEndpoint: this._endpoint,
272
283
  defaultHeaders: this._defaultHeaders,
@@ -307,11 +318,12 @@ class DatabaseRecoveryClient {
307
318
  * @param ChangeRecoveryServiceSubnetCompartmentRequest
308
319
  * @return ChangeRecoveryServiceSubnetCompartmentResponse
309
320
  * @throws OciError when an error occurs
310
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/ChangeRecoveryServiceSubnetCompartment.ts.html |here} to see how to use ChangeRecoveryServiceSubnetCompartment API.
321
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/recovery/ChangeRecoveryServiceSubnetCompartment.ts.html |here} to see how to use ChangeRecoveryServiceSubnetCompartment API.
311
322
  */
312
323
  changeRecoveryServiceSubnetCompartment(changeRecoveryServiceSubnetCompartmentRequest) {
313
324
  return __awaiter(this, void 0, void 0, function* () {
314
- oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#changeRecoveryServiceSubnetCompartment.");
325
+ if (this.logger)
326
+ this.logger.debug("Calling operation DatabaseRecoveryClient#changeRecoveryServiceSubnetCompartment.");
315
327
  const operationName = "changeRecoveryServiceSubnetCompartment";
316
328
  const apiReferenceLink = "";
317
329
  const pathParams = {
@@ -325,6 +337,8 @@ class DatabaseRecoveryClient {
325
337
  };
326
338
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
327
339
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeRecoveryServiceSubnetCompartmentRequest.retryConfiguration, specRetryConfiguration);
340
+ if (this.logger)
341
+ retrier.logger = this.logger;
328
342
  const request = yield oci_common_1.composeRequest({
329
343
  baseEndpoint: this._endpoint,
330
344
  defaultHeaders: this._defaultHeaders,
@@ -366,11 +380,12 @@ class DatabaseRecoveryClient {
366
380
  * @param CreateProtectedDatabaseRequest
367
381
  * @return CreateProtectedDatabaseResponse
368
382
  * @throws OciError when an error occurs
369
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/CreateProtectedDatabase.ts.html |here} to see how to use CreateProtectedDatabase API.
383
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/recovery/CreateProtectedDatabase.ts.html |here} to see how to use CreateProtectedDatabase API.
370
384
  */
371
385
  createProtectedDatabase(createProtectedDatabaseRequest) {
372
386
  return __awaiter(this, void 0, void 0, function* () {
373
- oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#createProtectedDatabase.");
387
+ if (this.logger)
388
+ this.logger.debug("Calling operation DatabaseRecoveryClient#createProtectedDatabase.");
374
389
  const operationName = "createProtectedDatabase";
375
390
  const apiReferenceLink = "";
376
391
  const pathParams = {};
@@ -382,6 +397,8 @@ class DatabaseRecoveryClient {
382
397
  };
383
398
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
384
399
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createProtectedDatabaseRequest.retryConfiguration, specRetryConfiguration);
400
+ if (this.logger)
401
+ retrier.logger = this.logger;
385
402
  const request = yield oci_common_1.composeRequest({
386
403
  baseEndpoint: this._endpoint,
387
404
  defaultHeaders: this._defaultHeaders,
@@ -437,11 +454,12 @@ class DatabaseRecoveryClient {
437
454
  * @param CreateProtectionPolicyRequest
438
455
  * @return CreateProtectionPolicyResponse
439
456
  * @throws OciError when an error occurs
440
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/CreateProtectionPolicy.ts.html |here} to see how to use CreateProtectionPolicy API.
457
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/recovery/CreateProtectionPolicy.ts.html |here} to see how to use CreateProtectionPolicy API.
441
458
  */
442
459
  createProtectionPolicy(createProtectionPolicyRequest) {
443
460
  return __awaiter(this, void 0, void 0, function* () {
444
- oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#createProtectionPolicy.");
461
+ if (this.logger)
462
+ this.logger.debug("Calling operation DatabaseRecoveryClient#createProtectionPolicy.");
445
463
  const operationName = "createProtectionPolicy";
446
464
  const apiReferenceLink = "";
447
465
  const pathParams = {};
@@ -453,6 +471,8 @@ class DatabaseRecoveryClient {
453
471
  };
454
472
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
455
473
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createProtectionPolicyRequest.retryConfiguration, specRetryConfiguration);
474
+ if (this.logger)
475
+ retrier.logger = this.logger;
456
476
  const request = yield oci_common_1.composeRequest({
457
477
  baseEndpoint: this._endpoint,
458
478
  defaultHeaders: this._defaultHeaders,
@@ -508,11 +528,12 @@ class DatabaseRecoveryClient {
508
528
  * @param CreateRecoveryServiceSubnetRequest
509
529
  * @return CreateRecoveryServiceSubnetResponse
510
530
  * @throws OciError when an error occurs
511
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/CreateRecoveryServiceSubnet.ts.html |here} to see how to use CreateRecoveryServiceSubnet API.
531
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/recovery/CreateRecoveryServiceSubnet.ts.html |here} to see how to use CreateRecoveryServiceSubnet API.
512
532
  */
513
533
  createRecoveryServiceSubnet(createRecoveryServiceSubnetRequest) {
514
534
  return __awaiter(this, void 0, void 0, function* () {
515
- oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#createRecoveryServiceSubnet.");
535
+ if (this.logger)
536
+ this.logger.debug("Calling operation DatabaseRecoveryClient#createRecoveryServiceSubnet.");
516
537
  const operationName = "createRecoveryServiceSubnet";
517
538
  const apiReferenceLink = "";
518
539
  const pathParams = {};
@@ -524,6 +545,8 @@ class DatabaseRecoveryClient {
524
545
  };
525
546
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
526
547
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createRecoveryServiceSubnetRequest.retryConfiguration, specRetryConfiguration);
548
+ if (this.logger)
549
+ retrier.logger = this.logger;
527
550
  const request = yield oci_common_1.composeRequest({
528
551
  baseEndpoint: this._endpoint,
529
552
  defaultHeaders: this._defaultHeaders,
@@ -578,11 +601,12 @@ class DatabaseRecoveryClient {
578
601
  * @param DeleteProtectedDatabaseRequest
579
602
  * @return DeleteProtectedDatabaseResponse
580
603
  * @throws OciError when an error occurs
581
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/DeleteProtectedDatabase.ts.html |here} to see how to use DeleteProtectedDatabase API.
604
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/recovery/DeleteProtectedDatabase.ts.html |here} to see how to use DeleteProtectedDatabase API.
582
605
  */
583
606
  deleteProtectedDatabase(deleteProtectedDatabaseRequest) {
584
607
  return __awaiter(this, void 0, void 0, function* () {
585
- oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#deleteProtectedDatabase.");
608
+ if (this.logger)
609
+ this.logger.debug("Calling operation DatabaseRecoveryClient#deleteProtectedDatabase.");
586
610
  const operationName = "deleteProtectedDatabase";
587
611
  const apiReferenceLink = "";
588
612
  const pathParams = {
@@ -596,6 +620,8 @@ class DatabaseRecoveryClient {
596
620
  };
597
621
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
598
622
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteProtectedDatabaseRequest.retryConfiguration, specRetryConfiguration);
623
+ if (this.logger)
624
+ retrier.logger = this.logger;
599
625
  const request = yield oci_common_1.composeRequest({
600
626
  baseEndpoint: this._endpoint,
601
627
  defaultHeaders: this._defaultHeaders,
@@ -637,11 +663,12 @@ class DatabaseRecoveryClient {
637
663
  * @param DeleteProtectionPolicyRequest
638
664
  * @return DeleteProtectionPolicyResponse
639
665
  * @throws OciError when an error occurs
640
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/DeleteProtectionPolicy.ts.html |here} to see how to use DeleteProtectionPolicy API.
666
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/recovery/DeleteProtectionPolicy.ts.html |here} to see how to use DeleteProtectionPolicy API.
641
667
  */
642
668
  deleteProtectionPolicy(deleteProtectionPolicyRequest) {
643
669
  return __awaiter(this, void 0, void 0, function* () {
644
- oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#deleteProtectionPolicy.");
670
+ if (this.logger)
671
+ this.logger.debug("Calling operation DatabaseRecoveryClient#deleteProtectionPolicy.");
645
672
  const operationName = "deleteProtectionPolicy";
646
673
  const apiReferenceLink = "";
647
674
  const pathParams = {
@@ -655,6 +682,8 @@ class DatabaseRecoveryClient {
655
682
  };
656
683
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
657
684
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteProtectionPolicyRequest.retryConfiguration, specRetryConfiguration);
685
+ if (this.logger)
686
+ retrier.logger = this.logger;
658
687
  const request = yield oci_common_1.composeRequest({
659
688
  baseEndpoint: this._endpoint,
660
689
  defaultHeaders: this._defaultHeaders,
@@ -694,11 +723,12 @@ class DatabaseRecoveryClient {
694
723
  * @param DeleteRecoveryServiceSubnetRequest
695
724
  * @return DeleteRecoveryServiceSubnetResponse
696
725
  * @throws OciError when an error occurs
697
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/DeleteRecoveryServiceSubnet.ts.html |here} to see how to use DeleteRecoveryServiceSubnet API.
726
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/recovery/DeleteRecoveryServiceSubnet.ts.html |here} to see how to use DeleteRecoveryServiceSubnet API.
698
727
  */
699
728
  deleteRecoveryServiceSubnet(deleteRecoveryServiceSubnetRequest) {
700
729
  return __awaiter(this, void 0, void 0, function* () {
701
- oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#deleteRecoveryServiceSubnet.");
730
+ if (this.logger)
731
+ this.logger.debug("Calling operation DatabaseRecoveryClient#deleteRecoveryServiceSubnet.");
702
732
  const operationName = "deleteRecoveryServiceSubnet";
703
733
  const apiReferenceLink = "";
704
734
  const pathParams = {
@@ -712,6 +742,8 @@ class DatabaseRecoveryClient {
712
742
  };
713
743
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
714
744
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteRecoveryServiceSubnetRequest.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,
@@ -751,11 +783,12 @@ class DatabaseRecoveryClient {
751
783
  * @param FetchProtectedDatabaseConfigurationRequest
752
784
  * @return FetchProtectedDatabaseConfigurationResponse
753
785
  * @throws OciError when an error occurs
754
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/FetchProtectedDatabaseConfiguration.ts.html |here} to see how to use FetchProtectedDatabaseConfiguration API.
786
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/recovery/FetchProtectedDatabaseConfiguration.ts.html |here} to see how to use FetchProtectedDatabaseConfiguration API.
755
787
  */
756
788
  fetchProtectedDatabaseConfiguration(fetchProtectedDatabaseConfigurationRequest) {
757
789
  return __awaiter(this, void 0, void 0, function* () {
758
- oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#fetchProtectedDatabaseConfiguration.");
790
+ if (this.logger)
791
+ this.logger.debug("Calling operation DatabaseRecoveryClient#fetchProtectedDatabaseConfiguration.");
759
792
  const operationName = "fetchProtectedDatabaseConfiguration";
760
793
  const apiReferenceLink = "";
761
794
  const pathParams = {
@@ -769,6 +802,8 @@ class DatabaseRecoveryClient {
769
802
  };
770
803
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
771
804
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, fetchProtectedDatabaseConfigurationRequest.retryConfiguration, specRetryConfiguration);
805
+ if (this.logger)
806
+ retrier.logger = this.logger;
772
807
  const request = yield oci_common_1.composeRequest({
773
808
  baseEndpoint: this._endpoint,
774
809
  defaultHeaders: this._defaultHeaders,
@@ -812,11 +847,12 @@ class DatabaseRecoveryClient {
812
847
  * @param GetProtectedDatabaseRequest
813
848
  * @return GetProtectedDatabaseResponse
814
849
  * @throws OciError when an error occurs
815
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/GetProtectedDatabase.ts.html |here} to see how to use GetProtectedDatabase API.
850
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/recovery/GetProtectedDatabase.ts.html |here} to see how to use GetProtectedDatabase API.
816
851
  */
817
852
  getProtectedDatabase(getProtectedDatabaseRequest) {
818
853
  return __awaiter(this, void 0, void 0, function* () {
819
- oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#getProtectedDatabase.");
854
+ if (this.logger)
855
+ this.logger.debug("Calling operation DatabaseRecoveryClient#getProtectedDatabase.");
820
856
  const operationName = "getProtectedDatabase";
821
857
  const apiReferenceLink = "";
822
858
  const pathParams = {
@@ -829,6 +865,8 @@ class DatabaseRecoveryClient {
829
865
  };
830
866
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
831
867
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getProtectedDatabaseRequest.retryConfiguration, specRetryConfiguration);
868
+ if (this.logger)
869
+ retrier.logger = this.logger;
832
870
  const request = yield oci_common_1.composeRequest({
833
871
  baseEndpoint: this._endpoint,
834
872
  defaultHeaders: this._defaultHeaders,
@@ -872,11 +910,12 @@ class DatabaseRecoveryClient {
872
910
  * @param GetProtectionPolicyRequest
873
911
  * @return GetProtectionPolicyResponse
874
912
  * @throws OciError when an error occurs
875
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/GetProtectionPolicy.ts.html |here} to see how to use GetProtectionPolicy API.
913
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/recovery/GetProtectionPolicy.ts.html |here} to see how to use GetProtectionPolicy API.
876
914
  */
877
915
  getProtectionPolicy(getProtectionPolicyRequest) {
878
916
  return __awaiter(this, void 0, void 0, function* () {
879
- oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#getProtectionPolicy.");
917
+ if (this.logger)
918
+ this.logger.debug("Calling operation DatabaseRecoveryClient#getProtectionPolicy.");
880
919
  const operationName = "getProtectionPolicy";
881
920
  const apiReferenceLink = "";
882
921
  const pathParams = {
@@ -889,6 +928,8 @@ class DatabaseRecoveryClient {
889
928
  };
890
929
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
891
930
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getProtectionPolicyRequest.retryConfiguration, specRetryConfiguration);
931
+ if (this.logger)
932
+ retrier.logger = this.logger;
892
933
  const request = yield oci_common_1.composeRequest({
893
934
  baseEndpoint: this._endpoint,
894
935
  defaultHeaders: this._defaultHeaders,
@@ -932,11 +973,12 @@ class DatabaseRecoveryClient {
932
973
  * @param GetRecoveryServiceSubnetRequest
933
974
  * @return GetRecoveryServiceSubnetResponse
934
975
  * @throws OciError when an error occurs
935
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/GetRecoveryServiceSubnet.ts.html |here} to see how to use GetRecoveryServiceSubnet API.
976
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/recovery/GetRecoveryServiceSubnet.ts.html |here} to see how to use GetRecoveryServiceSubnet API.
936
977
  */
937
978
  getRecoveryServiceSubnet(getRecoveryServiceSubnetRequest) {
938
979
  return __awaiter(this, void 0, void 0, function* () {
939
- oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#getRecoveryServiceSubnet.");
980
+ if (this.logger)
981
+ this.logger.debug("Calling operation DatabaseRecoveryClient#getRecoveryServiceSubnet.");
940
982
  const operationName = "getRecoveryServiceSubnet";
941
983
  const apiReferenceLink = "";
942
984
  const pathParams = {
@@ -949,6 +991,8 @@ class DatabaseRecoveryClient {
949
991
  };
950
992
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
951
993
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRecoveryServiceSubnetRequest.retryConfiguration, specRetryConfiguration);
994
+ if (this.logger)
995
+ retrier.logger = this.logger;
952
996
  const request = yield oci_common_1.composeRequest({
953
997
  baseEndpoint: this._endpoint,
954
998
  defaultHeaders: this._defaultHeaders,
@@ -992,11 +1036,12 @@ class DatabaseRecoveryClient {
992
1036
  * @param GetWorkRequestRequest
993
1037
  * @return GetWorkRequestResponse
994
1038
  * @throws OciError when an error occurs
995
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1039
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/recovery/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
996
1040
  */
997
1041
  getWorkRequest(getWorkRequestRequest) {
998
1042
  return __awaiter(this, void 0, void 0, function* () {
999
- oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#getWorkRequest.");
1043
+ if (this.logger)
1044
+ this.logger.debug("Calling operation DatabaseRecoveryClient#getWorkRequest.");
1000
1045
  const operationName = "getWorkRequest";
1001
1046
  const apiReferenceLink = "";
1002
1047
  const pathParams = {
@@ -1009,6 +1054,8 @@ class DatabaseRecoveryClient {
1009
1054
  };
1010
1055
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1011
1056
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
1057
+ if (this.logger)
1058
+ retrier.logger = this.logger;
1012
1059
  const request = yield oci_common_1.composeRequest({
1013
1060
  baseEndpoint: this._endpoint,
1014
1061
  defaultHeaders: this._defaultHeaders,
@@ -1053,11 +1100,12 @@ class DatabaseRecoveryClient {
1053
1100
  * @param ListProtectedDatabasesRequest
1054
1101
  * @return ListProtectedDatabasesResponse
1055
1102
  * @throws OciError when an error occurs
1056
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/ListProtectedDatabases.ts.html |here} to see how to use ListProtectedDatabases API.
1103
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/recovery/ListProtectedDatabases.ts.html |here} to see how to use ListProtectedDatabases API.
1057
1104
  */
1058
1105
  listProtectedDatabases(listProtectedDatabasesRequest) {
1059
1106
  return __awaiter(this, void 0, void 0, function* () {
1060
- oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#listProtectedDatabases.");
1107
+ if (this.logger)
1108
+ this.logger.debug("Calling operation DatabaseRecoveryClient#listProtectedDatabases.");
1061
1109
  const operationName = "listProtectedDatabases";
1062
1110
  const apiReferenceLink = "";
1063
1111
  const pathParams = {};
@@ -1079,6 +1127,8 @@ class DatabaseRecoveryClient {
1079
1127
  };
1080
1128
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1081
1129
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listProtectedDatabasesRequest.retryConfiguration, specRetryConfiguration);
1130
+ if (this.logger)
1131
+ retrier.logger = this.logger;
1082
1132
  const request = yield oci_common_1.composeRequest({
1083
1133
  baseEndpoint: this._endpoint,
1084
1134
  defaultHeaders: this._defaultHeaders,
@@ -1123,11 +1173,12 @@ class DatabaseRecoveryClient {
1123
1173
  * @param ListProtectionPoliciesRequest
1124
1174
  * @return ListProtectionPoliciesResponse
1125
1175
  * @throws OciError when an error occurs
1126
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/ListProtectionPolicies.ts.html |here} to see how to use ListProtectionPolicies API.
1176
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/recovery/ListProtectionPolicies.ts.html |here} to see how to use ListProtectionPolicies API.
1127
1177
  */
1128
1178
  listProtectionPolicies(listProtectionPoliciesRequest) {
1129
1179
  return __awaiter(this, void 0, void 0, function* () {
1130
- oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#listProtectionPolicies.");
1180
+ if (this.logger)
1181
+ this.logger.debug("Calling operation DatabaseRecoveryClient#listProtectionPolicies.");
1131
1182
  const operationName = "listProtectionPolicies";
1132
1183
  const apiReferenceLink = "";
1133
1184
  const pathParams = {};
@@ -1148,6 +1199,8 @@ class DatabaseRecoveryClient {
1148
1199
  };
1149
1200
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1150
1201
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listProtectionPoliciesRequest.retryConfiguration, specRetryConfiguration);
1202
+ if (this.logger)
1203
+ retrier.logger = this.logger;
1151
1204
  const request = yield oci_common_1.composeRequest({
1152
1205
  baseEndpoint: this._endpoint,
1153
1206
  defaultHeaders: this._defaultHeaders,
@@ -1192,11 +1245,12 @@ class DatabaseRecoveryClient {
1192
1245
  * @param ListRecoveryServiceSubnetsRequest
1193
1246
  * @return ListRecoveryServiceSubnetsResponse
1194
1247
  * @throws OciError when an error occurs
1195
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/ListRecoveryServiceSubnets.ts.html |here} to see how to use ListRecoveryServiceSubnets API.
1248
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/recovery/ListRecoveryServiceSubnets.ts.html |here} to see how to use ListRecoveryServiceSubnets API.
1196
1249
  */
1197
1250
  listRecoveryServiceSubnets(listRecoveryServiceSubnetsRequest) {
1198
1251
  return __awaiter(this, void 0, void 0, function* () {
1199
- oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#listRecoveryServiceSubnets.");
1252
+ if (this.logger)
1253
+ this.logger.debug("Calling operation DatabaseRecoveryClient#listRecoveryServiceSubnets.");
1200
1254
  const operationName = "listRecoveryServiceSubnets";
1201
1255
  const apiReferenceLink = "";
1202
1256
  const pathParams = {};
@@ -1217,6 +1271,8 @@ class DatabaseRecoveryClient {
1217
1271
  };
1218
1272
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1219
1273
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listRecoveryServiceSubnetsRequest.retryConfiguration, specRetryConfiguration);
1274
+ if (this.logger)
1275
+ retrier.logger = this.logger;
1220
1276
  const request = yield oci_common_1.composeRequest({
1221
1277
  baseEndpoint: this._endpoint,
1222
1278
  defaultHeaders: this._defaultHeaders,
@@ -1261,11 +1317,12 @@ class DatabaseRecoveryClient {
1261
1317
  * @param ListWorkRequestErrorsRequest
1262
1318
  * @return ListWorkRequestErrorsResponse
1263
1319
  * @throws OciError when an error occurs
1264
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1320
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/recovery/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1265
1321
  */
1266
1322
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
1267
1323
  return __awaiter(this, void 0, void 0, function* () {
1268
- oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#listWorkRequestErrors.");
1324
+ if (this.logger)
1325
+ this.logger.debug("Calling operation DatabaseRecoveryClient#listWorkRequestErrors.");
1269
1326
  const operationName = "listWorkRequestErrors";
1270
1327
  const apiReferenceLink = "";
1271
1328
  const pathParams = {
@@ -1283,6 +1340,8 @@ class DatabaseRecoveryClient {
1283
1340
  };
1284
1341
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1285
1342
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
1343
+ if (this.logger)
1344
+ retrier.logger = this.logger;
1286
1345
  const request = yield oci_common_1.composeRequest({
1287
1346
  baseEndpoint: this._endpoint,
1288
1347
  defaultHeaders: this._defaultHeaders,
@@ -1327,11 +1386,12 @@ class DatabaseRecoveryClient {
1327
1386
  * @param ListWorkRequestLogsRequest
1328
1387
  * @return ListWorkRequestLogsResponse
1329
1388
  * @throws OciError when an error occurs
1330
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
1389
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/recovery/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
1331
1390
  */
1332
1391
  listWorkRequestLogs(listWorkRequestLogsRequest) {
1333
1392
  return __awaiter(this, void 0, void 0, function* () {
1334
- oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#listWorkRequestLogs.");
1393
+ if (this.logger)
1394
+ this.logger.debug("Calling operation DatabaseRecoveryClient#listWorkRequestLogs.");
1335
1395
  const operationName = "listWorkRequestLogs";
1336
1396
  const apiReferenceLink = "";
1337
1397
  const pathParams = {
@@ -1349,6 +1409,8 @@ class DatabaseRecoveryClient {
1349
1409
  };
1350
1410
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1351
1411
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
1412
+ if (this.logger)
1413
+ retrier.logger = this.logger;
1352
1414
  const request = yield oci_common_1.composeRequest({
1353
1415
  baseEndpoint: this._endpoint,
1354
1416
  defaultHeaders: this._defaultHeaders,
@@ -1393,11 +1455,12 @@ class DatabaseRecoveryClient {
1393
1455
  * @param ListWorkRequestsRequest
1394
1456
  * @return ListWorkRequestsResponse
1395
1457
  * @throws OciError when an error occurs
1396
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1458
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/recovery/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1397
1459
  */
1398
1460
  listWorkRequests(listWorkRequestsRequest) {
1399
1461
  return __awaiter(this, void 0, void 0, function* () {
1400
- oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#listWorkRequests.");
1462
+ if (this.logger)
1463
+ this.logger.debug("Calling operation DatabaseRecoveryClient#listWorkRequests.");
1401
1464
  const operationName = "listWorkRequests";
1402
1465
  const apiReferenceLink = "";
1403
1466
  const pathParams = {};
@@ -1417,6 +1480,8 @@ class DatabaseRecoveryClient {
1417
1480
  };
1418
1481
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1419
1482
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
1483
+ if (this.logger)
1484
+ retrier.logger = this.logger;
1420
1485
  const request = yield oci_common_1.composeRequest({
1421
1486
  baseEndpoint: this._endpoint,
1422
1487
  defaultHeaders: this._defaultHeaders,
@@ -1460,11 +1525,12 @@ class DatabaseRecoveryClient {
1460
1525
  * @param UpdateProtectedDatabaseRequest
1461
1526
  * @return UpdateProtectedDatabaseResponse
1462
1527
  * @throws OciError when an error occurs
1463
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/UpdateProtectedDatabase.ts.html |here} to see how to use UpdateProtectedDatabase API.
1528
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/recovery/UpdateProtectedDatabase.ts.html |here} to see how to use UpdateProtectedDatabase API.
1464
1529
  */
1465
1530
  updateProtectedDatabase(updateProtectedDatabaseRequest) {
1466
1531
  return __awaiter(this, void 0, void 0, function* () {
1467
- oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#updateProtectedDatabase.");
1532
+ if (this.logger)
1533
+ this.logger.debug("Calling operation DatabaseRecoveryClient#updateProtectedDatabase.");
1468
1534
  const operationName = "updateProtectedDatabase";
1469
1535
  const apiReferenceLink = "";
1470
1536
  const pathParams = {
@@ -1478,6 +1544,8 @@ class DatabaseRecoveryClient {
1478
1544
  };
1479
1545
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1480
1546
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateProtectedDatabaseRequest.retryConfiguration, specRetryConfiguration);
1547
+ if (this.logger)
1548
+ retrier.logger = this.logger;
1481
1549
  const request = yield oci_common_1.composeRequest({
1482
1550
  baseEndpoint: this._endpoint,
1483
1551
  defaultHeaders: this._defaultHeaders,
@@ -1518,11 +1586,12 @@ class DatabaseRecoveryClient {
1518
1586
  * @param UpdateProtectionPolicyRequest
1519
1587
  * @return UpdateProtectionPolicyResponse
1520
1588
  * @throws OciError when an error occurs
1521
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/UpdateProtectionPolicy.ts.html |here} to see how to use UpdateProtectionPolicy API.
1589
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/recovery/UpdateProtectionPolicy.ts.html |here} to see how to use UpdateProtectionPolicy API.
1522
1590
  */
1523
1591
  updateProtectionPolicy(updateProtectionPolicyRequest) {
1524
1592
  return __awaiter(this, void 0, void 0, function* () {
1525
- oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#updateProtectionPolicy.");
1593
+ if (this.logger)
1594
+ this.logger.debug("Calling operation DatabaseRecoveryClient#updateProtectionPolicy.");
1526
1595
  const operationName = "updateProtectionPolicy";
1527
1596
  const apiReferenceLink = "";
1528
1597
  const pathParams = {
@@ -1536,6 +1605,8 @@ class DatabaseRecoveryClient {
1536
1605
  };
1537
1606
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1538
1607
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateProtectionPolicyRequest.retryConfiguration, specRetryConfiguration);
1608
+ if (this.logger)
1609
+ retrier.logger = this.logger;
1539
1610
  const request = yield oci_common_1.composeRequest({
1540
1611
  baseEndpoint: this._endpoint,
1541
1612
  defaultHeaders: this._defaultHeaders,
@@ -1576,11 +1647,12 @@ class DatabaseRecoveryClient {
1576
1647
  * @param UpdateRecoveryServiceSubnetRequest
1577
1648
  * @return UpdateRecoveryServiceSubnetResponse
1578
1649
  * @throws OciError when an error occurs
1579
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/recovery/UpdateRecoveryServiceSubnet.ts.html |here} to see how to use UpdateRecoveryServiceSubnet API.
1650
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/recovery/UpdateRecoveryServiceSubnet.ts.html |here} to see how to use UpdateRecoveryServiceSubnet API.
1580
1651
  */
1581
1652
  updateRecoveryServiceSubnet(updateRecoveryServiceSubnetRequest) {
1582
1653
  return __awaiter(this, void 0, void 0, function* () {
1583
- oci_common_1.logger.debug("Calling operation DatabaseRecoveryClient#updateRecoveryServiceSubnet.");
1654
+ if (this.logger)
1655
+ this.logger.debug("Calling operation DatabaseRecoveryClient#updateRecoveryServiceSubnet.");
1584
1656
  const operationName = "updateRecoveryServiceSubnet";
1585
1657
  const apiReferenceLink = "";
1586
1658
  const pathParams = {
@@ -1594,6 +1666,8 @@ class DatabaseRecoveryClient {
1594
1666
  };
1595
1667
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1596
1668
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateRecoveryServiceSubnetRequest.retryConfiguration, specRetryConfiguration);
1669
+ if (this.logger)
1670
+ retrier.logger = this.logger;
1597
1671
  const request = yield oci_common_1.composeRequest({
1598
1672
  baseEndpoint: this._endpoint,
1599
1673
  defaultHeaders: this._defaultHeaders,