oci-filestorage 2.116.1 → 2.117.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.
package/lib/client.js CHANGED
@@ -233,12 +233,14 @@ class FileStorageClient {
233
233
  "if-match": addExportLockRequest.ifMatch,
234
234
  "opc-request-id": addExportLockRequest.opcRequestId
235
235
  };
236
+ const requiredParams = new Set(["exportId"]);
237
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
236
238
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
237
239
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addExportLockRequest.retryConfiguration, specRetryConfiguration);
238
240
  if (this.logger)
239
241
  retrier.logger = this.logger;
240
242
  const request = yield oci_common_2.composeRequest({
241
- baseEndpoint: this._endpoint,
243
+ baseEndpoint: endpoint,
242
244
  defaultHeaders: this._defaultHeaders,
243
245
  path: "/exports/{exportId}/actions/addLock",
244
246
  method: "POST",
@@ -298,12 +300,14 @@ class FileStorageClient {
298
300
  "if-match": addFileSystemLockRequest.ifMatch,
299
301
  "opc-request-id": addFileSystemLockRequest.opcRequestId
300
302
  };
303
+ const requiredParams = new Set(["fileSystemId"]);
304
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
301
305
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
302
306
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addFileSystemLockRequest.retryConfiguration, specRetryConfiguration);
303
307
  if (this.logger)
304
308
  retrier.logger = this.logger;
305
309
  const request = yield oci_common_2.composeRequest({
306
- baseEndpoint: this._endpoint,
310
+ baseEndpoint: endpoint,
307
311
  defaultHeaders: this._defaultHeaders,
308
312
  path: "/fileSystems/{fileSystemId}/actions/addLock",
309
313
  method: "POST",
@@ -363,12 +367,14 @@ class FileStorageClient {
363
367
  "if-match": addFilesystemSnapshotPolicyLockRequest.ifMatch,
364
368
  "opc-request-id": addFilesystemSnapshotPolicyLockRequest.opcRequestId
365
369
  };
370
+ const requiredParams = new Set(["filesystemSnapshotPolicyId"]);
371
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
366
372
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
367
373
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addFilesystemSnapshotPolicyLockRequest.retryConfiguration, specRetryConfiguration);
368
374
  if (this.logger)
369
375
  retrier.logger = this.logger;
370
376
  const request = yield oci_common_2.composeRequest({
371
- baseEndpoint: this._endpoint,
377
+ baseEndpoint: endpoint,
372
378
  defaultHeaders: this._defaultHeaders,
373
379
  path: "/filesystemSnapshotPolicies/{filesystemSnapshotPolicyId}/actions/addLock",
374
380
  method: "POST",
@@ -428,12 +434,14 @@ class FileStorageClient {
428
434
  "if-match": addMountTargetLockRequest.ifMatch,
429
435
  "opc-request-id": addMountTargetLockRequest.opcRequestId
430
436
  };
437
+ const requiredParams = new Set(["mountTargetId"]);
438
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
431
439
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
432
440
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addMountTargetLockRequest.retryConfiguration, specRetryConfiguration);
433
441
  if (this.logger)
434
442
  retrier.logger = this.logger;
435
443
  const request = yield oci_common_2.composeRequest({
436
- baseEndpoint: this._endpoint,
444
+ baseEndpoint: endpoint,
437
445
  defaultHeaders: this._defaultHeaders,
438
446
  path: "/mountTargets/{mountTargetId}/actions/addLock",
439
447
  method: "POST",
@@ -493,12 +501,14 @@ class FileStorageClient {
493
501
  "if-match": addOutboundConnectorLockRequest.ifMatch,
494
502
  "opc-request-id": addOutboundConnectorLockRequest.opcRequestId
495
503
  };
504
+ const requiredParams = new Set(["outboundConnectorId"]);
505
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
496
506
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
497
507
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addOutboundConnectorLockRequest.retryConfiguration, specRetryConfiguration);
498
508
  if (this.logger)
499
509
  retrier.logger = this.logger;
500
510
  const request = yield oci_common_2.composeRequest({
501
- baseEndpoint: this._endpoint,
511
+ baseEndpoint: endpoint,
502
512
  defaultHeaders: this._defaultHeaders,
503
513
  path: "/outboundConnectors/{outboundConnectorId}/actions/addLock",
504
514
  method: "POST",
@@ -558,12 +568,14 @@ class FileStorageClient {
558
568
  "if-match": addReplicationLockRequest.ifMatch,
559
569
  "opc-request-id": addReplicationLockRequest.opcRequestId
560
570
  };
571
+ const requiredParams = new Set(["replicationId"]);
572
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
561
573
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
562
574
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addReplicationLockRequest.retryConfiguration, specRetryConfiguration);
563
575
  if (this.logger)
564
576
  retrier.logger = this.logger;
565
577
  const request = yield oci_common_2.composeRequest({
566
- baseEndpoint: this._endpoint,
578
+ baseEndpoint: endpoint,
567
579
  defaultHeaders: this._defaultHeaders,
568
580
  path: "/replications/{replicationId}/actions/addLock",
569
581
  method: "POST",
@@ -623,12 +635,14 @@ class FileStorageClient {
623
635
  "if-match": addSnapshotLockRequest.ifMatch,
624
636
  "opc-request-id": addSnapshotLockRequest.opcRequestId
625
637
  };
638
+ const requiredParams = new Set(["snapshotId"]);
639
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
626
640
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
627
641
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addSnapshotLockRequest.retryConfiguration, specRetryConfiguration);
628
642
  if (this.logger)
629
643
  retrier.logger = this.logger;
630
644
  const request = yield oci_common_2.composeRequest({
631
- baseEndpoint: this._endpoint,
645
+ baseEndpoint: endpoint,
632
646
  defaultHeaders: this._defaultHeaders,
633
647
  path: "/snapshots/{snapshotId}/actions/addLock",
634
648
  method: "POST",
@@ -689,12 +703,14 @@ class FileStorageClient {
689
703
  "if-match": cancelDowngradeShapeMountTargetRequest.ifMatch,
690
704
  "opc-request-id": cancelDowngradeShapeMountTargetRequest.opcRequestId
691
705
  };
706
+ const requiredParams = new Set(["mountTargetId"]);
707
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
692
708
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
693
709
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelDowngradeShapeMountTargetRequest.retryConfiguration, specRetryConfiguration);
694
710
  if (this.logger)
695
711
  retrier.logger = this.logger;
696
712
  const request = yield oci_common_2.composeRequest({
697
- baseEndpoint: this._endpoint,
713
+ baseEndpoint: endpoint,
698
714
  defaultHeaders: this._defaultHeaders,
699
715
  path: "/mountTargets/{mountTargetId}/actions/cancelShapeDowngrade",
700
716
  method: "POST",
@@ -756,12 +772,14 @@ class FileStorageClient {
756
772
  "if-match": changeFileSystemCompartmentRequest.ifMatch,
757
773
  "opc-request-id": changeFileSystemCompartmentRequest.opcRequestId
758
774
  };
775
+ const requiredParams = new Set(["fileSystemId"]);
776
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
759
777
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
760
778
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeFileSystemCompartmentRequest.retryConfiguration, specRetryConfiguration);
761
779
  if (this.logger)
762
780
  retrier.logger = this.logger;
763
781
  const request = yield oci_common_2.composeRequest({
764
- baseEndpoint: this._endpoint,
782
+ baseEndpoint: endpoint,
765
783
  defaultHeaders: this._defaultHeaders,
766
784
  path: "/fileSystems/{fileSystemId}/actions/changeCompartment",
767
785
  method: "POST",
@@ -815,12 +833,14 @@ class FileStorageClient {
815
833
  "if-match": changeFilesystemSnapshotPolicyCompartmentRequest.ifMatch,
816
834
  "opc-request-id": changeFilesystemSnapshotPolicyCompartmentRequest.opcRequestId
817
835
  };
836
+ const requiredParams = new Set(["filesystemSnapshotPolicyId"]);
837
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
818
838
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
819
839
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeFilesystemSnapshotPolicyCompartmentRequest.retryConfiguration, specRetryConfiguration);
820
840
  if (this.logger)
821
841
  retrier.logger = this.logger;
822
842
  const request = yield oci_common_2.composeRequest({
823
- baseEndpoint: this._endpoint,
843
+ baseEndpoint: endpoint,
824
844
  defaultHeaders: this._defaultHeaders,
825
845
  path: "/filesystemSnapshotPolicies/{filesystemSnapshotPolicyId}/actions/changeCompartment",
826
846
  method: "POST",
@@ -874,12 +894,14 @@ class FileStorageClient {
874
894
  "if-match": changeMountTargetCompartmentRequest.ifMatch,
875
895
  "opc-request-id": changeMountTargetCompartmentRequest.opcRequestId
876
896
  };
897
+ const requiredParams = new Set(["mountTargetId"]);
898
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
877
899
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
878
900
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeMountTargetCompartmentRequest.retryConfiguration, specRetryConfiguration);
879
901
  if (this.logger)
880
902
  retrier.logger = this.logger;
881
903
  const request = yield oci_common_2.composeRequest({
882
- baseEndpoint: this._endpoint,
904
+ baseEndpoint: endpoint,
883
905
  defaultHeaders: this._defaultHeaders,
884
906
  path: "/mountTargets/{mountTargetId}/actions/changeCompartment",
885
907
  method: "POST",
@@ -935,12 +957,14 @@ class FileStorageClient {
935
957
  "if-match": changeOutboundConnectorCompartmentRequest.ifMatch,
936
958
  "opc-request-id": changeOutboundConnectorCompartmentRequest.opcRequestId
937
959
  };
960
+ const requiredParams = new Set(["outboundConnectorId"]);
961
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
938
962
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
939
963
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeOutboundConnectorCompartmentRequest.retryConfiguration, specRetryConfiguration);
940
964
  if (this.logger)
941
965
  retrier.logger = this.logger;
942
966
  const request = yield oci_common_2.composeRequest({
943
- baseEndpoint: this._endpoint,
967
+ baseEndpoint: endpoint,
944
968
  defaultHeaders: this._defaultHeaders,
945
969
  path: "/outboundConnectors/{outboundConnectorId}/actions/changeCompartment",
946
970
  method: "POST",
@@ -995,12 +1019,14 @@ class FileStorageClient {
995
1019
  "if-match": changeReplicationCompartmentRequest.ifMatch,
996
1020
  "opc-request-id": changeReplicationCompartmentRequest.opcRequestId
997
1021
  };
1022
+ const requiredParams = new Set(["replicationId"]);
1023
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
998
1024
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
999
1025
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeReplicationCompartmentRequest.retryConfiguration, specRetryConfiguration);
1000
1026
  if (this.logger)
1001
1027
  retrier.logger = this.logger;
1002
1028
  const request = yield oci_common_2.composeRequest({
1003
- baseEndpoint: this._endpoint,
1029
+ baseEndpoint: endpoint,
1004
1030
  defaultHeaders: this._defaultHeaders,
1005
1031
  path: "/replications/{replicationId}/actions/changeCompartment",
1006
1032
  method: "POST",
@@ -1051,12 +1077,14 @@ class FileStorageClient {
1051
1077
  "opc-retry-token": createExportRequest.opcRetryToken,
1052
1078
  "opc-request-id": createExportRequest.opcRequestId
1053
1079
  };
1080
+ const requiredParams = new Set([]);
1081
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
1054
1082
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1055
1083
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createExportRequest.retryConfiguration, specRetryConfiguration);
1056
1084
  if (this.logger)
1057
1085
  retrier.logger = this.logger;
1058
1086
  const request = yield oci_common_2.composeRequest({
1059
- baseEndpoint: this._endpoint,
1087
+ baseEndpoint: endpoint,
1060
1088
  defaultHeaders: this._defaultHeaders,
1061
1089
  path: "/exports",
1062
1090
  method: "POST",
@@ -1143,12 +1171,14 @@ class FileStorageClient {
1143
1171
  "opc-retry-token": createFileSystemRequest.opcRetryToken,
1144
1172
  "opc-request-id": createFileSystemRequest.opcRequestId
1145
1173
  };
1174
+ const requiredParams = new Set([]);
1175
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
1146
1176
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1147
1177
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createFileSystemRequest.retryConfiguration, specRetryConfiguration);
1148
1178
  if (this.logger)
1149
1179
  retrier.logger = this.logger;
1150
1180
  const request = yield oci_common_2.composeRequest({
1151
- baseEndpoint: this._endpoint,
1181
+ baseEndpoint: endpoint,
1152
1182
  defaultHeaders: this._defaultHeaders,
1153
1183
  path: "/fileSystems",
1154
1184
  method: "POST",
@@ -1211,12 +1241,14 @@ class FileStorageClient {
1211
1241
  "opc-retry-token": createFilesystemSnapshotPolicyRequest.opcRetryToken,
1212
1242
  "opc-request-id": createFilesystemSnapshotPolicyRequest.opcRequestId
1213
1243
  };
1244
+ const requiredParams = new Set([]);
1245
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
1214
1246
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1215
1247
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createFilesystemSnapshotPolicyRequest.retryConfiguration, specRetryConfiguration);
1216
1248
  if (this.logger)
1217
1249
  retrier.logger = this.logger;
1218
1250
  const request = yield oci_common_2.composeRequest({
1219
- baseEndpoint: this._endpoint,
1251
+ baseEndpoint: endpoint,
1220
1252
  defaultHeaders: this._defaultHeaders,
1221
1253
  path: "/filesystemSnapshotPolicies",
1222
1254
  method: "POST",
@@ -1308,12 +1340,14 @@ class FileStorageClient {
1308
1340
  "opc-retry-token": createMountTargetRequest.opcRetryToken,
1309
1341
  "opc-request-id": createMountTargetRequest.opcRequestId
1310
1342
  };
1343
+ const requiredParams = new Set([]);
1344
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
1311
1345
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1312
1346
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createMountTargetRequest.retryConfiguration, specRetryConfiguration);
1313
1347
  if (this.logger)
1314
1348
  retrier.logger = this.logger;
1315
1349
  const request = yield oci_common_2.composeRequest({
1316
- baseEndpoint: this._endpoint,
1350
+ baseEndpoint: endpoint,
1317
1351
  defaultHeaders: this._defaultHeaders,
1318
1352
  path: "/mountTargets",
1319
1353
  method: "POST",
@@ -1391,12 +1425,14 @@ class FileStorageClient {
1391
1425
  "opc-retry-token": createOutboundConnectorRequest.opcRetryToken,
1392
1426
  "opc-request-id": createOutboundConnectorRequest.opcRequestId
1393
1427
  };
1428
+ const requiredParams = new Set([]);
1429
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
1394
1430
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1395
1431
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOutboundConnectorRequest.retryConfiguration, specRetryConfiguration);
1396
1432
  if (this.logger)
1397
1433
  retrier.logger = this.logger;
1398
1434
  const request = yield oci_common_2.composeRequest({
1399
- baseEndpoint: this._endpoint,
1435
+ baseEndpoint: endpoint,
1400
1436
  defaultHeaders: this._defaultHeaders,
1401
1437
  path: "/outboundConnectors",
1402
1438
  method: "POST",
@@ -1459,12 +1495,14 @@ class FileStorageClient {
1459
1495
  "opc-request-id": createQuotaRuleRequest.opcRequestId,
1460
1496
  "opc-retry-token": createQuotaRuleRequest.opcRetryToken
1461
1497
  };
1498
+ const requiredParams = new Set(["fileSystemId"]);
1499
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
1462
1500
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1463
1501
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createQuotaRuleRequest.retryConfiguration, specRetryConfiguration);
1464
1502
  if (this.logger)
1465
1503
  retrier.logger = this.logger;
1466
1504
  const request = yield oci_common_2.composeRequest({
1467
- baseEndpoint: this._endpoint,
1505
+ baseEndpoint: endpoint,
1468
1506
  defaultHeaders: this._defaultHeaders,
1469
1507
  path: "/fileSystems/{fileSystemId}/quotaRules",
1470
1508
  method: "POST",
@@ -1549,12 +1587,14 @@ class FileStorageClient {
1549
1587
  "opc-retry-token": createReplicationRequest.opcRetryToken,
1550
1588
  "opc-request-id": createReplicationRequest.opcRequestId
1551
1589
  };
1590
+ const requiredParams = new Set([]);
1591
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
1552
1592
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1553
1593
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createReplicationRequest.retryConfiguration, specRetryConfiguration);
1554
1594
  if (this.logger)
1555
1595
  retrier.logger = this.logger;
1556
1596
  const request = yield oci_common_2.composeRequest({
1557
- baseEndpoint: this._endpoint,
1597
+ baseEndpoint: endpoint,
1558
1598
  defaultHeaders: this._defaultHeaders,
1559
1599
  path: "/replications",
1560
1600
  method: "POST",
@@ -1614,12 +1654,14 @@ class FileStorageClient {
1614
1654
  "opc-retry-token": createSnapshotRequest.opcRetryToken,
1615
1655
  "opc-request-id": createSnapshotRequest.opcRequestId
1616
1656
  };
1657
+ const requiredParams = new Set([]);
1658
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
1617
1659
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1618
1660
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createSnapshotRequest.retryConfiguration, specRetryConfiguration);
1619
1661
  if (this.logger)
1620
1662
  retrier.logger = this.logger;
1621
1663
  const request = yield oci_common_2.composeRequest({
1622
- baseEndpoint: this._endpoint,
1664
+ baseEndpoint: endpoint,
1623
1665
  defaultHeaders: this._defaultHeaders,
1624
1666
  path: "/snapshots",
1625
1667
  method: "POST",
@@ -1682,12 +1724,14 @@ class FileStorageClient {
1682
1724
  "if-match": deleteExportRequest.ifMatch,
1683
1725
  "opc-request-id": deleteExportRequest.opcRequestId
1684
1726
  };
1727
+ const requiredParams = new Set(["exportId"]);
1728
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
1685
1729
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1686
1730
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteExportRequest.retryConfiguration, specRetryConfiguration);
1687
1731
  if (this.logger)
1688
1732
  retrier.logger = this.logger;
1689
1733
  const request = yield oci_common_2.composeRequest({
1690
- baseEndpoint: this._endpoint,
1734
+ baseEndpoint: endpoint,
1691
1735
  defaultHeaders: this._defaultHeaders,
1692
1736
  path: "/exports/{exportId}",
1693
1737
  method: "DELETE",
@@ -1743,12 +1787,14 @@ class FileStorageClient {
1743
1787
  "if-match": deleteFileSystemRequest.ifMatch,
1744
1788
  "opc-request-id": deleteFileSystemRequest.opcRequestId
1745
1789
  };
1790
+ const requiredParams = new Set(["fileSystemId"]);
1791
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
1746
1792
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1747
1793
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteFileSystemRequest.retryConfiguration, specRetryConfiguration);
1748
1794
  if (this.logger)
1749
1795
  retrier.logger = this.logger;
1750
1796
  const request = yield oci_common_2.composeRequest({
1751
- baseEndpoint: this._endpoint,
1797
+ baseEndpoint: endpoint,
1752
1798
  defaultHeaders: this._defaultHeaders,
1753
1799
  path: "/fileSystems/{fileSystemId}",
1754
1800
  method: "DELETE",
@@ -1801,12 +1847,14 @@ class FileStorageClient {
1801
1847
  "if-match": deleteFilesystemSnapshotPolicyRequest.ifMatch,
1802
1848
  "opc-request-id": deleteFilesystemSnapshotPolicyRequest.opcRequestId
1803
1849
  };
1850
+ const requiredParams = new Set(["filesystemSnapshotPolicyId"]);
1851
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
1804
1852
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1805
1853
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteFilesystemSnapshotPolicyRequest.retryConfiguration, specRetryConfiguration);
1806
1854
  if (this.logger)
1807
1855
  retrier.logger = this.logger;
1808
1856
  const request = yield oci_common_2.composeRequest({
1809
- baseEndpoint: this._endpoint,
1857
+ baseEndpoint: endpoint,
1810
1858
  defaultHeaders: this._defaultHeaders,
1811
1859
  path: "/filesystemSnapshotPolicies/{filesystemSnapshotPolicyId}",
1812
1860
  method: "DELETE",
@@ -1860,12 +1908,14 @@ class FileStorageClient {
1860
1908
  "if-match": deleteMountTargetRequest.ifMatch,
1861
1909
  "opc-request-id": deleteMountTargetRequest.opcRequestId
1862
1910
  };
1911
+ const requiredParams = new Set(["mountTargetId"]);
1912
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
1863
1913
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1864
1914
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteMountTargetRequest.retryConfiguration, specRetryConfiguration);
1865
1915
  if (this.logger)
1866
1916
  retrier.logger = this.logger;
1867
1917
  const request = yield oci_common_2.composeRequest({
1868
- baseEndpoint: this._endpoint,
1918
+ baseEndpoint: endpoint,
1869
1919
  defaultHeaders: this._defaultHeaders,
1870
1920
  path: "/mountTargets/{mountTargetId}",
1871
1921
  method: "DELETE",
@@ -1918,12 +1968,14 @@ class FileStorageClient {
1918
1968
  "if-match": deleteOutboundConnectorRequest.ifMatch,
1919
1969
  "opc-request-id": deleteOutboundConnectorRequest.opcRequestId
1920
1970
  };
1971
+ const requiredParams = new Set(["outboundConnectorId"]);
1972
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
1921
1973
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1922
1974
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteOutboundConnectorRequest.retryConfiguration, specRetryConfiguration);
1923
1975
  if (this.logger)
1924
1976
  retrier.logger = this.logger;
1925
1977
  const request = yield oci_common_2.composeRequest({
1926
- baseEndpoint: this._endpoint,
1978
+ baseEndpoint: endpoint,
1927
1979
  defaultHeaders: this._defaultHeaders,
1928
1980
  path: "/outboundConnectors/{outboundConnectorId}",
1929
1981
  method: "DELETE",
@@ -1975,12 +2027,14 @@ class FileStorageClient {
1975
2027
  "if-match": deleteQuotaRuleRequest.ifMatch,
1976
2028
  "opc-request-id": deleteQuotaRuleRequest.opcRequestId
1977
2029
  };
2030
+ const requiredParams = new Set(["fileSystemId", "quotaRuleId"]);
2031
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
1978
2032
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1979
2033
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteQuotaRuleRequest.retryConfiguration, specRetryConfiguration);
1980
2034
  if (this.logger)
1981
2035
  retrier.logger = this.logger;
1982
2036
  const request = yield oci_common_2.composeRequest({
1983
- baseEndpoint: this._endpoint,
2037
+ baseEndpoint: endpoint,
1984
2038
  defaultHeaders: this._defaultHeaders,
1985
2039
  path: "/fileSystems/{fileSystemId}/quotaRules/{quotaRuleId}",
1986
2040
  method: "DELETE",
@@ -2034,12 +2088,14 @@ class FileStorageClient {
2034
2088
  "if-match": deleteReplicationRequest.ifMatch,
2035
2089
  "opc-request-id": deleteReplicationRequest.opcRequestId
2036
2090
  };
2091
+ const requiredParams = new Set(["replicationId"]);
2092
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
2037
2093
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2038
2094
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteReplicationRequest.retryConfiguration, specRetryConfiguration);
2039
2095
  if (this.logger)
2040
2096
  retrier.logger = this.logger;
2041
2097
  const request = yield oci_common_2.composeRequest({
2042
- baseEndpoint: this._endpoint,
2098
+ baseEndpoint: endpoint,
2043
2099
  defaultHeaders: this._defaultHeaders,
2044
2100
  path: "/replications/{replicationId}",
2045
2101
  method: "DELETE",
@@ -2095,12 +2151,14 @@ class FileStorageClient {
2095
2151
  "if-match": deleteReplicationTargetRequest.ifMatch,
2096
2152
  "opc-request-id": deleteReplicationTargetRequest.opcRequestId
2097
2153
  };
2154
+ const requiredParams = new Set(["replicationTargetId"]);
2155
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
2098
2156
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2099
2157
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteReplicationTargetRequest.retryConfiguration, specRetryConfiguration);
2100
2158
  if (this.logger)
2101
2159
  retrier.logger = this.logger;
2102
2160
  const request = yield oci_common_2.composeRequest({
2103
- baseEndpoint: this._endpoint,
2161
+ baseEndpoint: endpoint,
2104
2162
  defaultHeaders: this._defaultHeaders,
2105
2163
  path: "/replicationTargets/{replicationTargetId}",
2106
2164
  method: "DELETE",
@@ -2153,12 +2211,14 @@ class FileStorageClient {
2153
2211
  "if-match": deleteSnapshotRequest.ifMatch,
2154
2212
  "opc-request-id": deleteSnapshotRequest.opcRequestId
2155
2213
  };
2214
+ const requiredParams = new Set(["snapshotId"]);
2215
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
2156
2216
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2157
2217
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSnapshotRequest.retryConfiguration, specRetryConfiguration);
2158
2218
  if (this.logger)
2159
2219
  retrier.logger = this.logger;
2160
2220
  const request = yield oci_common_2.composeRequest({
2161
- baseEndpoint: this._endpoint,
2221
+ baseEndpoint: endpoint,
2162
2222
  defaultHeaders: this._defaultHeaders,
2163
2223
  path: "/snapshots/{snapshotId}",
2164
2224
  method: "DELETE",
@@ -2209,12 +2269,14 @@ class FileStorageClient {
2209
2269
  "if-match": detachCloneRequest.ifMatch,
2210
2270
  "opc-request-id": detachCloneRequest.opcRequestId
2211
2271
  };
2272
+ const requiredParams = new Set(["fileSystemId"]);
2273
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
2212
2274
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2213
2275
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, detachCloneRequest.retryConfiguration, specRetryConfiguration);
2214
2276
  if (this.logger)
2215
2277
  retrier.logger = this.logger;
2216
2278
  const request = yield oci_common_2.composeRequest({
2217
- baseEndpoint: this._endpoint,
2279
+ baseEndpoint: endpoint,
2218
2280
  defaultHeaders: this._defaultHeaders,
2219
2281
  path: "/fileSystems/{fileSystemId}/actions/detachClone",
2220
2282
  method: "POST",
@@ -2267,12 +2329,14 @@ class FileStorageClient {
2267
2329
  "if-match": estimateReplicationRequest.ifMatch,
2268
2330
  "opc-request-id": estimateReplicationRequest.opcRequestId
2269
2331
  };
2332
+ const requiredParams = new Set(["fileSystemId"]);
2333
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
2270
2334
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2271
2335
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, estimateReplicationRequest.retryConfiguration, specRetryConfiguration);
2272
2336
  if (this.logger)
2273
2337
  retrier.logger = this.logger;
2274
2338
  const request = yield oci_common_2.composeRequest({
2275
- baseEndpoint: this._endpoint,
2339
+ baseEndpoint: endpoint,
2276
2340
  defaultHeaders: this._defaultHeaders,
2277
2341
  path: "/fileSystems/{fileSystemId}/actions/estimateReplication",
2278
2342
  method: "POST",
@@ -2330,12 +2394,14 @@ class FileStorageClient {
2330
2394
  "Content-Type": common.Constants.APPLICATION_JSON,
2331
2395
  "opc-request-id": getExportRequest.opcRequestId
2332
2396
  };
2397
+ const requiredParams = new Set(["exportId"]);
2398
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
2333
2399
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2334
2400
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getExportRequest.retryConfiguration, specRetryConfiguration);
2335
2401
  if (this.logger)
2336
2402
  retrier.logger = this.logger;
2337
2403
  const request = yield oci_common_2.composeRequest({
2338
- baseEndpoint: this._endpoint,
2404
+ baseEndpoint: endpoint,
2339
2405
  defaultHeaders: this._defaultHeaders,
2340
2406
  path: "/exports/{exportId}",
2341
2407
  method: "GET",
@@ -2393,12 +2459,14 @@ class FileStorageClient {
2393
2459
  "Content-Type": common.Constants.APPLICATION_JSON,
2394
2460
  "opc-request-id": getExportSetRequest.opcRequestId
2395
2461
  };
2462
+ const requiredParams = new Set(["exportSetId"]);
2463
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
2396
2464
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2397
2465
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getExportSetRequest.retryConfiguration, specRetryConfiguration);
2398
2466
  if (this.logger)
2399
2467
  retrier.logger = this.logger;
2400
2468
  const request = yield oci_common_2.composeRequest({
2401
- baseEndpoint: this._endpoint,
2469
+ baseEndpoint: endpoint,
2402
2470
  defaultHeaders: this._defaultHeaders,
2403
2471
  path: "/exportSets/{exportSetId}",
2404
2472
  method: "GET",
@@ -2456,12 +2524,14 @@ class FileStorageClient {
2456
2524
  "Content-Type": common.Constants.APPLICATION_JSON,
2457
2525
  "opc-request-id": getFileSystemRequest.opcRequestId
2458
2526
  };
2527
+ const requiredParams = new Set(["fileSystemId"]);
2528
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
2459
2529
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2460
2530
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFileSystemRequest.retryConfiguration, specRetryConfiguration);
2461
2531
  if (this.logger)
2462
2532
  retrier.logger = this.logger;
2463
2533
  const request = yield oci_common_2.composeRequest({
2464
- baseEndpoint: this._endpoint,
2534
+ baseEndpoint: endpoint,
2465
2535
  defaultHeaders: this._defaultHeaders,
2466
2536
  path: "/fileSystems/{fileSystemId}",
2467
2537
  method: "GET",
@@ -2519,12 +2589,14 @@ class FileStorageClient {
2519
2589
  "Content-Type": common.Constants.APPLICATION_JSON,
2520
2590
  "opc-request-id": getFilesystemSnapshotPolicyRequest.opcRequestId
2521
2591
  };
2592
+ const requiredParams = new Set(["filesystemSnapshotPolicyId"]);
2593
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
2522
2594
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2523
2595
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFilesystemSnapshotPolicyRequest.retryConfiguration, specRetryConfiguration);
2524
2596
  if (this.logger)
2525
2597
  retrier.logger = this.logger;
2526
2598
  const request = yield oci_common_2.composeRequest({
2527
- baseEndpoint: this._endpoint,
2599
+ baseEndpoint: endpoint,
2528
2600
  defaultHeaders: this._defaultHeaders,
2529
2601
  path: "/filesystemSnapshotPolicies/{filesystemSnapshotPolicyId}",
2530
2602
  method: "GET",
@@ -2582,12 +2654,14 @@ class FileStorageClient {
2582
2654
  "Content-Type": common.Constants.APPLICATION_JSON,
2583
2655
  "opc-request-id": getMountTargetRequest.opcRequestId
2584
2656
  };
2657
+ const requiredParams = new Set(["mountTargetId"]);
2658
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
2585
2659
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2586
2660
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getMountTargetRequest.retryConfiguration, specRetryConfiguration);
2587
2661
  if (this.logger)
2588
2662
  retrier.logger = this.logger;
2589
2663
  const request = yield oci_common_2.composeRequest({
2590
- baseEndpoint: this._endpoint,
2664
+ baseEndpoint: endpoint,
2591
2665
  defaultHeaders: this._defaultHeaders,
2592
2666
  path: "/mountTargets/{mountTargetId}",
2593
2667
  method: "GET",
@@ -2645,12 +2719,14 @@ class FileStorageClient {
2645
2719
  "Content-Type": common.Constants.APPLICATION_JSON,
2646
2720
  "opc-request-id": getOutboundConnectorRequest.opcRequestId
2647
2721
  };
2722
+ const requiredParams = new Set(["outboundConnectorId"]);
2723
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
2648
2724
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2649
2725
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOutboundConnectorRequest.retryConfiguration, specRetryConfiguration);
2650
2726
  if (this.logger)
2651
2727
  retrier.logger = this.logger;
2652
2728
  const request = yield oci_common_2.composeRequest({
2653
- baseEndpoint: this._endpoint,
2729
+ baseEndpoint: endpoint,
2654
2730
  defaultHeaders: this._defaultHeaders,
2655
2731
  path: "/outboundConnectors/{outboundConnectorId}",
2656
2732
  method: "GET",
@@ -2711,12 +2787,14 @@ class FileStorageClient {
2711
2787
  "if-match": getQuotaRuleRequest.ifMatch,
2712
2788
  "opc-request-id": getQuotaRuleRequest.opcRequestId
2713
2789
  };
2790
+ const requiredParams = new Set(["fileSystemId", "quotaRuleId"]);
2791
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
2714
2792
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2715
2793
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getQuotaRuleRequest.retryConfiguration, specRetryConfiguration);
2716
2794
  if (this.logger)
2717
2795
  retrier.logger = this.logger;
2718
2796
  const request = yield oci_common_2.composeRequest({
2719
- baseEndpoint: this._endpoint,
2797
+ baseEndpoint: endpoint,
2720
2798
  defaultHeaders: this._defaultHeaders,
2721
2799
  path: "/fileSystems/{fileSystemId}/quotaRules/{quotaRuleId}",
2722
2800
  method: "GET",
@@ -2774,12 +2852,14 @@ class FileStorageClient {
2774
2852
  "Content-Type": common.Constants.APPLICATION_JSON,
2775
2853
  "opc-request-id": getReplicationRequest.opcRequestId
2776
2854
  };
2855
+ const requiredParams = new Set(["replicationId"]);
2856
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
2777
2857
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2778
2858
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getReplicationRequest.retryConfiguration, specRetryConfiguration);
2779
2859
  if (this.logger)
2780
2860
  retrier.logger = this.logger;
2781
2861
  const request = yield oci_common_2.composeRequest({
2782
- baseEndpoint: this._endpoint,
2862
+ baseEndpoint: endpoint,
2783
2863
  defaultHeaders: this._defaultHeaders,
2784
2864
  path: "/replications/{replicationId}",
2785
2865
  method: "GET",
@@ -2837,12 +2917,14 @@ class FileStorageClient {
2837
2917
  "Content-Type": common.Constants.APPLICATION_JSON,
2838
2918
  "opc-request-id": getReplicationTargetRequest.opcRequestId
2839
2919
  };
2920
+ const requiredParams = new Set(["replicationTargetId"]);
2921
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
2840
2922
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2841
2923
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getReplicationTargetRequest.retryConfiguration, specRetryConfiguration);
2842
2924
  if (this.logger)
2843
2925
  retrier.logger = this.logger;
2844
2926
  const request = yield oci_common_2.composeRequest({
2845
- baseEndpoint: this._endpoint,
2927
+ baseEndpoint: endpoint,
2846
2928
  defaultHeaders: this._defaultHeaders,
2847
2929
  path: "/replicationTargets/{replicationTargetId}",
2848
2930
  method: "GET",
@@ -2900,12 +2982,14 @@ class FileStorageClient {
2900
2982
  "Content-Type": common.Constants.APPLICATION_JSON,
2901
2983
  "opc-request-id": getSnapshotRequest.opcRequestId
2902
2984
  };
2985
+ const requiredParams = new Set(["snapshotId"]);
2986
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
2903
2987
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2904
2988
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSnapshotRequest.retryConfiguration, specRetryConfiguration);
2905
2989
  if (this.logger)
2906
2990
  retrier.logger = this.logger;
2907
2991
  const request = yield oci_common_2.composeRequest({
2908
- baseEndpoint: this._endpoint,
2992
+ baseEndpoint: endpoint,
2909
2993
  defaultHeaders: this._defaultHeaders,
2910
2994
  path: "/snapshots/{snapshotId}",
2911
2995
  method: "GET",
@@ -2972,12 +3056,14 @@ class FileStorageClient {
2972
3056
  "Content-Type": common.Constants.APPLICATION_JSON,
2973
3057
  "opc-request-id": listExportSetsRequest.opcRequestId
2974
3058
  };
3059
+ const requiredParams = new Set(["compartmentId", "availabilityDomain"]);
3060
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
2975
3061
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2976
3062
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listExportSetsRequest.retryConfiguration, specRetryConfiguration);
2977
3063
  if (this.logger)
2978
3064
  retrier.logger = this.logger;
2979
3065
  const request = yield oci_common_2.composeRequest({
2980
- baseEndpoint: this._endpoint,
3066
+ baseEndpoint: endpoint,
2981
3067
  defaultHeaders: this._defaultHeaders,
2982
3068
  path: "/exportSets",
2983
3069
  method: "GET",
@@ -3086,12 +3172,14 @@ class FileStorageClient {
3086
3172
  "Content-Type": common.Constants.APPLICATION_JSON,
3087
3173
  "opc-request-id": listExportsRequest.opcRequestId
3088
3174
  };
3175
+ const requiredParams = new Set([]);
3176
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
3089
3177
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
3090
3178
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listExportsRequest.retryConfiguration, specRetryConfiguration);
3091
3179
  if (this.logger)
3092
3180
  retrier.logger = this.logger;
3093
3181
  const request = yield oci_common_2.composeRequest({
3094
- baseEndpoint: this._endpoint,
3182
+ baseEndpoint: endpoint,
3095
3183
  defaultHeaders: this._defaultHeaders,
3096
3184
  path: "/exports",
3097
3185
  method: "GET",
@@ -3202,12 +3290,14 @@ class FileStorageClient {
3202
3290
  "Content-Type": common.Constants.APPLICATION_JSON,
3203
3291
  "opc-request-id": listFileSystemsRequest.opcRequestId
3204
3292
  };
3293
+ const requiredParams = new Set(["compartmentId", "availabilityDomain"]);
3294
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
3205
3295
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
3206
3296
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFileSystemsRequest.retryConfiguration, specRetryConfiguration);
3207
3297
  if (this.logger)
3208
3298
  retrier.logger = this.logger;
3209
3299
  const request = yield oci_common_2.composeRequest({
3210
- baseEndpoint: this._endpoint,
3300
+ baseEndpoint: endpoint,
3211
3301
  defaultHeaders: this._defaultHeaders,
3212
3302
  path: "/fileSystems",
3213
3303
  method: "GET",
@@ -3314,12 +3404,14 @@ class FileStorageClient {
3314
3404
  "Content-Type": common.Constants.APPLICATION_JSON,
3315
3405
  "opc-request-id": listFilesystemSnapshotPoliciesRequest.opcRequestId
3316
3406
  };
3407
+ const requiredParams = new Set(["compartmentId", "availabilityDomain"]);
3408
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
3317
3409
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
3318
3410
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFilesystemSnapshotPoliciesRequest.retryConfiguration, specRetryConfiguration);
3319
3411
  if (this.logger)
3320
3412
  retrier.logger = this.logger;
3321
3413
  const request = yield oci_common_2.composeRequest({
3322
- baseEndpoint: this._endpoint,
3414
+ baseEndpoint: endpoint,
3323
3415
  defaultHeaders: this._defaultHeaders,
3324
3416
  path: "/filesystemSnapshotPolicies",
3325
3417
  method: "GET",
@@ -3427,12 +3519,14 @@ class FileStorageClient {
3427
3519
  "Content-Type": common.Constants.APPLICATION_JSON,
3428
3520
  "opc-request-id": listMountTargetsRequest.opcRequestId
3429
3521
  };
3522
+ const requiredParams = new Set(["compartmentId", "availabilityDomain"]);
3523
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
3430
3524
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
3431
3525
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listMountTargetsRequest.retryConfiguration, specRetryConfiguration);
3432
3526
  if (this.logger)
3433
3527
  retrier.logger = this.logger;
3434
3528
  const request = yield oci_common_2.composeRequest({
3435
- baseEndpoint: this._endpoint,
3529
+ baseEndpoint: endpoint,
3436
3530
  defaultHeaders: this._defaultHeaders,
3437
3531
  path: "/mountTargets",
3438
3532
  method: "GET",
@@ -3539,12 +3633,14 @@ class FileStorageClient {
3539
3633
  "Content-Type": common.Constants.APPLICATION_JSON,
3540
3634
  "opc-request-id": listOutboundConnectorsRequest.opcRequestId
3541
3635
  };
3636
+ const requiredParams = new Set(["compartmentId", "availabilityDomain"]);
3637
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
3542
3638
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
3543
3639
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOutboundConnectorsRequest.retryConfiguration, specRetryConfiguration);
3544
3640
  if (this.logger)
3545
3641
  retrier.logger = this.logger;
3546
3642
  const request = yield oci_common_2.composeRequest({
3547
- baseEndpoint: this._endpoint,
3643
+ baseEndpoint: endpoint,
3548
3644
  defaultHeaders: this._defaultHeaders,
3549
3645
  path: "/outboundConnectors",
3550
3646
  method: "GET",
@@ -3651,12 +3747,14 @@ class FileStorageClient {
3651
3747
  "if-match": listQuotaRulesRequest.ifMatch,
3652
3748
  "opc-request-id": listQuotaRulesRequest.opcRequestId
3653
3749
  };
3750
+ const requiredParams = new Set(["fileSystemId", "principalType"]);
3751
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
3654
3752
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
3655
3753
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listQuotaRulesRequest.retryConfiguration, specRetryConfiguration);
3656
3754
  if (this.logger)
3657
3755
  retrier.logger = this.logger;
3658
3756
  const request = yield oci_common_2.composeRequest({
3659
- baseEndpoint: this._endpoint,
3757
+ baseEndpoint: endpoint,
3660
3758
  defaultHeaders: this._defaultHeaders,
3661
3759
  path: "/fileSystems/{fileSystemId}/quotaRules",
3662
3760
  method: "GET",
@@ -3763,12 +3861,14 @@ class FileStorageClient {
3763
3861
  "Content-Type": common.Constants.APPLICATION_JSON,
3764
3862
  "opc-request-id": listReplicationTargetsRequest.opcRequestId
3765
3863
  };
3864
+ const requiredParams = new Set(["compartmentId", "availabilityDomain"]);
3865
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
3766
3866
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
3767
3867
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listReplicationTargetsRequest.retryConfiguration, specRetryConfiguration);
3768
3868
  if (this.logger)
3769
3869
  retrier.logger = this.logger;
3770
3870
  const request = yield oci_common_2.composeRequest({
3771
- baseEndpoint: this._endpoint,
3871
+ baseEndpoint: endpoint,
3772
3872
  defaultHeaders: this._defaultHeaders,
3773
3873
  path: "/replicationTargets",
3774
3874
  method: "GET",
@@ -3876,12 +3976,14 @@ class FileStorageClient {
3876
3976
  "Content-Type": common.Constants.APPLICATION_JSON,
3877
3977
  "opc-request-id": listReplicationsRequest.opcRequestId
3878
3978
  };
3979
+ const requiredParams = new Set(["compartmentId", "availabilityDomain"]);
3980
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
3879
3981
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
3880
3982
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listReplicationsRequest.retryConfiguration, specRetryConfiguration);
3881
3983
  if (this.logger)
3882
3984
  retrier.logger = this.logger;
3883
3985
  const request = yield oci_common_2.composeRequest({
3884
- baseEndpoint: this._endpoint,
3986
+ baseEndpoint: endpoint,
3885
3987
  defaultHeaders: this._defaultHeaders,
3886
3988
  path: "/replications",
3887
3989
  method: "GET",
@@ -3993,12 +4095,14 @@ class FileStorageClient {
3993
4095
  "Content-Type": common.Constants.APPLICATION_JSON,
3994
4096
  "opc-request-id": listSnapshotsRequest.opcRequestId
3995
4097
  };
4098
+ const requiredParams = new Set([]);
4099
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
3996
4100
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
3997
4101
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSnapshotsRequest.retryConfiguration, specRetryConfiguration);
3998
4102
  if (this.logger)
3999
4103
  retrier.logger = this.logger;
4000
4104
  const request = yield oci_common_2.composeRequest({
4001
- baseEndpoint: this._endpoint,
4105
+ baseEndpoint: endpoint,
4002
4106
  defaultHeaders: this._defaultHeaders,
4003
4107
  path: "/snapshots",
4004
4108
  method: "GET",
@@ -4105,12 +4209,14 @@ class FileStorageClient {
4105
4209
  "if-match": pauseFilesystemSnapshotPolicyRequest.ifMatch,
4106
4210
  "opc-request-id": pauseFilesystemSnapshotPolicyRequest.opcRequestId
4107
4211
  };
4212
+ const requiredParams = new Set(["filesystemSnapshotPolicyId"]);
4213
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
4108
4214
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
4109
4215
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, pauseFilesystemSnapshotPolicyRequest.retryConfiguration, specRetryConfiguration);
4110
4216
  if (this.logger)
4111
4217
  retrier.logger = this.logger;
4112
4218
  const request = yield oci_common_2.composeRequest({
4113
- baseEndpoint: this._endpoint,
4219
+ baseEndpoint: endpoint,
4114
4220
  defaultHeaders: this._defaultHeaders,
4115
4221
  path: "/filesystemSnapshotPolicies/{filesystemSnapshotPolicyId}/actions/pause",
4116
4222
  method: "POST",
@@ -4169,12 +4275,14 @@ class FileStorageClient {
4169
4275
  "if-match": removeExportLockRequest.ifMatch,
4170
4276
  "opc-request-id": removeExportLockRequest.opcRequestId
4171
4277
  };
4278
+ const requiredParams = new Set(["exportId"]);
4279
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
4172
4280
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
4173
4281
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeExportLockRequest.retryConfiguration, specRetryConfiguration);
4174
4282
  if (this.logger)
4175
4283
  retrier.logger = this.logger;
4176
4284
  const request = yield oci_common_2.composeRequest({
4177
- baseEndpoint: this._endpoint,
4285
+ baseEndpoint: endpoint,
4178
4286
  defaultHeaders: this._defaultHeaders,
4179
4287
  path: "/exports/{exportId}/actions/removeLock",
4180
4288
  method: "POST",
@@ -4234,12 +4342,14 @@ class FileStorageClient {
4234
4342
  "if-match": removeFileSystemLockRequest.ifMatch,
4235
4343
  "opc-request-id": removeFileSystemLockRequest.opcRequestId
4236
4344
  };
4345
+ const requiredParams = new Set(["fileSystemId"]);
4346
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
4237
4347
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
4238
4348
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeFileSystemLockRequest.retryConfiguration, specRetryConfiguration);
4239
4349
  if (this.logger)
4240
4350
  retrier.logger = this.logger;
4241
4351
  const request = yield oci_common_2.composeRequest({
4242
- baseEndpoint: this._endpoint,
4352
+ baseEndpoint: endpoint,
4243
4353
  defaultHeaders: this._defaultHeaders,
4244
4354
  path: "/fileSystems/{fileSystemId}/actions/removeLock",
4245
4355
  method: "POST",
@@ -4299,12 +4409,14 @@ class FileStorageClient {
4299
4409
  "if-match": removeFilesystemSnapshotPolicyLockRequest.ifMatch,
4300
4410
  "opc-request-id": removeFilesystemSnapshotPolicyLockRequest.opcRequestId
4301
4411
  };
4412
+ const requiredParams = new Set(["filesystemSnapshotPolicyId"]);
4413
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
4302
4414
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
4303
4415
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeFilesystemSnapshotPolicyLockRequest.retryConfiguration, specRetryConfiguration);
4304
4416
  if (this.logger)
4305
4417
  retrier.logger = this.logger;
4306
4418
  const request = yield oci_common_2.composeRequest({
4307
- baseEndpoint: this._endpoint,
4419
+ baseEndpoint: endpoint,
4308
4420
  defaultHeaders: this._defaultHeaders,
4309
4421
  path: "/filesystemSnapshotPolicies/{filesystemSnapshotPolicyId}/actions/removeLock",
4310
4422
  method: "POST",
@@ -4364,12 +4476,14 @@ class FileStorageClient {
4364
4476
  "if-match": removeMountTargetLockRequest.ifMatch,
4365
4477
  "opc-request-id": removeMountTargetLockRequest.opcRequestId
4366
4478
  };
4479
+ const requiredParams = new Set(["mountTargetId"]);
4480
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
4367
4481
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
4368
4482
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeMountTargetLockRequest.retryConfiguration, specRetryConfiguration);
4369
4483
  if (this.logger)
4370
4484
  retrier.logger = this.logger;
4371
4485
  const request = yield oci_common_2.composeRequest({
4372
- baseEndpoint: this._endpoint,
4486
+ baseEndpoint: endpoint,
4373
4487
  defaultHeaders: this._defaultHeaders,
4374
4488
  path: "/mountTargets/{mountTargetId}/actions/removeLock",
4375
4489
  method: "POST",
@@ -4429,12 +4543,14 @@ class FileStorageClient {
4429
4543
  "if-match": removeOutboundConnectorLockRequest.ifMatch,
4430
4544
  "opc-request-id": removeOutboundConnectorLockRequest.opcRequestId
4431
4545
  };
4546
+ const requiredParams = new Set(["outboundConnectorId"]);
4547
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
4432
4548
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
4433
4549
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeOutboundConnectorLockRequest.retryConfiguration, specRetryConfiguration);
4434
4550
  if (this.logger)
4435
4551
  retrier.logger = this.logger;
4436
4552
  const request = yield oci_common_2.composeRequest({
4437
- baseEndpoint: this._endpoint,
4553
+ baseEndpoint: endpoint,
4438
4554
  defaultHeaders: this._defaultHeaders,
4439
4555
  path: "/outboundConnectors/{outboundConnectorId}/actions/removeLock",
4440
4556
  method: "POST",
@@ -4494,12 +4610,14 @@ class FileStorageClient {
4494
4610
  "if-match": removeReplicationLockRequest.ifMatch,
4495
4611
  "opc-request-id": removeReplicationLockRequest.opcRequestId
4496
4612
  };
4613
+ const requiredParams = new Set(["replicationId"]);
4614
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
4497
4615
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
4498
4616
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeReplicationLockRequest.retryConfiguration, specRetryConfiguration);
4499
4617
  if (this.logger)
4500
4618
  retrier.logger = this.logger;
4501
4619
  const request = yield oci_common_2.composeRequest({
4502
- baseEndpoint: this._endpoint,
4620
+ baseEndpoint: endpoint,
4503
4621
  defaultHeaders: this._defaultHeaders,
4504
4622
  path: "/replications/{replicationId}/actions/removeLock",
4505
4623
  method: "POST",
@@ -4559,12 +4677,14 @@ class FileStorageClient {
4559
4677
  "if-match": removeSnapshotLockRequest.ifMatch,
4560
4678
  "opc-request-id": removeSnapshotLockRequest.opcRequestId
4561
4679
  };
4680
+ const requiredParams = new Set(["snapshotId"]);
4681
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
4562
4682
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
4563
4683
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeSnapshotLockRequest.retryConfiguration, specRetryConfiguration);
4564
4684
  if (this.logger)
4565
4685
  retrier.logger = this.logger;
4566
4686
  const request = yield oci_common_2.composeRequest({
4567
- baseEndpoint: this._endpoint,
4687
+ baseEndpoint: endpoint,
4568
4688
  defaultHeaders: this._defaultHeaders,
4569
4689
  path: "/snapshots/{snapshotId}/actions/removeLock",
4570
4690
  method: "POST",
@@ -4625,12 +4745,14 @@ class FileStorageClient {
4625
4745
  "if-match": scheduleDowngradeShapeMountTargetRequest.ifMatch,
4626
4746
  "opc-request-id": scheduleDowngradeShapeMountTargetRequest.opcRequestId
4627
4747
  };
4748
+ const requiredParams = new Set(["mountTargetId"]);
4749
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
4628
4750
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
4629
4751
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, scheduleDowngradeShapeMountTargetRequest.retryConfiguration, specRetryConfiguration);
4630
4752
  if (this.logger)
4631
4753
  retrier.logger = this.logger;
4632
4754
  const request = yield oci_common_2.composeRequest({
4633
- baseEndpoint: this._endpoint,
4755
+ baseEndpoint: endpoint,
4634
4756
  defaultHeaders: this._defaultHeaders,
4635
4757
  path: "/mountTargets/{mountTargetId}/actions/scheduleShapeDowngrade",
4636
4758
  method: "POST",
@@ -4694,12 +4816,14 @@ class FileStorageClient {
4694
4816
  "opc-retry-token": toggleQuotaRulesRequest.opcRetryToken,
4695
4817
  "opc-request-id": toggleQuotaRulesRequest.opcRequestId
4696
4818
  };
4819
+ const requiredParams = new Set(["fileSystemId"]);
4820
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
4697
4821
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
4698
4822
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, toggleQuotaRulesRequest.retryConfiguration, specRetryConfiguration);
4699
4823
  if (this.logger)
4700
4824
  retrier.logger = this.logger;
4701
4825
  const request = yield oci_common_2.composeRequest({
4702
- baseEndpoint: this._endpoint,
4826
+ baseEndpoint: endpoint,
4703
4827
  defaultHeaders: this._defaultHeaders,
4704
4828
  path: "/fileSystems/{fileSystemId}/actions/toggleQuotaRules",
4705
4829
  method: "POST",
@@ -4757,12 +4881,14 @@ class FileStorageClient {
4757
4881
  "if-match": unpauseFilesystemSnapshotPolicyRequest.ifMatch,
4758
4882
  "opc-request-id": unpauseFilesystemSnapshotPolicyRequest.opcRequestId
4759
4883
  };
4884
+ const requiredParams = new Set(["filesystemSnapshotPolicyId"]);
4885
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
4760
4886
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
4761
4887
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, unpauseFilesystemSnapshotPolicyRequest.retryConfiguration, specRetryConfiguration);
4762
4888
  if (this.logger)
4763
4889
  retrier.logger = this.logger;
4764
4890
  const request = yield oci_common_2.composeRequest({
4765
- baseEndpoint: this._endpoint,
4891
+ baseEndpoint: endpoint,
4766
4892
  defaultHeaders: this._defaultHeaders,
4767
4893
  path: "/filesystemSnapshotPolicies/{filesystemSnapshotPolicyId}/actions/unpause",
4768
4894
  method: "POST",
@@ -4823,12 +4949,14 @@ class FileStorageClient {
4823
4949
  "if-match": updateExportRequest.ifMatch,
4824
4950
  "opc-request-id": updateExportRequest.opcRequestId
4825
4951
  };
4952
+ const requiredParams = new Set(["exportId"]);
4953
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
4826
4954
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
4827
4955
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateExportRequest.retryConfiguration, specRetryConfiguration);
4828
4956
  if (this.logger)
4829
4957
  retrier.logger = this.logger;
4830
4958
  const request = yield oci_common_2.composeRequest({
4831
- baseEndpoint: this._endpoint,
4959
+ baseEndpoint: endpoint,
4832
4960
  defaultHeaders: this._defaultHeaders,
4833
4961
  path: "/exports/{exportId}",
4834
4962
  method: "PUT",
@@ -4888,12 +5016,14 @@ class FileStorageClient {
4888
5016
  "if-match": updateExportSetRequest.ifMatch,
4889
5017
  "opc-request-id": updateExportSetRequest.opcRequestId
4890
5018
  };
5019
+ const requiredParams = new Set(["exportSetId"]);
5020
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
4891
5021
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
4892
5022
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateExportSetRequest.retryConfiguration, specRetryConfiguration);
4893
5023
  if (this.logger)
4894
5024
  retrier.logger = this.logger;
4895
5025
  const request = yield oci_common_2.composeRequest({
4896
- baseEndpoint: this._endpoint,
5026
+ baseEndpoint: endpoint,
4897
5027
  defaultHeaders: this._defaultHeaders,
4898
5028
  path: "/exportSets/{exportSetId}",
4899
5029
  method: "PUT",
@@ -4957,12 +5087,14 @@ class FileStorageClient {
4957
5087
  "if-match": updateFileSystemRequest.ifMatch,
4958
5088
  "opc-request-id": updateFileSystemRequest.opcRequestId
4959
5089
  };
5090
+ const requiredParams = new Set(["fileSystemId"]);
5091
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
4960
5092
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
4961
5093
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateFileSystemRequest.retryConfiguration, specRetryConfiguration);
4962
5094
  if (this.logger)
4963
5095
  retrier.logger = this.logger;
4964
5096
  const request = yield oci_common_2.composeRequest({
4965
- baseEndpoint: this._endpoint,
5097
+ baseEndpoint: endpoint,
4966
5098
  defaultHeaders: this._defaultHeaders,
4967
5099
  path: "/fileSystems/{fileSystemId}",
4968
5100
  method: "PUT",
@@ -5024,12 +5156,14 @@ class FileStorageClient {
5024
5156
  "if-match": updateFilesystemSnapshotPolicyRequest.ifMatch,
5025
5157
  "opc-request-id": updateFilesystemSnapshotPolicyRequest.opcRequestId
5026
5158
  };
5159
+ const requiredParams = new Set(["filesystemSnapshotPolicyId"]);
5160
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
5027
5161
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
5028
5162
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateFilesystemSnapshotPolicyRequest.retryConfiguration, specRetryConfiguration);
5029
5163
  if (this.logger)
5030
5164
  retrier.logger = this.logger;
5031
5165
  const request = yield oci_common_2.composeRequest({
5032
- baseEndpoint: this._endpoint,
5166
+ baseEndpoint: endpoint,
5033
5167
  defaultHeaders: this._defaultHeaders,
5034
5168
  path: "/filesystemSnapshotPolicies/{filesystemSnapshotPolicyId}",
5035
5169
  method: "PUT",
@@ -5091,12 +5225,14 @@ class FileStorageClient {
5091
5225
  "if-match": updateMountTargetRequest.ifMatch,
5092
5226
  "opc-request-id": updateMountTargetRequest.opcRequestId
5093
5227
  };
5228
+ const requiredParams = new Set(["mountTargetId"]);
5229
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
5094
5230
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
5095
5231
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateMountTargetRequest.retryConfiguration, specRetryConfiguration);
5096
5232
  if (this.logger)
5097
5233
  retrier.logger = this.logger;
5098
5234
  const request = yield oci_common_2.composeRequest({
5099
- baseEndpoint: this._endpoint,
5235
+ baseEndpoint: endpoint,
5100
5236
  defaultHeaders: this._defaultHeaders,
5101
5237
  path: "/mountTargets/{mountTargetId}",
5102
5238
  method: "PUT",
@@ -5158,12 +5294,14 @@ class FileStorageClient {
5158
5294
  "if-match": updateOutboundConnectorRequest.ifMatch,
5159
5295
  "opc-request-id": updateOutboundConnectorRequest.opcRequestId
5160
5296
  };
5297
+ const requiredParams = new Set(["outboundConnectorId"]);
5298
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
5161
5299
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
5162
5300
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateOutboundConnectorRequest.retryConfiguration, specRetryConfiguration);
5163
5301
  if (this.logger)
5164
5302
  retrier.logger = this.logger;
5165
5303
  const request = yield oci_common_2.composeRequest({
5166
- baseEndpoint: this._endpoint,
5304
+ baseEndpoint: endpoint,
5167
5305
  defaultHeaders: this._defaultHeaders,
5168
5306
  path: "/outboundConnectors/{outboundConnectorId}",
5169
5307
  method: "PUT",
@@ -5225,12 +5363,14 @@ class FileStorageClient {
5225
5363
  "if-match": updateQuotaRuleRequest.ifMatch,
5226
5364
  "opc-request-id": updateQuotaRuleRequest.opcRequestId
5227
5365
  };
5366
+ const requiredParams = new Set(["fileSystemId", "quotaRuleId"]);
5367
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
5228
5368
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
5229
5369
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateQuotaRuleRequest.retryConfiguration, specRetryConfiguration);
5230
5370
  if (this.logger)
5231
5371
  retrier.logger = this.logger;
5232
5372
  const request = yield oci_common_2.composeRequest({
5233
- baseEndpoint: this._endpoint,
5373
+ baseEndpoint: endpoint,
5234
5374
  defaultHeaders: this._defaultHeaders,
5235
5375
  path: "/fileSystems/{fileSystemId}/quotaRules/{quotaRuleId}",
5236
5376
  method: "PUT",
@@ -5293,12 +5433,14 @@ class FileStorageClient {
5293
5433
  "if-match": updateReplicationRequest.ifMatch,
5294
5434
  "opc-request-id": updateReplicationRequest.opcRequestId
5295
5435
  };
5436
+ const requiredParams = new Set(["replicationId"]);
5437
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
5296
5438
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
5297
5439
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateReplicationRequest.retryConfiguration, specRetryConfiguration);
5298
5440
  if (this.logger)
5299
5441
  retrier.logger = this.logger;
5300
5442
  const request = yield oci_common_2.composeRequest({
5301
- baseEndpoint: this._endpoint,
5443
+ baseEndpoint: endpoint,
5302
5444
  defaultHeaders: this._defaultHeaders,
5303
5445
  path: "/replications/{replicationId}",
5304
5446
  method: "PUT",
@@ -5360,12 +5502,14 @@ class FileStorageClient {
5360
5502
  "if-match": updateSnapshotRequest.ifMatch,
5361
5503
  "opc-request-id": updateSnapshotRequest.opcRequestId
5362
5504
  };
5505
+ const requiredParams = new Set(["snapshotId"]);
5506
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
5363
5507
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
5364
5508
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSnapshotRequest.retryConfiguration, specRetryConfiguration);
5365
5509
  if (this.logger)
5366
5510
  retrier.logger = this.logger;
5367
5511
  const request = yield oci_common_2.composeRequest({
5368
- baseEndpoint: this._endpoint,
5512
+ baseEndpoint: endpoint,
5369
5513
  defaultHeaders: this._defaultHeaders,
5370
5514
  path: "/snapshots/{snapshotId}",
5371
5515
  method: "PUT",
@@ -5426,12 +5570,14 @@ class FileStorageClient {
5426
5570
  "if-match": upgradeShapeMountTargetRequest.ifMatch,
5427
5571
  "opc-request-id": upgradeShapeMountTargetRequest.opcRequestId
5428
5572
  };
5573
+ const requiredParams = new Set(["mountTargetId"]);
5574
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
5429
5575
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
5430
5576
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, upgradeShapeMountTargetRequest.retryConfiguration, specRetryConfiguration);
5431
5577
  if (this.logger)
5432
5578
  retrier.logger = this.logger;
5433
5579
  const request = yield oci_common_2.composeRequest({
5434
- baseEndpoint: this._endpoint,
5580
+ baseEndpoint: endpoint,
5435
5581
  defaultHeaders: this._defaultHeaders,
5436
5582
  path: "/mountTargets/{mountTargetId}/actions/upgradeShape",
5437
5583
  method: "POST",
@@ -5491,12 +5637,14 @@ class FileStorageClient {
5491
5637
  "Content-Type": common.Constants.APPLICATION_JSON,
5492
5638
  "opc-request-id": validateKeyTabsRequest.opcRequestId
5493
5639
  };
5640
+ const requiredParams = new Set([]);
5641
+ let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
5494
5642
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
5495
5643
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, validateKeyTabsRequest.retryConfiguration, specRetryConfiguration);
5496
5644
  if (this.logger)
5497
5645
  retrier.logger = this.logger;
5498
5646
  const request = yield oci_common_2.composeRequest({
5499
- baseEndpoint: this._endpoint,
5647
+ baseEndpoint: endpoint,
5500
5648
  defaultHeaders: this._defaultHeaders,
5501
5649
  path: "/mountTargets/actions/validateKeyTabs",
5502
5650
  method: "POST",
@@ -5530,6 +5678,6 @@ class FileStorageClient {
5530
5678
  }
5531
5679
  }
5532
5680
  exports.FileStorageClient = FileStorageClient;
5533
- FileStorageClient.serviceEndpointTemplate = "https://filestorage.{region}.{secondLevelDomain}";
5534
- FileStorageClient.endpointServiceName = "";
5681
+ FileStorageClient.serviceEndpointTemplate = "https://filestorage.{region}.{dualStack?ds.:}oci.{secondLevelDomain}";
5682
+ FileStorageClient.endpointServiceName = "filestorage";
5535
5683
  //# sourceMappingURL=client.js.map