@aws-sdk/client-migration-hub 3.699.0 → 3.710.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/README.md +32 -0
  2. package/dist-cjs/index.js +182 -2
  3. package/dist-es/MigrationHub.js +8 -0
  4. package/dist-es/commands/AssociateSourceResourceCommand.js +22 -0
  5. package/dist-es/commands/DisassociateSourceResourceCommand.js +22 -0
  6. package/dist-es/commands/ListMigrationTaskUpdatesCommand.js +22 -0
  7. package/dist-es/commands/ListSourceResourcesCommand.js +22 -0
  8. package/dist-es/commands/index.js +4 -0
  9. package/dist-es/models/models_0.js +3 -0
  10. package/dist-es/pagination/ListMigrationTaskUpdatesPaginator.js +4 -0
  11. package/dist-es/pagination/ListSourceResourcesPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +2 -0
  13. package/dist-es/protocols/Aws_json1_1.js +97 -0
  14. package/dist-types/MigrationHub.d.ts +28 -0
  15. package/dist-types/MigrationHubClient.d.ts +6 -2
  16. package/dist-types/commands/AssociateSourceResourceCommand.d.ts +108 -0
  17. package/dist-types/commands/DisassociateSourceResourceCommand.d.ts +103 -0
  18. package/dist-types/commands/ListMigrationTaskUpdatesCommand.d.ts +109 -0
  19. package/dist-types/commands/ListSourceResourcesCommand.d.ts +105 -0
  20. package/dist-types/commands/PutResourceAttributesCommand.d.ts +0 -1
  21. package/dist-types/commands/index.d.ts +4 -0
  22. package/dist-types/models/models_0.d.ts +250 -3
  23. package/dist-types/pagination/ListMigrationTaskUpdatesPaginator.d.ts +7 -0
  24. package/dist-types/pagination/ListSourceResourcesPaginator.d.ts +7 -0
  25. package/dist-types/pagination/index.d.ts +2 -0
  26. package/dist-types/protocols/Aws_json1_1.d.ts +36 -0
  27. package/dist-types/ts3.4/MigrationHub.d.ts +68 -0
  28. package/dist-types/ts3.4/MigrationHubClient.d.ts +24 -0
  29. package/dist-types/ts3.4/commands/AssociateSourceResourceCommand.d.ts +51 -0
  30. package/dist-types/ts3.4/commands/DisassociateSourceResourceCommand.d.ts +51 -0
  31. package/dist-types/ts3.4/commands/ListMigrationTaskUpdatesCommand.d.ts +51 -0
  32. package/dist-types/ts3.4/commands/ListSourceResourcesCommand.d.ts +51 -0
  33. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  34. package/dist-types/ts3.4/models/models_0.d.ts +48 -0
  35. package/dist-types/ts3.4/pagination/ListMigrationTaskUpdatesPaginator.d.ts +11 -0
  36. package/dist-types/ts3.4/pagination/ListSourceResourcesPaginator.d.ts +11 -0
  37. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  38. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +48 -0
  39. package/package.json +35 -35
package/README.md CHANGED
@@ -223,6 +223,14 @@ AssociateDiscoveredResource
223
223
 
224
224
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/migration-hub/command/AssociateDiscoveredResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub/Interface/AssociateDiscoveredResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub/Interface/AssociateDiscoveredResourceCommandOutput/)
225
225
 
226
+ </details>
227
+ <details>
228
+ <summary>
229
+ AssociateSourceResource
230
+ </summary>
231
+
232
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/migration-hub/command/AssociateSourceResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub/Interface/AssociateSourceResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub/Interface/AssociateSourceResourceCommandOutput/)
233
+
226
234
  </details>
227
235
  <details>
228
236
  <summary>
@@ -271,6 +279,14 @@ DisassociateDiscoveredResource
271
279
 
272
280
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/migration-hub/command/DisassociateDiscoveredResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub/Interface/DisassociateDiscoveredResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub/Interface/DisassociateDiscoveredResourceCommandOutput/)
273
281
 
282
+ </details>
283
+ <details>
284
+ <summary>
285
+ DisassociateSourceResource
286
+ </summary>
287
+
288
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/migration-hub/command/DisassociateSourceResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub/Interface/DisassociateSourceResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub/Interface/DisassociateSourceResourceCommandOutput/)
289
+
274
290
  </details>
275
291
  <details>
276
292
  <summary>
@@ -311,6 +327,14 @@ ListMigrationTasks
311
327
 
312
328
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/migration-hub/command/ListMigrationTasksCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub/Interface/ListMigrationTasksCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub/Interface/ListMigrationTasksCommandOutput/)
313
329
 
330
+ </details>
331
+ <details>
332
+ <summary>
333
+ ListMigrationTaskUpdates
334
+ </summary>
335
+
336
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/migration-hub/command/ListMigrationTaskUpdatesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub/Interface/ListMigrationTaskUpdatesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub/Interface/ListMigrationTaskUpdatesCommandOutput/)
337
+
314
338
  </details>
315
339
  <details>
316
340
  <summary>
@@ -319,6 +343,14 @@ ListProgressUpdateStreams
319
343
 
320
344
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/migration-hub/command/ListProgressUpdateStreamsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub/Interface/ListProgressUpdateStreamsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub/Interface/ListProgressUpdateStreamsCommandOutput/)
321
345
 
346
+ </details>
347
+ <details>
348
+ <summary>
349
+ ListSourceResources
350
+ </summary>
351
+
352
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/migration-hub/command/ListSourceResourcesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub/Interface/ListSourceResourcesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub/Interface/ListSourceResourcesCommandOutput/)
353
+
322
354
  </details>
323
355
  <details>
324
356
  <summary>
package/dist-cjs/index.js CHANGED
@@ -25,12 +25,14 @@ __export(src_exports, {
25
25
  ApplicationStatus: () => ApplicationStatus,
26
26
  AssociateCreatedArtifactCommand: () => AssociateCreatedArtifactCommand,
27
27
  AssociateDiscoveredResourceCommand: () => AssociateDiscoveredResourceCommand,
28
+ AssociateSourceResourceCommand: () => AssociateSourceResourceCommand,
28
29
  CreateProgressUpdateStreamCommand: () => CreateProgressUpdateStreamCommand,
29
30
  DeleteProgressUpdateStreamCommand: () => DeleteProgressUpdateStreamCommand,
30
31
  DescribeApplicationStateCommand: () => DescribeApplicationStateCommand,
31
32
  DescribeMigrationTaskCommand: () => DescribeMigrationTaskCommand,
32
33
  DisassociateCreatedArtifactCommand: () => DisassociateCreatedArtifactCommand,
33
34
  DisassociateDiscoveredResourceCommand: () => DisassociateDiscoveredResourceCommand,
35
+ DisassociateSourceResourceCommand: () => DisassociateSourceResourceCommand,
34
36
  DryRunOperation: () => DryRunOperation,
35
37
  HomeRegionNotSetException: () => HomeRegionNotSetException,
36
38
  ImportMigrationTaskCommand: () => ImportMigrationTaskCommand,
@@ -39,8 +41,10 @@ __export(src_exports, {
39
41
  ListApplicationStatesCommand: () => ListApplicationStatesCommand,
40
42
  ListCreatedArtifactsCommand: () => ListCreatedArtifactsCommand,
41
43
  ListDiscoveredResourcesCommand: () => ListDiscoveredResourcesCommand,
44
+ ListMigrationTaskUpdatesCommand: () => ListMigrationTaskUpdatesCommand,
42
45
  ListMigrationTasksCommand: () => ListMigrationTasksCommand,
43
46
  ListProgressUpdateStreamsCommand: () => ListProgressUpdateStreamsCommand,
47
+ ListSourceResourcesCommand: () => ListSourceResourcesCommand,
44
48
  MigrationHub: () => MigrationHub,
45
49
  MigrationHubClient: () => MigrationHubClient,
46
50
  MigrationHubServiceException: () => MigrationHubServiceException,
@@ -54,12 +58,15 @@ __export(src_exports, {
54
58
  Status: () => Status,
55
59
  ThrottlingException: () => ThrottlingException,
56
60
  UnauthorizedOperation: () => UnauthorizedOperation,
61
+ UpdateType: () => UpdateType,
57
62
  __Client: () => import_smithy_client.Client,
58
63
  paginateListApplicationStates: () => paginateListApplicationStates,
59
64
  paginateListCreatedArtifacts: () => paginateListCreatedArtifacts,
60
65
  paginateListDiscoveredResources: () => paginateListDiscoveredResources,
66
+ paginateListMigrationTaskUpdates: () => paginateListMigrationTaskUpdates,
61
67
  paginateListMigrationTasks: () => paginateListMigrationTasks,
62
- paginateListProgressUpdateStreams: () => paginateListProgressUpdateStreams
68
+ paginateListProgressUpdateStreams: () => paginateListProgressUpdateStreams,
69
+ paginateListSourceResources: () => paginateListSourceResources
63
70
  });
64
71
  module.exports = __toCommonJS(src_exports);
65
72
 
@@ -432,6 +439,9 @@ var Status = {
432
439
  IN_PROGRESS: "IN_PROGRESS",
433
440
  NOT_STARTED: "NOT_STARTED"
434
441
  };
442
+ var UpdateType = {
443
+ MigrationTaskStateUpdated: "MIGRATION_TASK_STATE_UPDATED"
444
+ };
435
445
 
436
446
  // src/protocols/Aws_json1_1.ts
437
447
  var se_AssociateCreatedArtifactCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -446,6 +456,12 @@ var se_AssociateDiscoveredResourceCommand = /* @__PURE__ */ __name(async (input,
446
456
  body = JSON.stringify((0, import_smithy_client._json)(input));
447
457
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
448
458
  }, "se_AssociateDiscoveredResourceCommand");
459
+ var se_AssociateSourceResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
460
+ const headers = sharedHeaders("AssociateSourceResource");
461
+ let body;
462
+ body = JSON.stringify((0, import_smithy_client._json)(input));
463
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
464
+ }, "se_AssociateSourceResourceCommand");
449
465
  var se_CreateProgressUpdateStreamCommand = /* @__PURE__ */ __name(async (input, context) => {
450
466
  const headers = sharedHeaders("CreateProgressUpdateStream");
451
467
  let body;
@@ -482,6 +498,12 @@ var se_DisassociateDiscoveredResourceCommand = /* @__PURE__ */ __name(async (inp
482
498
  body = JSON.stringify((0, import_smithy_client._json)(input));
483
499
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
484
500
  }, "se_DisassociateDiscoveredResourceCommand");
501
+ var se_DisassociateSourceResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
502
+ const headers = sharedHeaders("DisassociateSourceResource");
503
+ let body;
504
+ body = JSON.stringify((0, import_smithy_client._json)(input));
505
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
506
+ }, "se_DisassociateSourceResourceCommand");
485
507
  var se_ImportMigrationTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
486
508
  const headers = sharedHeaders("ImportMigrationTask");
487
509
  let body;
@@ -512,12 +534,24 @@ var se_ListMigrationTasksCommand = /* @__PURE__ */ __name(async (input, context)
512
534
  body = JSON.stringify((0, import_smithy_client._json)(input));
513
535
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
514
536
  }, "se_ListMigrationTasksCommand");
537
+ var se_ListMigrationTaskUpdatesCommand = /* @__PURE__ */ __name(async (input, context) => {
538
+ const headers = sharedHeaders("ListMigrationTaskUpdates");
539
+ let body;
540
+ body = JSON.stringify((0, import_smithy_client._json)(input));
541
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
542
+ }, "se_ListMigrationTaskUpdatesCommand");
515
543
  var se_ListProgressUpdateStreamsCommand = /* @__PURE__ */ __name(async (input, context) => {
516
544
  const headers = sharedHeaders("ListProgressUpdateStreams");
517
545
  let body;
518
546
  body = JSON.stringify((0, import_smithy_client._json)(input));
519
547
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
520
548
  }, "se_ListProgressUpdateStreamsCommand");
549
+ var se_ListSourceResourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
550
+ const headers = sharedHeaders("ListSourceResources");
551
+ let body;
552
+ body = JSON.stringify((0, import_smithy_client._json)(input));
553
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
554
+ }, "se_ListSourceResourcesCommand");
521
555
  var se_NotifyApplicationStateCommand = /* @__PURE__ */ __name(async (input, context) => {
522
556
  const headers = sharedHeaders("NotifyApplicationState");
523
557
  let body;
@@ -562,6 +596,19 @@ var de_AssociateDiscoveredResourceCommand = /* @__PURE__ */ __name(async (output
562
596
  };
563
597
  return response;
564
598
  }, "de_AssociateDiscoveredResourceCommand");
599
+ var de_AssociateSourceResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
600
+ if (output.statusCode >= 300) {
601
+ return de_CommandError(output, context);
602
+ }
603
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
604
+ let contents = {};
605
+ contents = (0, import_smithy_client._json)(data);
606
+ const response = {
607
+ $metadata: deserializeMetadata(output),
608
+ ...contents
609
+ };
610
+ return response;
611
+ }, "de_AssociateSourceResourceCommand");
565
612
  var de_CreateProgressUpdateStreamCommand = /* @__PURE__ */ __name(async (output, context) => {
566
613
  if (output.statusCode >= 300) {
567
614
  return de_CommandError(output, context);
@@ -640,6 +687,19 @@ var de_DisassociateDiscoveredResourceCommand = /* @__PURE__ */ __name(async (out
640
687
  };
641
688
  return response;
642
689
  }, "de_DisassociateDiscoveredResourceCommand");
690
+ var de_DisassociateSourceResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
691
+ if (output.statusCode >= 300) {
692
+ return de_CommandError(output, context);
693
+ }
694
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
695
+ let contents = {};
696
+ contents = (0, import_smithy_client._json)(data);
697
+ const response = {
698
+ $metadata: deserializeMetadata(output),
699
+ ...contents
700
+ };
701
+ return response;
702
+ }, "de_DisassociateSourceResourceCommand");
643
703
  var de_ImportMigrationTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
644
704
  if (output.statusCode >= 300) {
645
705
  return de_CommandError(output, context);
@@ -705,6 +765,19 @@ var de_ListMigrationTasksCommand = /* @__PURE__ */ __name(async (output, context
705
765
  };
706
766
  return response;
707
767
  }, "de_ListMigrationTasksCommand");
768
+ var de_ListMigrationTaskUpdatesCommand = /* @__PURE__ */ __name(async (output, context) => {
769
+ if (output.statusCode >= 300) {
770
+ return de_CommandError(output, context);
771
+ }
772
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
773
+ let contents = {};
774
+ contents = de_ListMigrationTaskUpdatesResult(data, context);
775
+ const response = {
776
+ $metadata: deserializeMetadata(output),
777
+ ...contents
778
+ };
779
+ return response;
780
+ }, "de_ListMigrationTaskUpdatesCommand");
708
781
  var de_ListProgressUpdateStreamsCommand = /* @__PURE__ */ __name(async (output, context) => {
709
782
  if (output.statusCode >= 300) {
710
783
  return de_CommandError(output, context);
@@ -718,6 +791,19 @@ var de_ListProgressUpdateStreamsCommand = /* @__PURE__ */ __name(async (output,
718
791
  };
719
792
  return response;
720
793
  }, "de_ListProgressUpdateStreamsCommand");
794
+ var de_ListSourceResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
795
+ if (output.statusCode >= 300) {
796
+ return de_CommandError(output, context);
797
+ }
798
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
799
+ let contents = {};
800
+ contents = (0, import_smithy_client._json)(data);
801
+ const response = {
802
+ $metadata: deserializeMetadata(output),
803
+ ...contents
804
+ };
805
+ return response;
806
+ }, "de_ListSourceResourcesCommand");
721
807
  var de_NotifyApplicationStateCommand = /* @__PURE__ */ __name(async (output, context) => {
722
808
  if (output.statusCode >= 300) {
723
809
  return de_CommandError(output, context);
@@ -947,6 +1033,12 @@ var de_ListMigrationTasksResult = /* @__PURE__ */ __name((output, context) => {
947
1033
  NextToken: import_smithy_client.expectString
948
1034
  });
949
1035
  }, "de_ListMigrationTasksResult");
1036
+ var de_ListMigrationTaskUpdatesResult = /* @__PURE__ */ __name((output, context) => {
1037
+ return (0, import_smithy_client.take)(output, {
1038
+ MigrationTaskUpdateList: (_) => de_MigrationTaskUpdateList(_, context),
1039
+ NextToken: import_smithy_client.expectString
1040
+ });
1041
+ }, "de_ListMigrationTaskUpdatesResult");
950
1042
  var de_MigrationTask = /* @__PURE__ */ __name((output, context) => {
951
1043
  return (0, import_smithy_client.take)(output, {
952
1044
  MigrationTaskName: import_smithy_client.expectString,
@@ -972,6 +1064,19 @@ var de_MigrationTaskSummaryList = /* @__PURE__ */ __name((output, context) => {
972
1064
  });
973
1065
  return retVal;
974
1066
  }, "de_MigrationTaskSummaryList");
1067
+ var de_MigrationTaskUpdate = /* @__PURE__ */ __name((output, context) => {
1068
+ return (0, import_smithy_client.take)(output, {
1069
+ MigrationTaskState: import_smithy_client._json,
1070
+ UpdateDateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1071
+ UpdateType: import_smithy_client.expectString
1072
+ });
1073
+ }, "de_MigrationTaskUpdate");
1074
+ var de_MigrationTaskUpdateList = /* @__PURE__ */ __name((output, context) => {
1075
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1076
+ return de_MigrationTaskUpdate(entry, context);
1077
+ });
1078
+ return retVal;
1079
+ }, "de_MigrationTaskUpdateList");
975
1080
  var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
976
1081
  httpStatusCode: output.statusCode,
977
1082
  requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
@@ -1030,6 +1135,20 @@ var _AssociateDiscoveredResourceCommand = class _AssociateDiscoveredResourceComm
1030
1135
  __name(_AssociateDiscoveredResourceCommand, "AssociateDiscoveredResourceCommand");
1031
1136
  var AssociateDiscoveredResourceCommand = _AssociateDiscoveredResourceCommand;
1032
1137
 
1138
+ // src/commands/AssociateSourceResourceCommand.ts
1139
+
1140
+
1141
+
1142
+ var _AssociateSourceResourceCommand = class _AssociateSourceResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1143
+ return [
1144
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1145
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1146
+ ];
1147
+ }).s("AWSMigrationHub", "AssociateSourceResource", {}).n("MigrationHubClient", "AssociateSourceResourceCommand").f(void 0, void 0).ser(se_AssociateSourceResourceCommand).de(de_AssociateSourceResourceCommand).build() {
1148
+ };
1149
+ __name(_AssociateSourceResourceCommand, "AssociateSourceResourceCommand");
1150
+ var AssociateSourceResourceCommand = _AssociateSourceResourceCommand;
1151
+
1033
1152
  // src/commands/CreateProgressUpdateStreamCommand.ts
1034
1153
 
1035
1154
 
@@ -1114,6 +1233,20 @@ var _DisassociateDiscoveredResourceCommand = class _DisassociateDiscoveredResour
1114
1233
  __name(_DisassociateDiscoveredResourceCommand, "DisassociateDiscoveredResourceCommand");
1115
1234
  var DisassociateDiscoveredResourceCommand = _DisassociateDiscoveredResourceCommand;
1116
1235
 
1236
+ // src/commands/DisassociateSourceResourceCommand.ts
1237
+
1238
+
1239
+
1240
+ var _DisassociateSourceResourceCommand = class _DisassociateSourceResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1241
+ return [
1242
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1243
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1244
+ ];
1245
+ }).s("AWSMigrationHub", "DisassociateSourceResource", {}).n("MigrationHubClient", "DisassociateSourceResourceCommand").f(void 0, void 0).ser(se_DisassociateSourceResourceCommand).de(de_DisassociateSourceResourceCommand).build() {
1246
+ };
1247
+ __name(_DisassociateSourceResourceCommand, "DisassociateSourceResourceCommand");
1248
+ var DisassociateSourceResourceCommand = _DisassociateSourceResourceCommand;
1249
+
1117
1250
  // src/commands/ImportMigrationTaskCommand.ts
1118
1251
 
1119
1252
 
@@ -1184,6 +1317,20 @@ var _ListMigrationTasksCommand = class _ListMigrationTasksCommand extends import
1184
1317
  __name(_ListMigrationTasksCommand, "ListMigrationTasksCommand");
1185
1318
  var ListMigrationTasksCommand = _ListMigrationTasksCommand;
1186
1319
 
1320
+ // src/commands/ListMigrationTaskUpdatesCommand.ts
1321
+
1322
+
1323
+
1324
+ var _ListMigrationTaskUpdatesCommand = class _ListMigrationTaskUpdatesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1325
+ return [
1326
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1327
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1328
+ ];
1329
+ }).s("AWSMigrationHub", "ListMigrationTaskUpdates", {}).n("MigrationHubClient", "ListMigrationTaskUpdatesCommand").f(void 0, void 0).ser(se_ListMigrationTaskUpdatesCommand).de(de_ListMigrationTaskUpdatesCommand).build() {
1330
+ };
1331
+ __name(_ListMigrationTaskUpdatesCommand, "ListMigrationTaskUpdatesCommand");
1332
+ var ListMigrationTaskUpdatesCommand = _ListMigrationTaskUpdatesCommand;
1333
+
1187
1334
  // src/commands/ListProgressUpdateStreamsCommand.ts
1188
1335
 
1189
1336
 
@@ -1198,6 +1345,20 @@ var _ListProgressUpdateStreamsCommand = class _ListProgressUpdateStreamsCommand
1198
1345
  __name(_ListProgressUpdateStreamsCommand, "ListProgressUpdateStreamsCommand");
1199
1346
  var ListProgressUpdateStreamsCommand = _ListProgressUpdateStreamsCommand;
1200
1347
 
1348
+ // src/commands/ListSourceResourcesCommand.ts
1349
+
1350
+
1351
+
1352
+ var _ListSourceResourcesCommand = class _ListSourceResourcesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1353
+ return [
1354
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1355
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1356
+ ];
1357
+ }).s("AWSMigrationHub", "ListSourceResources", {}).n("MigrationHubClient", "ListSourceResourcesCommand").f(void 0, void 0).ser(se_ListSourceResourcesCommand).de(de_ListSourceResourcesCommand).build() {
1358
+ };
1359
+ __name(_ListSourceResourcesCommand, "ListSourceResourcesCommand");
1360
+ var ListSourceResourcesCommand = _ListSourceResourcesCommand;
1361
+
1201
1362
  // src/commands/NotifyApplicationStateCommand.ts
1202
1363
 
1203
1364
 
@@ -1244,18 +1405,22 @@ var PutResourceAttributesCommand = _PutResourceAttributesCommand;
1244
1405
  var commands = {
1245
1406
  AssociateCreatedArtifactCommand,
1246
1407
  AssociateDiscoveredResourceCommand,
1408
+ AssociateSourceResourceCommand,
1247
1409
  CreateProgressUpdateStreamCommand,
1248
1410
  DeleteProgressUpdateStreamCommand,
1249
1411
  DescribeApplicationStateCommand,
1250
1412
  DescribeMigrationTaskCommand,
1251
1413
  DisassociateCreatedArtifactCommand,
1252
1414
  DisassociateDiscoveredResourceCommand,
1415
+ DisassociateSourceResourceCommand,
1253
1416
  ImportMigrationTaskCommand,
1254
1417
  ListApplicationStatesCommand,
1255
1418
  ListCreatedArtifactsCommand,
1256
1419
  ListDiscoveredResourcesCommand,
1257
1420
  ListMigrationTasksCommand,
1421
+ ListMigrationTaskUpdatesCommand,
1258
1422
  ListProgressUpdateStreamsCommand,
1423
+ ListSourceResourcesCommand,
1259
1424
  NotifyApplicationStateCommand,
1260
1425
  NotifyMigrationTaskStateCommand,
1261
1426
  PutResourceAttributesCommand
@@ -1278,6 +1443,10 @@ var paginateListCreatedArtifacts = (0, import_core.createPaginator)(MigrationHub
1278
1443
 
1279
1444
  var paginateListDiscoveredResources = (0, import_core.createPaginator)(MigrationHubClient, ListDiscoveredResourcesCommand, "NextToken", "NextToken", "MaxResults");
1280
1445
 
1446
+ // src/pagination/ListMigrationTaskUpdatesPaginator.ts
1447
+
1448
+ var paginateListMigrationTaskUpdates = (0, import_core.createPaginator)(MigrationHubClient, ListMigrationTaskUpdatesCommand, "NextToken", "NextToken", "MaxResults");
1449
+
1281
1450
  // src/pagination/ListMigrationTasksPaginator.ts
1282
1451
 
1283
1452
  var paginateListMigrationTasks = (0, import_core.createPaginator)(MigrationHubClient, ListMigrationTasksCommand, "NextToken", "NextToken", "MaxResults");
@@ -1285,6 +1454,10 @@ var paginateListMigrationTasks = (0, import_core.createPaginator)(MigrationHubCl
1285
1454
  // src/pagination/ListProgressUpdateStreamsPaginator.ts
1286
1455
 
1287
1456
  var paginateListProgressUpdateStreams = (0, import_core.createPaginator)(MigrationHubClient, ListProgressUpdateStreamsCommand, "NextToken", "NextToken", "MaxResults");
1457
+
1458
+ // src/pagination/ListSourceResourcesPaginator.ts
1459
+
1460
+ var paginateListSourceResources = (0, import_core.createPaginator)(MigrationHubClient, ListSourceResourcesCommand, "NextToken", "NextToken", "MaxResults");
1288
1461
  // Annotate the CommonJS export names for ESM import in node:
1289
1462
 
1290
1463
  0 && (module.exports = {
@@ -1295,26 +1468,32 @@ var paginateListProgressUpdateStreams = (0, import_core.createPaginator)(Migrati
1295
1468
  $Command,
1296
1469
  AssociateCreatedArtifactCommand,
1297
1470
  AssociateDiscoveredResourceCommand,
1471
+ AssociateSourceResourceCommand,
1298
1472
  CreateProgressUpdateStreamCommand,
1299
1473
  DeleteProgressUpdateStreamCommand,
1300
1474
  DescribeApplicationStateCommand,
1301
1475
  DescribeMigrationTaskCommand,
1302
1476
  DisassociateCreatedArtifactCommand,
1303
1477
  DisassociateDiscoveredResourceCommand,
1478
+ DisassociateSourceResourceCommand,
1304
1479
  ImportMigrationTaskCommand,
1305
1480
  ListApplicationStatesCommand,
1306
1481
  ListCreatedArtifactsCommand,
1307
1482
  ListDiscoveredResourcesCommand,
1483
+ ListMigrationTaskUpdatesCommand,
1308
1484
  ListMigrationTasksCommand,
1309
1485
  ListProgressUpdateStreamsCommand,
1486
+ ListSourceResourcesCommand,
1310
1487
  NotifyApplicationStateCommand,
1311
1488
  NotifyMigrationTaskStateCommand,
1312
1489
  PutResourceAttributesCommand,
1313
1490
  paginateListApplicationStates,
1314
1491
  paginateListCreatedArtifacts,
1315
1492
  paginateListDiscoveredResources,
1493
+ paginateListMigrationTaskUpdates,
1316
1494
  paginateListMigrationTasks,
1317
1495
  paginateListProgressUpdateStreams,
1496
+ paginateListSourceResources,
1318
1497
  AccessDeniedException,
1319
1498
  ApplicationStatus,
1320
1499
  DryRunOperation,
@@ -1327,6 +1506,7 @@ var paginateListProgressUpdateStreams = (0, import_core.createPaginator)(Migrati
1327
1506
  UnauthorizedOperation,
1328
1507
  PolicyErrorException,
1329
1508
  ResourceAttributeType,
1330
- Status
1509
+ Status,
1510
+ UpdateType
1331
1511
  });
1332
1512
 
@@ -1,18 +1,22 @@
1
1
  import { createAggregatedClient } from "@smithy/smithy-client";
2
2
  import { AssociateCreatedArtifactCommand, } from "./commands/AssociateCreatedArtifactCommand";
3
3
  import { AssociateDiscoveredResourceCommand, } from "./commands/AssociateDiscoveredResourceCommand";
4
+ import { AssociateSourceResourceCommand, } from "./commands/AssociateSourceResourceCommand";
4
5
  import { CreateProgressUpdateStreamCommand, } from "./commands/CreateProgressUpdateStreamCommand";
5
6
  import { DeleteProgressUpdateStreamCommand, } from "./commands/DeleteProgressUpdateStreamCommand";
6
7
  import { DescribeApplicationStateCommand, } from "./commands/DescribeApplicationStateCommand";
7
8
  import { DescribeMigrationTaskCommand, } from "./commands/DescribeMigrationTaskCommand";
8
9
  import { DisassociateCreatedArtifactCommand, } from "./commands/DisassociateCreatedArtifactCommand";
9
10
  import { DisassociateDiscoveredResourceCommand, } from "./commands/DisassociateDiscoveredResourceCommand";
11
+ import { DisassociateSourceResourceCommand, } from "./commands/DisassociateSourceResourceCommand";
10
12
  import { ImportMigrationTaskCommand, } from "./commands/ImportMigrationTaskCommand";
11
13
  import { ListApplicationStatesCommand, } from "./commands/ListApplicationStatesCommand";
12
14
  import { ListCreatedArtifactsCommand, } from "./commands/ListCreatedArtifactsCommand";
13
15
  import { ListDiscoveredResourcesCommand, } from "./commands/ListDiscoveredResourcesCommand";
14
16
  import { ListMigrationTasksCommand, } from "./commands/ListMigrationTasksCommand";
17
+ import { ListMigrationTaskUpdatesCommand, } from "./commands/ListMigrationTaskUpdatesCommand";
15
18
  import { ListProgressUpdateStreamsCommand, } from "./commands/ListProgressUpdateStreamsCommand";
19
+ import { ListSourceResourcesCommand, } from "./commands/ListSourceResourcesCommand";
16
20
  import { NotifyApplicationStateCommand, } from "./commands/NotifyApplicationStateCommand";
17
21
  import { NotifyMigrationTaskStateCommand, } from "./commands/NotifyMigrationTaskStateCommand";
18
22
  import { PutResourceAttributesCommand, } from "./commands/PutResourceAttributesCommand";
@@ -20,18 +24,22 @@ import { MigrationHubClient } from "./MigrationHubClient";
20
24
  const commands = {
21
25
  AssociateCreatedArtifactCommand,
22
26
  AssociateDiscoveredResourceCommand,
27
+ AssociateSourceResourceCommand,
23
28
  CreateProgressUpdateStreamCommand,
24
29
  DeleteProgressUpdateStreamCommand,
25
30
  DescribeApplicationStateCommand,
26
31
  DescribeMigrationTaskCommand,
27
32
  DisassociateCreatedArtifactCommand,
28
33
  DisassociateDiscoveredResourceCommand,
34
+ DisassociateSourceResourceCommand,
29
35
  ImportMigrationTaskCommand,
30
36
  ListApplicationStatesCommand,
31
37
  ListCreatedArtifactsCommand,
32
38
  ListDiscoveredResourcesCommand,
33
39
  ListMigrationTasksCommand,
40
+ ListMigrationTaskUpdatesCommand,
34
41
  ListProgressUpdateStreamsCommand,
42
+ ListSourceResourcesCommand,
35
43
  NotifyApplicationStateCommand,
36
44
  NotifyMigrationTaskStateCommand,
37
45
  PutResourceAttributesCommand,
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_AssociateSourceResourceCommand, se_AssociateSourceResourceCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class AssociateSourceResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AWSMigrationHub", "AssociateSourceResource", {})
17
+ .n("MigrationHubClient", "AssociateSourceResourceCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_AssociateSourceResourceCommand)
20
+ .de(de_AssociateSourceResourceCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DisassociateSourceResourceCommand, se_DisassociateSourceResourceCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class DisassociateSourceResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AWSMigrationHub", "DisassociateSourceResource", {})
17
+ .n("MigrationHubClient", "DisassociateSourceResourceCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DisassociateSourceResourceCommand)
20
+ .de(de_DisassociateSourceResourceCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListMigrationTaskUpdatesCommand, se_ListMigrationTaskUpdatesCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class ListMigrationTaskUpdatesCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AWSMigrationHub", "ListMigrationTaskUpdates", {})
17
+ .n("MigrationHubClient", "ListMigrationTaskUpdatesCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListMigrationTaskUpdatesCommand)
20
+ .de(de_ListMigrationTaskUpdatesCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListSourceResourcesCommand, se_ListSourceResourcesCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class ListSourceResourcesCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AWSMigrationHub", "ListSourceResources", {})
17
+ .n("MigrationHubClient", "ListSourceResourcesCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListSourceResourcesCommand)
20
+ .de(de_ListSourceResourcesCommand)
21
+ .build() {
22
+ }
@@ -1,17 +1,21 @@
1
1
  export * from "./AssociateCreatedArtifactCommand";
2
2
  export * from "./AssociateDiscoveredResourceCommand";
3
+ export * from "./AssociateSourceResourceCommand";
3
4
  export * from "./CreateProgressUpdateStreamCommand";
4
5
  export * from "./DeleteProgressUpdateStreamCommand";
5
6
  export * from "./DescribeApplicationStateCommand";
6
7
  export * from "./DescribeMigrationTaskCommand";
7
8
  export * from "./DisassociateCreatedArtifactCommand";
8
9
  export * from "./DisassociateDiscoveredResourceCommand";
10
+ export * from "./DisassociateSourceResourceCommand";
9
11
  export * from "./ImportMigrationTaskCommand";
10
12
  export * from "./ListApplicationStatesCommand";
11
13
  export * from "./ListCreatedArtifactsCommand";
12
14
  export * from "./ListDiscoveredResourcesCommand";
15
+ export * from "./ListMigrationTaskUpdatesCommand";
13
16
  export * from "./ListMigrationTasksCommand";
14
17
  export * from "./ListProgressUpdateStreamsCommand";
18
+ export * from "./ListSourceResourcesCommand";
15
19
  export * from "./NotifyApplicationStateCommand";
16
20
  export * from "./NotifyMigrationTaskStateCommand";
17
21
  export * from "./PutResourceAttributesCommand";
@@ -153,3 +153,6 @@ export const Status = {
153
153
  IN_PROGRESS: "IN_PROGRESS",
154
154
  NOT_STARTED: "NOT_STARTED",
155
155
  };
156
+ export const UpdateType = {
157
+ MigrationTaskStateUpdated: "MIGRATION_TASK_STATE_UPDATED",
158
+ };
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListMigrationTaskUpdatesCommand, } from "../commands/ListMigrationTaskUpdatesCommand";
3
+ import { MigrationHubClient } from "../MigrationHubClient";
4
+ export const paginateListMigrationTaskUpdates = createPaginator(MigrationHubClient, ListMigrationTaskUpdatesCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListSourceResourcesCommand, } from "../commands/ListSourceResourcesCommand";
3
+ import { MigrationHubClient } from "../MigrationHubClient";
4
+ export const paginateListSourceResources = createPaginator(MigrationHubClient, ListSourceResourcesCommand, "NextToken", "NextToken", "MaxResults");
@@ -2,5 +2,7 @@ export * from "./Interfaces";
2
2
  export * from "./ListApplicationStatesPaginator";
3
3
  export * from "./ListCreatedArtifactsPaginator";
4
4
  export * from "./ListDiscoveredResourcesPaginator";
5
+ export * from "./ListMigrationTaskUpdatesPaginator";
5
6
  export * from "./ListMigrationTasksPaginator";
6
7
  export * from "./ListProgressUpdateStreamsPaginator";
8
+ export * from "./ListSourceResourcesPaginator";