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