@aws-sdk/client-mgn 3.363.0 → 3.369.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 (84) hide show
  1. package/README.md +32 -0
  2. package/dist-cjs/Mgn.js +8 -0
  3. package/dist-cjs/commands/ListManagedAccountsCommand.js +46 -0
  4. package/dist-cjs/commands/PauseReplicationCommand.js +47 -0
  5. package/dist-cjs/commands/ResumeReplicationCommand.js +47 -0
  6. package/dist-cjs/commands/StopReplicationCommand.js +47 -0
  7. package/dist-cjs/commands/index.js +4 -0
  8. package/dist-cjs/pagination/ListManagedAccountsPaginator.js +29 -0
  9. package/dist-cjs/pagination/index.js +1 -0
  10. package/dist-cjs/protocols/Aws_restJson1.js +348 -3
  11. package/dist-es/Mgn.js +8 -0
  12. package/dist-es/commands/ListManagedAccountsCommand.js +42 -0
  13. package/dist-es/commands/PauseReplicationCommand.js +43 -0
  14. package/dist-es/commands/ResumeReplicationCommand.js +43 -0
  15. package/dist-es/commands/StopReplicationCommand.js +43 -0
  16. package/dist-es/commands/index.js +4 -0
  17. package/dist-es/pagination/ListManagedAccountsPaginator.js +25 -0
  18. package/dist-es/pagination/index.js +1 -0
  19. package/dist-es/protocols/Aws_restJson1.js +337 -0
  20. package/dist-types/Mgn.d.ts +28 -0
  21. package/dist-types/MgnClient.d.ts +6 -2
  22. package/dist-types/commands/ArchiveApplicationCommand.d.ts +1 -0
  23. package/dist-types/commands/ArchiveWaveCommand.d.ts +1 -0
  24. package/dist-types/commands/AssociateApplicationsCommand.d.ts +1 -0
  25. package/dist-types/commands/AssociateSourceServersCommand.d.ts +1 -0
  26. package/dist-types/commands/ChangeServerLifeCycleStateCommand.d.ts +1 -0
  27. package/dist-types/commands/CreateApplicationCommand.d.ts +1 -0
  28. package/dist-types/commands/CreateReplicationConfigurationTemplateCommand.d.ts +2 -0
  29. package/dist-types/commands/CreateWaveCommand.d.ts +1 -0
  30. package/dist-types/commands/DeleteApplicationCommand.d.ts +1 -0
  31. package/dist-types/commands/DeleteJobCommand.d.ts +1 -0
  32. package/dist-types/commands/DeleteSourceServerCommand.d.ts +1 -0
  33. package/dist-types/commands/DeleteWaveCommand.d.ts +1 -0
  34. package/dist-types/commands/DescribeJobLogItemsCommand.d.ts +1 -0
  35. package/dist-types/commands/DescribeJobsCommand.d.ts +1 -0
  36. package/dist-types/commands/DescribeReplicationConfigurationTemplatesCommand.d.ts +1 -0
  37. package/dist-types/commands/DescribeSourceServersCommand.d.ts +1 -0
  38. package/dist-types/commands/DisassociateApplicationsCommand.d.ts +1 -0
  39. package/dist-types/commands/DisassociateSourceServersCommand.d.ts +1 -0
  40. package/dist-types/commands/DisconnectFromServiceCommand.d.ts +1 -0
  41. package/dist-types/commands/FinalizeCutoverCommand.d.ts +1 -0
  42. package/dist-types/commands/GetLaunchConfigurationCommand.d.ts +1 -0
  43. package/dist-types/commands/GetReplicationConfigurationCommand.d.ts +2 -0
  44. package/dist-types/commands/ListApplicationsCommand.d.ts +1 -0
  45. package/dist-types/commands/ListImportErrorsCommand.d.ts +1 -0
  46. package/dist-types/commands/ListManagedAccountsCommand.d.ts +85 -0
  47. package/dist-types/commands/ListSourceServerActionsCommand.d.ts +1 -0
  48. package/dist-types/commands/ListWavesCommand.d.ts +1 -0
  49. package/dist-types/commands/MarkAsArchivedCommand.d.ts +1 -0
  50. package/dist-types/commands/PauseReplicationCommand.d.ts +200 -0
  51. package/dist-types/commands/PutSourceServerActionCommand.d.ts +1 -0
  52. package/dist-types/commands/RemoveSourceServerActionCommand.d.ts +1 -0
  53. package/dist-types/commands/ResumeReplicationCommand.d.ts +200 -0
  54. package/dist-types/commands/RetryDataReplicationCommand.d.ts +1 -0
  55. package/dist-types/commands/StartCutoverCommand.d.ts +1 -0
  56. package/dist-types/commands/StartReplicationCommand.d.ts +1 -0
  57. package/dist-types/commands/StartTestCommand.d.ts +1 -0
  58. package/dist-types/commands/StopReplicationCommand.d.ts +200 -0
  59. package/dist-types/commands/TerminateTargetInstancesCommand.d.ts +1 -0
  60. package/dist-types/commands/UnarchiveApplicationCommand.d.ts +1 -0
  61. package/dist-types/commands/UnarchiveWaveCommand.d.ts +1 -0
  62. package/dist-types/commands/UpdateApplicationCommand.d.ts +1 -0
  63. package/dist-types/commands/UpdateLaunchConfigurationCommand.d.ts +1 -0
  64. package/dist-types/commands/UpdateReplicationConfigurationCommand.d.ts +3 -0
  65. package/dist-types/commands/UpdateReplicationConfigurationTemplateCommand.d.ts +2 -0
  66. package/dist-types/commands/UpdateSourceServerReplicationTypeCommand.d.ts +1 -0
  67. package/dist-types/commands/UpdateWaveCommand.d.ts +1 -0
  68. package/dist-types/commands/index.d.ts +4 -0
  69. package/dist-types/models/models_0.d.ts +253 -0
  70. package/dist-types/pagination/ListManagedAccountsPaginator.d.ts +7 -0
  71. package/dist-types/pagination/index.d.ts +1 -0
  72. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  73. package/dist-types/ts3.4/Mgn.d.ts +68 -0
  74. package/dist-types/ts3.4/MgnClient.d.ts +24 -0
  75. package/dist-types/ts3.4/commands/ListManagedAccountsCommand.d.ts +39 -0
  76. package/dist-types/ts3.4/commands/PauseReplicationCommand.d.ts +35 -0
  77. package/dist-types/ts3.4/commands/ResumeReplicationCommand.d.ts +36 -0
  78. package/dist-types/ts3.4/commands/StopReplicationCommand.d.ts +35 -0
  79. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  80. package/dist-types/ts3.4/models/models_0.d.ts +67 -0
  81. package/dist-types/ts3.4/pagination/ListManagedAccountsPaginator.d.ts +11 -0
  82. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  83. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
  84. package/package.json +13 -13
@@ -33,21 +33,25 @@ import { ListExportErrorsCommandInput, ListExportErrorsCommandOutput } from "./c
33
33
  import { ListExportsCommandInput, ListExportsCommandOutput } from "./commands/ListExportsCommand";
34
34
  import { ListImportErrorsCommandInput, ListImportErrorsCommandOutput } from "./commands/ListImportErrorsCommand";
35
35
  import { ListImportsCommandInput, ListImportsCommandOutput } from "./commands/ListImportsCommand";
36
+ import { ListManagedAccountsCommandInput, ListManagedAccountsCommandOutput } from "./commands/ListManagedAccountsCommand";
36
37
  import { ListSourceServerActionsCommandInput, ListSourceServerActionsCommandOutput } from "./commands/ListSourceServerActionsCommand";
37
38
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
38
39
  import { ListTemplateActionsCommandInput, ListTemplateActionsCommandOutput } from "./commands/ListTemplateActionsCommand";
39
40
  import { ListWavesCommandInput, ListWavesCommandOutput } from "./commands/ListWavesCommand";
40
41
  import { MarkAsArchivedCommandInput, MarkAsArchivedCommandOutput } from "./commands/MarkAsArchivedCommand";
42
+ import { PauseReplicationCommandInput, PauseReplicationCommandOutput } from "./commands/PauseReplicationCommand";
41
43
  import { PutSourceServerActionCommandInput, PutSourceServerActionCommandOutput } from "./commands/PutSourceServerActionCommand";
42
44
  import { PutTemplateActionCommandInput, PutTemplateActionCommandOutput } from "./commands/PutTemplateActionCommand";
43
45
  import { RemoveSourceServerActionCommandInput, RemoveSourceServerActionCommandOutput } from "./commands/RemoveSourceServerActionCommand";
44
46
  import { RemoveTemplateActionCommandInput, RemoveTemplateActionCommandOutput } from "./commands/RemoveTemplateActionCommand";
47
+ import { ResumeReplicationCommandInput, ResumeReplicationCommandOutput } from "./commands/ResumeReplicationCommand";
45
48
  import { RetryDataReplicationCommandInput, RetryDataReplicationCommandOutput } from "./commands/RetryDataReplicationCommand";
46
49
  import { StartCutoverCommandInput, StartCutoverCommandOutput } from "./commands/StartCutoverCommand";
47
50
  import { StartExportCommandInput, StartExportCommandOutput } from "./commands/StartExportCommand";
48
51
  import { StartImportCommandInput, StartImportCommandOutput } from "./commands/StartImportCommand";
49
52
  import { StartReplicationCommandInput, StartReplicationCommandOutput } from "./commands/StartReplicationCommand";
50
53
  import { StartTestCommandInput, StartTestCommandOutput } from "./commands/StartTestCommand";
54
+ import { StopReplicationCommandInput, StopReplicationCommandOutput } from "./commands/StopReplicationCommand";
51
55
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
52
56
  import { TerminateTargetInstancesCommandInput, TerminateTargetInstancesCommandOutput } from "./commands/TerminateTargetInstancesCommand";
53
57
  import { UnarchiveApplicationCommandInput, UnarchiveApplicationCommandOutput } from "./commands/UnarchiveApplicationCommand";
@@ -266,6 +270,12 @@ export interface Mgn {
266
270
  listImports(args: ListImportsCommandInput, options?: __HttpHandlerOptions): Promise<ListImportsCommandOutput>;
267
271
  listImports(args: ListImportsCommandInput, cb: (err: any, data?: ListImportsCommandOutput) => void): void;
268
272
  listImports(args: ListImportsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListImportsCommandOutput) => void): void;
273
+ /**
274
+ * @see {@link ListManagedAccountsCommand}
275
+ */
276
+ listManagedAccounts(args: ListManagedAccountsCommandInput, options?: __HttpHandlerOptions): Promise<ListManagedAccountsCommandOutput>;
277
+ listManagedAccounts(args: ListManagedAccountsCommandInput, cb: (err: any, data?: ListManagedAccountsCommandOutput) => void): void;
278
+ listManagedAccounts(args: ListManagedAccountsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListManagedAccountsCommandOutput) => void): void;
269
279
  /**
270
280
  * @see {@link ListSourceServerActionsCommand}
271
281
  */
@@ -296,6 +306,12 @@ export interface Mgn {
296
306
  markAsArchived(args: MarkAsArchivedCommandInput, options?: __HttpHandlerOptions): Promise<MarkAsArchivedCommandOutput>;
297
307
  markAsArchived(args: MarkAsArchivedCommandInput, cb: (err: any, data?: MarkAsArchivedCommandOutput) => void): void;
298
308
  markAsArchived(args: MarkAsArchivedCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: MarkAsArchivedCommandOutput) => void): void;
309
+ /**
310
+ * @see {@link PauseReplicationCommand}
311
+ */
312
+ pauseReplication(args: PauseReplicationCommandInput, options?: __HttpHandlerOptions): Promise<PauseReplicationCommandOutput>;
313
+ pauseReplication(args: PauseReplicationCommandInput, cb: (err: any, data?: PauseReplicationCommandOutput) => void): void;
314
+ pauseReplication(args: PauseReplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PauseReplicationCommandOutput) => void): void;
299
315
  /**
300
316
  * @see {@link PutSourceServerActionCommand}
301
317
  */
@@ -320,6 +336,12 @@ export interface Mgn {
320
336
  removeTemplateAction(args: RemoveTemplateActionCommandInput, options?: __HttpHandlerOptions): Promise<RemoveTemplateActionCommandOutput>;
321
337
  removeTemplateAction(args: RemoveTemplateActionCommandInput, cb: (err: any, data?: RemoveTemplateActionCommandOutput) => void): void;
322
338
  removeTemplateAction(args: RemoveTemplateActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveTemplateActionCommandOutput) => void): void;
339
+ /**
340
+ * @see {@link ResumeReplicationCommand}
341
+ */
342
+ resumeReplication(args: ResumeReplicationCommandInput, options?: __HttpHandlerOptions): Promise<ResumeReplicationCommandOutput>;
343
+ resumeReplication(args: ResumeReplicationCommandInput, cb: (err: any, data?: ResumeReplicationCommandOutput) => void): void;
344
+ resumeReplication(args: ResumeReplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ResumeReplicationCommandOutput) => void): void;
323
345
  /**
324
346
  * @see {@link RetryDataReplicationCommand}
325
347
  */
@@ -356,6 +378,12 @@ export interface Mgn {
356
378
  startTest(args: StartTestCommandInput, options?: __HttpHandlerOptions): Promise<StartTestCommandOutput>;
357
379
  startTest(args: StartTestCommandInput, cb: (err: any, data?: StartTestCommandOutput) => void): void;
358
380
  startTest(args: StartTestCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartTestCommandOutput) => void): void;
381
+ /**
382
+ * @see {@link StopReplicationCommand}
383
+ */
384
+ stopReplication(args: StopReplicationCommandInput, options?: __HttpHandlerOptions): Promise<StopReplicationCommandOutput>;
385
+ stopReplication(args: StopReplicationCommandInput, cb: (err: any, data?: StopReplicationCommandOutput) => void): void;
386
+ stopReplication(args: StopReplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopReplicationCommandOutput) => void): void;
359
387
  /**
360
388
  * @see {@link TagResourceCommand}
361
389
  */
@@ -42,21 +42,25 @@ import { ListExportErrorsCommandInput, ListExportErrorsCommandOutput } from "./c
42
42
  import { ListExportsCommandInput, ListExportsCommandOutput } from "./commands/ListExportsCommand";
43
43
  import { ListImportErrorsCommandInput, ListImportErrorsCommandOutput } from "./commands/ListImportErrorsCommand";
44
44
  import { ListImportsCommandInput, ListImportsCommandOutput } from "./commands/ListImportsCommand";
45
+ import { ListManagedAccountsCommandInput, ListManagedAccountsCommandOutput } from "./commands/ListManagedAccountsCommand";
45
46
  import { ListSourceServerActionsCommandInput, ListSourceServerActionsCommandOutput } from "./commands/ListSourceServerActionsCommand";
46
47
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
47
48
  import { ListTemplateActionsCommandInput, ListTemplateActionsCommandOutput } from "./commands/ListTemplateActionsCommand";
48
49
  import { ListWavesCommandInput, ListWavesCommandOutput } from "./commands/ListWavesCommand";
49
50
  import { MarkAsArchivedCommandInput, MarkAsArchivedCommandOutput } from "./commands/MarkAsArchivedCommand";
51
+ import { PauseReplicationCommandInput, PauseReplicationCommandOutput } from "./commands/PauseReplicationCommand";
50
52
  import { PutSourceServerActionCommandInput, PutSourceServerActionCommandOutput } from "./commands/PutSourceServerActionCommand";
51
53
  import { PutTemplateActionCommandInput, PutTemplateActionCommandOutput } from "./commands/PutTemplateActionCommand";
52
54
  import { RemoveSourceServerActionCommandInput, RemoveSourceServerActionCommandOutput } from "./commands/RemoveSourceServerActionCommand";
53
55
  import { RemoveTemplateActionCommandInput, RemoveTemplateActionCommandOutput } from "./commands/RemoveTemplateActionCommand";
56
+ import { ResumeReplicationCommandInput, ResumeReplicationCommandOutput } from "./commands/ResumeReplicationCommand";
54
57
  import { RetryDataReplicationCommandInput, RetryDataReplicationCommandOutput } from "./commands/RetryDataReplicationCommand";
55
58
  import { StartCutoverCommandInput, StartCutoverCommandOutput } from "./commands/StartCutoverCommand";
56
59
  import { StartExportCommandInput, StartExportCommandOutput } from "./commands/StartExportCommand";
57
60
  import { StartImportCommandInput, StartImportCommandOutput } from "./commands/StartImportCommand";
58
61
  import { StartReplicationCommandInput, StartReplicationCommandOutput } from "./commands/StartReplicationCommand";
59
62
  import { StartTestCommandInput, StartTestCommandOutput } from "./commands/StartTestCommand";
63
+ import { StopReplicationCommandInput, StopReplicationCommandOutput } from "./commands/StopReplicationCommand";
60
64
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
61
65
  import { TerminateTargetInstancesCommandInput, TerminateTargetInstancesCommandOutput } from "./commands/TerminateTargetInstancesCommand";
62
66
  import { UnarchiveApplicationCommandInput, UnarchiveApplicationCommandOutput } from "./commands/UnarchiveApplicationCommand";
@@ -74,11 +78,11 @@ export { __Client };
74
78
  /**
75
79
  * @public
76
80
  */
77
- export type ServiceInputTypes = ArchiveApplicationCommandInput | ArchiveWaveCommandInput | AssociateApplicationsCommandInput | AssociateSourceServersCommandInput | ChangeServerLifeCycleStateCommandInput | CreateApplicationCommandInput | CreateLaunchConfigurationTemplateCommandInput | CreateReplicationConfigurationTemplateCommandInput | CreateWaveCommandInput | DeleteApplicationCommandInput | DeleteJobCommandInput | DeleteLaunchConfigurationTemplateCommandInput | DeleteReplicationConfigurationTemplateCommandInput | DeleteSourceServerCommandInput | DeleteVcenterClientCommandInput | DeleteWaveCommandInput | DescribeJobLogItemsCommandInput | DescribeJobsCommandInput | DescribeLaunchConfigurationTemplatesCommandInput | DescribeReplicationConfigurationTemplatesCommandInput | DescribeSourceServersCommandInput | DescribeVcenterClientsCommandInput | DisassociateApplicationsCommandInput | DisassociateSourceServersCommandInput | DisconnectFromServiceCommandInput | FinalizeCutoverCommandInput | GetLaunchConfigurationCommandInput | GetReplicationConfigurationCommandInput | InitializeServiceCommandInput | ListApplicationsCommandInput | ListExportErrorsCommandInput | ListExportsCommandInput | ListImportErrorsCommandInput | ListImportsCommandInput | ListSourceServerActionsCommandInput | ListTagsForResourceCommandInput | ListTemplateActionsCommandInput | ListWavesCommandInput | MarkAsArchivedCommandInput | PutSourceServerActionCommandInput | PutTemplateActionCommandInput | RemoveSourceServerActionCommandInput | RemoveTemplateActionCommandInput | RetryDataReplicationCommandInput | StartCutoverCommandInput | StartExportCommandInput | StartImportCommandInput | StartReplicationCommandInput | StartTestCommandInput | TagResourceCommandInput | TerminateTargetInstancesCommandInput | UnarchiveApplicationCommandInput | UnarchiveWaveCommandInput | UntagResourceCommandInput | UpdateApplicationCommandInput | UpdateLaunchConfigurationCommandInput | UpdateLaunchConfigurationTemplateCommandInput | UpdateReplicationConfigurationCommandInput | UpdateReplicationConfigurationTemplateCommandInput | UpdateSourceServerReplicationTypeCommandInput | UpdateWaveCommandInput;
81
+ export type ServiceInputTypes = ArchiveApplicationCommandInput | ArchiveWaveCommandInput | AssociateApplicationsCommandInput | AssociateSourceServersCommandInput | ChangeServerLifeCycleStateCommandInput | CreateApplicationCommandInput | CreateLaunchConfigurationTemplateCommandInput | CreateReplicationConfigurationTemplateCommandInput | CreateWaveCommandInput | DeleteApplicationCommandInput | DeleteJobCommandInput | DeleteLaunchConfigurationTemplateCommandInput | DeleteReplicationConfigurationTemplateCommandInput | DeleteSourceServerCommandInput | DeleteVcenterClientCommandInput | DeleteWaveCommandInput | DescribeJobLogItemsCommandInput | DescribeJobsCommandInput | DescribeLaunchConfigurationTemplatesCommandInput | DescribeReplicationConfigurationTemplatesCommandInput | DescribeSourceServersCommandInput | DescribeVcenterClientsCommandInput | DisassociateApplicationsCommandInput | DisassociateSourceServersCommandInput | DisconnectFromServiceCommandInput | FinalizeCutoverCommandInput | GetLaunchConfigurationCommandInput | GetReplicationConfigurationCommandInput | InitializeServiceCommandInput | ListApplicationsCommandInput | ListExportErrorsCommandInput | ListExportsCommandInput | ListImportErrorsCommandInput | ListImportsCommandInput | ListManagedAccountsCommandInput | ListSourceServerActionsCommandInput | ListTagsForResourceCommandInput | ListTemplateActionsCommandInput | ListWavesCommandInput | MarkAsArchivedCommandInput | PauseReplicationCommandInput | PutSourceServerActionCommandInput | PutTemplateActionCommandInput | RemoveSourceServerActionCommandInput | RemoveTemplateActionCommandInput | ResumeReplicationCommandInput | RetryDataReplicationCommandInput | StartCutoverCommandInput | StartExportCommandInput | StartImportCommandInput | StartReplicationCommandInput | StartTestCommandInput | StopReplicationCommandInput | TagResourceCommandInput | TerminateTargetInstancesCommandInput | UnarchiveApplicationCommandInput | UnarchiveWaveCommandInput | UntagResourceCommandInput | UpdateApplicationCommandInput | UpdateLaunchConfigurationCommandInput | UpdateLaunchConfigurationTemplateCommandInput | UpdateReplicationConfigurationCommandInput | UpdateReplicationConfigurationTemplateCommandInput | UpdateSourceServerReplicationTypeCommandInput | UpdateWaveCommandInput;
78
82
  /**
79
83
  * @public
80
84
  */
81
- export type ServiceOutputTypes = ArchiveApplicationCommandOutput | ArchiveWaveCommandOutput | AssociateApplicationsCommandOutput | AssociateSourceServersCommandOutput | ChangeServerLifeCycleStateCommandOutput | CreateApplicationCommandOutput | CreateLaunchConfigurationTemplateCommandOutput | CreateReplicationConfigurationTemplateCommandOutput | CreateWaveCommandOutput | DeleteApplicationCommandOutput | DeleteJobCommandOutput | DeleteLaunchConfigurationTemplateCommandOutput | DeleteReplicationConfigurationTemplateCommandOutput | DeleteSourceServerCommandOutput | DeleteVcenterClientCommandOutput | DeleteWaveCommandOutput | DescribeJobLogItemsCommandOutput | DescribeJobsCommandOutput | DescribeLaunchConfigurationTemplatesCommandOutput | DescribeReplicationConfigurationTemplatesCommandOutput | DescribeSourceServersCommandOutput | DescribeVcenterClientsCommandOutput | DisassociateApplicationsCommandOutput | DisassociateSourceServersCommandOutput | DisconnectFromServiceCommandOutput | FinalizeCutoverCommandOutput | GetLaunchConfigurationCommandOutput | GetReplicationConfigurationCommandOutput | InitializeServiceCommandOutput | ListApplicationsCommandOutput | ListExportErrorsCommandOutput | ListExportsCommandOutput | ListImportErrorsCommandOutput | ListImportsCommandOutput | ListSourceServerActionsCommandOutput | ListTagsForResourceCommandOutput | ListTemplateActionsCommandOutput | ListWavesCommandOutput | MarkAsArchivedCommandOutput | PutSourceServerActionCommandOutput | PutTemplateActionCommandOutput | RemoveSourceServerActionCommandOutput | RemoveTemplateActionCommandOutput | RetryDataReplicationCommandOutput | StartCutoverCommandOutput | StartExportCommandOutput | StartImportCommandOutput | StartReplicationCommandOutput | StartTestCommandOutput | TagResourceCommandOutput | TerminateTargetInstancesCommandOutput | UnarchiveApplicationCommandOutput | UnarchiveWaveCommandOutput | UntagResourceCommandOutput | UpdateApplicationCommandOutput | UpdateLaunchConfigurationCommandOutput | UpdateLaunchConfigurationTemplateCommandOutput | UpdateReplicationConfigurationCommandOutput | UpdateReplicationConfigurationTemplateCommandOutput | UpdateSourceServerReplicationTypeCommandOutput | UpdateWaveCommandOutput;
85
+ export type ServiceOutputTypes = ArchiveApplicationCommandOutput | ArchiveWaveCommandOutput | AssociateApplicationsCommandOutput | AssociateSourceServersCommandOutput | ChangeServerLifeCycleStateCommandOutput | CreateApplicationCommandOutput | CreateLaunchConfigurationTemplateCommandOutput | CreateReplicationConfigurationTemplateCommandOutput | CreateWaveCommandOutput | DeleteApplicationCommandOutput | DeleteJobCommandOutput | DeleteLaunchConfigurationTemplateCommandOutput | DeleteReplicationConfigurationTemplateCommandOutput | DeleteSourceServerCommandOutput | DeleteVcenterClientCommandOutput | DeleteWaveCommandOutput | DescribeJobLogItemsCommandOutput | DescribeJobsCommandOutput | DescribeLaunchConfigurationTemplatesCommandOutput | DescribeReplicationConfigurationTemplatesCommandOutput | DescribeSourceServersCommandOutput | DescribeVcenterClientsCommandOutput | DisassociateApplicationsCommandOutput | DisassociateSourceServersCommandOutput | DisconnectFromServiceCommandOutput | FinalizeCutoverCommandOutput | GetLaunchConfigurationCommandOutput | GetReplicationConfigurationCommandOutput | InitializeServiceCommandOutput | ListApplicationsCommandOutput | ListExportErrorsCommandOutput | ListExportsCommandOutput | ListImportErrorsCommandOutput | ListImportsCommandOutput | ListManagedAccountsCommandOutput | ListSourceServerActionsCommandOutput | ListTagsForResourceCommandOutput | ListTemplateActionsCommandOutput | ListWavesCommandOutput | MarkAsArchivedCommandOutput | PauseReplicationCommandOutput | PutSourceServerActionCommandOutput | PutTemplateActionCommandOutput | RemoveSourceServerActionCommandOutput | RemoveTemplateActionCommandOutput | ResumeReplicationCommandOutput | RetryDataReplicationCommandOutput | StartCutoverCommandOutput | StartExportCommandOutput | StartImportCommandOutput | StartReplicationCommandOutput | StartTestCommandOutput | StopReplicationCommandOutput | TagResourceCommandOutput | TerminateTargetInstancesCommandOutput | UnarchiveApplicationCommandOutput | UnarchiveWaveCommandOutput | UntagResourceCommandOutput | UpdateApplicationCommandOutput | UpdateLaunchConfigurationCommandOutput | UpdateLaunchConfigurationTemplateCommandOutput | UpdateReplicationConfigurationCommandOutput | UpdateReplicationConfigurationTemplateCommandOutput | UpdateSourceServerReplicationTypeCommandOutput | UpdateWaveCommandOutput;
82
86
  /**
83
87
  * @public
84
88
  */
@@ -32,6 +32,7 @@ export interface ArchiveApplicationCommandOutput extends Application, __Metadata
32
32
  * const client = new MgnClient(config);
33
33
  * const input = { // ArchiveApplicationRequest
34
34
  * applicationID: "STRING_VALUE", // required
35
+ * accountID: "STRING_VALUE",
35
36
  * };
36
37
  * const command = new ArchiveApplicationCommand(input);
37
38
  * const response = await client.send(command);
@@ -32,6 +32,7 @@ export interface ArchiveWaveCommandOutput extends Wave, __MetadataBearer {
32
32
  * const client = new MgnClient(config);
33
33
  * const input = { // ArchiveWaveRequest
34
34
  * waveID: "STRING_VALUE", // required
35
+ * accountID: "STRING_VALUE",
35
36
  * };
36
37
  * const command = new ArchiveWaveCommand(input);
37
38
  * const response = await client.send(command);
@@ -35,6 +35,7 @@ export interface AssociateApplicationsCommandOutput extends AssociateApplication
35
35
  * applicationIDs: [ // ApplicationIDs // required
36
36
  * "STRING_VALUE",
37
37
  * ],
38
+ * accountID: "STRING_VALUE",
38
39
  * };
39
40
  * const command = new AssociateApplicationsCommand(input);
40
41
  * const response = await client.send(command);
@@ -35,6 +35,7 @@ export interface AssociateSourceServersCommandOutput extends AssociateSourceServ
35
35
  * sourceServerIDs: [ // AssociateSourceServersRequestSourceServerIDs // required
36
36
  * "STRING_VALUE",
37
37
  * ],
38
+ * accountID: "STRING_VALUE",
38
39
  * };
39
40
  * const command = new AssociateSourceServersCommand(input);
40
41
  * const response = await client.send(command);
@@ -35,6 +35,7 @@ export interface ChangeServerLifeCycleStateCommandOutput extends SourceServer, _
35
35
  * lifeCycle: { // ChangeServerLifeCycleStateSourceServerLifecycle
36
36
  * state: "STRING_VALUE", // required
37
37
  * },
38
+ * accountID: "STRING_VALUE",
38
39
  * };
39
40
  * const command = new ChangeServerLifeCycleStateCommand(input);
40
41
  * const response = await client.send(command);
@@ -36,6 +36,7 @@ export interface CreateApplicationCommandOutput extends Application, __MetadataB
36
36
  * tags: { // TagsMap
37
37
  * "<keys>": "STRING_VALUE",
38
38
  * },
39
+ * accountID: "STRING_VALUE",
39
40
  * };
40
41
  * const command = new CreateApplicationCommand(input);
41
42
  * const response = await client.send(command);
@@ -47,6 +47,7 @@ export interface CreateReplicationConfigurationTemplateCommandOutput extends Rep
47
47
  * stagingAreaTags: { // TagsMap // required
48
48
  * "<keys>": "STRING_VALUE",
49
49
  * },
50
+ * useFipsEndpoint: true || false,
50
51
  * tags: {
51
52
  * "<keys>": "STRING_VALUE",
52
53
  * },
@@ -72,6 +73,7 @@ export interface CreateReplicationConfigurationTemplateCommandOutput extends Rep
72
73
  * // stagingAreaTags: { // TagsMap
73
74
  * // "<keys>": "STRING_VALUE",
74
75
  * // },
76
+ * // useFipsEndpoint: true || false,
75
77
  * // tags: {
76
78
  * // "<keys>": "STRING_VALUE",
77
79
  * // },
@@ -36,6 +36,7 @@ export interface CreateWaveCommandOutput extends Wave, __MetadataBearer {
36
36
  * tags: { // TagsMap
37
37
  * "<keys>": "STRING_VALUE",
38
38
  * },
39
+ * accountID: "STRING_VALUE",
39
40
  * };
40
41
  * const command = new CreateWaveCommand(input);
41
42
  * const response = await client.send(command);
@@ -32,6 +32,7 @@ export interface DeleteApplicationCommandOutput extends DeleteApplicationRespons
32
32
  * const client = new MgnClient(config);
33
33
  * const input = { // DeleteApplicationRequest
34
34
  * applicationID: "STRING_VALUE", // required
35
+ * accountID: "STRING_VALUE",
35
36
  * };
36
37
  * const command = new DeleteApplicationCommand(input);
37
38
  * const response = await client.send(command);
@@ -32,6 +32,7 @@ export interface DeleteJobCommandOutput extends DeleteJobResponse, __MetadataBea
32
32
  * const client = new MgnClient(config);
33
33
  * const input = { // DeleteJobRequest
34
34
  * jobID: "STRING_VALUE", // required
35
+ * accountID: "STRING_VALUE",
35
36
  * };
36
37
  * const command = new DeleteJobCommand(input);
37
38
  * const response = await client.send(command);
@@ -32,6 +32,7 @@ export interface DeleteSourceServerCommandOutput extends DeleteSourceServerRespo
32
32
  * const client = new MgnClient(config);
33
33
  * const input = { // DeleteSourceServerRequest
34
34
  * sourceServerID: "STRING_VALUE", // required
35
+ * accountID: "STRING_VALUE",
35
36
  * };
36
37
  * const command = new DeleteSourceServerCommand(input);
37
38
  * const response = await client.send(command);
@@ -32,6 +32,7 @@ export interface DeleteWaveCommandOutput extends DeleteWaveResponse, __MetadataB
32
32
  * const client = new MgnClient(config);
33
33
  * const input = { // DeleteWaveRequest
34
34
  * waveID: "STRING_VALUE", // required
35
+ * accountID: "STRING_VALUE",
35
36
  * };
36
37
  * const command = new DeleteWaveCommand(input);
37
38
  * const response = await client.send(command);
@@ -34,6 +34,7 @@ export interface DescribeJobLogItemsCommandOutput extends DescribeJobLogItemsRes
34
34
  * jobID: "STRING_VALUE", // required
35
35
  * maxResults: Number("int"),
36
36
  * nextToken: "STRING_VALUE",
37
+ * accountID: "STRING_VALUE",
37
38
  * };
38
39
  * const command = new DescribeJobLogItemsCommand(input);
39
40
  * const response = await client.send(command);
@@ -40,6 +40,7 @@ export interface DescribeJobsCommandOutput extends DescribeJobsResponse, __Metad
40
40
  * },
41
41
  * maxResults: Number("int"),
42
42
  * nextToken: "STRING_VALUE",
43
+ * accountID: "STRING_VALUE",
43
44
  * };
44
45
  * const command = new DescribeJobsCommand(input);
45
46
  * const response = await client.send(command);
@@ -60,6 +60,7 @@ export interface DescribeReplicationConfigurationTemplatesCommandOutput extends
60
60
  * // stagingAreaTags: { // TagsMap
61
61
  * // "<keys>": "STRING_VALUE",
62
62
  * // },
63
+ * // useFipsEndpoint: true || false,
63
64
  * // tags: {
64
65
  * // "<keys>": "STRING_VALUE",
65
66
  * // },
@@ -48,6 +48,7 @@ export interface DescribeSourceServersCommandOutput extends DescribeSourceServer
48
48
  * },
49
49
  * maxResults: Number("int"),
50
50
  * nextToken: "STRING_VALUE",
51
+ * accountID: "STRING_VALUE",
51
52
  * };
52
53
  * const command = new DescribeSourceServersCommand(input);
53
54
  * const response = await client.send(command);
@@ -35,6 +35,7 @@ export interface DisassociateApplicationsCommandOutput extends DisassociateAppli
35
35
  * applicationIDs: [ // ApplicationIDs // required
36
36
  * "STRING_VALUE",
37
37
  * ],
38
+ * accountID: "STRING_VALUE",
38
39
  * };
39
40
  * const command = new DisassociateApplicationsCommand(input);
40
41
  * const response = await client.send(command);
@@ -35,6 +35,7 @@ export interface DisassociateSourceServersCommandOutput extends DisassociateSour
35
35
  * sourceServerIDs: [ // DisassociateSourceServersRequestSourceServerIDs // required
36
36
  * "STRING_VALUE",
37
37
  * ],
38
+ * accountID: "STRING_VALUE",
38
39
  * };
39
40
  * const command = new DisassociateSourceServersCommand(input);
40
41
  * const response = await client.send(command);
@@ -32,6 +32,7 @@ export interface DisconnectFromServiceCommandOutput extends SourceServer, __Meta
32
32
  * const client = new MgnClient(config);
33
33
  * const input = { // DisconnectFromServiceRequest
34
34
  * sourceServerID: "STRING_VALUE", // required
35
+ * accountID: "STRING_VALUE",
35
36
  * };
36
37
  * const command = new DisconnectFromServiceCommand(input);
37
38
  * const response = await client.send(command);
@@ -32,6 +32,7 @@ export interface FinalizeCutoverCommandOutput extends SourceServer, __MetadataBe
32
32
  * const client = new MgnClient(config);
33
33
  * const input = { // FinalizeCutoverRequest
34
34
  * sourceServerID: "STRING_VALUE", // required
35
+ * accountID: "STRING_VALUE",
35
36
  * };
36
37
  * const command = new FinalizeCutoverCommand(input);
37
38
  * const response = await client.send(command);
@@ -32,6 +32,7 @@ export interface GetLaunchConfigurationCommandOutput extends LaunchConfiguration
32
32
  * const client = new MgnClient(config);
33
33
  * const input = { // GetLaunchConfigurationRequest
34
34
  * sourceServerID: "STRING_VALUE", // required
35
+ * accountID: "STRING_VALUE",
35
36
  * };
36
37
  * const command = new GetLaunchConfigurationCommand(input);
37
38
  * const response = await client.send(command);
@@ -32,6 +32,7 @@ export interface GetReplicationConfigurationCommandOutput extends ReplicationCon
32
32
  * const client = new MgnClient(config);
33
33
  * const input = { // GetReplicationConfigurationRequest
34
34
  * sourceServerID: "STRING_VALUE", // required
35
+ * accountID: "STRING_VALUE",
35
36
  * };
36
37
  * const command = new GetReplicationConfigurationCommand(input);
37
38
  * const response = await client.send(command);
@@ -63,6 +64,7 @@ export interface GetReplicationConfigurationCommandOutput extends ReplicationCon
63
64
  * // stagingAreaTags: { // TagsMap
64
65
  * // "<keys>": "STRING_VALUE",
65
66
  * // },
67
+ * // useFipsEndpoint: true || false,
66
68
  * // };
67
69
  *
68
70
  * ```
@@ -42,6 +42,7 @@ export interface ListApplicationsCommandOutput extends ListApplicationsResponse,
42
42
  * },
43
43
  * maxResults: Number("int"),
44
44
  * nextToken: "STRING_VALUE",
45
+ * accountID: "STRING_VALUE",
45
46
  * };
46
47
  * const command = new ListApplicationsCommand(input);
47
48
  * const response = await client.send(command);
@@ -49,6 +49,7 @@ export interface ListImportErrorsCommandOutput extends ListImportErrorsResponse,
49
49
  * // ec2LaunchTemplateID: "STRING_VALUE",
50
50
  * // rowNumber: Number("long"),
51
51
  * // rawError: "STRING_VALUE",
52
+ * // accountID: "STRING_VALUE",
52
53
  * // },
53
54
  * // },
54
55
  * // ],
@@ -0,0 +1,85 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
5
+ import { ListManagedAccountsRequest, ListManagedAccountsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListManagedAccountsCommand}.
14
+ */
15
+ export interface ListManagedAccountsCommandInput extends ListManagedAccountsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListManagedAccountsCommand}.
21
+ */
22
+ export interface ListManagedAccountsCommandOutput extends ListManagedAccountsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>List Managed Accounts.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { MgnClient, ListManagedAccountsCommand } from "@aws-sdk/client-mgn"; // ES Modules import
31
+ * // const { MgnClient, ListManagedAccountsCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
32
+ * const client = new MgnClient(config);
33
+ * const input = { // ListManagedAccountsRequest
34
+ * maxResults: Number("int"),
35
+ * nextToken: "STRING_VALUE",
36
+ * };
37
+ * const command = new ListManagedAccountsCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // ListManagedAccountsResponse
40
+ * // items: [ // ManagedAccounts // required
41
+ * // { // ManagedAccount
42
+ * // accountId: "STRING_VALUE",
43
+ * // },
44
+ * // ],
45
+ * // nextToken: "STRING_VALUE",
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param ListManagedAccountsCommandInput - {@link ListManagedAccountsCommandInput}
51
+ * @returns {@link ListManagedAccountsCommandOutput}
52
+ * @see {@link ListManagedAccountsCommandInput} for command's `input` shape.
53
+ * @see {@link ListManagedAccountsCommandOutput} for command's `response` shape.
54
+ * @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
55
+ *
56
+ * @throws {@link UninitializedAccountException} (client fault)
57
+ * <p>Uninitialized account exception.</p>
58
+ *
59
+ * @throws {@link ValidationException} (client fault)
60
+ * <p>Validate exception.</p>
61
+ *
62
+ * @throws {@link MgnServiceException}
63
+ * <p>Base exception class for all service exceptions from Mgn service.</p>
64
+ *
65
+ */
66
+ export declare class ListManagedAccountsCommand extends $Command<ListManagedAccountsCommandInput, ListManagedAccountsCommandOutput, MgnClientResolvedConfig> {
67
+ readonly input: ListManagedAccountsCommandInput;
68
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
69
+ /**
70
+ * @public
71
+ */
72
+ constructor(input: ListManagedAccountsCommandInput);
73
+ /**
74
+ * @internal
75
+ */
76
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MgnClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListManagedAccountsCommandInput, ListManagedAccountsCommandOutput>;
77
+ /**
78
+ * @internal
79
+ */
80
+ private serialize;
81
+ /**
82
+ * @internal
83
+ */
84
+ private deserialize;
85
+ }
@@ -39,6 +39,7 @@ export interface ListSourceServerActionsCommandOutput extends ListSourceServerAc
39
39
  * },
40
40
  * maxResults: Number("int"),
41
41
  * nextToken: "STRING_VALUE",
42
+ * accountID: "STRING_VALUE",
42
43
  * };
43
44
  * const command = new ListSourceServerActionsCommand(input);
44
45
  * const response = await client.send(command);
@@ -39,6 +39,7 @@ export interface ListWavesCommandOutput extends ListWavesResponse, __MetadataBea
39
39
  * },
40
40
  * maxResults: Number("int"),
41
41
  * nextToken: "STRING_VALUE",
42
+ * accountID: "STRING_VALUE",
42
43
  * };
43
44
  * const command = new ListWavesCommand(input);
44
45
  * const response = await client.send(command);
@@ -32,6 +32,7 @@ export interface MarkAsArchivedCommandOutput extends SourceServer, __MetadataBea
32
32
  * const client = new MgnClient(config);
33
33
  * const input = { // MarkAsArchivedRequest
34
34
  * sourceServerID: "STRING_VALUE", // required
35
+ * accountID: "STRING_VALUE",
35
36
  * };
36
37
  * const command = new MarkAsArchivedCommand(input);
37
38
  * const response = await client.send(command);