@aws-sdk/client-migration-hub-refactor-spaces 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 (80) hide show
  1. package/dist-cjs/index.js +32 -243
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateApplicationCommand.js +2 -14
  4. package/dist-es/commands/CreateEnvironmentCommand.js +2 -14
  5. package/dist-es/commands/CreateRouteCommand.js +2 -14
  6. package/dist-es/commands/CreateServiceCommand.js +2 -14
  7. package/dist-es/commands/DeleteApplicationCommand.js +2 -14
  8. package/dist-es/commands/DeleteEnvironmentCommand.js +2 -14
  9. package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -14
  10. package/dist-es/commands/DeleteRouteCommand.js +2 -14
  11. package/dist-es/commands/DeleteServiceCommand.js +2 -14
  12. package/dist-es/commands/GetApplicationCommand.js +2 -14
  13. package/dist-es/commands/GetEnvironmentCommand.js +2 -14
  14. package/dist-es/commands/GetResourcePolicyCommand.js +2 -14
  15. package/dist-es/commands/GetRouteCommand.js +2 -14
  16. package/dist-es/commands/GetServiceCommand.js +2 -14
  17. package/dist-es/commands/ListApplicationsCommand.js +2 -14
  18. package/dist-es/commands/ListEnvironmentVpcsCommand.js +2 -14
  19. package/dist-es/commands/ListEnvironmentsCommand.js +2 -14
  20. package/dist-es/commands/ListRoutesCommand.js +2 -14
  21. package/dist-es/commands/ListServicesCommand.js +2 -14
  22. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  23. package/dist-es/commands/PutResourcePolicyCommand.js +2 -14
  24. package/dist-es/commands/TagResourceCommand.js +2 -14
  25. package/dist-es/commands/UntagResourceCommand.js +2 -14
  26. package/dist-es/commands/UpdateRouteCommand.js +2 -14
  27. package/dist-es/index.js +1 -0
  28. package/dist-types/commandBuilder.d.ts +18 -0
  29. package/dist-types/commands/CreateApplicationCommand.d.ts +3 -8
  30. package/dist-types/commands/CreateEnvironmentCommand.d.ts +3 -8
  31. package/dist-types/commands/CreateRouteCommand.d.ts +3 -8
  32. package/dist-types/commands/CreateServiceCommand.d.ts +3 -8
  33. package/dist-types/commands/DeleteApplicationCommand.d.ts +3 -8
  34. package/dist-types/commands/DeleteEnvironmentCommand.d.ts +3 -8
  35. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -8
  36. package/dist-types/commands/DeleteRouteCommand.d.ts +3 -8
  37. package/dist-types/commands/DeleteServiceCommand.d.ts +3 -8
  38. package/dist-types/commands/GetApplicationCommand.d.ts +3 -8
  39. package/dist-types/commands/GetEnvironmentCommand.d.ts +3 -8
  40. package/dist-types/commands/GetResourcePolicyCommand.d.ts +3 -8
  41. package/dist-types/commands/GetRouteCommand.d.ts +3 -8
  42. package/dist-types/commands/GetServiceCommand.d.ts +3 -8
  43. package/dist-types/commands/ListApplicationsCommand.d.ts +3 -8
  44. package/dist-types/commands/ListEnvironmentVpcsCommand.d.ts +3 -8
  45. package/dist-types/commands/ListEnvironmentsCommand.d.ts +3 -8
  46. package/dist-types/commands/ListRoutesCommand.d.ts +3 -8
  47. package/dist-types/commands/ListServicesCommand.d.ts +3 -8
  48. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  49. package/dist-types/commands/PutResourcePolicyCommand.d.ts +3 -8
  50. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  51. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  52. package/dist-types/commands/UpdateRouteCommand.d.ts +3 -8
  53. package/dist-types/index.d.ts +1 -0
  54. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  55. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +7 -16
  56. package/dist-types/ts3.4/commands/CreateEnvironmentCommand.d.ts +7 -16
  57. package/dist-types/ts3.4/commands/CreateRouteCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +7 -16
  59. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/DeleteRouteCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/GetRouteCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/GetServiceCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/ListEnvironmentVpcsCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/ListRoutesCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/UpdateRouteCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/index.d.ts +1 -0
  80. 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
 
@@ -1080,292 +1081,80 @@ class MigrationHubRefactorSpacesClient extends Client {
1080
1081
  }
1081
1082
  }
1082
1083
 
1083
- class CreateApplicationCommand extends Command
1084
- .classBuilder()
1085
- .ep(commonParams)
1086
- .m(function (Command, cs, config, o) {
1087
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1088
- })
1089
- .s("RefactorSpaces", "CreateApplication", {})
1090
- .n("MigrationHubRefactorSpacesClient", "CreateApplicationCommand")
1091
- .sc(CreateApplication$)
1092
- .build() {
1084
+ const command = makeBuilder(commonParams, "RefactorSpaces", "MigrationHubRefactorSpacesClient", getEndpointPlugin);
1085
+ const _ep0 = {};
1086
+ const _mw0 = (Command, cs, config, o) => [];
1087
+
1088
+ class CreateApplicationCommand extends command(_ep0, _mw0, "CreateApplication", CreateApplication$) {
1093
1089
  }
1094
1090
 
1095
- class CreateEnvironmentCommand extends Command
1096
- .classBuilder()
1097
- .ep(commonParams)
1098
- .m(function (Command, cs, config, o) {
1099
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1100
- })
1101
- .s("RefactorSpaces", "CreateEnvironment", {})
1102
- .n("MigrationHubRefactorSpacesClient", "CreateEnvironmentCommand")
1103
- .sc(CreateEnvironment$)
1104
- .build() {
1091
+ class CreateEnvironmentCommand extends command(_ep0, _mw0, "CreateEnvironment", CreateEnvironment$) {
1105
1092
  }
1106
1093
 
1107
- class CreateRouteCommand extends Command
1108
- .classBuilder()
1109
- .ep(commonParams)
1110
- .m(function (Command, cs, config, o) {
1111
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1112
- })
1113
- .s("RefactorSpaces", "CreateRoute", {})
1114
- .n("MigrationHubRefactorSpacesClient", "CreateRouteCommand")
1115
- .sc(CreateRoute$)
1116
- .build() {
1094
+ class CreateRouteCommand extends command(_ep0, _mw0, "CreateRoute", CreateRoute$) {
1117
1095
  }
1118
1096
 
1119
- class CreateServiceCommand extends Command
1120
- .classBuilder()
1121
- .ep(commonParams)
1122
- .m(function (Command, cs, config, o) {
1123
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1124
- })
1125
- .s("RefactorSpaces", "CreateService", {})
1126
- .n("MigrationHubRefactorSpacesClient", "CreateServiceCommand")
1127
- .sc(CreateService$)
1128
- .build() {
1097
+ class CreateServiceCommand extends command(_ep0, _mw0, "CreateService", CreateService$) {
1129
1098
  }
1130
1099
 
1131
- class DeleteApplicationCommand extends Command
1132
- .classBuilder()
1133
- .ep(commonParams)
1134
- .m(function (Command, cs, config, o) {
1135
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1136
- })
1137
- .s("RefactorSpaces", "DeleteApplication", {})
1138
- .n("MigrationHubRefactorSpacesClient", "DeleteApplicationCommand")
1139
- .sc(DeleteApplication$)
1140
- .build() {
1100
+ class DeleteApplicationCommand extends command(_ep0, _mw0, "DeleteApplication", DeleteApplication$) {
1141
1101
  }
1142
1102
 
1143
- class DeleteEnvironmentCommand extends Command
1144
- .classBuilder()
1145
- .ep(commonParams)
1146
- .m(function (Command, cs, config, o) {
1147
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1148
- })
1149
- .s("RefactorSpaces", "DeleteEnvironment", {})
1150
- .n("MigrationHubRefactorSpacesClient", "DeleteEnvironmentCommand")
1151
- .sc(DeleteEnvironment$)
1152
- .build() {
1103
+ class DeleteEnvironmentCommand extends command(_ep0, _mw0, "DeleteEnvironment", DeleteEnvironment$) {
1153
1104
  }
1154
1105
 
1155
- class DeleteResourcePolicyCommand extends Command
1156
- .classBuilder()
1157
- .ep(commonParams)
1158
- .m(function (Command, cs, config, o) {
1159
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1160
- })
1161
- .s("RefactorSpaces", "DeleteResourcePolicy", {})
1162
- .n("MigrationHubRefactorSpacesClient", "DeleteResourcePolicyCommand")
1163
- .sc(DeleteResourcePolicy$)
1164
- .build() {
1106
+ class DeleteResourcePolicyCommand extends command(_ep0, _mw0, "DeleteResourcePolicy", DeleteResourcePolicy$) {
1165
1107
  }
1166
1108
 
1167
- class DeleteRouteCommand extends Command
1168
- .classBuilder()
1169
- .ep(commonParams)
1170
- .m(function (Command, cs, config, o) {
1171
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1172
- })
1173
- .s("RefactorSpaces", "DeleteRoute", {})
1174
- .n("MigrationHubRefactorSpacesClient", "DeleteRouteCommand")
1175
- .sc(DeleteRoute$)
1176
- .build() {
1109
+ class DeleteRouteCommand extends command(_ep0, _mw0, "DeleteRoute", DeleteRoute$) {
1177
1110
  }
1178
1111
 
1179
- class DeleteServiceCommand extends Command
1180
- .classBuilder()
1181
- .ep(commonParams)
1182
- .m(function (Command, cs, config, o) {
1183
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1184
- })
1185
- .s("RefactorSpaces", "DeleteService", {})
1186
- .n("MigrationHubRefactorSpacesClient", "DeleteServiceCommand")
1187
- .sc(DeleteService$)
1188
- .build() {
1112
+ class DeleteServiceCommand extends command(_ep0, _mw0, "DeleteService", DeleteService$) {
1189
1113
  }
1190
1114
 
1191
- class GetApplicationCommand extends Command
1192
- .classBuilder()
1193
- .ep(commonParams)
1194
- .m(function (Command, cs, config, o) {
1195
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1196
- })
1197
- .s("RefactorSpaces", "GetApplication", {})
1198
- .n("MigrationHubRefactorSpacesClient", "GetApplicationCommand")
1199
- .sc(GetApplication$)
1200
- .build() {
1115
+ class GetApplicationCommand extends command(_ep0, _mw0, "GetApplication", GetApplication$) {
1201
1116
  }
1202
1117
 
1203
- class GetEnvironmentCommand extends Command
1204
- .classBuilder()
1205
- .ep(commonParams)
1206
- .m(function (Command, cs, config, o) {
1207
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1208
- })
1209
- .s("RefactorSpaces", "GetEnvironment", {})
1210
- .n("MigrationHubRefactorSpacesClient", "GetEnvironmentCommand")
1211
- .sc(GetEnvironment$)
1212
- .build() {
1118
+ class GetEnvironmentCommand extends command(_ep0, _mw0, "GetEnvironment", GetEnvironment$) {
1213
1119
  }
1214
1120
 
1215
- class GetResourcePolicyCommand extends Command
1216
- .classBuilder()
1217
- .ep(commonParams)
1218
- .m(function (Command, cs, config, o) {
1219
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1220
- })
1221
- .s("RefactorSpaces", "GetResourcePolicy", {})
1222
- .n("MigrationHubRefactorSpacesClient", "GetResourcePolicyCommand")
1223
- .sc(GetResourcePolicy$)
1224
- .build() {
1121
+ class GetResourcePolicyCommand extends command(_ep0, _mw0, "GetResourcePolicy", GetResourcePolicy$) {
1225
1122
  }
1226
1123
 
1227
- class GetRouteCommand extends Command
1228
- .classBuilder()
1229
- .ep(commonParams)
1230
- .m(function (Command, cs, config, o) {
1231
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1232
- })
1233
- .s("RefactorSpaces", "GetRoute", {})
1234
- .n("MigrationHubRefactorSpacesClient", "GetRouteCommand")
1235
- .sc(GetRoute$)
1236
- .build() {
1124
+ class GetRouteCommand extends command(_ep0, _mw0, "GetRoute", GetRoute$) {
1237
1125
  }
1238
1126
 
1239
- class GetServiceCommand extends Command
1240
- .classBuilder()
1241
- .ep(commonParams)
1242
- .m(function (Command, cs, config, o) {
1243
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1244
- })
1245
- .s("RefactorSpaces", "GetService", {})
1246
- .n("MigrationHubRefactorSpacesClient", "GetServiceCommand")
1247
- .sc(GetService$)
1248
- .build() {
1127
+ class GetServiceCommand extends command(_ep0, _mw0, "GetService", GetService$) {
1249
1128
  }
1250
1129
 
1251
- class ListApplicationsCommand extends Command
1252
- .classBuilder()
1253
- .ep(commonParams)
1254
- .m(function (Command, cs, config, o) {
1255
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1256
- })
1257
- .s("RefactorSpaces", "ListApplications", {})
1258
- .n("MigrationHubRefactorSpacesClient", "ListApplicationsCommand")
1259
- .sc(ListApplications$)
1260
- .build() {
1130
+ class ListApplicationsCommand extends command(_ep0, _mw0, "ListApplications", ListApplications$) {
1261
1131
  }
1262
1132
 
1263
- class ListEnvironmentsCommand extends Command
1264
- .classBuilder()
1265
- .ep(commonParams)
1266
- .m(function (Command, cs, config, o) {
1267
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1268
- })
1269
- .s("RefactorSpaces", "ListEnvironments", {})
1270
- .n("MigrationHubRefactorSpacesClient", "ListEnvironmentsCommand")
1271
- .sc(ListEnvironments$)
1272
- .build() {
1133
+ class ListEnvironmentsCommand extends command(_ep0, _mw0, "ListEnvironments", ListEnvironments$) {
1273
1134
  }
1274
1135
 
1275
- class ListEnvironmentVpcsCommand extends Command
1276
- .classBuilder()
1277
- .ep(commonParams)
1278
- .m(function (Command, cs, config, o) {
1279
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1280
- })
1281
- .s("RefactorSpaces", "ListEnvironmentVpcs", {})
1282
- .n("MigrationHubRefactorSpacesClient", "ListEnvironmentVpcsCommand")
1283
- .sc(ListEnvironmentVpcs$)
1284
- .build() {
1136
+ class ListEnvironmentVpcsCommand extends command(_ep0, _mw0, "ListEnvironmentVpcs", ListEnvironmentVpcs$) {
1285
1137
  }
1286
1138
 
1287
- class ListRoutesCommand extends Command
1288
- .classBuilder()
1289
- .ep(commonParams)
1290
- .m(function (Command, cs, config, o) {
1291
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1292
- })
1293
- .s("RefactorSpaces", "ListRoutes", {})
1294
- .n("MigrationHubRefactorSpacesClient", "ListRoutesCommand")
1295
- .sc(ListRoutes$)
1296
- .build() {
1139
+ class ListRoutesCommand extends command(_ep0, _mw0, "ListRoutes", ListRoutes$) {
1297
1140
  }
1298
1141
 
1299
- class ListServicesCommand extends Command
1300
- .classBuilder()
1301
- .ep(commonParams)
1302
- .m(function (Command, cs, config, o) {
1303
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1304
- })
1305
- .s("RefactorSpaces", "ListServices", {})
1306
- .n("MigrationHubRefactorSpacesClient", "ListServicesCommand")
1307
- .sc(ListServices$)
1308
- .build() {
1142
+ class ListServicesCommand extends command(_ep0, _mw0, "ListServices", ListServices$) {
1309
1143
  }
1310
1144
 
1311
- class ListTagsForResourceCommand extends Command
1312
- .classBuilder()
1313
- .ep(commonParams)
1314
- .m(function (Command, cs, config, o) {
1315
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1316
- })
1317
- .s("RefactorSpaces", "ListTagsForResource", {})
1318
- .n("MigrationHubRefactorSpacesClient", "ListTagsForResourceCommand")
1319
- .sc(ListTagsForResource$)
1320
- .build() {
1145
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1321
1146
  }
1322
1147
 
1323
- class PutResourcePolicyCommand extends Command
1324
- .classBuilder()
1325
- .ep(commonParams)
1326
- .m(function (Command, cs, config, o) {
1327
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1328
- })
1329
- .s("RefactorSpaces", "PutResourcePolicy", {})
1330
- .n("MigrationHubRefactorSpacesClient", "PutResourcePolicyCommand")
1331
- .sc(PutResourcePolicy$)
1332
- .build() {
1148
+ class PutResourcePolicyCommand extends command(_ep0, _mw0, "PutResourcePolicy", PutResourcePolicy$) {
1333
1149
  }
1334
1150
 
1335
- class TagResourceCommand extends Command
1336
- .classBuilder()
1337
- .ep(commonParams)
1338
- .m(function (Command, cs, config, o) {
1339
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1340
- })
1341
- .s("RefactorSpaces", "TagResource", {})
1342
- .n("MigrationHubRefactorSpacesClient", "TagResourceCommand")
1343
- .sc(TagResource$)
1344
- .build() {
1151
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1345
1152
  }
1346
1153
 
1347
- class UntagResourceCommand extends Command
1348
- .classBuilder()
1349
- .ep(commonParams)
1350
- .m(function (Command, cs, config, o) {
1351
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1352
- })
1353
- .s("RefactorSpaces", "UntagResource", {})
1354
- .n("MigrationHubRefactorSpacesClient", "UntagResourceCommand")
1355
- .sc(UntagResource$)
1356
- .build() {
1154
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1357
1155
  }
1358
1156
 
1359
- class UpdateRouteCommand extends Command
1360
- .classBuilder()
1361
- .ep(commonParams)
1362
- .m(function (Command, cs, config, o) {
1363
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1364
- })
1365
- .s("RefactorSpaces", "UpdateRoute", {})
1366
- .n("MigrationHubRefactorSpacesClient", "UpdateRouteCommand")
1367
- .sc(UpdateRoute$)
1368
- .build() {
1157
+ class UpdateRouteCommand extends command(_ep0, _mw0, "UpdateRoute", UpdateRoute$) {
1369
1158
  }
1370
1159
 
1371
1160
  const paginateListApplications = createPaginator(MigrationHubRefactorSpacesClient, ListApplicationsCommand, "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, "RefactorSpaces", "MigrationHubRefactorSpacesClient", 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 { CreateApplication$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateApplicationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RefactorSpaces", "CreateApplication", {})
13
- .n("MigrationHubRefactorSpacesClient", "CreateApplicationCommand")
14
- .sc(CreateApplication$)
15
- .build() {
3
+ export class CreateApplicationCommand extends command(_ep0, _mw0, "CreateApplication", CreateApplication$) {
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 { CreateEnvironment$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateEnvironmentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RefactorSpaces", "CreateEnvironment", {})
13
- .n("MigrationHubRefactorSpacesClient", "CreateEnvironmentCommand")
14
- .sc(CreateEnvironment$)
15
- .build() {
3
+ export class CreateEnvironmentCommand extends command(_ep0, _mw0, "CreateEnvironment", CreateEnvironment$) {
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 { CreateRoute$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateRouteCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RefactorSpaces", "CreateRoute", {})
13
- .n("MigrationHubRefactorSpacesClient", "CreateRouteCommand")
14
- .sc(CreateRoute$)
15
- .build() {
3
+ export class CreateRouteCommand extends command(_ep0, _mw0, "CreateRoute", CreateRoute$) {
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 { CreateService$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateServiceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RefactorSpaces", "CreateService", {})
13
- .n("MigrationHubRefactorSpacesClient", "CreateServiceCommand")
14
- .sc(CreateService$)
15
- .build() {
3
+ export class CreateServiceCommand extends command(_ep0, _mw0, "CreateService", CreateService$) {
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 { DeleteApplication$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteApplicationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RefactorSpaces", "DeleteApplication", {})
13
- .n("MigrationHubRefactorSpacesClient", "DeleteApplicationCommand")
14
- .sc(DeleteApplication$)
15
- .build() {
3
+ export class DeleteApplicationCommand extends command(_ep0, _mw0, "DeleteApplication", DeleteApplication$) {
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 { DeleteEnvironment$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteEnvironmentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RefactorSpaces", "DeleteEnvironment", {})
13
- .n("MigrationHubRefactorSpacesClient", "DeleteEnvironmentCommand")
14
- .sc(DeleteEnvironment$)
15
- .build() {
3
+ export class DeleteEnvironmentCommand extends command(_ep0, _mw0, "DeleteEnvironment", DeleteEnvironment$) {
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 { DeleteResourcePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteResourcePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RefactorSpaces", "DeleteResourcePolicy", {})
13
- .n("MigrationHubRefactorSpacesClient", "DeleteResourcePolicyCommand")
14
- .sc(DeleteResourcePolicy$)
15
- .build() {
3
+ export class DeleteResourcePolicyCommand extends command(_ep0, _mw0, "DeleteResourcePolicy", DeleteResourcePolicy$) {
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 { DeleteRoute$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteRouteCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RefactorSpaces", "DeleteRoute", {})
13
- .n("MigrationHubRefactorSpacesClient", "DeleteRouteCommand")
14
- .sc(DeleteRoute$)
15
- .build() {
3
+ export class DeleteRouteCommand extends command(_ep0, _mw0, "DeleteRoute", DeleteRoute$) {
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 { DeleteService$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteServiceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RefactorSpaces", "DeleteService", {})
13
- .n("MigrationHubRefactorSpacesClient", "DeleteServiceCommand")
14
- .sc(DeleteService$)
15
- .build() {
3
+ export class DeleteServiceCommand extends command(_ep0, _mw0, "DeleteService", DeleteService$) {
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 { GetApplication$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetApplicationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RefactorSpaces", "GetApplication", {})
13
- .n("MigrationHubRefactorSpacesClient", "GetApplicationCommand")
14
- .sc(GetApplication$)
15
- .build() {
3
+ export class GetApplicationCommand extends command(_ep0, _mw0, "GetApplication", GetApplication$) {
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 { GetEnvironment$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetEnvironmentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RefactorSpaces", "GetEnvironment", {})
13
- .n("MigrationHubRefactorSpacesClient", "GetEnvironmentCommand")
14
- .sc(GetEnvironment$)
15
- .build() {
3
+ export class GetEnvironmentCommand extends command(_ep0, _mw0, "GetEnvironment", GetEnvironment$) {
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 { GetResourcePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetResourcePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RefactorSpaces", "GetResourcePolicy", {})
13
- .n("MigrationHubRefactorSpacesClient", "GetResourcePolicyCommand")
14
- .sc(GetResourcePolicy$)
15
- .build() {
3
+ export class GetResourcePolicyCommand extends command(_ep0, _mw0, "GetResourcePolicy", GetResourcePolicy$) {
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 { GetRoute$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetRouteCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RefactorSpaces", "GetRoute", {})
13
- .n("MigrationHubRefactorSpacesClient", "GetRouteCommand")
14
- .sc(GetRoute$)
15
- .build() {
3
+ export class GetRouteCommand extends command(_ep0, _mw0, "GetRoute", GetRoute$) {
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 { GetService$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetServiceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RefactorSpaces", "GetService", {})
13
- .n("MigrationHubRefactorSpacesClient", "GetServiceCommand")
14
- .sc(GetService$)
15
- .build() {
3
+ export class GetServiceCommand extends command(_ep0, _mw0, "GetService", GetService$) {
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 { ListApplications$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListApplicationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RefactorSpaces", "ListApplications", {})
13
- .n("MigrationHubRefactorSpacesClient", "ListApplicationsCommand")
14
- .sc(ListApplications$)
15
- .build() {
3
+ export class ListApplicationsCommand extends command(_ep0, _mw0, "ListApplications", ListApplications$) {
16
4
  }