oci-dns 2.79.0 → 2.79.1

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