@aws-sdk/client-mgn 3.295.0 → 3.296.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 (66) hide show
  1. package/README.md +48 -0
  2. package/dist-cjs/Mgn.js +90 -0
  3. package/dist-cjs/commands/ListExportErrorsCommand.js +46 -0
  4. package/dist-cjs/commands/ListExportsCommand.js +46 -0
  5. package/dist-cjs/commands/ListImportErrorsCommand.js +46 -0
  6. package/dist-cjs/commands/ListImportsCommand.js +46 -0
  7. package/dist-cjs/commands/StartExportCommand.js +46 -0
  8. package/dist-cjs/commands/StartImportCommand.js +46 -0
  9. package/dist-cjs/commands/index.js +6 -0
  10. package/dist-cjs/endpoint/ruleset.js +3 -3
  11. package/dist-cjs/models/models_0.js +191 -8
  12. package/dist-cjs/pagination/ListExportErrorsPaginator.js +29 -0
  13. package/dist-cjs/pagination/ListExportsPaginator.js +29 -0
  14. package/dist-cjs/pagination/ListImportErrorsPaginator.js +29 -0
  15. package/dist-cjs/pagination/ListImportsPaginator.js +29 -0
  16. package/dist-cjs/pagination/index.js +4 -0
  17. package/dist-cjs/protocols/Aws_restJson1.js +676 -3
  18. package/dist-es/Mgn.js +90 -0
  19. package/dist-es/commands/ListExportErrorsCommand.js +42 -0
  20. package/dist-es/commands/ListExportsCommand.js +42 -0
  21. package/dist-es/commands/ListImportErrorsCommand.js +42 -0
  22. package/dist-es/commands/ListImportsCommand.js +42 -0
  23. package/dist-es/commands/StartExportCommand.js +42 -0
  24. package/dist-es/commands/StartImportCommand.js +42 -0
  25. package/dist-es/commands/index.js +6 -0
  26. package/dist-es/endpoint/ruleset.js +3 -3
  27. package/dist-es/models/models_0.js +157 -2
  28. package/dist-es/pagination/ListExportErrorsPaginator.js +25 -0
  29. package/dist-es/pagination/ListExportsPaginator.js +25 -0
  30. package/dist-es/pagination/ListImportErrorsPaginator.js +25 -0
  31. package/dist-es/pagination/ListImportsPaginator.js +25 -0
  32. package/dist-es/pagination/index.js +4 -0
  33. package/dist-es/protocols/Aws_restJson1.js +663 -2
  34. package/dist-types/Mgn.d.ts +42 -0
  35. package/dist-types/MgnClient.d.ts +8 -2
  36. package/dist-types/commands/ListExportErrorsCommand.d.ts +50 -0
  37. package/dist-types/commands/ListExportsCommand.d.ts +47 -0
  38. package/dist-types/commands/ListImportErrorsCommand.d.ts +50 -0
  39. package/dist-types/commands/ListImportsCommand.d.ts +50 -0
  40. package/dist-types/commands/StartExportCommand.d.ts +53 -0
  41. package/dist-types/commands/StartImportCommand.d.ts +59 -0
  42. package/dist-types/commands/index.d.ts +6 -0
  43. package/dist-types/models/models_0.d.ts +641 -4
  44. package/dist-types/pagination/ListExportErrorsPaginator.d.ts +4 -0
  45. package/dist-types/pagination/ListExportsPaginator.d.ts +4 -0
  46. package/dist-types/pagination/ListImportErrorsPaginator.d.ts +4 -0
  47. package/dist-types/pagination/ListImportsPaginator.d.ts +4 -0
  48. package/dist-types/pagination/index.d.ts +4 -0
  49. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  50. package/dist-types/ts3.4/Mgn.d.ts +102 -0
  51. package/dist-types/ts3.4/MgnClient.d.ts +36 -0
  52. package/dist-types/ts3.4/commands/ListExportErrorsCommand.d.ts +37 -0
  53. package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +34 -0
  54. package/dist-types/ts3.4/commands/ListImportErrorsCommand.d.ts +37 -0
  55. package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +34 -0
  56. package/dist-types/ts3.4/commands/StartExportCommand.d.ts +34 -0
  57. package/dist-types/ts3.4/commands/StartImportCommand.d.ts +34 -0
  58. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  59. package/dist-types/ts3.4/models/models_0.d.ts +268 -5
  60. package/dist-types/ts3.4/pagination/ListExportErrorsPaginator.d.ts +11 -0
  61. package/dist-types/ts3.4/pagination/ListExportsPaginator.d.ts +11 -0
  62. package/dist-types/ts3.4/pagination/ListImportErrorsPaginator.d.ts +11 -0
  63. package/dist-types/ts3.4/pagination/ListImportsPaginator.d.ts +11 -0
  64. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  65. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
  66. package/package.json +32 -30
@@ -29,6 +29,10 @@ import { GetLaunchConfigurationCommandInput, GetLaunchConfigurationCommandOutput
29
29
  import { GetReplicationConfigurationCommandInput, GetReplicationConfigurationCommandOutput } from "./commands/GetReplicationConfigurationCommand";
30
30
  import { InitializeServiceCommandInput, InitializeServiceCommandOutput } from "./commands/InitializeServiceCommand";
31
31
  import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
32
+ import { ListExportErrorsCommandInput, ListExportErrorsCommandOutput } from "./commands/ListExportErrorsCommand";
33
+ import { ListExportsCommandInput, ListExportsCommandOutput } from "./commands/ListExportsCommand";
34
+ import { ListImportErrorsCommandInput, ListImportErrorsCommandOutput } from "./commands/ListImportErrorsCommand";
35
+ import { ListImportsCommandInput, ListImportsCommandOutput } from "./commands/ListImportsCommand";
32
36
  import { ListSourceServerActionsCommandInput, ListSourceServerActionsCommandOutput } from "./commands/ListSourceServerActionsCommand";
33
37
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
34
38
  import { ListTemplateActionsCommandInput, ListTemplateActionsCommandOutput } from "./commands/ListTemplateActionsCommand";
@@ -40,6 +44,8 @@ import { RemoveSourceServerActionCommandInput, RemoveSourceServerActionCommandOu
40
44
  import { RemoveTemplateActionCommandInput, RemoveTemplateActionCommandOutput } from "./commands/RemoveTemplateActionCommand";
41
45
  import { RetryDataReplicationCommandInput, RetryDataReplicationCommandOutput } from "./commands/RetryDataReplicationCommand";
42
46
  import { StartCutoverCommandInput, StartCutoverCommandOutput } from "./commands/StartCutoverCommand";
47
+ import { StartExportCommandInput, StartExportCommandOutput } from "./commands/StartExportCommand";
48
+ import { StartImportCommandInput, StartImportCommandOutput } from "./commands/StartImportCommand";
43
49
  import { StartReplicationCommandInput, StartReplicationCommandOutput } from "./commands/StartReplicationCommand";
44
50
  import { StartTestCommandInput, StartTestCommandOutput } from "./commands/StartTestCommand";
45
51
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
@@ -239,6 +245,30 @@ export declare class Mgn extends MgnClient {
239
245
  listApplications(args: ListApplicationsCommandInput, options?: __HttpHandlerOptions): Promise<ListApplicationsCommandOutput>;
240
246
  listApplications(args: ListApplicationsCommandInput, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
241
247
  listApplications(args: ListApplicationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
248
+ /**
249
+ * <p>List export errors.</p>
250
+ */
251
+ listExportErrors(args: ListExportErrorsCommandInput, options?: __HttpHandlerOptions): Promise<ListExportErrorsCommandOutput>;
252
+ listExportErrors(args: ListExportErrorsCommandInput, cb: (err: any, data?: ListExportErrorsCommandOutput) => void): void;
253
+ listExportErrors(args: ListExportErrorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListExportErrorsCommandOutput) => void): void;
254
+ /**
255
+ * <p>List exports.</p>
256
+ */
257
+ listExports(args: ListExportsCommandInput, options?: __HttpHandlerOptions): Promise<ListExportsCommandOutput>;
258
+ listExports(args: ListExportsCommandInput, cb: (err: any, data?: ListExportsCommandOutput) => void): void;
259
+ listExports(args: ListExportsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListExportsCommandOutput) => void): void;
260
+ /**
261
+ * <p>List import errors.</p>
262
+ */
263
+ listImportErrors(args: ListImportErrorsCommandInput, options?: __HttpHandlerOptions): Promise<ListImportErrorsCommandOutput>;
264
+ listImportErrors(args: ListImportErrorsCommandInput, cb: (err: any, data?: ListImportErrorsCommandOutput) => void): void;
265
+ listImportErrors(args: ListImportErrorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListImportErrorsCommandOutput) => void): void;
266
+ /**
267
+ * <p>List imports.</p>
268
+ */
269
+ listImports(args: ListImportsCommandInput, options?: __HttpHandlerOptions): Promise<ListImportsCommandOutput>;
270
+ listImports(args: ListImportsCommandInput, cb: (err: any, data?: ListImportsCommandOutput) => void): void;
271
+ listImports(args: ListImportsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListImportsCommandOutput) => void): void;
242
272
  /**
243
273
  * <p>List source server post migration custom actions.</p>
244
274
  */
@@ -305,6 +335,18 @@ export declare class Mgn extends MgnClient {
305
335
  startCutover(args: StartCutoverCommandInput, options?: __HttpHandlerOptions): Promise<StartCutoverCommandOutput>;
306
336
  startCutover(args: StartCutoverCommandInput, cb: (err: any, data?: StartCutoverCommandOutput) => void): void;
307
337
  startCutover(args: StartCutoverCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartCutoverCommandOutput) => void): void;
338
+ /**
339
+ * <p>Start export.</p>
340
+ */
341
+ startExport(args: StartExportCommandInput, options?: __HttpHandlerOptions): Promise<StartExportCommandOutput>;
342
+ startExport(args: StartExportCommandInput, cb: (err: any, data?: StartExportCommandOutput) => void): void;
343
+ startExport(args: StartExportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartExportCommandOutput) => void): void;
344
+ /**
345
+ * <p>Start import.</p>
346
+ */
347
+ startImport(args: StartImportCommandInput, options?: __HttpHandlerOptions): Promise<StartImportCommandOutput>;
348
+ startImport(args: StartImportCommandInput, cb: (err: any, data?: StartImportCommandOutput) => void): void;
349
+ startImport(args: StartImportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartImportCommandOutput) => void): void;
308
350
  /**
309
351
  * <p>Starts replication for SNAPSHOT_SHIPPING agents.</p>
310
352
  */
@@ -37,6 +37,10 @@ import { GetLaunchConfigurationCommandInput, GetLaunchConfigurationCommandOutput
37
37
  import { GetReplicationConfigurationCommandInput, GetReplicationConfigurationCommandOutput } from "./commands/GetReplicationConfigurationCommand";
38
38
  import { InitializeServiceCommandInput, InitializeServiceCommandOutput } from "./commands/InitializeServiceCommand";
39
39
  import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
40
+ import { ListExportErrorsCommandInput, ListExportErrorsCommandOutput } from "./commands/ListExportErrorsCommand";
41
+ import { ListExportsCommandInput, ListExportsCommandOutput } from "./commands/ListExportsCommand";
42
+ import { ListImportErrorsCommandInput, ListImportErrorsCommandOutput } from "./commands/ListImportErrorsCommand";
43
+ import { ListImportsCommandInput, ListImportsCommandOutput } from "./commands/ListImportsCommand";
40
44
  import { ListSourceServerActionsCommandInput, ListSourceServerActionsCommandOutput } from "./commands/ListSourceServerActionsCommand";
41
45
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
42
46
  import { ListTemplateActionsCommandInput, ListTemplateActionsCommandOutput } from "./commands/ListTemplateActionsCommand";
@@ -48,6 +52,8 @@ import { RemoveSourceServerActionCommandInput, RemoveSourceServerActionCommandOu
48
52
  import { RemoveTemplateActionCommandInput, RemoveTemplateActionCommandOutput } from "./commands/RemoveTemplateActionCommand";
49
53
  import { RetryDataReplicationCommandInput, RetryDataReplicationCommandOutput } from "./commands/RetryDataReplicationCommand";
50
54
  import { StartCutoverCommandInput, StartCutoverCommandOutput } from "./commands/StartCutoverCommand";
55
+ import { StartExportCommandInput, StartExportCommandOutput } from "./commands/StartExportCommand";
56
+ import { StartImportCommandInput, StartImportCommandOutput } from "./commands/StartImportCommand";
51
57
  import { StartReplicationCommandInput, StartReplicationCommandOutput } from "./commands/StartReplicationCommand";
52
58
  import { StartTestCommandInput, StartTestCommandOutput } from "./commands/StartTestCommand";
53
59
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
@@ -63,8 +69,8 @@ import { UpdateReplicationConfigurationTemplateCommandInput, UpdateReplicationCo
63
69
  import { UpdateSourceServerReplicationTypeCommandInput, UpdateSourceServerReplicationTypeCommandOutput } from "./commands/UpdateSourceServerReplicationTypeCommand";
64
70
  import { UpdateWaveCommandInput, UpdateWaveCommandOutput } from "./commands/UpdateWaveCommand";
65
71
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
66
- 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 | ListSourceServerActionsCommandInput | ListTagsForResourceCommandInput | ListTemplateActionsCommandInput | ListWavesCommandInput | MarkAsArchivedCommandInput | PutSourceServerActionCommandInput | PutTemplateActionCommandInput | RemoveSourceServerActionCommandInput | RemoveTemplateActionCommandInput | RetryDataReplicationCommandInput | StartCutoverCommandInput | StartReplicationCommandInput | StartTestCommandInput | TagResourceCommandInput | TerminateTargetInstancesCommandInput | UnarchiveApplicationCommandInput | UnarchiveWaveCommandInput | UntagResourceCommandInput | UpdateApplicationCommandInput | UpdateLaunchConfigurationCommandInput | UpdateLaunchConfigurationTemplateCommandInput | UpdateReplicationConfigurationCommandInput | UpdateReplicationConfigurationTemplateCommandInput | UpdateSourceServerReplicationTypeCommandInput | UpdateWaveCommandInput;
67
- 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 | ListSourceServerActionsCommandOutput | ListTagsForResourceCommandOutput | ListTemplateActionsCommandOutput | ListWavesCommandOutput | MarkAsArchivedCommandOutput | PutSourceServerActionCommandOutput | PutTemplateActionCommandOutput | RemoveSourceServerActionCommandOutput | RemoveTemplateActionCommandOutput | RetryDataReplicationCommandOutput | StartCutoverCommandOutput | StartReplicationCommandOutput | StartTestCommandOutput | TagResourceCommandOutput | TerminateTargetInstancesCommandOutput | UnarchiveApplicationCommandOutput | UnarchiveWaveCommandOutput | UntagResourceCommandOutput | UpdateApplicationCommandOutput | UpdateLaunchConfigurationCommandOutput | UpdateLaunchConfigurationTemplateCommandOutput | UpdateReplicationConfigurationCommandOutput | UpdateReplicationConfigurationTemplateCommandOutput | UpdateSourceServerReplicationTypeCommandOutput | UpdateWaveCommandOutput;
72
+ 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;
73
+ 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;
68
74
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
69
75
  /**
70
76
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -0,0 +1,50 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
5
+ import { ListExportErrorsRequest, ListExportErrorsResponse } from "../models/models_0";
6
+ /**
7
+ * The input for {@link ListExportErrorsCommand}.
8
+ */
9
+ export interface ListExportErrorsCommandInput extends ListExportErrorsRequest {
10
+ }
11
+ /**
12
+ * The output of {@link ListExportErrorsCommand}.
13
+ */
14
+ export interface ListExportErrorsCommandOutput extends ListExportErrorsResponse, __MetadataBearer {
15
+ }
16
+ /**
17
+ * <p>List export errors.</p>
18
+ * @example
19
+ * Use a bare-bones client and the command you need to make an API call.
20
+ * ```javascript
21
+ * import { MgnClient, ListExportErrorsCommand } from "@aws-sdk/client-mgn"; // ES Modules import
22
+ * // const { MgnClient, ListExportErrorsCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
23
+ * const client = new MgnClient(config);
24
+ * const command = new ListExportErrorsCommand(input);
25
+ * const response = await client.send(command);
26
+ * ```
27
+ *
28
+ * @see {@link ListExportErrorsCommandInput} for command's `input` shape.
29
+ * @see {@link ListExportErrorsCommandOutput} for command's `response` shape.
30
+ * @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
31
+ *
32
+ * @throws {@link UninitializedAccountException} (client fault)
33
+ * <p>Uninitialized account exception.</p>
34
+ *
35
+ * @throws {@link ValidationException} (client fault)
36
+ * <p>Validate exception.</p>
37
+ *
38
+ *
39
+ */
40
+ export declare class ListExportErrorsCommand extends $Command<ListExportErrorsCommandInput, ListExportErrorsCommandOutput, MgnClientResolvedConfig> {
41
+ readonly input: ListExportErrorsCommandInput;
42
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
43
+ constructor(input: ListExportErrorsCommandInput);
44
+ /**
45
+ * @internal
46
+ */
47
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MgnClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListExportErrorsCommandInput, ListExportErrorsCommandOutput>;
48
+ private serialize;
49
+ private deserialize;
50
+ }
@@ -0,0 +1,47 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
5
+ import { ListExportsRequest, ListExportsResponse } from "../models/models_0";
6
+ /**
7
+ * The input for {@link ListExportsCommand}.
8
+ */
9
+ export interface ListExportsCommandInput extends ListExportsRequest {
10
+ }
11
+ /**
12
+ * The output of {@link ListExportsCommand}.
13
+ */
14
+ export interface ListExportsCommandOutput extends ListExportsResponse, __MetadataBearer {
15
+ }
16
+ /**
17
+ * <p>List exports.</p>
18
+ * @example
19
+ * Use a bare-bones client and the command you need to make an API call.
20
+ * ```javascript
21
+ * import { MgnClient, ListExportsCommand } from "@aws-sdk/client-mgn"; // ES Modules import
22
+ * // const { MgnClient, ListExportsCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
23
+ * const client = new MgnClient(config);
24
+ * const command = new ListExportsCommand(input);
25
+ * const response = await client.send(command);
26
+ * ```
27
+ *
28
+ * @see {@link ListExportsCommandInput} for command's `input` shape.
29
+ * @see {@link ListExportsCommandOutput} for command's `response` shape.
30
+ * @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
31
+ *
32
+ * @throws {@link UninitializedAccountException} (client fault)
33
+ * <p>Uninitialized account exception.</p>
34
+ *
35
+ *
36
+ */
37
+ export declare class ListExportsCommand extends $Command<ListExportsCommandInput, ListExportsCommandOutput, MgnClientResolvedConfig> {
38
+ readonly input: ListExportsCommandInput;
39
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
40
+ constructor(input: ListExportsCommandInput);
41
+ /**
42
+ * @internal
43
+ */
44
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MgnClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListExportsCommandInput, ListExportsCommandOutput>;
45
+ private serialize;
46
+ private deserialize;
47
+ }
@@ -0,0 +1,50 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
5
+ import { ListImportErrorsRequest, ListImportErrorsResponse } from "../models/models_0";
6
+ /**
7
+ * The input for {@link ListImportErrorsCommand}.
8
+ */
9
+ export interface ListImportErrorsCommandInput extends ListImportErrorsRequest {
10
+ }
11
+ /**
12
+ * The output of {@link ListImportErrorsCommand}.
13
+ */
14
+ export interface ListImportErrorsCommandOutput extends ListImportErrorsResponse, __MetadataBearer {
15
+ }
16
+ /**
17
+ * <p>List import errors.</p>
18
+ * @example
19
+ * Use a bare-bones client and the command you need to make an API call.
20
+ * ```javascript
21
+ * import { MgnClient, ListImportErrorsCommand } from "@aws-sdk/client-mgn"; // ES Modules import
22
+ * // const { MgnClient, ListImportErrorsCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
23
+ * const client = new MgnClient(config);
24
+ * const command = new ListImportErrorsCommand(input);
25
+ * const response = await client.send(command);
26
+ * ```
27
+ *
28
+ * @see {@link ListImportErrorsCommandInput} for command's `input` shape.
29
+ * @see {@link ListImportErrorsCommandOutput} for command's `response` shape.
30
+ * @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
31
+ *
32
+ * @throws {@link UninitializedAccountException} (client fault)
33
+ * <p>Uninitialized account exception.</p>
34
+ *
35
+ * @throws {@link ValidationException} (client fault)
36
+ * <p>Validate exception.</p>
37
+ *
38
+ *
39
+ */
40
+ export declare class ListImportErrorsCommand extends $Command<ListImportErrorsCommandInput, ListImportErrorsCommandOutput, MgnClientResolvedConfig> {
41
+ readonly input: ListImportErrorsCommandInput;
42
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
43
+ constructor(input: ListImportErrorsCommandInput);
44
+ /**
45
+ * @internal
46
+ */
47
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MgnClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListImportErrorsCommandInput, ListImportErrorsCommandOutput>;
48
+ private serialize;
49
+ private deserialize;
50
+ }
@@ -0,0 +1,50 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
5
+ import { ListImportsRequest, ListImportsResponse } from "../models/models_0";
6
+ /**
7
+ * The input for {@link ListImportsCommand}.
8
+ */
9
+ export interface ListImportsCommandInput extends ListImportsRequest {
10
+ }
11
+ /**
12
+ * The output of {@link ListImportsCommand}.
13
+ */
14
+ export interface ListImportsCommandOutput extends ListImportsResponse, __MetadataBearer {
15
+ }
16
+ /**
17
+ * <p>List imports.</p>
18
+ * @example
19
+ * Use a bare-bones client and the command you need to make an API call.
20
+ * ```javascript
21
+ * import { MgnClient, ListImportsCommand } from "@aws-sdk/client-mgn"; // ES Modules import
22
+ * // const { MgnClient, ListImportsCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
23
+ * const client = new MgnClient(config);
24
+ * const command = new ListImportsCommand(input);
25
+ * const response = await client.send(command);
26
+ * ```
27
+ *
28
+ * @see {@link ListImportsCommandInput} for command's `input` shape.
29
+ * @see {@link ListImportsCommandOutput} for command's `response` shape.
30
+ * @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
31
+ *
32
+ * @throws {@link UninitializedAccountException} (client fault)
33
+ * <p>Uninitialized account exception.</p>
34
+ *
35
+ * @throws {@link ValidationException} (client fault)
36
+ * <p>Validate exception.</p>
37
+ *
38
+ *
39
+ */
40
+ export declare class ListImportsCommand extends $Command<ListImportsCommandInput, ListImportsCommandOutput, MgnClientResolvedConfig> {
41
+ readonly input: ListImportsCommandInput;
42
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
43
+ constructor(input: ListImportsCommandInput);
44
+ /**
45
+ * @internal
46
+ */
47
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MgnClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListImportsCommandInput, ListImportsCommandOutput>;
48
+ private serialize;
49
+ private deserialize;
50
+ }
@@ -0,0 +1,53 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
5
+ import { StartExportRequest, StartExportResponse } from "../models/models_0";
6
+ /**
7
+ * The input for {@link StartExportCommand}.
8
+ */
9
+ export interface StartExportCommandInput extends StartExportRequest {
10
+ }
11
+ /**
12
+ * The output of {@link StartExportCommand}.
13
+ */
14
+ export interface StartExportCommandOutput extends StartExportResponse, __MetadataBearer {
15
+ }
16
+ /**
17
+ * <p>Start export.</p>
18
+ * @example
19
+ * Use a bare-bones client and the command you need to make an API call.
20
+ * ```javascript
21
+ * import { MgnClient, StartExportCommand } from "@aws-sdk/client-mgn"; // ES Modules import
22
+ * // const { MgnClient, StartExportCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
23
+ * const client = new MgnClient(config);
24
+ * const command = new StartExportCommand(input);
25
+ * const response = await client.send(command);
26
+ * ```
27
+ *
28
+ * @see {@link StartExportCommandInput} for command's `input` shape.
29
+ * @see {@link StartExportCommandOutput} for command's `response` shape.
30
+ * @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
31
+ *
32
+ * @throws {@link ServiceQuotaExceededException} (client fault)
33
+ * <p>The request could not be completed because its exceeded the service quota.</p>
34
+ *
35
+ * @throws {@link UninitializedAccountException} (client fault)
36
+ * <p>Uninitialized account exception.</p>
37
+ *
38
+ * @throws {@link ValidationException} (client fault)
39
+ * <p>Validate exception.</p>
40
+ *
41
+ *
42
+ */
43
+ export declare class StartExportCommand extends $Command<StartExportCommandInput, StartExportCommandOutput, MgnClientResolvedConfig> {
44
+ readonly input: StartExportCommandInput;
45
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
46
+ constructor(input: StartExportCommandInput);
47
+ /**
48
+ * @internal
49
+ */
50
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MgnClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartExportCommandInput, StartExportCommandOutput>;
51
+ private serialize;
52
+ private deserialize;
53
+ }
@@ -0,0 +1,59 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
5
+ import { StartImportRequest, StartImportResponse } from "../models/models_0";
6
+ /**
7
+ * The input for {@link StartImportCommand}.
8
+ */
9
+ export interface StartImportCommandInput extends StartImportRequest {
10
+ }
11
+ /**
12
+ * The output of {@link StartImportCommand}.
13
+ */
14
+ export interface StartImportCommandOutput extends StartImportResponse, __MetadataBearer {
15
+ }
16
+ /**
17
+ * <p>Start import.</p>
18
+ * @example
19
+ * Use a bare-bones client and the command you need to make an API call.
20
+ * ```javascript
21
+ * import { MgnClient, StartImportCommand } from "@aws-sdk/client-mgn"; // ES Modules import
22
+ * // const { MgnClient, StartImportCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
23
+ * const client = new MgnClient(config);
24
+ * const command = new StartImportCommand(input);
25
+ * const response = await client.send(command);
26
+ * ```
27
+ *
28
+ * @see {@link StartImportCommandInput} for command's `input` shape.
29
+ * @see {@link StartImportCommandOutput} for command's `response` shape.
30
+ * @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
31
+ *
32
+ * @throws {@link ConflictException} (client fault)
33
+ * <p>The request could not be completed due to a conflict with the current state of the target resource.</p>
34
+ *
35
+ * @throws {@link ResourceNotFoundException} (client fault)
36
+ * <p>Resource not found exception.</p>
37
+ *
38
+ * @throws {@link ServiceQuotaExceededException} (client fault)
39
+ * <p>The request could not be completed because its exceeded the service quota.</p>
40
+ *
41
+ * @throws {@link UninitializedAccountException} (client fault)
42
+ * <p>Uninitialized account exception.</p>
43
+ *
44
+ * @throws {@link ValidationException} (client fault)
45
+ * <p>Validate exception.</p>
46
+ *
47
+ *
48
+ */
49
+ export declare class StartImportCommand extends $Command<StartImportCommandInput, StartImportCommandOutput, MgnClientResolvedConfig> {
50
+ readonly input: StartImportCommandInput;
51
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
52
+ constructor(input: StartImportCommandInput);
53
+ /**
54
+ * @internal
55
+ */
56
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MgnClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartImportCommandInput, StartImportCommandOutput>;
57
+ private serialize;
58
+ private deserialize;
59
+ }
@@ -28,6 +28,10 @@ export * from "./GetLaunchConfigurationCommand";
28
28
  export * from "./GetReplicationConfigurationCommand";
29
29
  export * from "./InitializeServiceCommand";
30
30
  export * from "./ListApplicationsCommand";
31
+ export * from "./ListExportErrorsCommand";
32
+ export * from "./ListExportsCommand";
33
+ export * from "./ListImportErrorsCommand";
34
+ export * from "./ListImportsCommand";
31
35
  export * from "./ListSourceServerActionsCommand";
32
36
  export * from "./ListTagsForResourceCommand";
33
37
  export * from "./ListTemplateActionsCommand";
@@ -39,6 +43,8 @@ export * from "./RemoveSourceServerActionCommand";
39
43
  export * from "./RemoveTemplateActionCommand";
40
44
  export * from "./RetryDataReplicationCommand";
41
45
  export * from "./StartCutoverCommand";
46
+ export * from "./StartExportCommand";
47
+ export * from "./StartImportCommand";
42
48
  export * from "./StartReplicationCommand";
43
49
  export * from "./StartTestCommand";
44
50
  export * from "./TagResourceCommand";