@aws-sdk/client-migrationhubstrategy 3.716.0 → 3.723.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/dist-cjs/index.js CHANGED
@@ -210,7 +210,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
210
210
  }, "resolveRuntimeExtensions");
211
211
 
212
212
  // src/MigrationHubStrategyClient.ts
213
- var _MigrationHubStrategyClient = class _MigrationHubStrategyClient extends import_smithy_client.Client {
213
+ var MigrationHubStrategyClient = class extends import_smithy_client.Client {
214
+ static {
215
+ __name(this, "MigrationHubStrategyClient");
216
+ }
217
+ /**
218
+ * The resolved configuration of MigrationHubStrategyClient class. This is resolved and normalized from the {@link MigrationHubStrategyClientConfig | constructor configuration interface}.
219
+ */
220
+ config;
214
221
  constructor(...[configuration]) {
215
222
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
216
223
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -220,7 +227,7 @@ var _MigrationHubStrategyClient = class _MigrationHubStrategyClient extends impo
220
227
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
221
228
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
222
229
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
223
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
230
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
224
231
  super(_config_8);
225
232
  this.config = _config_8;
226
233
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -248,8 +255,6 @@ var _MigrationHubStrategyClient = class _MigrationHubStrategyClient extends impo
248
255
  super.destroy();
249
256
  }
250
257
  };
251
- __name(_MigrationHubStrategyClient, "MigrationHubStrategyClient");
252
- var MigrationHubStrategyClient = _MigrationHubStrategyClient;
253
258
 
254
259
  // src/MigrationHubStrategy.ts
255
260
 
@@ -266,7 +271,10 @@ var import_core2 = require("@aws-sdk/core");
266
271
 
267
272
  // src/models/MigrationHubStrategyServiceException.ts
268
273
 
269
- var _MigrationHubStrategyServiceException = class _MigrationHubStrategyServiceException extends import_smithy_client.ServiceException {
274
+ var MigrationHubStrategyServiceException = class _MigrationHubStrategyServiceException extends import_smithy_client.ServiceException {
275
+ static {
276
+ __name(this, "MigrationHubStrategyServiceException");
277
+ }
270
278
  /**
271
279
  * @internal
272
280
  */
@@ -275,12 +283,15 @@ var _MigrationHubStrategyServiceException = class _MigrationHubStrategyServiceEx
275
283
  Object.setPrototypeOf(this, _MigrationHubStrategyServiceException.prototype);
276
284
  }
277
285
  };
278
- __name(_MigrationHubStrategyServiceException, "MigrationHubStrategyServiceException");
279
- var MigrationHubStrategyServiceException = _MigrationHubStrategyServiceException;
280
286
 
281
287
  // src/models/models_0.ts
282
288
 
283
- var _AccessDeniedException = class _AccessDeniedException extends MigrationHubStrategyServiceException {
289
+ var AccessDeniedException = class _AccessDeniedException extends MigrationHubStrategyServiceException {
290
+ static {
291
+ __name(this, "AccessDeniedException");
292
+ }
293
+ name = "AccessDeniedException";
294
+ $fault = "client";
284
295
  /**
285
296
  * @internal
286
297
  */
@@ -290,13 +301,9 @@ var _AccessDeniedException = class _AccessDeniedException extends MigrationHubSt
290
301
  $fault: "client",
291
302
  ...opts
292
303
  });
293
- this.name = "AccessDeniedException";
294
- this.$fault = "client";
295
304
  Object.setPrototypeOf(this, _AccessDeniedException.prototype);
296
305
  }
297
306
  };
298
- __name(_AccessDeniedException, "AccessDeniedException");
299
- var AccessDeniedException = _AccessDeniedException;
300
307
  var RuntimeAnalysisStatus = {
301
308
  ANALYSIS_FAILED: "ANALYSIS_FAILED",
302
309
  ANALYSIS_STARTED: "ANALYSIS_STARTED",
@@ -534,7 +541,12 @@ var AuthType = {
534
541
  NTLM: "NTLM",
535
542
  SSH: "SSH"
536
543
  };
537
- var _InternalServerException = class _InternalServerException extends MigrationHubStrategyServiceException {
544
+ var InternalServerException = class _InternalServerException extends MigrationHubStrategyServiceException {
545
+ static {
546
+ __name(this, "InternalServerException");
547
+ }
548
+ name = "InternalServerException";
549
+ $fault = "server";
538
550
  /**
539
551
  * @internal
540
552
  */
@@ -544,14 +556,15 @@ var _InternalServerException = class _InternalServerException extends MigrationH
544
556
  $fault: "server",
545
557
  ...opts
546
558
  });
547
- this.name = "InternalServerException";
548
- this.$fault = "server";
549
559
  Object.setPrototypeOf(this, _InternalServerException.prototype);
550
560
  }
551
561
  };
552
- __name(_InternalServerException, "InternalServerException");
553
- var InternalServerException = _InternalServerException;
554
- var _ResourceNotFoundException = class _ResourceNotFoundException extends MigrationHubStrategyServiceException {
562
+ var ResourceNotFoundException = class _ResourceNotFoundException extends MigrationHubStrategyServiceException {
563
+ static {
564
+ __name(this, "ResourceNotFoundException");
565
+ }
566
+ name = "ResourceNotFoundException";
567
+ $fault = "client";
555
568
  /**
556
569
  * @internal
557
570
  */
@@ -561,14 +574,15 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Migrat
561
574
  $fault: "client",
562
575
  ...opts
563
576
  });
564
- this.name = "ResourceNotFoundException";
565
- this.$fault = "client";
566
577
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
567
578
  }
568
579
  };
569
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
570
- var ResourceNotFoundException = _ResourceNotFoundException;
571
- var _ThrottlingException = class _ThrottlingException extends MigrationHubStrategyServiceException {
580
+ var ThrottlingException = class _ThrottlingException extends MigrationHubStrategyServiceException {
581
+ static {
582
+ __name(this, "ThrottlingException");
583
+ }
584
+ name = "ThrottlingException";
585
+ $fault = "client";
572
586
  /**
573
587
  * @internal
574
588
  */
@@ -578,13 +592,9 @@ var _ThrottlingException = class _ThrottlingException extends MigrationHubStrate
578
592
  $fault: "client",
579
593
  ...opts
580
594
  });
581
- this.name = "ThrottlingException";
582
- this.$fault = "client";
583
595
  Object.setPrototypeOf(this, _ThrottlingException.prototype);
584
596
  }
585
597
  };
586
- __name(_ThrottlingException, "ThrottlingException");
587
- var ThrottlingException = _ThrottlingException;
588
598
  var ImportFileTaskStatus = {
589
599
  DELETE_FAILED: "DeleteFailed",
590
600
  DELETE_IN_PROGRESS: "DeleteInProgress",
@@ -595,7 +605,12 @@ var ImportFileTaskStatus = {
595
605
  IMPORT_PARTIAL_SUCCESS: "ImportPartialSuccess",
596
606
  IMPORT_SUCCESS: "ImportSuccess"
597
607
  };
598
- var _ValidationException = class _ValidationException extends MigrationHubStrategyServiceException {
608
+ var ValidationException = class _ValidationException extends MigrationHubStrategyServiceException {
609
+ static {
610
+ __name(this, "ValidationException");
611
+ }
612
+ name = "ValidationException";
613
+ $fault = "client";
599
614
  /**
600
615
  * @internal
601
616
  */
@@ -605,14 +620,15 @@ var _ValidationException = class _ValidationException extends MigrationHubStrate
605
620
  $fault: "client",
606
621
  ...opts
607
622
  });
608
- this.name = "ValidationException";
609
- this.$fault = "client";
610
623
  Object.setPrototypeOf(this, _ValidationException.prototype);
611
624
  }
612
625
  };
613
- __name(_ValidationException, "ValidationException");
614
- var ValidationException = _ValidationException;
615
- var _DependencyException = class _DependencyException extends MigrationHubStrategyServiceException {
626
+ var DependencyException = class _DependencyException extends MigrationHubStrategyServiceException {
627
+ static {
628
+ __name(this, "DependencyException");
629
+ }
630
+ name = "DependencyException";
631
+ $fault = "server";
616
632
  /**
617
633
  * @internal
618
634
  */
@@ -622,13 +638,9 @@ var _DependencyException = class _DependencyException extends MigrationHubStrate
622
638
  $fault: "server",
623
639
  ...opts
624
640
  });
625
- this.name = "DependencyException";
626
- this.$fault = "server";
627
641
  Object.setPrototypeOf(this, _DependencyException.prototype);
628
642
  }
629
643
  };
630
- __name(_DependencyException, "DependencyException");
631
- var DependencyException = _DependencyException;
632
644
  var DatabaseManagementPreference = {
633
645
  AWS_MANAGED: "AWS-managed",
634
646
  NO_PREFERENCE: "No preference",
@@ -697,7 +709,12 @@ var GroupName = {
697
709
  EXTERNAL_ID: "ExternalId",
698
710
  EXTERNAL_SOURCE_TYPE: "ExternalSourceType"
699
711
  };
700
- var _ServiceLinkedRoleLockClientException = class _ServiceLinkedRoleLockClientException extends MigrationHubStrategyServiceException {
712
+ var ServiceLinkedRoleLockClientException = class _ServiceLinkedRoleLockClientException extends MigrationHubStrategyServiceException {
713
+ static {
714
+ __name(this, "ServiceLinkedRoleLockClientException");
715
+ }
716
+ name = "ServiceLinkedRoleLockClientException";
717
+ $fault = "client";
701
718
  /**
702
719
  * @internal
703
720
  */
@@ -707,13 +724,9 @@ var _ServiceLinkedRoleLockClientException = class _ServiceLinkedRoleLockClientEx
707
724
  $fault: "client",
708
725
  ...opts
709
726
  });
710
- this.name = "ServiceLinkedRoleLockClientException";
711
- this.$fault = "client";
712
727
  Object.setPrototypeOf(this, _ServiceLinkedRoleLockClientException.prototype);
713
728
  }
714
729
  };
715
- __name(_ServiceLinkedRoleLockClientException, "ServiceLinkedRoleLockClientException");
716
- var ServiceLinkedRoleLockClientException = _ServiceLinkedRoleLockClientException;
717
730
  var CollectorHealth = {
718
731
  COLLECTOR_HEALTHY: "COLLECTOR_HEALTHY",
719
732
  COLLECTOR_UNHEALTHY: "COLLECTOR_UNHEALTHY"
@@ -735,7 +748,12 @@ var ServerCriteria = {
735
748
  SERVER_ID: "SERVER_ID",
736
749
  STRATEGY: "STRATEGY"
737
750
  };
738
- var _ConflictException = class _ConflictException extends MigrationHubStrategyServiceException {
751
+ var ConflictException = class _ConflictException extends MigrationHubStrategyServiceException {
752
+ static {
753
+ __name(this, "ConflictException");
754
+ }
755
+ name = "ConflictException";
756
+ $fault = "client";
739
757
  /**
740
758
  * @internal
741
759
  */
@@ -745,14 +763,15 @@ var _ConflictException = class _ConflictException extends MigrationHubStrategySe
745
763
  $fault: "client",
746
764
  ...opts
747
765
  });
748
- this.name = "ConflictException";
749
- this.$fault = "client";
750
766
  Object.setPrototypeOf(this, _ConflictException.prototype);
751
767
  }
752
768
  };
753
- __name(_ConflictException, "ConflictException");
754
- var ConflictException = _ConflictException;
755
- var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends MigrationHubStrategyServiceException {
769
+ var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends MigrationHubStrategyServiceException {
770
+ static {
771
+ __name(this, "ServiceQuotaExceededException");
772
+ }
773
+ name = "ServiceQuotaExceededException";
774
+ $fault = "client";
756
775
  /**
757
776
  * @internal
758
777
  */
@@ -762,13 +781,9 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
762
781
  $fault: "client",
763
782
  ...opts
764
783
  });
765
- this.name = "ServiceQuotaExceededException";
766
- this.$fault = "client";
767
784
  Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
768
785
  }
769
786
  };
770
- __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
771
- var ServiceQuotaExceededException = _ServiceQuotaExceededException;
772
787
  var DataSourceType = {
773
788
  ADS: "ApplicationDiscoveryService",
774
789
  IMPORT: "Import",
@@ -1690,309 +1705,331 @@ var _mR = "maxResults";
1690
1705
  var _nT = "nextToken";
1691
1706
 
1692
1707
  // src/commands/GetApplicationComponentDetailsCommand.ts
1693
- var _GetApplicationComponentDetailsCommand = class _GetApplicationComponentDetailsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1708
+ var GetApplicationComponentDetailsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1694
1709
  return [
1695
1710
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1696
1711
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1697
1712
  ];
1698
1713
  }).s("AWSMigrationHubStrategyRecommendation", "GetApplicationComponentDetails", {}).n("MigrationHubStrategyClient", "GetApplicationComponentDetailsCommand").f(void 0, void 0).ser(se_GetApplicationComponentDetailsCommand).de(de_GetApplicationComponentDetailsCommand).build() {
1714
+ static {
1715
+ __name(this, "GetApplicationComponentDetailsCommand");
1716
+ }
1699
1717
  };
1700
- __name(_GetApplicationComponentDetailsCommand, "GetApplicationComponentDetailsCommand");
1701
- var GetApplicationComponentDetailsCommand = _GetApplicationComponentDetailsCommand;
1702
1718
 
1703
1719
  // src/commands/GetApplicationComponentStrategiesCommand.ts
1704
1720
 
1705
1721
 
1706
1722
 
1707
- var _GetApplicationComponentStrategiesCommand = class _GetApplicationComponentStrategiesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1723
+ var GetApplicationComponentStrategiesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1708
1724
  return [
1709
1725
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1710
1726
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1711
1727
  ];
1712
1728
  }).s("AWSMigrationHubStrategyRecommendation", "GetApplicationComponentStrategies", {}).n("MigrationHubStrategyClient", "GetApplicationComponentStrategiesCommand").f(void 0, void 0).ser(se_GetApplicationComponentStrategiesCommand).de(de_GetApplicationComponentStrategiesCommand).build() {
1729
+ static {
1730
+ __name(this, "GetApplicationComponentStrategiesCommand");
1731
+ }
1713
1732
  };
1714
- __name(_GetApplicationComponentStrategiesCommand, "GetApplicationComponentStrategiesCommand");
1715
- var GetApplicationComponentStrategiesCommand = _GetApplicationComponentStrategiesCommand;
1716
1733
 
1717
1734
  // src/commands/GetAssessmentCommand.ts
1718
1735
 
1719
1736
 
1720
1737
 
1721
- var _GetAssessmentCommand = class _GetAssessmentCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1738
+ var GetAssessmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1722
1739
  return [
1723
1740
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1724
1741
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1725
1742
  ];
1726
1743
  }).s("AWSMigrationHubStrategyRecommendation", "GetAssessment", {}).n("MigrationHubStrategyClient", "GetAssessmentCommand").f(void 0, void 0).ser(se_GetAssessmentCommand).de(de_GetAssessmentCommand).build() {
1744
+ static {
1745
+ __name(this, "GetAssessmentCommand");
1746
+ }
1727
1747
  };
1728
- __name(_GetAssessmentCommand, "GetAssessmentCommand");
1729
- var GetAssessmentCommand = _GetAssessmentCommand;
1730
1748
 
1731
1749
  // src/commands/GetImportFileTaskCommand.ts
1732
1750
 
1733
1751
 
1734
1752
 
1735
- var _GetImportFileTaskCommand = class _GetImportFileTaskCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1753
+ var GetImportFileTaskCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1736
1754
  return [
1737
1755
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1738
1756
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1739
1757
  ];
1740
1758
  }).s("AWSMigrationHubStrategyRecommendation", "GetImportFileTask", {}).n("MigrationHubStrategyClient", "GetImportFileTaskCommand").f(void 0, void 0).ser(se_GetImportFileTaskCommand).de(de_GetImportFileTaskCommand).build() {
1759
+ static {
1760
+ __name(this, "GetImportFileTaskCommand");
1761
+ }
1741
1762
  };
1742
- __name(_GetImportFileTaskCommand, "GetImportFileTaskCommand");
1743
- var GetImportFileTaskCommand = _GetImportFileTaskCommand;
1744
1763
 
1745
1764
  // src/commands/GetLatestAssessmentIdCommand.ts
1746
1765
 
1747
1766
 
1748
1767
 
1749
- var _GetLatestAssessmentIdCommand = class _GetLatestAssessmentIdCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1768
+ var GetLatestAssessmentIdCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1750
1769
  return [
1751
1770
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1752
1771
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1753
1772
  ];
1754
1773
  }).s("AWSMigrationHubStrategyRecommendation", "GetLatestAssessmentId", {}).n("MigrationHubStrategyClient", "GetLatestAssessmentIdCommand").f(void 0, void 0).ser(se_GetLatestAssessmentIdCommand).de(de_GetLatestAssessmentIdCommand).build() {
1774
+ static {
1775
+ __name(this, "GetLatestAssessmentIdCommand");
1776
+ }
1755
1777
  };
1756
- __name(_GetLatestAssessmentIdCommand, "GetLatestAssessmentIdCommand");
1757
- var GetLatestAssessmentIdCommand = _GetLatestAssessmentIdCommand;
1758
1778
 
1759
1779
  // src/commands/GetPortfolioPreferencesCommand.ts
1760
1780
 
1761
1781
 
1762
1782
 
1763
- var _GetPortfolioPreferencesCommand = class _GetPortfolioPreferencesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1783
+ var GetPortfolioPreferencesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1764
1784
  return [
1765
1785
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1766
1786
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1767
1787
  ];
1768
1788
  }).s("AWSMigrationHubStrategyRecommendation", "GetPortfolioPreferences", {}).n("MigrationHubStrategyClient", "GetPortfolioPreferencesCommand").f(void 0, void 0).ser(se_GetPortfolioPreferencesCommand).de(de_GetPortfolioPreferencesCommand).build() {
1789
+ static {
1790
+ __name(this, "GetPortfolioPreferencesCommand");
1791
+ }
1769
1792
  };
1770
- __name(_GetPortfolioPreferencesCommand, "GetPortfolioPreferencesCommand");
1771
- var GetPortfolioPreferencesCommand = _GetPortfolioPreferencesCommand;
1772
1793
 
1773
1794
  // src/commands/GetPortfolioSummaryCommand.ts
1774
1795
 
1775
1796
 
1776
1797
 
1777
- var _GetPortfolioSummaryCommand = class _GetPortfolioSummaryCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1798
+ var GetPortfolioSummaryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1778
1799
  return [
1779
1800
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1780
1801
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1781
1802
  ];
1782
1803
  }).s("AWSMigrationHubStrategyRecommendation", "GetPortfolioSummary", {}).n("MigrationHubStrategyClient", "GetPortfolioSummaryCommand").f(void 0, void 0).ser(se_GetPortfolioSummaryCommand).de(de_GetPortfolioSummaryCommand).build() {
1804
+ static {
1805
+ __name(this, "GetPortfolioSummaryCommand");
1806
+ }
1783
1807
  };
1784
- __name(_GetPortfolioSummaryCommand, "GetPortfolioSummaryCommand");
1785
- var GetPortfolioSummaryCommand = _GetPortfolioSummaryCommand;
1786
1808
 
1787
1809
  // src/commands/GetRecommendationReportDetailsCommand.ts
1788
1810
 
1789
1811
 
1790
1812
 
1791
- var _GetRecommendationReportDetailsCommand = class _GetRecommendationReportDetailsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1813
+ var GetRecommendationReportDetailsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1792
1814
  return [
1793
1815
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1794
1816
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1795
1817
  ];
1796
1818
  }).s("AWSMigrationHubStrategyRecommendation", "GetRecommendationReportDetails", {}).n("MigrationHubStrategyClient", "GetRecommendationReportDetailsCommand").f(void 0, void 0).ser(se_GetRecommendationReportDetailsCommand).de(de_GetRecommendationReportDetailsCommand).build() {
1819
+ static {
1820
+ __name(this, "GetRecommendationReportDetailsCommand");
1821
+ }
1797
1822
  };
1798
- __name(_GetRecommendationReportDetailsCommand, "GetRecommendationReportDetailsCommand");
1799
- var GetRecommendationReportDetailsCommand = _GetRecommendationReportDetailsCommand;
1800
1823
 
1801
1824
  // src/commands/GetServerDetailsCommand.ts
1802
1825
 
1803
1826
 
1804
1827
 
1805
- var _GetServerDetailsCommand = class _GetServerDetailsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1828
+ var GetServerDetailsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1806
1829
  return [
1807
1830
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1808
1831
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1809
1832
  ];
1810
1833
  }).s("AWSMigrationHubStrategyRecommendation", "GetServerDetails", {}).n("MigrationHubStrategyClient", "GetServerDetailsCommand").f(void 0, void 0).ser(se_GetServerDetailsCommand).de(de_GetServerDetailsCommand).build() {
1834
+ static {
1835
+ __name(this, "GetServerDetailsCommand");
1836
+ }
1811
1837
  };
1812
- __name(_GetServerDetailsCommand, "GetServerDetailsCommand");
1813
- var GetServerDetailsCommand = _GetServerDetailsCommand;
1814
1838
 
1815
1839
  // src/commands/GetServerStrategiesCommand.ts
1816
1840
 
1817
1841
 
1818
1842
 
1819
- var _GetServerStrategiesCommand = class _GetServerStrategiesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1843
+ var GetServerStrategiesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1820
1844
  return [
1821
1845
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1822
1846
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1823
1847
  ];
1824
1848
  }).s("AWSMigrationHubStrategyRecommendation", "GetServerStrategies", {}).n("MigrationHubStrategyClient", "GetServerStrategiesCommand").f(void 0, void 0).ser(se_GetServerStrategiesCommand).de(de_GetServerStrategiesCommand).build() {
1849
+ static {
1850
+ __name(this, "GetServerStrategiesCommand");
1851
+ }
1825
1852
  };
1826
- __name(_GetServerStrategiesCommand, "GetServerStrategiesCommand");
1827
- var GetServerStrategiesCommand = _GetServerStrategiesCommand;
1828
1853
 
1829
1854
  // src/commands/ListAnalyzableServersCommand.ts
1830
1855
 
1831
1856
 
1832
1857
 
1833
- var _ListAnalyzableServersCommand = class _ListAnalyzableServersCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1858
+ var ListAnalyzableServersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1834
1859
  return [
1835
1860
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1836
1861
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1837
1862
  ];
1838
1863
  }).s("AWSMigrationHubStrategyRecommendation", "ListAnalyzableServers", {}).n("MigrationHubStrategyClient", "ListAnalyzableServersCommand").f(void 0, void 0).ser(se_ListAnalyzableServersCommand).de(de_ListAnalyzableServersCommand).build() {
1864
+ static {
1865
+ __name(this, "ListAnalyzableServersCommand");
1866
+ }
1839
1867
  };
1840
- __name(_ListAnalyzableServersCommand, "ListAnalyzableServersCommand");
1841
- var ListAnalyzableServersCommand = _ListAnalyzableServersCommand;
1842
1868
 
1843
1869
  // src/commands/ListApplicationComponentsCommand.ts
1844
1870
 
1845
1871
 
1846
1872
 
1847
- var _ListApplicationComponentsCommand = class _ListApplicationComponentsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1873
+ var ListApplicationComponentsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1848
1874
  return [
1849
1875
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1850
1876
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1851
1877
  ];
1852
1878
  }).s("AWSMigrationHubStrategyRecommendation", "ListApplicationComponents", {}).n("MigrationHubStrategyClient", "ListApplicationComponentsCommand").f(void 0, void 0).ser(se_ListApplicationComponentsCommand).de(de_ListApplicationComponentsCommand).build() {
1879
+ static {
1880
+ __name(this, "ListApplicationComponentsCommand");
1881
+ }
1853
1882
  };
1854
- __name(_ListApplicationComponentsCommand, "ListApplicationComponentsCommand");
1855
- var ListApplicationComponentsCommand = _ListApplicationComponentsCommand;
1856
1883
 
1857
1884
  // src/commands/ListCollectorsCommand.ts
1858
1885
 
1859
1886
 
1860
1887
 
1861
- var _ListCollectorsCommand = class _ListCollectorsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1888
+ var ListCollectorsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1862
1889
  return [
1863
1890
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1864
1891
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1865
1892
  ];
1866
1893
  }).s("AWSMigrationHubStrategyRecommendation", "ListCollectors", {}).n("MigrationHubStrategyClient", "ListCollectorsCommand").f(void 0, void 0).ser(se_ListCollectorsCommand).de(de_ListCollectorsCommand).build() {
1894
+ static {
1895
+ __name(this, "ListCollectorsCommand");
1896
+ }
1867
1897
  };
1868
- __name(_ListCollectorsCommand, "ListCollectorsCommand");
1869
- var ListCollectorsCommand = _ListCollectorsCommand;
1870
1898
 
1871
1899
  // src/commands/ListImportFileTaskCommand.ts
1872
1900
 
1873
1901
 
1874
1902
 
1875
- var _ListImportFileTaskCommand = class _ListImportFileTaskCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1903
+ var ListImportFileTaskCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1876
1904
  return [
1877
1905
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1878
1906
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1879
1907
  ];
1880
1908
  }).s("AWSMigrationHubStrategyRecommendation", "ListImportFileTask", {}).n("MigrationHubStrategyClient", "ListImportFileTaskCommand").f(void 0, void 0).ser(se_ListImportFileTaskCommand).de(de_ListImportFileTaskCommand).build() {
1909
+ static {
1910
+ __name(this, "ListImportFileTaskCommand");
1911
+ }
1881
1912
  };
1882
- __name(_ListImportFileTaskCommand, "ListImportFileTaskCommand");
1883
- var ListImportFileTaskCommand = _ListImportFileTaskCommand;
1884
1913
 
1885
1914
  // src/commands/ListServersCommand.ts
1886
1915
 
1887
1916
 
1888
1917
 
1889
- var _ListServersCommand = class _ListServersCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1918
+ var ListServersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1890
1919
  return [
1891
1920
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1892
1921
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1893
1922
  ];
1894
1923
  }).s("AWSMigrationHubStrategyRecommendation", "ListServers", {}).n("MigrationHubStrategyClient", "ListServersCommand").f(void 0, void 0).ser(se_ListServersCommand).de(de_ListServersCommand).build() {
1924
+ static {
1925
+ __name(this, "ListServersCommand");
1926
+ }
1895
1927
  };
1896
- __name(_ListServersCommand, "ListServersCommand");
1897
- var ListServersCommand = _ListServersCommand;
1898
1928
 
1899
1929
  // src/commands/PutPortfolioPreferencesCommand.ts
1900
1930
 
1901
1931
 
1902
1932
 
1903
- var _PutPortfolioPreferencesCommand = class _PutPortfolioPreferencesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1933
+ var PutPortfolioPreferencesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1904
1934
  return [
1905
1935
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1906
1936
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1907
1937
  ];
1908
1938
  }).s("AWSMigrationHubStrategyRecommendation", "PutPortfolioPreferences", {}).n("MigrationHubStrategyClient", "PutPortfolioPreferencesCommand").f(void 0, void 0).ser(se_PutPortfolioPreferencesCommand).de(de_PutPortfolioPreferencesCommand).build() {
1939
+ static {
1940
+ __name(this, "PutPortfolioPreferencesCommand");
1941
+ }
1909
1942
  };
1910
- __name(_PutPortfolioPreferencesCommand, "PutPortfolioPreferencesCommand");
1911
- var PutPortfolioPreferencesCommand = _PutPortfolioPreferencesCommand;
1912
1943
 
1913
1944
  // src/commands/StartAssessmentCommand.ts
1914
1945
 
1915
1946
 
1916
1947
 
1917
- var _StartAssessmentCommand = class _StartAssessmentCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1948
+ var StartAssessmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1918
1949
  return [
1919
1950
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1920
1951
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1921
1952
  ];
1922
1953
  }).s("AWSMigrationHubStrategyRecommendation", "StartAssessment", {}).n("MigrationHubStrategyClient", "StartAssessmentCommand").f(void 0, void 0).ser(se_StartAssessmentCommand).de(de_StartAssessmentCommand).build() {
1954
+ static {
1955
+ __name(this, "StartAssessmentCommand");
1956
+ }
1923
1957
  };
1924
- __name(_StartAssessmentCommand, "StartAssessmentCommand");
1925
- var StartAssessmentCommand = _StartAssessmentCommand;
1926
1958
 
1927
1959
  // src/commands/StartImportFileTaskCommand.ts
1928
1960
 
1929
1961
 
1930
1962
 
1931
- var _StartImportFileTaskCommand = class _StartImportFileTaskCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1963
+ var StartImportFileTaskCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1932
1964
  return [
1933
1965
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1934
1966
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1935
1967
  ];
1936
1968
  }).s("AWSMigrationHubStrategyRecommendation", "StartImportFileTask", {}).n("MigrationHubStrategyClient", "StartImportFileTaskCommand").f(void 0, void 0).ser(se_StartImportFileTaskCommand).de(de_StartImportFileTaskCommand).build() {
1969
+ static {
1970
+ __name(this, "StartImportFileTaskCommand");
1971
+ }
1937
1972
  };
1938
- __name(_StartImportFileTaskCommand, "StartImportFileTaskCommand");
1939
- var StartImportFileTaskCommand = _StartImportFileTaskCommand;
1940
1973
 
1941
1974
  // src/commands/StartRecommendationReportGenerationCommand.ts
1942
1975
 
1943
1976
 
1944
1977
 
1945
- var _StartRecommendationReportGenerationCommand = class _StartRecommendationReportGenerationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1978
+ var StartRecommendationReportGenerationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1946
1979
  return [
1947
1980
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1948
1981
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1949
1982
  ];
1950
1983
  }).s("AWSMigrationHubStrategyRecommendation", "StartRecommendationReportGeneration", {}).n("MigrationHubStrategyClient", "StartRecommendationReportGenerationCommand").f(void 0, void 0).ser(se_StartRecommendationReportGenerationCommand).de(de_StartRecommendationReportGenerationCommand).build() {
1984
+ static {
1985
+ __name(this, "StartRecommendationReportGenerationCommand");
1986
+ }
1951
1987
  };
1952
- __name(_StartRecommendationReportGenerationCommand, "StartRecommendationReportGenerationCommand");
1953
- var StartRecommendationReportGenerationCommand = _StartRecommendationReportGenerationCommand;
1954
1988
 
1955
1989
  // src/commands/StopAssessmentCommand.ts
1956
1990
 
1957
1991
 
1958
1992
 
1959
- var _StopAssessmentCommand = class _StopAssessmentCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1993
+ var StopAssessmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1960
1994
  return [
1961
1995
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1962
1996
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1963
1997
  ];
1964
1998
  }).s("AWSMigrationHubStrategyRecommendation", "StopAssessment", {}).n("MigrationHubStrategyClient", "StopAssessmentCommand").f(void 0, void 0).ser(se_StopAssessmentCommand).de(de_StopAssessmentCommand).build() {
1999
+ static {
2000
+ __name(this, "StopAssessmentCommand");
2001
+ }
1965
2002
  };
1966
- __name(_StopAssessmentCommand, "StopAssessmentCommand");
1967
- var StopAssessmentCommand = _StopAssessmentCommand;
1968
2003
 
1969
2004
  // src/commands/UpdateApplicationComponentConfigCommand.ts
1970
2005
 
1971
2006
 
1972
2007
 
1973
- var _UpdateApplicationComponentConfigCommand = class _UpdateApplicationComponentConfigCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2008
+ var UpdateApplicationComponentConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1974
2009
  return [
1975
2010
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1976
2011
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1977
2012
  ];
1978
2013
  }).s("AWSMigrationHubStrategyRecommendation", "UpdateApplicationComponentConfig", {}).n("MigrationHubStrategyClient", "UpdateApplicationComponentConfigCommand").f(UpdateApplicationComponentConfigRequestFilterSensitiveLog, void 0).ser(se_UpdateApplicationComponentConfigCommand).de(de_UpdateApplicationComponentConfigCommand).build() {
2014
+ static {
2015
+ __name(this, "UpdateApplicationComponentConfigCommand");
2016
+ }
1979
2017
  };
1980
- __name(_UpdateApplicationComponentConfigCommand, "UpdateApplicationComponentConfigCommand");
1981
- var UpdateApplicationComponentConfigCommand = _UpdateApplicationComponentConfigCommand;
1982
2018
 
1983
2019
  // src/commands/UpdateServerConfigCommand.ts
1984
2020
 
1985
2021
 
1986
2022
 
1987
- var _UpdateServerConfigCommand = class _UpdateServerConfigCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2023
+ var UpdateServerConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1988
2024
  return [
1989
2025
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1990
2026
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1991
2027
  ];
1992
2028
  }).s("AWSMigrationHubStrategyRecommendation", "UpdateServerConfig", {}).n("MigrationHubStrategyClient", "UpdateServerConfigCommand").f(void 0, void 0).ser(se_UpdateServerConfigCommand).de(de_UpdateServerConfigCommand).build() {
2029
+ static {
2030
+ __name(this, "UpdateServerConfigCommand");
2031
+ }
1993
2032
  };
1994
- __name(_UpdateServerConfigCommand, "UpdateServerConfigCommand");
1995
- var UpdateServerConfigCommand = _UpdateServerConfigCommand;
1996
2033
 
1997
2034
  // src/MigrationHubStrategy.ts
1998
2035
  var commands = {
@@ -2019,10 +2056,11 @@ var commands = {
2019
2056
  UpdateApplicationComponentConfigCommand,
2020
2057
  UpdateServerConfigCommand
2021
2058
  };
2022
- var _MigrationHubStrategy = class _MigrationHubStrategy extends MigrationHubStrategyClient {
2059
+ var MigrationHubStrategy = class extends MigrationHubStrategyClient {
2060
+ static {
2061
+ __name(this, "MigrationHubStrategy");
2062
+ }
2023
2063
  };
2024
- __name(_MigrationHubStrategy, "MigrationHubStrategy");
2025
- var MigrationHubStrategy = _MigrationHubStrategy;
2026
2064
  (0, import_smithy_client.createAggregatedClient)(commands, MigrationHubStrategy);
2027
2065
 
2028
2066
  // src/pagination/GetServerDetailsPaginator.ts
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class MigrationHubStrategyClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -1,14 +1,14 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { MigrationHubStrategyServiceException as __BaseException } from "./MigrationHubStrategyServiceException";
3
3
  export class AccessDeniedException extends __BaseException {
4
+ name = "AccessDeniedException";
5
+ $fault = "client";
4
6
  constructor(opts) {
5
7
  super({
6
8
  name: "AccessDeniedException",
7
9
  $fault: "client",
8
10
  ...opts,
9
11
  });
10
- this.name = "AccessDeniedException";
11
- this.$fault = "client";
12
12
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
13
  }
14
14
  }
@@ -250,38 +250,38 @@ export const AuthType = {
250
250
  SSH: "SSH",
251
251
  };
252
252
  export class InternalServerException extends __BaseException {
253
+ name = "InternalServerException";
254
+ $fault = "server";
253
255
  constructor(opts) {
254
256
  super({
255
257
  name: "InternalServerException",
256
258
  $fault: "server",
257
259
  ...opts,
258
260
  });
259
- this.name = "InternalServerException";
260
- this.$fault = "server";
261
261
  Object.setPrototypeOf(this, InternalServerException.prototype);
262
262
  }
263
263
  }
264
264
  export class ResourceNotFoundException extends __BaseException {
265
+ name = "ResourceNotFoundException";
266
+ $fault = "client";
265
267
  constructor(opts) {
266
268
  super({
267
269
  name: "ResourceNotFoundException",
268
270
  $fault: "client",
269
271
  ...opts,
270
272
  });
271
- this.name = "ResourceNotFoundException";
272
- this.$fault = "client";
273
273
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
274
274
  }
275
275
  }
276
276
  export class ThrottlingException extends __BaseException {
277
+ name = "ThrottlingException";
278
+ $fault = "client";
277
279
  constructor(opts) {
278
280
  super({
279
281
  name: "ThrottlingException",
280
282
  $fault: "client",
281
283
  ...opts,
282
284
  });
283
- this.name = "ThrottlingException";
284
- this.$fault = "client";
285
285
  Object.setPrototypeOf(this, ThrottlingException.prototype);
286
286
  }
287
287
  }
@@ -296,26 +296,26 @@ export const ImportFileTaskStatus = {
296
296
  IMPORT_SUCCESS: "ImportSuccess",
297
297
  };
298
298
  export class ValidationException extends __BaseException {
299
+ name = "ValidationException";
300
+ $fault = "client";
299
301
  constructor(opts) {
300
302
  super({
301
303
  name: "ValidationException",
302
304
  $fault: "client",
303
305
  ...opts,
304
306
  });
305
- this.name = "ValidationException";
306
- this.$fault = "client";
307
307
  Object.setPrototypeOf(this, ValidationException.prototype);
308
308
  }
309
309
  }
310
310
  export class DependencyException extends __BaseException {
311
+ name = "DependencyException";
312
+ $fault = "server";
311
313
  constructor(opts) {
312
314
  super({
313
315
  name: "DependencyException",
314
316
  $fault: "server",
315
317
  ...opts,
316
318
  });
317
- this.name = "DependencyException";
318
- this.$fault = "server";
319
319
  Object.setPrototypeOf(this, DependencyException.prototype);
320
320
  }
321
321
  }
@@ -388,14 +388,14 @@ export const GroupName = {
388
388
  EXTERNAL_SOURCE_TYPE: "ExternalSourceType",
389
389
  };
390
390
  export class ServiceLinkedRoleLockClientException extends __BaseException {
391
+ name = "ServiceLinkedRoleLockClientException";
392
+ $fault = "client";
391
393
  constructor(opts) {
392
394
  super({
393
395
  name: "ServiceLinkedRoleLockClientException",
394
396
  $fault: "client",
395
397
  ...opts,
396
398
  });
397
- this.name = "ServiceLinkedRoleLockClientException";
398
- this.$fault = "client";
399
399
  Object.setPrototypeOf(this, ServiceLinkedRoleLockClientException.prototype);
400
400
  }
401
401
  }
@@ -421,26 +421,26 @@ export const ServerCriteria = {
421
421
  STRATEGY: "STRATEGY",
422
422
  };
423
423
  export class ConflictException extends __BaseException {
424
+ name = "ConflictException";
425
+ $fault = "client";
424
426
  constructor(opts) {
425
427
  super({
426
428
  name: "ConflictException",
427
429
  $fault: "client",
428
430
  ...opts,
429
431
  });
430
- this.name = "ConflictException";
431
- this.$fault = "client";
432
432
  Object.setPrototypeOf(this, ConflictException.prototype);
433
433
  }
434
434
  }
435
435
  export class ServiceQuotaExceededException extends __BaseException {
436
+ name = "ServiceQuotaExceededException";
437
+ $fault = "client";
436
438
  constructor(opts) {
437
439
  super({
438
440
  name: "ServiceQuotaExceededException",
439
441
  $fault: "client",
440
442
  ...opts,
441
443
  });
442
- this.name = "ServiceQuotaExceededException";
443
- this.$fault = "client";
444
444
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
445
445
  }
446
446
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: MigrationHubStrategyClientConfig
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: MigrationHubStrategyClientConfig
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: MigrationHubStrategyClientConfig
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: MigrationHubStrategyClientConfig
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -8,9 +8,11 @@ export declare const getRuntimeConfig: (
8
8
  import("@smithy/smithy-client").ResolvedDefaultsMode
9
9
  >;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (
12
- input: any
13
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ _: unknown
15
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
16
  defaultUserAgentProvider: (
15
17
  config?:
16
18
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -8,13 +8,15 @@ export declare const getRuntimeConfig: (
8
8
  import("@smithy/smithy-client").ResolvedDefaultsMode
9
9
  >;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (
12
- init?:
13
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
- | undefined
15
- ) => import("@smithy/types").MemoizedProvider<
16
- import("@smithy/types").AwsCredentialIdentity
17
- >;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ init?:
15
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
16
+ | undefined
17
+ ) => import("@smithy/types").MemoizedProvider<
18
+ import("@smithy/types").AwsCredentialIdentity
19
+ >);
18
20
  defaultUserAgentProvider: (
19
21
  config?:
20
22
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -30,9 +30,11 @@ export declare const getRuntimeConfig: (
30
30
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
31
31
  | undefined
32
32
  ) => Promise<import("@smithy/types").UserAgent>;
33
- credentialDefaultProvider: (
34
- input: any
35
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
33
+ credentialDefaultProvider:
34
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
35
+ | ((
36
+ _: unknown
37
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
36
38
  maxAttempts: number | import("@smithy/types").Provider<number>;
37
39
  retryMode: string | import("@smithy/types").Provider<string>;
38
40
  logger: import("@smithy/types").Logger;
@@ -52,11 +54,21 @@ export declare const getRuntimeConfig: (
52
54
  | import("@smithy/types").RetryStrategyV2
53
55
  | undefined;
54
56
  endpoint?:
55
- | string
56
- | import("@smithy/types").Endpoint
57
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
58
- | import("@smithy/types").EndpointV2
59
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
57
+ | ((
58
+ | string
59
+ | import("@smithy/types").Endpoint
60
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
61
+ | import("@smithy/types").EndpointV2
62
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
63
+ ) &
64
+ (
65
+ | string
66
+ | import("@smithy/types").Provider<string>
67
+ | import("@smithy/types").Endpoint
68
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
69
+ | import("@smithy/types").EndpointV2
70
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
71
+ ))
60
72
  | undefined;
61
73
  endpointProvider: (
62
74
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-migrationhubstrategy",
3
3
  "description": "AWS SDK for JavaScript Migrationhubstrategy Client for Node.js, Browser and React Native",
4
- "version": "3.716.0",
4
+ "version": "3.723.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-migrationhubstrategy",
@@ -20,56 +20,56 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.716.0",
24
- "@aws-sdk/client-sts": "3.716.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.716.0",
27
- "@aws-sdk/middleware-host-header": "3.714.0",
28
- "@aws-sdk/middleware-logger": "3.714.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.716.0",
31
- "@aws-sdk/region-config-resolver": "3.714.0",
32
- "@aws-sdk/types": "3.714.0",
33
- "@aws-sdk/util-endpoints": "3.714.0",
34
- "@aws-sdk/util-user-agent-browser": "3.714.0",
35
- "@aws-sdk/util-user-agent-node": "3.716.0",
36
- "@smithy/config-resolver": "^3.0.13",
37
- "@smithy/core": "^2.5.5",
38
- "@smithy/fetch-http-handler": "^4.1.2",
39
- "@smithy/hash-node": "^3.0.11",
40
- "@smithy/invalid-dependency": "^3.0.11",
41
- "@smithy/middleware-content-length": "^3.0.13",
42
- "@smithy/middleware-endpoint": "^3.2.6",
43
- "@smithy/middleware-retry": "^3.0.31",
44
- "@smithy/middleware-serde": "^3.0.11",
45
- "@smithy/middleware-stack": "^3.0.11",
46
- "@smithy/node-config-provider": "^3.1.12",
47
- "@smithy/node-http-handler": "^3.3.2",
48
- "@smithy/protocol-http": "^4.1.8",
49
- "@smithy/smithy-client": "^3.5.1",
50
- "@smithy/types": "^3.7.2",
51
- "@smithy/url-parser": "^3.0.11",
52
- "@smithy/util-base64": "^3.0.0",
53
- "@smithy/util-body-length-browser": "^3.0.0",
54
- "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.31",
56
- "@smithy/util-defaults-mode-node": "^3.0.31",
57
- "@smithy/util-endpoints": "^2.1.7",
58
- "@smithy/util-middleware": "^3.0.11",
59
- "@smithy/util-retry": "^3.0.11",
60
- "@smithy/util-utf8": "^3.0.0",
23
+ "@aws-sdk/client-sso-oidc": "3.723.0",
24
+ "@aws-sdk/client-sts": "3.723.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.723.0",
27
+ "@aws-sdk/middleware-host-header": "3.723.0",
28
+ "@aws-sdk/middleware-logger": "3.723.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
30
+ "@aws-sdk/middleware-user-agent": "3.723.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.723.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.723.0",
36
+ "@smithy/config-resolver": "^4.0.0",
37
+ "@smithy/core": "^3.0.0",
38
+ "@smithy/fetch-http-handler": "^5.0.0",
39
+ "@smithy/hash-node": "^4.0.0",
40
+ "@smithy/invalid-dependency": "^4.0.0",
41
+ "@smithy/middleware-content-length": "^4.0.0",
42
+ "@smithy/middleware-endpoint": "^4.0.0",
43
+ "@smithy/middleware-retry": "^4.0.0",
44
+ "@smithy/middleware-serde": "^4.0.0",
45
+ "@smithy/middleware-stack": "^4.0.0",
46
+ "@smithy/node-config-provider": "^4.0.0",
47
+ "@smithy/node-http-handler": "^4.0.0",
48
+ "@smithy/protocol-http": "^5.0.0",
49
+ "@smithy/smithy-client": "^4.0.0",
50
+ "@smithy/types": "^4.0.0",
51
+ "@smithy/url-parser": "^4.0.0",
52
+ "@smithy/util-base64": "^4.0.0",
53
+ "@smithy/util-body-length-browser": "^4.0.0",
54
+ "@smithy/util-body-length-node": "^4.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
56
+ "@smithy/util-defaults-mode-node": "^4.0.0",
57
+ "@smithy/util-endpoints": "^3.0.0",
58
+ "@smithy/util-middleware": "^4.0.0",
59
+ "@smithy/util-retry": "^4.0.0",
60
+ "@smithy/util-utf8": "^4.0.0",
61
61
  "tslib": "^2.6.2"
62
62
  },
63
63
  "devDependencies": {
64
- "@tsconfig/node16": "16.1.3",
65
- "@types/node": "^16.18.96",
64
+ "@tsconfig/node18": "18.2.4",
65
+ "@types/node": "^18.19.69",
66
66
  "concurrently": "7.0.0",
67
67
  "downlevel-dts": "0.10.1",
68
68
  "rimraf": "3.0.2",
69
- "typescript": "~4.9.5"
69
+ "typescript": "~5.2.2"
70
70
  },
71
71
  "engines": {
72
- "node": ">=16.0.0"
72
+ "node": ">=18.0.0"
73
73
  },
74
74
  "typesVersions": {
75
75
  "<4.0": {