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