@aws-sdk/client-migrationhubstrategy 3.1076.0 → 3.1078.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 (86) hide show
  1. package/dist-cjs/index.js +33 -225
  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-es/runtimeConfig.browser.js +0 -2
  27. package/dist-es/runtimeConfig.js +1 -2
  28. package/dist-es/runtimeConfig.native.js +0 -2
  29. package/dist-es/runtimeConfig.shared.js +2 -0
  30. package/dist-types/commandBuilder.d.ts +18 -0
  31. package/dist-types/commands/GetApplicationComponentDetailsCommand.d.ts +3 -8
  32. package/dist-types/commands/GetApplicationComponentStrategiesCommand.d.ts +3 -8
  33. package/dist-types/commands/GetAssessmentCommand.d.ts +3 -8
  34. package/dist-types/commands/GetImportFileTaskCommand.d.ts +3 -8
  35. package/dist-types/commands/GetLatestAssessmentIdCommand.d.ts +3 -8
  36. package/dist-types/commands/GetPortfolioPreferencesCommand.d.ts +3 -8
  37. package/dist-types/commands/GetPortfolioSummaryCommand.d.ts +3 -8
  38. package/dist-types/commands/GetRecommendationReportDetailsCommand.d.ts +3 -8
  39. package/dist-types/commands/GetServerDetailsCommand.d.ts +3 -8
  40. package/dist-types/commands/GetServerStrategiesCommand.d.ts +3 -8
  41. package/dist-types/commands/ListAnalyzableServersCommand.d.ts +3 -8
  42. package/dist-types/commands/ListApplicationComponentsCommand.d.ts +3 -8
  43. package/dist-types/commands/ListCollectorsCommand.d.ts +3 -8
  44. package/dist-types/commands/ListImportFileTaskCommand.d.ts +3 -8
  45. package/dist-types/commands/ListServersCommand.d.ts +3 -8
  46. package/dist-types/commands/PutPortfolioPreferencesCommand.d.ts +3 -8
  47. package/dist-types/commands/StartAssessmentCommand.d.ts +3 -8
  48. package/dist-types/commands/StartImportFileTaskCommand.d.ts +3 -8
  49. package/dist-types/commands/StartRecommendationReportGenerationCommand.d.ts +3 -8
  50. package/dist-types/commands/StopAssessmentCommand.d.ts +3 -8
  51. package/dist-types/commands/UpdateApplicationComponentConfigCommand.d.ts +3 -8
  52. package/dist-types/commands/UpdateServerConfigCommand.d.ts +3 -8
  53. package/dist-types/index.d.ts +1 -0
  54. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  55. package/dist-types/runtimeConfig.d.ts +1 -1
  56. package/dist-types/runtimeConfig.native.d.ts +1 -1
  57. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  58. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  59. package/dist-types/ts3.4/commands/GetApplicationComponentDetailsCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/GetApplicationComponentStrategiesCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/GetAssessmentCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/GetImportFileTaskCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/GetLatestAssessmentIdCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/GetPortfolioPreferencesCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/GetPortfolioSummaryCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/GetRecommendationReportDetailsCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/GetServerDetailsCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/GetServerStrategiesCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/ListAnalyzableServersCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/ListApplicationComponentsCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/ListCollectorsCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/ListImportFileTaskCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/ListServersCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/PutPortfolioPreferencesCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/StartAssessmentCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/StartImportFileTaskCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/StartRecommendationReportGenerationCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/StopAssessmentCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/UpdateApplicationComponentConfigCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/UpdateServerConfigCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/index.d.ts +1 -0
  82. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  83. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  84. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  85. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  86. package/package.json +8 -10
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");
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
10
11
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
13
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
15
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
16
  const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultMigrationHubStrategyHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
20
  return {
@@ -67,7 +69,7 @@ const commonParams = {
67
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
68
70
  };
69
71
 
70
- var version = "3.1075.0";
72
+ var version = "3.1077.0";
71
73
  var packageInfo = {
72
74
  version: version};
73
75
 
@@ -1296,6 +1298,7 @@ const getRuntimeConfig$1 = (config) => {
1296
1298
  serviceTarget: "AWSMigrationHubStrategyRecommendation",
1297
1299
  },
1298
1300
  serviceId: config?.serviceId ?? "MigrationHubStrategy",
1301
+ sha256: config?.sha256 ?? Sha256,
1299
1302
  urlParser: config?.urlParser ?? parseUrl,
1300
1303
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1301
1304
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1329,7 +1332,6 @@ const getRuntimeConfig = (config) => {
1329
1332
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1330
1333
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1331
1334
  }, config),
1332
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1333
1335
  streamCollector: config?.streamCollector ?? streamCollector,
1334
1336
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1335
1337
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1417,268 +1419,74 @@ class MigrationHubStrategyClient extends Client {
1417
1419
  }
1418
1420
  }
1419
1421
 
1420
- class GetApplicationComponentDetailsCommand extends Command
1421
- .classBuilder()
1422
- .ep(commonParams)
1423
- .m(function (Command, cs, config, o) {
1424
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1425
- })
1426
- .s("AWSMigrationHubStrategyRecommendation", "GetApplicationComponentDetails", {})
1427
- .n("MigrationHubStrategyClient", "GetApplicationComponentDetailsCommand")
1428
- .sc(GetApplicationComponentDetails$)
1429
- .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$) {
1430
1427
  }
1431
1428
 
1432
- class GetApplicationComponentStrategiesCommand extends Command
1433
- .classBuilder()
1434
- .ep(commonParams)
1435
- .m(function (Command, cs, config, o) {
1436
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1437
- })
1438
- .s("AWSMigrationHubStrategyRecommendation", "GetApplicationComponentStrategies", {})
1439
- .n("MigrationHubStrategyClient", "GetApplicationComponentStrategiesCommand")
1440
- .sc(GetApplicationComponentStrategies$)
1441
- .build() {
1429
+ class GetApplicationComponentStrategiesCommand extends command(_ep0, _mw0, "GetApplicationComponentStrategies", GetApplicationComponentStrategies$) {
1442
1430
  }
1443
1431
 
1444
- class GetAssessmentCommand extends Command
1445
- .classBuilder()
1446
- .ep(commonParams)
1447
- .m(function (Command, cs, config, o) {
1448
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1449
- })
1450
- .s("AWSMigrationHubStrategyRecommendation", "GetAssessment", {})
1451
- .n("MigrationHubStrategyClient", "GetAssessmentCommand")
1452
- .sc(GetAssessment$)
1453
- .build() {
1432
+ class GetAssessmentCommand extends command(_ep0, _mw0, "GetAssessment", GetAssessment$) {
1454
1433
  }
1455
1434
 
1456
- class GetImportFileTaskCommand extends Command
1457
- .classBuilder()
1458
- .ep(commonParams)
1459
- .m(function (Command, cs, config, o) {
1460
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1461
- })
1462
- .s("AWSMigrationHubStrategyRecommendation", "GetImportFileTask", {})
1463
- .n("MigrationHubStrategyClient", "GetImportFileTaskCommand")
1464
- .sc(GetImportFileTask$)
1465
- .build() {
1435
+ class GetImportFileTaskCommand extends command(_ep0, _mw0, "GetImportFileTask", GetImportFileTask$) {
1466
1436
  }
1467
1437
 
1468
- class GetLatestAssessmentIdCommand extends Command
1469
- .classBuilder()
1470
- .ep(commonParams)
1471
- .m(function (Command, cs, config, o) {
1472
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1473
- })
1474
- .s("AWSMigrationHubStrategyRecommendation", "GetLatestAssessmentId", {})
1475
- .n("MigrationHubStrategyClient", "GetLatestAssessmentIdCommand")
1476
- .sc(GetLatestAssessmentId$)
1477
- .build() {
1438
+ class GetLatestAssessmentIdCommand extends command(_ep0, _mw0, "GetLatestAssessmentId", GetLatestAssessmentId$) {
1478
1439
  }
1479
1440
 
1480
- class GetPortfolioPreferencesCommand extends Command
1481
- .classBuilder()
1482
- .ep(commonParams)
1483
- .m(function (Command, cs, config, o) {
1484
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1485
- })
1486
- .s("AWSMigrationHubStrategyRecommendation", "GetPortfolioPreferences", {})
1487
- .n("MigrationHubStrategyClient", "GetPortfolioPreferencesCommand")
1488
- .sc(GetPortfolioPreferences$)
1489
- .build() {
1441
+ class GetPortfolioPreferencesCommand extends command(_ep0, _mw0, "GetPortfolioPreferences", GetPortfolioPreferences$) {
1490
1442
  }
1491
1443
 
1492
- class GetPortfolioSummaryCommand extends Command
1493
- .classBuilder()
1494
- .ep(commonParams)
1495
- .m(function (Command, cs, config, o) {
1496
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1497
- })
1498
- .s("AWSMigrationHubStrategyRecommendation", "GetPortfolioSummary", {})
1499
- .n("MigrationHubStrategyClient", "GetPortfolioSummaryCommand")
1500
- .sc(GetPortfolioSummary$)
1501
- .build() {
1444
+ class GetPortfolioSummaryCommand extends command(_ep0, _mw0, "GetPortfolioSummary", GetPortfolioSummary$) {
1502
1445
  }
1503
1446
 
1504
- class GetRecommendationReportDetailsCommand extends Command
1505
- .classBuilder()
1506
- .ep(commonParams)
1507
- .m(function (Command, cs, config, o) {
1508
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1509
- })
1510
- .s("AWSMigrationHubStrategyRecommendation", "GetRecommendationReportDetails", {})
1511
- .n("MigrationHubStrategyClient", "GetRecommendationReportDetailsCommand")
1512
- .sc(GetRecommendationReportDetails$)
1513
- .build() {
1447
+ class GetRecommendationReportDetailsCommand extends command(_ep0, _mw0, "GetRecommendationReportDetails", GetRecommendationReportDetails$) {
1514
1448
  }
1515
1449
 
1516
- class GetServerDetailsCommand extends Command
1517
- .classBuilder()
1518
- .ep(commonParams)
1519
- .m(function (Command, cs, config, o) {
1520
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1521
- })
1522
- .s("AWSMigrationHubStrategyRecommendation", "GetServerDetails", {})
1523
- .n("MigrationHubStrategyClient", "GetServerDetailsCommand")
1524
- .sc(GetServerDetails$)
1525
- .build() {
1450
+ class GetServerDetailsCommand extends command(_ep0, _mw0, "GetServerDetails", GetServerDetails$) {
1526
1451
  }
1527
1452
 
1528
- class GetServerStrategiesCommand extends Command
1529
- .classBuilder()
1530
- .ep(commonParams)
1531
- .m(function (Command, cs, config, o) {
1532
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1533
- })
1534
- .s("AWSMigrationHubStrategyRecommendation", "GetServerStrategies", {})
1535
- .n("MigrationHubStrategyClient", "GetServerStrategiesCommand")
1536
- .sc(GetServerStrategies$)
1537
- .build() {
1453
+ class GetServerStrategiesCommand extends command(_ep0, _mw0, "GetServerStrategies", GetServerStrategies$) {
1538
1454
  }
1539
1455
 
1540
- class ListAnalyzableServersCommand extends Command
1541
- .classBuilder()
1542
- .ep(commonParams)
1543
- .m(function (Command, cs, config, o) {
1544
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1545
- })
1546
- .s("AWSMigrationHubStrategyRecommendation", "ListAnalyzableServers", {})
1547
- .n("MigrationHubStrategyClient", "ListAnalyzableServersCommand")
1548
- .sc(ListAnalyzableServers$)
1549
- .build() {
1456
+ class ListAnalyzableServersCommand extends command(_ep0, _mw0, "ListAnalyzableServers", ListAnalyzableServers$) {
1550
1457
  }
1551
1458
 
1552
- class ListApplicationComponentsCommand extends Command
1553
- .classBuilder()
1554
- .ep(commonParams)
1555
- .m(function (Command, cs, config, o) {
1556
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1557
- })
1558
- .s("AWSMigrationHubStrategyRecommendation", "ListApplicationComponents", {})
1559
- .n("MigrationHubStrategyClient", "ListApplicationComponentsCommand")
1560
- .sc(ListApplicationComponents$)
1561
- .build() {
1459
+ class ListApplicationComponentsCommand extends command(_ep0, _mw0, "ListApplicationComponents", ListApplicationComponents$) {
1562
1460
  }
1563
1461
 
1564
- class ListCollectorsCommand extends Command
1565
- .classBuilder()
1566
- .ep(commonParams)
1567
- .m(function (Command, cs, config, o) {
1568
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1569
- })
1570
- .s("AWSMigrationHubStrategyRecommendation", "ListCollectors", {})
1571
- .n("MigrationHubStrategyClient", "ListCollectorsCommand")
1572
- .sc(ListCollectors$)
1573
- .build() {
1462
+ class ListCollectorsCommand extends command(_ep0, _mw0, "ListCollectors", ListCollectors$) {
1574
1463
  }
1575
1464
 
1576
- class ListImportFileTaskCommand extends Command
1577
- .classBuilder()
1578
- .ep(commonParams)
1579
- .m(function (Command, cs, config, o) {
1580
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1581
- })
1582
- .s("AWSMigrationHubStrategyRecommendation", "ListImportFileTask", {})
1583
- .n("MigrationHubStrategyClient", "ListImportFileTaskCommand")
1584
- .sc(ListImportFileTask$)
1585
- .build() {
1465
+ class ListImportFileTaskCommand extends command(_ep0, _mw0, "ListImportFileTask", ListImportFileTask$) {
1586
1466
  }
1587
1467
 
1588
- class ListServersCommand extends Command
1589
- .classBuilder()
1590
- .ep(commonParams)
1591
- .m(function (Command, cs, config, o) {
1592
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1593
- })
1594
- .s("AWSMigrationHubStrategyRecommendation", "ListServers", {})
1595
- .n("MigrationHubStrategyClient", "ListServersCommand")
1596
- .sc(ListServers$)
1597
- .build() {
1468
+ class ListServersCommand extends command(_ep0, _mw0, "ListServers", ListServers$) {
1598
1469
  }
1599
1470
 
1600
- class PutPortfolioPreferencesCommand extends Command
1601
- .classBuilder()
1602
- .ep(commonParams)
1603
- .m(function (Command, cs, config, o) {
1604
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1605
- })
1606
- .s("AWSMigrationHubStrategyRecommendation", "PutPortfolioPreferences", {})
1607
- .n("MigrationHubStrategyClient", "PutPortfolioPreferencesCommand")
1608
- .sc(PutPortfolioPreferences$)
1609
- .build() {
1471
+ class PutPortfolioPreferencesCommand extends command(_ep0, _mw0, "PutPortfolioPreferences", PutPortfolioPreferences$) {
1610
1472
  }
1611
1473
 
1612
- class StartAssessmentCommand extends Command
1613
- .classBuilder()
1614
- .ep(commonParams)
1615
- .m(function (Command, cs, config, o) {
1616
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1617
- })
1618
- .s("AWSMigrationHubStrategyRecommendation", "StartAssessment", {})
1619
- .n("MigrationHubStrategyClient", "StartAssessmentCommand")
1620
- .sc(StartAssessment$)
1621
- .build() {
1474
+ class StartAssessmentCommand extends command(_ep0, _mw0, "StartAssessment", StartAssessment$) {
1622
1475
  }
1623
1476
 
1624
- class StartImportFileTaskCommand extends Command
1625
- .classBuilder()
1626
- .ep(commonParams)
1627
- .m(function (Command, cs, config, o) {
1628
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1629
- })
1630
- .s("AWSMigrationHubStrategyRecommendation", "StartImportFileTask", {})
1631
- .n("MigrationHubStrategyClient", "StartImportFileTaskCommand")
1632
- .sc(StartImportFileTask$)
1633
- .build() {
1477
+ class StartImportFileTaskCommand extends command(_ep0, _mw0, "StartImportFileTask", StartImportFileTask$) {
1634
1478
  }
1635
1479
 
1636
- class StartRecommendationReportGenerationCommand extends Command
1637
- .classBuilder()
1638
- .ep(commonParams)
1639
- .m(function (Command, cs, config, o) {
1640
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1641
- })
1642
- .s("AWSMigrationHubStrategyRecommendation", "StartRecommendationReportGeneration", {})
1643
- .n("MigrationHubStrategyClient", "StartRecommendationReportGenerationCommand")
1644
- .sc(StartRecommendationReportGeneration$)
1645
- .build() {
1480
+ class StartRecommendationReportGenerationCommand extends command(_ep0, _mw0, "StartRecommendationReportGeneration", StartRecommendationReportGeneration$) {
1646
1481
  }
1647
1482
 
1648
- class StopAssessmentCommand extends Command
1649
- .classBuilder()
1650
- .ep(commonParams)
1651
- .m(function (Command, cs, config, o) {
1652
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1653
- })
1654
- .s("AWSMigrationHubStrategyRecommendation", "StopAssessment", {})
1655
- .n("MigrationHubStrategyClient", "StopAssessmentCommand")
1656
- .sc(StopAssessment$)
1657
- .build() {
1483
+ class StopAssessmentCommand extends command(_ep0, _mw0, "StopAssessment", StopAssessment$) {
1658
1484
  }
1659
1485
 
1660
- class UpdateApplicationComponentConfigCommand extends Command
1661
- .classBuilder()
1662
- .ep(commonParams)
1663
- .m(function (Command, cs, config, o) {
1664
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1665
- })
1666
- .s("AWSMigrationHubStrategyRecommendation", "UpdateApplicationComponentConfig", {})
1667
- .n("MigrationHubStrategyClient", "UpdateApplicationComponentConfigCommand")
1668
- .sc(UpdateApplicationComponentConfig$)
1669
- .build() {
1486
+ class UpdateApplicationComponentConfigCommand extends command(_ep0, _mw0, "UpdateApplicationComponentConfig", UpdateApplicationComponentConfig$) {
1670
1487
  }
1671
1488
 
1672
- class UpdateServerConfigCommand extends Command
1673
- .classBuilder()
1674
- .ep(commonParams)
1675
- .m(function (Command, cs, config, o) {
1676
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1677
- })
1678
- .s("AWSMigrationHubStrategyRecommendation", "UpdateServerConfig", {})
1679
- .n("MigrationHubStrategyClient", "UpdateServerConfigCommand")
1680
- .sc(UpdateServerConfig$)
1681
- .build() {
1489
+ class UpdateServerConfigCommand extends command(_ep0, _mw0, "UpdateServerConfig", UpdateServerConfig$) {
1682
1490
  }
1683
1491
 
1684
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
  }