@aws-sdk/client-migrationhuborchestrator 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 (101) hide show
  1. package/dist-cjs/index.js +39 -313
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateTemplateCommand.js +2 -14
  4. package/dist-es/commands/CreateWorkflowCommand.js +2 -14
  5. package/dist-es/commands/CreateWorkflowStepCommand.js +2 -14
  6. package/dist-es/commands/CreateWorkflowStepGroupCommand.js +2 -14
  7. package/dist-es/commands/DeleteTemplateCommand.js +2 -14
  8. package/dist-es/commands/DeleteWorkflowCommand.js +2 -14
  9. package/dist-es/commands/DeleteWorkflowStepCommand.js +2 -14
  10. package/dist-es/commands/DeleteWorkflowStepGroupCommand.js +2 -14
  11. package/dist-es/commands/GetTemplateCommand.js +2 -14
  12. package/dist-es/commands/GetTemplateStepCommand.js +2 -14
  13. package/dist-es/commands/GetTemplateStepGroupCommand.js +2 -14
  14. package/dist-es/commands/GetWorkflowCommand.js +2 -14
  15. package/dist-es/commands/GetWorkflowStepCommand.js +2 -14
  16. package/dist-es/commands/GetWorkflowStepGroupCommand.js +2 -14
  17. package/dist-es/commands/ListPluginsCommand.js +2 -14
  18. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  19. package/dist-es/commands/ListTemplateStepGroupsCommand.js +2 -14
  20. package/dist-es/commands/ListTemplateStepsCommand.js +2 -14
  21. package/dist-es/commands/ListTemplatesCommand.js +2 -14
  22. package/dist-es/commands/ListWorkflowStepGroupsCommand.js +2 -14
  23. package/dist-es/commands/ListWorkflowStepsCommand.js +2 -14
  24. package/dist-es/commands/ListWorkflowsCommand.js +2 -14
  25. package/dist-es/commands/RetryWorkflowStepCommand.js +2 -14
  26. package/dist-es/commands/StartWorkflowCommand.js +2 -14
  27. package/dist-es/commands/StopWorkflowCommand.js +2 -14
  28. package/dist-es/commands/TagResourceCommand.js +2 -14
  29. package/dist-es/commands/UntagResourceCommand.js +2 -14
  30. package/dist-es/commands/UpdateTemplateCommand.js +2 -14
  31. package/dist-es/commands/UpdateWorkflowCommand.js +2 -14
  32. package/dist-es/commands/UpdateWorkflowStepCommand.js +2 -14
  33. package/dist-es/commands/UpdateWorkflowStepGroupCommand.js +2 -14
  34. package/dist-es/index.js +1 -0
  35. package/dist-types/commandBuilder.d.ts +18 -0
  36. package/dist-types/commands/CreateTemplateCommand.d.ts +3 -8
  37. package/dist-types/commands/CreateWorkflowCommand.d.ts +3 -8
  38. package/dist-types/commands/CreateWorkflowStepCommand.d.ts +3 -8
  39. package/dist-types/commands/CreateWorkflowStepGroupCommand.d.ts +3 -8
  40. package/dist-types/commands/DeleteTemplateCommand.d.ts +3 -8
  41. package/dist-types/commands/DeleteWorkflowCommand.d.ts +3 -8
  42. package/dist-types/commands/DeleteWorkflowStepCommand.d.ts +3 -8
  43. package/dist-types/commands/DeleteWorkflowStepGroupCommand.d.ts +3 -8
  44. package/dist-types/commands/GetTemplateCommand.d.ts +3 -8
  45. package/dist-types/commands/GetTemplateStepCommand.d.ts +3 -8
  46. package/dist-types/commands/GetTemplateStepGroupCommand.d.ts +3 -8
  47. package/dist-types/commands/GetWorkflowCommand.d.ts +3 -8
  48. package/dist-types/commands/GetWorkflowStepCommand.d.ts +3 -8
  49. package/dist-types/commands/GetWorkflowStepGroupCommand.d.ts +3 -8
  50. package/dist-types/commands/ListPluginsCommand.d.ts +3 -8
  51. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  52. package/dist-types/commands/ListTemplateStepGroupsCommand.d.ts +3 -8
  53. package/dist-types/commands/ListTemplateStepsCommand.d.ts +3 -8
  54. package/dist-types/commands/ListTemplatesCommand.d.ts +3 -8
  55. package/dist-types/commands/ListWorkflowStepGroupsCommand.d.ts +3 -8
  56. package/dist-types/commands/ListWorkflowStepsCommand.d.ts +3 -8
  57. package/dist-types/commands/ListWorkflowsCommand.d.ts +3 -8
  58. package/dist-types/commands/RetryWorkflowStepCommand.d.ts +3 -8
  59. package/dist-types/commands/StartWorkflowCommand.d.ts +3 -8
  60. package/dist-types/commands/StopWorkflowCommand.d.ts +3 -8
  61. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  62. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  63. package/dist-types/commands/UpdateTemplateCommand.d.ts +3 -8
  64. package/dist-types/commands/UpdateWorkflowCommand.d.ts +3 -8
  65. package/dist-types/commands/UpdateWorkflowStepCommand.d.ts +3 -8
  66. package/dist-types/commands/UpdateWorkflowStepGroupCommand.d.ts +3 -8
  67. package/dist-types/index.d.ts +1 -0
  68. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  69. package/dist-types/ts3.4/commands/CreateTemplateCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/CreateWorkflowCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/CreateWorkflowStepCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/CreateWorkflowStepGroupCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/DeleteTemplateCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/DeleteWorkflowCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/DeleteWorkflowStepCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/DeleteWorkflowStepGroupCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/GetTemplateCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/GetTemplateStepCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/GetTemplateStepGroupCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/GetWorkflowCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/GetWorkflowStepCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/GetWorkflowStepGroupCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/ListPluginsCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/ListTemplateStepGroupsCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/ListTemplateStepsCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/ListTemplatesCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/ListWorkflowStepGroupsCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/ListWorkflowStepsCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/ListWorkflowsCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/RetryWorkflowStepCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/StartWorkflowCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/StopWorkflowCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/UpdateTemplateCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/UpdateWorkflowCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/UpdateWorkflowStepCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/UpdateWorkflowStepGroupCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/index.d.ts +1 -0
  101. 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
 
@@ -1151,376 +1152,101 @@ class MigrationHubOrchestratorClient extends Client {
1151
1152
  }
1152
1153
  }
1153
1154
 
1154
- class CreateTemplateCommand extends Command
1155
- .classBuilder()
1156
- .ep(commonParams)
1157
- .m(function (Command, cs, config, o) {
1158
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1159
- })
1160
- .s("AWSMigrationHubOrchestrator", "CreateTemplate", {})
1161
- .n("MigrationHubOrchestratorClient", "CreateTemplateCommand")
1162
- .sc(CreateTemplate$)
1163
- .build() {
1155
+ const command = makeBuilder(commonParams, "AWSMigrationHubOrchestrator", "MigrationHubOrchestratorClient", getEndpointPlugin);
1156
+ const _ep0 = {};
1157
+ const _mw0 = (Command, cs, config, o) => [];
1158
+
1159
+ class CreateTemplateCommand extends command(_ep0, _mw0, "CreateTemplate", CreateTemplate$) {
1164
1160
  }
1165
1161
 
1166
- class CreateWorkflowCommand extends Command
1167
- .classBuilder()
1168
- .ep(commonParams)
1169
- .m(function (Command, cs, config, o) {
1170
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1171
- })
1172
- .s("AWSMigrationHubOrchestrator", "CreateWorkflow", {})
1173
- .n("MigrationHubOrchestratorClient", "CreateWorkflowCommand")
1174
- .sc(CreateWorkflow$)
1175
- .build() {
1162
+ class CreateWorkflowCommand extends command(_ep0, _mw0, "CreateWorkflow", CreateWorkflow$) {
1176
1163
  }
1177
1164
 
1178
- class CreateWorkflowStepCommand extends Command
1179
- .classBuilder()
1180
- .ep(commonParams)
1181
- .m(function (Command, cs, config, o) {
1182
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1183
- })
1184
- .s("AWSMigrationHubOrchestrator", "CreateWorkflowStep", {})
1185
- .n("MigrationHubOrchestratorClient", "CreateWorkflowStepCommand")
1186
- .sc(CreateWorkflowStep$)
1187
- .build() {
1165
+ class CreateWorkflowStepCommand extends command(_ep0, _mw0, "CreateWorkflowStep", CreateWorkflowStep$) {
1188
1166
  }
1189
1167
 
1190
- class CreateWorkflowStepGroupCommand extends Command
1191
- .classBuilder()
1192
- .ep(commonParams)
1193
- .m(function (Command, cs, config, o) {
1194
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1195
- })
1196
- .s("AWSMigrationHubOrchestrator", "CreateWorkflowStepGroup", {})
1197
- .n("MigrationHubOrchestratorClient", "CreateWorkflowStepGroupCommand")
1198
- .sc(CreateWorkflowStepGroup$)
1199
- .build() {
1168
+ class CreateWorkflowStepGroupCommand extends command(_ep0, _mw0, "CreateWorkflowStepGroup", CreateWorkflowStepGroup$) {
1200
1169
  }
1201
1170
 
1202
- class DeleteTemplateCommand extends Command
1203
- .classBuilder()
1204
- .ep(commonParams)
1205
- .m(function (Command, cs, config, o) {
1206
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1207
- })
1208
- .s("AWSMigrationHubOrchestrator", "DeleteTemplate", {})
1209
- .n("MigrationHubOrchestratorClient", "DeleteTemplateCommand")
1210
- .sc(DeleteTemplate$)
1211
- .build() {
1171
+ class DeleteTemplateCommand extends command(_ep0, _mw0, "DeleteTemplate", DeleteTemplate$) {
1212
1172
  }
1213
1173
 
1214
- class DeleteWorkflowCommand extends Command
1215
- .classBuilder()
1216
- .ep(commonParams)
1217
- .m(function (Command, cs, config, o) {
1218
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1219
- })
1220
- .s("AWSMigrationHubOrchestrator", "DeleteWorkflow", {})
1221
- .n("MigrationHubOrchestratorClient", "DeleteWorkflowCommand")
1222
- .sc(DeleteWorkflow$)
1223
- .build() {
1174
+ class DeleteWorkflowCommand extends command(_ep0, _mw0, "DeleteWorkflow", DeleteWorkflow$) {
1224
1175
  }
1225
1176
 
1226
- class DeleteWorkflowStepCommand extends Command
1227
- .classBuilder()
1228
- .ep(commonParams)
1229
- .m(function (Command, cs, config, o) {
1230
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1231
- })
1232
- .s("AWSMigrationHubOrchestrator", "DeleteWorkflowStep", {})
1233
- .n("MigrationHubOrchestratorClient", "DeleteWorkflowStepCommand")
1234
- .sc(DeleteWorkflowStep$)
1235
- .build() {
1177
+ class DeleteWorkflowStepCommand extends command(_ep0, _mw0, "DeleteWorkflowStep", DeleteWorkflowStep$) {
1236
1178
  }
1237
1179
 
1238
- class DeleteWorkflowStepGroupCommand extends Command
1239
- .classBuilder()
1240
- .ep(commonParams)
1241
- .m(function (Command, cs, config, o) {
1242
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1243
- })
1244
- .s("AWSMigrationHubOrchestrator", "DeleteWorkflowStepGroup", {})
1245
- .n("MigrationHubOrchestratorClient", "DeleteWorkflowStepGroupCommand")
1246
- .sc(DeleteWorkflowStepGroup$)
1247
- .build() {
1180
+ class DeleteWorkflowStepGroupCommand extends command(_ep0, _mw0, "DeleteWorkflowStepGroup", DeleteWorkflowStepGroup$) {
1248
1181
  }
1249
1182
 
1250
- class GetTemplateCommand extends Command
1251
- .classBuilder()
1252
- .ep(commonParams)
1253
- .m(function (Command, cs, config, o) {
1254
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1255
- })
1256
- .s("AWSMigrationHubOrchestrator", "GetTemplate", {})
1257
- .n("MigrationHubOrchestratorClient", "GetTemplateCommand")
1258
- .sc(GetTemplate$)
1259
- .build() {
1183
+ class GetTemplateCommand extends command(_ep0, _mw0, "GetTemplate", GetTemplate$) {
1260
1184
  }
1261
1185
 
1262
- class GetTemplateStepCommand extends Command
1263
- .classBuilder()
1264
- .ep(commonParams)
1265
- .m(function (Command, cs, config, o) {
1266
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1267
- })
1268
- .s("AWSMigrationHubOrchestrator", "GetTemplateStep", {})
1269
- .n("MigrationHubOrchestratorClient", "GetTemplateStepCommand")
1270
- .sc(GetTemplateStep$)
1271
- .build() {
1186
+ class GetTemplateStepCommand extends command(_ep0, _mw0, "GetTemplateStep", GetTemplateStep$) {
1272
1187
  }
1273
1188
 
1274
- class GetTemplateStepGroupCommand extends Command
1275
- .classBuilder()
1276
- .ep(commonParams)
1277
- .m(function (Command, cs, config, o) {
1278
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1279
- })
1280
- .s("AWSMigrationHubOrchestrator", "GetTemplateStepGroup", {})
1281
- .n("MigrationHubOrchestratorClient", "GetTemplateStepGroupCommand")
1282
- .sc(GetTemplateStepGroup$)
1283
- .build() {
1189
+ class GetTemplateStepGroupCommand extends command(_ep0, _mw0, "GetTemplateStepGroup", GetTemplateStepGroup$) {
1284
1190
  }
1285
1191
 
1286
- class GetWorkflowCommand extends Command
1287
- .classBuilder()
1288
- .ep(commonParams)
1289
- .m(function (Command, cs, config, o) {
1290
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1291
- })
1292
- .s("AWSMigrationHubOrchestrator", "GetWorkflow", {})
1293
- .n("MigrationHubOrchestratorClient", "GetWorkflowCommand")
1294
- .sc(GetWorkflow$)
1295
- .build() {
1192
+ class GetWorkflowCommand extends command(_ep0, _mw0, "GetWorkflow", GetWorkflow$) {
1296
1193
  }
1297
1194
 
1298
- class GetWorkflowStepCommand extends Command
1299
- .classBuilder()
1300
- .ep(commonParams)
1301
- .m(function (Command, cs, config, o) {
1302
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1303
- })
1304
- .s("AWSMigrationHubOrchestrator", "GetWorkflowStep", {})
1305
- .n("MigrationHubOrchestratorClient", "GetWorkflowStepCommand")
1306
- .sc(GetWorkflowStep$)
1307
- .build() {
1195
+ class GetWorkflowStepCommand extends command(_ep0, _mw0, "GetWorkflowStep", GetWorkflowStep$) {
1308
1196
  }
1309
1197
 
1310
- class GetWorkflowStepGroupCommand extends Command
1311
- .classBuilder()
1312
- .ep(commonParams)
1313
- .m(function (Command, cs, config, o) {
1314
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1315
- })
1316
- .s("AWSMigrationHubOrchestrator", "GetWorkflowStepGroup", {})
1317
- .n("MigrationHubOrchestratorClient", "GetWorkflowStepGroupCommand")
1318
- .sc(GetWorkflowStepGroup$)
1319
- .build() {
1198
+ class GetWorkflowStepGroupCommand extends command(_ep0, _mw0, "GetWorkflowStepGroup", GetWorkflowStepGroup$) {
1320
1199
  }
1321
1200
 
1322
- class ListPluginsCommand extends Command
1323
- .classBuilder()
1324
- .ep(commonParams)
1325
- .m(function (Command, cs, config, o) {
1326
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1327
- })
1328
- .s("AWSMigrationHubOrchestrator", "ListPlugins", {})
1329
- .n("MigrationHubOrchestratorClient", "ListPluginsCommand")
1330
- .sc(ListPlugins$)
1331
- .build() {
1201
+ class ListPluginsCommand extends command(_ep0, _mw0, "ListPlugins", ListPlugins$) {
1332
1202
  }
1333
1203
 
1334
- class ListTagsForResourceCommand extends Command
1335
- .classBuilder()
1336
- .ep(commonParams)
1337
- .m(function (Command, cs, config, o) {
1338
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1339
- })
1340
- .s("AWSMigrationHubOrchestrator", "ListTagsForResource", {})
1341
- .n("MigrationHubOrchestratorClient", "ListTagsForResourceCommand")
1342
- .sc(ListTagsForResource$)
1343
- .build() {
1204
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1344
1205
  }
1345
1206
 
1346
- class ListTemplatesCommand extends Command
1347
- .classBuilder()
1348
- .ep(commonParams)
1349
- .m(function (Command, cs, config, o) {
1350
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1351
- })
1352
- .s("AWSMigrationHubOrchestrator", "ListTemplates", {})
1353
- .n("MigrationHubOrchestratorClient", "ListTemplatesCommand")
1354
- .sc(ListTemplates$)
1355
- .build() {
1207
+ class ListTemplatesCommand extends command(_ep0, _mw0, "ListTemplates", ListTemplates$) {
1356
1208
  }
1357
1209
 
1358
- class ListTemplateStepGroupsCommand extends Command
1359
- .classBuilder()
1360
- .ep(commonParams)
1361
- .m(function (Command, cs, config, o) {
1362
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1363
- })
1364
- .s("AWSMigrationHubOrchestrator", "ListTemplateStepGroups", {})
1365
- .n("MigrationHubOrchestratorClient", "ListTemplateStepGroupsCommand")
1366
- .sc(ListTemplateStepGroups$)
1367
- .build() {
1210
+ class ListTemplateStepGroupsCommand extends command(_ep0, _mw0, "ListTemplateStepGroups", ListTemplateStepGroups$) {
1368
1211
  }
1369
1212
 
1370
- class ListTemplateStepsCommand extends Command
1371
- .classBuilder()
1372
- .ep(commonParams)
1373
- .m(function (Command, cs, config, o) {
1374
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1375
- })
1376
- .s("AWSMigrationHubOrchestrator", "ListTemplateSteps", {})
1377
- .n("MigrationHubOrchestratorClient", "ListTemplateStepsCommand")
1378
- .sc(ListTemplateSteps$)
1379
- .build() {
1213
+ class ListTemplateStepsCommand extends command(_ep0, _mw0, "ListTemplateSteps", ListTemplateSteps$) {
1380
1214
  }
1381
1215
 
1382
- class ListWorkflowsCommand extends Command
1383
- .classBuilder()
1384
- .ep(commonParams)
1385
- .m(function (Command, cs, config, o) {
1386
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1387
- })
1388
- .s("AWSMigrationHubOrchestrator", "ListWorkflows", {})
1389
- .n("MigrationHubOrchestratorClient", "ListWorkflowsCommand")
1390
- .sc(ListWorkflows$)
1391
- .build() {
1216
+ class ListWorkflowsCommand extends command(_ep0, _mw0, "ListWorkflows", ListWorkflows$) {
1392
1217
  }
1393
1218
 
1394
- class ListWorkflowStepGroupsCommand extends Command
1395
- .classBuilder()
1396
- .ep(commonParams)
1397
- .m(function (Command, cs, config, o) {
1398
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1399
- })
1400
- .s("AWSMigrationHubOrchestrator", "ListWorkflowStepGroups", {})
1401
- .n("MigrationHubOrchestratorClient", "ListWorkflowStepGroupsCommand")
1402
- .sc(ListWorkflowStepGroups$)
1403
- .build() {
1219
+ class ListWorkflowStepGroupsCommand extends command(_ep0, _mw0, "ListWorkflowStepGroups", ListWorkflowStepGroups$) {
1404
1220
  }
1405
1221
 
1406
- class ListWorkflowStepsCommand extends Command
1407
- .classBuilder()
1408
- .ep(commonParams)
1409
- .m(function (Command, cs, config, o) {
1410
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1411
- })
1412
- .s("AWSMigrationHubOrchestrator", "ListWorkflowSteps", {})
1413
- .n("MigrationHubOrchestratorClient", "ListWorkflowStepsCommand")
1414
- .sc(ListWorkflowSteps$)
1415
- .build() {
1222
+ class ListWorkflowStepsCommand extends command(_ep0, _mw0, "ListWorkflowSteps", ListWorkflowSteps$) {
1416
1223
  }
1417
1224
 
1418
- class RetryWorkflowStepCommand extends Command
1419
- .classBuilder()
1420
- .ep(commonParams)
1421
- .m(function (Command, cs, config, o) {
1422
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1423
- })
1424
- .s("AWSMigrationHubOrchestrator", "RetryWorkflowStep", {})
1425
- .n("MigrationHubOrchestratorClient", "RetryWorkflowStepCommand")
1426
- .sc(RetryWorkflowStep$)
1427
- .build() {
1225
+ class RetryWorkflowStepCommand extends command(_ep0, _mw0, "RetryWorkflowStep", RetryWorkflowStep$) {
1428
1226
  }
1429
1227
 
1430
- class StartWorkflowCommand extends Command
1431
- .classBuilder()
1432
- .ep(commonParams)
1433
- .m(function (Command, cs, config, o) {
1434
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1435
- })
1436
- .s("AWSMigrationHubOrchestrator", "StartWorkflow", {})
1437
- .n("MigrationHubOrchestratorClient", "StartWorkflowCommand")
1438
- .sc(StartWorkflow$)
1439
- .build() {
1228
+ class StartWorkflowCommand extends command(_ep0, _mw0, "StartWorkflow", StartWorkflow$) {
1440
1229
  }
1441
1230
 
1442
- class StopWorkflowCommand extends Command
1443
- .classBuilder()
1444
- .ep(commonParams)
1445
- .m(function (Command, cs, config, o) {
1446
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1447
- })
1448
- .s("AWSMigrationHubOrchestrator", "StopWorkflow", {})
1449
- .n("MigrationHubOrchestratorClient", "StopWorkflowCommand")
1450
- .sc(StopWorkflow$)
1451
- .build() {
1231
+ class StopWorkflowCommand extends command(_ep0, _mw0, "StopWorkflow", StopWorkflow$) {
1452
1232
  }
1453
1233
 
1454
- class TagResourceCommand extends Command
1455
- .classBuilder()
1456
- .ep(commonParams)
1457
- .m(function (Command, cs, config, o) {
1458
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1459
- })
1460
- .s("AWSMigrationHubOrchestrator", "TagResource", {})
1461
- .n("MigrationHubOrchestratorClient", "TagResourceCommand")
1462
- .sc(TagResource$)
1463
- .build() {
1234
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1464
1235
  }
1465
1236
 
1466
- class UntagResourceCommand extends Command
1467
- .classBuilder()
1468
- .ep(commonParams)
1469
- .m(function (Command, cs, config, o) {
1470
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1471
- })
1472
- .s("AWSMigrationHubOrchestrator", "UntagResource", {})
1473
- .n("MigrationHubOrchestratorClient", "UntagResourceCommand")
1474
- .sc(UntagResource$)
1475
- .build() {
1237
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1476
1238
  }
1477
1239
 
1478
- class UpdateTemplateCommand extends Command
1479
- .classBuilder()
1480
- .ep(commonParams)
1481
- .m(function (Command, cs, config, o) {
1482
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1483
- })
1484
- .s("AWSMigrationHubOrchestrator", "UpdateTemplate", {})
1485
- .n("MigrationHubOrchestratorClient", "UpdateTemplateCommand")
1486
- .sc(UpdateTemplate$)
1487
- .build() {
1240
+ class UpdateTemplateCommand extends command(_ep0, _mw0, "UpdateTemplate", UpdateTemplate$) {
1488
1241
  }
1489
1242
 
1490
- class UpdateWorkflowCommand extends Command
1491
- .classBuilder()
1492
- .ep(commonParams)
1493
- .m(function (Command, cs, config, o) {
1494
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1495
- })
1496
- .s("AWSMigrationHubOrchestrator", "UpdateWorkflow", {})
1497
- .n("MigrationHubOrchestratorClient", "UpdateWorkflowCommand")
1498
- .sc(UpdateWorkflow$)
1499
- .build() {
1243
+ class UpdateWorkflowCommand extends command(_ep0, _mw0, "UpdateWorkflow", UpdateWorkflow$) {
1500
1244
  }
1501
1245
 
1502
- class UpdateWorkflowStepCommand extends Command
1503
- .classBuilder()
1504
- .ep(commonParams)
1505
- .m(function (Command, cs, config, o) {
1506
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1507
- })
1508
- .s("AWSMigrationHubOrchestrator", "UpdateWorkflowStep", {})
1509
- .n("MigrationHubOrchestratorClient", "UpdateWorkflowStepCommand")
1510
- .sc(UpdateWorkflowStep$)
1511
- .build() {
1246
+ class UpdateWorkflowStepCommand extends command(_ep0, _mw0, "UpdateWorkflowStep", UpdateWorkflowStep$) {
1512
1247
  }
1513
1248
 
1514
- class UpdateWorkflowStepGroupCommand extends Command
1515
- .classBuilder()
1516
- .ep(commonParams)
1517
- .m(function (Command, cs, config, o) {
1518
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1519
- })
1520
- .s("AWSMigrationHubOrchestrator", "UpdateWorkflowStepGroup", {})
1521
- .n("MigrationHubOrchestratorClient", "UpdateWorkflowStepGroupCommand")
1522
- .sc(UpdateWorkflowStepGroup$)
1523
- .build() {
1249
+ class UpdateWorkflowStepGroupCommand extends command(_ep0, _mw0, "UpdateWorkflowStepGroup", UpdateWorkflowStepGroup$) {
1524
1250
  }
1525
1251
 
1526
1252
  const paginateListPlugins = createPaginator(MigrationHubOrchestratorClient, ListPluginsCommand, "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, "AWSMigrationHubOrchestrator", "MigrationHubOrchestratorClient", 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 { CreateTemplate$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateTemplateCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMigrationHubOrchestrator", "CreateTemplate", {})
13
- .n("MigrationHubOrchestratorClient", "CreateTemplateCommand")
14
- .sc(CreateTemplate$)
15
- .build() {
3
+ export class CreateTemplateCommand extends command(_ep0, _mw0, "CreateTemplate", CreateTemplate$) {
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 { CreateWorkflow$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateWorkflowCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMigrationHubOrchestrator", "CreateWorkflow", {})
13
- .n("MigrationHubOrchestratorClient", "CreateWorkflowCommand")
14
- .sc(CreateWorkflow$)
15
- .build() {
3
+ export class CreateWorkflowCommand extends command(_ep0, _mw0, "CreateWorkflow", CreateWorkflow$) {
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 { CreateWorkflowStep$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateWorkflowStepCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMigrationHubOrchestrator", "CreateWorkflowStep", {})
13
- .n("MigrationHubOrchestratorClient", "CreateWorkflowStepCommand")
14
- .sc(CreateWorkflowStep$)
15
- .build() {
3
+ export class CreateWorkflowStepCommand extends command(_ep0, _mw0, "CreateWorkflowStep", CreateWorkflowStep$) {
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 { CreateWorkflowStepGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateWorkflowStepGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMigrationHubOrchestrator", "CreateWorkflowStepGroup", {})
13
- .n("MigrationHubOrchestratorClient", "CreateWorkflowStepGroupCommand")
14
- .sc(CreateWorkflowStepGroup$)
15
- .build() {
3
+ export class CreateWorkflowStepGroupCommand extends command(_ep0, _mw0, "CreateWorkflowStepGroup", CreateWorkflowStepGroup$) {
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 { DeleteTemplate$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteTemplateCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMigrationHubOrchestrator", "DeleteTemplate", {})
13
- .n("MigrationHubOrchestratorClient", "DeleteTemplateCommand")
14
- .sc(DeleteTemplate$)
15
- .build() {
3
+ export class DeleteTemplateCommand extends command(_ep0, _mw0, "DeleteTemplate", DeleteTemplate$) {
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 { DeleteWorkflow$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteWorkflowCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMigrationHubOrchestrator", "DeleteWorkflow", {})
13
- .n("MigrationHubOrchestratorClient", "DeleteWorkflowCommand")
14
- .sc(DeleteWorkflow$)
15
- .build() {
3
+ export class DeleteWorkflowCommand extends command(_ep0, _mw0, "DeleteWorkflow", DeleteWorkflow$) {
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 { DeleteWorkflowStep$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteWorkflowStepCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMigrationHubOrchestrator", "DeleteWorkflowStep", {})
13
- .n("MigrationHubOrchestratorClient", "DeleteWorkflowStepCommand")
14
- .sc(DeleteWorkflowStep$)
15
- .build() {
3
+ export class DeleteWorkflowStepCommand extends command(_ep0, _mw0, "DeleteWorkflowStep", DeleteWorkflowStep$) {
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 { DeleteWorkflowStepGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteWorkflowStepGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMigrationHubOrchestrator", "DeleteWorkflowStepGroup", {})
13
- .n("MigrationHubOrchestratorClient", "DeleteWorkflowStepGroupCommand")
14
- .sc(DeleteWorkflowStepGroup$)
15
- .build() {
3
+ export class DeleteWorkflowStepGroupCommand extends command(_ep0, _mw0, "DeleteWorkflowStepGroup", DeleteWorkflowStepGroup$) {
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 { GetTemplate$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetTemplateCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMigrationHubOrchestrator", "GetTemplate", {})
13
- .n("MigrationHubOrchestratorClient", "GetTemplateCommand")
14
- .sc(GetTemplate$)
15
- .build() {
3
+ export class GetTemplateCommand extends command(_ep0, _mw0, "GetTemplate", GetTemplate$) {
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 { GetTemplateStep$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetTemplateStepCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMigrationHubOrchestrator", "GetTemplateStep", {})
13
- .n("MigrationHubOrchestratorClient", "GetTemplateStepCommand")
14
- .sc(GetTemplateStep$)
15
- .build() {
3
+ export class GetTemplateStepCommand extends command(_ep0, _mw0, "GetTemplateStep", GetTemplateStep$) {
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 { GetTemplateStepGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetTemplateStepGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMigrationHubOrchestrator", "GetTemplateStepGroup", {})
13
- .n("MigrationHubOrchestratorClient", "GetTemplateStepGroupCommand")
14
- .sc(GetTemplateStepGroup$)
15
- .build() {
3
+ export class GetTemplateStepGroupCommand extends command(_ep0, _mw0, "GetTemplateStepGroup", GetTemplateStepGroup$) {
16
4
  }