oci-blockchain 2.79.1 → 2.80.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/lib/client.d.ts +29 -28
  2. package/lib/client.js +143 -57
  3. package/lib/client.js.map +1 -1
  4. package/lib/request/change-blockchain-platform-compartment-request.d.ts +1 -1
  5. package/lib/request/create-blockchain-platform-request.d.ts +1 -1
  6. package/lib/request/create-osn-request.d.ts +1 -1
  7. package/lib/request/create-peer-request.d.ts +1 -1
  8. package/lib/request/delete-blockchain-platform-request.d.ts +1 -1
  9. package/lib/request/delete-osn-request.d.ts +1 -1
  10. package/lib/request/delete-peer-request.d.ts +1 -1
  11. package/lib/request/delete-work-request-request.d.ts +1 -1
  12. package/lib/request/get-blockchain-platform-request.d.ts +1 -1
  13. package/lib/request/get-osn-request.d.ts +1 -1
  14. package/lib/request/get-peer-request.d.ts +1 -1
  15. package/lib/request/get-work-request-request.d.ts +1 -1
  16. package/lib/request/list-blockchain-platform-patches-request.d.ts +1 -1
  17. package/lib/request/list-blockchain-platforms-request.d.ts +1 -1
  18. package/lib/request/list-osns-request.d.ts +1 -1
  19. package/lib/request/list-peers-request.d.ts +1 -1
  20. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  21. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  22. package/lib/request/list-work-requests-request.d.ts +1 -1
  23. package/lib/request/preview-scale-blockchain-platform-request.d.ts +1 -1
  24. package/lib/request/scale-blockchain-platform-request.d.ts +1 -1
  25. package/lib/request/start-blockchain-platform-request.d.ts +1 -1
  26. package/lib/request/stop-blockchain-platform-request.d.ts +1 -1
  27. package/lib/request/update-blockchain-platform-request.d.ts +1 -1
  28. package/lib/request/update-osn-request.d.ts +1 -1
  29. package/lib/request/update-peer-request.d.ts +1 -1
  30. package/lib/request/upgrade-blockchain-platform-request.d.ts +1 -1
  31. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -57,7 +57,7 @@ var BlockchainPlatformApiKeys;
57
57
  */
58
58
  class BlockchainPlatformClient {
59
59
  constructor(params, clientConfiguration) {
60
- this["_realmSpecificEndpointTemplateEnabled"] = false;
60
+ this["_realmSpecificEndpointTemplateEnabled"] = undefined;
61
61
  this["_endpoint"] = "";
62
62
  this["_defaultHeaders"] = {};
63
63
  this._circuitBreaker = null;
@@ -116,7 +116,11 @@ class BlockchainPlatformClient {
116
116
  set endpoint(endpoint) {
117
117
  this._endpoint = endpoint;
118
118
  this._endpoint = this._endpoint + "/20191010";
119
- oci_common_1.logger.info(`BlockchainPlatformClient endpoint set to ${this._endpoint}`);
119
+ if (this.logger)
120
+ this.logger.info(`BlockchainPlatformClient endpoint set to ${this._endpoint}`);
121
+ }
122
+ get logger() {
123
+ return common.LOG.logger;
120
124
  }
121
125
  /**
122
126
  * Determines whether realm specific endpoint should be used or not.
@@ -125,7 +129,8 @@ class BlockchainPlatformClient {
125
129
  */
126
130
  set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
127
131
  this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
128
- oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
132
+ if (this.logger)
133
+ this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
129
134
  if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
130
135
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(BlockchainPlatformClient.serviceEndpointTemplate, this._region, BlockchainPlatformClient.endpointServiceName);
131
136
  }
@@ -191,11 +196,12 @@ class BlockchainPlatformClient {
191
196
  * @param ChangeBlockchainPlatformCompartmentRequest
192
197
  * @return ChangeBlockchainPlatformCompartmentResponse
193
198
  * @throws OciError when an error occurs
194
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/ChangeBlockchainPlatformCompartment.ts.html |here} to see how to use ChangeBlockchainPlatformCompartment API.
199
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/blockchain/ChangeBlockchainPlatformCompartment.ts.html |here} to see how to use ChangeBlockchainPlatformCompartment API.
195
200
  */
196
201
  changeBlockchainPlatformCompartment(changeBlockchainPlatformCompartmentRequest) {
197
202
  return __awaiter(this, void 0, void 0, function* () {
198
- oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#changeBlockchainPlatformCompartment.");
203
+ if (this.logger)
204
+ this.logger.debug("Calling operation BlockchainPlatformClient#changeBlockchainPlatformCompartment.");
199
205
  const operationName = "changeBlockchainPlatformCompartment";
200
206
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/ChangeBlockchainPlatformCompartment";
201
207
  const pathParams = {
@@ -210,6 +216,8 @@ class BlockchainPlatformClient {
210
216
  };
211
217
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
212
218
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeBlockchainPlatformCompartmentRequest.retryConfiguration, specRetryConfiguration);
219
+ if (this.logger)
220
+ retrier.logger = this.logger;
213
221
  const request = yield oci_common_1.composeRequest({
214
222
  baseEndpoint: this._endpoint,
215
223
  defaultHeaders: this._defaultHeaders,
@@ -251,11 +259,12 @@ class BlockchainPlatformClient {
251
259
  * @param CreateBlockchainPlatformRequest
252
260
  * @return CreateBlockchainPlatformResponse
253
261
  * @throws OciError when an error occurs
254
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/CreateBlockchainPlatform.ts.html |here} to see how to use CreateBlockchainPlatform API.
262
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/blockchain/CreateBlockchainPlatform.ts.html |here} to see how to use CreateBlockchainPlatform API.
255
263
  */
256
264
  createBlockchainPlatform(createBlockchainPlatformRequest) {
257
265
  return __awaiter(this, void 0, void 0, function* () {
258
- oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#createBlockchainPlatform.");
266
+ if (this.logger)
267
+ this.logger.debug("Calling operation BlockchainPlatformClient#createBlockchainPlatform.");
259
268
  const operationName = "createBlockchainPlatform";
260
269
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/CreateBlockchainPlatform";
261
270
  const pathParams = {};
@@ -267,6 +276,8 @@ class BlockchainPlatformClient {
267
276
  };
268
277
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
269
278
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createBlockchainPlatformRequest.retryConfiguration, specRetryConfiguration);
279
+ if (this.logger)
280
+ retrier.logger = this.logger;
270
281
  const request = yield oci_common_1.composeRequest({
271
282
  baseEndpoint: this._endpoint,
272
283
  defaultHeaders: this._defaultHeaders,
@@ -307,11 +318,12 @@ class BlockchainPlatformClient {
307
318
  * @param CreateOsnRequest
308
319
  * @return CreateOsnResponse
309
320
  * @throws OciError when an error occurs
310
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/CreateOsn.ts.html |here} to see how to use CreateOsn API.
321
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/blockchain/CreateOsn.ts.html |here} to see how to use CreateOsn API.
311
322
  */
312
323
  createOsn(createOsnRequest) {
313
324
  return __awaiter(this, void 0, void 0, function* () {
314
- oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#createOsn.");
325
+ if (this.logger)
326
+ this.logger.debug("Calling operation BlockchainPlatformClient#createOsn.");
315
327
  const operationName = "createOsn";
316
328
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/CreateOsn";
317
329
  const pathParams = {
@@ -326,6 +338,8 @@ class BlockchainPlatformClient {
326
338
  };
327
339
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
328
340
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOsnRequest.retryConfiguration, specRetryConfiguration);
341
+ if (this.logger)
342
+ retrier.logger = this.logger;
329
343
  const request = yield oci_common_1.composeRequest({
330
344
  baseEndpoint: this._endpoint,
331
345
  defaultHeaders: this._defaultHeaders,
@@ -366,11 +380,12 @@ class BlockchainPlatformClient {
366
380
  * @param CreatePeerRequest
367
381
  * @return CreatePeerResponse
368
382
  * @throws OciError when an error occurs
369
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/CreatePeer.ts.html |here} to see how to use CreatePeer API.
383
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/blockchain/CreatePeer.ts.html |here} to see how to use CreatePeer API.
370
384
  */
371
385
  createPeer(createPeerRequest) {
372
386
  return __awaiter(this, void 0, void 0, function* () {
373
- oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#createPeer.");
387
+ if (this.logger)
388
+ this.logger.debug("Calling operation BlockchainPlatformClient#createPeer.");
374
389
  const operationName = "createPeer";
375
390
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/CreatePeer";
376
391
  const pathParams = {
@@ -384,6 +399,8 @@ class BlockchainPlatformClient {
384
399
  };
385
400
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
386
401
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createPeerRequest.retryConfiguration, specRetryConfiguration);
402
+ if (this.logger)
403
+ retrier.logger = this.logger;
387
404
  const request = yield oci_common_1.composeRequest({
388
405
  baseEndpoint: this._endpoint,
389
406
  defaultHeaders: this._defaultHeaders,
@@ -424,11 +441,12 @@ class BlockchainPlatformClient {
424
441
  * @param DeleteBlockchainPlatformRequest
425
442
  * @return DeleteBlockchainPlatformResponse
426
443
  * @throws OciError when an error occurs
427
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/DeleteBlockchainPlatform.ts.html |here} to see how to use DeleteBlockchainPlatform API.
444
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/blockchain/DeleteBlockchainPlatform.ts.html |here} to see how to use DeleteBlockchainPlatform API.
428
445
  */
429
446
  deleteBlockchainPlatform(deleteBlockchainPlatformRequest) {
430
447
  return __awaiter(this, void 0, void 0, function* () {
431
- oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#deleteBlockchainPlatform.");
448
+ if (this.logger)
449
+ this.logger.debug("Calling operation BlockchainPlatformClient#deleteBlockchainPlatform.");
432
450
  const operationName = "deleteBlockchainPlatform";
433
451
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/DeleteBlockchainPlatform";
434
452
  const pathParams = {
@@ -443,6 +461,8 @@ class BlockchainPlatformClient {
443
461
  };
444
462
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
445
463
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteBlockchainPlatformRequest.retryConfiguration, specRetryConfiguration);
464
+ if (this.logger)
465
+ retrier.logger = this.logger;
446
466
  const request = yield oci_common_1.composeRequest({
447
467
  baseEndpoint: this._endpoint,
448
468
  defaultHeaders: this._defaultHeaders,
@@ -482,11 +502,12 @@ class BlockchainPlatformClient {
482
502
  * @param DeleteOsnRequest
483
503
  * @return DeleteOsnResponse
484
504
  * @throws OciError when an error occurs
485
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/DeleteOsn.ts.html |here} to see how to use DeleteOsn API.
505
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/blockchain/DeleteOsn.ts.html |here} to see how to use DeleteOsn API.
486
506
  */
487
507
  deleteOsn(deleteOsnRequest) {
488
508
  return __awaiter(this, void 0, void 0, function* () {
489
- oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#deleteOsn.");
509
+ if (this.logger)
510
+ this.logger.debug("Calling operation BlockchainPlatformClient#deleteOsn.");
490
511
  const operationName = "deleteOsn";
491
512
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/DeleteOsn";
492
513
  const pathParams = {
@@ -501,6 +522,8 @@ class BlockchainPlatformClient {
501
522
  };
502
523
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
503
524
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteOsnRequest.retryConfiguration, specRetryConfiguration);
525
+ if (this.logger)
526
+ retrier.logger = this.logger;
504
527
  const request = yield oci_common_1.composeRequest({
505
528
  baseEndpoint: this._endpoint,
506
529
  defaultHeaders: this._defaultHeaders,
@@ -540,11 +563,12 @@ class BlockchainPlatformClient {
540
563
  * @param DeletePeerRequest
541
564
  * @return DeletePeerResponse
542
565
  * @throws OciError when an error occurs
543
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/DeletePeer.ts.html |here} to see how to use DeletePeer API.
566
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/blockchain/DeletePeer.ts.html |here} to see how to use DeletePeer API.
544
567
  */
545
568
  deletePeer(deletePeerRequest) {
546
569
  return __awaiter(this, void 0, void 0, function* () {
547
- oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#deletePeer.");
570
+ if (this.logger)
571
+ this.logger.debug("Calling operation BlockchainPlatformClient#deletePeer.");
548
572
  const operationName = "deletePeer";
549
573
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/DeletePeer";
550
574
  const pathParams = {
@@ -560,6 +584,8 @@ class BlockchainPlatformClient {
560
584
  };
561
585
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
562
586
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deletePeerRequest.retryConfiguration, specRetryConfiguration);
587
+ if (this.logger)
588
+ retrier.logger = this.logger;
563
589
  const request = yield oci_common_1.composeRequest({
564
590
  baseEndpoint: this._endpoint,
565
591
  defaultHeaders: this._defaultHeaders,
@@ -599,11 +625,12 @@ class BlockchainPlatformClient {
599
625
  * @param DeleteWorkRequestRequest
600
626
  * @return DeleteWorkRequestResponse
601
627
  * @throws OciError when an error occurs
602
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/DeleteWorkRequest.ts.html |here} to see how to use DeleteWorkRequest API.
628
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/blockchain/DeleteWorkRequest.ts.html |here} to see how to use DeleteWorkRequest API.
603
629
  */
604
630
  deleteWorkRequest(deleteWorkRequestRequest) {
605
631
  return __awaiter(this, void 0, void 0, function* () {
606
- oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#deleteWorkRequest.");
632
+ if (this.logger)
633
+ this.logger.debug("Calling operation BlockchainPlatformClient#deleteWorkRequest.");
607
634
  const operationName = "deleteWorkRequest";
608
635
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/WorkRequest/DeleteWorkRequest";
609
636
  const pathParams = {
@@ -617,6 +644,8 @@ class BlockchainPlatformClient {
617
644
  };
618
645
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
619
646
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteWorkRequestRequest.retryConfiguration, specRetryConfiguration);
647
+ if (this.logger)
648
+ retrier.logger = this.logger;
620
649
  const request = yield oci_common_1.composeRequest({
621
650
  baseEndpoint: this._endpoint,
622
651
  defaultHeaders: this._defaultHeaders,
@@ -656,11 +685,12 @@ class BlockchainPlatformClient {
656
685
  * @param GetBlockchainPlatformRequest
657
686
  * @return GetBlockchainPlatformResponse
658
687
  * @throws OciError when an error occurs
659
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/GetBlockchainPlatform.ts.html |here} to see how to use GetBlockchainPlatform API.
688
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/blockchain/GetBlockchainPlatform.ts.html |here} to see how to use GetBlockchainPlatform API.
660
689
  */
661
690
  getBlockchainPlatform(getBlockchainPlatformRequest) {
662
691
  return __awaiter(this, void 0, void 0, function* () {
663
- oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#getBlockchainPlatform.");
692
+ if (this.logger)
693
+ this.logger.debug("Calling operation BlockchainPlatformClient#getBlockchainPlatform.");
664
694
  const operationName = "getBlockchainPlatform";
665
695
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/GetBlockchainPlatform";
666
696
  const pathParams = {
@@ -673,6 +703,8 @@ class BlockchainPlatformClient {
673
703
  };
674
704
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
675
705
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getBlockchainPlatformRequest.retryConfiguration, specRetryConfiguration);
706
+ if (this.logger)
707
+ retrier.logger = this.logger;
676
708
  const request = yield oci_common_1.composeRequest({
677
709
  baseEndpoint: this._endpoint,
678
710
  defaultHeaders: this._defaultHeaders,
@@ -716,11 +748,12 @@ class BlockchainPlatformClient {
716
748
  * @param GetOsnRequest
717
749
  * @return GetOsnResponse
718
750
  * @throws OciError when an error occurs
719
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/GetOsn.ts.html |here} to see how to use GetOsn API.
751
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/blockchain/GetOsn.ts.html |here} to see how to use GetOsn API.
720
752
  */
721
753
  getOsn(getOsnRequest) {
722
754
  return __awaiter(this, void 0, void 0, function* () {
723
- oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#getOsn.");
755
+ if (this.logger)
756
+ this.logger.debug("Calling operation BlockchainPlatformClient#getOsn.");
724
757
  const operationName = "getOsn";
725
758
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/Osn/GetOsn";
726
759
  const pathParams = {
@@ -734,6 +767,8 @@ class BlockchainPlatformClient {
734
767
  };
735
768
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
736
769
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOsnRequest.retryConfiguration, specRetryConfiguration);
770
+ if (this.logger)
771
+ retrier.logger = this.logger;
737
772
  const request = yield oci_common_1.composeRequest({
738
773
  baseEndpoint: this._endpoint,
739
774
  defaultHeaders: this._defaultHeaders,
@@ -777,11 +812,12 @@ class BlockchainPlatformClient {
777
812
  * @param GetPeerRequest
778
813
  * @return GetPeerResponse
779
814
  * @throws OciError when an error occurs
780
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/GetPeer.ts.html |here} to see how to use GetPeer API.
815
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/blockchain/GetPeer.ts.html |here} to see how to use GetPeer API.
781
816
  */
782
817
  getPeer(getPeerRequest) {
783
818
  return __awaiter(this, void 0, void 0, function* () {
784
- oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#getPeer.");
819
+ if (this.logger)
820
+ this.logger.debug("Calling operation BlockchainPlatformClient#getPeer.");
785
821
  const operationName = "getPeer";
786
822
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/Peer/GetPeer";
787
823
  const pathParams = {
@@ -795,6 +831,8 @@ class BlockchainPlatformClient {
795
831
  };
796
832
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
797
833
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPeerRequest.retryConfiguration, specRetryConfiguration);
834
+ if (this.logger)
835
+ retrier.logger = this.logger;
798
836
  const request = yield oci_common_1.composeRequest({
799
837
  baseEndpoint: this._endpoint,
800
838
  defaultHeaders: this._defaultHeaders,
@@ -838,11 +876,12 @@ class BlockchainPlatformClient {
838
876
  * @param GetWorkRequestRequest
839
877
  * @return GetWorkRequestResponse
840
878
  * @throws OciError when an error occurs
841
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
879
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/blockchain/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
842
880
  */
843
881
  getWorkRequest(getWorkRequestRequest) {
844
882
  return __awaiter(this, void 0, void 0, function* () {
845
- oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#getWorkRequest.");
883
+ if (this.logger)
884
+ this.logger.debug("Calling operation BlockchainPlatformClient#getWorkRequest.");
846
885
  const operationName = "getWorkRequest";
847
886
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/WorkRequest/GetWorkRequest";
848
887
  const pathParams = {
@@ -855,6 +894,8 @@ class BlockchainPlatformClient {
855
894
  };
856
895
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
857
896
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
897
+ if (this.logger)
898
+ retrier.logger = this.logger;
858
899
  const request = yield oci_common_1.composeRequest({
859
900
  baseEndpoint: this._endpoint,
860
901
  defaultHeaders: this._defaultHeaders,
@@ -903,11 +944,12 @@ class BlockchainPlatformClient {
903
944
  * @param ListBlockchainPlatformPatchesRequest
904
945
  * @return ListBlockchainPlatformPatchesResponse
905
946
  * @throws OciError when an error occurs
906
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/ListBlockchainPlatformPatches.ts.html |here} to see how to use ListBlockchainPlatformPatches API.
947
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/blockchain/ListBlockchainPlatformPatches.ts.html |here} to see how to use ListBlockchainPlatformPatches API.
907
948
  */
908
949
  listBlockchainPlatformPatches(listBlockchainPlatformPatchesRequest) {
909
950
  return __awaiter(this, void 0, void 0, function* () {
910
- oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#listBlockchainPlatformPatches.");
951
+ if (this.logger)
952
+ this.logger.debug("Calling operation BlockchainPlatformClient#listBlockchainPlatformPatches.");
911
953
  const operationName = "listBlockchainPlatformPatches";
912
954
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/ListBlockchainPlatformPatches";
913
955
  const pathParams = {
@@ -923,6 +965,8 @@ class BlockchainPlatformClient {
923
965
  };
924
966
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
925
967
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBlockchainPlatformPatchesRequest.retryConfiguration, specRetryConfiguration);
968
+ if (this.logger)
969
+ retrier.logger = this.logger;
926
970
  const request = yield oci_common_1.composeRequest({
927
971
  baseEndpoint: this._endpoint,
928
972
  defaultHeaders: this._defaultHeaders,
@@ -966,11 +1010,12 @@ class BlockchainPlatformClient {
966
1010
  * @param ListBlockchainPlatformsRequest
967
1011
  * @return ListBlockchainPlatformsResponse
968
1012
  * @throws OciError when an error occurs
969
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/ListBlockchainPlatforms.ts.html |here} to see how to use ListBlockchainPlatforms API.
1013
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/blockchain/ListBlockchainPlatforms.ts.html |here} to see how to use ListBlockchainPlatforms API.
970
1014
  */
971
1015
  listBlockchainPlatforms(listBlockchainPlatformsRequest) {
972
1016
  return __awaiter(this, void 0, void 0, function* () {
973
- oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#listBlockchainPlatforms.");
1017
+ if (this.logger)
1018
+ this.logger.debug("Calling operation BlockchainPlatformClient#listBlockchainPlatforms.");
974
1019
  const operationName = "listBlockchainPlatforms";
975
1020
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/ListBlockchainPlatforms";
976
1021
  const pathParams = {};
@@ -989,6 +1034,8 @@ class BlockchainPlatformClient {
989
1034
  };
990
1035
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
991
1036
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBlockchainPlatformsRequest.retryConfiguration, specRetryConfiguration);
1037
+ if (this.logger)
1038
+ retrier.logger = this.logger;
992
1039
  const request = yield oci_common_1.composeRequest({
993
1040
  baseEndpoint: this._endpoint,
994
1041
  defaultHeaders: this._defaultHeaders,
@@ -1032,11 +1079,12 @@ class BlockchainPlatformClient {
1032
1079
  * @param ListOsnsRequest
1033
1080
  * @return ListOsnsResponse
1034
1081
  * @throws OciError when an error occurs
1035
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/ListOsns.ts.html |here} to see how to use ListOsns API.
1082
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/blockchain/ListOsns.ts.html |here} to see how to use ListOsns API.
1036
1083
  */
1037
1084
  listOsns(listOsnsRequest) {
1038
1085
  return __awaiter(this, void 0, void 0, function* () {
1039
- oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#listOsns.");
1086
+ if (this.logger)
1087
+ this.logger.debug("Calling operation BlockchainPlatformClient#listOsns.");
1040
1088
  const operationName = "listOsns";
1041
1089
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/Osn/ListOsns";
1042
1090
  const pathParams = {
@@ -1056,6 +1104,8 @@ class BlockchainPlatformClient {
1056
1104
  };
1057
1105
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1058
1106
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOsnsRequest.retryConfiguration, specRetryConfiguration);
1107
+ if (this.logger)
1108
+ retrier.logger = this.logger;
1059
1109
  const request = yield oci_common_1.composeRequest({
1060
1110
  baseEndpoint: this._endpoint,
1061
1111
  defaultHeaders: this._defaultHeaders,
@@ -1099,11 +1149,12 @@ class BlockchainPlatformClient {
1099
1149
  * @param ListPeersRequest
1100
1150
  * @return ListPeersResponse
1101
1151
  * @throws OciError when an error occurs
1102
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/ListPeers.ts.html |here} to see how to use ListPeers API.
1152
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/blockchain/ListPeers.ts.html |here} to see how to use ListPeers API.
1103
1153
  */
1104
1154
  listPeers(listPeersRequest) {
1105
1155
  return __awaiter(this, void 0, void 0, function* () {
1106
- oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#listPeers.");
1156
+ if (this.logger)
1157
+ this.logger.debug("Calling operation BlockchainPlatformClient#listPeers.");
1107
1158
  const operationName = "listPeers";
1108
1159
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/Peer/ListPeers";
1109
1160
  const pathParams = {
@@ -1123,6 +1174,8 @@ class BlockchainPlatformClient {
1123
1174
  };
1124
1175
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1125
1176
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPeersRequest.retryConfiguration, specRetryConfiguration);
1177
+ if (this.logger)
1178
+ retrier.logger = this.logger;
1126
1179
  const request = yield oci_common_1.composeRequest({
1127
1180
  baseEndpoint: this._endpoint,
1128
1181
  defaultHeaders: this._defaultHeaders,
@@ -1167,11 +1220,12 @@ class BlockchainPlatformClient {
1167
1220
  * @param ListWorkRequestErrorsRequest
1168
1221
  * @return ListWorkRequestErrorsResponse
1169
1222
  * @throws OciError when an error occurs
1170
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1223
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/blockchain/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1171
1224
  */
1172
1225
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
1173
1226
  return __awaiter(this, void 0, void 0, function* () {
1174
- oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#listWorkRequestErrors.");
1227
+ if (this.logger)
1228
+ this.logger.debug("Calling operation BlockchainPlatformClient#listWorkRequestErrors.");
1175
1229
  const operationName = "listWorkRequestErrors";
1176
1230
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/WorkRequestError/ListWorkRequestErrors";
1177
1231
  const pathParams = {
@@ -1187,6 +1241,8 @@ class BlockchainPlatformClient {
1187
1241
  };
1188
1242
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1189
1243
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
1244
+ if (this.logger)
1245
+ retrier.logger = this.logger;
1190
1246
  const request = yield oci_common_1.composeRequest({
1191
1247
  baseEndpoint: this._endpoint,
1192
1248
  defaultHeaders: this._defaultHeaders,
@@ -1231,11 +1287,12 @@ class BlockchainPlatformClient {
1231
1287
  * @param ListWorkRequestLogsRequest
1232
1288
  * @return ListWorkRequestLogsResponse
1233
1289
  * @throws OciError when an error occurs
1234
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
1290
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/blockchain/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
1235
1291
  */
1236
1292
  listWorkRequestLogs(listWorkRequestLogsRequest) {
1237
1293
  return __awaiter(this, void 0, void 0, function* () {
1238
- oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#listWorkRequestLogs.");
1294
+ if (this.logger)
1295
+ this.logger.debug("Calling operation BlockchainPlatformClient#listWorkRequestLogs.");
1239
1296
  const operationName = "listWorkRequestLogs";
1240
1297
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/WorkRequestLogEntry/ListWorkRequestLogs";
1241
1298
  const pathParams = {
@@ -1251,6 +1308,8 @@ class BlockchainPlatformClient {
1251
1308
  };
1252
1309
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1253
1310
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
1311
+ if (this.logger)
1312
+ retrier.logger = this.logger;
1254
1313
  const request = yield oci_common_1.composeRequest({
1255
1314
  baseEndpoint: this._endpoint,
1256
1315
  defaultHeaders: this._defaultHeaders,
@@ -1295,11 +1354,12 @@ class BlockchainPlatformClient {
1295
1354
  * @param ListWorkRequestsRequest
1296
1355
  * @return ListWorkRequestsResponse
1297
1356
  * @throws OciError when an error occurs
1298
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1357
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/blockchain/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1299
1358
  */
1300
1359
  listWorkRequests(listWorkRequestsRequest) {
1301
1360
  return __awaiter(this, void 0, void 0, function* () {
1302
- oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#listWorkRequests.");
1361
+ if (this.logger)
1362
+ this.logger.debug("Calling operation BlockchainPlatformClient#listWorkRequests.");
1303
1363
  const operationName = "listWorkRequests";
1304
1364
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/WorkRequest/ListWorkRequests";
1305
1365
  const pathParams = {};
@@ -1317,6 +1377,8 @@ class BlockchainPlatformClient {
1317
1377
  };
1318
1378
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1319
1379
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
1380
+ if (this.logger)
1381
+ retrier.logger = this.logger;
1320
1382
  const request = yield oci_common_1.composeRequest({
1321
1383
  baseEndpoint: this._endpoint,
1322
1384
  defaultHeaders: this._defaultHeaders,
@@ -1360,11 +1422,12 @@ class BlockchainPlatformClient {
1360
1422
  * @param PreviewScaleBlockchainPlatformRequest
1361
1423
  * @return PreviewScaleBlockchainPlatformResponse
1362
1424
  * @throws OciError when an error occurs
1363
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/PreviewScaleBlockchainPlatform.ts.html |here} to see how to use PreviewScaleBlockchainPlatform API.
1425
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/blockchain/PreviewScaleBlockchainPlatform.ts.html |here} to see how to use PreviewScaleBlockchainPlatform API.
1364
1426
  */
1365
1427
  previewScaleBlockchainPlatform(previewScaleBlockchainPlatformRequest) {
1366
1428
  return __awaiter(this, void 0, void 0, function* () {
1367
- oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#previewScaleBlockchainPlatform.");
1429
+ if (this.logger)
1430
+ this.logger.debug("Calling operation BlockchainPlatformClient#previewScaleBlockchainPlatform.");
1368
1431
  const operationName = "previewScaleBlockchainPlatform";
1369
1432
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/PreviewScaleBlockchainPlatform";
1370
1433
  const pathParams = {
@@ -1377,6 +1440,8 @@ class BlockchainPlatformClient {
1377
1440
  };
1378
1441
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1379
1442
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, previewScaleBlockchainPlatformRequest.retryConfiguration, specRetryConfiguration);
1443
+ if (this.logger)
1444
+ retrier.logger = this.logger;
1380
1445
  const request = yield oci_common_1.composeRequest({
1381
1446
  baseEndpoint: this._endpoint,
1382
1447
  defaultHeaders: this._defaultHeaders,
@@ -1421,11 +1486,12 @@ class BlockchainPlatformClient {
1421
1486
  * @param ScaleBlockchainPlatformRequest
1422
1487
  * @return ScaleBlockchainPlatformResponse
1423
1488
  * @throws OciError when an error occurs
1424
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/ScaleBlockchainPlatform.ts.html |here} to see how to use ScaleBlockchainPlatform API.
1489
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/blockchain/ScaleBlockchainPlatform.ts.html |here} to see how to use ScaleBlockchainPlatform API.
1425
1490
  */
1426
1491
  scaleBlockchainPlatform(scaleBlockchainPlatformRequest) {
1427
1492
  return __awaiter(this, void 0, void 0, function* () {
1428
- oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#scaleBlockchainPlatform.");
1493
+ if (this.logger)
1494
+ this.logger.debug("Calling operation BlockchainPlatformClient#scaleBlockchainPlatform.");
1429
1495
  const operationName = "scaleBlockchainPlatform";
1430
1496
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/ScaleBlockchainPlatform";
1431
1497
  const pathParams = {
@@ -1440,6 +1506,8 @@ class BlockchainPlatformClient {
1440
1506
  };
1441
1507
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1442
1508
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, scaleBlockchainPlatformRequest.retryConfiguration, specRetryConfiguration);
1509
+ if (this.logger)
1510
+ retrier.logger = this.logger;
1443
1511
  const request = yield oci_common_1.composeRequest({
1444
1512
  baseEndpoint: this._endpoint,
1445
1513
  defaultHeaders: this._defaultHeaders,
@@ -1480,11 +1548,12 @@ class BlockchainPlatformClient {
1480
1548
  * @param StartBlockchainPlatformRequest
1481
1549
  * @return StartBlockchainPlatformResponse
1482
1550
  * @throws OciError when an error occurs
1483
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/StartBlockchainPlatform.ts.html |here} to see how to use StartBlockchainPlatform API.
1551
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/blockchain/StartBlockchainPlatform.ts.html |here} to see how to use StartBlockchainPlatform API.
1484
1552
  */
1485
1553
  startBlockchainPlatform(startBlockchainPlatformRequest) {
1486
1554
  return __awaiter(this, void 0, void 0, function* () {
1487
- oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#startBlockchainPlatform.");
1555
+ if (this.logger)
1556
+ this.logger.debug("Calling operation BlockchainPlatformClient#startBlockchainPlatform.");
1488
1557
  const operationName = "startBlockchainPlatform";
1489
1558
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/StartBlockchainPlatform";
1490
1559
  const pathParams = {
@@ -1499,6 +1568,8 @@ class BlockchainPlatformClient {
1499
1568
  };
1500
1569
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1501
1570
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, startBlockchainPlatformRequest.retryConfiguration, specRetryConfiguration);
1571
+ if (this.logger)
1572
+ retrier.logger = this.logger;
1502
1573
  const request = yield oci_common_1.composeRequest({
1503
1574
  baseEndpoint: this._endpoint,
1504
1575
  defaultHeaders: this._defaultHeaders,
@@ -1538,11 +1609,12 @@ class BlockchainPlatformClient {
1538
1609
  * @param StopBlockchainPlatformRequest
1539
1610
  * @return StopBlockchainPlatformResponse
1540
1611
  * @throws OciError when an error occurs
1541
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/StopBlockchainPlatform.ts.html |here} to see how to use StopBlockchainPlatform API.
1612
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/blockchain/StopBlockchainPlatform.ts.html |here} to see how to use StopBlockchainPlatform API.
1542
1613
  */
1543
1614
  stopBlockchainPlatform(stopBlockchainPlatformRequest) {
1544
1615
  return __awaiter(this, void 0, void 0, function* () {
1545
- oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#stopBlockchainPlatform.");
1616
+ if (this.logger)
1617
+ this.logger.debug("Calling operation BlockchainPlatformClient#stopBlockchainPlatform.");
1546
1618
  const operationName = "stopBlockchainPlatform";
1547
1619
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/StopBlockchainPlatform";
1548
1620
  const pathParams = {
@@ -1557,6 +1629,8 @@ class BlockchainPlatformClient {
1557
1629
  };
1558
1630
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1559
1631
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, stopBlockchainPlatformRequest.retryConfiguration, specRetryConfiguration);
1632
+ if (this.logger)
1633
+ retrier.logger = this.logger;
1560
1634
  const request = yield oci_common_1.composeRequest({
1561
1635
  baseEndpoint: this._endpoint,
1562
1636
  defaultHeaders: this._defaultHeaders,
@@ -1596,11 +1670,12 @@ class BlockchainPlatformClient {
1596
1670
  * @param UpdateBlockchainPlatformRequest
1597
1671
  * @return UpdateBlockchainPlatformResponse
1598
1672
  * @throws OciError when an error occurs
1599
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/UpdateBlockchainPlatform.ts.html |here} to see how to use UpdateBlockchainPlatform API.
1673
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/blockchain/UpdateBlockchainPlatform.ts.html |here} to see how to use UpdateBlockchainPlatform API.
1600
1674
  */
1601
1675
  updateBlockchainPlatform(updateBlockchainPlatformRequest) {
1602
1676
  return __awaiter(this, void 0, void 0, function* () {
1603
- oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#updateBlockchainPlatform.");
1677
+ if (this.logger)
1678
+ this.logger.debug("Calling operation BlockchainPlatformClient#updateBlockchainPlatform.");
1604
1679
  const operationName = "updateBlockchainPlatform";
1605
1680
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/UpdateBlockchainPlatform";
1606
1681
  const pathParams = {
@@ -1615,6 +1690,8 @@ class BlockchainPlatformClient {
1615
1690
  };
1616
1691
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1617
1692
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateBlockchainPlatformRequest.retryConfiguration, specRetryConfiguration);
1693
+ if (this.logger)
1694
+ retrier.logger = this.logger;
1618
1695
  const request = yield oci_common_1.composeRequest({
1619
1696
  baseEndpoint: this._endpoint,
1620
1697
  defaultHeaders: this._defaultHeaders,
@@ -1655,11 +1732,12 @@ class BlockchainPlatformClient {
1655
1732
  * @param UpdateOsnRequest
1656
1733
  * @return UpdateOsnResponse
1657
1734
  * @throws OciError when an error occurs
1658
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/UpdateOsn.ts.html |here} to see how to use UpdateOsn API.
1735
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/blockchain/UpdateOsn.ts.html |here} to see how to use UpdateOsn API.
1659
1736
  */
1660
1737
  updateOsn(updateOsnRequest) {
1661
1738
  return __awaiter(this, void 0, void 0, function* () {
1662
- oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#updateOsn.");
1739
+ if (this.logger)
1740
+ this.logger.debug("Calling operation BlockchainPlatformClient#updateOsn.");
1663
1741
  const operationName = "updateOsn";
1664
1742
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/UpdateOsn";
1665
1743
  const pathParams = {
@@ -1675,6 +1753,8 @@ class BlockchainPlatformClient {
1675
1753
  };
1676
1754
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1677
1755
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateOsnRequest.retryConfiguration, specRetryConfiguration);
1756
+ if (this.logger)
1757
+ retrier.logger = this.logger;
1678
1758
  const request = yield oci_common_1.composeRequest({
1679
1759
  baseEndpoint: this._endpoint,
1680
1760
  defaultHeaders: this._defaultHeaders,
@@ -1715,11 +1795,12 @@ class BlockchainPlatformClient {
1715
1795
  * @param UpdatePeerRequest
1716
1796
  * @return UpdatePeerResponse
1717
1797
  * @throws OciError when an error occurs
1718
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/UpdatePeer.ts.html |here} to see how to use UpdatePeer API.
1798
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/blockchain/UpdatePeer.ts.html |here} to see how to use UpdatePeer API.
1719
1799
  */
1720
1800
  updatePeer(updatePeerRequest) {
1721
1801
  return __awaiter(this, void 0, void 0, function* () {
1722
- oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#updatePeer.");
1802
+ if (this.logger)
1803
+ this.logger.debug("Calling operation BlockchainPlatformClient#updatePeer.");
1723
1804
  const operationName = "updatePeer";
1724
1805
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/UpdatePeer";
1725
1806
  const pathParams = {
@@ -1735,6 +1816,8 @@ class BlockchainPlatformClient {
1735
1816
  };
1736
1817
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1737
1818
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updatePeerRequest.retryConfiguration, specRetryConfiguration);
1819
+ if (this.logger)
1820
+ retrier.logger = this.logger;
1738
1821
  const request = yield oci_common_1.composeRequest({
1739
1822
  baseEndpoint: this._endpoint,
1740
1823
  defaultHeaders: this._defaultHeaders,
@@ -1775,11 +1858,12 @@ class BlockchainPlatformClient {
1775
1858
  * @param UpgradeBlockchainPlatformRequest
1776
1859
  * @return UpgradeBlockchainPlatformResponse
1777
1860
  * @throws OciError when an error occurs
1778
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/UpgradeBlockchainPlatform.ts.html |here} to see how to use UpgradeBlockchainPlatform API.
1861
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/blockchain/UpgradeBlockchainPlatform.ts.html |here} to see how to use UpgradeBlockchainPlatform API.
1779
1862
  */
1780
1863
  upgradeBlockchainPlatform(upgradeBlockchainPlatformRequest) {
1781
1864
  return __awaiter(this, void 0, void 0, function* () {
1782
- oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#upgradeBlockchainPlatform.");
1865
+ if (this.logger)
1866
+ this.logger.debug("Calling operation BlockchainPlatformClient#upgradeBlockchainPlatform.");
1783
1867
  const operationName = "upgradeBlockchainPlatform";
1784
1868
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/UpgradeBlockchainPlatform";
1785
1869
  const pathParams = {
@@ -1794,6 +1878,8 @@ class BlockchainPlatformClient {
1794
1878
  };
1795
1879
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1796
1880
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, upgradeBlockchainPlatformRequest.retryConfiguration, specRetryConfiguration);
1881
+ if (this.logger)
1882
+ retrier.logger = this.logger;
1797
1883
  const request = yield oci_common_1.composeRequest({
1798
1884
  baseEndpoint: this._endpoint,
1799
1885
  defaultHeaders: this._defaultHeaders,