oci-cloudmigrations 2.78.0 → 2.79.1

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