oci-cloudmigrations 2.79.1 → 2.81.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/lib/client.d.ts +45 -44
  2. package/lib/client.js +223 -89
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/asset-source-connection-lifecycle-state.d.ts +1 -6
  5. package/lib/model/asset-source-connection-lifecycle-state.js +0 -5
  6. package/lib/model/asset-source-connection-lifecycle-state.js.map +1 -1
  7. package/lib/model/asset-source-connection-type.d.ts +1 -6
  8. package/lib/model/asset-source-connection-type.js +0 -5
  9. package/lib/model/asset-source-connection-type.js.map +1 -1
  10. package/lib/model/asset-source-credentials-type.d.ts +1 -6
  11. package/lib/model/asset-source-credentials-type.js +0 -5
  12. package/lib/model/asset-source-credentials-type.js.map +1 -1
  13. package/lib/model/asset-source-lifecycle-state.d.ts +1 -6
  14. package/lib/model/asset-source-lifecycle-state.js +0 -5
  15. package/lib/model/asset-source-lifecycle-state.js.map +1 -1
  16. package/lib/model/asset-source-summary.js +4 -2
  17. package/lib/model/asset-source-summary.js.map +1 -1
  18. package/lib/model/asset-source-type.d.ts +1 -6
  19. package/lib/model/asset-source-type.js +0 -5
  20. package/lib/model/asset-source-type.js.map +1 -1
  21. package/lib/model/asset-source.js +4 -2
  22. package/lib/model/asset-source.js.map +1 -1
  23. package/lib/model/create-asset-source-details.js +4 -2
  24. package/lib/model/create-asset-source-details.js.map +1 -1
  25. package/lib/model/create-target-asset-details.js +4 -2
  26. package/lib/model/create-target-asset-details.js.map +1 -1
  27. package/lib/model/discovery-schedule-lifecycle-state.d.ts +1 -6
  28. package/lib/model/discovery-schedule-lifecycle-state.js +0 -5
  29. package/lib/model/discovery-schedule-lifecycle-state.js.map +1 -1
  30. package/lib/model/instance-source-details.js +4 -2
  31. package/lib/model/instance-source-details.js.map +1 -1
  32. package/lib/model/preemption-action.js +4 -2
  33. package/lib/model/preemption-action.js.map +1 -1
  34. package/lib/model/resource-assessment-strategy.js +4 -2
  35. package/lib/model/resource-assessment-strategy.js.map +1 -1
  36. package/lib/model/target-asset-summary.js +4 -2
  37. package/lib/model/target-asset-summary.js.map +1 -1
  38. package/lib/model/target-asset.js +4 -2
  39. package/lib/model/target-asset.js.map +1 -1
  40. package/lib/model/target-environment.js +4 -2
  41. package/lib/model/target-environment.js.map +1 -1
  42. package/lib/model/update-asset-source-details.js +4 -2
  43. package/lib/model/update-asset-source-details.js.map +1 -1
  44. package/lib/model/update-target-asset-details.js +4 -2
  45. package/lib/model/update-target-asset-details.js.map +1 -1
  46. package/lib/request/cancel-work-request-request.d.ts +1 -1
  47. package/lib/request/change-migration-compartment-request.d.ts +1 -1
  48. package/lib/request/change-migration-plan-compartment-request.d.ts +1 -1
  49. package/lib/request/change-replication-schedule-compartment-request.d.ts +1 -1
  50. package/lib/request/create-migration-asset-request.d.ts +1 -1
  51. package/lib/request/create-migration-plan-request.d.ts +1 -1
  52. package/lib/request/create-migration-request.d.ts +1 -1
  53. package/lib/request/create-replication-schedule-request.d.ts +1 -1
  54. package/lib/request/create-target-asset-request.d.ts +1 -1
  55. package/lib/request/delete-migration-asset-request.d.ts +1 -1
  56. package/lib/request/delete-migration-plan-request.d.ts +1 -1
  57. package/lib/request/delete-migration-request.d.ts +1 -1
  58. package/lib/request/delete-replication-schedule-request.d.ts +1 -1
  59. package/lib/request/delete-target-asset-request.d.ts +1 -1
  60. package/lib/request/execute-migration-plan-request.d.ts +1 -1
  61. package/lib/request/export-migration-plan-request.d.ts +1 -1
  62. package/lib/request/get-migration-asset-request.d.ts +1 -1
  63. package/lib/request/get-migration-plan-request.d.ts +1 -1
  64. package/lib/request/get-migration-request.d.ts +1 -1
  65. package/lib/request/get-replication-progress-request.d.ts +1 -1
  66. package/lib/request/get-replication-schedule-request.d.ts +1 -1
  67. package/lib/request/get-target-asset-request.d.ts +1 -1
  68. package/lib/request/get-work-request-request.d.ts +1 -1
  69. package/lib/request/import-migration-plan-request.d.ts +1 -1
  70. package/lib/request/list-available-shapes-request.d.ts +1 -1
  71. package/lib/request/list-migration-assets-request.d.ts +1 -1
  72. package/lib/request/list-migration-plans-request.d.ts +1 -1
  73. package/lib/request/list-migrations-request.d.ts +1 -1
  74. package/lib/request/list-replication-schedules-request.d.ts +1 -1
  75. package/lib/request/list-target-assets-request.d.ts +1 -1
  76. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  77. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  78. package/lib/request/list-work-requests-request.d.ts +1 -1
  79. package/lib/request/refresh-migration-asset-request.d.ts +1 -1
  80. package/lib/request/refresh-migration-plan-request.d.ts +1 -1
  81. package/lib/request/refresh-migration-request.d.ts +1 -1
  82. package/lib/request/start-asset-replication-request.d.ts +1 -1
  83. package/lib/request/start-migration-replication-request.d.ts +1 -1
  84. package/lib/request/update-migration-asset-request.d.ts +1 -1
  85. package/lib/request/update-migration-plan-request.d.ts +1 -1
  86. package/lib/request/update-migration-request.d.ts +1 -1
  87. package/lib/request/update-replication-schedule-request.d.ts +1 -1
  88. package/lib/request/update-target-asset-request.d.ts +1 -1
  89. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -57,7 +57,7 @@ var MigrationApiKeys;
57
57
  */
58
58
  class MigrationClient {
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 MigrationClient {
116
116
  set endpoint(endpoint) {
117
117
  this._endpoint = endpoint;
118
118
  this._endpoint = this._endpoint + "/20220919";
119
- oci_common_1.logger.info(`MigrationClient endpoint set to ${this._endpoint}`);
119
+ if (this.logger)
120
+ this.logger.info(`MigrationClient 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 MigrationClient {
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(MigrationClient.serviceEndpointTemplate, this._region, MigrationClient.endpointServiceName);
131
136
  }
@@ -191,11 +196,12 @@ class MigrationClient {
191
196
  * @param CancelWorkRequestRequest
192
197
  * @return CancelWorkRequestResponse
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/cloudmigrations/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
199
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
195
200
  */
196
201
  cancelWorkRequest(cancelWorkRequestRequest) {
197
202
  return __awaiter(this, void 0, void 0, function* () {
198
- oci_common_1.logger.debug("Calling operation MigrationClient#cancelWorkRequest.");
203
+ if (this.logger)
204
+ this.logger.debug("Calling operation MigrationClient#cancelWorkRequest.");
199
205
  const operationName = "cancelWorkRequest";
200
206
  const apiReferenceLink = "";
201
207
  const pathParams = {
@@ -209,6 +215,8 @@ class MigrationClient {
209
215
  };
210
216
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
211
217
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelWorkRequestRequest.retryConfiguration, specRetryConfiguration);
218
+ if (this.logger)
219
+ retrier.logger = this.logger;
212
220
  const request = yield oci_common_1.composeRequest({
213
221
  baseEndpoint: this._endpoint,
214
222
  defaultHeaders: this._defaultHeaders,
@@ -243,11 +251,12 @@ class MigrationClient {
243
251
  * @param ChangeMigrationCompartmentRequest
244
252
  * @return ChangeMigrationCompartmentResponse
245
253
  * @throws OciError when an error occurs
246
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/ChangeMigrationCompartment.ts.html |here} to see how to use ChangeMigrationCompartment API.
254
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/ChangeMigrationCompartment.ts.html |here} to see how to use ChangeMigrationCompartment API.
247
255
  */
248
256
  changeMigrationCompartment(changeMigrationCompartmentRequest) {
249
257
  return __awaiter(this, void 0, void 0, function* () {
250
- oci_common_1.logger.debug("Calling operation MigrationClient#changeMigrationCompartment.");
258
+ if (this.logger)
259
+ this.logger.debug("Calling operation MigrationClient#changeMigrationCompartment.");
251
260
  const operationName = "changeMigrationCompartment";
252
261
  const apiReferenceLink = "";
253
262
  const pathParams = {
@@ -262,6 +271,8 @@ class MigrationClient {
262
271
  };
263
272
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
264
273
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeMigrationCompartmentRequest.retryConfiguration, specRetryConfiguration);
274
+ if (this.logger)
275
+ retrier.logger = this.logger;
265
276
  const request = yield oci_common_1.composeRequest({
266
277
  baseEndpoint: this._endpoint,
267
278
  defaultHeaders: this._defaultHeaders,
@@ -302,11 +313,12 @@ class MigrationClient {
302
313
  * @param ChangeMigrationPlanCompartmentRequest
303
314
  * @return ChangeMigrationPlanCompartmentResponse
304
315
  * @throws OciError when an error occurs
305
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/ChangeMigrationPlanCompartment.ts.html |here} to see how to use ChangeMigrationPlanCompartment API.
316
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/ChangeMigrationPlanCompartment.ts.html |here} to see how to use ChangeMigrationPlanCompartment API.
306
317
  */
307
318
  changeMigrationPlanCompartment(changeMigrationPlanCompartmentRequest) {
308
319
  return __awaiter(this, void 0, void 0, function* () {
309
- oci_common_1.logger.debug("Calling operation MigrationClient#changeMigrationPlanCompartment.");
320
+ if (this.logger)
321
+ this.logger.debug("Calling operation MigrationClient#changeMigrationPlanCompartment.");
310
322
  const operationName = "changeMigrationPlanCompartment";
311
323
  const apiReferenceLink = "";
312
324
  const pathParams = {
@@ -321,6 +333,8 @@ class MigrationClient {
321
333
  };
322
334
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
323
335
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeMigrationPlanCompartmentRequest.retryConfiguration, specRetryConfiguration);
336
+ if (this.logger)
337
+ retrier.logger = this.logger;
324
338
  const request = yield oci_common_1.composeRequest({
325
339
  baseEndpoint: this._endpoint,
326
340
  defaultHeaders: this._defaultHeaders,
@@ -361,11 +375,12 @@ class MigrationClient {
361
375
  * @param ChangeReplicationScheduleCompartmentRequest
362
376
  * @return ChangeReplicationScheduleCompartmentResponse
363
377
  * @throws OciError when an error occurs
364
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/ChangeReplicationScheduleCompartment.ts.html |here} to see how to use ChangeReplicationScheduleCompartment API.
378
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/ChangeReplicationScheduleCompartment.ts.html |here} to see how to use ChangeReplicationScheduleCompartment API.
365
379
  */
366
380
  changeReplicationScheduleCompartment(changeReplicationScheduleCompartmentRequest) {
367
381
  return __awaiter(this, void 0, void 0, function* () {
368
- oci_common_1.logger.debug("Calling operation MigrationClient#changeReplicationScheduleCompartment.");
382
+ if (this.logger)
383
+ this.logger.debug("Calling operation MigrationClient#changeReplicationScheduleCompartment.");
369
384
  const operationName = "changeReplicationScheduleCompartment";
370
385
  const apiReferenceLink = "";
371
386
  const pathParams = {
@@ -380,6 +395,8 @@ class MigrationClient {
380
395
  };
381
396
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
382
397
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeReplicationScheduleCompartmentRequest.retryConfiguration, specRetryConfiguration);
398
+ if (this.logger)
399
+ retrier.logger = this.logger;
383
400
  const request = yield oci_common_1.composeRequest({
384
401
  baseEndpoint: this._endpoint,
385
402
  defaultHeaders: this._defaultHeaders,
@@ -421,11 +438,12 @@ class MigrationClient {
421
438
  * @param CreateMigrationRequest
422
439
  * @return CreateMigrationResponse
423
440
  * @throws OciError when an error occurs
424
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/CreateMigration.ts.html |here} to see how to use CreateMigration API.
441
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/CreateMigration.ts.html |here} to see how to use CreateMigration API.
425
442
  */
426
443
  createMigration(createMigrationRequest) {
427
444
  return __awaiter(this, void 0, void 0, function* () {
428
- oci_common_1.logger.debug("Calling operation MigrationClient#createMigration.");
445
+ if (this.logger)
446
+ this.logger.debug("Calling operation MigrationClient#createMigration.");
429
447
  const operationName = "createMigration";
430
448
  const apiReferenceLink = "";
431
449
  const pathParams = {};
@@ -437,6 +455,8 @@ class MigrationClient {
437
455
  };
438
456
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
439
457
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createMigrationRequest.retryConfiguration, specRetryConfiguration);
458
+ if (this.logger)
459
+ retrier.logger = this.logger;
440
460
  const request = yield oci_common_1.composeRequest({
441
461
  baseEndpoint: this._endpoint,
442
462
  defaultHeaders: this._defaultHeaders,
@@ -482,11 +502,12 @@ class MigrationClient {
482
502
  * @param CreateMigrationAssetRequest
483
503
  * @return CreateMigrationAssetResponse
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/cloudmigrations/CreateMigrationAsset.ts.html |here} to see how to use CreateMigrationAsset API.
505
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/CreateMigrationAsset.ts.html |here} to see how to use CreateMigrationAsset API.
486
506
  */
487
507
  createMigrationAsset(createMigrationAssetRequest) {
488
508
  return __awaiter(this, void 0, void 0, function* () {
489
- oci_common_1.logger.debug("Calling operation MigrationClient#createMigrationAsset.");
509
+ if (this.logger)
510
+ this.logger.debug("Calling operation MigrationClient#createMigrationAsset.");
490
511
  const operationName = "createMigrationAsset";
491
512
  const apiReferenceLink = "";
492
513
  const pathParams = {};
@@ -498,6 +519,8 @@ class MigrationClient {
498
519
  };
499
520
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
500
521
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createMigrationAssetRequest.retryConfiguration, specRetryConfiguration);
522
+ if (this.logger)
523
+ retrier.logger = this.logger;
501
524
  const request = yield oci_common_1.composeRequest({
502
525
  baseEndpoint: this._endpoint,
503
526
  defaultHeaders: this._defaultHeaders,
@@ -558,11 +581,12 @@ class MigrationClient {
558
581
  * @param CreateMigrationPlanRequest
559
582
  * @return CreateMigrationPlanResponse
560
583
  * @throws OciError when an error occurs
561
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/CreateMigrationPlan.ts.html |here} to see how to use CreateMigrationPlan API.
584
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/CreateMigrationPlan.ts.html |here} to see how to use CreateMigrationPlan API.
562
585
  */
563
586
  createMigrationPlan(createMigrationPlanRequest) {
564
587
  return __awaiter(this, void 0, void 0, function* () {
565
- oci_common_1.logger.debug("Calling operation MigrationClient#createMigrationPlan.");
588
+ if (this.logger)
589
+ this.logger.debug("Calling operation MigrationClient#createMigrationPlan.");
566
590
  const operationName = "createMigrationPlan";
567
591
  const apiReferenceLink = "";
568
592
  const pathParams = {};
@@ -574,6 +598,8 @@ class MigrationClient {
574
598
  };
575
599
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
576
600
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createMigrationPlanRequest.retryConfiguration, specRetryConfiguration);
601
+ if (this.logger)
602
+ retrier.logger = this.logger;
577
603
  const request = yield oci_common_1.composeRequest({
578
604
  baseEndpoint: this._endpoint,
579
605
  defaultHeaders: this._defaultHeaders,
@@ -634,11 +660,12 @@ class MigrationClient {
634
660
  * @param CreateReplicationScheduleRequest
635
661
  * @return CreateReplicationScheduleResponse
636
662
  * @throws OciError when an error occurs
637
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/CreateReplicationSchedule.ts.html |here} to see how to use CreateReplicationSchedule API.
663
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/CreateReplicationSchedule.ts.html |here} to see how to use CreateReplicationSchedule API.
638
664
  */
639
665
  createReplicationSchedule(createReplicationScheduleRequest) {
640
666
  return __awaiter(this, void 0, void 0, function* () {
641
- oci_common_1.logger.debug("Calling operation MigrationClient#createReplicationSchedule.");
667
+ if (this.logger)
668
+ this.logger.debug("Calling operation MigrationClient#createReplicationSchedule.");
642
669
  const operationName = "createReplicationSchedule";
643
670
  const apiReferenceLink = "";
644
671
  const pathParams = {};
@@ -650,6 +677,8 @@ class MigrationClient {
650
677
  };
651
678
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
652
679
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createReplicationScheduleRequest.retryConfiguration, specRetryConfiguration);
680
+ if (this.logger)
681
+ retrier.logger = this.logger;
653
682
  const request = yield oci_common_1.composeRequest({
654
683
  baseEndpoint: this._endpoint,
655
684
  defaultHeaders: this._defaultHeaders,
@@ -710,11 +739,12 @@ class MigrationClient {
710
739
  * @param CreateTargetAssetRequest
711
740
  * @return CreateTargetAssetResponse
712
741
  * @throws OciError when an error occurs
713
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/CreateTargetAsset.ts.html |here} to see how to use CreateTargetAsset API.
742
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/CreateTargetAsset.ts.html |here} to see how to use CreateTargetAsset API.
714
743
  */
715
744
  createTargetAsset(createTargetAssetRequest) {
716
745
  return __awaiter(this, void 0, void 0, function* () {
717
- oci_common_1.logger.debug("Calling operation MigrationClient#createTargetAsset.");
746
+ if (this.logger)
747
+ this.logger.debug("Calling operation MigrationClient#createTargetAsset.");
718
748
  const operationName = "createTargetAsset";
719
749
  const apiReferenceLink = "";
720
750
  const pathParams = {};
@@ -726,6 +756,8 @@ class MigrationClient {
726
756
  };
727
757
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
728
758
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createTargetAssetRequest.retryConfiguration, specRetryConfiguration);
759
+ if (this.logger)
760
+ retrier.logger = this.logger;
729
761
  const request = yield oci_common_1.composeRequest({
730
762
  baseEndpoint: this._endpoint,
731
763
  defaultHeaders: this._defaultHeaders,
@@ -785,11 +817,12 @@ class MigrationClient {
785
817
  * @param DeleteMigrationRequest
786
818
  * @return DeleteMigrationResponse
787
819
  * @throws OciError when an error occurs
788
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/DeleteMigration.ts.html |here} to see how to use DeleteMigration API.
820
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/DeleteMigration.ts.html |here} to see how to use DeleteMigration API.
789
821
  */
790
822
  deleteMigration(deleteMigrationRequest) {
791
823
  return __awaiter(this, void 0, void 0, function* () {
792
- oci_common_1.logger.debug("Calling operation MigrationClient#deleteMigration.");
824
+ if (this.logger)
825
+ this.logger.debug("Calling operation MigrationClient#deleteMigration.");
793
826
  const operationName = "deleteMigration";
794
827
  const apiReferenceLink = "";
795
828
  const pathParams = {
@@ -803,6 +836,8 @@ class MigrationClient {
803
836
  };
804
837
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
805
838
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteMigrationRequest.retryConfiguration, specRetryConfiguration);
839
+ if (this.logger)
840
+ retrier.logger = this.logger;
806
841
  const request = yield oci_common_1.composeRequest({
807
842
  baseEndpoint: this._endpoint,
808
843
  defaultHeaders: this._defaultHeaders,
@@ -842,11 +877,12 @@ class MigrationClient {
842
877
  * @param DeleteMigrationAssetRequest
843
878
  * @return DeleteMigrationAssetResponse
844
879
  * @throws OciError when an error occurs
845
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/DeleteMigrationAsset.ts.html |here} to see how to use DeleteMigrationAsset API.
880
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/DeleteMigrationAsset.ts.html |here} to see how to use DeleteMigrationAsset API.
846
881
  */
847
882
  deleteMigrationAsset(deleteMigrationAssetRequest) {
848
883
  return __awaiter(this, void 0, void 0, function* () {
849
- oci_common_1.logger.debug("Calling operation MigrationClient#deleteMigrationAsset.");
884
+ if (this.logger)
885
+ this.logger.debug("Calling operation MigrationClient#deleteMigrationAsset.");
850
886
  const operationName = "deleteMigrationAsset";
851
887
  const apiReferenceLink = "";
852
888
  const pathParams = {
@@ -860,6 +896,8 @@ class MigrationClient {
860
896
  };
861
897
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
862
898
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteMigrationAssetRequest.retryConfiguration, specRetryConfiguration);
899
+ if (this.logger)
900
+ retrier.logger = this.logger;
863
901
  const request = yield oci_common_1.composeRequest({
864
902
  baseEndpoint: this._endpoint,
865
903
  defaultHeaders: this._defaultHeaders,
@@ -899,11 +937,12 @@ class MigrationClient {
899
937
  * @param DeleteMigrationPlanRequest
900
938
  * @return DeleteMigrationPlanResponse
901
939
  * @throws OciError when an error occurs
902
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/DeleteMigrationPlan.ts.html |here} to see how to use DeleteMigrationPlan API.
940
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/DeleteMigrationPlan.ts.html |here} to see how to use DeleteMigrationPlan API.
903
941
  */
904
942
  deleteMigrationPlan(deleteMigrationPlanRequest) {
905
943
  return __awaiter(this, void 0, void 0, function* () {
906
- oci_common_1.logger.debug("Calling operation MigrationClient#deleteMigrationPlan.");
944
+ if (this.logger)
945
+ this.logger.debug("Calling operation MigrationClient#deleteMigrationPlan.");
907
946
  const operationName = "deleteMigrationPlan";
908
947
  const apiReferenceLink = "";
909
948
  const pathParams = {
@@ -917,6 +956,8 @@ class MigrationClient {
917
956
  };
918
957
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
919
958
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteMigrationPlanRequest.retryConfiguration, specRetryConfiguration);
959
+ if (this.logger)
960
+ retrier.logger = this.logger;
920
961
  const request = yield oci_common_1.composeRequest({
921
962
  baseEndpoint: this._endpoint,
922
963
  defaultHeaders: this._defaultHeaders,
@@ -956,11 +997,12 @@ class MigrationClient {
956
997
  * @param DeleteReplicationScheduleRequest
957
998
  * @return DeleteReplicationScheduleResponse
958
999
  * @throws OciError when an error occurs
959
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/DeleteReplicationSchedule.ts.html |here} to see how to use DeleteReplicationSchedule API.
1000
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/DeleteReplicationSchedule.ts.html |here} to see how to use DeleteReplicationSchedule API.
960
1001
  */
961
1002
  deleteReplicationSchedule(deleteReplicationScheduleRequest) {
962
1003
  return __awaiter(this, void 0, void 0, function* () {
963
- oci_common_1.logger.debug("Calling operation MigrationClient#deleteReplicationSchedule.");
1004
+ if (this.logger)
1005
+ this.logger.debug("Calling operation MigrationClient#deleteReplicationSchedule.");
964
1006
  const operationName = "deleteReplicationSchedule";
965
1007
  const apiReferenceLink = "";
966
1008
  const pathParams = {
@@ -974,6 +1016,8 @@ class MigrationClient {
974
1016
  };
975
1017
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
976
1018
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteReplicationScheduleRequest.retryConfiguration, specRetryConfiguration);
1019
+ if (this.logger)
1020
+ retrier.logger = this.logger;
977
1021
  const request = yield oci_common_1.composeRequest({
978
1022
  baseEndpoint: this._endpoint,
979
1023
  defaultHeaders: this._defaultHeaders,
@@ -1013,11 +1057,12 @@ class MigrationClient {
1013
1057
  * @param DeleteTargetAssetRequest
1014
1058
  * @return DeleteTargetAssetResponse
1015
1059
  * @throws OciError when an error occurs
1016
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/DeleteTargetAsset.ts.html |here} to see how to use DeleteTargetAsset API.
1060
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/DeleteTargetAsset.ts.html |here} to see how to use DeleteTargetAsset API.
1017
1061
  */
1018
1062
  deleteTargetAsset(deleteTargetAssetRequest) {
1019
1063
  return __awaiter(this, void 0, void 0, function* () {
1020
- oci_common_1.logger.debug("Calling operation MigrationClient#deleteTargetAsset.");
1064
+ if (this.logger)
1065
+ this.logger.debug("Calling operation MigrationClient#deleteTargetAsset.");
1021
1066
  const operationName = "deleteTargetAsset";
1022
1067
  const apiReferenceLink = "";
1023
1068
  const pathParams = {
@@ -1031,6 +1076,8 @@ class MigrationClient {
1031
1076
  };
1032
1077
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1033
1078
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteTargetAssetRequest.retryConfiguration, specRetryConfiguration);
1079
+ if (this.logger)
1080
+ retrier.logger = this.logger;
1034
1081
  const request = yield oci_common_1.composeRequest({
1035
1082
  baseEndpoint: this._endpoint,
1036
1083
  defaultHeaders: this._defaultHeaders,
@@ -1071,11 +1118,12 @@ class MigrationClient {
1071
1118
  * @param ExecuteMigrationPlanRequest
1072
1119
  * @return ExecuteMigrationPlanResponse
1073
1120
  * @throws OciError when an error occurs
1074
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/ExecuteMigrationPlan.ts.html |here} to see how to use ExecuteMigrationPlan API.
1121
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/ExecuteMigrationPlan.ts.html |here} to see how to use ExecuteMigrationPlan API.
1075
1122
  */
1076
1123
  executeMigrationPlan(executeMigrationPlanRequest) {
1077
1124
  return __awaiter(this, void 0, void 0, function* () {
1078
- oci_common_1.logger.debug("Calling operation MigrationClient#executeMigrationPlan.");
1125
+ if (this.logger)
1126
+ this.logger.debug("Calling operation MigrationClient#executeMigrationPlan.");
1079
1127
  const operationName = "executeMigrationPlan";
1080
1128
  const apiReferenceLink = "";
1081
1129
  const pathParams = {
@@ -1090,6 +1138,8 @@ class MigrationClient {
1090
1138
  };
1091
1139
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1092
1140
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, executeMigrationPlanRequest.retryConfiguration, specRetryConfiguration);
1141
+ if (this.logger)
1142
+ retrier.logger = this.logger;
1093
1143
  const request = yield oci_common_1.composeRequest({
1094
1144
  baseEndpoint: this._endpoint,
1095
1145
  defaultHeaders: this._defaultHeaders,
@@ -1129,11 +1179,12 @@ class MigrationClient {
1129
1179
  * @param ExportMigrationPlanRequest
1130
1180
  * @return ExportMigrationPlanResponse
1131
1181
  * @throws OciError when an error occurs
1132
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/ExportMigrationPlan.ts.html |here} to see how to use ExportMigrationPlan API.
1182
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/ExportMigrationPlan.ts.html |here} to see how to use ExportMigrationPlan API.
1133
1183
  */
1134
1184
  exportMigrationPlan(exportMigrationPlanRequest) {
1135
1185
  return __awaiter(this, void 0, void 0, function* () {
1136
- oci_common_1.logger.debug("Calling operation MigrationClient#exportMigrationPlan.");
1186
+ if (this.logger)
1187
+ this.logger.debug("Calling operation MigrationClient#exportMigrationPlan.");
1137
1188
  const operationName = "exportMigrationPlan";
1138
1189
  const apiReferenceLink = "";
1139
1190
  const pathParams = {
@@ -1146,6 +1197,8 @@ class MigrationClient {
1146
1197
  };
1147
1198
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1148
1199
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, exportMigrationPlanRequest.retryConfiguration, specRetryConfiguration);
1200
+ if (this.logger)
1201
+ retrier.logger = this.logger;
1149
1202
  const request = yield oci_common_1.composeRequest({
1150
1203
  baseEndpoint: this._endpoint,
1151
1204
  defaultHeaders: this._defaultHeaders,
@@ -1183,11 +1236,12 @@ class MigrationClient {
1183
1236
  * @param GetMigrationRequest
1184
1237
  * @return GetMigrationResponse
1185
1238
  * @throws OciError when an error occurs
1186
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/GetMigration.ts.html |here} to see how to use GetMigration API.
1239
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/GetMigration.ts.html |here} to see how to use GetMigration API.
1187
1240
  */
1188
1241
  getMigration(getMigrationRequest) {
1189
1242
  return __awaiter(this, void 0, void 0, function* () {
1190
- oci_common_1.logger.debug("Calling operation MigrationClient#getMigration.");
1243
+ if (this.logger)
1244
+ this.logger.debug("Calling operation MigrationClient#getMigration.");
1191
1245
  const operationName = "getMigration";
1192
1246
  const apiReferenceLink = "";
1193
1247
  const pathParams = {
@@ -1200,6 +1254,8 @@ class MigrationClient {
1200
1254
  };
1201
1255
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1202
1256
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getMigrationRequest.retryConfiguration, specRetryConfiguration);
1257
+ if (this.logger)
1258
+ retrier.logger = this.logger;
1203
1259
  const request = yield oci_common_1.composeRequest({
1204
1260
  baseEndpoint: this._endpoint,
1205
1261
  defaultHeaders: this._defaultHeaders,
@@ -1243,11 +1299,12 @@ class MigrationClient {
1243
1299
  * @param GetMigrationAssetRequest
1244
1300
  * @return GetMigrationAssetResponse
1245
1301
  * @throws OciError when an error occurs
1246
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/GetMigrationAsset.ts.html |here} to see how to use GetMigrationAsset API.
1302
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/GetMigrationAsset.ts.html |here} to see how to use GetMigrationAsset API.
1247
1303
  */
1248
1304
  getMigrationAsset(getMigrationAssetRequest) {
1249
1305
  return __awaiter(this, void 0, void 0, function* () {
1250
- oci_common_1.logger.debug("Calling operation MigrationClient#getMigrationAsset.");
1306
+ if (this.logger)
1307
+ this.logger.debug("Calling operation MigrationClient#getMigrationAsset.");
1251
1308
  const operationName = "getMigrationAsset";
1252
1309
  const apiReferenceLink = "";
1253
1310
  const pathParams = {
@@ -1260,6 +1317,8 @@ class MigrationClient {
1260
1317
  };
1261
1318
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1262
1319
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getMigrationAssetRequest.retryConfiguration, specRetryConfiguration);
1320
+ if (this.logger)
1321
+ retrier.logger = this.logger;
1263
1322
  const request = yield oci_common_1.composeRequest({
1264
1323
  baseEndpoint: this._endpoint,
1265
1324
  defaultHeaders: this._defaultHeaders,
@@ -1303,11 +1362,12 @@ class MigrationClient {
1303
1362
  * @param GetMigrationPlanRequest
1304
1363
  * @return GetMigrationPlanResponse
1305
1364
  * @throws OciError when an error occurs
1306
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/GetMigrationPlan.ts.html |here} to see how to use GetMigrationPlan API.
1365
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/GetMigrationPlan.ts.html |here} to see how to use GetMigrationPlan API.
1307
1366
  */
1308
1367
  getMigrationPlan(getMigrationPlanRequest) {
1309
1368
  return __awaiter(this, void 0, void 0, function* () {
1310
- oci_common_1.logger.debug("Calling operation MigrationClient#getMigrationPlan.");
1369
+ if (this.logger)
1370
+ this.logger.debug("Calling operation MigrationClient#getMigrationPlan.");
1311
1371
  const operationName = "getMigrationPlan";
1312
1372
  const apiReferenceLink = "";
1313
1373
  const pathParams = {
@@ -1320,6 +1380,8 @@ class MigrationClient {
1320
1380
  };
1321
1381
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1322
1382
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getMigrationPlanRequest.retryConfiguration, specRetryConfiguration);
1383
+ if (this.logger)
1384
+ retrier.logger = this.logger;
1323
1385
  const request = yield oci_common_1.composeRequest({
1324
1386
  baseEndpoint: this._endpoint,
1325
1387
  defaultHeaders: this._defaultHeaders,
@@ -1364,11 +1426,12 @@ class MigrationClient {
1364
1426
  * @param GetReplicationProgressRequest
1365
1427
  * @return GetReplicationProgressResponse
1366
1428
  * @throws OciError when an error occurs
1367
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/GetReplicationProgress.ts.html |here} to see how to use GetReplicationProgress API.
1429
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/GetReplicationProgress.ts.html |here} to see how to use GetReplicationProgress API.
1368
1430
  */
1369
1431
  getReplicationProgress(getReplicationProgressRequest) {
1370
1432
  return __awaiter(this, void 0, void 0, function* () {
1371
- oci_common_1.logger.debug("Calling operation MigrationClient#getReplicationProgress.");
1433
+ if (this.logger)
1434
+ this.logger.debug("Calling operation MigrationClient#getReplicationProgress.");
1372
1435
  const operationName = "getReplicationProgress";
1373
1436
  const apiReferenceLink = "";
1374
1437
  const pathParams = {
@@ -1381,6 +1444,8 @@ class MigrationClient {
1381
1444
  };
1382
1445
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1383
1446
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getReplicationProgressRequest.retryConfiguration, specRetryConfiguration);
1447
+ if (this.logger)
1448
+ retrier.logger = this.logger;
1384
1449
  const request = yield oci_common_1.composeRequest({
1385
1450
  baseEndpoint: this._endpoint,
1386
1451
  defaultHeaders: this._defaultHeaders,
@@ -1419,11 +1484,12 @@ class MigrationClient {
1419
1484
  * @param GetReplicationScheduleRequest
1420
1485
  * @return GetReplicationScheduleResponse
1421
1486
  * @throws OciError when an error occurs
1422
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/GetReplicationSchedule.ts.html |here} to see how to use GetReplicationSchedule API.
1487
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/GetReplicationSchedule.ts.html |here} to see how to use GetReplicationSchedule API.
1423
1488
  */
1424
1489
  getReplicationSchedule(getReplicationScheduleRequest) {
1425
1490
  return __awaiter(this, void 0, void 0, function* () {
1426
- oci_common_1.logger.debug("Calling operation MigrationClient#getReplicationSchedule.");
1491
+ if (this.logger)
1492
+ this.logger.debug("Calling operation MigrationClient#getReplicationSchedule.");
1427
1493
  const operationName = "getReplicationSchedule";
1428
1494
  const apiReferenceLink = "";
1429
1495
  const pathParams = {
@@ -1436,6 +1502,8 @@ class MigrationClient {
1436
1502
  };
1437
1503
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1438
1504
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getReplicationScheduleRequest.retryConfiguration, specRetryConfiguration);
1505
+ if (this.logger)
1506
+ retrier.logger = this.logger;
1439
1507
  const request = yield oci_common_1.composeRequest({
1440
1508
  baseEndpoint: this._endpoint,
1441
1509
  defaultHeaders: this._defaultHeaders,
@@ -1479,11 +1547,12 @@ class MigrationClient {
1479
1547
  * @param GetTargetAssetRequest
1480
1548
  * @return GetTargetAssetResponse
1481
1549
  * @throws OciError when an error occurs
1482
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/GetTargetAsset.ts.html |here} to see how to use GetTargetAsset API.
1550
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/GetTargetAsset.ts.html |here} to see how to use GetTargetAsset API.
1483
1551
  */
1484
1552
  getTargetAsset(getTargetAssetRequest) {
1485
1553
  return __awaiter(this, void 0, void 0, function* () {
1486
- oci_common_1.logger.debug("Calling operation MigrationClient#getTargetAsset.");
1554
+ if (this.logger)
1555
+ this.logger.debug("Calling operation MigrationClient#getTargetAsset.");
1487
1556
  const operationName = "getTargetAsset";
1488
1557
  const apiReferenceLink = "";
1489
1558
  const pathParams = {
@@ -1496,6 +1565,8 @@ class MigrationClient {
1496
1565
  };
1497
1566
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1498
1567
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getTargetAssetRequest.retryConfiguration, specRetryConfiguration);
1568
+ if (this.logger)
1569
+ retrier.logger = this.logger;
1499
1570
  const request = yield oci_common_1.composeRequest({
1500
1571
  baseEndpoint: this._endpoint,
1501
1572
  defaultHeaders: this._defaultHeaders,
@@ -1539,11 +1610,12 @@ class MigrationClient {
1539
1610
  * @param GetWorkRequestRequest
1540
1611
  * @return GetWorkRequestResponse
1541
1612
  * @throws OciError when an error occurs
1542
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1613
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1543
1614
  */
1544
1615
  getWorkRequest(getWorkRequestRequest) {
1545
1616
  return __awaiter(this, void 0, void 0, function* () {
1546
- oci_common_1.logger.debug("Calling operation MigrationClient#getWorkRequest.");
1617
+ if (this.logger)
1618
+ this.logger.debug("Calling operation MigrationClient#getWorkRequest.");
1547
1619
  const operationName = "getWorkRequest";
1548
1620
  const apiReferenceLink = "";
1549
1621
  const pathParams = {
@@ -1556,6 +1628,8 @@ class MigrationClient {
1556
1628
  };
1557
1629
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1558
1630
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
1631
+ if (this.logger)
1632
+ retrier.logger = this.logger;
1559
1633
  const request = yield oci_common_1.composeRequest({
1560
1634
  baseEndpoint: this._endpoint,
1561
1635
  defaultHeaders: this._defaultHeaders,
@@ -1604,11 +1678,12 @@ class MigrationClient {
1604
1678
  * @param ImportMigrationPlanRequest
1605
1679
  * @return ImportMigrationPlanResponse
1606
1680
  * @throws OciError when an error occurs
1607
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/ImportMigrationPlan.ts.html |here} to see how to use ImportMigrationPlan API.
1681
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/ImportMigrationPlan.ts.html |here} to see how to use ImportMigrationPlan API.
1608
1682
  */
1609
1683
  importMigrationPlan(importMigrationPlanRequest) {
1610
1684
  return __awaiter(this, void 0, void 0, function* () {
1611
- oci_common_1.logger.debug("Calling operation MigrationClient#importMigrationPlan.");
1685
+ if (this.logger)
1686
+ this.logger.debug("Calling operation MigrationClient#importMigrationPlan.");
1612
1687
  const operationName = "importMigrationPlan";
1613
1688
  const apiReferenceLink = "";
1614
1689
  const pathParams = {
@@ -1622,6 +1697,8 @@ class MigrationClient {
1622
1697
  };
1623
1698
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1624
1699
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, importMigrationPlanRequest.retryConfiguration, specRetryConfiguration);
1700
+ if (this.logger)
1701
+ retrier.logger = this.logger;
1625
1702
  const request = yield oci_common_1.composeRequest({
1626
1703
  baseEndpoint: this._endpoint,
1627
1704
  defaultHeaders: this._defaultHeaders,
@@ -1663,11 +1740,12 @@ class MigrationClient {
1663
1740
  * @param ListAvailableShapesRequest
1664
1741
  * @return ListAvailableShapesResponse
1665
1742
  * @throws OciError when an error occurs
1666
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/ListAvailableShapes.ts.html |here} to see how to use ListAvailableShapes API.
1743
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/ListAvailableShapes.ts.html |here} to see how to use ListAvailableShapes API.
1667
1744
  */
1668
1745
  listAvailableShapes(listAvailableShapesRequest) {
1669
1746
  return __awaiter(this, void 0, void 0, function* () {
1670
- oci_common_1.logger.debug("Calling operation MigrationClient#listAvailableShapes.");
1747
+ if (this.logger)
1748
+ this.logger.debug("Calling operation MigrationClient#listAvailableShapes.");
1671
1749
  const operationName = "listAvailableShapes";
1672
1750
  const apiReferenceLink = "";
1673
1751
  const pathParams = {
@@ -1689,6 +1767,8 @@ class MigrationClient {
1689
1767
  };
1690
1768
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1691
1769
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAvailableShapesRequest.retryConfiguration, specRetryConfiguration);
1770
+ if (this.logger)
1771
+ retrier.logger = this.logger;
1692
1772
  const request = yield oci_common_1.composeRequest({
1693
1773
  baseEndpoint: this._endpoint,
1694
1774
  defaultHeaders: this._defaultHeaders,
@@ -1733,11 +1813,12 @@ class MigrationClient {
1733
1813
  * @param ListMigrationAssetsRequest
1734
1814
  * @return ListMigrationAssetsResponse
1735
1815
  * @throws OciError when an error occurs
1736
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/ListMigrationAssets.ts.html |here} to see how to use ListMigrationAssets API.
1816
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/ListMigrationAssets.ts.html |here} to see how to use ListMigrationAssets API.
1737
1817
  */
1738
1818
  listMigrationAssets(listMigrationAssetsRequest) {
1739
1819
  return __awaiter(this, void 0, void 0, function* () {
1740
- oci_common_1.logger.debug("Calling operation MigrationClient#listMigrationAssets.");
1820
+ if (this.logger)
1821
+ this.logger.debug("Calling operation MigrationClient#listMigrationAssets.");
1741
1822
  const operationName = "listMigrationAssets";
1742
1823
  const apiReferenceLink = "";
1743
1824
  const pathParams = {};
@@ -1757,6 +1838,8 @@ class MigrationClient {
1757
1838
  };
1758
1839
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1759
1840
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listMigrationAssetsRequest.retryConfiguration, specRetryConfiguration);
1841
+ if (this.logger)
1842
+ retrier.logger = this.logger;
1760
1843
  const request = yield oci_common_1.composeRequest({
1761
1844
  baseEndpoint: this._endpoint,
1762
1845
  defaultHeaders: this._defaultHeaders,
@@ -1801,11 +1884,12 @@ class MigrationClient {
1801
1884
  * @param ListMigrationPlansRequest
1802
1885
  * @return ListMigrationPlansResponse
1803
1886
  * @throws OciError when an error occurs
1804
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/ListMigrationPlans.ts.html |here} to see how to use ListMigrationPlans API.
1887
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/ListMigrationPlans.ts.html |here} to see how to use ListMigrationPlans API.
1805
1888
  */
1806
1889
  listMigrationPlans(listMigrationPlansRequest) {
1807
1890
  return __awaiter(this, void 0, void 0, function* () {
1808
- oci_common_1.logger.debug("Calling operation MigrationClient#listMigrationPlans.");
1891
+ if (this.logger)
1892
+ this.logger.debug("Calling operation MigrationClient#listMigrationPlans.");
1809
1893
  const operationName = "listMigrationPlans";
1810
1894
  const apiReferenceLink = "";
1811
1895
  const pathParams = {};
@@ -1826,6 +1910,8 @@ class MigrationClient {
1826
1910
  };
1827
1911
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1828
1912
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listMigrationPlansRequest.retryConfiguration, specRetryConfiguration);
1913
+ if (this.logger)
1914
+ retrier.logger = this.logger;
1829
1915
  const request = yield oci_common_1.composeRequest({
1830
1916
  baseEndpoint: this._endpoint,
1831
1917
  defaultHeaders: this._defaultHeaders,
@@ -1870,11 +1956,12 @@ class MigrationClient {
1870
1956
  * @param ListMigrationsRequest
1871
1957
  * @return ListMigrationsResponse
1872
1958
  * @throws OciError when an error occurs
1873
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/ListMigrations.ts.html |here} to see how to use ListMigrations API.
1959
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/ListMigrations.ts.html |here} to see how to use ListMigrations API.
1874
1960
  */
1875
1961
  listMigrations(listMigrationsRequest) {
1876
1962
  return __awaiter(this, void 0, void 0, function* () {
1877
- oci_common_1.logger.debug("Calling operation MigrationClient#listMigrations.");
1963
+ if (this.logger)
1964
+ this.logger.debug("Calling operation MigrationClient#listMigrations.");
1878
1965
  const operationName = "listMigrations";
1879
1966
  const apiReferenceLink = "";
1880
1967
  const pathParams = {};
@@ -1894,6 +1981,8 @@ class MigrationClient {
1894
1981
  };
1895
1982
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1896
1983
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listMigrationsRequest.retryConfiguration, specRetryConfiguration);
1984
+ if (this.logger)
1985
+ retrier.logger = this.logger;
1897
1986
  const request = yield oci_common_1.composeRequest({
1898
1987
  baseEndpoint: this._endpoint,
1899
1988
  defaultHeaders: this._defaultHeaders,
@@ -1938,11 +2027,12 @@ class MigrationClient {
1938
2027
  * @param ListReplicationSchedulesRequest
1939
2028
  * @return ListReplicationSchedulesResponse
1940
2029
  * @throws OciError when an error occurs
1941
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/ListReplicationSchedules.ts.html |here} to see how to use ListReplicationSchedules API.
2030
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/ListReplicationSchedules.ts.html |here} to see how to use ListReplicationSchedules API.
1942
2031
  */
1943
2032
  listReplicationSchedules(listReplicationSchedulesRequest) {
1944
2033
  return __awaiter(this, void 0, void 0, function* () {
1945
- oci_common_1.logger.debug("Calling operation MigrationClient#listReplicationSchedules.");
2034
+ if (this.logger)
2035
+ this.logger.debug("Calling operation MigrationClient#listReplicationSchedules.");
1946
2036
  const operationName = "listReplicationSchedules";
1947
2037
  const apiReferenceLink = "";
1948
2038
  const pathParams = {};
@@ -1962,6 +2052,8 @@ class MigrationClient {
1962
2052
  };
1963
2053
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1964
2054
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listReplicationSchedulesRequest.retryConfiguration, specRetryConfiguration);
2055
+ if (this.logger)
2056
+ retrier.logger = this.logger;
1965
2057
  const request = yield oci_common_1.composeRequest({
1966
2058
  baseEndpoint: this._endpoint,
1967
2059
  defaultHeaders: this._defaultHeaders,
@@ -2006,11 +2098,12 @@ class MigrationClient {
2006
2098
  * @param ListTargetAssetsRequest
2007
2099
  * @return ListTargetAssetsResponse
2008
2100
  * @throws OciError when an error occurs
2009
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/ListTargetAssets.ts.html |here} to see how to use ListTargetAssets API.
2101
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/ListTargetAssets.ts.html |here} to see how to use ListTargetAssets API.
2010
2102
  */
2011
2103
  listTargetAssets(listTargetAssetsRequest) {
2012
2104
  return __awaiter(this, void 0, void 0, function* () {
2013
- oci_common_1.logger.debug("Calling operation MigrationClient#listTargetAssets.");
2105
+ if (this.logger)
2106
+ this.logger.debug("Calling operation MigrationClient#listTargetAssets.");
2014
2107
  const operationName = "listTargetAssets";
2015
2108
  const apiReferenceLink = "";
2016
2109
  const pathParams = {};
@@ -2030,6 +2123,8 @@ class MigrationClient {
2030
2123
  };
2031
2124
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2032
2125
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listTargetAssetsRequest.retryConfiguration, specRetryConfiguration);
2126
+ if (this.logger)
2127
+ retrier.logger = this.logger;
2033
2128
  const request = yield oci_common_1.composeRequest({
2034
2129
  baseEndpoint: this._endpoint,
2035
2130
  defaultHeaders: this._defaultHeaders,
@@ -2074,11 +2169,12 @@ class MigrationClient {
2074
2169
  * @param ListWorkRequestErrorsRequest
2075
2170
  * @return ListWorkRequestErrorsResponse
2076
2171
  * @throws OciError when an error occurs
2077
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
2172
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
2078
2173
  */
2079
2174
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
2080
2175
  return __awaiter(this, void 0, void 0, function* () {
2081
- oci_common_1.logger.debug("Calling operation MigrationClient#listWorkRequestErrors.");
2176
+ if (this.logger)
2177
+ this.logger.debug("Calling operation MigrationClient#listWorkRequestErrors.");
2082
2178
  const operationName = "listWorkRequestErrors";
2083
2179
  const apiReferenceLink = "";
2084
2180
  const pathParams = {
@@ -2096,6 +2192,8 @@ class MigrationClient {
2096
2192
  };
2097
2193
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2098
2194
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
2195
+ if (this.logger)
2196
+ retrier.logger = this.logger;
2099
2197
  const request = yield oci_common_1.composeRequest({
2100
2198
  baseEndpoint: this._endpoint,
2101
2199
  defaultHeaders: this._defaultHeaders,
@@ -2140,11 +2238,12 @@ class MigrationClient {
2140
2238
  * @param ListWorkRequestLogsRequest
2141
2239
  * @return ListWorkRequestLogsResponse
2142
2240
  * @throws OciError when an error occurs
2143
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
2241
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
2144
2242
  */
2145
2243
  listWorkRequestLogs(listWorkRequestLogsRequest) {
2146
2244
  return __awaiter(this, void 0, void 0, function* () {
2147
- oci_common_1.logger.debug("Calling operation MigrationClient#listWorkRequestLogs.");
2245
+ if (this.logger)
2246
+ this.logger.debug("Calling operation MigrationClient#listWorkRequestLogs.");
2148
2247
  const operationName = "listWorkRequestLogs";
2149
2248
  const apiReferenceLink = "";
2150
2249
  const pathParams = {
@@ -2162,6 +2261,8 @@ class MigrationClient {
2162
2261
  };
2163
2262
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2164
2263
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
2264
+ if (this.logger)
2265
+ retrier.logger = this.logger;
2165
2266
  const request = yield oci_common_1.composeRequest({
2166
2267
  baseEndpoint: this._endpoint,
2167
2268
  defaultHeaders: this._defaultHeaders,
@@ -2206,11 +2307,12 @@ class MigrationClient {
2206
2307
  * @param ListWorkRequestsRequest
2207
2308
  * @return ListWorkRequestsResponse
2208
2309
  * @throws OciError when an error occurs
2209
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
2310
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
2210
2311
  */
2211
2312
  listWorkRequests(listWorkRequestsRequest) {
2212
2313
  return __awaiter(this, void 0, void 0, function* () {
2213
- oci_common_1.logger.debug("Calling operation MigrationClient#listWorkRequests.");
2314
+ if (this.logger)
2315
+ this.logger.debug("Calling operation MigrationClient#listWorkRequests.");
2214
2316
  const operationName = "listWorkRequests";
2215
2317
  const apiReferenceLink = "";
2216
2318
  const pathParams = {};
@@ -2231,6 +2333,8 @@ class MigrationClient {
2231
2333
  };
2232
2334
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2233
2335
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
2336
+ if (this.logger)
2337
+ retrier.logger = this.logger;
2234
2338
  const request = yield oci_common_1.composeRequest({
2235
2339
  baseEndpoint: this._endpoint,
2236
2340
  defaultHeaders: this._defaultHeaders,
@@ -2275,11 +2379,12 @@ class MigrationClient {
2275
2379
  * @param RefreshMigrationRequest
2276
2380
  * @return RefreshMigrationResponse
2277
2381
  * @throws OciError when an error occurs
2278
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/RefreshMigration.ts.html |here} to see how to use RefreshMigration API.
2382
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/RefreshMigration.ts.html |here} to see how to use RefreshMigration API.
2279
2383
  */
2280
2384
  refreshMigration(refreshMigrationRequest) {
2281
2385
  return __awaiter(this, void 0, void 0, function* () {
2282
- oci_common_1.logger.debug("Calling operation MigrationClient#refreshMigration.");
2386
+ if (this.logger)
2387
+ this.logger.debug("Calling operation MigrationClient#refreshMigration.");
2283
2388
  const operationName = "refreshMigration";
2284
2389
  const apiReferenceLink = "";
2285
2390
  const pathParams = {
@@ -2294,6 +2399,8 @@ class MigrationClient {
2294
2399
  };
2295
2400
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2296
2401
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, refreshMigrationRequest.retryConfiguration, specRetryConfiguration);
2402
+ if (this.logger)
2403
+ retrier.logger = this.logger;
2297
2404
  const request = yield oci_common_1.composeRequest({
2298
2405
  baseEndpoint: this._endpoint,
2299
2406
  defaultHeaders: this._defaultHeaders,
@@ -2334,11 +2441,12 @@ class MigrationClient {
2334
2441
  * @param RefreshMigrationAssetRequest
2335
2442
  * @return RefreshMigrationAssetResponse
2336
2443
  * @throws OciError when an error occurs
2337
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/RefreshMigrationAsset.ts.html |here} to see how to use RefreshMigrationAsset API.
2444
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/RefreshMigrationAsset.ts.html |here} to see how to use RefreshMigrationAsset API.
2338
2445
  */
2339
2446
  refreshMigrationAsset(refreshMigrationAssetRequest) {
2340
2447
  return __awaiter(this, void 0, void 0, function* () {
2341
- oci_common_1.logger.debug("Calling operation MigrationClient#refreshMigrationAsset.");
2448
+ if (this.logger)
2449
+ this.logger.debug("Calling operation MigrationClient#refreshMigrationAsset.");
2342
2450
  const operationName = "refreshMigrationAsset";
2343
2451
  const apiReferenceLink = "";
2344
2452
  const pathParams = {
@@ -2353,6 +2461,8 @@ class MigrationClient {
2353
2461
  };
2354
2462
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2355
2463
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, refreshMigrationAssetRequest.retryConfiguration, specRetryConfiguration);
2464
+ if (this.logger)
2465
+ retrier.logger = this.logger;
2356
2466
  const request = yield oci_common_1.composeRequest({
2357
2467
  baseEndpoint: this._endpoint,
2358
2468
  defaultHeaders: this._defaultHeaders,
@@ -2393,11 +2503,12 @@ class MigrationClient {
2393
2503
  * @param RefreshMigrationPlanRequest
2394
2504
  * @return RefreshMigrationPlanResponse
2395
2505
  * @throws OciError when an error occurs
2396
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/RefreshMigrationPlan.ts.html |here} to see how to use RefreshMigrationPlan API.
2506
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/RefreshMigrationPlan.ts.html |here} to see how to use RefreshMigrationPlan API.
2397
2507
  */
2398
2508
  refreshMigrationPlan(refreshMigrationPlanRequest) {
2399
2509
  return __awaiter(this, void 0, void 0, function* () {
2400
- oci_common_1.logger.debug("Calling operation MigrationClient#refreshMigrationPlan.");
2510
+ if (this.logger)
2511
+ this.logger.debug("Calling operation MigrationClient#refreshMigrationPlan.");
2401
2512
  const operationName = "refreshMigrationPlan";
2402
2513
  const apiReferenceLink = "";
2403
2514
  const pathParams = {
@@ -2412,6 +2523,8 @@ class MigrationClient {
2412
2523
  };
2413
2524
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2414
2525
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, refreshMigrationPlanRequest.retryConfiguration, specRetryConfiguration);
2526
+ if (this.logger)
2527
+ retrier.logger = this.logger;
2415
2528
  const request = yield oci_common_1.composeRequest({
2416
2529
  baseEndpoint: this._endpoint,
2417
2530
  defaultHeaders: this._defaultHeaders,
@@ -2452,11 +2565,12 @@ class MigrationClient {
2452
2565
  * @param StartAssetReplicationRequest
2453
2566
  * @return StartAssetReplicationResponse
2454
2567
  * @throws OciError when an error occurs
2455
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/StartAssetReplication.ts.html |here} to see how to use StartAssetReplication API.
2568
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/StartAssetReplication.ts.html |here} to see how to use StartAssetReplication API.
2456
2569
  */
2457
2570
  startAssetReplication(startAssetReplicationRequest) {
2458
2571
  return __awaiter(this, void 0, void 0, function* () {
2459
- oci_common_1.logger.debug("Calling operation MigrationClient#startAssetReplication.");
2572
+ if (this.logger)
2573
+ this.logger.debug("Calling operation MigrationClient#startAssetReplication.");
2460
2574
  const operationName = "startAssetReplication";
2461
2575
  const apiReferenceLink = "";
2462
2576
  const pathParams = {
@@ -2471,6 +2585,8 @@ class MigrationClient {
2471
2585
  };
2472
2586
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2473
2587
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, startAssetReplicationRequest.retryConfiguration, specRetryConfiguration);
2588
+ if (this.logger)
2589
+ retrier.logger = this.logger;
2474
2590
  const request = yield oci_common_1.composeRequest({
2475
2591
  baseEndpoint: this._endpoint,
2476
2592
  defaultHeaders: this._defaultHeaders,
@@ -2511,11 +2627,12 @@ class MigrationClient {
2511
2627
  * @param StartMigrationReplicationRequest
2512
2628
  * @return StartMigrationReplicationResponse
2513
2629
  * @throws OciError when an error occurs
2514
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/StartMigrationReplication.ts.html |here} to see how to use StartMigrationReplication API.
2630
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/StartMigrationReplication.ts.html |here} to see how to use StartMigrationReplication API.
2515
2631
  */
2516
2632
  startMigrationReplication(startMigrationReplicationRequest) {
2517
2633
  return __awaiter(this, void 0, void 0, function* () {
2518
- oci_common_1.logger.debug("Calling operation MigrationClient#startMigrationReplication.");
2634
+ if (this.logger)
2635
+ this.logger.debug("Calling operation MigrationClient#startMigrationReplication.");
2519
2636
  const operationName = "startMigrationReplication";
2520
2637
  const apiReferenceLink = "";
2521
2638
  const pathParams = {
@@ -2530,6 +2647,8 @@ class MigrationClient {
2530
2647
  };
2531
2648
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2532
2649
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, startMigrationReplicationRequest.retryConfiguration, specRetryConfiguration);
2650
+ if (this.logger)
2651
+ retrier.logger = this.logger;
2533
2652
  const request = yield oci_common_1.composeRequest({
2534
2653
  baseEndpoint: this._endpoint,
2535
2654
  defaultHeaders: this._defaultHeaders,
@@ -2569,11 +2688,12 @@ class MigrationClient {
2569
2688
  * @param UpdateMigrationRequest
2570
2689
  * @return UpdateMigrationResponse
2571
2690
  * @throws OciError when an error occurs
2572
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/UpdateMigration.ts.html |here} to see how to use UpdateMigration API.
2691
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/UpdateMigration.ts.html |here} to see how to use UpdateMigration API.
2573
2692
  */
2574
2693
  updateMigration(updateMigrationRequest) {
2575
2694
  return __awaiter(this, void 0, void 0, function* () {
2576
- oci_common_1.logger.debug("Calling operation MigrationClient#updateMigration.");
2695
+ if (this.logger)
2696
+ this.logger.debug("Calling operation MigrationClient#updateMigration.");
2577
2697
  const operationName = "updateMigration";
2578
2698
  const apiReferenceLink = "";
2579
2699
  const pathParams = {
@@ -2587,6 +2707,8 @@ class MigrationClient {
2587
2707
  };
2588
2708
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2589
2709
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateMigrationRequest.retryConfiguration, specRetryConfiguration);
2710
+ if (this.logger)
2711
+ retrier.logger = this.logger;
2590
2712
  const request = yield oci_common_1.composeRequest({
2591
2713
  baseEndpoint: this._endpoint,
2592
2714
  defaultHeaders: this._defaultHeaders,
@@ -2631,11 +2753,12 @@ class MigrationClient {
2631
2753
  * @param UpdateMigrationAssetRequest
2632
2754
  * @return UpdateMigrationAssetResponse
2633
2755
  * @throws OciError when an error occurs
2634
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/UpdateMigrationAsset.ts.html |here} to see how to use UpdateMigrationAsset API.
2756
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/UpdateMigrationAsset.ts.html |here} to see how to use UpdateMigrationAsset API.
2635
2757
  */
2636
2758
  updateMigrationAsset(updateMigrationAssetRequest) {
2637
2759
  return __awaiter(this, void 0, void 0, function* () {
2638
- oci_common_1.logger.debug("Calling operation MigrationClient#updateMigrationAsset.");
2760
+ if (this.logger)
2761
+ this.logger.debug("Calling operation MigrationClient#updateMigrationAsset.");
2639
2762
  const operationName = "updateMigrationAsset";
2640
2763
  const apiReferenceLink = "";
2641
2764
  const pathParams = {
@@ -2649,6 +2772,8 @@ class MigrationClient {
2649
2772
  };
2650
2773
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2651
2774
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateMigrationAssetRequest.retryConfiguration, specRetryConfiguration);
2775
+ if (this.logger)
2776
+ retrier.logger = this.logger;
2652
2777
  const request = yield oci_common_1.composeRequest({
2653
2778
  baseEndpoint: this._endpoint,
2654
2779
  defaultHeaders: this._defaultHeaders,
@@ -2693,11 +2818,12 @@ class MigrationClient {
2693
2818
  * @param UpdateMigrationPlanRequest
2694
2819
  * @return UpdateMigrationPlanResponse
2695
2820
  * @throws OciError when an error occurs
2696
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/UpdateMigrationPlan.ts.html |here} to see how to use UpdateMigrationPlan API.
2821
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/UpdateMigrationPlan.ts.html |here} to see how to use UpdateMigrationPlan API.
2697
2822
  */
2698
2823
  updateMigrationPlan(updateMigrationPlanRequest) {
2699
2824
  return __awaiter(this, void 0, void 0, function* () {
2700
- oci_common_1.logger.debug("Calling operation MigrationClient#updateMigrationPlan.");
2825
+ if (this.logger)
2826
+ this.logger.debug("Calling operation MigrationClient#updateMigrationPlan.");
2701
2827
  const operationName = "updateMigrationPlan";
2702
2828
  const apiReferenceLink = "";
2703
2829
  const pathParams = {
@@ -2712,6 +2838,8 @@ class MigrationClient {
2712
2838
  };
2713
2839
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2714
2840
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateMigrationPlanRequest.retryConfiguration, specRetryConfiguration);
2841
+ if (this.logger)
2842
+ retrier.logger = this.logger;
2715
2843
  const request = yield oci_common_1.composeRequest({
2716
2844
  baseEndpoint: this._endpoint,
2717
2845
  defaultHeaders: this._defaultHeaders,
@@ -2752,11 +2880,12 @@ class MigrationClient {
2752
2880
  * @param UpdateReplicationScheduleRequest
2753
2881
  * @return UpdateReplicationScheduleResponse
2754
2882
  * @throws OciError when an error occurs
2755
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/UpdateReplicationSchedule.ts.html |here} to see how to use UpdateReplicationSchedule API.
2883
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/UpdateReplicationSchedule.ts.html |here} to see how to use UpdateReplicationSchedule API.
2756
2884
  */
2757
2885
  updateReplicationSchedule(updateReplicationScheduleRequest) {
2758
2886
  return __awaiter(this, void 0, void 0, function* () {
2759
- oci_common_1.logger.debug("Calling operation MigrationClient#updateReplicationSchedule.");
2887
+ if (this.logger)
2888
+ this.logger.debug("Calling operation MigrationClient#updateReplicationSchedule.");
2760
2889
  const operationName = "updateReplicationSchedule";
2761
2890
  const apiReferenceLink = "";
2762
2891
  const pathParams = {
@@ -2771,6 +2900,8 @@ class MigrationClient {
2771
2900
  };
2772
2901
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2773
2902
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateReplicationScheduleRequest.retryConfiguration, specRetryConfiguration);
2903
+ if (this.logger)
2904
+ retrier.logger = this.logger;
2774
2905
  const request = yield oci_common_1.composeRequest({
2775
2906
  baseEndpoint: this._endpoint,
2776
2907
  defaultHeaders: this._defaultHeaders,
@@ -2811,11 +2942,12 @@ class MigrationClient {
2811
2942
  * @param UpdateTargetAssetRequest
2812
2943
  * @return UpdateTargetAssetResponse
2813
2944
  * @throws OciError when an error occurs
2814
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/cloudmigrations/UpdateTargetAsset.ts.html |here} to see how to use UpdateTargetAsset API.
2945
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/cloudmigrations/UpdateTargetAsset.ts.html |here} to see how to use UpdateTargetAsset API.
2815
2946
  */
2816
2947
  updateTargetAsset(updateTargetAssetRequest) {
2817
2948
  return __awaiter(this, void 0, void 0, function* () {
2818
- oci_common_1.logger.debug("Calling operation MigrationClient#updateTargetAsset.");
2949
+ if (this.logger)
2950
+ this.logger.debug("Calling operation MigrationClient#updateTargetAsset.");
2819
2951
  const operationName = "updateTargetAsset";
2820
2952
  const apiReferenceLink = "";
2821
2953
  const pathParams = {
@@ -2830,6 +2962,8 @@ class MigrationClient {
2830
2962
  };
2831
2963
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2832
2964
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateTargetAssetRequest.retryConfiguration, specRetryConfiguration);
2965
+ if (this.logger)
2966
+ retrier.logger = this.logger;
2833
2967
  const request = yield oci_common_1.composeRequest({
2834
2968
  baseEndpoint: this._endpoint,
2835
2969
  defaultHeaders: this._defaultHeaders,