@aws-sdk/client-migrationhubstrategy 3.1077.0 → 3.1079.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/dist-cjs/index.js +30 -223
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/GetApplicationComponentDetailsCommand.js +2 -14
  4. package/dist-es/commands/GetApplicationComponentStrategiesCommand.js +2 -14
  5. package/dist-es/commands/GetAssessmentCommand.js +2 -14
  6. package/dist-es/commands/GetImportFileTaskCommand.js +2 -14
  7. package/dist-es/commands/GetLatestAssessmentIdCommand.js +2 -14
  8. package/dist-es/commands/GetPortfolioPreferencesCommand.js +2 -14
  9. package/dist-es/commands/GetPortfolioSummaryCommand.js +2 -14
  10. package/dist-es/commands/GetRecommendationReportDetailsCommand.js +2 -14
  11. package/dist-es/commands/GetServerDetailsCommand.js +2 -14
  12. package/dist-es/commands/GetServerStrategiesCommand.js +2 -14
  13. package/dist-es/commands/ListAnalyzableServersCommand.js +2 -14
  14. package/dist-es/commands/ListApplicationComponentsCommand.js +2 -14
  15. package/dist-es/commands/ListCollectorsCommand.js +2 -14
  16. package/dist-es/commands/ListImportFileTaskCommand.js +2 -14
  17. package/dist-es/commands/ListServersCommand.js +2 -14
  18. package/dist-es/commands/PutPortfolioPreferencesCommand.js +2 -14
  19. package/dist-es/commands/StartAssessmentCommand.js +2 -14
  20. package/dist-es/commands/StartImportFileTaskCommand.js +2 -14
  21. package/dist-es/commands/StartRecommendationReportGenerationCommand.js +2 -14
  22. package/dist-es/commands/StopAssessmentCommand.js +2 -14
  23. package/dist-es/commands/UpdateApplicationComponentConfigCommand.js +2 -14
  24. package/dist-es/commands/UpdateServerConfigCommand.js +2 -14
  25. package/dist-es/index.js +1 -0
  26. package/dist-types/commandBuilder.d.ts +18 -0
  27. package/dist-types/commands/GetApplicationComponentDetailsCommand.d.ts +3 -8
  28. package/dist-types/commands/GetApplicationComponentStrategiesCommand.d.ts +3 -8
  29. package/dist-types/commands/GetAssessmentCommand.d.ts +3 -8
  30. package/dist-types/commands/GetImportFileTaskCommand.d.ts +3 -8
  31. package/dist-types/commands/GetLatestAssessmentIdCommand.d.ts +3 -8
  32. package/dist-types/commands/GetPortfolioPreferencesCommand.d.ts +3 -8
  33. package/dist-types/commands/GetPortfolioSummaryCommand.d.ts +3 -8
  34. package/dist-types/commands/GetRecommendationReportDetailsCommand.d.ts +3 -8
  35. package/dist-types/commands/GetServerDetailsCommand.d.ts +3 -8
  36. package/dist-types/commands/GetServerStrategiesCommand.d.ts +3 -8
  37. package/dist-types/commands/ListAnalyzableServersCommand.d.ts +3 -8
  38. package/dist-types/commands/ListApplicationComponentsCommand.d.ts +3 -8
  39. package/dist-types/commands/ListCollectorsCommand.d.ts +3 -8
  40. package/dist-types/commands/ListImportFileTaskCommand.d.ts +3 -8
  41. package/dist-types/commands/ListServersCommand.d.ts +3 -8
  42. package/dist-types/commands/PutPortfolioPreferencesCommand.d.ts +3 -8
  43. package/dist-types/commands/StartAssessmentCommand.d.ts +3 -8
  44. package/dist-types/commands/StartImportFileTaskCommand.d.ts +3 -8
  45. package/dist-types/commands/StartRecommendationReportGenerationCommand.d.ts +3 -8
  46. package/dist-types/commands/StopAssessmentCommand.d.ts +3 -8
  47. package/dist-types/commands/UpdateApplicationComponentConfigCommand.d.ts +3 -8
  48. package/dist-types/commands/UpdateServerConfigCommand.d.ts +3 -8
  49. package/dist-types/index.d.ts +1 -0
  50. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  51. package/dist-types/ts3.4/commands/GetApplicationComponentDetailsCommand.d.ts +7 -16
  52. package/dist-types/ts3.4/commands/GetApplicationComponentStrategiesCommand.d.ts +7 -16
  53. package/dist-types/ts3.4/commands/GetAssessmentCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/GetImportFileTaskCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/commands/GetLatestAssessmentIdCommand.d.ts +7 -16
  56. package/dist-types/ts3.4/commands/GetPortfolioPreferencesCommand.d.ts +7 -16
  57. package/dist-types/ts3.4/commands/GetPortfolioSummaryCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/commands/GetRecommendationReportDetailsCommand.d.ts +7 -16
  59. package/dist-types/ts3.4/commands/GetServerDetailsCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/GetServerStrategiesCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/ListAnalyzableServersCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/ListApplicationComponentsCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/ListCollectorsCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/ListImportFileTaskCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/ListServersCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/PutPortfolioPreferencesCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/StartAssessmentCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/StartImportFileTaskCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/StartRecommendationReportGenerationCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/StopAssessmentCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/UpdateApplicationComponentConfigCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/UpdateServerConfigCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/index.d.ts +1 -0
  74. package/package.json +8 -8
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1078.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -1418,268 +1419,74 @@ class MigrationHubStrategyClient extends Client {
1418
1419
  }
1419
1420
  }
1420
1421
 
1421
- class GetApplicationComponentDetailsCommand extends Command
1422
- .classBuilder()
1423
- .ep(commonParams)
1424
- .m(function (Command, cs, config, o) {
1425
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1426
- })
1427
- .s("AWSMigrationHubStrategyRecommendation", "GetApplicationComponentDetails", {})
1428
- .n("MigrationHubStrategyClient", "GetApplicationComponentDetailsCommand")
1429
- .sc(GetApplicationComponentDetails$)
1430
- .build() {
1422
+ const command = makeBuilder(commonParams, "AWSMigrationHubStrategyRecommendation", "MigrationHubStrategyClient", getEndpointPlugin);
1423
+ const _ep0 = {};
1424
+ const _mw0 = (Command, cs, config, o) => [];
1425
+
1426
+ class GetApplicationComponentDetailsCommand extends command(_ep0, _mw0, "GetApplicationComponentDetails", GetApplicationComponentDetails$) {
1431
1427
  }
1432
1428
 
1433
- class GetApplicationComponentStrategiesCommand extends Command
1434
- .classBuilder()
1435
- .ep(commonParams)
1436
- .m(function (Command, cs, config, o) {
1437
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1438
- })
1439
- .s("AWSMigrationHubStrategyRecommendation", "GetApplicationComponentStrategies", {})
1440
- .n("MigrationHubStrategyClient", "GetApplicationComponentStrategiesCommand")
1441
- .sc(GetApplicationComponentStrategies$)
1442
- .build() {
1429
+ class GetApplicationComponentStrategiesCommand extends command(_ep0, _mw0, "GetApplicationComponentStrategies", GetApplicationComponentStrategies$) {
1443
1430
  }
1444
1431
 
1445
- class GetAssessmentCommand extends Command
1446
- .classBuilder()
1447
- .ep(commonParams)
1448
- .m(function (Command, cs, config, o) {
1449
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1450
- })
1451
- .s("AWSMigrationHubStrategyRecommendation", "GetAssessment", {})
1452
- .n("MigrationHubStrategyClient", "GetAssessmentCommand")
1453
- .sc(GetAssessment$)
1454
- .build() {
1432
+ class GetAssessmentCommand extends command(_ep0, _mw0, "GetAssessment", GetAssessment$) {
1455
1433
  }
1456
1434
 
1457
- class GetImportFileTaskCommand extends Command
1458
- .classBuilder()
1459
- .ep(commonParams)
1460
- .m(function (Command, cs, config, o) {
1461
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1462
- })
1463
- .s("AWSMigrationHubStrategyRecommendation", "GetImportFileTask", {})
1464
- .n("MigrationHubStrategyClient", "GetImportFileTaskCommand")
1465
- .sc(GetImportFileTask$)
1466
- .build() {
1435
+ class GetImportFileTaskCommand extends command(_ep0, _mw0, "GetImportFileTask", GetImportFileTask$) {
1467
1436
  }
1468
1437
 
1469
- class GetLatestAssessmentIdCommand extends Command
1470
- .classBuilder()
1471
- .ep(commonParams)
1472
- .m(function (Command, cs, config, o) {
1473
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1474
- })
1475
- .s("AWSMigrationHubStrategyRecommendation", "GetLatestAssessmentId", {})
1476
- .n("MigrationHubStrategyClient", "GetLatestAssessmentIdCommand")
1477
- .sc(GetLatestAssessmentId$)
1478
- .build() {
1438
+ class GetLatestAssessmentIdCommand extends command(_ep0, _mw0, "GetLatestAssessmentId", GetLatestAssessmentId$) {
1479
1439
  }
1480
1440
 
1481
- class GetPortfolioPreferencesCommand extends Command
1482
- .classBuilder()
1483
- .ep(commonParams)
1484
- .m(function (Command, cs, config, o) {
1485
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1486
- })
1487
- .s("AWSMigrationHubStrategyRecommendation", "GetPortfolioPreferences", {})
1488
- .n("MigrationHubStrategyClient", "GetPortfolioPreferencesCommand")
1489
- .sc(GetPortfolioPreferences$)
1490
- .build() {
1441
+ class GetPortfolioPreferencesCommand extends command(_ep0, _mw0, "GetPortfolioPreferences", GetPortfolioPreferences$) {
1491
1442
  }
1492
1443
 
1493
- class GetPortfolioSummaryCommand extends Command
1494
- .classBuilder()
1495
- .ep(commonParams)
1496
- .m(function (Command, cs, config, o) {
1497
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1498
- })
1499
- .s("AWSMigrationHubStrategyRecommendation", "GetPortfolioSummary", {})
1500
- .n("MigrationHubStrategyClient", "GetPortfolioSummaryCommand")
1501
- .sc(GetPortfolioSummary$)
1502
- .build() {
1444
+ class GetPortfolioSummaryCommand extends command(_ep0, _mw0, "GetPortfolioSummary", GetPortfolioSummary$) {
1503
1445
  }
1504
1446
 
1505
- class GetRecommendationReportDetailsCommand extends Command
1506
- .classBuilder()
1507
- .ep(commonParams)
1508
- .m(function (Command, cs, config, o) {
1509
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1510
- })
1511
- .s("AWSMigrationHubStrategyRecommendation", "GetRecommendationReportDetails", {})
1512
- .n("MigrationHubStrategyClient", "GetRecommendationReportDetailsCommand")
1513
- .sc(GetRecommendationReportDetails$)
1514
- .build() {
1447
+ class GetRecommendationReportDetailsCommand extends command(_ep0, _mw0, "GetRecommendationReportDetails", GetRecommendationReportDetails$) {
1515
1448
  }
1516
1449
 
1517
- class GetServerDetailsCommand extends Command
1518
- .classBuilder()
1519
- .ep(commonParams)
1520
- .m(function (Command, cs, config, o) {
1521
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1522
- })
1523
- .s("AWSMigrationHubStrategyRecommendation", "GetServerDetails", {})
1524
- .n("MigrationHubStrategyClient", "GetServerDetailsCommand")
1525
- .sc(GetServerDetails$)
1526
- .build() {
1450
+ class GetServerDetailsCommand extends command(_ep0, _mw0, "GetServerDetails", GetServerDetails$) {
1527
1451
  }
1528
1452
 
1529
- class GetServerStrategiesCommand extends Command
1530
- .classBuilder()
1531
- .ep(commonParams)
1532
- .m(function (Command, cs, config, o) {
1533
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1534
- })
1535
- .s("AWSMigrationHubStrategyRecommendation", "GetServerStrategies", {})
1536
- .n("MigrationHubStrategyClient", "GetServerStrategiesCommand")
1537
- .sc(GetServerStrategies$)
1538
- .build() {
1453
+ class GetServerStrategiesCommand extends command(_ep0, _mw0, "GetServerStrategies", GetServerStrategies$) {
1539
1454
  }
1540
1455
 
1541
- class ListAnalyzableServersCommand extends Command
1542
- .classBuilder()
1543
- .ep(commonParams)
1544
- .m(function (Command, cs, config, o) {
1545
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1546
- })
1547
- .s("AWSMigrationHubStrategyRecommendation", "ListAnalyzableServers", {})
1548
- .n("MigrationHubStrategyClient", "ListAnalyzableServersCommand")
1549
- .sc(ListAnalyzableServers$)
1550
- .build() {
1456
+ class ListAnalyzableServersCommand extends command(_ep0, _mw0, "ListAnalyzableServers", ListAnalyzableServers$) {
1551
1457
  }
1552
1458
 
1553
- class ListApplicationComponentsCommand extends Command
1554
- .classBuilder()
1555
- .ep(commonParams)
1556
- .m(function (Command, cs, config, o) {
1557
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1558
- })
1559
- .s("AWSMigrationHubStrategyRecommendation", "ListApplicationComponents", {})
1560
- .n("MigrationHubStrategyClient", "ListApplicationComponentsCommand")
1561
- .sc(ListApplicationComponents$)
1562
- .build() {
1459
+ class ListApplicationComponentsCommand extends command(_ep0, _mw0, "ListApplicationComponents", ListApplicationComponents$) {
1563
1460
  }
1564
1461
 
1565
- class ListCollectorsCommand extends Command
1566
- .classBuilder()
1567
- .ep(commonParams)
1568
- .m(function (Command, cs, config, o) {
1569
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1570
- })
1571
- .s("AWSMigrationHubStrategyRecommendation", "ListCollectors", {})
1572
- .n("MigrationHubStrategyClient", "ListCollectorsCommand")
1573
- .sc(ListCollectors$)
1574
- .build() {
1462
+ class ListCollectorsCommand extends command(_ep0, _mw0, "ListCollectors", ListCollectors$) {
1575
1463
  }
1576
1464
 
1577
- class ListImportFileTaskCommand extends Command
1578
- .classBuilder()
1579
- .ep(commonParams)
1580
- .m(function (Command, cs, config, o) {
1581
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1582
- })
1583
- .s("AWSMigrationHubStrategyRecommendation", "ListImportFileTask", {})
1584
- .n("MigrationHubStrategyClient", "ListImportFileTaskCommand")
1585
- .sc(ListImportFileTask$)
1586
- .build() {
1465
+ class ListImportFileTaskCommand extends command(_ep0, _mw0, "ListImportFileTask", ListImportFileTask$) {
1587
1466
  }
1588
1467
 
1589
- class ListServersCommand extends Command
1590
- .classBuilder()
1591
- .ep(commonParams)
1592
- .m(function (Command, cs, config, o) {
1593
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1594
- })
1595
- .s("AWSMigrationHubStrategyRecommendation", "ListServers", {})
1596
- .n("MigrationHubStrategyClient", "ListServersCommand")
1597
- .sc(ListServers$)
1598
- .build() {
1468
+ class ListServersCommand extends command(_ep0, _mw0, "ListServers", ListServers$) {
1599
1469
  }
1600
1470
 
1601
- class PutPortfolioPreferencesCommand extends Command
1602
- .classBuilder()
1603
- .ep(commonParams)
1604
- .m(function (Command, cs, config, o) {
1605
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1606
- })
1607
- .s("AWSMigrationHubStrategyRecommendation", "PutPortfolioPreferences", {})
1608
- .n("MigrationHubStrategyClient", "PutPortfolioPreferencesCommand")
1609
- .sc(PutPortfolioPreferences$)
1610
- .build() {
1471
+ class PutPortfolioPreferencesCommand extends command(_ep0, _mw0, "PutPortfolioPreferences", PutPortfolioPreferences$) {
1611
1472
  }
1612
1473
 
1613
- class StartAssessmentCommand extends Command
1614
- .classBuilder()
1615
- .ep(commonParams)
1616
- .m(function (Command, cs, config, o) {
1617
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1618
- })
1619
- .s("AWSMigrationHubStrategyRecommendation", "StartAssessment", {})
1620
- .n("MigrationHubStrategyClient", "StartAssessmentCommand")
1621
- .sc(StartAssessment$)
1622
- .build() {
1474
+ class StartAssessmentCommand extends command(_ep0, _mw0, "StartAssessment", StartAssessment$) {
1623
1475
  }
1624
1476
 
1625
- class StartImportFileTaskCommand extends Command
1626
- .classBuilder()
1627
- .ep(commonParams)
1628
- .m(function (Command, cs, config, o) {
1629
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1630
- })
1631
- .s("AWSMigrationHubStrategyRecommendation", "StartImportFileTask", {})
1632
- .n("MigrationHubStrategyClient", "StartImportFileTaskCommand")
1633
- .sc(StartImportFileTask$)
1634
- .build() {
1477
+ class StartImportFileTaskCommand extends command(_ep0, _mw0, "StartImportFileTask", StartImportFileTask$) {
1635
1478
  }
1636
1479
 
1637
- class StartRecommendationReportGenerationCommand extends Command
1638
- .classBuilder()
1639
- .ep(commonParams)
1640
- .m(function (Command, cs, config, o) {
1641
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1642
- })
1643
- .s("AWSMigrationHubStrategyRecommendation", "StartRecommendationReportGeneration", {})
1644
- .n("MigrationHubStrategyClient", "StartRecommendationReportGenerationCommand")
1645
- .sc(StartRecommendationReportGeneration$)
1646
- .build() {
1480
+ class StartRecommendationReportGenerationCommand extends command(_ep0, _mw0, "StartRecommendationReportGeneration", StartRecommendationReportGeneration$) {
1647
1481
  }
1648
1482
 
1649
- class StopAssessmentCommand extends Command
1650
- .classBuilder()
1651
- .ep(commonParams)
1652
- .m(function (Command, cs, config, o) {
1653
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1654
- })
1655
- .s("AWSMigrationHubStrategyRecommendation", "StopAssessment", {})
1656
- .n("MigrationHubStrategyClient", "StopAssessmentCommand")
1657
- .sc(StopAssessment$)
1658
- .build() {
1483
+ class StopAssessmentCommand extends command(_ep0, _mw0, "StopAssessment", StopAssessment$) {
1659
1484
  }
1660
1485
 
1661
- class UpdateApplicationComponentConfigCommand extends Command
1662
- .classBuilder()
1663
- .ep(commonParams)
1664
- .m(function (Command, cs, config, o) {
1665
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1666
- })
1667
- .s("AWSMigrationHubStrategyRecommendation", "UpdateApplicationComponentConfig", {})
1668
- .n("MigrationHubStrategyClient", "UpdateApplicationComponentConfigCommand")
1669
- .sc(UpdateApplicationComponentConfig$)
1670
- .build() {
1486
+ class UpdateApplicationComponentConfigCommand extends command(_ep0, _mw0, "UpdateApplicationComponentConfig", UpdateApplicationComponentConfig$) {
1671
1487
  }
1672
1488
 
1673
- class UpdateServerConfigCommand extends Command
1674
- .classBuilder()
1675
- .ep(commonParams)
1676
- .m(function (Command, cs, config, o) {
1677
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1678
- })
1679
- .s("AWSMigrationHubStrategyRecommendation", "UpdateServerConfig", {})
1680
- .n("MigrationHubStrategyClient", "UpdateServerConfigCommand")
1681
- .sc(UpdateServerConfig$)
1682
- .build() {
1489
+ class UpdateServerConfigCommand extends command(_ep0, _mw0, "UpdateServerConfig", UpdateServerConfig$) {
1683
1490
  }
1684
1491
 
1685
1492
  const paginateGetServerDetails = createPaginator(MigrationHubStrategyClient, GetServerDetailsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "AWSMigrationHubStrategyRecommendation", "MigrationHubStrategyClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetApplicationComponentDetails$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetApplicationComponentDetailsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMigrationHubStrategyRecommendation", "GetApplicationComponentDetails", {})
13
- .n("MigrationHubStrategyClient", "GetApplicationComponentDetailsCommand")
14
- .sc(GetApplicationComponentDetails$)
15
- .build() {
3
+ export class GetApplicationComponentDetailsCommand extends command(_ep0, _mw0, "GetApplicationComponentDetails", GetApplicationComponentDetails$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetApplicationComponentStrategies$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetApplicationComponentStrategiesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMigrationHubStrategyRecommendation", "GetApplicationComponentStrategies", {})
13
- .n("MigrationHubStrategyClient", "GetApplicationComponentStrategiesCommand")
14
- .sc(GetApplicationComponentStrategies$)
15
- .build() {
3
+ export class GetApplicationComponentStrategiesCommand extends command(_ep0, _mw0, "GetApplicationComponentStrategies", GetApplicationComponentStrategies$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetAssessment$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetAssessmentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMigrationHubStrategyRecommendation", "GetAssessment", {})
13
- .n("MigrationHubStrategyClient", "GetAssessmentCommand")
14
- .sc(GetAssessment$)
15
- .build() {
3
+ export class GetAssessmentCommand extends command(_ep0, _mw0, "GetAssessment", GetAssessment$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetImportFileTask$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetImportFileTaskCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMigrationHubStrategyRecommendation", "GetImportFileTask", {})
13
- .n("MigrationHubStrategyClient", "GetImportFileTaskCommand")
14
- .sc(GetImportFileTask$)
15
- .build() {
3
+ export class GetImportFileTaskCommand extends command(_ep0, _mw0, "GetImportFileTask", GetImportFileTask$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetLatestAssessmentId$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetLatestAssessmentIdCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMigrationHubStrategyRecommendation", "GetLatestAssessmentId", {})
13
- .n("MigrationHubStrategyClient", "GetLatestAssessmentIdCommand")
14
- .sc(GetLatestAssessmentId$)
15
- .build() {
3
+ export class GetLatestAssessmentIdCommand extends command(_ep0, _mw0, "GetLatestAssessmentId", GetLatestAssessmentId$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetPortfolioPreferences$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetPortfolioPreferencesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMigrationHubStrategyRecommendation", "GetPortfolioPreferences", {})
13
- .n("MigrationHubStrategyClient", "GetPortfolioPreferencesCommand")
14
- .sc(GetPortfolioPreferences$)
15
- .build() {
3
+ export class GetPortfolioPreferencesCommand extends command(_ep0, _mw0, "GetPortfolioPreferences", GetPortfolioPreferences$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetPortfolioSummary$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetPortfolioSummaryCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMigrationHubStrategyRecommendation", "GetPortfolioSummary", {})
13
- .n("MigrationHubStrategyClient", "GetPortfolioSummaryCommand")
14
- .sc(GetPortfolioSummary$)
15
- .build() {
3
+ export class GetPortfolioSummaryCommand extends command(_ep0, _mw0, "GetPortfolioSummary", GetPortfolioSummary$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetRecommendationReportDetails$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetRecommendationReportDetailsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMigrationHubStrategyRecommendation", "GetRecommendationReportDetails", {})
13
- .n("MigrationHubStrategyClient", "GetRecommendationReportDetailsCommand")
14
- .sc(GetRecommendationReportDetails$)
15
- .build() {
3
+ export class GetRecommendationReportDetailsCommand extends command(_ep0, _mw0, "GetRecommendationReportDetails", GetRecommendationReportDetails$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetServerDetails$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetServerDetailsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMigrationHubStrategyRecommendation", "GetServerDetails", {})
13
- .n("MigrationHubStrategyClient", "GetServerDetailsCommand")
14
- .sc(GetServerDetails$)
15
- .build() {
3
+ export class GetServerDetailsCommand extends command(_ep0, _mw0, "GetServerDetails", GetServerDetails$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetServerStrategies$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetServerStrategiesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMigrationHubStrategyRecommendation", "GetServerStrategies", {})
13
- .n("MigrationHubStrategyClient", "GetServerStrategiesCommand")
14
- .sc(GetServerStrategies$)
15
- .build() {
3
+ export class GetServerStrategiesCommand extends command(_ep0, _mw0, "GetServerStrategies", GetServerStrategies$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListAnalyzableServers$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAnalyzableServersCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMigrationHubStrategyRecommendation", "ListAnalyzableServers", {})
13
- .n("MigrationHubStrategyClient", "ListAnalyzableServersCommand")
14
- .sc(ListAnalyzableServers$)
15
- .build() {
3
+ export class ListAnalyzableServersCommand extends command(_ep0, _mw0, "ListAnalyzableServers", ListAnalyzableServers$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListApplicationComponents$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListApplicationComponentsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMigrationHubStrategyRecommendation", "ListApplicationComponents", {})
13
- .n("MigrationHubStrategyClient", "ListApplicationComponentsCommand")
14
- .sc(ListApplicationComponents$)
15
- .build() {
3
+ export class ListApplicationComponentsCommand extends command(_ep0, _mw0, "ListApplicationComponents", ListApplicationComponents$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListCollectors$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListCollectorsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMigrationHubStrategyRecommendation", "ListCollectors", {})
13
- .n("MigrationHubStrategyClient", "ListCollectorsCommand")
14
- .sc(ListCollectors$)
15
- .build() {
3
+ export class ListCollectorsCommand extends command(_ep0, _mw0, "ListCollectors", ListCollectors$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListImportFileTask$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListImportFileTaskCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMigrationHubStrategyRecommendation", "ListImportFileTask", {})
13
- .n("MigrationHubStrategyClient", "ListImportFileTaskCommand")
14
- .sc(ListImportFileTask$)
15
- .build() {
3
+ export class ListImportFileTaskCommand extends command(_ep0, _mw0, "ListImportFileTask", ListImportFileTask$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListServers$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListServersCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMigrationHubStrategyRecommendation", "ListServers", {})
13
- .n("MigrationHubStrategyClient", "ListServersCommand")
14
- .sc(ListServers$)
15
- .build() {
3
+ export class ListServersCommand extends command(_ep0, _mw0, "ListServers", ListServers$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { PutPortfolioPreferences$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutPortfolioPreferencesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMigrationHubStrategyRecommendation", "PutPortfolioPreferences", {})
13
- .n("MigrationHubStrategyClient", "PutPortfolioPreferencesCommand")
14
- .sc(PutPortfolioPreferences$)
15
- .build() {
3
+ export class PutPortfolioPreferencesCommand extends command(_ep0, _mw0, "PutPortfolioPreferences", PutPortfolioPreferences$) {
16
4
  }