oci-certificatesmanagement 2.78.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 (48) hide show
  1. package/lib/client.d.ts +32 -33
  2. package/lib/client.js +66 -167
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/certificate-authority-rule.js +2 -4
  5. package/lib/model/certificate-authority-rule.js.map +1 -1
  6. package/lib/model/certificate-rule.js +2 -4
  7. package/lib/model/certificate-rule.js.map +1 -1
  8. package/lib/model/create-certificate-authority-config-details.js +2 -4
  9. package/lib/model/create-certificate-authority-config-details.js.map +1 -1
  10. package/lib/model/create-certificate-config-details.js +2 -4
  11. package/lib/model/create-certificate-config-details.js.map +1 -1
  12. package/lib/model/update-certificate-authority-config-details.js +2 -4
  13. package/lib/model/update-certificate-authority-config-details.js.map +1 -1
  14. package/lib/model/update-certificate-config-details.js +2 -4
  15. package/lib/model/update-certificate-config-details.js.map +1 -1
  16. package/lib/request/cancel-certificate-authority-deletion-request.d.ts +1 -1
  17. package/lib/request/cancel-certificate-authority-version-deletion-request.d.ts +1 -1
  18. package/lib/request/cancel-certificate-deletion-request.d.ts +1 -1
  19. package/lib/request/cancel-certificate-version-deletion-request.d.ts +1 -1
  20. package/lib/request/change-ca-bundle-compartment-request.d.ts +1 -1
  21. package/lib/request/change-certificate-authority-compartment-request.d.ts +1 -1
  22. package/lib/request/change-certificate-compartment-request.d.ts +1 -1
  23. package/lib/request/create-ca-bundle-request.d.ts +1 -1
  24. package/lib/request/create-certificate-authority-request.d.ts +1 -1
  25. package/lib/request/create-certificate-request.d.ts +1 -1
  26. package/lib/request/delete-ca-bundle-request.d.ts +1 -1
  27. package/lib/request/get-association-request.d.ts +1 -1
  28. package/lib/request/get-ca-bundle-request.d.ts +1 -1
  29. package/lib/request/get-certificate-authority-request.d.ts +1 -1
  30. package/lib/request/get-certificate-authority-version-request.d.ts +1 -1
  31. package/lib/request/get-certificate-request.d.ts +1 -1
  32. package/lib/request/get-certificate-version-request.d.ts +1 -1
  33. package/lib/request/list-associations-request.d.ts +1 -1
  34. package/lib/request/list-ca-bundles-request.d.ts +1 -1
  35. package/lib/request/list-certificate-authorities-request.d.ts +1 -1
  36. package/lib/request/list-certificate-authority-versions-request.d.ts +1 -1
  37. package/lib/request/list-certificate-versions-request.d.ts +1 -1
  38. package/lib/request/list-certificates-request.d.ts +1 -1
  39. package/lib/request/revoke-certificate-authority-version-request.d.ts +1 -1
  40. package/lib/request/revoke-certificate-version-request.d.ts +1 -1
  41. package/lib/request/schedule-certificate-authority-deletion-request.d.ts +1 -1
  42. package/lib/request/schedule-certificate-authority-version-deletion-request.d.ts +1 -1
  43. package/lib/request/schedule-certificate-deletion-request.d.ts +1 -1
  44. package/lib/request/schedule-certificate-version-deletion-request.d.ts +1 -1
  45. package/lib/request/update-ca-bundle-request.d.ts +1 -1
  46. package/lib/request/update-certificate-authority-request.d.ts +1 -1
  47. package/lib/request/update-certificate-request.d.ts +1 -1
  48. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -116,11 +116,7 @@ class CertificatesManagementClient {
116
116
  set endpoint(endpoint) {
117
117
  this._endpoint = endpoint;
118
118
  this._endpoint = this._endpoint + "/20210224";
119
- if (this.logger)
120
- this.logger.info(`CertificatesManagementClient endpoint set to ${this._endpoint}`);
121
- }
122
- get logger() {
123
- return common.LOG.logger;
119
+ oci_common_1.logger.info(`CertificatesManagementClient endpoint set to ${this._endpoint}`);
124
120
  }
125
121
  /**
126
122
  * Determines whether realm specific endpoint should be used or not.
@@ -129,8 +125,7 @@ class CertificatesManagementClient {
129
125
  */
130
126
  set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
131
127
  this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
132
- if (this.logger)
133
- this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
128
+ oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
134
129
  if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
135
130
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(CertificatesManagementClient.serviceEndpointTemplate, this._region, CertificatesManagementClient.endpointServiceName);
136
131
  }
@@ -196,12 +191,11 @@ class CertificatesManagementClient {
196
191
  * @param CancelCertificateAuthorityDeletionRequest
197
192
  * @return CancelCertificateAuthorityDeletionResponse
198
193
  * @throws OciError when an error occurs
199
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/certificatesmanagement/CancelCertificateAuthorityDeletion.ts.html |here} to see how to use CancelCertificateAuthorityDeletion API.
194
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/certificatesmanagement/CancelCertificateAuthorityDeletion.ts.html |here} to see how to use CancelCertificateAuthorityDeletion API.
200
195
  */
201
196
  cancelCertificateAuthorityDeletion(cancelCertificateAuthorityDeletionRequest) {
202
197
  return __awaiter(this, void 0, void 0, function* () {
203
- if (this.logger)
204
- this.logger.debug("Calling operation CertificatesManagementClient#cancelCertificateAuthorityDeletion.");
198
+ oci_common_1.logger.debug("Calling operation CertificatesManagementClient#cancelCertificateAuthorityDeletion.");
205
199
  const operationName = "cancelCertificateAuthorityDeletion";
206
200
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CertificateAuthority/CancelCertificateAuthorityDeletion";
207
201
  const pathParams = {
@@ -215,8 +209,6 @@ class CertificatesManagementClient {
215
209
  };
216
210
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
217
211
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelCertificateAuthorityDeletionRequest.retryConfiguration, specRetryConfiguration);
218
- if (this.logger)
219
- retrier.logger = this.logger;
220
212
  const request = yield oci_common_1.composeRequest({
221
213
  baseEndpoint: this._endpoint,
222
214
  defaultHeaders: this._defaultHeaders,
@@ -259,12 +251,11 @@ class CertificatesManagementClient {
259
251
  * @param CancelCertificateAuthorityVersionDeletionRequest
260
252
  * @return CancelCertificateAuthorityVersionDeletionResponse
261
253
  * @throws OciError when an error occurs
262
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/certificatesmanagement/CancelCertificateAuthorityVersionDeletion.ts.html |here} to see how to use CancelCertificateAuthorityVersionDeletion API.
254
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/certificatesmanagement/CancelCertificateAuthorityVersionDeletion.ts.html |here} to see how to use CancelCertificateAuthorityVersionDeletion API.
263
255
  */
264
256
  cancelCertificateAuthorityVersionDeletion(cancelCertificateAuthorityVersionDeletionRequest) {
265
257
  return __awaiter(this, void 0, void 0, function* () {
266
- if (this.logger)
267
- this.logger.debug("Calling operation CertificatesManagementClient#cancelCertificateAuthorityVersionDeletion.");
258
+ oci_common_1.logger.debug("Calling operation CertificatesManagementClient#cancelCertificateAuthorityVersionDeletion.");
268
259
  const operationName = "cancelCertificateAuthorityVersionDeletion";
269
260
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CertificateAuthorityVersion/CancelCertificateAuthorityVersionDeletion";
270
261
  const pathParams = {
@@ -279,8 +270,6 @@ class CertificatesManagementClient {
279
270
  };
280
271
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
281
272
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelCertificateAuthorityVersionDeletionRequest.retryConfiguration, specRetryConfiguration);
282
- if (this.logger)
283
- retrier.logger = this.logger;
284
273
  const request = yield oci_common_1.composeRequest({
285
274
  baseEndpoint: this._endpoint,
286
275
  defaultHeaders: this._defaultHeaders,
@@ -323,12 +312,11 @@ class CertificatesManagementClient {
323
312
  * @param CancelCertificateDeletionRequest
324
313
  * @return CancelCertificateDeletionResponse
325
314
  * @throws OciError when an error occurs
326
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/certificatesmanagement/CancelCertificateDeletion.ts.html |here} to see how to use CancelCertificateDeletion API.
315
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/certificatesmanagement/CancelCertificateDeletion.ts.html |here} to see how to use CancelCertificateDeletion API.
327
316
  */
328
317
  cancelCertificateDeletion(cancelCertificateDeletionRequest) {
329
318
  return __awaiter(this, void 0, void 0, function* () {
330
- if (this.logger)
331
- this.logger.debug("Calling operation CertificatesManagementClient#cancelCertificateDeletion.");
319
+ oci_common_1.logger.debug("Calling operation CertificatesManagementClient#cancelCertificateDeletion.");
332
320
  const operationName = "cancelCertificateDeletion";
333
321
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/Certificate/CancelCertificateDeletion";
334
322
  const pathParams = {
@@ -342,8 +330,6 @@ class CertificatesManagementClient {
342
330
  };
343
331
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
344
332
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelCertificateDeletionRequest.retryConfiguration, specRetryConfiguration);
345
- if (this.logger)
346
- retrier.logger = this.logger;
347
333
  const request = yield oci_common_1.composeRequest({
348
334
  baseEndpoint: this._endpoint,
349
335
  defaultHeaders: this._defaultHeaders,
@@ -383,12 +369,11 @@ class CertificatesManagementClient {
383
369
  * @param CancelCertificateVersionDeletionRequest
384
370
  * @return CancelCertificateVersionDeletionResponse
385
371
  * @throws OciError when an error occurs
386
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/certificatesmanagement/CancelCertificateVersionDeletion.ts.html |here} to see how to use CancelCertificateVersionDeletion API.
372
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/certificatesmanagement/CancelCertificateVersionDeletion.ts.html |here} to see how to use CancelCertificateVersionDeletion API.
387
373
  */
388
374
  cancelCertificateVersionDeletion(cancelCertificateVersionDeletionRequest) {
389
375
  return __awaiter(this, void 0, void 0, function* () {
390
- if (this.logger)
391
- this.logger.debug("Calling operation CertificatesManagementClient#cancelCertificateVersionDeletion.");
376
+ oci_common_1.logger.debug("Calling operation CertificatesManagementClient#cancelCertificateVersionDeletion.");
392
377
  const operationName = "cancelCertificateVersionDeletion";
393
378
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CertificateVersion/CancelCertificateVersionDeletion";
394
379
  const pathParams = {
@@ -403,8 +388,6 @@ class CertificatesManagementClient {
403
388
  };
404
389
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
405
390
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelCertificateVersionDeletionRequest.retryConfiguration, specRetryConfiguration);
406
- if (this.logger)
407
- retrier.logger = this.logger;
408
391
  const request = yield oci_common_1.composeRequest({
409
392
  baseEndpoint: this._endpoint,
410
393
  defaultHeaders: this._defaultHeaders,
@@ -448,12 +431,11 @@ class CertificatesManagementClient {
448
431
  * @param ChangeCaBundleCompartmentRequest
449
432
  * @return ChangeCaBundleCompartmentResponse
450
433
  * @throws OciError when an error occurs
451
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/certificatesmanagement/ChangeCaBundleCompartment.ts.html |here} to see how to use ChangeCaBundleCompartment API.
434
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/certificatesmanagement/ChangeCaBundleCompartment.ts.html |here} to see how to use ChangeCaBundleCompartment API.
452
435
  */
453
436
  changeCaBundleCompartment(changeCaBundleCompartmentRequest) {
454
437
  return __awaiter(this, void 0, void 0, function* () {
455
- if (this.logger)
456
- this.logger.debug("Calling operation CertificatesManagementClient#changeCaBundleCompartment.");
438
+ oci_common_1.logger.debug("Calling operation CertificatesManagementClient#changeCaBundleCompartment.");
457
439
  const operationName = "changeCaBundleCompartment";
458
440
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CaBundle/ChangeCaBundleCompartment";
459
441
  const pathParams = {
@@ -468,8 +450,6 @@ class CertificatesManagementClient {
468
450
  };
469
451
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
470
452
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeCaBundleCompartmentRequest.retryConfiguration, specRetryConfiguration);
471
- if (this.logger)
472
- retrier.logger = this.logger;
473
453
  const request = yield oci_common_1.composeRequest({
474
454
  baseEndpoint: this._endpoint,
475
455
  defaultHeaders: this._defaultHeaders,
@@ -509,12 +489,11 @@ class CertificatesManagementClient {
509
489
  * @param ChangeCertificateAuthorityCompartmentRequest
510
490
  * @return ChangeCertificateAuthorityCompartmentResponse
511
491
  * @throws OciError when an error occurs
512
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/certificatesmanagement/ChangeCertificateAuthorityCompartment.ts.html |here} to see how to use ChangeCertificateAuthorityCompartment API.
492
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/certificatesmanagement/ChangeCertificateAuthorityCompartment.ts.html |here} to see how to use ChangeCertificateAuthorityCompartment API.
513
493
  */
514
494
  changeCertificateAuthorityCompartment(changeCertificateAuthorityCompartmentRequest) {
515
495
  return __awaiter(this, void 0, void 0, function* () {
516
- if (this.logger)
517
- this.logger.debug("Calling operation CertificatesManagementClient#changeCertificateAuthorityCompartment.");
496
+ oci_common_1.logger.debug("Calling operation CertificatesManagementClient#changeCertificateAuthorityCompartment.");
518
497
  const operationName = "changeCertificateAuthorityCompartment";
519
498
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CertificateAuthority/ChangeCertificateAuthorityCompartment";
520
499
  const pathParams = {
@@ -529,8 +508,6 @@ class CertificatesManagementClient {
529
508
  };
530
509
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
531
510
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeCertificateAuthorityCompartmentRequest.retryConfiguration, specRetryConfiguration);
532
- if (this.logger)
533
- retrier.logger = this.logger;
534
511
  const request = yield oci_common_1.composeRequest({
535
512
  baseEndpoint: this._endpoint,
536
513
  defaultHeaders: this._defaultHeaders,
@@ -570,12 +547,11 @@ class CertificatesManagementClient {
570
547
  * @param ChangeCertificateCompartmentRequest
571
548
  * @return ChangeCertificateCompartmentResponse
572
549
  * @throws OciError when an error occurs
573
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/certificatesmanagement/ChangeCertificateCompartment.ts.html |here} to see how to use ChangeCertificateCompartment API.
550
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/certificatesmanagement/ChangeCertificateCompartment.ts.html |here} to see how to use ChangeCertificateCompartment API.
574
551
  */
575
552
  changeCertificateCompartment(changeCertificateCompartmentRequest) {
576
553
  return __awaiter(this, void 0, void 0, function* () {
577
- if (this.logger)
578
- this.logger.debug("Calling operation CertificatesManagementClient#changeCertificateCompartment.");
554
+ oci_common_1.logger.debug("Calling operation CertificatesManagementClient#changeCertificateCompartment.");
579
555
  const operationName = "changeCertificateCompartment";
580
556
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/Certificate/ChangeCertificateCompartment";
581
557
  const pathParams = {
@@ -590,8 +566,6 @@ class CertificatesManagementClient {
590
566
  };
591
567
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
592
568
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeCertificateCompartmentRequest.retryConfiguration, specRetryConfiguration);
593
- if (this.logger)
594
- retrier.logger = this.logger;
595
569
  const request = yield oci_common_1.composeRequest({
596
570
  baseEndpoint: this._endpoint,
597
571
  defaultHeaders: this._defaultHeaders,
@@ -627,12 +601,11 @@ class CertificatesManagementClient {
627
601
  * @param CreateCaBundleRequest
628
602
  * @return CreateCaBundleResponse
629
603
  * @throws OciError when an error occurs
630
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/certificatesmanagement/CreateCaBundle.ts.html |here} to see how to use CreateCaBundle API.
604
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/certificatesmanagement/CreateCaBundle.ts.html |here} to see how to use CreateCaBundle API.
631
605
  */
632
606
  createCaBundle(createCaBundleRequest) {
633
607
  return __awaiter(this, void 0, void 0, function* () {
634
- if (this.logger)
635
- this.logger.debug("Calling operation CertificatesManagementClient#createCaBundle.");
608
+ oci_common_1.logger.debug("Calling operation CertificatesManagementClient#createCaBundle.");
636
609
  const operationName = "createCaBundle";
637
610
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CaBundle/CreateCaBundle";
638
611
  const pathParams = {};
@@ -644,8 +617,6 @@ class CertificatesManagementClient {
644
617
  };
645
618
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
646
619
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createCaBundleRequest.retryConfiguration, specRetryConfiguration);
647
- if (this.logger)
648
- retrier.logger = this.logger;
649
620
  const request = yield oci_common_1.composeRequest({
650
621
  baseEndpoint: this._endpoint,
651
622
  defaultHeaders: this._defaultHeaders,
@@ -690,12 +661,11 @@ class CertificatesManagementClient {
690
661
  * @param CreateCertificateRequest
691
662
  * @return CreateCertificateResponse
692
663
  * @throws OciError when an error occurs
693
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/certificatesmanagement/CreateCertificate.ts.html |here} to see how to use CreateCertificate API.
664
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/certificatesmanagement/CreateCertificate.ts.html |here} to see how to use CreateCertificate API.
694
665
  */
695
666
  createCertificate(createCertificateRequest) {
696
667
  return __awaiter(this, void 0, void 0, function* () {
697
- if (this.logger)
698
- this.logger.debug("Calling operation CertificatesManagementClient#createCertificate.");
668
+ oci_common_1.logger.debug("Calling operation CertificatesManagementClient#createCertificate.");
699
669
  const operationName = "createCertificate";
700
670
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/Certificate/CreateCertificate";
701
671
  const pathParams = {};
@@ -707,8 +677,6 @@ class CertificatesManagementClient {
707
677
  };
708
678
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
709
679
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createCertificateRequest.retryConfiguration, specRetryConfiguration);
710
- if (this.logger)
711
- retrier.logger = this.logger;
712
680
  const request = yield oci_common_1.composeRequest({
713
681
  baseEndpoint: this._endpoint,
714
682
  defaultHeaders: this._defaultHeaders,
@@ -753,12 +721,11 @@ class CertificatesManagementClient {
753
721
  * @param CreateCertificateAuthorityRequest
754
722
  * @return CreateCertificateAuthorityResponse
755
723
  * @throws OciError when an error occurs
756
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/certificatesmanagement/CreateCertificateAuthority.ts.html |here} to see how to use CreateCertificateAuthority API.
724
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/certificatesmanagement/CreateCertificateAuthority.ts.html |here} to see how to use CreateCertificateAuthority API.
757
725
  */
758
726
  createCertificateAuthority(createCertificateAuthorityRequest) {
759
727
  return __awaiter(this, void 0, void 0, function* () {
760
- if (this.logger)
761
- this.logger.debug("Calling operation CertificatesManagementClient#createCertificateAuthority.");
728
+ oci_common_1.logger.debug("Calling operation CertificatesManagementClient#createCertificateAuthority.");
762
729
  const operationName = "createCertificateAuthority";
763
730
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CertificateAuthority/CreateCertificateAuthority";
764
731
  const pathParams = {};
@@ -770,8 +737,6 @@ class CertificatesManagementClient {
770
737
  };
771
738
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
772
739
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createCertificateAuthorityRequest.retryConfiguration, specRetryConfiguration);
773
- if (this.logger)
774
- retrier.logger = this.logger;
775
740
  const request = yield oci_common_1.composeRequest({
776
741
  baseEndpoint: this._endpoint,
777
742
  defaultHeaders: this._defaultHeaders,
@@ -816,12 +781,11 @@ class CertificatesManagementClient {
816
781
  * @param DeleteCaBundleRequest
817
782
  * @return DeleteCaBundleResponse
818
783
  * @throws OciError when an error occurs
819
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/certificatesmanagement/DeleteCaBundle.ts.html |here} to see how to use DeleteCaBundle API.
784
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/certificatesmanagement/DeleteCaBundle.ts.html |here} to see how to use DeleteCaBundle API.
820
785
  */
821
786
  deleteCaBundle(deleteCaBundleRequest) {
822
787
  return __awaiter(this, void 0, void 0, function* () {
823
- if (this.logger)
824
- this.logger.debug("Calling operation CertificatesManagementClient#deleteCaBundle.");
788
+ oci_common_1.logger.debug("Calling operation CertificatesManagementClient#deleteCaBundle.");
825
789
  const operationName = "deleteCaBundle";
826
790
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CaBundle/DeleteCaBundle";
827
791
  const pathParams = {
@@ -835,8 +799,6 @@ class CertificatesManagementClient {
835
799
  };
836
800
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
837
801
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteCaBundleRequest.retryConfiguration, specRetryConfiguration);
838
- if (this.logger)
839
- retrier.logger = this.logger;
840
802
  const request = yield oci_common_1.composeRequest({
841
803
  baseEndpoint: this._endpoint,
842
804
  defaultHeaders: this._defaultHeaders,
@@ -871,12 +833,11 @@ class CertificatesManagementClient {
871
833
  * @param GetAssociationRequest
872
834
  * @return GetAssociationResponse
873
835
  * @throws OciError when an error occurs
874
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/certificatesmanagement/GetAssociation.ts.html |here} to see how to use GetAssociation API.
836
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/certificatesmanagement/GetAssociation.ts.html |here} to see how to use GetAssociation API.
875
837
  */
876
838
  getAssociation(getAssociationRequest) {
877
839
  return __awaiter(this, void 0, void 0, function* () {
878
- if (this.logger)
879
- this.logger.debug("Calling operation CertificatesManagementClient#getAssociation.");
840
+ oci_common_1.logger.debug("Calling operation CertificatesManagementClient#getAssociation.");
880
841
  const operationName = "getAssociation";
881
842
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/Association/GetAssociation";
882
843
  const pathParams = {
@@ -889,8 +850,6 @@ class CertificatesManagementClient {
889
850
  };
890
851
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
891
852
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAssociationRequest.retryConfiguration, specRetryConfiguration);
892
- if (this.logger)
893
- retrier.logger = this.logger;
894
853
  const request = yield oci_common_1.composeRequest({
895
854
  baseEndpoint: this._endpoint,
896
855
  defaultHeaders: this._defaultHeaders,
@@ -934,12 +893,11 @@ class CertificatesManagementClient {
934
893
  * @param GetCaBundleRequest
935
894
  * @return GetCaBundleResponse
936
895
  * @throws OciError when an error occurs
937
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/certificatesmanagement/GetCaBundle.ts.html |here} to see how to use GetCaBundle API.
896
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/certificatesmanagement/GetCaBundle.ts.html |here} to see how to use GetCaBundle API.
938
897
  */
939
898
  getCaBundle(getCaBundleRequest) {
940
899
  return __awaiter(this, void 0, void 0, function* () {
941
- if (this.logger)
942
- this.logger.debug("Calling operation CertificatesManagementClient#getCaBundle.");
900
+ oci_common_1.logger.debug("Calling operation CertificatesManagementClient#getCaBundle.");
943
901
  const operationName = "getCaBundle";
944
902
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CaBundle/GetCaBundle";
945
903
  const pathParams = {
@@ -952,8 +910,6 @@ class CertificatesManagementClient {
952
910
  };
953
911
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
954
912
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCaBundleRequest.retryConfiguration, specRetryConfiguration);
955
- if (this.logger)
956
- retrier.logger = this.logger;
957
913
  const request = yield oci_common_1.composeRequest({
958
914
  baseEndpoint: this._endpoint,
959
915
  defaultHeaders: this._defaultHeaders,
@@ -997,12 +953,11 @@ class CertificatesManagementClient {
997
953
  * @param GetCertificateRequest
998
954
  * @return GetCertificateResponse
999
955
  * @throws OciError when an error occurs
1000
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/certificatesmanagement/GetCertificate.ts.html |here} to see how to use GetCertificate API.
956
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/certificatesmanagement/GetCertificate.ts.html |here} to see how to use GetCertificate API.
1001
957
  */
1002
958
  getCertificate(getCertificateRequest) {
1003
959
  return __awaiter(this, void 0, void 0, function* () {
1004
- if (this.logger)
1005
- this.logger.debug("Calling operation CertificatesManagementClient#getCertificate.");
960
+ oci_common_1.logger.debug("Calling operation CertificatesManagementClient#getCertificate.");
1006
961
  const operationName = "getCertificate";
1007
962
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/Certificate/GetCertificate";
1008
963
  const pathParams = {
@@ -1015,8 +970,6 @@ class CertificatesManagementClient {
1015
970
  };
1016
971
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1017
972
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCertificateRequest.retryConfiguration, specRetryConfiguration);
1018
- if (this.logger)
1019
- retrier.logger = this.logger;
1020
973
  const request = yield oci_common_1.composeRequest({
1021
974
  baseEndpoint: this._endpoint,
1022
975
  defaultHeaders: this._defaultHeaders,
@@ -1060,12 +1013,11 @@ class CertificatesManagementClient {
1060
1013
  * @param GetCertificateAuthorityRequest
1061
1014
  * @return GetCertificateAuthorityResponse
1062
1015
  * @throws OciError when an error occurs
1063
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/certificatesmanagement/GetCertificateAuthority.ts.html |here} to see how to use GetCertificateAuthority API.
1016
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/certificatesmanagement/GetCertificateAuthority.ts.html |here} to see how to use GetCertificateAuthority API.
1064
1017
  */
1065
1018
  getCertificateAuthority(getCertificateAuthorityRequest) {
1066
1019
  return __awaiter(this, void 0, void 0, function* () {
1067
- if (this.logger)
1068
- this.logger.debug("Calling operation CertificatesManagementClient#getCertificateAuthority.");
1020
+ oci_common_1.logger.debug("Calling operation CertificatesManagementClient#getCertificateAuthority.");
1069
1021
  const operationName = "getCertificateAuthority";
1070
1022
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CertificateAuthority/GetCertificateAuthority";
1071
1023
  const pathParams = {
@@ -1078,8 +1030,6 @@ class CertificatesManagementClient {
1078
1030
  };
1079
1031
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1080
1032
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCertificateAuthorityRequest.retryConfiguration, specRetryConfiguration);
1081
- if (this.logger)
1082
- retrier.logger = this.logger;
1083
1033
  const request = yield oci_common_1.composeRequest({
1084
1034
  baseEndpoint: this._endpoint,
1085
1035
  defaultHeaders: this._defaultHeaders,
@@ -1123,12 +1073,11 @@ class CertificatesManagementClient {
1123
1073
  * @param GetCertificateAuthorityVersionRequest
1124
1074
  * @return GetCertificateAuthorityVersionResponse
1125
1075
  * @throws OciError when an error occurs
1126
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/certificatesmanagement/GetCertificateAuthorityVersion.ts.html |here} to see how to use GetCertificateAuthorityVersion API.
1076
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/certificatesmanagement/GetCertificateAuthorityVersion.ts.html |here} to see how to use GetCertificateAuthorityVersion API.
1127
1077
  */
1128
1078
  getCertificateAuthorityVersion(getCertificateAuthorityVersionRequest) {
1129
1079
  return __awaiter(this, void 0, void 0, function* () {
1130
- if (this.logger)
1131
- this.logger.debug("Calling operation CertificatesManagementClient#getCertificateAuthorityVersion.");
1080
+ oci_common_1.logger.debug("Calling operation CertificatesManagementClient#getCertificateAuthorityVersion.");
1132
1081
  const operationName = "getCertificateAuthorityVersion";
1133
1082
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CertificateAuthorityVersion/GetCertificateAuthorityVersion";
1134
1083
  const pathParams = {
@@ -1142,8 +1091,6 @@ class CertificatesManagementClient {
1142
1091
  };
1143
1092
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1144
1093
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCertificateAuthorityVersionRequest.retryConfiguration, specRetryConfiguration);
1145
- if (this.logger)
1146
- retrier.logger = this.logger;
1147
1094
  const request = yield oci_common_1.composeRequest({
1148
1095
  baseEndpoint: this._endpoint,
1149
1096
  defaultHeaders: this._defaultHeaders,
@@ -1187,12 +1134,11 @@ class CertificatesManagementClient {
1187
1134
  * @param GetCertificateVersionRequest
1188
1135
  * @return GetCertificateVersionResponse
1189
1136
  * @throws OciError when an error occurs
1190
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/certificatesmanagement/GetCertificateVersion.ts.html |here} to see how to use GetCertificateVersion API.
1137
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/certificatesmanagement/GetCertificateVersion.ts.html |here} to see how to use GetCertificateVersion API.
1191
1138
  */
1192
1139
  getCertificateVersion(getCertificateVersionRequest) {
1193
1140
  return __awaiter(this, void 0, void 0, function* () {
1194
- if (this.logger)
1195
- this.logger.debug("Calling operation CertificatesManagementClient#getCertificateVersion.");
1141
+ oci_common_1.logger.debug("Calling operation CertificatesManagementClient#getCertificateVersion.");
1196
1142
  const operationName = "getCertificateVersion";
1197
1143
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CertificateVersion/GetCertificateVersion";
1198
1144
  const pathParams = {
@@ -1206,8 +1152,6 @@ class CertificatesManagementClient {
1206
1152
  };
1207
1153
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1208
1154
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCertificateVersionRequest.retryConfiguration, specRetryConfiguration);
1209
- if (this.logger)
1210
- retrier.logger = this.logger;
1211
1155
  const request = yield oci_common_1.composeRequest({
1212
1156
  baseEndpoint: this._endpoint,
1213
1157
  defaultHeaders: this._defaultHeaders,
@@ -1253,12 +1197,11 @@ class CertificatesManagementClient {
1253
1197
  * @param ListAssociationsRequest
1254
1198
  * @return ListAssociationsResponse
1255
1199
  * @throws OciError when an error occurs
1256
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/certificatesmanagement/ListAssociations.ts.html |here} to see how to use ListAssociations API.
1200
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/certificatesmanagement/ListAssociations.ts.html |here} to see how to use ListAssociations API.
1257
1201
  */
1258
1202
  listAssociations(listAssociationsRequest) {
1259
1203
  return __awaiter(this, void 0, void 0, function* () {
1260
- if (this.logger)
1261
- this.logger.debug("Calling operation CertificatesManagementClient#listAssociations.");
1204
+ oci_common_1.logger.debug("Calling operation CertificatesManagementClient#listAssociations.");
1262
1205
  const operationName = "listAssociations";
1263
1206
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/AssociationSummary/ListAssociations";
1264
1207
  const pathParams = {};
@@ -1280,8 +1223,6 @@ class CertificatesManagementClient {
1280
1223
  };
1281
1224
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1282
1225
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAssociationsRequest.retryConfiguration, specRetryConfiguration);
1283
- if (this.logger)
1284
- retrier.logger = this.logger;
1285
1226
  const request = yield oci_common_1.composeRequest({
1286
1227
  baseEndpoint: this._endpoint,
1287
1228
  defaultHeaders: this._defaultHeaders,
@@ -1327,12 +1268,11 @@ class CertificatesManagementClient {
1327
1268
  * @param ListCaBundlesRequest
1328
1269
  * @return ListCaBundlesResponse
1329
1270
  * @throws OciError when an error occurs
1330
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/certificatesmanagement/ListCaBundles.ts.html |here} to see how to use ListCaBundles API.
1271
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/certificatesmanagement/ListCaBundles.ts.html |here} to see how to use ListCaBundles API.
1331
1272
  */
1332
1273
  listCaBundles(listCaBundlesRequest) {
1333
1274
  return __awaiter(this, void 0, void 0, function* () {
1334
- if (this.logger)
1335
- this.logger.debug("Calling operation CertificatesManagementClient#listCaBundles.");
1275
+ oci_common_1.logger.debug("Calling operation CertificatesManagementClient#listCaBundles.");
1336
1276
  const operationName = "listCaBundles";
1337
1277
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CaBundleSummary/ListCaBundles";
1338
1278
  const pathParams = {};
@@ -1352,8 +1292,6 @@ class CertificatesManagementClient {
1352
1292
  };
1353
1293
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1354
1294
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listCaBundlesRequest.retryConfiguration, specRetryConfiguration);
1355
- if (this.logger)
1356
- retrier.logger = this.logger;
1357
1295
  const request = yield oci_common_1.composeRequest({
1358
1296
  baseEndpoint: this._endpoint,
1359
1297
  defaultHeaders: this._defaultHeaders,
@@ -1399,12 +1337,11 @@ class CertificatesManagementClient {
1399
1337
  * @param ListCertificateAuthoritiesRequest
1400
1338
  * @return ListCertificateAuthoritiesResponse
1401
1339
  * @throws OciError when an error occurs
1402
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/certificatesmanagement/ListCertificateAuthorities.ts.html |here} to see how to use ListCertificateAuthorities API.
1340
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/certificatesmanagement/ListCertificateAuthorities.ts.html |here} to see how to use ListCertificateAuthorities API.
1403
1341
  */
1404
1342
  listCertificateAuthorities(listCertificateAuthoritiesRequest) {
1405
1343
  return __awaiter(this, void 0, void 0, function* () {
1406
- if (this.logger)
1407
- this.logger.debug("Calling operation CertificatesManagementClient#listCertificateAuthorities.");
1344
+ oci_common_1.logger.debug("Calling operation CertificatesManagementClient#listCertificateAuthorities.");
1408
1345
  const operationName = "listCertificateAuthorities";
1409
1346
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CertificateAuthoritySummary/ListCertificateAuthorities";
1410
1347
  const pathParams = {};
@@ -1425,8 +1362,6 @@ class CertificatesManagementClient {
1425
1362
  };
1426
1363
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1427
1364
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listCertificateAuthoritiesRequest.retryConfiguration, specRetryConfiguration);
1428
- if (this.logger)
1429
- retrier.logger = this.logger;
1430
1365
  const request = yield oci_common_1.composeRequest({
1431
1366
  baseEndpoint: this._endpoint,
1432
1367
  defaultHeaders: this._defaultHeaders,
@@ -1472,12 +1407,11 @@ class CertificatesManagementClient {
1472
1407
  * @param ListCertificateAuthorityVersionsRequest
1473
1408
  * @return ListCertificateAuthorityVersionsResponse
1474
1409
  * @throws OciError when an error occurs
1475
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/certificatesmanagement/ListCertificateAuthorityVersions.ts.html |here} to see how to use ListCertificateAuthorityVersions API.
1410
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/certificatesmanagement/ListCertificateAuthorityVersions.ts.html |here} to see how to use ListCertificateAuthorityVersions API.
1476
1411
  */
1477
1412
  listCertificateAuthorityVersions(listCertificateAuthorityVersionsRequest) {
1478
1413
  return __awaiter(this, void 0, void 0, function* () {
1479
- if (this.logger)
1480
- this.logger.debug("Calling operation CertificatesManagementClient#listCertificateAuthorityVersions.");
1414
+ oci_common_1.logger.debug("Calling operation CertificatesManagementClient#listCertificateAuthorityVersions.");
1481
1415
  const operationName = "listCertificateAuthorityVersions";
1482
1416
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CertificateAuthorityVersionSummary/ListCertificateAuthorityVersions";
1483
1417
  const pathParams = {
@@ -1496,8 +1430,6 @@ class CertificatesManagementClient {
1496
1430
  };
1497
1431
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1498
1432
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listCertificateAuthorityVersionsRequest.retryConfiguration, specRetryConfiguration);
1499
- if (this.logger)
1500
- retrier.logger = this.logger;
1501
1433
  const request = yield oci_common_1.composeRequest({
1502
1434
  baseEndpoint: this._endpoint,
1503
1435
  defaultHeaders: this._defaultHeaders,
@@ -1543,12 +1475,11 @@ class CertificatesManagementClient {
1543
1475
  * @param ListCertificateVersionsRequest
1544
1476
  * @return ListCertificateVersionsResponse
1545
1477
  * @throws OciError when an error occurs
1546
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/certificatesmanagement/ListCertificateVersions.ts.html |here} to see how to use ListCertificateVersions API.
1478
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/certificatesmanagement/ListCertificateVersions.ts.html |here} to see how to use ListCertificateVersions API.
1547
1479
  */
1548
1480
  listCertificateVersions(listCertificateVersionsRequest) {
1549
1481
  return __awaiter(this, void 0, void 0, function* () {
1550
- if (this.logger)
1551
- this.logger.debug("Calling operation CertificatesManagementClient#listCertificateVersions.");
1482
+ oci_common_1.logger.debug("Calling operation CertificatesManagementClient#listCertificateVersions.");
1552
1483
  const operationName = "listCertificateVersions";
1553
1484
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CertificateVersionSummary/ListCertificateVersions";
1554
1485
  const pathParams = {
@@ -1567,8 +1498,6 @@ class CertificatesManagementClient {
1567
1498
  };
1568
1499
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1569
1500
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listCertificateVersionsRequest.retryConfiguration, specRetryConfiguration);
1570
- if (this.logger)
1571
- retrier.logger = this.logger;
1572
1501
  const request = yield oci_common_1.composeRequest({
1573
1502
  baseEndpoint: this._endpoint,
1574
1503
  defaultHeaders: this._defaultHeaders,
@@ -1614,12 +1543,11 @@ class CertificatesManagementClient {
1614
1543
  * @param ListCertificatesRequest
1615
1544
  * @return ListCertificatesResponse
1616
1545
  * @throws OciError when an error occurs
1617
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/certificatesmanagement/ListCertificates.ts.html |here} to see how to use ListCertificates API.
1546
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/certificatesmanagement/ListCertificates.ts.html |here} to see how to use ListCertificates API.
1618
1547
  */
1619
1548
  listCertificates(listCertificatesRequest) {
1620
1549
  return __awaiter(this, void 0, void 0, function* () {
1621
- if (this.logger)
1622
- this.logger.debug("Calling operation CertificatesManagementClient#listCertificates.");
1550
+ oci_common_1.logger.debug("Calling operation CertificatesManagementClient#listCertificates.");
1623
1551
  const operationName = "listCertificates";
1624
1552
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CertificateSummary/ListCertificates";
1625
1553
  const pathParams = {};
@@ -1640,8 +1568,6 @@ class CertificatesManagementClient {
1640
1568
  };
1641
1569
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1642
1570
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listCertificatesRequest.retryConfiguration, specRetryConfiguration);
1643
- if (this.logger)
1644
- retrier.logger = this.logger;
1645
1571
  const request = yield oci_common_1.composeRequest({
1646
1572
  baseEndpoint: this._endpoint,
1647
1573
  defaultHeaders: this._defaultHeaders,
@@ -1685,12 +1611,11 @@ class CertificatesManagementClient {
1685
1611
  * @param RevokeCertificateAuthorityVersionRequest
1686
1612
  * @return RevokeCertificateAuthorityVersionResponse
1687
1613
  * @throws OciError when an error occurs
1688
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/certificatesmanagement/RevokeCertificateAuthorityVersion.ts.html |here} to see how to use RevokeCertificateAuthorityVersion API.
1614
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/certificatesmanagement/RevokeCertificateAuthorityVersion.ts.html |here} to see how to use RevokeCertificateAuthorityVersion API.
1689
1615
  */
1690
1616
  revokeCertificateAuthorityVersion(revokeCertificateAuthorityVersionRequest) {
1691
1617
  return __awaiter(this, void 0, void 0, function* () {
1692
- if (this.logger)
1693
- this.logger.debug("Calling operation CertificatesManagementClient#revokeCertificateAuthorityVersion.");
1618
+ oci_common_1.logger.debug("Calling operation CertificatesManagementClient#revokeCertificateAuthorityVersion.");
1694
1619
  const operationName = "revokeCertificateAuthorityVersion";
1695
1620
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CertificateAuthorityVersion/RevokeCertificateAuthorityVersion";
1696
1621
  const pathParams = {
@@ -1706,8 +1631,6 @@ class CertificatesManagementClient {
1706
1631
  };
1707
1632
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1708
1633
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, revokeCertificateAuthorityVersionRequest.retryConfiguration, specRetryConfiguration);
1709
- if (this.logger)
1710
- retrier.logger = this.logger;
1711
1634
  const request = yield oci_common_1.composeRequest({
1712
1635
  baseEndpoint: this._endpoint,
1713
1636
  defaultHeaders: this._defaultHeaders,
@@ -1748,12 +1671,11 @@ class CertificatesManagementClient {
1748
1671
  * @param RevokeCertificateVersionRequest
1749
1672
  * @return RevokeCertificateVersionResponse
1750
1673
  * @throws OciError when an error occurs
1751
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/certificatesmanagement/RevokeCertificateVersion.ts.html |here} to see how to use RevokeCertificateVersion API.
1674
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/certificatesmanagement/RevokeCertificateVersion.ts.html |here} to see how to use RevokeCertificateVersion API.
1752
1675
  */
1753
1676
  revokeCertificateVersion(revokeCertificateVersionRequest) {
1754
1677
  return __awaiter(this, void 0, void 0, function* () {
1755
- if (this.logger)
1756
- this.logger.debug("Calling operation CertificatesManagementClient#revokeCertificateVersion.");
1678
+ oci_common_1.logger.debug("Calling operation CertificatesManagementClient#revokeCertificateVersion.");
1757
1679
  const operationName = "revokeCertificateVersion";
1758
1680
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CertificateVersion/RevokeCertificateVersion";
1759
1681
  const pathParams = {
@@ -1769,8 +1691,6 @@ class CertificatesManagementClient {
1769
1691
  };
1770
1692
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1771
1693
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, revokeCertificateVersionRequest.retryConfiguration, specRetryConfiguration);
1772
- if (this.logger)
1773
- retrier.logger = this.logger;
1774
1694
  const request = yield oci_common_1.composeRequest({
1775
1695
  baseEndpoint: this._endpoint,
1776
1696
  defaultHeaders: this._defaultHeaders,
@@ -1812,12 +1732,11 @@ class CertificatesManagementClient {
1812
1732
  * @param ScheduleCertificateAuthorityDeletionRequest
1813
1733
  * @return ScheduleCertificateAuthorityDeletionResponse
1814
1734
  * @throws OciError when an error occurs
1815
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/certificatesmanagement/ScheduleCertificateAuthorityDeletion.ts.html |here} to see how to use ScheduleCertificateAuthorityDeletion API.
1735
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/certificatesmanagement/ScheduleCertificateAuthorityDeletion.ts.html |here} to see how to use ScheduleCertificateAuthorityDeletion API.
1816
1736
  */
1817
1737
  scheduleCertificateAuthorityDeletion(scheduleCertificateAuthorityDeletionRequest) {
1818
1738
  return __awaiter(this, void 0, void 0, function* () {
1819
- if (this.logger)
1820
- this.logger.debug("Calling operation CertificatesManagementClient#scheduleCertificateAuthorityDeletion.");
1739
+ oci_common_1.logger.debug("Calling operation CertificatesManagementClient#scheduleCertificateAuthorityDeletion.");
1821
1740
  const operationName = "scheduleCertificateAuthorityDeletion";
1822
1741
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CertificateAuthority/ScheduleCertificateAuthorityDeletion";
1823
1742
  const pathParams = {
@@ -1831,8 +1750,6 @@ class CertificatesManagementClient {
1831
1750
  };
1832
1751
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1833
1752
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, scheduleCertificateAuthorityDeletionRequest.retryConfiguration, specRetryConfiguration);
1834
- if (this.logger)
1835
- retrier.logger = this.logger;
1836
1753
  const request = yield oci_common_1.composeRequest({
1837
1754
  baseEndpoint: this._endpoint,
1838
1755
  defaultHeaders: this._defaultHeaders,
@@ -1876,12 +1793,11 @@ class CertificatesManagementClient {
1876
1793
  * @param ScheduleCertificateAuthorityVersionDeletionRequest
1877
1794
  * @return ScheduleCertificateAuthorityVersionDeletionResponse
1878
1795
  * @throws OciError when an error occurs
1879
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/certificatesmanagement/ScheduleCertificateAuthorityVersionDeletion.ts.html |here} to see how to use ScheduleCertificateAuthorityVersionDeletion API.
1796
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/certificatesmanagement/ScheduleCertificateAuthorityVersionDeletion.ts.html |here} to see how to use ScheduleCertificateAuthorityVersionDeletion API.
1880
1797
  */
1881
1798
  scheduleCertificateAuthorityVersionDeletion(scheduleCertificateAuthorityVersionDeletionRequest) {
1882
1799
  return __awaiter(this, void 0, void 0, function* () {
1883
- if (this.logger)
1884
- this.logger.debug("Calling operation CertificatesManagementClient#scheduleCertificateAuthorityVersionDeletion.");
1800
+ oci_common_1.logger.debug("Calling operation CertificatesManagementClient#scheduleCertificateAuthorityVersionDeletion.");
1885
1801
  const operationName = "scheduleCertificateAuthorityVersionDeletion";
1886
1802
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CertificateAuthorityVersion/ScheduleCertificateAuthorityVersionDeletion";
1887
1803
  const pathParams = {
@@ -1896,8 +1812,6 @@ class CertificatesManagementClient {
1896
1812
  };
1897
1813
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1898
1814
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, scheduleCertificateAuthorityVersionDeletionRequest.retryConfiguration, specRetryConfiguration);
1899
- if (this.logger)
1900
- retrier.logger = this.logger;
1901
1815
  const request = yield oci_common_1.composeRequest({
1902
1816
  baseEndpoint: this._endpoint,
1903
1817
  defaultHeaders: this._defaultHeaders,
@@ -1941,12 +1855,11 @@ class CertificatesManagementClient {
1941
1855
  * @param ScheduleCertificateDeletionRequest
1942
1856
  * @return ScheduleCertificateDeletionResponse
1943
1857
  * @throws OciError when an error occurs
1944
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/certificatesmanagement/ScheduleCertificateDeletion.ts.html |here} to see how to use ScheduleCertificateDeletion API.
1858
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/certificatesmanagement/ScheduleCertificateDeletion.ts.html |here} to see how to use ScheduleCertificateDeletion API.
1945
1859
  */
1946
1860
  scheduleCertificateDeletion(scheduleCertificateDeletionRequest) {
1947
1861
  return __awaiter(this, void 0, void 0, function* () {
1948
- if (this.logger)
1949
- this.logger.debug("Calling operation CertificatesManagementClient#scheduleCertificateDeletion.");
1862
+ oci_common_1.logger.debug("Calling operation CertificatesManagementClient#scheduleCertificateDeletion.");
1950
1863
  const operationName = "scheduleCertificateDeletion";
1951
1864
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/Certificate/ScheduleCertificateDeletion";
1952
1865
  const pathParams = {
@@ -1960,8 +1873,6 @@ class CertificatesManagementClient {
1960
1873
  };
1961
1874
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1962
1875
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, scheduleCertificateDeletionRequest.retryConfiguration, specRetryConfiguration);
1963
- if (this.logger)
1964
- retrier.logger = this.logger;
1965
1876
  const request = yield oci_common_1.composeRequest({
1966
1877
  baseEndpoint: this._endpoint,
1967
1878
  defaultHeaders: this._defaultHeaders,
@@ -2006,12 +1917,11 @@ class CertificatesManagementClient {
2006
1917
  * @param ScheduleCertificateVersionDeletionRequest
2007
1918
  * @return ScheduleCertificateVersionDeletionResponse
2008
1919
  * @throws OciError when an error occurs
2009
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/certificatesmanagement/ScheduleCertificateVersionDeletion.ts.html |here} to see how to use ScheduleCertificateVersionDeletion API.
1920
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/certificatesmanagement/ScheduleCertificateVersionDeletion.ts.html |here} to see how to use ScheduleCertificateVersionDeletion API.
2010
1921
  */
2011
1922
  scheduleCertificateVersionDeletion(scheduleCertificateVersionDeletionRequest) {
2012
1923
  return __awaiter(this, void 0, void 0, function* () {
2013
- if (this.logger)
2014
- this.logger.debug("Calling operation CertificatesManagementClient#scheduleCertificateVersionDeletion.");
1924
+ oci_common_1.logger.debug("Calling operation CertificatesManagementClient#scheduleCertificateVersionDeletion.");
2015
1925
  const operationName = "scheduleCertificateVersionDeletion";
2016
1926
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CertificateVersion/ScheduleCertificateVersionDeletion";
2017
1927
  const pathParams = {
@@ -2026,8 +1936,6 @@ class CertificatesManagementClient {
2026
1936
  };
2027
1937
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2028
1938
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, scheduleCertificateVersionDeletionRequest.retryConfiguration, specRetryConfiguration);
2029
- if (this.logger)
2030
- retrier.logger = this.logger;
2031
1939
  const request = yield oci_common_1.composeRequest({
2032
1940
  baseEndpoint: this._endpoint,
2033
1941
  defaultHeaders: this._defaultHeaders,
@@ -2068,12 +1976,11 @@ class CertificatesManagementClient {
2068
1976
  * @param UpdateCaBundleRequest
2069
1977
  * @return UpdateCaBundleResponse
2070
1978
  * @throws OciError when an error occurs
2071
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/certificatesmanagement/UpdateCaBundle.ts.html |here} to see how to use UpdateCaBundle API.
1979
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/certificatesmanagement/UpdateCaBundle.ts.html |here} to see how to use UpdateCaBundle API.
2072
1980
  */
2073
1981
  updateCaBundle(updateCaBundleRequest) {
2074
1982
  return __awaiter(this, void 0, void 0, function* () {
2075
- if (this.logger)
2076
- this.logger.debug("Calling operation CertificatesManagementClient#updateCaBundle.");
1983
+ oci_common_1.logger.debug("Calling operation CertificatesManagementClient#updateCaBundle.");
2077
1984
  const operationName = "updateCaBundle";
2078
1985
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CaBundle/UpdateCaBundle";
2079
1986
  const pathParams = {
@@ -2087,8 +1994,6 @@ class CertificatesManagementClient {
2087
1994
  };
2088
1995
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2089
1996
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateCaBundleRequest.retryConfiguration, specRetryConfiguration);
2090
- if (this.logger)
2091
- retrier.logger = this.logger;
2092
1997
  const request = yield oci_common_1.composeRequest({
2093
1998
  baseEndpoint: this._endpoint,
2094
1999
  defaultHeaders: this._defaultHeaders,
@@ -2133,12 +2038,11 @@ class CertificatesManagementClient {
2133
2038
  * @param UpdateCertificateRequest
2134
2039
  * @return UpdateCertificateResponse
2135
2040
  * @throws OciError when an error occurs
2136
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/certificatesmanagement/UpdateCertificate.ts.html |here} to see how to use UpdateCertificate API.
2041
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/certificatesmanagement/UpdateCertificate.ts.html |here} to see how to use UpdateCertificate API.
2137
2042
  */
2138
2043
  updateCertificate(updateCertificateRequest) {
2139
2044
  return __awaiter(this, void 0, void 0, function* () {
2140
- if (this.logger)
2141
- this.logger.debug("Calling operation CertificatesManagementClient#updateCertificate.");
2045
+ oci_common_1.logger.debug("Calling operation CertificatesManagementClient#updateCertificate.");
2142
2046
  const operationName = "updateCertificate";
2143
2047
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/Certificate/UpdateCertificate";
2144
2048
  const pathParams = {
@@ -2152,8 +2056,6 @@ class CertificatesManagementClient {
2152
2056
  };
2153
2057
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2154
2058
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateCertificateRequest.retryConfiguration, specRetryConfiguration);
2155
- if (this.logger)
2156
- retrier.logger = this.logger;
2157
2059
  const request = yield oci_common_1.composeRequest({
2158
2060
  baseEndpoint: this._endpoint,
2159
2061
  defaultHeaders: this._defaultHeaders,
@@ -2198,12 +2100,11 @@ class CertificatesManagementClient {
2198
2100
  * @param UpdateCertificateAuthorityRequest
2199
2101
  * @return UpdateCertificateAuthorityResponse
2200
2102
  * @throws OciError when an error occurs
2201
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/certificatesmanagement/UpdateCertificateAuthority.ts.html |here} to see how to use UpdateCertificateAuthority API.
2103
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/certificatesmanagement/UpdateCertificateAuthority.ts.html |here} to see how to use UpdateCertificateAuthority API.
2202
2104
  */
2203
2105
  updateCertificateAuthority(updateCertificateAuthorityRequest) {
2204
2106
  return __awaiter(this, void 0, void 0, function* () {
2205
- if (this.logger)
2206
- this.logger.debug("Calling operation CertificatesManagementClient#updateCertificateAuthority.");
2107
+ oci_common_1.logger.debug("Calling operation CertificatesManagementClient#updateCertificateAuthority.");
2207
2108
  const operationName = "updateCertificateAuthority";
2208
2109
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CertificateAuthority/UpdateCertificateAuthority";
2209
2110
  const pathParams = {
@@ -2217,8 +2118,6 @@ class CertificatesManagementClient {
2217
2118
  };
2218
2119
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2219
2120
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateCertificateAuthorityRequest.retryConfiguration, specRetryConfiguration);
2220
- if (this.logger)
2221
- retrier.logger = this.logger;
2222
2121
  const request = yield oci_common_1.composeRequest({
2223
2122
  baseEndpoint: this._endpoint,
2224
2123
  defaultHeaders: this._defaultHeaders,