oci-dns 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 (72) hide show
  1. package/lib/client.d.ts +54 -53
  2. package/lib/client.js +268 -107
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/create-resolver-endpoint-details.js +4 -2
  5. package/lib/model/create-resolver-endpoint-details.js.map +1 -1
  6. package/lib/model/create-zone-base-details.js +4 -2
  7. package/lib/model/create-zone-base-details.js.map +1 -1
  8. package/lib/model/resolver-endpoint-summary.js +4 -2
  9. package/lib/model/resolver-endpoint-summary.js.map +1 -1
  10. package/lib/model/resolver-endpoint.js +4 -2
  11. package/lib/model/resolver-endpoint.js.map +1 -1
  12. package/lib/model/resolver-rule-details.js +4 -2
  13. package/lib/model/resolver-rule-details.js.map +1 -1
  14. package/lib/model/resolver-rule.js +4 -2
  15. package/lib/model/resolver-rule.js.map +1 -1
  16. package/lib/model/steering-policy-rule.js +4 -2
  17. package/lib/model/steering-policy-rule.js.map +1 -1
  18. package/lib/model/update-resolver-endpoint-details.js +4 -2
  19. package/lib/model/update-resolver-endpoint-details.js.map +1 -1
  20. package/lib/request/change-resolver-compartment-request.d.ts +1 -1
  21. package/lib/request/change-steering-policy-compartment-request.d.ts +1 -1
  22. package/lib/request/change-tsig-key-compartment-request.d.ts +1 -1
  23. package/lib/request/change-view-compartment-request.d.ts +1 -1
  24. package/lib/request/change-zone-compartment-request.d.ts +1 -1
  25. package/lib/request/create-resolver-endpoint-request.d.ts +1 -1
  26. package/lib/request/create-steering-policy-attachment-request.d.ts +1 -1
  27. package/lib/request/create-steering-policy-request.d.ts +1 -1
  28. package/lib/request/create-tsig-key-request.d.ts +1 -1
  29. package/lib/request/create-view-request.d.ts +1 -1
  30. package/lib/request/create-zone-from-zone-file-request.d.ts +1 -1
  31. package/lib/request/create-zone-request.d.ts +1 -1
  32. package/lib/request/delete-domain-records-request.d.ts +1 -1
  33. package/lib/request/delete-resolver-endpoint-request.d.ts +1 -1
  34. package/lib/request/delete-rrset-request.d.ts +1 -1
  35. package/lib/request/delete-steering-policy-attachment-request.d.ts +1 -1
  36. package/lib/request/delete-steering-policy-request.d.ts +1 -1
  37. package/lib/request/delete-tsig-key-request.d.ts +1 -1
  38. package/lib/request/delete-view-request.d.ts +1 -1
  39. package/lib/request/delete-zone-request.d.ts +1 -1
  40. package/lib/request/get-domain-records-request.d.ts +1 -1
  41. package/lib/request/get-resolver-endpoint-request.d.ts +1 -1
  42. package/lib/request/get-resolver-request.d.ts +1 -1
  43. package/lib/request/get-rrset-request.d.ts +1 -1
  44. package/lib/request/get-steering-policy-attachment-request.d.ts +1 -1
  45. package/lib/request/get-steering-policy-request.d.ts +1 -1
  46. package/lib/request/get-tsig-key-request.d.ts +1 -1
  47. package/lib/request/get-view-request.d.ts +1 -1
  48. package/lib/request/get-zone-content-request.d.ts +1 -1
  49. package/lib/request/get-zone-records-request.d.ts +1 -1
  50. package/lib/request/get-zone-request.d.ts +1 -1
  51. package/lib/request/list-resolver-endpoints-request.d.ts +1 -1
  52. package/lib/request/list-resolvers-request.d.ts +1 -1
  53. package/lib/request/list-steering-policies-request.d.ts +1 -1
  54. package/lib/request/list-steering-policy-attachments-request.d.ts +1 -1
  55. package/lib/request/list-tsig-keys-request.d.ts +1 -1
  56. package/lib/request/list-views-request.d.ts +1 -1
  57. package/lib/request/list-zone-transfer-servers-request.d.ts +1 -1
  58. package/lib/request/list-zones-request.d.ts +1 -1
  59. package/lib/request/patch-domain-records-request.d.ts +1 -1
  60. package/lib/request/patch-rrset-request.d.ts +1 -1
  61. package/lib/request/patch-zone-records-request.d.ts +1 -1
  62. package/lib/request/update-domain-records-request.d.ts +1 -1
  63. package/lib/request/update-resolver-endpoint-request.d.ts +1 -1
  64. package/lib/request/update-resolver-request.d.ts +1 -1
  65. package/lib/request/update-rrset-request.d.ts +1 -1
  66. package/lib/request/update-steering-policy-attachment-request.d.ts +1 -1
  67. package/lib/request/update-steering-policy-request.d.ts +1 -1
  68. package/lib/request/update-tsig-key-request.d.ts +1 -1
  69. package/lib/request/update-view-request.d.ts +1 -1
  70. package/lib/request/update-zone-records-request.d.ts +1 -1
  71. package/lib/request/update-zone-request.d.ts +1 -1
  72. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -60,7 +60,7 @@ var DnsApiKeys;
60
60
  */
61
61
  class DnsClient {
62
62
  constructor(params, clientConfiguration) {
63
- this["_realmSpecificEndpointTemplateEnabled"] = false;
63
+ this["_realmSpecificEndpointTemplateEnabled"] = undefined;
64
64
  this["_endpoint"] = "";
65
65
  this["_defaultHeaders"] = {};
66
66
  this._circuitBreaker = null;
@@ -119,7 +119,11 @@ class DnsClient {
119
119
  set endpoint(endpoint) {
120
120
  this._endpoint = endpoint;
121
121
  this._endpoint = this._endpoint + "/20180115";
122
- oci_common_2.logger.info(`DnsClient endpoint set to ${this._endpoint}`);
122
+ if (this.logger)
123
+ this.logger.info(`DnsClient endpoint set to ${this._endpoint}`);
124
+ }
125
+ get logger() {
126
+ return common.LOG.logger;
123
127
  }
124
128
  /**
125
129
  * Determines whether realm specific endpoint should be used or not.
@@ -128,7 +132,8 @@ class DnsClient {
128
132
  */
129
133
  set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
130
134
  this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
131
- oci_common_2.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
135
+ if (this.logger)
136
+ this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
132
137
  if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
133
138
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(DnsClient.serviceEndpointTemplate, this._region, DnsClient.endpointServiceName);
134
139
  }
@@ -199,11 +204,12 @@ class DnsClient {
199
204
  * @param ChangeResolverCompartmentRequest
200
205
  * @return ChangeResolverCompartmentResponse
201
206
  * @throws OciError when an error occurs
202
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/ChangeResolverCompartment.ts.html |here} to see how to use ChangeResolverCompartment API.
207
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/ChangeResolverCompartment.ts.html |here} to see how to use ChangeResolverCompartment API.
203
208
  */
204
209
  changeResolverCompartment(changeResolverCompartmentRequest) {
205
210
  return __awaiter(this, void 0, void 0, function* () {
206
- oci_common_2.logger.debug("Calling operation DnsClient#changeResolverCompartment.");
211
+ if (this.logger)
212
+ this.logger.debug("Calling operation DnsClient#changeResolverCompartment.");
207
213
  const operationName = "changeResolverCompartment";
208
214
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/Resolver/ChangeResolverCompartment";
209
215
  const pathParams = {
@@ -220,6 +226,8 @@ class DnsClient {
220
226
  };
221
227
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
222
228
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeResolverCompartmentRequest.retryConfiguration, specRetryConfiguration);
229
+ if (this.logger)
230
+ retrier.logger = this.logger;
223
231
  const request = yield oci_common_2.composeRequest({
224
232
  baseEndpoint: this._endpoint,
225
233
  defaultHeaders: this._defaultHeaders,
@@ -261,11 +269,12 @@ class DnsClient {
261
269
  * @param ChangeSteeringPolicyCompartmentRequest
262
270
  * @return ChangeSteeringPolicyCompartmentResponse
263
271
  * @throws OciError when an error occurs
264
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/ChangeSteeringPolicyCompartment.ts.html |here} to see how to use ChangeSteeringPolicyCompartment API.
272
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/ChangeSteeringPolicyCompartment.ts.html |here} to see how to use ChangeSteeringPolicyCompartment API.
265
273
  */
266
274
  changeSteeringPolicyCompartment(changeSteeringPolicyCompartmentRequest) {
267
275
  return __awaiter(this, void 0, void 0, function* () {
268
- oci_common_2.logger.debug("Calling operation DnsClient#changeSteeringPolicyCompartment.");
276
+ if (this.logger)
277
+ this.logger.debug("Calling operation DnsClient#changeSteeringPolicyCompartment.");
269
278
  const operationName = "changeSteeringPolicyCompartment";
270
279
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/SteeringPolicy/ChangeSteeringPolicyCompartment";
271
280
  const pathParams = {
@@ -282,6 +291,8 @@ class DnsClient {
282
291
  };
283
292
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
284
293
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeSteeringPolicyCompartmentRequest.retryConfiguration, specRetryConfiguration);
294
+ if (this.logger)
295
+ retrier.logger = this.logger;
285
296
  const request = yield oci_common_2.composeRequest({
286
297
  baseEndpoint: this._endpoint,
287
298
  defaultHeaders: this._defaultHeaders,
@@ -318,11 +329,12 @@ class DnsClient {
318
329
  * @param ChangeTsigKeyCompartmentRequest
319
330
  * @return ChangeTsigKeyCompartmentResponse
320
331
  * @throws OciError when an error occurs
321
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/ChangeTsigKeyCompartment.ts.html |here} to see how to use ChangeTsigKeyCompartment API.
332
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/ChangeTsigKeyCompartment.ts.html |here} to see how to use ChangeTsigKeyCompartment API.
322
333
  */
323
334
  changeTsigKeyCompartment(changeTsigKeyCompartmentRequest) {
324
335
  return __awaiter(this, void 0, void 0, function* () {
325
- oci_common_2.logger.debug("Calling operation DnsClient#changeTsigKeyCompartment.");
336
+ if (this.logger)
337
+ this.logger.debug("Calling operation DnsClient#changeTsigKeyCompartment.");
326
338
  const operationName = "changeTsigKeyCompartment";
327
339
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/TsigKey/ChangeTsigKeyCompartment";
328
340
  const pathParams = {
@@ -339,6 +351,8 @@ class DnsClient {
339
351
  };
340
352
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
341
353
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeTsigKeyCompartmentRequest.retryConfiguration, specRetryConfiguration);
354
+ if (this.logger)
355
+ retrier.logger = this.logger;
342
356
  const request = yield oci_common_2.composeRequest({
343
357
  baseEndpoint: this._endpoint,
344
358
  defaultHeaders: this._defaultHeaders,
@@ -377,11 +391,12 @@ class DnsClient {
377
391
  * @param ChangeViewCompartmentRequest
378
392
  * @return ChangeViewCompartmentResponse
379
393
  * @throws OciError when an error occurs
380
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/ChangeViewCompartment.ts.html |here} to see how to use ChangeViewCompartment API.
394
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/ChangeViewCompartment.ts.html |here} to see how to use ChangeViewCompartment API.
381
395
  */
382
396
  changeViewCompartment(changeViewCompartmentRequest) {
383
397
  return __awaiter(this, void 0, void 0, function* () {
384
- oci_common_2.logger.debug("Calling operation DnsClient#changeViewCompartment.");
398
+ if (this.logger)
399
+ this.logger.debug("Calling operation DnsClient#changeViewCompartment.");
385
400
  const operationName = "changeViewCompartment";
386
401
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/View/ChangeViewCompartment";
387
402
  const pathParams = {
@@ -398,6 +413,8 @@ class DnsClient {
398
413
  };
399
414
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
400
415
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeViewCompartmentRequest.retryConfiguration, specRetryConfiguration);
416
+ if (this.logger)
417
+ retrier.logger = this.logger;
401
418
  const request = yield oci_common_2.composeRequest({
402
419
  baseEndpoint: this._endpoint,
403
420
  defaultHeaders: this._defaultHeaders,
@@ -446,11 +463,12 @@ class DnsClient {
446
463
  * @param ChangeZoneCompartmentRequest
447
464
  * @return ChangeZoneCompartmentResponse
448
465
  * @throws OciError when an error occurs
449
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/ChangeZoneCompartment.ts.html |here} to see how to use ChangeZoneCompartment API.
466
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/ChangeZoneCompartment.ts.html |here} to see how to use ChangeZoneCompartment API.
450
467
  */
451
468
  changeZoneCompartment(changeZoneCompartmentRequest) {
452
469
  return __awaiter(this, void 0, void 0, function* () {
453
- oci_common_2.logger.debug("Calling operation DnsClient#changeZoneCompartment.");
470
+ if (this.logger)
471
+ this.logger.debug("Calling operation DnsClient#changeZoneCompartment.");
454
472
  const operationName = "changeZoneCompartment";
455
473
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/Zone/ChangeZoneCompartment";
456
474
  const pathParams = {
@@ -467,6 +485,8 @@ class DnsClient {
467
485
  };
468
486
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
469
487
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeZoneCompartmentRequest.retryConfiguration, specRetryConfiguration);
488
+ if (this.logger)
489
+ retrier.logger = this.logger;
470
490
  const request = yield oci_common_2.composeRequest({
471
491
  baseEndpoint: this._endpoint,
472
492
  defaultHeaders: this._defaultHeaders,
@@ -508,11 +528,12 @@ class DnsClient {
508
528
  * @param CreateResolverEndpointRequest
509
529
  * @return CreateResolverEndpointResponse
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/dns/CreateResolverEndpoint.ts.html |here} to see how to use CreateResolverEndpoint API.
531
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/CreateResolverEndpoint.ts.html |here} to see how to use CreateResolverEndpoint API.
512
532
  */
513
533
  createResolverEndpoint(createResolverEndpointRequest) {
514
534
  return __awaiter(this, void 0, void 0, function* () {
515
- oci_common_2.logger.debug("Calling operation DnsClient#createResolverEndpoint.");
535
+ if (this.logger)
536
+ this.logger.debug("Calling operation DnsClient#createResolverEndpoint.");
516
537
  const operationName = "createResolverEndpoint";
517
538
  const apiReferenceLink = "";
518
539
  const pathParams = {
@@ -528,6 +549,8 @@ class DnsClient {
528
549
  };
529
550
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
530
551
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createResolverEndpointRequest.retryConfiguration, specRetryConfiguration);
552
+ if (this.logger)
553
+ retrier.logger = this.logger;
531
554
  const request = yield oci_common_2.composeRequest({
532
555
  baseEndpoint: this._endpoint,
533
556
  defaultHeaders: this._defaultHeaders,
@@ -584,11 +607,12 @@ class DnsClient {
584
607
  * @param CreateSteeringPolicyRequest
585
608
  * @return CreateSteeringPolicyResponse
586
609
  * @throws OciError when an error occurs
587
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/CreateSteeringPolicy.ts.html |here} to see how to use CreateSteeringPolicy API.
610
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/CreateSteeringPolicy.ts.html |here} to see how to use CreateSteeringPolicy API.
588
611
  */
589
612
  createSteeringPolicy(createSteeringPolicyRequest) {
590
613
  return __awaiter(this, void 0, void 0, function* () {
591
- oci_common_2.logger.debug("Calling operation DnsClient#createSteeringPolicy.");
614
+ if (this.logger)
615
+ this.logger.debug("Calling operation DnsClient#createSteeringPolicy.");
592
616
  const operationName = "createSteeringPolicy";
593
617
  const apiReferenceLink = "";
594
618
  const pathParams = {};
@@ -602,6 +626,8 @@ class DnsClient {
602
626
  };
603
627
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
604
628
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createSteeringPolicyRequest.retryConfiguration, specRetryConfiguration);
629
+ if (this.logger)
630
+ retrier.logger = this.logger;
605
631
  const request = yield oci_common_2.composeRequest({
606
632
  baseEndpoint: this._endpoint,
607
633
  defaultHeaders: this._defaultHeaders,
@@ -657,11 +683,12 @@ class DnsClient {
657
683
  * @param CreateSteeringPolicyAttachmentRequest
658
684
  * @return CreateSteeringPolicyAttachmentResponse
659
685
  * @throws OciError when an error occurs
660
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/CreateSteeringPolicyAttachment.ts.html |here} to see how to use CreateSteeringPolicyAttachment API.
686
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/CreateSteeringPolicyAttachment.ts.html |here} to see how to use CreateSteeringPolicyAttachment API.
661
687
  */
662
688
  createSteeringPolicyAttachment(createSteeringPolicyAttachmentRequest) {
663
689
  return __awaiter(this, void 0, void 0, function* () {
664
- oci_common_2.logger.debug("Calling operation DnsClient#createSteeringPolicyAttachment.");
690
+ if (this.logger)
691
+ this.logger.debug("Calling operation DnsClient#createSteeringPolicyAttachment.");
665
692
  const operationName = "createSteeringPolicyAttachment";
666
693
  const apiReferenceLink = "";
667
694
  const pathParams = {};
@@ -675,6 +702,8 @@ class DnsClient {
675
702
  };
676
703
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
677
704
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createSteeringPolicyAttachmentRequest.retryConfiguration, specRetryConfiguration);
705
+ if (this.logger)
706
+ retrier.logger = this.logger;
678
707
  const request = yield oci_common_2.composeRequest({
679
708
  baseEndpoint: this._endpoint,
680
709
  defaultHeaders: this._defaultHeaders,
@@ -726,11 +755,12 @@ class DnsClient {
726
755
  * @param CreateTsigKeyRequest
727
756
  * @return CreateTsigKeyResponse
728
757
  * @throws OciError when an error occurs
729
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/CreateTsigKey.ts.html |here} to see how to use CreateTsigKey API.
758
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/CreateTsigKey.ts.html |here} to see how to use CreateTsigKey API.
730
759
  */
731
760
  createTsigKey(createTsigKeyRequest) {
732
761
  return __awaiter(this, void 0, void 0, function* () {
733
- oci_common_2.logger.debug("Calling operation DnsClient#createTsigKey.");
762
+ if (this.logger)
763
+ this.logger.debug("Calling operation DnsClient#createTsigKey.");
734
764
  const operationName = "createTsigKey";
735
765
  const apiReferenceLink = "";
736
766
  const pathParams = {};
@@ -743,6 +773,8 @@ class DnsClient {
743
773
  };
744
774
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
745
775
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createTsigKeyRequest.retryConfiguration, specRetryConfiguration);
776
+ if (this.logger)
777
+ retrier.logger = this.logger;
746
778
  const request = yield oci_common_2.composeRequest({
747
779
  baseEndpoint: this._endpoint,
748
780
  defaultHeaders: this._defaultHeaders,
@@ -798,11 +830,12 @@ class DnsClient {
798
830
  * @param CreateViewRequest
799
831
  * @return CreateViewResponse
800
832
  * @throws OciError when an error occurs
801
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/CreateView.ts.html |here} to see how to use CreateView API.
833
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/CreateView.ts.html |here} to see how to use CreateView API.
802
834
  */
803
835
  createView(createViewRequest) {
804
836
  return __awaiter(this, void 0, void 0, function* () {
805
- oci_common_2.logger.debug("Calling operation DnsClient#createView.");
837
+ if (this.logger)
838
+ this.logger.debug("Calling operation DnsClient#createView.");
806
839
  const operationName = "createView";
807
840
  const apiReferenceLink = "";
808
841
  const pathParams = {};
@@ -816,6 +849,8 @@ class DnsClient {
816
849
  };
817
850
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
818
851
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createViewRequest.retryConfiguration, specRetryConfiguration);
852
+ if (this.logger)
853
+ retrier.logger = this.logger;
819
854
  const request = yield oci_common_2.composeRequest({
820
855
  baseEndpoint: this._endpoint,
821
856
  defaultHeaders: this._defaultHeaders,
@@ -874,11 +909,12 @@ class DnsClient {
874
909
  * @param CreateZoneRequest
875
910
  * @return CreateZoneResponse
876
911
  * @throws OciError when an error occurs
877
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/CreateZone.ts.html |here} to see how to use CreateZone API.
912
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/CreateZone.ts.html |here} to see how to use CreateZone API.
878
913
  */
879
914
  createZone(createZoneRequest) {
880
915
  return __awaiter(this, void 0, void 0, function* () {
881
- oci_common_2.logger.debug("Calling operation DnsClient#createZone.");
916
+ if (this.logger)
917
+ this.logger.debug("Calling operation DnsClient#createZone.");
882
918
  const operationName = "createZone";
883
919
  const apiReferenceLink = "";
884
920
  const pathParams = {};
@@ -893,6 +929,8 @@ class DnsClient {
893
929
  };
894
930
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
895
931
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createZoneRequest.retryConfiguration, specRetryConfiguration);
932
+ if (this.logger)
933
+ retrier.logger = this.logger;
896
934
  const request = yield oci_common_2.composeRequest({
897
935
  baseEndpoint: this._endpoint,
898
936
  defaultHeaders: this._defaultHeaders,
@@ -948,11 +986,12 @@ class DnsClient {
948
986
  * @param CreateZoneFromZoneFileRequest
949
987
  * @return CreateZoneFromZoneFileResponse
950
988
  * @throws OciError when an error occurs
951
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/CreateZoneFromZoneFile.ts.html |here} to see how to use CreateZoneFromZoneFile API.
989
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/CreateZoneFromZoneFile.ts.html |here} to see how to use CreateZoneFromZoneFile API.
952
990
  */
953
991
  createZoneFromZoneFile(createZoneFromZoneFileRequest) {
954
992
  return __awaiter(this, void 0, void 0, function* () {
955
- oci_common_2.logger.debug("Calling operation DnsClient#createZoneFromZoneFile.");
993
+ if (this.logger)
994
+ this.logger.debug("Calling operation DnsClient#createZoneFromZoneFile.");
956
995
  const operationName = "createZoneFromZoneFile";
957
996
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/Zone/CreateZoneFromZoneFile";
958
997
  const pathParams = {};
@@ -966,6 +1005,8 @@ class DnsClient {
966
1005
  };
967
1006
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
968
1007
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createZoneFromZoneFileRequest.retryConfiguration, specRetryConfiguration);
1008
+ if (this.logger)
1009
+ retrier.logger = this.logger;
969
1010
  const request = yield oci_common_2.composeRequest({
970
1011
  baseEndpoint: this._endpoint,
971
1012
  defaultHeaders: this._defaultHeaders,
@@ -1025,11 +1066,12 @@ class DnsClient {
1025
1066
  * @param DeleteDomainRecordsRequest
1026
1067
  * @return DeleteDomainRecordsResponse
1027
1068
  * @throws OciError when an error occurs
1028
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/DeleteDomainRecords.ts.html |here} to see how to use DeleteDomainRecords API.
1069
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/DeleteDomainRecords.ts.html |here} to see how to use DeleteDomainRecords API.
1029
1070
  */
1030
1071
  deleteDomainRecords(deleteDomainRecordsRequest) {
1031
1072
  return __awaiter(this, void 0, void 0, function* () {
1032
- oci_common_2.logger.debug("Calling operation DnsClient#deleteDomainRecords.");
1073
+ if (this.logger)
1074
+ this.logger.debug("Calling operation DnsClient#deleteDomainRecords.");
1033
1075
  const operationName = "deleteDomainRecords";
1034
1076
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/Records/DeleteDomainRecords";
1035
1077
  const pathParams = {
@@ -1049,6 +1091,8 @@ class DnsClient {
1049
1091
  };
1050
1092
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1051
1093
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDomainRecordsRequest.retryConfiguration, specRetryConfiguration);
1094
+ if (this.logger)
1095
+ retrier.logger = this.logger;
1052
1096
  const request = yield oci_common_2.composeRequest({
1053
1097
  baseEndpoint: this._endpoint,
1054
1098
  defaultHeaders: this._defaultHeaders,
@@ -1087,11 +1131,12 @@ class DnsClient {
1087
1131
  * @param DeleteRRSetRequest
1088
1132
  * @return DeleteRRSetResponse
1089
1133
  * @throws OciError when an error occurs
1090
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/DeleteRRSet.ts.html |here} to see how to use DeleteRRSet API.
1134
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/DeleteRRSet.ts.html |here} to see how to use DeleteRRSet API.
1091
1135
  */
1092
1136
  deleteRRSet(deleteRRSetRequest) {
1093
1137
  return __awaiter(this, void 0, void 0, function* () {
1094
- oci_common_2.logger.debug("Calling operation DnsClient#deleteRRSet.");
1138
+ if (this.logger)
1139
+ this.logger.debug("Calling operation DnsClient#deleteRRSet.");
1095
1140
  const operationName = "deleteRRSet";
1096
1141
  const apiReferenceLink = "";
1097
1142
  const pathParams = {
@@ -1112,6 +1157,8 @@ class DnsClient {
1112
1157
  };
1113
1158
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1114
1159
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteRRSetRequest.retryConfiguration, specRetryConfiguration);
1160
+ if (this.logger)
1161
+ retrier.logger = this.logger;
1115
1162
  const request = yield oci_common_2.composeRequest({
1116
1163
  baseEndpoint: this._endpoint,
1117
1164
  defaultHeaders: this._defaultHeaders,
@@ -1151,11 +1198,12 @@ class DnsClient {
1151
1198
  * @param DeleteResolverEndpointRequest
1152
1199
  * @return DeleteResolverEndpointResponse
1153
1200
  * @throws OciError when an error occurs
1154
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/DeleteResolverEndpoint.ts.html |here} to see how to use DeleteResolverEndpoint API.
1201
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/DeleteResolverEndpoint.ts.html |here} to see how to use DeleteResolverEndpoint API.
1155
1202
  */
1156
1203
  deleteResolverEndpoint(deleteResolverEndpointRequest) {
1157
1204
  return __awaiter(this, void 0, void 0, function* () {
1158
- oci_common_2.logger.debug("Calling operation DnsClient#deleteResolverEndpoint.");
1205
+ if (this.logger)
1206
+ this.logger.debug("Calling operation DnsClient#deleteResolverEndpoint.");
1159
1207
  const operationName = "deleteResolverEndpoint";
1160
1208
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/ResolverEndpoint/DeleteResolverEndpoint";
1161
1209
  const pathParams = {
@@ -1173,6 +1221,8 @@ class DnsClient {
1173
1221
  };
1174
1222
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1175
1223
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteResolverEndpointRequest.retryConfiguration, specRetryConfiguration);
1224
+ if (this.logger)
1225
+ retrier.logger = this.logger;
1176
1226
  const request = yield oci_common_2.composeRequest({
1177
1227
  baseEndpoint: this._endpoint,
1178
1228
  defaultHeaders: this._defaultHeaders,
@@ -1217,11 +1267,12 @@ class DnsClient {
1217
1267
  * @param DeleteSteeringPolicyRequest
1218
1268
  * @return DeleteSteeringPolicyResponse
1219
1269
  * @throws OciError when an error occurs
1220
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/DeleteSteeringPolicy.ts.html |here} to see how to use DeleteSteeringPolicy API.
1270
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/DeleteSteeringPolicy.ts.html |here} to see how to use DeleteSteeringPolicy API.
1221
1271
  */
1222
1272
  deleteSteeringPolicy(deleteSteeringPolicyRequest) {
1223
1273
  return __awaiter(this, void 0, void 0, function* () {
1224
- oci_common_2.logger.debug("Calling operation DnsClient#deleteSteeringPolicy.");
1274
+ if (this.logger)
1275
+ this.logger.debug("Calling operation DnsClient#deleteSteeringPolicy.");
1225
1276
  const operationName = "deleteSteeringPolicy";
1226
1277
  const apiReferenceLink = "";
1227
1278
  const pathParams = {
@@ -1238,6 +1289,8 @@ class DnsClient {
1238
1289
  };
1239
1290
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1240
1291
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSteeringPolicyRequest.retryConfiguration, specRetryConfiguration);
1292
+ if (this.logger)
1293
+ retrier.logger = this.logger;
1241
1294
  const request = yield oci_common_2.composeRequest({
1242
1295
  baseEndpoint: this._endpoint,
1243
1296
  defaultHeaders: this._defaultHeaders,
@@ -1274,11 +1327,12 @@ class DnsClient {
1274
1327
  * @param DeleteSteeringPolicyAttachmentRequest
1275
1328
  * @return DeleteSteeringPolicyAttachmentResponse
1276
1329
  * @throws OciError when an error occurs
1277
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/DeleteSteeringPolicyAttachment.ts.html |here} to see how to use DeleteSteeringPolicyAttachment API.
1330
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/DeleteSteeringPolicyAttachment.ts.html |here} to see how to use DeleteSteeringPolicyAttachment API.
1278
1331
  */
1279
1332
  deleteSteeringPolicyAttachment(deleteSteeringPolicyAttachmentRequest) {
1280
1333
  return __awaiter(this, void 0, void 0, function* () {
1281
- oci_common_2.logger.debug("Calling operation DnsClient#deleteSteeringPolicyAttachment.");
1334
+ if (this.logger)
1335
+ this.logger.debug("Calling operation DnsClient#deleteSteeringPolicyAttachment.");
1282
1336
  const operationName = "deleteSteeringPolicyAttachment";
1283
1337
  const apiReferenceLink = "";
1284
1338
  const pathParams = {
@@ -1295,6 +1349,8 @@ class DnsClient {
1295
1349
  };
1296
1350
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1297
1351
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSteeringPolicyAttachmentRequest.retryConfiguration, specRetryConfiguration);
1352
+ if (this.logger)
1353
+ retrier.logger = this.logger;
1298
1354
  const request = yield oci_common_2.composeRequest({
1299
1355
  baseEndpoint: this._endpoint,
1300
1356
  defaultHeaders: this._defaultHeaders,
@@ -1330,11 +1386,12 @@ class DnsClient {
1330
1386
  * @param DeleteTsigKeyRequest
1331
1387
  * @return DeleteTsigKeyResponse
1332
1388
  * @throws OciError when an error occurs
1333
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/DeleteTsigKey.ts.html |here} to see how to use DeleteTsigKey API.
1389
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/DeleteTsigKey.ts.html |here} to see how to use DeleteTsigKey API.
1334
1390
  */
1335
1391
  deleteTsigKey(deleteTsigKeyRequest) {
1336
1392
  return __awaiter(this, void 0, void 0, function* () {
1337
- oci_common_2.logger.debug("Calling operation DnsClient#deleteTsigKey.");
1393
+ if (this.logger)
1394
+ this.logger.debug("Calling operation DnsClient#deleteTsigKey.");
1338
1395
  const operationName = "deleteTsigKey";
1339
1396
  const apiReferenceLink = "";
1340
1397
  const pathParams = {
@@ -1351,6 +1408,8 @@ class DnsClient {
1351
1408
  };
1352
1409
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1353
1410
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteTsigKeyRequest.retryConfiguration, specRetryConfiguration);
1411
+ if (this.logger)
1412
+ retrier.logger = this.logger;
1354
1413
  const request = yield oci_common_2.composeRequest({
1355
1414
  baseEndpoint: this._endpoint,
1356
1415
  defaultHeaders: this._defaultHeaders,
@@ -1396,11 +1455,12 @@ class DnsClient {
1396
1455
  * @param DeleteViewRequest
1397
1456
  * @return DeleteViewResponse
1398
1457
  * @throws OciError when an error occurs
1399
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/DeleteView.ts.html |here} to see how to use DeleteView API.
1458
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/DeleteView.ts.html |here} to see how to use DeleteView API.
1400
1459
  */
1401
1460
  deleteView(deleteViewRequest) {
1402
1461
  return __awaiter(this, void 0, void 0, function* () {
1403
- oci_common_2.logger.debug("Calling operation DnsClient#deleteView.");
1462
+ if (this.logger)
1463
+ this.logger.debug("Calling operation DnsClient#deleteView.");
1404
1464
  const operationName = "deleteView";
1405
1465
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/View/DeleteView";
1406
1466
  const pathParams = {
@@ -1417,6 +1477,8 @@ class DnsClient {
1417
1477
  };
1418
1478
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1419
1479
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteViewRequest.retryConfiguration, specRetryConfiguration);
1480
+ if (this.logger)
1481
+ retrier.logger = this.logger;
1420
1482
  const request = yield oci_common_2.composeRequest({
1421
1483
  baseEndpoint: this._endpoint,
1422
1484
  defaultHeaders: this._defaultHeaders,
@@ -1461,11 +1523,12 @@ class DnsClient {
1461
1523
  * @param DeleteZoneRequest
1462
1524
  * @return DeleteZoneResponse
1463
1525
  * @throws OciError when an error occurs
1464
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/DeleteZone.ts.html |here} to see how to use DeleteZone API.
1526
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/DeleteZone.ts.html |here} to see how to use DeleteZone API.
1465
1527
  */
1466
1528
  deleteZone(deleteZoneRequest) {
1467
1529
  return __awaiter(this, void 0, void 0, function* () {
1468
- oci_common_2.logger.debug("Calling operation DnsClient#deleteZone.");
1530
+ if (this.logger)
1531
+ this.logger.debug("Calling operation DnsClient#deleteZone.");
1469
1532
  const operationName = "deleteZone";
1470
1533
  const apiReferenceLink = "";
1471
1534
  const pathParams = {
@@ -1484,6 +1547,8 @@ class DnsClient {
1484
1547
  };
1485
1548
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1486
1549
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteZoneRequest.retryConfiguration, specRetryConfiguration);
1550
+ if (this.logger)
1551
+ retrier.logger = this.logger;
1487
1552
  const request = yield oci_common_2.composeRequest({
1488
1553
  baseEndpoint: this._endpoint,
1489
1554
  defaultHeaders: this._defaultHeaders,
@@ -1528,11 +1593,12 @@ class DnsClient {
1528
1593
  * @param GetDomainRecordsRequest
1529
1594
  * @return GetDomainRecordsResponse
1530
1595
  * @throws OciError when an error occurs
1531
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/GetDomainRecords.ts.html |here} to see how to use GetDomainRecords API.
1596
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/GetDomainRecords.ts.html |here} to see how to use GetDomainRecords API.
1532
1597
  */
1533
1598
  getDomainRecords(getDomainRecordsRequest) {
1534
1599
  return __awaiter(this, void 0, void 0, function* () {
1535
- oci_common_2.logger.debug("Calling operation DnsClient#getDomainRecords.");
1600
+ if (this.logger)
1601
+ this.logger.debug("Calling operation DnsClient#getDomainRecords.");
1536
1602
  const operationName = "getDomainRecords";
1537
1603
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/Records/GetDomainRecords";
1538
1604
  const pathParams = {
@@ -1558,6 +1624,8 @@ class DnsClient {
1558
1624
  };
1559
1625
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1560
1626
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDomainRecordsRequest.retryConfiguration, specRetryConfiguration);
1627
+ if (this.logger)
1628
+ retrier.logger = this.logger;
1561
1629
  const request = yield oci_common_2.composeRequest({
1562
1630
  baseEndpoint: this._endpoint,
1563
1631
  defaultHeaders: this._defaultHeaders,
@@ -1655,11 +1723,12 @@ class DnsClient {
1655
1723
  * @param GetRRSetRequest
1656
1724
  * @return GetRRSetResponse
1657
1725
  * @throws OciError when an error occurs
1658
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/GetRRSet.ts.html |here} to see how to use GetRRSet API.
1726
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/GetRRSet.ts.html |here} to see how to use GetRRSet API.
1659
1727
  */
1660
1728
  getRRSet(getRRSetRequest) {
1661
1729
  return __awaiter(this, void 0, void 0, function* () {
1662
- oci_common_2.logger.debug("Calling operation DnsClient#getRRSet.");
1730
+ if (this.logger)
1731
+ this.logger.debug("Calling operation DnsClient#getRRSet.");
1663
1732
  const operationName = "getRRSet";
1664
1733
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/RRSet/GetRRSet";
1665
1734
  const pathParams = {
@@ -1683,6 +1752,8 @@ class DnsClient {
1683
1752
  };
1684
1753
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1685
1754
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRRSetRequest.retryConfiguration, specRetryConfiguration);
1755
+ if (this.logger)
1756
+ retrier.logger = this.logger;
1686
1757
  const request = yield oci_common_2.composeRequest({
1687
1758
  baseEndpoint: this._endpoint,
1688
1759
  defaultHeaders: this._defaultHeaders,
@@ -1780,11 +1851,12 @@ class DnsClient {
1780
1851
  * @param GetResolverRequest
1781
1852
  * @return GetResolverResponse
1782
1853
  * @throws OciError when an error occurs
1783
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/GetResolver.ts.html |here} to see how to use GetResolver API.
1854
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/GetResolver.ts.html |here} to see how to use GetResolver API.
1784
1855
  */
1785
1856
  getResolver(getResolverRequest) {
1786
1857
  return __awaiter(this, void 0, void 0, function* () {
1787
- oci_common_2.logger.debug("Calling operation DnsClient#getResolver.");
1858
+ if (this.logger)
1859
+ this.logger.debug("Calling operation DnsClient#getResolver.");
1788
1860
  const operationName = "getResolver";
1789
1861
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/Resolver/GetResolver";
1790
1862
  const pathParams = {
@@ -1801,6 +1873,8 @@ class DnsClient {
1801
1873
  };
1802
1874
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1803
1875
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getResolverRequest.retryConfiguration, specRetryConfiguration);
1876
+ if (this.logger)
1877
+ retrier.logger = this.logger;
1804
1878
  const request = yield oci_common_2.composeRequest({
1805
1879
  baseEndpoint: this._endpoint,
1806
1880
  defaultHeaders: this._defaultHeaders,
@@ -1848,11 +1922,12 @@ class DnsClient {
1848
1922
  * @param GetResolverEndpointRequest
1849
1923
  * @return GetResolverEndpointResponse
1850
1924
  * @throws OciError when an error occurs
1851
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/GetResolverEndpoint.ts.html |here} to see how to use GetResolverEndpoint API.
1925
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/GetResolverEndpoint.ts.html |here} to see how to use GetResolverEndpoint API.
1852
1926
  */
1853
1927
  getResolverEndpoint(getResolverEndpointRequest) {
1854
1928
  return __awaiter(this, void 0, void 0, function* () {
1855
- oci_common_2.logger.debug("Calling operation DnsClient#getResolverEndpoint.");
1929
+ if (this.logger)
1930
+ this.logger.debug("Calling operation DnsClient#getResolverEndpoint.");
1856
1931
  const operationName = "getResolverEndpoint";
1857
1932
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/ResolverEndpoint/GetResolverEndpoint";
1858
1933
  const pathParams = {
@@ -1870,6 +1945,8 @@ class DnsClient {
1870
1945
  };
1871
1946
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1872
1947
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getResolverEndpointRequest.retryConfiguration, specRetryConfiguration);
1948
+ if (this.logger)
1949
+ retrier.logger = this.logger;
1873
1950
  const request = yield oci_common_2.composeRequest({
1874
1951
  baseEndpoint: this._endpoint,
1875
1952
  defaultHeaders: this._defaultHeaders,
@@ -1914,11 +1991,12 @@ class DnsClient {
1914
1991
  * @param GetSteeringPolicyRequest
1915
1992
  * @return GetSteeringPolicyResponse
1916
1993
  * @throws OciError when an error occurs
1917
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/GetSteeringPolicy.ts.html |here} to see how to use GetSteeringPolicy API.
1994
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/GetSteeringPolicy.ts.html |here} to see how to use GetSteeringPolicy API.
1918
1995
  */
1919
1996
  getSteeringPolicy(getSteeringPolicyRequest) {
1920
1997
  return __awaiter(this, void 0, void 0, function* () {
1921
- oci_common_2.logger.debug("Calling operation DnsClient#getSteeringPolicy.");
1998
+ if (this.logger)
1999
+ this.logger.debug("Calling operation DnsClient#getSteeringPolicy.");
1922
2000
  const operationName = "getSteeringPolicy";
1923
2001
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/SteeringPolicy/GetSteeringPolicy";
1924
2002
  const pathParams = {
@@ -1935,6 +2013,8 @@ class DnsClient {
1935
2013
  };
1936
2014
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1937
2015
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSteeringPolicyRequest.retryConfiguration, specRetryConfiguration);
2016
+ if (this.logger)
2017
+ retrier.logger = this.logger;
1938
2018
  const request = yield oci_common_2.composeRequest({
1939
2019
  baseEndpoint: this._endpoint,
1940
2020
  defaultHeaders: this._defaultHeaders,
@@ -1979,11 +2059,12 @@ class DnsClient {
1979
2059
  * @param GetSteeringPolicyAttachmentRequest
1980
2060
  * @return GetSteeringPolicyAttachmentResponse
1981
2061
  * @throws OciError when an error occurs
1982
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/GetSteeringPolicyAttachment.ts.html |here} to see how to use GetSteeringPolicyAttachment API.
2062
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/GetSteeringPolicyAttachment.ts.html |here} to see how to use GetSteeringPolicyAttachment API.
1983
2063
  */
1984
2064
  getSteeringPolicyAttachment(getSteeringPolicyAttachmentRequest) {
1985
2065
  return __awaiter(this, void 0, void 0, function* () {
1986
- oci_common_2.logger.debug("Calling operation DnsClient#getSteeringPolicyAttachment.");
2066
+ if (this.logger)
2067
+ this.logger.debug("Calling operation DnsClient#getSteeringPolicyAttachment.");
1987
2068
  const operationName = "getSteeringPolicyAttachment";
1988
2069
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/SteeringPolicyAttachment/GetSteeringPolicyAttachment";
1989
2070
  const pathParams = {
@@ -2000,6 +2081,8 @@ class DnsClient {
2000
2081
  };
2001
2082
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2002
2083
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSteeringPolicyAttachmentRequest.retryConfiguration, specRetryConfiguration);
2084
+ if (this.logger)
2085
+ retrier.logger = this.logger;
2003
2086
  const request = yield oci_common_2.composeRequest({
2004
2087
  baseEndpoint: this._endpoint,
2005
2088
  defaultHeaders: this._defaultHeaders,
@@ -2044,11 +2127,12 @@ class DnsClient {
2044
2127
  * @param GetTsigKeyRequest
2045
2128
  * @return GetTsigKeyResponse
2046
2129
  * @throws OciError when an error occurs
2047
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/GetTsigKey.ts.html |here} to see how to use GetTsigKey API.
2130
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/GetTsigKey.ts.html |here} to see how to use GetTsigKey API.
2048
2131
  */
2049
2132
  getTsigKey(getTsigKeyRequest) {
2050
2133
  return __awaiter(this, void 0, void 0, function* () {
2051
- oci_common_2.logger.debug("Calling operation DnsClient#getTsigKey.");
2134
+ if (this.logger)
2135
+ this.logger.debug("Calling operation DnsClient#getTsigKey.");
2052
2136
  const operationName = "getTsigKey";
2053
2137
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/TsigKey/GetTsigKey";
2054
2138
  const pathParams = {
@@ -2065,6 +2149,8 @@ class DnsClient {
2065
2149
  };
2066
2150
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2067
2151
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getTsigKeyRequest.retryConfiguration, specRetryConfiguration);
2152
+ if (this.logger)
2153
+ retrier.logger = this.logger;
2068
2154
  const request = yield oci_common_2.composeRequest({
2069
2155
  baseEndpoint: this._endpoint,
2070
2156
  defaultHeaders: this._defaultHeaders,
@@ -2113,11 +2199,12 @@ class DnsClient {
2113
2199
  * @param GetViewRequest
2114
2200
  * @return GetViewResponse
2115
2201
  * @throws OciError when an error occurs
2116
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/GetView.ts.html |here} to see how to use GetView API.
2202
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/GetView.ts.html |here} to see how to use GetView API.
2117
2203
  */
2118
2204
  getView(getViewRequest) {
2119
2205
  return __awaiter(this, void 0, void 0, function* () {
2120
- oci_common_2.logger.debug("Calling operation DnsClient#getView.");
2206
+ if (this.logger)
2207
+ this.logger.debug("Calling operation DnsClient#getView.");
2121
2208
  const operationName = "getView";
2122
2209
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/View/GetView";
2123
2210
  const pathParams = {
@@ -2134,6 +2221,8 @@ class DnsClient {
2134
2221
  };
2135
2222
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2136
2223
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getViewRequest.retryConfiguration, specRetryConfiguration);
2224
+ if (this.logger)
2225
+ retrier.logger = this.logger;
2137
2226
  const request = yield oci_common_2.composeRequest({
2138
2227
  baseEndpoint: this._endpoint,
2139
2228
  defaultHeaders: this._defaultHeaders,
@@ -2181,11 +2270,12 @@ class DnsClient {
2181
2270
  * @param GetZoneRequest
2182
2271
  * @return GetZoneResponse
2183
2272
  * @throws OciError when an error occurs
2184
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/GetZone.ts.html |here} to see how to use GetZone API.
2273
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/GetZone.ts.html |here} to see how to use GetZone API.
2185
2274
  */
2186
2275
  getZone(getZoneRequest) {
2187
2276
  return __awaiter(this, void 0, void 0, function* () {
2188
- oci_common_2.logger.debug("Calling operation DnsClient#getZone.");
2277
+ if (this.logger)
2278
+ this.logger.debug("Calling operation DnsClient#getZone.");
2189
2279
  const operationName = "getZone";
2190
2280
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/Zone/GetZone";
2191
2281
  const pathParams = {
@@ -2204,6 +2294,8 @@ class DnsClient {
2204
2294
  };
2205
2295
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2206
2296
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getZoneRequest.retryConfiguration, specRetryConfiguration);
2297
+ if (this.logger)
2298
+ retrier.logger = this.logger;
2207
2299
  const request = yield oci_common_2.composeRequest({
2208
2300
  baseEndpoint: this._endpoint,
2209
2301
  defaultHeaders: this._defaultHeaders,
@@ -2248,11 +2340,12 @@ class DnsClient {
2248
2340
  * @param GetZoneContentRequest
2249
2341
  * @return GetZoneContentResponse
2250
2342
  * @throws OciError when an error occurs
2251
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/GetZoneContent.ts.html |here} to see how to use GetZoneContent API.
2343
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/GetZoneContent.ts.html |here} to see how to use GetZoneContent API.
2252
2344
  */
2253
2345
  getZoneContent(getZoneContentRequest) {
2254
2346
  return __awaiter(this, void 0, void 0, function* () {
2255
- oci_common_2.logger.debug("Calling operation DnsClient#getZoneContent.");
2347
+ if (this.logger)
2348
+ this.logger.debug("Calling operation DnsClient#getZoneContent.");
2256
2349
  const operationName = "getZoneContent";
2257
2350
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/Zone/GetZoneContent";
2258
2351
  const pathParams = {
@@ -2270,6 +2363,8 @@ class DnsClient {
2270
2363
  };
2271
2364
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2272
2365
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getZoneContentRequest.retryConfiguration, specRetryConfiguration);
2366
+ if (this.logger)
2367
+ retrier.logger = this.logger;
2273
2368
  const request = yield oci_common_2.composeRequest({
2274
2369
  baseEndpoint: this._endpoint,
2275
2370
  defaultHeaders: this._defaultHeaders,
@@ -2318,11 +2413,12 @@ class DnsClient {
2318
2413
  * @param GetZoneRecordsRequest
2319
2414
  * @return GetZoneRecordsResponse
2320
2415
  * @throws OciError when an error occurs
2321
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/GetZoneRecords.ts.html |here} to see how to use GetZoneRecords API.
2416
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/GetZoneRecords.ts.html |here} to see how to use GetZoneRecords API.
2322
2417
  */
2323
2418
  getZoneRecords(getZoneRecordsRequest) {
2324
2419
  return __awaiter(this, void 0, void 0, function* () {
2325
- oci_common_2.logger.debug("Calling operation DnsClient#getZoneRecords.");
2420
+ if (this.logger)
2421
+ this.logger.debug("Calling operation DnsClient#getZoneRecords.");
2326
2422
  const operationName = "getZoneRecords";
2327
2423
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/Records/GetZoneRecords";
2328
2424
  const pathParams = {
@@ -2349,6 +2445,8 @@ class DnsClient {
2349
2445
  };
2350
2446
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2351
2447
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getZoneRecordsRequest.retryConfiguration, specRetryConfiguration);
2448
+ if (this.logger)
2449
+ retrier.logger = this.logger;
2352
2450
  const request = yield oci_common_2.composeRequest({
2353
2451
  baseEndpoint: this._endpoint,
2354
2452
  defaultHeaders: this._defaultHeaders,
@@ -2446,11 +2544,12 @@ class DnsClient {
2446
2544
  * @param ListResolverEndpointsRequest
2447
2545
  * @return ListResolverEndpointsResponse
2448
2546
  * @throws OciError when an error occurs
2449
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/ListResolverEndpoints.ts.html |here} to see how to use ListResolverEndpoints API.
2547
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/ListResolverEndpoints.ts.html |here} to see how to use ListResolverEndpoints API.
2450
2548
  */
2451
2549
  listResolverEndpoints(listResolverEndpointsRequest) {
2452
2550
  return __awaiter(this, void 0, void 0, function* () {
2453
- oci_common_2.logger.debug("Calling operation DnsClient#listResolverEndpoints.");
2551
+ if (this.logger)
2552
+ this.logger.debug("Calling operation DnsClient#listResolverEndpoints.");
2454
2553
  const operationName = "listResolverEndpoints";
2455
2554
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/ResolverEndpoint/ListResolverEndpoints";
2456
2555
  const pathParams = {
@@ -2471,6 +2570,8 @@ class DnsClient {
2471
2570
  };
2472
2571
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2473
2572
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listResolverEndpointsRequest.retryConfiguration, specRetryConfiguration);
2573
+ if (this.logger)
2574
+ retrier.logger = this.logger;
2474
2575
  const request = yield oci_common_2.composeRequest({
2475
2576
  baseEndpoint: this._endpoint,
2476
2577
  defaultHeaders: this._defaultHeaders,
@@ -2560,11 +2661,12 @@ class DnsClient {
2560
2661
  * @param ListResolversRequest
2561
2662
  * @return ListResolversResponse
2562
2663
  * @throws OciError when an error occurs
2563
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/ListResolvers.ts.html |here} to see how to use ListResolvers API.
2664
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/ListResolvers.ts.html |here} to see how to use ListResolvers API.
2564
2665
  */
2565
2666
  listResolvers(listResolversRequest) {
2566
2667
  return __awaiter(this, void 0, void 0, function* () {
2567
- oci_common_2.logger.debug("Calling operation DnsClient#listResolvers.");
2668
+ if (this.logger)
2669
+ this.logger.debug("Calling operation DnsClient#listResolvers.");
2568
2670
  const operationName = "listResolvers";
2569
2671
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/Resolver/ListResolvers";
2570
2672
  const pathParams = {};
@@ -2585,6 +2687,8 @@ class DnsClient {
2585
2687
  };
2586
2688
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2587
2689
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listResolversRequest.retryConfiguration, specRetryConfiguration);
2690
+ if (this.logger)
2691
+ retrier.logger = this.logger;
2588
2692
  const request = yield oci_common_2.composeRequest({
2589
2693
  baseEndpoint: this._endpoint,
2590
2694
  defaultHeaders: this._defaultHeaders,
@@ -2669,11 +2773,12 @@ class DnsClient {
2669
2773
  * @param ListSteeringPoliciesRequest
2670
2774
  * @return ListSteeringPoliciesResponse
2671
2775
  * @throws OciError when an error occurs
2672
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/ListSteeringPolicies.ts.html |here} to see how to use ListSteeringPolicies API.
2776
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/ListSteeringPolicies.ts.html |here} to see how to use ListSteeringPolicies API.
2673
2777
  */
2674
2778
  listSteeringPolicies(listSteeringPoliciesRequest) {
2675
2779
  return __awaiter(this, void 0, void 0, function* () {
2676
- oci_common_2.logger.debug("Calling operation DnsClient#listSteeringPolicies.");
2780
+ if (this.logger)
2781
+ this.logger.debug("Calling operation DnsClient#listSteeringPolicies.");
2677
2782
  const operationName = "listSteeringPolicies";
2678
2783
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/SteeringPolicy/ListSteeringPolicies";
2679
2784
  const pathParams = {};
@@ -2699,6 +2804,8 @@ class DnsClient {
2699
2804
  };
2700
2805
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2701
2806
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSteeringPoliciesRequest.retryConfiguration, specRetryConfiguration);
2807
+ if (this.logger)
2808
+ retrier.logger = this.logger;
2702
2809
  const request = yield oci_common_2.composeRequest({
2703
2810
  baseEndpoint: this._endpoint,
2704
2811
  defaultHeaders: this._defaultHeaders,
@@ -2788,11 +2895,12 @@ class DnsClient {
2788
2895
  * @param ListSteeringPolicyAttachmentsRequest
2789
2896
  * @return ListSteeringPolicyAttachmentsResponse
2790
2897
  * @throws OciError when an error occurs
2791
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/ListSteeringPolicyAttachments.ts.html |here} to see how to use ListSteeringPolicyAttachments API.
2898
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/ListSteeringPolicyAttachments.ts.html |here} to see how to use ListSteeringPolicyAttachments API.
2792
2899
  */
2793
2900
  listSteeringPolicyAttachments(listSteeringPolicyAttachmentsRequest) {
2794
2901
  return __awaiter(this, void 0, void 0, function* () {
2795
- oci_common_2.logger.debug("Calling operation DnsClient#listSteeringPolicyAttachments.");
2902
+ if (this.logger)
2903
+ this.logger.debug("Calling operation DnsClient#listSteeringPolicyAttachments.");
2796
2904
  const operationName = "listSteeringPolicyAttachments";
2797
2905
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/SteeringPolicyAttachment/ListSteeringPolicyAttachments";
2798
2906
  const pathParams = {};
@@ -2819,6 +2927,8 @@ class DnsClient {
2819
2927
  };
2820
2928
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2821
2929
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSteeringPolicyAttachmentsRequest.retryConfiguration, specRetryConfiguration);
2930
+ if (this.logger)
2931
+ retrier.logger = this.logger;
2822
2932
  const request = yield oci_common_2.composeRequest({
2823
2933
  baseEndpoint: this._endpoint,
2824
2934
  defaultHeaders: this._defaultHeaders,
@@ -2908,11 +3018,12 @@ class DnsClient {
2908
3018
  * @param ListTsigKeysRequest
2909
3019
  * @return ListTsigKeysResponse
2910
3020
  * @throws OciError when an error occurs
2911
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/ListTsigKeys.ts.html |here} to see how to use ListTsigKeys API.
3021
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/ListTsigKeys.ts.html |here} to see how to use ListTsigKeys API.
2912
3022
  */
2913
3023
  listTsigKeys(listTsigKeysRequest) {
2914
3024
  return __awaiter(this, void 0, void 0, function* () {
2915
- oci_common_2.logger.debug("Calling operation DnsClient#listTsigKeys.");
3025
+ if (this.logger)
3026
+ this.logger.debug("Calling operation DnsClient#listTsigKeys.");
2916
3027
  const operationName = "listTsigKeys";
2917
3028
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/TsigKey/ListTsigKeys";
2918
3029
  const pathParams = {};
@@ -2933,6 +3044,8 @@ class DnsClient {
2933
3044
  };
2934
3045
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2935
3046
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listTsigKeysRequest.retryConfiguration, specRetryConfiguration);
3047
+ if (this.logger)
3048
+ retrier.logger = this.logger;
2936
3049
  const request = yield oci_common_2.composeRequest({
2937
3050
  baseEndpoint: this._endpoint,
2938
3051
  defaultHeaders: this._defaultHeaders,
@@ -3022,11 +3135,12 @@ class DnsClient {
3022
3135
  * @param ListViewsRequest
3023
3136
  * @return ListViewsResponse
3024
3137
  * @throws OciError when an error occurs
3025
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/ListViews.ts.html |here} to see how to use ListViews API.
3138
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/ListViews.ts.html |here} to see how to use ListViews API.
3026
3139
  */
3027
3140
  listViews(listViewsRequest) {
3028
3141
  return __awaiter(this, void 0, void 0, function* () {
3029
- oci_common_2.logger.debug("Calling operation DnsClient#listViews.");
3142
+ if (this.logger)
3143
+ this.logger.debug("Calling operation DnsClient#listViews.");
3030
3144
  const operationName = "listViews";
3031
3145
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/View/ListViews";
3032
3146
  const pathParams = {};
@@ -3047,6 +3161,8 @@ class DnsClient {
3047
3161
  };
3048
3162
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3049
3163
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listViewsRequest.retryConfiguration, specRetryConfiguration);
3164
+ if (this.logger)
3165
+ retrier.logger = this.logger;
3050
3166
  const request = yield oci_common_2.composeRequest({
3051
3167
  baseEndpoint: this._endpoint,
3052
3168
  defaultHeaders: this._defaultHeaders,
@@ -3133,11 +3249,12 @@ class DnsClient {
3133
3249
  * @param ListZoneTransferServersRequest
3134
3250
  * @return ListZoneTransferServersResponse
3135
3251
  * @throws OciError when an error occurs
3136
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/ListZoneTransferServers.ts.html |here} to see how to use ListZoneTransferServers API.
3252
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/ListZoneTransferServers.ts.html |here} to see how to use ListZoneTransferServers API.
3137
3253
  */
3138
3254
  listZoneTransferServers(listZoneTransferServersRequest) {
3139
3255
  return __awaiter(this, void 0, void 0, function* () {
3140
- oci_common_2.logger.debug("Calling operation DnsClient#listZoneTransferServers.");
3256
+ if (this.logger)
3257
+ this.logger.debug("Calling operation DnsClient#listZoneTransferServers.");
3141
3258
  const operationName = "listZoneTransferServers";
3142
3259
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/ZoneTransferServer/ListZoneTransferServers";
3143
3260
  const pathParams = {};
@@ -3152,6 +3269,8 @@ class DnsClient {
3152
3269
  };
3153
3270
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3154
3271
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listZoneTransferServersRequest.retryConfiguration, specRetryConfiguration);
3272
+ if (this.logger)
3273
+ retrier.logger = this.logger;
3155
3274
  const request = yield oci_common_2.composeRequest({
3156
3275
  baseEndpoint: this._endpoint,
3157
3276
  defaultHeaders: this._defaultHeaders,
@@ -3239,11 +3358,12 @@ class DnsClient {
3239
3358
  * @param ListZonesRequest
3240
3359
  * @return ListZonesResponse
3241
3360
  * @throws OciError when an error occurs
3242
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/ListZones.ts.html |here} to see how to use ListZones API.
3361
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/ListZones.ts.html |here} to see how to use ListZones API.
3243
3362
  */
3244
3363
  listZones(listZonesRequest) {
3245
3364
  return __awaiter(this, void 0, void 0, function* () {
3246
- oci_common_2.logger.debug("Calling operation DnsClient#listZones.");
3365
+ if (this.logger)
3366
+ this.logger.debug("Calling operation DnsClient#listZones.");
3247
3367
  const operationName = "listZones";
3248
3368
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/Zone/ListZones";
3249
3369
  const pathParams = {};
@@ -3269,6 +3389,8 @@ class DnsClient {
3269
3389
  };
3270
3390
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3271
3391
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listZonesRequest.retryConfiguration, specRetryConfiguration);
3392
+ if (this.logger)
3393
+ retrier.logger = this.logger;
3272
3394
  const request = yield oci_common_2.composeRequest({
3273
3395
  baseEndpoint: this._endpoint,
3274
3396
  defaultHeaders: this._defaultHeaders,
@@ -3363,11 +3485,12 @@ class DnsClient {
3363
3485
  * @param PatchDomainRecordsRequest
3364
3486
  * @return PatchDomainRecordsResponse
3365
3487
  * @throws OciError when an error occurs
3366
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/PatchDomainRecords.ts.html |here} to see how to use PatchDomainRecords API.
3488
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/PatchDomainRecords.ts.html |here} to see how to use PatchDomainRecords API.
3367
3489
  */
3368
3490
  patchDomainRecords(patchDomainRecordsRequest) {
3369
3491
  return __awaiter(this, void 0, void 0, function* () {
3370
- oci_common_2.logger.debug("Calling operation DnsClient#patchDomainRecords.");
3492
+ if (this.logger)
3493
+ this.logger.debug("Calling operation DnsClient#patchDomainRecords.");
3371
3494
  const operationName = "patchDomainRecords";
3372
3495
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/Records/PatchDomainRecords";
3373
3496
  const pathParams = {
@@ -3387,6 +3510,8 @@ class DnsClient {
3387
3510
  };
3388
3511
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3389
3512
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, patchDomainRecordsRequest.retryConfiguration, specRetryConfiguration);
3513
+ if (this.logger)
3514
+ retrier.logger = this.logger;
3390
3515
  const request = yield oci_common_2.composeRequest({
3391
3516
  baseEndpoint: this._endpoint,
3392
3517
  defaultHeaders: this._defaultHeaders,
@@ -3445,11 +3570,12 @@ class DnsClient {
3445
3570
  * @param PatchRRSetRequest
3446
3571
  * @return PatchRRSetResponse
3447
3572
  * @throws OciError when an error occurs
3448
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/PatchRRSet.ts.html |here} to see how to use PatchRRSet API.
3573
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/PatchRRSet.ts.html |here} to see how to use PatchRRSet API.
3449
3574
  */
3450
3575
  patchRRSet(patchRRSetRequest) {
3451
3576
  return __awaiter(this, void 0, void 0, function* () {
3452
- oci_common_2.logger.debug("Calling operation DnsClient#patchRRSet.");
3577
+ if (this.logger)
3578
+ this.logger.debug("Calling operation DnsClient#patchRRSet.");
3453
3579
  const operationName = "patchRRSet";
3454
3580
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/RRSet/PatchRRSet";
3455
3581
  const pathParams = {
@@ -3470,6 +3596,8 @@ class DnsClient {
3470
3596
  };
3471
3597
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3472
3598
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, patchRRSetRequest.retryConfiguration, specRetryConfiguration);
3599
+ if (this.logger)
3600
+ retrier.logger = this.logger;
3473
3601
  const request = yield oci_common_2.composeRequest({
3474
3602
  baseEndpoint: this._endpoint,
3475
3603
  defaultHeaders: this._defaultHeaders,
@@ -3530,11 +3658,12 @@ class DnsClient {
3530
3658
  * @param PatchZoneRecordsRequest
3531
3659
  * @return PatchZoneRecordsResponse
3532
3660
  * @throws OciError when an error occurs
3533
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/PatchZoneRecords.ts.html |here} to see how to use PatchZoneRecords API.
3661
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/PatchZoneRecords.ts.html |here} to see how to use PatchZoneRecords API.
3534
3662
  */
3535
3663
  patchZoneRecords(patchZoneRecordsRequest) {
3536
3664
  return __awaiter(this, void 0, void 0, function* () {
3537
- oci_common_2.logger.debug("Calling operation DnsClient#patchZoneRecords.");
3665
+ if (this.logger)
3666
+ this.logger.debug("Calling operation DnsClient#patchZoneRecords.");
3538
3667
  const operationName = "patchZoneRecords";
3539
3668
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/Records/PatchZoneRecords";
3540
3669
  const pathParams = {
@@ -3553,6 +3682,8 @@ class DnsClient {
3553
3682
  };
3554
3683
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3555
3684
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, patchZoneRecordsRequest.retryConfiguration, specRetryConfiguration);
3685
+ if (this.logger)
3686
+ retrier.logger = this.logger;
3556
3687
  const request = yield oci_common_2.composeRequest({
3557
3688
  baseEndpoint: this._endpoint,
3558
3689
  defaultHeaders: this._defaultHeaders,
@@ -3613,11 +3744,12 @@ class DnsClient {
3613
3744
  * @param UpdateDomainRecordsRequest
3614
3745
  * @return UpdateDomainRecordsResponse
3615
3746
  * @throws OciError when an error occurs
3616
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/UpdateDomainRecords.ts.html |here} to see how to use UpdateDomainRecords API.
3747
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/UpdateDomainRecords.ts.html |here} to see how to use UpdateDomainRecords API.
3617
3748
  */
3618
3749
  updateDomainRecords(updateDomainRecordsRequest) {
3619
3750
  return __awaiter(this, void 0, void 0, function* () {
3620
- oci_common_2.logger.debug("Calling operation DnsClient#updateDomainRecords.");
3751
+ if (this.logger)
3752
+ this.logger.debug("Calling operation DnsClient#updateDomainRecords.");
3621
3753
  const operationName = "updateDomainRecords";
3622
3754
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/Records/UpdateDomainRecords";
3623
3755
  const pathParams = {
@@ -3637,6 +3769,8 @@ class DnsClient {
3637
3769
  };
3638
3770
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3639
3771
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDomainRecordsRequest.retryConfiguration, specRetryConfiguration);
3772
+ if (this.logger)
3773
+ retrier.logger = this.logger;
3640
3774
  const request = yield oci_common_2.composeRequest({
3641
3775
  baseEndpoint: this._endpoint,
3642
3776
  defaultHeaders: this._defaultHeaders,
@@ -3695,11 +3829,12 @@ class DnsClient {
3695
3829
  * @param UpdateRRSetRequest
3696
3830
  * @return UpdateRRSetResponse
3697
3831
  * @throws OciError when an error occurs
3698
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/UpdateRRSet.ts.html |here} to see how to use UpdateRRSet API.
3832
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/UpdateRRSet.ts.html |here} to see how to use UpdateRRSet API.
3699
3833
  */
3700
3834
  updateRRSet(updateRRSetRequest) {
3701
3835
  return __awaiter(this, void 0, void 0, function* () {
3702
- oci_common_2.logger.debug("Calling operation DnsClient#updateRRSet.");
3836
+ if (this.logger)
3837
+ this.logger.debug("Calling operation DnsClient#updateRRSet.");
3703
3838
  const operationName = "updateRRSet";
3704
3839
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/RRSet/UpdateRRSet";
3705
3840
  const pathParams = {
@@ -3720,6 +3855,8 @@ class DnsClient {
3720
3855
  };
3721
3856
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3722
3857
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateRRSetRequest.retryConfiguration, specRetryConfiguration);
3858
+ if (this.logger)
3859
+ retrier.logger = this.logger;
3723
3860
  const request = yield oci_common_2.composeRequest({
3724
3861
  baseEndpoint: this._endpoint,
3725
3862
  defaultHeaders: this._defaultHeaders,
@@ -3775,11 +3912,12 @@ class DnsClient {
3775
3912
  * @param UpdateResolverRequest
3776
3913
  * @return UpdateResolverResponse
3777
3914
  * @throws OciError when an error occurs
3778
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/UpdateResolver.ts.html |here} to see how to use UpdateResolver API.
3915
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/UpdateResolver.ts.html |here} to see how to use UpdateResolver API.
3779
3916
  */
3780
3917
  updateResolver(updateResolverRequest) {
3781
3918
  return __awaiter(this, void 0, void 0, function* () {
3782
- oci_common_2.logger.debug("Calling operation DnsClient#updateResolver.");
3919
+ if (this.logger)
3920
+ this.logger.debug("Calling operation DnsClient#updateResolver.");
3783
3921
  const operationName = "updateResolver";
3784
3922
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/Resolver/UpdateResolver";
3785
3923
  const pathParams = {
@@ -3796,6 +3934,8 @@ class DnsClient {
3796
3934
  };
3797
3935
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3798
3936
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateResolverRequest.retryConfiguration, specRetryConfiguration);
3937
+ if (this.logger)
3938
+ retrier.logger = this.logger;
3799
3939
  const request = yield oci_common_2.composeRequest({
3800
3940
  baseEndpoint: this._endpoint,
3801
3941
  defaultHeaders: this._defaultHeaders,
@@ -3846,11 +3986,12 @@ class DnsClient {
3846
3986
  * @param UpdateResolverEndpointRequest
3847
3987
  * @return UpdateResolverEndpointResponse
3848
3988
  * @throws OciError when an error occurs
3849
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/UpdateResolverEndpoint.ts.html |here} to see how to use UpdateResolverEndpoint API.
3989
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/UpdateResolverEndpoint.ts.html |here} to see how to use UpdateResolverEndpoint API.
3850
3990
  */
3851
3991
  updateResolverEndpoint(updateResolverEndpointRequest) {
3852
3992
  return __awaiter(this, void 0, void 0, function* () {
3853
- oci_common_2.logger.debug("Calling operation DnsClient#updateResolverEndpoint.");
3993
+ if (this.logger)
3994
+ this.logger.debug("Calling operation DnsClient#updateResolverEndpoint.");
3854
3995
  const operationName = "updateResolverEndpoint";
3855
3996
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/ResolverEndpoint/UpdateResolverEndpoint";
3856
3997
  const pathParams = {
@@ -3868,6 +4009,8 @@ class DnsClient {
3868
4009
  };
3869
4010
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3870
4011
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateResolverEndpointRequest.retryConfiguration, specRetryConfiguration);
4012
+ if (this.logger)
4013
+ retrier.logger = this.logger;
3871
4014
  const request = yield oci_common_2.composeRequest({
3872
4015
  baseEndpoint: this._endpoint,
3873
4016
  defaultHeaders: this._defaultHeaders,
@@ -3918,11 +4061,12 @@ class DnsClient {
3918
4061
  * @param UpdateSteeringPolicyRequest
3919
4062
  * @return UpdateSteeringPolicyResponse
3920
4063
  * @throws OciError when an error occurs
3921
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/UpdateSteeringPolicy.ts.html |here} to see how to use UpdateSteeringPolicy API.
4064
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/UpdateSteeringPolicy.ts.html |here} to see how to use UpdateSteeringPolicy API.
3922
4065
  */
3923
4066
  updateSteeringPolicy(updateSteeringPolicyRequest) {
3924
4067
  return __awaiter(this, void 0, void 0, function* () {
3925
- oci_common_2.logger.debug("Calling operation DnsClient#updateSteeringPolicy.");
4068
+ if (this.logger)
4069
+ this.logger.debug("Calling operation DnsClient#updateSteeringPolicy.");
3926
4070
  const operationName = "updateSteeringPolicy";
3927
4071
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/SteeringPolicy/UpdateSteeringPolicy";
3928
4072
  const pathParams = {
@@ -3939,6 +4083,8 @@ class DnsClient {
3939
4083
  };
3940
4084
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3941
4085
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSteeringPolicyRequest.retryConfiguration, specRetryConfiguration);
4086
+ if (this.logger)
4087
+ retrier.logger = this.logger;
3942
4088
  const request = yield oci_common_2.composeRequest({
3943
4089
  baseEndpoint: this._endpoint,
3944
4090
  defaultHeaders: this._defaultHeaders,
@@ -3984,11 +4130,12 @@ class DnsClient {
3984
4130
  * @param UpdateSteeringPolicyAttachmentRequest
3985
4131
  * @return UpdateSteeringPolicyAttachmentResponse
3986
4132
  * @throws OciError when an error occurs
3987
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/UpdateSteeringPolicyAttachment.ts.html |here} to see how to use UpdateSteeringPolicyAttachment API.
4133
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/UpdateSteeringPolicyAttachment.ts.html |here} to see how to use UpdateSteeringPolicyAttachment API.
3988
4134
  */
3989
4135
  updateSteeringPolicyAttachment(updateSteeringPolicyAttachmentRequest) {
3990
4136
  return __awaiter(this, void 0, void 0, function* () {
3991
- oci_common_2.logger.debug("Calling operation DnsClient#updateSteeringPolicyAttachment.");
4137
+ if (this.logger)
4138
+ this.logger.debug("Calling operation DnsClient#updateSteeringPolicyAttachment.");
3992
4139
  const operationName = "updateSteeringPolicyAttachment";
3993
4140
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/SteeringPolicyAttachment/UpdateSteeringPolicyAttachment";
3994
4141
  const pathParams = {
@@ -4005,6 +4152,8 @@ class DnsClient {
4005
4152
  };
4006
4153
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4007
4154
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSteeringPolicyAttachmentRequest.retryConfiguration, specRetryConfiguration);
4155
+ if (this.logger)
4156
+ retrier.logger = this.logger;
4008
4157
  const request = yield oci_common_2.composeRequest({
4009
4158
  baseEndpoint: this._endpoint,
4010
4159
  defaultHeaders: this._defaultHeaders,
@@ -4050,11 +4199,12 @@ class DnsClient {
4050
4199
  * @param UpdateTsigKeyRequest
4051
4200
  * @return UpdateTsigKeyResponse
4052
4201
  * @throws OciError when an error occurs
4053
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/UpdateTsigKey.ts.html |here} to see how to use UpdateTsigKey API.
4202
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/UpdateTsigKey.ts.html |here} to see how to use UpdateTsigKey API.
4054
4203
  */
4055
4204
  updateTsigKey(updateTsigKeyRequest) {
4056
4205
  return __awaiter(this, void 0, void 0, function* () {
4057
- oci_common_2.logger.debug("Calling operation DnsClient#updateTsigKey.");
4206
+ if (this.logger)
4207
+ this.logger.debug("Calling operation DnsClient#updateTsigKey.");
4058
4208
  const operationName = "updateTsigKey";
4059
4209
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/TsigKey/UpdateTsigKey";
4060
4210
  const pathParams = {
@@ -4071,6 +4221,8 @@ class DnsClient {
4071
4221
  };
4072
4222
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4073
4223
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateTsigKeyRequest.retryConfiguration, specRetryConfiguration);
4224
+ if (this.logger)
4225
+ retrier.logger = this.logger;
4074
4226
  const request = yield oci_common_2.composeRequest({
4075
4227
  baseEndpoint: this._endpoint,
4076
4228
  defaultHeaders: this._defaultHeaders,
@@ -4121,11 +4273,12 @@ class DnsClient {
4121
4273
  * @param UpdateViewRequest
4122
4274
  * @return UpdateViewResponse
4123
4275
  * @throws OciError when an error occurs
4124
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/UpdateView.ts.html |here} to see how to use UpdateView API.
4276
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/UpdateView.ts.html |here} to see how to use UpdateView API.
4125
4277
  */
4126
4278
  updateView(updateViewRequest) {
4127
4279
  return __awaiter(this, void 0, void 0, function* () {
4128
- oci_common_2.logger.debug("Calling operation DnsClient#updateView.");
4280
+ if (this.logger)
4281
+ this.logger.debug("Calling operation DnsClient#updateView.");
4129
4282
  const operationName = "updateView";
4130
4283
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/View/UpdateView";
4131
4284
  const pathParams = {
@@ -4142,6 +4295,8 @@ class DnsClient {
4142
4295
  };
4143
4296
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4144
4297
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateViewRequest.retryConfiguration, specRetryConfiguration);
4298
+ if (this.logger)
4299
+ retrier.logger = this.logger;
4145
4300
  const request = yield oci_common_2.composeRequest({
4146
4301
  baseEndpoint: this._endpoint,
4147
4302
  defaultHeaders: this._defaultHeaders,
@@ -4197,11 +4352,12 @@ class DnsClient {
4197
4352
  * @param UpdateZoneRequest
4198
4353
  * @return UpdateZoneResponse
4199
4354
  * @throws OciError when an error occurs
4200
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/UpdateZone.ts.html |here} to see how to use UpdateZone API.
4355
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/UpdateZone.ts.html |here} to see how to use UpdateZone API.
4201
4356
  */
4202
4357
  updateZone(updateZoneRequest) {
4203
4358
  return __awaiter(this, void 0, void 0, function* () {
4204
- oci_common_2.logger.debug("Calling operation DnsClient#updateZone.");
4359
+ if (this.logger)
4360
+ this.logger.debug("Calling operation DnsClient#updateZone.");
4205
4361
  const operationName = "updateZone";
4206
4362
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/Zone/UpdateZone";
4207
4363
  const pathParams = {
@@ -4220,6 +4376,8 @@ class DnsClient {
4220
4376
  };
4221
4377
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4222
4378
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateZoneRequest.retryConfiguration, specRetryConfiguration);
4379
+ if (this.logger)
4380
+ retrier.logger = this.logger;
4223
4381
  const request = yield oci_common_2.composeRequest({
4224
4382
  baseEndpoint: this._endpoint,
4225
4383
  defaultHeaders: this._defaultHeaders,
@@ -4276,11 +4434,12 @@ class DnsClient {
4276
4434
  * @param UpdateZoneRecordsRequest
4277
4435
  * @return UpdateZoneRecordsResponse
4278
4436
  * @throws OciError when an error occurs
4279
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/dns/UpdateZoneRecords.ts.html |here} to see how to use UpdateZoneRecords API.
4437
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/dns/UpdateZoneRecords.ts.html |here} to see how to use UpdateZoneRecords API.
4280
4438
  */
4281
4439
  updateZoneRecords(updateZoneRecordsRequest) {
4282
4440
  return __awaiter(this, void 0, void 0, function* () {
4283
- oci_common_2.logger.debug("Calling operation DnsClient#updateZoneRecords.");
4441
+ if (this.logger)
4442
+ this.logger.debug("Calling operation DnsClient#updateZoneRecords.");
4284
4443
  const operationName = "updateZoneRecords";
4285
4444
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/dns/20180115/Records/UpdateZoneRecords";
4286
4445
  const pathParams = {
@@ -4299,6 +4458,8 @@ class DnsClient {
4299
4458
  };
4300
4459
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4301
4460
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateZoneRecordsRequest.retryConfiguration, specRetryConfiguration);
4461
+ if (this.logger)
4462
+ retrier.logger = this.logger;
4302
4463
  const request = yield oci_common_2.composeRequest({
4303
4464
  baseEndpoint: this._endpoint,
4304
4465
  defaultHeaders: this._defaultHeaders,