@aws-sdk/client-migration-hub 3.721.0 → 3.726.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.
package/dist-cjs/index.js CHANGED
@@ -166,7 +166,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
166
166
  }, "resolveRuntimeExtensions");
167
167
 
168
168
  // src/MigrationHubClient.ts
169
- var _MigrationHubClient = class _MigrationHubClient extends import_smithy_client.Client {
169
+ var MigrationHubClient = class extends import_smithy_client.Client {
170
+ static {
171
+ __name(this, "MigrationHubClient");
172
+ }
173
+ /**
174
+ * The resolved configuration of MigrationHubClient class. This is resolved and normalized from the {@link MigrationHubClientConfig | constructor configuration interface}.
175
+ */
176
+ config;
170
177
  constructor(...[configuration]) {
171
178
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
172
179
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -176,7 +183,7 @@ var _MigrationHubClient = class _MigrationHubClient extends import_smithy_client
176
183
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
177
184
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
178
185
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
179
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
186
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
180
187
  super(_config_8);
181
188
  this.config = _config_8;
182
189
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -204,8 +211,6 @@ var _MigrationHubClient = class _MigrationHubClient extends import_smithy_client
204
211
  super.destroy();
205
212
  }
206
213
  };
207
- __name(_MigrationHubClient, "MigrationHubClient");
208
- var MigrationHubClient = _MigrationHubClient;
209
214
 
210
215
  // src/MigrationHub.ts
211
216
 
@@ -222,7 +227,10 @@ var import_core2 = require("@aws-sdk/core");
222
227
 
223
228
  // src/models/MigrationHubServiceException.ts
224
229
 
225
- var _MigrationHubServiceException = class _MigrationHubServiceException extends import_smithy_client.ServiceException {
230
+ var MigrationHubServiceException = class _MigrationHubServiceException extends import_smithy_client.ServiceException {
231
+ static {
232
+ __name(this, "MigrationHubServiceException");
233
+ }
226
234
  /**
227
235
  * @internal
228
236
  */
@@ -231,11 +239,15 @@ var _MigrationHubServiceException = class _MigrationHubServiceException extends
231
239
  Object.setPrototypeOf(this, _MigrationHubServiceException.prototype);
232
240
  }
233
241
  };
234
- __name(_MigrationHubServiceException, "MigrationHubServiceException");
235
- var MigrationHubServiceException = _MigrationHubServiceException;
236
242
 
237
243
  // src/models/models_0.ts
238
- var _AccessDeniedException = class _AccessDeniedException extends MigrationHubServiceException {
244
+ var AccessDeniedException = class _AccessDeniedException extends MigrationHubServiceException {
245
+ static {
246
+ __name(this, "AccessDeniedException");
247
+ }
248
+ name = "AccessDeniedException";
249
+ $fault = "client";
250
+ Message;
239
251
  /**
240
252
  * @internal
241
253
  */
@@ -245,20 +257,22 @@ var _AccessDeniedException = class _AccessDeniedException extends MigrationHubSe
245
257
  $fault: "client",
246
258
  ...opts
247
259
  });
248
- this.name = "AccessDeniedException";
249
- this.$fault = "client";
250
260
  Object.setPrototypeOf(this, _AccessDeniedException.prototype);
251
261
  this.Message = opts.Message;
252
262
  }
253
263
  };
254
- __name(_AccessDeniedException, "AccessDeniedException");
255
- var AccessDeniedException = _AccessDeniedException;
256
264
  var ApplicationStatus = {
257
265
  COMPLETED: "COMPLETED",
258
266
  IN_PROGRESS: "IN_PROGRESS",
259
267
  NOT_STARTED: "NOT_STARTED"
260
268
  };
261
- var _DryRunOperation = class _DryRunOperation extends MigrationHubServiceException {
269
+ var DryRunOperation = class _DryRunOperation extends MigrationHubServiceException {
270
+ static {
271
+ __name(this, "DryRunOperation");
272
+ }
273
+ name = "DryRunOperation";
274
+ $fault = "client";
275
+ Message;
262
276
  /**
263
277
  * @internal
264
278
  */
@@ -268,15 +282,17 @@ var _DryRunOperation = class _DryRunOperation extends MigrationHubServiceExcepti
268
282
  $fault: "client",
269
283
  ...opts
270
284
  });
271
- this.name = "DryRunOperation";
272
- this.$fault = "client";
273
285
  Object.setPrototypeOf(this, _DryRunOperation.prototype);
274
286
  this.Message = opts.Message;
275
287
  }
276
288
  };
277
- __name(_DryRunOperation, "DryRunOperation");
278
- var DryRunOperation = _DryRunOperation;
279
- var _HomeRegionNotSetException = class _HomeRegionNotSetException extends MigrationHubServiceException {
289
+ var HomeRegionNotSetException = class _HomeRegionNotSetException extends MigrationHubServiceException {
290
+ static {
291
+ __name(this, "HomeRegionNotSetException");
292
+ }
293
+ name = "HomeRegionNotSetException";
294
+ $fault = "client";
295
+ Message;
280
296
  /**
281
297
  * @internal
282
298
  */
@@ -286,15 +302,17 @@ var _HomeRegionNotSetException = class _HomeRegionNotSetException extends Migrat
286
302
  $fault: "client",
287
303
  ...opts
288
304
  });
289
- this.name = "HomeRegionNotSetException";
290
- this.$fault = "client";
291
305
  Object.setPrototypeOf(this, _HomeRegionNotSetException.prototype);
292
306
  this.Message = opts.Message;
293
307
  }
294
308
  };
295
- __name(_HomeRegionNotSetException, "HomeRegionNotSetException");
296
- var HomeRegionNotSetException = _HomeRegionNotSetException;
297
- var _InternalServerError = class _InternalServerError extends MigrationHubServiceException {
309
+ var InternalServerError = class _InternalServerError extends MigrationHubServiceException {
310
+ static {
311
+ __name(this, "InternalServerError");
312
+ }
313
+ name = "InternalServerError";
314
+ $fault = "server";
315
+ Message;
298
316
  /**
299
317
  * @internal
300
318
  */
@@ -304,15 +322,17 @@ var _InternalServerError = class _InternalServerError extends MigrationHubServic
304
322
  $fault: "server",
305
323
  ...opts
306
324
  });
307
- this.name = "InternalServerError";
308
- this.$fault = "server";
309
325
  Object.setPrototypeOf(this, _InternalServerError.prototype);
310
326
  this.Message = opts.Message;
311
327
  }
312
328
  };
313
- __name(_InternalServerError, "InternalServerError");
314
- var InternalServerError = _InternalServerError;
315
- var _InvalidInputException = class _InvalidInputException extends MigrationHubServiceException {
329
+ var InvalidInputException = class _InvalidInputException extends MigrationHubServiceException {
330
+ static {
331
+ __name(this, "InvalidInputException");
332
+ }
333
+ name = "InvalidInputException";
334
+ $fault = "client";
335
+ Message;
316
336
  /**
317
337
  * @internal
318
338
  */
@@ -322,15 +342,17 @@ var _InvalidInputException = class _InvalidInputException extends MigrationHubSe
322
342
  $fault: "client",
323
343
  ...opts
324
344
  });
325
- this.name = "InvalidInputException";
326
- this.$fault = "client";
327
345
  Object.setPrototypeOf(this, _InvalidInputException.prototype);
328
346
  this.Message = opts.Message;
329
347
  }
330
348
  };
331
- __name(_InvalidInputException, "InvalidInputException");
332
- var InvalidInputException = _InvalidInputException;
333
- var _ResourceNotFoundException = class _ResourceNotFoundException extends MigrationHubServiceException {
349
+ var ResourceNotFoundException = class _ResourceNotFoundException extends MigrationHubServiceException {
350
+ static {
351
+ __name(this, "ResourceNotFoundException");
352
+ }
353
+ name = "ResourceNotFoundException";
354
+ $fault = "client";
355
+ Message;
334
356
  /**
335
357
  * @internal
336
358
  */
@@ -340,15 +362,17 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Migrat
340
362
  $fault: "client",
341
363
  ...opts
342
364
  });
343
- this.name = "ResourceNotFoundException";
344
- this.$fault = "client";
345
365
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
346
366
  this.Message = opts.Message;
347
367
  }
348
368
  };
349
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
350
- var ResourceNotFoundException = _ResourceNotFoundException;
351
- var _ServiceUnavailableException = class _ServiceUnavailableException extends MigrationHubServiceException {
369
+ var ServiceUnavailableException = class _ServiceUnavailableException extends MigrationHubServiceException {
370
+ static {
371
+ __name(this, "ServiceUnavailableException");
372
+ }
373
+ name = "ServiceUnavailableException";
374
+ $fault = "server";
375
+ Message;
352
376
  /**
353
377
  * @internal
354
378
  */
@@ -358,15 +382,26 @@ var _ServiceUnavailableException = class _ServiceUnavailableException extends Mi
358
382
  $fault: "server",
359
383
  ...opts
360
384
  });
361
- this.name = "ServiceUnavailableException";
362
- this.$fault = "server";
363
385
  Object.setPrototypeOf(this, _ServiceUnavailableException.prototype);
364
386
  this.Message = opts.Message;
365
387
  }
366
388
  };
367
- __name(_ServiceUnavailableException, "ServiceUnavailableException");
368
- var ServiceUnavailableException = _ServiceUnavailableException;
369
- var _ThrottlingException = class _ThrottlingException extends MigrationHubServiceException {
389
+ var ThrottlingException = class _ThrottlingException extends MigrationHubServiceException {
390
+ static {
391
+ __name(this, "ThrottlingException");
392
+ }
393
+ name = "ThrottlingException";
394
+ $fault = "client";
395
+ /**
396
+ * <p>A message that provides information about the exception.</p>
397
+ * @public
398
+ */
399
+ Message;
400
+ /**
401
+ * <p>The number of seconds the caller should wait before retrying.</p>
402
+ * @public
403
+ */
404
+ RetryAfterSeconds;
370
405
  /**
371
406
  * @internal
372
407
  */
@@ -376,16 +411,18 @@ var _ThrottlingException = class _ThrottlingException extends MigrationHubServic
376
411
  $fault: "client",
377
412
  ...opts
378
413
  });
379
- this.name = "ThrottlingException";
380
- this.$fault = "client";
381
414
  Object.setPrototypeOf(this, _ThrottlingException.prototype);
382
415
  this.Message = opts.Message;
383
416
  this.RetryAfterSeconds = opts.RetryAfterSeconds;
384
417
  }
385
418
  };
386
- __name(_ThrottlingException, "ThrottlingException");
387
- var ThrottlingException = _ThrottlingException;
388
- var _UnauthorizedOperation = class _UnauthorizedOperation extends MigrationHubServiceException {
419
+ var UnauthorizedOperation = class _UnauthorizedOperation extends MigrationHubServiceException {
420
+ static {
421
+ __name(this, "UnauthorizedOperation");
422
+ }
423
+ name = "UnauthorizedOperation";
424
+ $fault = "client";
425
+ Message;
389
426
  /**
390
427
  * @internal
391
428
  */
@@ -395,15 +432,17 @@ var _UnauthorizedOperation = class _UnauthorizedOperation extends MigrationHubSe
395
432
  $fault: "client",
396
433
  ...opts
397
434
  });
398
- this.name = "UnauthorizedOperation";
399
- this.$fault = "client";
400
435
  Object.setPrototypeOf(this, _UnauthorizedOperation.prototype);
401
436
  this.Message = opts.Message;
402
437
  }
403
438
  };
404
- __name(_UnauthorizedOperation, "UnauthorizedOperation");
405
- var UnauthorizedOperation = _UnauthorizedOperation;
406
- var _PolicyErrorException = class _PolicyErrorException extends MigrationHubServiceException {
439
+ var PolicyErrorException = class _PolicyErrorException extends MigrationHubServiceException {
440
+ static {
441
+ __name(this, "PolicyErrorException");
442
+ }
443
+ name = "PolicyErrorException";
444
+ $fault = "client";
445
+ Message;
407
446
  /**
408
447
  * @internal
409
448
  */
@@ -413,14 +452,10 @@ var _PolicyErrorException = class _PolicyErrorException extends MigrationHubServ
413
452
  $fault: "client",
414
453
  ...opts
415
454
  });
416
- this.name = "PolicyErrorException";
417
- this.$fault = "client";
418
455
  Object.setPrototypeOf(this, _PolicyErrorException.prototype);
419
456
  this.Message = opts.Message;
420
457
  }
421
458
  };
422
- __name(_PolicyErrorException, "PolicyErrorException");
423
- var PolicyErrorException = _PolicyErrorException;
424
459
  var ResourceAttributeType = {
425
460
  BIOS_ID: "BIOS_ID",
426
461
  FQDN: "FQDN",
@@ -1111,295 +1146,316 @@ function sharedHeaders(operation) {
1111
1146
  __name(sharedHeaders, "sharedHeaders");
1112
1147
 
1113
1148
  // src/commands/AssociateCreatedArtifactCommand.ts
1114
- var _AssociateCreatedArtifactCommand = class _AssociateCreatedArtifactCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1149
+ var AssociateCreatedArtifactCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1115
1150
  return [
1116
1151
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1117
1152
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1118
1153
  ];
1119
1154
  }).s("AWSMigrationHub", "AssociateCreatedArtifact", {}).n("MigrationHubClient", "AssociateCreatedArtifactCommand").f(void 0, void 0).ser(se_AssociateCreatedArtifactCommand).de(de_AssociateCreatedArtifactCommand).build() {
1155
+ static {
1156
+ __name(this, "AssociateCreatedArtifactCommand");
1157
+ }
1120
1158
  };
1121
- __name(_AssociateCreatedArtifactCommand, "AssociateCreatedArtifactCommand");
1122
- var AssociateCreatedArtifactCommand = _AssociateCreatedArtifactCommand;
1123
1159
 
1124
1160
  // src/commands/AssociateDiscoveredResourceCommand.ts
1125
1161
 
1126
1162
 
1127
1163
 
1128
- var _AssociateDiscoveredResourceCommand = class _AssociateDiscoveredResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1164
+ var AssociateDiscoveredResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1129
1165
  return [
1130
1166
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1131
1167
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1132
1168
  ];
1133
1169
  }).s("AWSMigrationHub", "AssociateDiscoveredResource", {}).n("MigrationHubClient", "AssociateDiscoveredResourceCommand").f(void 0, void 0).ser(se_AssociateDiscoveredResourceCommand).de(de_AssociateDiscoveredResourceCommand).build() {
1170
+ static {
1171
+ __name(this, "AssociateDiscoveredResourceCommand");
1172
+ }
1134
1173
  };
1135
- __name(_AssociateDiscoveredResourceCommand, "AssociateDiscoveredResourceCommand");
1136
- var AssociateDiscoveredResourceCommand = _AssociateDiscoveredResourceCommand;
1137
1174
 
1138
1175
  // src/commands/AssociateSourceResourceCommand.ts
1139
1176
 
1140
1177
 
1141
1178
 
1142
- var _AssociateSourceResourceCommand = class _AssociateSourceResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1179
+ var AssociateSourceResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1143
1180
  return [
1144
1181
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1145
1182
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1146
1183
  ];
1147
1184
  }).s("AWSMigrationHub", "AssociateSourceResource", {}).n("MigrationHubClient", "AssociateSourceResourceCommand").f(void 0, void 0).ser(se_AssociateSourceResourceCommand).de(de_AssociateSourceResourceCommand).build() {
1185
+ static {
1186
+ __name(this, "AssociateSourceResourceCommand");
1187
+ }
1148
1188
  };
1149
- __name(_AssociateSourceResourceCommand, "AssociateSourceResourceCommand");
1150
- var AssociateSourceResourceCommand = _AssociateSourceResourceCommand;
1151
1189
 
1152
1190
  // src/commands/CreateProgressUpdateStreamCommand.ts
1153
1191
 
1154
1192
 
1155
1193
 
1156
- var _CreateProgressUpdateStreamCommand = class _CreateProgressUpdateStreamCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1194
+ var CreateProgressUpdateStreamCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1157
1195
  return [
1158
1196
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1159
1197
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1160
1198
  ];
1161
1199
  }).s("AWSMigrationHub", "CreateProgressUpdateStream", {}).n("MigrationHubClient", "CreateProgressUpdateStreamCommand").f(void 0, void 0).ser(se_CreateProgressUpdateStreamCommand).de(de_CreateProgressUpdateStreamCommand).build() {
1200
+ static {
1201
+ __name(this, "CreateProgressUpdateStreamCommand");
1202
+ }
1162
1203
  };
1163
- __name(_CreateProgressUpdateStreamCommand, "CreateProgressUpdateStreamCommand");
1164
- var CreateProgressUpdateStreamCommand = _CreateProgressUpdateStreamCommand;
1165
1204
 
1166
1205
  // src/commands/DeleteProgressUpdateStreamCommand.ts
1167
1206
 
1168
1207
 
1169
1208
 
1170
- var _DeleteProgressUpdateStreamCommand = class _DeleteProgressUpdateStreamCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1209
+ var DeleteProgressUpdateStreamCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1171
1210
  return [
1172
1211
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1173
1212
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1174
1213
  ];
1175
1214
  }).s("AWSMigrationHub", "DeleteProgressUpdateStream", {}).n("MigrationHubClient", "DeleteProgressUpdateStreamCommand").f(void 0, void 0).ser(se_DeleteProgressUpdateStreamCommand).de(de_DeleteProgressUpdateStreamCommand).build() {
1215
+ static {
1216
+ __name(this, "DeleteProgressUpdateStreamCommand");
1217
+ }
1176
1218
  };
1177
- __name(_DeleteProgressUpdateStreamCommand, "DeleteProgressUpdateStreamCommand");
1178
- var DeleteProgressUpdateStreamCommand = _DeleteProgressUpdateStreamCommand;
1179
1219
 
1180
1220
  // src/commands/DescribeApplicationStateCommand.ts
1181
1221
 
1182
1222
 
1183
1223
 
1184
- var _DescribeApplicationStateCommand = class _DescribeApplicationStateCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1224
+ var DescribeApplicationStateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1185
1225
  return [
1186
1226
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1187
1227
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1188
1228
  ];
1189
1229
  }).s("AWSMigrationHub", "DescribeApplicationState", {}).n("MigrationHubClient", "DescribeApplicationStateCommand").f(void 0, void 0).ser(se_DescribeApplicationStateCommand).de(de_DescribeApplicationStateCommand).build() {
1230
+ static {
1231
+ __name(this, "DescribeApplicationStateCommand");
1232
+ }
1190
1233
  };
1191
- __name(_DescribeApplicationStateCommand, "DescribeApplicationStateCommand");
1192
- var DescribeApplicationStateCommand = _DescribeApplicationStateCommand;
1193
1234
 
1194
1235
  // src/commands/DescribeMigrationTaskCommand.ts
1195
1236
 
1196
1237
 
1197
1238
 
1198
- var _DescribeMigrationTaskCommand = class _DescribeMigrationTaskCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1239
+ var DescribeMigrationTaskCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1199
1240
  return [
1200
1241
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1201
1242
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1202
1243
  ];
1203
1244
  }).s("AWSMigrationHub", "DescribeMigrationTask", {}).n("MigrationHubClient", "DescribeMigrationTaskCommand").f(void 0, void 0).ser(se_DescribeMigrationTaskCommand).de(de_DescribeMigrationTaskCommand).build() {
1245
+ static {
1246
+ __name(this, "DescribeMigrationTaskCommand");
1247
+ }
1204
1248
  };
1205
- __name(_DescribeMigrationTaskCommand, "DescribeMigrationTaskCommand");
1206
- var DescribeMigrationTaskCommand = _DescribeMigrationTaskCommand;
1207
1249
 
1208
1250
  // src/commands/DisassociateCreatedArtifactCommand.ts
1209
1251
 
1210
1252
 
1211
1253
 
1212
- var _DisassociateCreatedArtifactCommand = class _DisassociateCreatedArtifactCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1254
+ var DisassociateCreatedArtifactCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1213
1255
  return [
1214
1256
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1215
1257
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1216
1258
  ];
1217
1259
  }).s("AWSMigrationHub", "DisassociateCreatedArtifact", {}).n("MigrationHubClient", "DisassociateCreatedArtifactCommand").f(void 0, void 0).ser(se_DisassociateCreatedArtifactCommand).de(de_DisassociateCreatedArtifactCommand).build() {
1260
+ static {
1261
+ __name(this, "DisassociateCreatedArtifactCommand");
1262
+ }
1218
1263
  };
1219
- __name(_DisassociateCreatedArtifactCommand, "DisassociateCreatedArtifactCommand");
1220
- var DisassociateCreatedArtifactCommand = _DisassociateCreatedArtifactCommand;
1221
1264
 
1222
1265
  // src/commands/DisassociateDiscoveredResourceCommand.ts
1223
1266
 
1224
1267
 
1225
1268
 
1226
- var _DisassociateDiscoveredResourceCommand = class _DisassociateDiscoveredResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1269
+ var DisassociateDiscoveredResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1227
1270
  return [
1228
1271
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1229
1272
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1230
1273
  ];
1231
1274
  }).s("AWSMigrationHub", "DisassociateDiscoveredResource", {}).n("MigrationHubClient", "DisassociateDiscoveredResourceCommand").f(void 0, void 0).ser(se_DisassociateDiscoveredResourceCommand).de(de_DisassociateDiscoveredResourceCommand).build() {
1275
+ static {
1276
+ __name(this, "DisassociateDiscoveredResourceCommand");
1277
+ }
1232
1278
  };
1233
- __name(_DisassociateDiscoveredResourceCommand, "DisassociateDiscoveredResourceCommand");
1234
- var DisassociateDiscoveredResourceCommand = _DisassociateDiscoveredResourceCommand;
1235
1279
 
1236
1280
  // src/commands/DisassociateSourceResourceCommand.ts
1237
1281
 
1238
1282
 
1239
1283
 
1240
- var _DisassociateSourceResourceCommand = class _DisassociateSourceResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1284
+ var DisassociateSourceResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1241
1285
  return [
1242
1286
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1243
1287
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1244
1288
  ];
1245
1289
  }).s("AWSMigrationHub", "DisassociateSourceResource", {}).n("MigrationHubClient", "DisassociateSourceResourceCommand").f(void 0, void 0).ser(se_DisassociateSourceResourceCommand).de(de_DisassociateSourceResourceCommand).build() {
1290
+ static {
1291
+ __name(this, "DisassociateSourceResourceCommand");
1292
+ }
1246
1293
  };
1247
- __name(_DisassociateSourceResourceCommand, "DisassociateSourceResourceCommand");
1248
- var DisassociateSourceResourceCommand = _DisassociateSourceResourceCommand;
1249
1294
 
1250
1295
  // src/commands/ImportMigrationTaskCommand.ts
1251
1296
 
1252
1297
 
1253
1298
 
1254
- var _ImportMigrationTaskCommand = class _ImportMigrationTaskCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1299
+ var ImportMigrationTaskCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1255
1300
  return [
1256
1301
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1257
1302
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1258
1303
  ];
1259
1304
  }).s("AWSMigrationHub", "ImportMigrationTask", {}).n("MigrationHubClient", "ImportMigrationTaskCommand").f(void 0, void 0).ser(se_ImportMigrationTaskCommand).de(de_ImportMigrationTaskCommand).build() {
1305
+ static {
1306
+ __name(this, "ImportMigrationTaskCommand");
1307
+ }
1260
1308
  };
1261
- __name(_ImportMigrationTaskCommand, "ImportMigrationTaskCommand");
1262
- var ImportMigrationTaskCommand = _ImportMigrationTaskCommand;
1263
1309
 
1264
1310
  // src/commands/ListApplicationStatesCommand.ts
1265
1311
 
1266
1312
 
1267
1313
 
1268
- var _ListApplicationStatesCommand = class _ListApplicationStatesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1314
+ var ListApplicationStatesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1269
1315
  return [
1270
1316
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1271
1317
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1272
1318
  ];
1273
1319
  }).s("AWSMigrationHub", "ListApplicationStates", {}).n("MigrationHubClient", "ListApplicationStatesCommand").f(void 0, void 0).ser(se_ListApplicationStatesCommand).de(de_ListApplicationStatesCommand).build() {
1320
+ static {
1321
+ __name(this, "ListApplicationStatesCommand");
1322
+ }
1274
1323
  };
1275
- __name(_ListApplicationStatesCommand, "ListApplicationStatesCommand");
1276
- var ListApplicationStatesCommand = _ListApplicationStatesCommand;
1277
1324
 
1278
1325
  // src/commands/ListCreatedArtifactsCommand.ts
1279
1326
 
1280
1327
 
1281
1328
 
1282
- var _ListCreatedArtifactsCommand = class _ListCreatedArtifactsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1329
+ var ListCreatedArtifactsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1283
1330
  return [
1284
1331
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1285
1332
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1286
1333
  ];
1287
1334
  }).s("AWSMigrationHub", "ListCreatedArtifacts", {}).n("MigrationHubClient", "ListCreatedArtifactsCommand").f(void 0, void 0).ser(se_ListCreatedArtifactsCommand).de(de_ListCreatedArtifactsCommand).build() {
1335
+ static {
1336
+ __name(this, "ListCreatedArtifactsCommand");
1337
+ }
1288
1338
  };
1289
- __name(_ListCreatedArtifactsCommand, "ListCreatedArtifactsCommand");
1290
- var ListCreatedArtifactsCommand = _ListCreatedArtifactsCommand;
1291
1339
 
1292
1340
  // src/commands/ListDiscoveredResourcesCommand.ts
1293
1341
 
1294
1342
 
1295
1343
 
1296
- var _ListDiscoveredResourcesCommand = class _ListDiscoveredResourcesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1344
+ var ListDiscoveredResourcesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1297
1345
  return [
1298
1346
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1299
1347
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1300
1348
  ];
1301
1349
  }).s("AWSMigrationHub", "ListDiscoveredResources", {}).n("MigrationHubClient", "ListDiscoveredResourcesCommand").f(void 0, void 0).ser(se_ListDiscoveredResourcesCommand).de(de_ListDiscoveredResourcesCommand).build() {
1350
+ static {
1351
+ __name(this, "ListDiscoveredResourcesCommand");
1352
+ }
1302
1353
  };
1303
- __name(_ListDiscoveredResourcesCommand, "ListDiscoveredResourcesCommand");
1304
- var ListDiscoveredResourcesCommand = _ListDiscoveredResourcesCommand;
1305
1354
 
1306
1355
  // src/commands/ListMigrationTasksCommand.ts
1307
1356
 
1308
1357
 
1309
1358
 
1310
- var _ListMigrationTasksCommand = class _ListMigrationTasksCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1359
+ var ListMigrationTasksCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1311
1360
  return [
1312
1361
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1313
1362
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1314
1363
  ];
1315
1364
  }).s("AWSMigrationHub", "ListMigrationTasks", {}).n("MigrationHubClient", "ListMigrationTasksCommand").f(void 0, void 0).ser(se_ListMigrationTasksCommand).de(de_ListMigrationTasksCommand).build() {
1365
+ static {
1366
+ __name(this, "ListMigrationTasksCommand");
1367
+ }
1316
1368
  };
1317
- __name(_ListMigrationTasksCommand, "ListMigrationTasksCommand");
1318
- var ListMigrationTasksCommand = _ListMigrationTasksCommand;
1319
1369
 
1320
1370
  // src/commands/ListMigrationTaskUpdatesCommand.ts
1321
1371
 
1322
1372
 
1323
1373
 
1324
- var _ListMigrationTaskUpdatesCommand = class _ListMigrationTaskUpdatesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1374
+ var ListMigrationTaskUpdatesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1325
1375
  return [
1326
1376
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1327
1377
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1328
1378
  ];
1329
1379
  }).s("AWSMigrationHub", "ListMigrationTaskUpdates", {}).n("MigrationHubClient", "ListMigrationTaskUpdatesCommand").f(void 0, void 0).ser(se_ListMigrationTaskUpdatesCommand).de(de_ListMigrationTaskUpdatesCommand).build() {
1380
+ static {
1381
+ __name(this, "ListMigrationTaskUpdatesCommand");
1382
+ }
1330
1383
  };
1331
- __name(_ListMigrationTaskUpdatesCommand, "ListMigrationTaskUpdatesCommand");
1332
- var ListMigrationTaskUpdatesCommand = _ListMigrationTaskUpdatesCommand;
1333
1384
 
1334
1385
  // src/commands/ListProgressUpdateStreamsCommand.ts
1335
1386
 
1336
1387
 
1337
1388
 
1338
- var _ListProgressUpdateStreamsCommand = class _ListProgressUpdateStreamsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1389
+ var ListProgressUpdateStreamsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1339
1390
  return [
1340
1391
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1341
1392
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1342
1393
  ];
1343
1394
  }).s("AWSMigrationHub", "ListProgressUpdateStreams", {}).n("MigrationHubClient", "ListProgressUpdateStreamsCommand").f(void 0, void 0).ser(se_ListProgressUpdateStreamsCommand).de(de_ListProgressUpdateStreamsCommand).build() {
1395
+ static {
1396
+ __name(this, "ListProgressUpdateStreamsCommand");
1397
+ }
1344
1398
  };
1345
- __name(_ListProgressUpdateStreamsCommand, "ListProgressUpdateStreamsCommand");
1346
- var ListProgressUpdateStreamsCommand = _ListProgressUpdateStreamsCommand;
1347
1399
 
1348
1400
  // src/commands/ListSourceResourcesCommand.ts
1349
1401
 
1350
1402
 
1351
1403
 
1352
- var _ListSourceResourcesCommand = class _ListSourceResourcesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1404
+ var ListSourceResourcesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1353
1405
  return [
1354
1406
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1355
1407
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1356
1408
  ];
1357
1409
  }).s("AWSMigrationHub", "ListSourceResources", {}).n("MigrationHubClient", "ListSourceResourcesCommand").f(void 0, void 0).ser(se_ListSourceResourcesCommand).de(de_ListSourceResourcesCommand).build() {
1410
+ static {
1411
+ __name(this, "ListSourceResourcesCommand");
1412
+ }
1358
1413
  };
1359
- __name(_ListSourceResourcesCommand, "ListSourceResourcesCommand");
1360
- var ListSourceResourcesCommand = _ListSourceResourcesCommand;
1361
1414
 
1362
1415
  // src/commands/NotifyApplicationStateCommand.ts
1363
1416
 
1364
1417
 
1365
1418
 
1366
- var _NotifyApplicationStateCommand = class _NotifyApplicationStateCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1419
+ var NotifyApplicationStateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1367
1420
  return [
1368
1421
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1369
1422
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1370
1423
  ];
1371
1424
  }).s("AWSMigrationHub", "NotifyApplicationState", {}).n("MigrationHubClient", "NotifyApplicationStateCommand").f(void 0, void 0).ser(se_NotifyApplicationStateCommand).de(de_NotifyApplicationStateCommand).build() {
1425
+ static {
1426
+ __name(this, "NotifyApplicationStateCommand");
1427
+ }
1372
1428
  };
1373
- __name(_NotifyApplicationStateCommand, "NotifyApplicationStateCommand");
1374
- var NotifyApplicationStateCommand = _NotifyApplicationStateCommand;
1375
1429
 
1376
1430
  // src/commands/NotifyMigrationTaskStateCommand.ts
1377
1431
 
1378
1432
 
1379
1433
 
1380
- var _NotifyMigrationTaskStateCommand = class _NotifyMigrationTaskStateCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1434
+ var NotifyMigrationTaskStateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1381
1435
  return [
1382
1436
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1383
1437
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1384
1438
  ];
1385
1439
  }).s("AWSMigrationHub", "NotifyMigrationTaskState", {}).n("MigrationHubClient", "NotifyMigrationTaskStateCommand").f(void 0, void 0).ser(se_NotifyMigrationTaskStateCommand).de(de_NotifyMigrationTaskStateCommand).build() {
1440
+ static {
1441
+ __name(this, "NotifyMigrationTaskStateCommand");
1442
+ }
1386
1443
  };
1387
- __name(_NotifyMigrationTaskStateCommand, "NotifyMigrationTaskStateCommand");
1388
- var NotifyMigrationTaskStateCommand = _NotifyMigrationTaskStateCommand;
1389
1444
 
1390
1445
  // src/commands/PutResourceAttributesCommand.ts
1391
1446
 
1392
1447
 
1393
1448
 
1394
- var _PutResourceAttributesCommand = class _PutResourceAttributesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1449
+ var PutResourceAttributesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1395
1450
  return [
1396
1451
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1397
1452
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1398
1453
  ];
1399
1454
  }).s("AWSMigrationHub", "PutResourceAttributes", {}).n("MigrationHubClient", "PutResourceAttributesCommand").f(void 0, void 0).ser(se_PutResourceAttributesCommand).de(de_PutResourceAttributesCommand).build() {
1455
+ static {
1456
+ __name(this, "PutResourceAttributesCommand");
1457
+ }
1400
1458
  };
1401
- __name(_PutResourceAttributesCommand, "PutResourceAttributesCommand");
1402
- var PutResourceAttributesCommand = _PutResourceAttributesCommand;
1403
1459
 
1404
1460
  // src/MigrationHub.ts
1405
1461
  var commands = {
@@ -1425,10 +1481,11 @@ var commands = {
1425
1481
  NotifyMigrationTaskStateCommand,
1426
1482
  PutResourceAttributesCommand
1427
1483
  };
1428
- var _MigrationHub = class _MigrationHub extends MigrationHubClient {
1484
+ var MigrationHub = class extends MigrationHubClient {
1485
+ static {
1486
+ __name(this, "MigrationHub");
1487
+ }
1429
1488
  };
1430
- __name(_MigrationHub, "MigrationHub");
1431
- var MigrationHub = _MigrationHub;
1432
1489
  (0, import_smithy_client.createAggregatedClient)(commands, MigrationHub);
1433
1490
 
1434
1491
  // src/pagination/ListApplicationStatesPaginator.ts
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class MigrationHubClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -1,13 +1,14 @@
1
1
  import { MigrationHubServiceException as __BaseException } from "./MigrationHubServiceException";
2
2
  export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ Message;
3
6
  constructor(opts) {
4
7
  super({
5
8
  name: "AccessDeniedException",
6
9
  $fault: "client",
7
10
  ...opts,
8
11
  });
9
- this.name = "AccessDeniedException";
10
- this.$fault = "client";
11
12
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
13
  this.Message = opts.Message;
13
14
  }
@@ -18,119 +19,129 @@ export const ApplicationStatus = {
18
19
  NOT_STARTED: "NOT_STARTED",
19
20
  };
20
21
  export class DryRunOperation extends __BaseException {
22
+ name = "DryRunOperation";
23
+ $fault = "client";
24
+ Message;
21
25
  constructor(opts) {
22
26
  super({
23
27
  name: "DryRunOperation",
24
28
  $fault: "client",
25
29
  ...opts,
26
30
  });
27
- this.name = "DryRunOperation";
28
- this.$fault = "client";
29
31
  Object.setPrototypeOf(this, DryRunOperation.prototype);
30
32
  this.Message = opts.Message;
31
33
  }
32
34
  }
33
35
  export class HomeRegionNotSetException extends __BaseException {
36
+ name = "HomeRegionNotSetException";
37
+ $fault = "client";
38
+ Message;
34
39
  constructor(opts) {
35
40
  super({
36
41
  name: "HomeRegionNotSetException",
37
42
  $fault: "client",
38
43
  ...opts,
39
44
  });
40
- this.name = "HomeRegionNotSetException";
41
- this.$fault = "client";
42
45
  Object.setPrototypeOf(this, HomeRegionNotSetException.prototype);
43
46
  this.Message = opts.Message;
44
47
  }
45
48
  }
46
49
  export class InternalServerError extends __BaseException {
50
+ name = "InternalServerError";
51
+ $fault = "server";
52
+ Message;
47
53
  constructor(opts) {
48
54
  super({
49
55
  name: "InternalServerError",
50
56
  $fault: "server",
51
57
  ...opts,
52
58
  });
53
- this.name = "InternalServerError";
54
- this.$fault = "server";
55
59
  Object.setPrototypeOf(this, InternalServerError.prototype);
56
60
  this.Message = opts.Message;
57
61
  }
58
62
  }
59
63
  export class InvalidInputException extends __BaseException {
64
+ name = "InvalidInputException";
65
+ $fault = "client";
66
+ Message;
60
67
  constructor(opts) {
61
68
  super({
62
69
  name: "InvalidInputException",
63
70
  $fault: "client",
64
71
  ...opts,
65
72
  });
66
- this.name = "InvalidInputException";
67
- this.$fault = "client";
68
73
  Object.setPrototypeOf(this, InvalidInputException.prototype);
69
74
  this.Message = opts.Message;
70
75
  }
71
76
  }
72
77
  export class ResourceNotFoundException extends __BaseException {
78
+ name = "ResourceNotFoundException";
79
+ $fault = "client";
80
+ Message;
73
81
  constructor(opts) {
74
82
  super({
75
83
  name: "ResourceNotFoundException",
76
84
  $fault: "client",
77
85
  ...opts,
78
86
  });
79
- this.name = "ResourceNotFoundException";
80
- this.$fault = "client";
81
87
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
82
88
  this.Message = opts.Message;
83
89
  }
84
90
  }
85
91
  export class ServiceUnavailableException extends __BaseException {
92
+ name = "ServiceUnavailableException";
93
+ $fault = "server";
94
+ Message;
86
95
  constructor(opts) {
87
96
  super({
88
97
  name: "ServiceUnavailableException",
89
98
  $fault: "server",
90
99
  ...opts,
91
100
  });
92
- this.name = "ServiceUnavailableException";
93
- this.$fault = "server";
94
101
  Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
95
102
  this.Message = opts.Message;
96
103
  }
97
104
  }
98
105
  export class ThrottlingException extends __BaseException {
106
+ name = "ThrottlingException";
107
+ $fault = "client";
108
+ Message;
109
+ RetryAfterSeconds;
99
110
  constructor(opts) {
100
111
  super({
101
112
  name: "ThrottlingException",
102
113
  $fault: "client",
103
114
  ...opts,
104
115
  });
105
- this.name = "ThrottlingException";
106
- this.$fault = "client";
107
116
  Object.setPrototypeOf(this, ThrottlingException.prototype);
108
117
  this.Message = opts.Message;
109
118
  this.RetryAfterSeconds = opts.RetryAfterSeconds;
110
119
  }
111
120
  }
112
121
  export class UnauthorizedOperation extends __BaseException {
122
+ name = "UnauthorizedOperation";
123
+ $fault = "client";
124
+ Message;
113
125
  constructor(opts) {
114
126
  super({
115
127
  name: "UnauthorizedOperation",
116
128
  $fault: "client",
117
129
  ...opts,
118
130
  });
119
- this.name = "UnauthorizedOperation";
120
- this.$fault = "client";
121
131
  Object.setPrototypeOf(this, UnauthorizedOperation.prototype);
122
132
  this.Message = opts.Message;
123
133
  }
124
134
  }
125
135
  export class PolicyErrorException extends __BaseException {
136
+ name = "PolicyErrorException";
137
+ $fault = "client";
138
+ Message;
126
139
  constructor(opts) {
127
140
  super({
128
141
  name: "PolicyErrorException",
129
142
  $fault: "client",
130
143
  ...opts,
131
144
  });
132
- this.name = "PolicyErrorException";
133
- this.$fault = "client";
134
145
  Object.setPrototypeOf(this, PolicyErrorException.prototype);
135
146
  this.Message = opts.Message;
136
147
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: MigrationHubClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: MigrationHubClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: MigrationHubClientConfig) => {
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: MigrationHubClientConfig) => {
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: MigrationHubClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- input: any
11
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ _: unknown
13
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
14
  defaultUserAgentProvider: (
13
15
  config?:
14
16
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: MigrationHubClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- init?:
11
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
12
- | undefined
13
- ) => import("@smithy/types").MemoizedProvider<
14
- import("@smithy/types").AwsCredentialIdentity
15
- >;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ init?:
13
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
+ | undefined
15
+ ) => import("@smithy/types").MemoizedProvider<
16
+ import("@smithy/types").AwsCredentialIdentity
17
+ >);
16
18
  defaultUserAgentProvider: (
17
19
  config?:
18
20
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: MigrationHubClientConfig) => {
28
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
29
  | undefined
30
30
  ) => Promise<import("@smithy/types").UserAgent>;
31
- credentialDefaultProvider: (
32
- input: any
33
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
31
+ credentialDefaultProvider:
32
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
33
+ | ((
34
+ _: unknown
35
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
34
36
  maxAttempts: number | import("@smithy/types").Provider<number>;
35
37
  retryMode: string | import("@smithy/types").Provider<string>;
36
38
  logger: import("@smithy/types").Logger;
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: MigrationHubClientConfig) => {
50
52
  | import("@smithy/types").RetryStrategyV2
51
53
  | undefined;
52
54
  endpoint?:
53
- | string
54
- | import("@smithy/types").Endpoint
55
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
56
- | import("@smithy/types").EndpointV2
57
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
55
+ | ((
56
+ | string
57
+ | import("@smithy/types").Endpoint
58
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
59
+ | import("@smithy/types").EndpointV2
60
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
61
+ ) &
62
+ (
63
+ | string
64
+ | import("@smithy/types").Provider<string>
65
+ | import("@smithy/types").Endpoint
66
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
67
+ | import("@smithy/types").EndpointV2
68
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
69
+ ))
58
70
  | undefined;
59
71
  endpointProvider: (
60
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-migration-hub",
3
3
  "description": "AWS SDK for JavaScript Migration Hub Client for Node.js, Browser and React Native",
4
- "version": "3.721.0",
4
+ "version": "3.726.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-migration-hub",
@@ -20,56 +20,56 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.721.0",
24
- "@aws-sdk/client-sts": "3.721.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.721.0",
27
- "@aws-sdk/middleware-host-header": "3.714.0",
28
- "@aws-sdk/middleware-logger": "3.714.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.721.0",
31
- "@aws-sdk/region-config-resolver": "3.714.0",
32
- "@aws-sdk/types": "3.714.0",
33
- "@aws-sdk/util-endpoints": "3.714.0",
34
- "@aws-sdk/util-user-agent-browser": "3.714.0",
35
- "@aws-sdk/util-user-agent-node": "3.721.0",
36
- "@smithy/config-resolver": "^3.0.13",
37
- "@smithy/core": "^2.5.5",
38
- "@smithy/fetch-http-handler": "^4.1.2",
39
- "@smithy/hash-node": "^3.0.11",
40
- "@smithy/invalid-dependency": "^3.0.11",
41
- "@smithy/middleware-content-length": "^3.0.13",
42
- "@smithy/middleware-endpoint": "^3.2.6",
43
- "@smithy/middleware-retry": "^3.0.31",
44
- "@smithy/middleware-serde": "^3.0.11",
45
- "@smithy/middleware-stack": "^3.0.11",
46
- "@smithy/node-config-provider": "^3.1.12",
47
- "@smithy/node-http-handler": "^3.3.2",
48
- "@smithy/protocol-http": "^4.1.8",
49
- "@smithy/smithy-client": "^3.5.1",
50
- "@smithy/types": "^3.7.2",
51
- "@smithy/url-parser": "^3.0.11",
52
- "@smithy/util-base64": "^3.0.0",
53
- "@smithy/util-body-length-browser": "^3.0.0",
54
- "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.31",
56
- "@smithy/util-defaults-mode-node": "^3.0.31",
57
- "@smithy/util-endpoints": "^2.1.7",
58
- "@smithy/util-middleware": "^3.0.11",
59
- "@smithy/util-retry": "^3.0.11",
60
- "@smithy/util-utf8": "^3.0.0",
23
+ "@aws-sdk/client-sso-oidc": "3.726.0",
24
+ "@aws-sdk/client-sts": "3.726.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.726.0",
27
+ "@aws-sdk/middleware-host-header": "3.723.0",
28
+ "@aws-sdk/middleware-logger": "3.723.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
30
+ "@aws-sdk/middleware-user-agent": "3.726.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.726.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.726.0",
36
+ "@smithy/config-resolver": "^4.0.0",
37
+ "@smithy/core": "^3.0.0",
38
+ "@smithy/fetch-http-handler": "^5.0.0",
39
+ "@smithy/hash-node": "^4.0.0",
40
+ "@smithy/invalid-dependency": "^4.0.0",
41
+ "@smithy/middleware-content-length": "^4.0.0",
42
+ "@smithy/middleware-endpoint": "^4.0.0",
43
+ "@smithy/middleware-retry": "^4.0.0",
44
+ "@smithy/middleware-serde": "^4.0.0",
45
+ "@smithy/middleware-stack": "^4.0.0",
46
+ "@smithy/node-config-provider": "^4.0.0",
47
+ "@smithy/node-http-handler": "^4.0.0",
48
+ "@smithy/protocol-http": "^5.0.0",
49
+ "@smithy/smithy-client": "^4.0.0",
50
+ "@smithy/types": "^4.0.0",
51
+ "@smithy/url-parser": "^4.0.0",
52
+ "@smithy/util-base64": "^4.0.0",
53
+ "@smithy/util-body-length-browser": "^4.0.0",
54
+ "@smithy/util-body-length-node": "^4.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
56
+ "@smithy/util-defaults-mode-node": "^4.0.0",
57
+ "@smithy/util-endpoints": "^3.0.0",
58
+ "@smithy/util-middleware": "^4.0.0",
59
+ "@smithy/util-retry": "^4.0.0",
60
+ "@smithy/util-utf8": "^4.0.0",
61
61
  "tslib": "^2.6.2"
62
62
  },
63
63
  "devDependencies": {
64
- "@tsconfig/node16": "16.1.3",
65
- "@types/node": "^16.18.96",
64
+ "@tsconfig/node18": "18.2.4",
65
+ "@types/node": "^18.19.69",
66
66
  "concurrently": "7.0.0",
67
67
  "downlevel-dts": "0.10.1",
68
68
  "rimraf": "3.0.2",
69
- "typescript": "~4.9.5"
69
+ "typescript": "~5.2.2"
70
70
  },
71
71
  "engines": {
72
- "node": ">=16.0.0"
72
+ "node": ">=18.0.0"
73
73
  },
74
74
  "typesVersions": {
75
75
  "<4.0": {