@aws-sdk/client-migration-hub-refactor-spaces 3.721.0 → 3.723.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
@@ -197,7 +197,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
197
197
  }, "resolveRuntimeExtensions");
198
198
 
199
199
  // src/MigrationHubRefactorSpacesClient.ts
200
- var _MigrationHubRefactorSpacesClient = class _MigrationHubRefactorSpacesClient extends import_smithy_client.Client {
200
+ var MigrationHubRefactorSpacesClient = class extends import_smithy_client.Client {
201
+ static {
202
+ __name(this, "MigrationHubRefactorSpacesClient");
203
+ }
204
+ /**
205
+ * The resolved configuration of MigrationHubRefactorSpacesClient class. This is resolved and normalized from the {@link MigrationHubRefactorSpacesClientConfig | constructor configuration interface}.
206
+ */
207
+ config;
201
208
  constructor(...[configuration]) {
202
209
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
203
210
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -207,7 +214,7 @@ var _MigrationHubRefactorSpacesClient = class _MigrationHubRefactorSpacesClient
207
214
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
208
215
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
209
216
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
210
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
217
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
211
218
  super(_config_8);
212
219
  this.config = _config_8;
213
220
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -235,8 +242,6 @@ var _MigrationHubRefactorSpacesClient = class _MigrationHubRefactorSpacesClient
235
242
  super.destroy();
236
243
  }
237
244
  };
238
- __name(_MigrationHubRefactorSpacesClient, "MigrationHubRefactorSpacesClient");
239
- var MigrationHubRefactorSpacesClient = _MigrationHubRefactorSpacesClient;
240
245
 
241
246
  // src/MigrationHubRefactorSpaces.ts
242
247
 
@@ -251,7 +256,10 @@ var import_middleware_serde = require("@smithy/middleware-serde");
251
256
 
252
257
  // src/models/MigrationHubRefactorSpacesServiceException.ts
253
258
 
254
- var _MigrationHubRefactorSpacesServiceException = class _MigrationHubRefactorSpacesServiceException extends import_smithy_client.ServiceException {
259
+ var MigrationHubRefactorSpacesServiceException = class _MigrationHubRefactorSpacesServiceException extends import_smithy_client.ServiceException {
260
+ static {
261
+ __name(this, "MigrationHubRefactorSpacesServiceException");
262
+ }
255
263
  /**
256
264
  * @internal
257
265
  */
@@ -260,11 +268,15 @@ var _MigrationHubRefactorSpacesServiceException = class _MigrationHubRefactorSpa
260
268
  Object.setPrototypeOf(this, _MigrationHubRefactorSpacesServiceException.prototype);
261
269
  }
262
270
  };
263
- __name(_MigrationHubRefactorSpacesServiceException, "MigrationHubRefactorSpacesServiceException");
264
- var MigrationHubRefactorSpacesServiceException = _MigrationHubRefactorSpacesServiceException;
265
271
 
266
272
  // src/models/models_0.ts
267
- var _AccessDeniedException = class _AccessDeniedException extends MigrationHubRefactorSpacesServiceException {
273
+ var AccessDeniedException = class _AccessDeniedException extends MigrationHubRefactorSpacesServiceException {
274
+ static {
275
+ __name(this, "AccessDeniedException");
276
+ }
277
+ name = "AccessDeniedException";
278
+ $fault = "client";
279
+ Message;
268
280
  /**
269
281
  * @internal
270
282
  */
@@ -274,14 +286,10 @@ var _AccessDeniedException = class _AccessDeniedException extends MigrationHubRe
274
286
  $fault: "client",
275
287
  ...opts
276
288
  });
277
- this.name = "AccessDeniedException";
278
- this.$fault = "client";
279
289
  Object.setPrototypeOf(this, _AccessDeniedException.prototype);
280
290
  this.Message = opts.Message;
281
291
  }
282
292
  };
283
- __name(_AccessDeniedException, "AccessDeniedException");
284
- var AccessDeniedException = _AccessDeniedException;
285
293
  var ApiGatewayEndpointType = {
286
294
  PRIVATE: "PRIVATE",
287
295
  REGIONAL: "REGIONAL"
@@ -331,7 +339,23 @@ var ErrorResourceType = {
331
339
  var ProxyType = {
332
340
  API_GATEWAY: "API_GATEWAY"
333
341
  };
334
- var _ConflictException = class _ConflictException extends MigrationHubRefactorSpacesServiceException {
342
+ var ConflictException = class _ConflictException extends MigrationHubRefactorSpacesServiceException {
343
+ static {
344
+ __name(this, "ConflictException");
345
+ }
346
+ name = "ConflictException";
347
+ $fault = "client";
348
+ Message;
349
+ /**
350
+ * <p>The ID of the resource. </p>
351
+ * @public
352
+ */
353
+ ResourceId;
354
+ /**
355
+ * <p>The type of resource. </p>
356
+ * @public
357
+ */
358
+ ResourceType;
335
359
  /**
336
360
  * @internal
337
361
  */
@@ -341,17 +365,19 @@ var _ConflictException = class _ConflictException extends MigrationHubRefactorSp
341
365
  $fault: "client",
342
366
  ...opts
343
367
  });
344
- this.name = "ConflictException";
345
- this.$fault = "client";
346
368
  Object.setPrototypeOf(this, _ConflictException.prototype);
347
369
  this.Message = opts.Message;
348
370
  this.ResourceId = opts.ResourceId;
349
371
  this.ResourceType = opts.ResourceType;
350
372
  }
351
373
  };
352
- __name(_ConflictException, "ConflictException");
353
- var ConflictException = _ConflictException;
354
- var _InternalServerException = class _InternalServerException extends MigrationHubRefactorSpacesServiceException {
374
+ var InternalServerException = class _InternalServerException extends MigrationHubRefactorSpacesServiceException {
375
+ static {
376
+ __name(this, "InternalServerException");
377
+ }
378
+ name = "InternalServerException";
379
+ $fault = "server";
380
+ Message;
355
381
  /**
356
382
  * @internal
357
383
  */
@@ -361,15 +387,27 @@ var _InternalServerException = class _InternalServerException extends MigrationH
361
387
  $fault: "server",
362
388
  ...opts
363
389
  });
364
- this.name = "InternalServerException";
365
- this.$fault = "server";
366
390
  Object.setPrototypeOf(this, _InternalServerException.prototype);
367
391
  this.Message = opts.Message;
368
392
  }
369
393
  };
370
- __name(_InternalServerException, "InternalServerException");
371
- var InternalServerException = _InternalServerException;
372
- var _ResourceNotFoundException = class _ResourceNotFoundException extends MigrationHubRefactorSpacesServiceException {
394
+ var ResourceNotFoundException = class _ResourceNotFoundException extends MigrationHubRefactorSpacesServiceException {
395
+ static {
396
+ __name(this, "ResourceNotFoundException");
397
+ }
398
+ name = "ResourceNotFoundException";
399
+ $fault = "client";
400
+ Message;
401
+ /**
402
+ * <p>The ID of the resource. </p>
403
+ * @public
404
+ */
405
+ ResourceId;
406
+ /**
407
+ * <p>The type of resource. </p>
408
+ * @public
409
+ */
410
+ ResourceType;
373
411
  /**
374
412
  * @internal
375
413
  */
@@ -379,17 +417,41 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Migrat
379
417
  $fault: "client",
380
418
  ...opts
381
419
  });
382
- this.name = "ResourceNotFoundException";
383
- this.$fault = "client";
384
420
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
385
421
  this.Message = opts.Message;
386
422
  this.ResourceId = opts.ResourceId;
387
423
  this.ResourceType = opts.ResourceType;
388
424
  }
389
425
  };
390
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
391
- var ResourceNotFoundException = _ResourceNotFoundException;
392
- var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends MigrationHubRefactorSpacesServiceException {
426
+ var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends MigrationHubRefactorSpacesServiceException {
427
+ static {
428
+ __name(this, "ServiceQuotaExceededException");
429
+ }
430
+ name = "ServiceQuotaExceededException";
431
+ $fault = "client";
432
+ Message;
433
+ /**
434
+ * <p>The ID of the resource. </p>
435
+ * @public
436
+ */
437
+ ResourceId;
438
+ /**
439
+ * <p>The type of resource. </p>
440
+ * @public
441
+ */
442
+ ResourceType;
443
+ /**
444
+ * <p>Service quota requirement to identify originating quota. Reached throttling quota
445
+ * exception. </p>
446
+ * @public
447
+ */
448
+ QuotaCode;
449
+ /**
450
+ * <p>Service quota requirement to identify originating service. Reached throttling quota
451
+ * exception service code. </p>
452
+ * @public
453
+ */
454
+ ServiceCode;
393
455
  /**
394
456
  * @internal
395
457
  */
@@ -399,8 +461,6 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
399
461
  $fault: "client",
400
462
  ...opts
401
463
  });
402
- this.name = "ServiceQuotaExceededException";
403
- this.$fault = "client";
404
464
  Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
405
465
  this.Message = opts.Message;
406
466
  this.ResourceId = opts.ResourceId;
@@ -409,9 +469,30 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
409
469
  this.ServiceCode = opts.ServiceCode;
410
470
  }
411
471
  };
412
- __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
413
- var ServiceQuotaExceededException = _ServiceQuotaExceededException;
414
- var _ThrottlingException = class _ThrottlingException extends MigrationHubRefactorSpacesServiceException {
472
+ var ThrottlingException = class _ThrottlingException extends MigrationHubRefactorSpacesServiceException {
473
+ static {
474
+ __name(this, "ThrottlingException");
475
+ }
476
+ name = "ThrottlingException";
477
+ $fault = "client";
478
+ Message;
479
+ /**
480
+ * <p>Service quota requirement to identify originating quota. Reached throttling quota
481
+ * exception. </p>
482
+ * @public
483
+ */
484
+ QuotaCode;
485
+ /**
486
+ * <p>Service quota requirement to identify originating service. Reached throttling quota
487
+ * exception service code. </p>
488
+ * @public
489
+ */
490
+ ServiceCode;
491
+ /**
492
+ * <p>The number of seconds to wait before retrying. </p>
493
+ * @public
494
+ */
495
+ RetryAfterSeconds;
415
496
  /**
416
497
  * @internal
417
498
  */
@@ -421,8 +502,6 @@ var _ThrottlingException = class _ThrottlingException extends MigrationHubRefact
421
502
  $fault: "client",
422
503
  ...opts
423
504
  });
424
- this.name = "ThrottlingException";
425
- this.$fault = "client";
426
505
  Object.setPrototypeOf(this, _ThrottlingException.prototype);
427
506
  this.Message = opts.Message;
428
507
  this.QuotaCode = opts.QuotaCode;
@@ -430,9 +509,13 @@ var _ThrottlingException = class _ThrottlingException extends MigrationHubRefact
430
509
  this.RetryAfterSeconds = opts.RetryAfterSeconds;
431
510
  }
432
511
  };
433
- __name(_ThrottlingException, "ThrottlingException");
434
- var ThrottlingException = _ThrottlingException;
435
- var _ValidationException = class _ValidationException extends MigrationHubRefactorSpacesServiceException {
512
+ var ValidationException = class _ValidationException extends MigrationHubRefactorSpacesServiceException {
513
+ static {
514
+ __name(this, "ValidationException");
515
+ }
516
+ name = "ValidationException";
517
+ $fault = "client";
518
+ Message;
436
519
  /**
437
520
  * @internal
438
521
  */
@@ -442,14 +525,10 @@ var _ValidationException = class _ValidationException extends MigrationHubRefact
442
525
  $fault: "client",
443
526
  ...opts
444
527
  });
445
- this.name = "ValidationException";
446
- this.$fault = "client";
447
528
  Object.setPrototypeOf(this, _ValidationException.prototype);
448
529
  this.Message = opts.Message;
449
530
  }
450
531
  };
451
- __name(_ValidationException, "ValidationException");
452
- var ValidationException = _ValidationException;
453
532
  var NetworkFabricType = {
454
533
  NONE: "NONE",
455
534
  TRANSIT_GATEWAY: "TRANSIT_GATEWAY"
@@ -495,7 +574,13 @@ var ServiceState = {
495
574
  DELETING: "DELETING",
496
575
  FAILED: "FAILED"
497
576
  };
498
- var _InvalidResourcePolicyException = class _InvalidResourcePolicyException extends MigrationHubRefactorSpacesServiceException {
577
+ var InvalidResourcePolicyException = class _InvalidResourcePolicyException extends MigrationHubRefactorSpacesServiceException {
578
+ static {
579
+ __name(this, "InvalidResourcePolicyException");
580
+ }
581
+ name = "InvalidResourcePolicyException";
582
+ $fault = "client";
583
+ Message;
499
584
  /**
500
585
  * @internal
501
586
  */
@@ -505,14 +590,10 @@ var _InvalidResourcePolicyException = class _InvalidResourcePolicyException exte
505
590
  $fault: "client",
506
591
  ...opts
507
592
  });
508
- this.name = "InvalidResourcePolicyException";
509
- this.$fault = "client";
510
593
  Object.setPrototypeOf(this, _InvalidResourcePolicyException.prototype);
511
594
  this.Message = opts.Message;
512
595
  }
513
596
  };
514
- __name(_InvalidResourcePolicyException, "InvalidResourcePolicyException");
515
- var InvalidResourcePolicyException = _InvalidResourcePolicyException;
516
597
  var ApplicationSummaryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
517
598
  ...obj,
518
599
  ...obj.Tags && { Tags: import_smithy_client.SENSITIVE_STRING }
@@ -1687,337 +1768,361 @@ var _ra = "retry-after";
1687
1768
  var _tK = "tagKeys";
1688
1769
 
1689
1770
  // src/commands/CreateApplicationCommand.ts
1690
- var _CreateApplicationCommand = class _CreateApplicationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1771
+ var CreateApplicationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1691
1772
  return [
1692
1773
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1693
1774
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1694
1775
  ];
1695
1776
  }).s("RefactorSpaces", "CreateApplication", {}).n("MigrationHubRefactorSpacesClient", "CreateApplicationCommand").f(CreateApplicationRequestFilterSensitiveLog, CreateApplicationResponseFilterSensitiveLog).ser(se_CreateApplicationCommand).de(de_CreateApplicationCommand).build() {
1777
+ static {
1778
+ __name(this, "CreateApplicationCommand");
1779
+ }
1696
1780
  };
1697
- __name(_CreateApplicationCommand, "CreateApplicationCommand");
1698
- var CreateApplicationCommand = _CreateApplicationCommand;
1699
1781
 
1700
1782
  // src/commands/CreateEnvironmentCommand.ts
1701
1783
 
1702
1784
 
1703
1785
 
1704
- var _CreateEnvironmentCommand = class _CreateEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1786
+ var CreateEnvironmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1705
1787
  return [
1706
1788
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1707
1789
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1708
1790
  ];
1709
1791
  }).s("RefactorSpaces", "CreateEnvironment", {}).n("MigrationHubRefactorSpacesClient", "CreateEnvironmentCommand").f(CreateEnvironmentRequestFilterSensitiveLog, CreateEnvironmentResponseFilterSensitiveLog).ser(se_CreateEnvironmentCommand).de(de_CreateEnvironmentCommand).build() {
1792
+ static {
1793
+ __name(this, "CreateEnvironmentCommand");
1794
+ }
1710
1795
  };
1711
- __name(_CreateEnvironmentCommand, "CreateEnvironmentCommand");
1712
- var CreateEnvironmentCommand = _CreateEnvironmentCommand;
1713
1796
 
1714
1797
  // src/commands/CreateRouteCommand.ts
1715
1798
 
1716
1799
 
1717
1800
 
1718
- var _CreateRouteCommand = class _CreateRouteCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1801
+ var CreateRouteCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1719
1802
  return [
1720
1803
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1721
1804
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1722
1805
  ];
1723
1806
  }).s("RefactorSpaces", "CreateRoute", {}).n("MigrationHubRefactorSpacesClient", "CreateRouteCommand").f(CreateRouteRequestFilterSensitiveLog, CreateRouteResponseFilterSensitiveLog).ser(se_CreateRouteCommand).de(de_CreateRouteCommand).build() {
1807
+ static {
1808
+ __name(this, "CreateRouteCommand");
1809
+ }
1724
1810
  };
1725
- __name(_CreateRouteCommand, "CreateRouteCommand");
1726
- var CreateRouteCommand = _CreateRouteCommand;
1727
1811
 
1728
1812
  // src/commands/CreateServiceCommand.ts
1729
1813
 
1730
1814
 
1731
1815
 
1732
- var _CreateServiceCommand = class _CreateServiceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1816
+ var CreateServiceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1733
1817
  return [
1734
1818
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1735
1819
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1736
1820
  ];
1737
1821
  }).s("RefactorSpaces", "CreateService", {}).n("MigrationHubRefactorSpacesClient", "CreateServiceCommand").f(CreateServiceRequestFilterSensitiveLog, CreateServiceResponseFilterSensitiveLog).ser(se_CreateServiceCommand).de(de_CreateServiceCommand).build() {
1822
+ static {
1823
+ __name(this, "CreateServiceCommand");
1824
+ }
1738
1825
  };
1739
- __name(_CreateServiceCommand, "CreateServiceCommand");
1740
- var CreateServiceCommand = _CreateServiceCommand;
1741
1826
 
1742
1827
  // src/commands/DeleteApplicationCommand.ts
1743
1828
 
1744
1829
 
1745
1830
 
1746
- var _DeleteApplicationCommand = class _DeleteApplicationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1831
+ var DeleteApplicationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1747
1832
  return [
1748
1833
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1749
1834
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1750
1835
  ];
1751
1836
  }).s("RefactorSpaces", "DeleteApplication", {}).n("MigrationHubRefactorSpacesClient", "DeleteApplicationCommand").f(void 0, void 0).ser(se_DeleteApplicationCommand).de(de_DeleteApplicationCommand).build() {
1837
+ static {
1838
+ __name(this, "DeleteApplicationCommand");
1839
+ }
1752
1840
  };
1753
- __name(_DeleteApplicationCommand, "DeleteApplicationCommand");
1754
- var DeleteApplicationCommand = _DeleteApplicationCommand;
1755
1841
 
1756
1842
  // src/commands/DeleteEnvironmentCommand.ts
1757
1843
 
1758
1844
 
1759
1845
 
1760
- var _DeleteEnvironmentCommand = class _DeleteEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1846
+ var DeleteEnvironmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1761
1847
  return [
1762
1848
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1763
1849
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1764
1850
  ];
1765
1851
  }).s("RefactorSpaces", "DeleteEnvironment", {}).n("MigrationHubRefactorSpacesClient", "DeleteEnvironmentCommand").f(void 0, void 0).ser(se_DeleteEnvironmentCommand).de(de_DeleteEnvironmentCommand).build() {
1852
+ static {
1853
+ __name(this, "DeleteEnvironmentCommand");
1854
+ }
1766
1855
  };
1767
- __name(_DeleteEnvironmentCommand, "DeleteEnvironmentCommand");
1768
- var DeleteEnvironmentCommand = _DeleteEnvironmentCommand;
1769
1856
 
1770
1857
  // src/commands/DeleteResourcePolicyCommand.ts
1771
1858
 
1772
1859
 
1773
1860
 
1774
- var _DeleteResourcePolicyCommand = class _DeleteResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1861
+ var DeleteResourcePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1775
1862
  return [
1776
1863
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1777
1864
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1778
1865
  ];
1779
1866
  }).s("RefactorSpaces", "DeleteResourcePolicy", {}).n("MigrationHubRefactorSpacesClient", "DeleteResourcePolicyCommand").f(void 0, void 0).ser(se_DeleteResourcePolicyCommand).de(de_DeleteResourcePolicyCommand).build() {
1867
+ static {
1868
+ __name(this, "DeleteResourcePolicyCommand");
1869
+ }
1780
1870
  };
1781
- __name(_DeleteResourcePolicyCommand, "DeleteResourcePolicyCommand");
1782
- var DeleteResourcePolicyCommand = _DeleteResourcePolicyCommand;
1783
1871
 
1784
1872
  // src/commands/DeleteRouteCommand.ts
1785
1873
 
1786
1874
 
1787
1875
 
1788
- var _DeleteRouteCommand = class _DeleteRouteCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1876
+ var DeleteRouteCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1789
1877
  return [
1790
1878
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1791
1879
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1792
1880
  ];
1793
1881
  }).s("RefactorSpaces", "DeleteRoute", {}).n("MigrationHubRefactorSpacesClient", "DeleteRouteCommand").f(void 0, void 0).ser(se_DeleteRouteCommand).de(de_DeleteRouteCommand).build() {
1882
+ static {
1883
+ __name(this, "DeleteRouteCommand");
1884
+ }
1794
1885
  };
1795
- __name(_DeleteRouteCommand, "DeleteRouteCommand");
1796
- var DeleteRouteCommand = _DeleteRouteCommand;
1797
1886
 
1798
1887
  // src/commands/DeleteServiceCommand.ts
1799
1888
 
1800
1889
 
1801
1890
 
1802
- var _DeleteServiceCommand = class _DeleteServiceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1891
+ var DeleteServiceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1803
1892
  return [
1804
1893
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1805
1894
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1806
1895
  ];
1807
1896
  }).s("RefactorSpaces", "DeleteService", {}).n("MigrationHubRefactorSpacesClient", "DeleteServiceCommand").f(void 0, void 0).ser(se_DeleteServiceCommand).de(de_DeleteServiceCommand).build() {
1897
+ static {
1898
+ __name(this, "DeleteServiceCommand");
1899
+ }
1808
1900
  };
1809
- __name(_DeleteServiceCommand, "DeleteServiceCommand");
1810
- var DeleteServiceCommand = _DeleteServiceCommand;
1811
1901
 
1812
1902
  // src/commands/GetApplicationCommand.ts
1813
1903
 
1814
1904
 
1815
1905
 
1816
- var _GetApplicationCommand = class _GetApplicationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1906
+ var GetApplicationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1817
1907
  return [
1818
1908
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1819
1909
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1820
1910
  ];
1821
1911
  }).s("RefactorSpaces", "GetApplication", {}).n("MigrationHubRefactorSpacesClient", "GetApplicationCommand").f(void 0, GetApplicationResponseFilterSensitiveLog).ser(se_GetApplicationCommand).de(de_GetApplicationCommand).build() {
1912
+ static {
1913
+ __name(this, "GetApplicationCommand");
1914
+ }
1822
1915
  };
1823
- __name(_GetApplicationCommand, "GetApplicationCommand");
1824
- var GetApplicationCommand = _GetApplicationCommand;
1825
1916
 
1826
1917
  // src/commands/GetEnvironmentCommand.ts
1827
1918
 
1828
1919
 
1829
1920
 
1830
- var _GetEnvironmentCommand = class _GetEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1921
+ var GetEnvironmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1831
1922
  return [
1832
1923
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1833
1924
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1834
1925
  ];
1835
1926
  }).s("RefactorSpaces", "GetEnvironment", {}).n("MigrationHubRefactorSpacesClient", "GetEnvironmentCommand").f(void 0, GetEnvironmentResponseFilterSensitiveLog).ser(se_GetEnvironmentCommand).de(de_GetEnvironmentCommand).build() {
1927
+ static {
1928
+ __name(this, "GetEnvironmentCommand");
1929
+ }
1836
1930
  };
1837
- __name(_GetEnvironmentCommand, "GetEnvironmentCommand");
1838
- var GetEnvironmentCommand = _GetEnvironmentCommand;
1839
1931
 
1840
1932
  // src/commands/GetResourcePolicyCommand.ts
1841
1933
 
1842
1934
 
1843
1935
 
1844
- var _GetResourcePolicyCommand = class _GetResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1936
+ var GetResourcePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1845
1937
  return [
1846
1938
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1847
1939
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1848
1940
  ];
1849
1941
  }).s("RefactorSpaces", "GetResourcePolicy", {}).n("MigrationHubRefactorSpacesClient", "GetResourcePolicyCommand").f(void 0, void 0).ser(se_GetResourcePolicyCommand).de(de_GetResourcePolicyCommand).build() {
1942
+ static {
1943
+ __name(this, "GetResourcePolicyCommand");
1944
+ }
1850
1945
  };
1851
- __name(_GetResourcePolicyCommand, "GetResourcePolicyCommand");
1852
- var GetResourcePolicyCommand = _GetResourcePolicyCommand;
1853
1946
 
1854
1947
  // src/commands/GetRouteCommand.ts
1855
1948
 
1856
1949
 
1857
1950
 
1858
- var _GetRouteCommand = class _GetRouteCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1951
+ var GetRouteCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1859
1952
  return [
1860
1953
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1861
1954
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1862
1955
  ];
1863
1956
  }).s("RefactorSpaces", "GetRoute", {}).n("MigrationHubRefactorSpacesClient", "GetRouteCommand").f(void 0, GetRouteResponseFilterSensitiveLog).ser(se_GetRouteCommand).de(de_GetRouteCommand).build() {
1957
+ static {
1958
+ __name(this, "GetRouteCommand");
1959
+ }
1864
1960
  };
1865
- __name(_GetRouteCommand, "GetRouteCommand");
1866
- var GetRouteCommand = _GetRouteCommand;
1867
1961
 
1868
1962
  // src/commands/GetServiceCommand.ts
1869
1963
 
1870
1964
 
1871
1965
 
1872
- var _GetServiceCommand = class _GetServiceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1966
+ var GetServiceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1873
1967
  return [
1874
1968
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1875
1969
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1876
1970
  ];
1877
1971
  }).s("RefactorSpaces", "GetService", {}).n("MigrationHubRefactorSpacesClient", "GetServiceCommand").f(void 0, GetServiceResponseFilterSensitiveLog).ser(se_GetServiceCommand).de(de_GetServiceCommand).build() {
1972
+ static {
1973
+ __name(this, "GetServiceCommand");
1974
+ }
1878
1975
  };
1879
- __name(_GetServiceCommand, "GetServiceCommand");
1880
- var GetServiceCommand = _GetServiceCommand;
1881
1976
 
1882
1977
  // src/commands/ListApplicationsCommand.ts
1883
1978
 
1884
1979
 
1885
1980
 
1886
- var _ListApplicationsCommand = class _ListApplicationsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1981
+ var ListApplicationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1887
1982
  return [
1888
1983
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1889
1984
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1890
1985
  ];
1891
1986
  }).s("RefactorSpaces", "ListApplications", {}).n("MigrationHubRefactorSpacesClient", "ListApplicationsCommand").f(void 0, ListApplicationsResponseFilterSensitiveLog).ser(se_ListApplicationsCommand).de(de_ListApplicationsCommand).build() {
1987
+ static {
1988
+ __name(this, "ListApplicationsCommand");
1989
+ }
1892
1990
  };
1893
- __name(_ListApplicationsCommand, "ListApplicationsCommand");
1894
- var ListApplicationsCommand = _ListApplicationsCommand;
1895
1991
 
1896
1992
  // src/commands/ListEnvironmentsCommand.ts
1897
1993
 
1898
1994
 
1899
1995
 
1900
- var _ListEnvironmentsCommand = class _ListEnvironmentsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1996
+ var ListEnvironmentsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1901
1997
  return [
1902
1998
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1903
1999
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1904
2000
  ];
1905
2001
  }).s("RefactorSpaces", "ListEnvironments", {}).n("MigrationHubRefactorSpacesClient", "ListEnvironmentsCommand").f(void 0, ListEnvironmentsResponseFilterSensitiveLog).ser(se_ListEnvironmentsCommand).de(de_ListEnvironmentsCommand).build() {
2002
+ static {
2003
+ __name(this, "ListEnvironmentsCommand");
2004
+ }
1906
2005
  };
1907
- __name(_ListEnvironmentsCommand, "ListEnvironmentsCommand");
1908
- var ListEnvironmentsCommand = _ListEnvironmentsCommand;
1909
2006
 
1910
2007
  // src/commands/ListEnvironmentVpcsCommand.ts
1911
2008
 
1912
2009
 
1913
2010
 
1914
- var _ListEnvironmentVpcsCommand = class _ListEnvironmentVpcsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2011
+ var ListEnvironmentVpcsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1915
2012
  return [
1916
2013
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1917
2014
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1918
2015
  ];
1919
2016
  }).s("RefactorSpaces", "ListEnvironmentVpcs", {}).n("MigrationHubRefactorSpacesClient", "ListEnvironmentVpcsCommand").f(void 0, void 0).ser(se_ListEnvironmentVpcsCommand).de(de_ListEnvironmentVpcsCommand).build() {
2017
+ static {
2018
+ __name(this, "ListEnvironmentVpcsCommand");
2019
+ }
1920
2020
  };
1921
- __name(_ListEnvironmentVpcsCommand, "ListEnvironmentVpcsCommand");
1922
- var ListEnvironmentVpcsCommand = _ListEnvironmentVpcsCommand;
1923
2021
 
1924
2022
  // src/commands/ListRoutesCommand.ts
1925
2023
 
1926
2024
 
1927
2025
 
1928
- var _ListRoutesCommand = class _ListRoutesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2026
+ var ListRoutesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1929
2027
  return [
1930
2028
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1931
2029
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1932
2030
  ];
1933
2031
  }).s("RefactorSpaces", "ListRoutes", {}).n("MigrationHubRefactorSpacesClient", "ListRoutesCommand").f(void 0, ListRoutesResponseFilterSensitiveLog).ser(se_ListRoutesCommand).de(de_ListRoutesCommand).build() {
2032
+ static {
2033
+ __name(this, "ListRoutesCommand");
2034
+ }
1934
2035
  };
1935
- __name(_ListRoutesCommand, "ListRoutesCommand");
1936
- var ListRoutesCommand = _ListRoutesCommand;
1937
2036
 
1938
2037
  // src/commands/ListServicesCommand.ts
1939
2038
 
1940
2039
 
1941
2040
 
1942
- var _ListServicesCommand = class _ListServicesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2041
+ var ListServicesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1943
2042
  return [
1944
2043
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1945
2044
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1946
2045
  ];
1947
2046
  }).s("RefactorSpaces", "ListServices", {}).n("MigrationHubRefactorSpacesClient", "ListServicesCommand").f(void 0, ListServicesResponseFilterSensitiveLog).ser(se_ListServicesCommand).de(de_ListServicesCommand).build() {
2047
+ static {
2048
+ __name(this, "ListServicesCommand");
2049
+ }
1948
2050
  };
1949
- __name(_ListServicesCommand, "ListServicesCommand");
1950
- var ListServicesCommand = _ListServicesCommand;
1951
2051
 
1952
2052
  // src/commands/ListTagsForResourceCommand.ts
1953
2053
 
1954
2054
 
1955
2055
 
1956
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2056
+ var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1957
2057
  return [
1958
2058
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1959
2059
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1960
2060
  ];
1961
2061
  }).s("RefactorSpaces", "ListTagsForResource", {}).n("MigrationHubRefactorSpacesClient", "ListTagsForResourceCommand").f(void 0, ListTagsForResourceResponseFilterSensitiveLog).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
2062
+ static {
2063
+ __name(this, "ListTagsForResourceCommand");
2064
+ }
1962
2065
  };
1963
- __name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
1964
- var ListTagsForResourceCommand = _ListTagsForResourceCommand;
1965
2066
 
1966
2067
  // src/commands/PutResourcePolicyCommand.ts
1967
2068
 
1968
2069
 
1969
2070
 
1970
- var _PutResourcePolicyCommand = class _PutResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2071
+ var PutResourcePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1971
2072
  return [
1972
2073
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1973
2074
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1974
2075
  ];
1975
2076
  }).s("RefactorSpaces", "PutResourcePolicy", {}).n("MigrationHubRefactorSpacesClient", "PutResourcePolicyCommand").f(void 0, void 0).ser(se_PutResourcePolicyCommand).de(de_PutResourcePolicyCommand).build() {
2077
+ static {
2078
+ __name(this, "PutResourcePolicyCommand");
2079
+ }
1976
2080
  };
1977
- __name(_PutResourcePolicyCommand, "PutResourcePolicyCommand");
1978
- var PutResourcePolicyCommand = _PutResourcePolicyCommand;
1979
2081
 
1980
2082
  // src/commands/TagResourceCommand.ts
1981
2083
 
1982
2084
 
1983
2085
 
1984
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2086
+ var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1985
2087
  return [
1986
2088
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1987
2089
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1988
2090
  ];
1989
2091
  }).s("RefactorSpaces", "TagResource", {}).n("MigrationHubRefactorSpacesClient", "TagResourceCommand").f(TagResourceRequestFilterSensitiveLog, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
2092
+ static {
2093
+ __name(this, "TagResourceCommand");
2094
+ }
1990
2095
  };
1991
- __name(_TagResourceCommand, "TagResourceCommand");
1992
- var TagResourceCommand = _TagResourceCommand;
1993
2096
 
1994
2097
  // src/commands/UntagResourceCommand.ts
1995
2098
 
1996
2099
 
1997
2100
 
1998
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2101
+ var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1999
2102
  return [
2000
2103
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2001
2104
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2002
2105
  ];
2003
2106
  }).s("RefactorSpaces", "UntagResource", {}).n("MigrationHubRefactorSpacesClient", "UntagResourceCommand").f(UntagResourceRequestFilterSensitiveLog, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
2107
+ static {
2108
+ __name(this, "UntagResourceCommand");
2109
+ }
2004
2110
  };
2005
- __name(_UntagResourceCommand, "UntagResourceCommand");
2006
- var UntagResourceCommand = _UntagResourceCommand;
2007
2111
 
2008
2112
  // src/commands/UpdateRouteCommand.ts
2009
2113
 
2010
2114
 
2011
2115
 
2012
- var _UpdateRouteCommand = class _UpdateRouteCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2116
+ var UpdateRouteCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2013
2117
  return [
2014
2118
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2015
2119
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2016
2120
  ];
2017
2121
  }).s("RefactorSpaces", "UpdateRoute", {}).n("MigrationHubRefactorSpacesClient", "UpdateRouteCommand").f(void 0, void 0).ser(se_UpdateRouteCommand).de(de_UpdateRouteCommand).build() {
2122
+ static {
2123
+ __name(this, "UpdateRouteCommand");
2124
+ }
2018
2125
  };
2019
- __name(_UpdateRouteCommand, "UpdateRouteCommand");
2020
- var UpdateRouteCommand = _UpdateRouteCommand;
2021
2126
 
2022
2127
  // src/MigrationHubRefactorSpaces.ts
2023
2128
  var commands = {
@@ -2046,10 +2151,11 @@ var commands = {
2046
2151
  UntagResourceCommand,
2047
2152
  UpdateRouteCommand
2048
2153
  };
2049
- var _MigrationHubRefactorSpaces = class _MigrationHubRefactorSpaces extends MigrationHubRefactorSpacesClient {
2154
+ var MigrationHubRefactorSpaces = class extends MigrationHubRefactorSpacesClient {
2155
+ static {
2156
+ __name(this, "MigrationHubRefactorSpaces");
2157
+ }
2050
2158
  };
2051
- __name(_MigrationHubRefactorSpaces, "MigrationHubRefactorSpaces");
2052
- var MigrationHubRefactorSpaces = _MigrationHubRefactorSpaces;
2053
2159
  (0, import_smithy_client.createAggregatedClient)(commands, MigrationHubRefactorSpaces);
2054
2160
 
2055
2161
  // src/pagination/ListApplicationsPaginator.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 MigrationHubRefactorSpacesClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -1,14 +1,15 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { MigrationHubRefactorSpacesServiceException as __BaseException } from "./MigrationHubRefactorSpacesServiceException";
3
3
  export class AccessDeniedException extends __BaseException {
4
+ name = "AccessDeniedException";
5
+ $fault = "client";
6
+ Message;
4
7
  constructor(opts) {
5
8
  super({
6
9
  name: "AccessDeniedException",
7
10
  $fault: "client",
8
11
  ...opts,
9
12
  });
10
- this.name = "AccessDeniedException";
11
- this.$fault = "client";
12
13
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
14
  this.Message = opts.Message;
14
15
  }
@@ -63,14 +64,17 @@ export const ProxyType = {
63
64
  API_GATEWAY: "API_GATEWAY",
64
65
  };
65
66
  export class ConflictException extends __BaseException {
67
+ name = "ConflictException";
68
+ $fault = "client";
69
+ Message;
70
+ ResourceId;
71
+ ResourceType;
66
72
  constructor(opts) {
67
73
  super({
68
74
  name: "ConflictException",
69
75
  $fault: "client",
70
76
  ...opts,
71
77
  });
72
- this.name = "ConflictException";
73
- this.$fault = "client";
74
78
  Object.setPrototypeOf(this, ConflictException.prototype);
75
79
  this.Message = opts.Message;
76
80
  this.ResourceId = opts.ResourceId;
@@ -78,27 +82,31 @@ export class ConflictException extends __BaseException {
78
82
  }
79
83
  }
80
84
  export class InternalServerException extends __BaseException {
85
+ name = "InternalServerException";
86
+ $fault = "server";
87
+ Message;
81
88
  constructor(opts) {
82
89
  super({
83
90
  name: "InternalServerException",
84
91
  $fault: "server",
85
92
  ...opts,
86
93
  });
87
- this.name = "InternalServerException";
88
- this.$fault = "server";
89
94
  Object.setPrototypeOf(this, InternalServerException.prototype);
90
95
  this.Message = opts.Message;
91
96
  }
92
97
  }
93
98
  export class ResourceNotFoundException extends __BaseException {
99
+ name = "ResourceNotFoundException";
100
+ $fault = "client";
101
+ Message;
102
+ ResourceId;
103
+ ResourceType;
94
104
  constructor(opts) {
95
105
  super({
96
106
  name: "ResourceNotFoundException",
97
107
  $fault: "client",
98
108
  ...opts,
99
109
  });
100
- this.name = "ResourceNotFoundException";
101
- this.$fault = "client";
102
110
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
103
111
  this.Message = opts.Message;
104
112
  this.ResourceId = opts.ResourceId;
@@ -106,14 +114,19 @@ export class ResourceNotFoundException extends __BaseException {
106
114
  }
107
115
  }
108
116
  export class ServiceQuotaExceededException extends __BaseException {
117
+ name = "ServiceQuotaExceededException";
118
+ $fault = "client";
119
+ Message;
120
+ ResourceId;
121
+ ResourceType;
122
+ QuotaCode;
123
+ ServiceCode;
109
124
  constructor(opts) {
110
125
  super({
111
126
  name: "ServiceQuotaExceededException",
112
127
  $fault: "client",
113
128
  ...opts,
114
129
  });
115
- this.name = "ServiceQuotaExceededException";
116
- this.$fault = "client";
117
130
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
118
131
  this.Message = opts.Message;
119
132
  this.ResourceId = opts.ResourceId;
@@ -123,14 +136,18 @@ export class ServiceQuotaExceededException extends __BaseException {
123
136
  }
124
137
  }
125
138
  export class ThrottlingException extends __BaseException {
139
+ name = "ThrottlingException";
140
+ $fault = "client";
141
+ Message;
142
+ QuotaCode;
143
+ ServiceCode;
144
+ RetryAfterSeconds;
126
145
  constructor(opts) {
127
146
  super({
128
147
  name: "ThrottlingException",
129
148
  $fault: "client",
130
149
  ...opts,
131
150
  });
132
- this.name = "ThrottlingException";
133
- this.$fault = "client";
134
151
  Object.setPrototypeOf(this, ThrottlingException.prototype);
135
152
  this.Message = opts.Message;
136
153
  this.QuotaCode = opts.QuotaCode;
@@ -139,14 +156,15 @@ export class ThrottlingException extends __BaseException {
139
156
  }
140
157
  }
141
158
  export class ValidationException extends __BaseException {
159
+ name = "ValidationException";
160
+ $fault = "client";
161
+ Message;
142
162
  constructor(opts) {
143
163
  super({
144
164
  name: "ValidationException",
145
165
  $fault: "client",
146
166
  ...opts,
147
167
  });
148
- this.name = "ValidationException";
149
- this.$fault = "client";
150
168
  Object.setPrototypeOf(this, ValidationException.prototype);
151
169
  this.Message = opts.Message;
152
170
  }
@@ -197,14 +215,15 @@ export const ServiceState = {
197
215
  FAILED: "FAILED",
198
216
  };
199
217
  export class InvalidResourcePolicyException extends __BaseException {
218
+ name = "InvalidResourcePolicyException";
219
+ $fault = "client";
220
+ Message;
200
221
  constructor(opts) {
201
222
  super({
202
223
  name: "InvalidResourcePolicyException",
203
224
  $fault: "client",
204
225
  ...opts,
205
226
  });
206
- this.name = "InvalidResourcePolicyException";
207
- this.$fault = "client";
208
227
  Object.setPrototypeOf(this, InvalidResourcePolicyException.prototype);
209
228
  this.Message = opts.Message;
210
229
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: MigrationHubRefactorSpacesClient
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: MigrationHubRefactorSpacesClient
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: MigrationHubRefactorSpacesClient
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: MigrationHubRefactorSpacesClient
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;
@@ -8,9 +8,11 @@ export declare const getRuntimeConfig: (
8
8
  import("@smithy/smithy-client").ResolvedDefaultsMode
9
9
  >;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (
12
- input: any
13
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ _: unknown
15
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
16
  defaultUserAgentProvider: (
15
17
  config?:
16
18
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -8,13 +8,15 @@ export declare const getRuntimeConfig: (
8
8
  import("@smithy/smithy-client").ResolvedDefaultsMode
9
9
  >;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (
12
- init?:
13
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
- | undefined
15
- ) => import("@smithy/types").MemoizedProvider<
16
- import("@smithy/types").AwsCredentialIdentity
17
- >;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ init?:
15
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
16
+ | undefined
17
+ ) => import("@smithy/types").MemoizedProvider<
18
+ import("@smithy/types").AwsCredentialIdentity
19
+ >);
18
20
  defaultUserAgentProvider: (
19
21
  config?:
20
22
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -30,9 +30,11 @@ export declare const getRuntimeConfig: (
30
30
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
31
31
  | undefined
32
32
  ) => Promise<import("@smithy/types").UserAgent>;
33
- credentialDefaultProvider: (
34
- input: any
35
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
33
+ credentialDefaultProvider:
34
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
35
+ | ((
36
+ _: unknown
37
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
36
38
  maxAttempts: number | import("@smithy/types").Provider<number>;
37
39
  retryMode: string | import("@smithy/types").Provider<string>;
38
40
  logger: import("@smithy/types").Logger;
@@ -52,11 +54,21 @@ export declare const getRuntimeConfig: (
52
54
  | import("@smithy/types").RetryStrategyV2
53
55
  | undefined;
54
56
  endpoint?:
55
- | string
56
- | import("@smithy/types").Endpoint
57
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
58
- | import("@smithy/types").EndpointV2
59
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
57
+ | ((
58
+ | string
59
+ | import("@smithy/types").Endpoint
60
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
61
+ | import("@smithy/types").EndpointV2
62
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
63
+ ) &
64
+ (
65
+ | string
66
+ | import("@smithy/types").Provider<string>
67
+ | import("@smithy/types").Endpoint
68
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
69
+ | import("@smithy/types").EndpointV2
70
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
71
+ ))
60
72
  | undefined;
61
73
  endpointProvider: (
62
74
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-migration-hub-refactor-spaces",
3
3
  "description": "AWS SDK for JavaScript Migration Hub Refactor Spaces Client for Node.js, Browser and React Native",
4
- "version": "3.721.0",
4
+ "version": "3.723.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-refactor-spaces",
@@ -20,58 +20,58 @@
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.723.0",
24
+ "@aws-sdk/client-sts": "3.723.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.723.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.723.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.723.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.723.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
  "@types/uuid": "^9.0.1",
62
62
  "tslib": "^2.6.2",
63
63
  "uuid": "^9.0.1"
64
64
  },
65
65
  "devDependencies": {
66
- "@tsconfig/node16": "16.1.3",
67
- "@types/node": "^16.18.96",
66
+ "@tsconfig/node18": "18.2.4",
67
+ "@types/node": "^18.19.69",
68
68
  "concurrently": "7.0.0",
69
69
  "downlevel-dts": "0.10.1",
70
70
  "rimraf": "3.0.2",
71
- "typescript": "~4.9.5"
71
+ "typescript": "~5.2.2"
72
72
  },
73
73
  "engines": {
74
- "node": ">=16.0.0"
74
+ "node": ">=18.0.0"
75
75
  },
76
76
  "typesVersions": {
77
77
  "<4.0": {