@aws-sdk/client-mgn 3.42.0 → 3.43.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 (44) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/Mgn.js +60 -0
  3. package/dist-cjs/commands/DeleteVcenterClientCommand.js +36 -0
  4. package/dist-cjs/commands/DescribeVcenterClientsCommand.js +36 -0
  5. package/dist-cjs/commands/StartReplicationCommand.js +36 -0
  6. package/dist-cjs/commands/UpdateSourceServerReplicationTypeCommand.js +36 -0
  7. package/dist-cjs/commands/index.js +4 -0
  8. package/dist-cjs/models/models_0.js +57 -1
  9. package/dist-cjs/pagination/DescribeVcenterClientsPaginator.js +35 -0
  10. package/dist-cjs/pagination/index.js +1 -0
  11. package/dist-cjs/protocols/Aws_restJson1.js +574 -1
  12. package/dist-es/Mgn.js +60 -0
  13. package/dist-es/commands/DeleteVcenterClientCommand.js +39 -0
  14. package/dist-es/commands/DescribeVcenterClientsCommand.js +39 -0
  15. package/dist-es/commands/StartReplicationCommand.js +39 -0
  16. package/dist-es/commands/UpdateSourceServerReplicationTypeCommand.js +39 -0
  17. package/dist-es/commands/index.js +4 -0
  18. package/dist-es/models/models_0.js +38 -0
  19. package/dist-es/pagination/DescribeVcenterClientsPaginator.js +74 -0
  20. package/dist-es/pagination/index.js +1 -0
  21. package/dist-es/protocols/Aws_restJson1.js +643 -6
  22. package/dist-types/Mgn.d.ts +28 -0
  23. package/dist-types/MgnClient.d.ts +6 -2
  24. package/dist-types/commands/DeleteVcenterClientCommand.d.ts +35 -0
  25. package/dist-types/commands/DescribeVcenterClientsCommand.d.ts +35 -0
  26. package/dist-types/commands/StartReplicationCommand.d.ts +35 -0
  27. package/dist-types/commands/UpdateSourceServerReplicationTypeCommand.d.ts +35 -0
  28. package/dist-types/commands/index.d.ts +4 -0
  29. package/dist-types/models/models_0.d.ts +184 -1
  30. package/dist-types/pagination/DescribeVcenterClientsPaginator.d.ts +4 -0
  31. package/dist-types/pagination/index.d.ts +1 -0
  32. package/dist-types/protocols/Aws_restJson1.d.ts +12 -0
  33. package/dist-types/ts3.4/Mgn.d.ts +20 -0
  34. package/dist-types/ts3.4/MgnClient.d.ts +6 -2
  35. package/dist-types/ts3.4/commands/DeleteVcenterClientCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/DescribeVcenterClientsCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/StartReplicationCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/UpdateSourceServerReplicationTypeCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  40. package/dist-types/ts3.4/models/models_0.d.ts +114 -1
  41. package/dist-types/ts3.4/pagination/DescribeVcenterClientsPaginator.d.ts +4 -0
  42. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  43. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  44. package/package.json +2 -2
@@ -4,10 +4,12 @@ import { CreateReplicationConfigurationTemplateCommandInput, CreateReplicationCo
4
4
  import { DeleteJobCommandInput, DeleteJobCommandOutput } from "./commands/DeleteJobCommand";
5
5
  import { DeleteReplicationConfigurationTemplateCommandInput, DeleteReplicationConfigurationTemplateCommandOutput } from "./commands/DeleteReplicationConfigurationTemplateCommand";
6
6
  import { DeleteSourceServerCommandInput, DeleteSourceServerCommandOutput } from "./commands/DeleteSourceServerCommand";
7
+ import { DeleteVcenterClientCommandInput, DeleteVcenterClientCommandOutput } from "./commands/DeleteVcenterClientCommand";
7
8
  import { DescribeJobLogItemsCommandInput, DescribeJobLogItemsCommandOutput } from "./commands/DescribeJobLogItemsCommand";
8
9
  import { DescribeJobsCommandInput, DescribeJobsCommandOutput } from "./commands/DescribeJobsCommand";
9
10
  import { DescribeReplicationConfigurationTemplatesCommandInput, DescribeReplicationConfigurationTemplatesCommandOutput } from "./commands/DescribeReplicationConfigurationTemplatesCommand";
10
11
  import { DescribeSourceServersCommandInput, DescribeSourceServersCommandOutput } from "./commands/DescribeSourceServersCommand";
12
+ import { DescribeVcenterClientsCommandInput, DescribeVcenterClientsCommandOutput } from "./commands/DescribeVcenterClientsCommand";
11
13
  import { DisconnectFromServiceCommandInput, DisconnectFromServiceCommandOutput } from "./commands/DisconnectFromServiceCommand";
12
14
  import { FinalizeCutoverCommandInput, FinalizeCutoverCommandOutput } from "./commands/FinalizeCutoverCommand";
13
15
  import { GetLaunchConfigurationCommandInput, GetLaunchConfigurationCommandOutput } from "./commands/GetLaunchConfigurationCommand";
@@ -17,6 +19,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
17
19
  import { MarkAsArchivedCommandInput, MarkAsArchivedCommandOutput } from "./commands/MarkAsArchivedCommand";
18
20
  import { RetryDataReplicationCommandInput, RetryDataReplicationCommandOutput } from "./commands/RetryDataReplicationCommand";
19
21
  import { StartCutoverCommandInput, StartCutoverCommandOutput } from "./commands/StartCutoverCommand";
22
+ import { StartReplicationCommandInput, StartReplicationCommandOutput } from "./commands/StartReplicationCommand";
20
23
  import { StartTestCommandInput, StartTestCommandOutput } from "./commands/StartTestCommand";
21
24
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
22
25
  import { TerminateTargetInstancesCommandInput, TerminateTargetInstancesCommandOutput } from "./commands/TerminateTargetInstancesCommand";
@@ -24,6 +27,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
24
27
  import { UpdateLaunchConfigurationCommandInput, UpdateLaunchConfigurationCommandOutput } from "./commands/UpdateLaunchConfigurationCommand";
25
28
  import { UpdateReplicationConfigurationCommandInput, UpdateReplicationConfigurationCommandOutput } from "./commands/UpdateReplicationConfigurationCommand";
26
29
  import { UpdateReplicationConfigurationTemplateCommandInput, UpdateReplicationConfigurationTemplateCommandOutput } from "./commands/UpdateReplicationConfigurationTemplateCommand";
30
+ import { UpdateSourceServerReplicationTypeCommandInput, UpdateSourceServerReplicationTypeCommandOutput } from "./commands/UpdateSourceServerReplicationTypeCommand";
27
31
  import { MgnClient } from "./MgnClient";
28
32
  /**
29
33
  * <p>The Application Migration Service service.</p>
@@ -59,6 +63,12 @@ export declare class Mgn extends MgnClient {
59
63
  deleteSourceServer(args: DeleteSourceServerCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSourceServerCommandOutput>;
60
64
  deleteSourceServer(args: DeleteSourceServerCommandInput, cb: (err: any, data?: DeleteSourceServerCommandOutput) => void): void;
61
65
  deleteSourceServer(args: DeleteSourceServerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSourceServerCommandOutput) => void): void;
66
+ /**
67
+ * <p>Deletes a single vCenter client by ID.</p>
68
+ */
69
+ deleteVcenterClient(args: DeleteVcenterClientCommandInput, options?: __HttpHandlerOptions): Promise<DeleteVcenterClientCommandOutput>;
70
+ deleteVcenterClient(args: DeleteVcenterClientCommandInput, cb: (err: any, data?: DeleteVcenterClientCommandOutput) => void): void;
71
+ deleteVcenterClient(args: DeleteVcenterClientCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteVcenterClientCommandOutput) => void): void;
62
72
  /**
63
73
  * <p>Retrieves detailed Job log with paging.</p>
64
74
  */
@@ -83,6 +93,12 @@ export declare class Mgn extends MgnClient {
83
93
  describeSourceServers(args: DescribeSourceServersCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSourceServersCommandOutput>;
84
94
  describeSourceServers(args: DescribeSourceServersCommandInput, cb: (err: any, data?: DescribeSourceServersCommandOutput) => void): void;
85
95
  describeSourceServers(args: DescribeSourceServersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSourceServersCommandOutput) => void): void;
96
+ /**
97
+ * <p>Lists all vCenter clients.</p>
98
+ */
99
+ describeVcenterClients(args: DescribeVcenterClientsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeVcenterClientsCommandOutput>;
100
+ describeVcenterClients(args: DescribeVcenterClientsCommandInput, cb: (err: any, data?: DescribeVcenterClientsCommandOutput) => void): void;
101
+ describeVcenterClients(args: DescribeVcenterClientsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeVcenterClientsCommandOutput) => void): void;
86
102
  /**
87
103
  * <p>Disconnects specific Source Servers from Application Migration Service. Data replication is stopped immediately. All AWS resources created by Application Migration Service for enabling the replication of these source servers will be terminated / deleted within 90 minutes. Launched Test or Cutover instances will NOT be terminated. If the agent on the source server has not been prevented from communciating with the Application Migration Service service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDurationwill be nullified.</p>
88
104
  */
@@ -137,6 +153,12 @@ export declare class Mgn extends MgnClient {
137
153
  startCutover(args: StartCutoverCommandInput, options?: __HttpHandlerOptions): Promise<StartCutoverCommandOutput>;
138
154
  startCutover(args: StartCutoverCommandInput, cb: (err: any, data?: StartCutoverCommandOutput) => void): void;
139
155
  startCutover(args: StartCutoverCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartCutoverCommandOutput) => void): void;
156
+ /**
157
+ * <p>Starts replication on source server by ID.</p>
158
+ */
159
+ startReplication(args: StartReplicationCommandInput, options?: __HttpHandlerOptions): Promise<StartReplicationCommandOutput>;
160
+ startReplication(args: StartReplicationCommandInput, cb: (err: any, data?: StartReplicationCommandOutput) => void): void;
161
+ startReplication(args: StartReplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartReplicationCommandOutput) => void): void;
140
162
  /**
141
163
  * <p>Lauches a Test Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartTest and changes the SourceServer.lifeCycle.state property to TESTING.</p>
142
164
  */
@@ -179,4 +201,10 @@ export declare class Mgn extends MgnClient {
179
201
  updateReplicationConfigurationTemplate(args: UpdateReplicationConfigurationTemplateCommandInput, options?: __HttpHandlerOptions): Promise<UpdateReplicationConfigurationTemplateCommandOutput>;
180
202
  updateReplicationConfigurationTemplate(args: UpdateReplicationConfigurationTemplateCommandInput, cb: (err: any, data?: UpdateReplicationConfigurationTemplateCommandOutput) => void): void;
181
203
  updateReplicationConfigurationTemplate(args: UpdateReplicationConfigurationTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateReplicationConfigurationTemplateCommandOutput) => void): void;
204
+ /**
205
+ * <p>Updates source server Replication Type by ID.</p>
206
+ */
207
+ updateSourceServerReplicationType(args: UpdateSourceServerReplicationTypeCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSourceServerReplicationTypeCommandOutput>;
208
+ updateSourceServerReplicationType(args: UpdateSourceServerReplicationTypeCommandInput, cb: (err: any, data?: UpdateSourceServerReplicationTypeCommandOutput) => void): void;
209
+ updateSourceServerReplicationType(args: UpdateSourceServerReplicationTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSourceServerReplicationTypeCommandOutput) => void): void;
182
210
  }
@@ -11,10 +11,12 @@ import { CreateReplicationConfigurationTemplateCommandInput, CreateReplicationCo
11
11
  import { DeleteJobCommandInput, DeleteJobCommandOutput } from "./commands/DeleteJobCommand";
12
12
  import { DeleteReplicationConfigurationTemplateCommandInput, DeleteReplicationConfigurationTemplateCommandOutput } from "./commands/DeleteReplicationConfigurationTemplateCommand";
13
13
  import { DeleteSourceServerCommandInput, DeleteSourceServerCommandOutput } from "./commands/DeleteSourceServerCommand";
14
+ import { DeleteVcenterClientCommandInput, DeleteVcenterClientCommandOutput } from "./commands/DeleteVcenterClientCommand";
14
15
  import { DescribeJobLogItemsCommandInput, DescribeJobLogItemsCommandOutput } from "./commands/DescribeJobLogItemsCommand";
15
16
  import { DescribeJobsCommandInput, DescribeJobsCommandOutput } from "./commands/DescribeJobsCommand";
16
17
  import { DescribeReplicationConfigurationTemplatesCommandInput, DescribeReplicationConfigurationTemplatesCommandOutput } from "./commands/DescribeReplicationConfigurationTemplatesCommand";
17
18
  import { DescribeSourceServersCommandInput, DescribeSourceServersCommandOutput } from "./commands/DescribeSourceServersCommand";
19
+ import { DescribeVcenterClientsCommandInput, DescribeVcenterClientsCommandOutput } from "./commands/DescribeVcenterClientsCommand";
18
20
  import { DisconnectFromServiceCommandInput, DisconnectFromServiceCommandOutput } from "./commands/DisconnectFromServiceCommand";
19
21
  import { FinalizeCutoverCommandInput, FinalizeCutoverCommandOutput } from "./commands/FinalizeCutoverCommand";
20
22
  import { GetLaunchConfigurationCommandInput, GetLaunchConfigurationCommandOutput } from "./commands/GetLaunchConfigurationCommand";
@@ -24,6 +26,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
24
26
  import { MarkAsArchivedCommandInput, MarkAsArchivedCommandOutput } from "./commands/MarkAsArchivedCommand";
25
27
  import { RetryDataReplicationCommandInput, RetryDataReplicationCommandOutput } from "./commands/RetryDataReplicationCommand";
26
28
  import { StartCutoverCommandInput, StartCutoverCommandOutput } from "./commands/StartCutoverCommand";
29
+ import { StartReplicationCommandInput, StartReplicationCommandOutput } from "./commands/StartReplicationCommand";
27
30
  import { StartTestCommandInput, StartTestCommandOutput } from "./commands/StartTestCommand";
28
31
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
29
32
  import { TerminateTargetInstancesCommandInput, TerminateTargetInstancesCommandOutput } from "./commands/TerminateTargetInstancesCommand";
@@ -31,8 +34,9 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
31
34
  import { UpdateLaunchConfigurationCommandInput, UpdateLaunchConfigurationCommandOutput } from "./commands/UpdateLaunchConfigurationCommand";
32
35
  import { UpdateReplicationConfigurationCommandInput, UpdateReplicationConfigurationCommandOutput } from "./commands/UpdateReplicationConfigurationCommand";
33
36
  import { UpdateReplicationConfigurationTemplateCommandInput, UpdateReplicationConfigurationTemplateCommandOutput } from "./commands/UpdateReplicationConfigurationTemplateCommand";
34
- export declare type ServiceInputTypes = ChangeServerLifeCycleStateCommandInput | CreateReplicationConfigurationTemplateCommandInput | DeleteJobCommandInput | DeleteReplicationConfigurationTemplateCommandInput | DeleteSourceServerCommandInput | DescribeJobLogItemsCommandInput | DescribeJobsCommandInput | DescribeReplicationConfigurationTemplatesCommandInput | DescribeSourceServersCommandInput | DisconnectFromServiceCommandInput | FinalizeCutoverCommandInput | GetLaunchConfigurationCommandInput | GetReplicationConfigurationCommandInput | InitializeServiceCommandInput | ListTagsForResourceCommandInput | MarkAsArchivedCommandInput | RetryDataReplicationCommandInput | StartCutoverCommandInput | StartTestCommandInput | TagResourceCommandInput | TerminateTargetInstancesCommandInput | UntagResourceCommandInput | UpdateLaunchConfigurationCommandInput | UpdateReplicationConfigurationCommandInput | UpdateReplicationConfigurationTemplateCommandInput;
35
- export declare type ServiceOutputTypes = ChangeServerLifeCycleStateCommandOutput | CreateReplicationConfigurationTemplateCommandOutput | DeleteJobCommandOutput | DeleteReplicationConfigurationTemplateCommandOutput | DeleteSourceServerCommandOutput | DescribeJobLogItemsCommandOutput | DescribeJobsCommandOutput | DescribeReplicationConfigurationTemplatesCommandOutput | DescribeSourceServersCommandOutput | DisconnectFromServiceCommandOutput | FinalizeCutoverCommandOutput | GetLaunchConfigurationCommandOutput | GetReplicationConfigurationCommandOutput | InitializeServiceCommandOutput | ListTagsForResourceCommandOutput | MarkAsArchivedCommandOutput | RetryDataReplicationCommandOutput | StartCutoverCommandOutput | StartTestCommandOutput | TagResourceCommandOutput | TerminateTargetInstancesCommandOutput | UntagResourceCommandOutput | UpdateLaunchConfigurationCommandOutput | UpdateReplicationConfigurationCommandOutput | UpdateReplicationConfigurationTemplateCommandOutput;
37
+ import { UpdateSourceServerReplicationTypeCommandInput, UpdateSourceServerReplicationTypeCommandOutput } from "./commands/UpdateSourceServerReplicationTypeCommand";
38
+ export declare type ServiceInputTypes = ChangeServerLifeCycleStateCommandInput | CreateReplicationConfigurationTemplateCommandInput | DeleteJobCommandInput | DeleteReplicationConfigurationTemplateCommandInput | DeleteSourceServerCommandInput | DeleteVcenterClientCommandInput | DescribeJobLogItemsCommandInput | DescribeJobsCommandInput | DescribeReplicationConfigurationTemplatesCommandInput | DescribeSourceServersCommandInput | DescribeVcenterClientsCommandInput | DisconnectFromServiceCommandInput | FinalizeCutoverCommandInput | GetLaunchConfigurationCommandInput | GetReplicationConfigurationCommandInput | InitializeServiceCommandInput | ListTagsForResourceCommandInput | MarkAsArchivedCommandInput | RetryDataReplicationCommandInput | StartCutoverCommandInput | StartReplicationCommandInput | StartTestCommandInput | TagResourceCommandInput | TerminateTargetInstancesCommandInput | UntagResourceCommandInput | UpdateLaunchConfigurationCommandInput | UpdateReplicationConfigurationCommandInput | UpdateReplicationConfigurationTemplateCommandInput | UpdateSourceServerReplicationTypeCommandInput;
39
+ export declare type ServiceOutputTypes = ChangeServerLifeCycleStateCommandOutput | CreateReplicationConfigurationTemplateCommandOutput | DeleteJobCommandOutput | DeleteReplicationConfigurationTemplateCommandOutput | DeleteSourceServerCommandOutput | DeleteVcenterClientCommandOutput | DescribeJobLogItemsCommandOutput | DescribeJobsCommandOutput | DescribeReplicationConfigurationTemplatesCommandOutput | DescribeSourceServersCommandOutput | DescribeVcenterClientsCommandOutput | DisconnectFromServiceCommandOutput | FinalizeCutoverCommandOutput | GetLaunchConfigurationCommandOutput | GetReplicationConfigurationCommandOutput | InitializeServiceCommandOutput | ListTagsForResourceCommandOutput | MarkAsArchivedCommandOutput | RetryDataReplicationCommandOutput | StartCutoverCommandOutput | StartReplicationCommandOutput | StartTestCommandOutput | TagResourceCommandOutput | TerminateTargetInstancesCommandOutput | UntagResourceCommandOutput | UpdateLaunchConfigurationCommandOutput | UpdateReplicationConfigurationCommandOutput | UpdateReplicationConfigurationTemplateCommandOutput | UpdateSourceServerReplicationTypeCommandOutput;
36
40
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
37
41
  /**
38
42
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
4
+ import { DeleteVcenterClientRequest } from "../models/models_0";
5
+ export interface DeleteVcenterClientCommandInput extends DeleteVcenterClientRequest {
6
+ }
7
+ export interface DeleteVcenterClientCommandOutput extends __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Deletes a single vCenter client by ID.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { MgnClient, DeleteVcenterClientCommand } from "@aws-sdk/client-mgn"; // ES Modules import
15
+ * // const { MgnClient, DeleteVcenterClientCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
16
+ * const client = new MgnClient(config);
17
+ * const command = new DeleteVcenterClientCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link DeleteVcenterClientCommandInput} for command's `input` shape.
22
+ * @see {@link DeleteVcenterClientCommandOutput} for command's `response` shape.
23
+ * @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class DeleteVcenterClientCommand extends $Command<DeleteVcenterClientCommandInput, DeleteVcenterClientCommandOutput, MgnClientResolvedConfig> {
27
+ readonly input: DeleteVcenterClientCommandInput;
28
+ constructor(input: DeleteVcenterClientCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MgnClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteVcenterClientCommandInput, DeleteVcenterClientCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
4
+ import { DescribeVcenterClientsRequest, DescribeVcenterClientsResponse } from "../models/models_0";
5
+ export interface DescribeVcenterClientsCommandInput extends DescribeVcenterClientsRequest {
6
+ }
7
+ export interface DescribeVcenterClientsCommandOutput extends DescribeVcenterClientsResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Lists all vCenter clients.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { MgnClient, DescribeVcenterClientsCommand } from "@aws-sdk/client-mgn"; // ES Modules import
15
+ * // const { MgnClient, DescribeVcenterClientsCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
16
+ * const client = new MgnClient(config);
17
+ * const command = new DescribeVcenterClientsCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link DescribeVcenterClientsCommandInput} for command's `input` shape.
22
+ * @see {@link DescribeVcenterClientsCommandOutput} for command's `response` shape.
23
+ * @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class DescribeVcenterClientsCommand extends $Command<DescribeVcenterClientsCommandInput, DescribeVcenterClientsCommandOutput, MgnClientResolvedConfig> {
27
+ readonly input: DescribeVcenterClientsCommandInput;
28
+ constructor(input: DescribeVcenterClientsCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MgnClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeVcenterClientsCommandInput, DescribeVcenterClientsCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
4
+ import { SourceServer, StartReplicationRequest } from "../models/models_0";
5
+ export interface StartReplicationCommandInput extends StartReplicationRequest {
6
+ }
7
+ export interface StartReplicationCommandOutput extends SourceServer, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Starts replication on source server by ID.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { MgnClient, StartReplicationCommand } from "@aws-sdk/client-mgn"; // ES Modules import
15
+ * // const { MgnClient, StartReplicationCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
16
+ * const client = new MgnClient(config);
17
+ * const command = new StartReplicationCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link StartReplicationCommandInput} for command's `input` shape.
22
+ * @see {@link StartReplicationCommandOutput} for command's `response` shape.
23
+ * @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class StartReplicationCommand extends $Command<StartReplicationCommandInput, StartReplicationCommandOutput, MgnClientResolvedConfig> {
27
+ readonly input: StartReplicationCommandInput;
28
+ constructor(input: StartReplicationCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MgnClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartReplicationCommandInput, StartReplicationCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
4
+ import { SourceServer, UpdateSourceServerReplicationTypeRequest } from "../models/models_0";
5
+ export interface UpdateSourceServerReplicationTypeCommandInput extends UpdateSourceServerReplicationTypeRequest {
6
+ }
7
+ export interface UpdateSourceServerReplicationTypeCommandOutput extends SourceServer, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Updates source server Replication Type by ID.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { MgnClient, UpdateSourceServerReplicationTypeCommand } from "@aws-sdk/client-mgn"; // ES Modules import
15
+ * // const { MgnClient, UpdateSourceServerReplicationTypeCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
16
+ * const client = new MgnClient(config);
17
+ * const command = new UpdateSourceServerReplicationTypeCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link UpdateSourceServerReplicationTypeCommandInput} for command's `input` shape.
22
+ * @see {@link UpdateSourceServerReplicationTypeCommandOutput} for command's `response` shape.
23
+ * @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class UpdateSourceServerReplicationTypeCommand extends $Command<UpdateSourceServerReplicationTypeCommandInput, UpdateSourceServerReplicationTypeCommandOutput, MgnClientResolvedConfig> {
27
+ readonly input: UpdateSourceServerReplicationTypeCommandInput;
28
+ constructor(input: UpdateSourceServerReplicationTypeCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MgnClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateSourceServerReplicationTypeCommandInput, UpdateSourceServerReplicationTypeCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -3,10 +3,12 @@ export * from "./CreateReplicationConfigurationTemplateCommand";
3
3
  export * from "./DeleteJobCommand";
4
4
  export * from "./DeleteReplicationConfigurationTemplateCommand";
5
5
  export * from "./DeleteSourceServerCommand";
6
+ export * from "./DeleteVcenterClientCommand";
6
7
  export * from "./DescribeJobLogItemsCommand";
7
8
  export * from "./DescribeJobsCommand";
8
9
  export * from "./DescribeReplicationConfigurationTemplatesCommand";
9
10
  export * from "./DescribeSourceServersCommand";
11
+ export * from "./DescribeVcenterClientsCommand";
10
12
  export * from "./DisconnectFromServiceCommand";
11
13
  export * from "./FinalizeCutoverCommand";
12
14
  export * from "./GetLaunchConfigurationCommand";
@@ -16,6 +18,7 @@ export * from "./ListTagsForResourceCommand";
16
18
  export * from "./MarkAsArchivedCommand";
17
19
  export * from "./RetryDataReplicationCommand";
18
20
  export * from "./StartCutoverCommand";
21
+ export * from "./StartReplicationCommand";
19
22
  export * from "./StartTestCommand";
20
23
  export * from "./TagResourceCommand";
21
24
  export * from "./TerminateTargetInstancesCommand";
@@ -23,3 +26,4 @@ export * from "./UntagResourceCommand";
23
26
  export * from "./UpdateLaunchConfigurationCommand";
24
27
  export * from "./UpdateReplicationConfigurationCommand";
25
28
  export * from "./UpdateReplicationConfigurationTemplateCommand";
29
+ export * from "./UpdateSourceServerReplicationTypeCommand";
@@ -800,9 +800,11 @@ export declare enum DataReplicationErrorString {
800
800
  FAILED_TO_LAUNCH_REPLICATION_SERVER = "FAILED_TO_LAUNCH_REPLICATION_SERVER",
801
801
  FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT = "FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT",
802
802
  FAILED_TO_START_DATA_TRANSFER = "FAILED_TO_START_DATA_TRANSFER",
803
+ LAST_SNAPSHOT_JOB_FAILED = "LAST_SNAPSHOT_JOB_FAILED",
803
804
  NOT_CONVERGING = "NOT_CONVERGING",
804
805
  SNAPSHOTS_FAILURE = "SNAPSHOTS_FAILURE",
805
- UNSTABLE_NETWORK = "UNSTABLE_NETWORK"
806
+ UNSTABLE_NETWORK = "UNSTABLE_NETWORK",
807
+ UNSUPPORTED_VM_CONFIGURATION = "UNSUPPORTED_VM_CONFIGURATION"
806
808
  }
807
809
  /**
808
810
  * <p>Error in data replication.</p>
@@ -893,7 +895,9 @@ export declare enum DataReplicationState {
893
895
  INITIAL_SYNC = "INITIAL_SYNC",
894
896
  INITIATING = "INITIATING",
895
897
  PAUSED = "PAUSED",
898
+ PENDING_SNAPSHOT_SHIPPING = "PENDING_SNAPSHOT_SHIPPING",
896
899
  RESCAN = "RESCAN",
900
+ SHIPPING_SNAPSHOT = "SHIPPING_SNAPSHOT",
897
901
  STALLED = "STALLED",
898
902
  STOPPED = "STOPPED"
899
903
  }
@@ -956,6 +960,10 @@ export interface DataReplicationInfo {
956
960
  * <p>Error in obtaining data replication info.</p>
957
961
  */
958
962
  dataReplicationError?: DataReplicationError;
963
+ /**
964
+ * <p>Request to query data replication last snapshot time.</p>
965
+ */
966
+ lastSnapshotDateTime?: string;
959
967
  }
960
968
  export declare namespace DataReplicationInfo {
961
969
  /**
@@ -1140,6 +1148,7 @@ export declare enum LifeCycleState {
1140
1148
  CUTOVER = "CUTOVER",
1141
1149
  CUTTING_OVER = "CUTTING_OVER",
1142
1150
  DISCONNECTED = "DISCONNECTED",
1151
+ DISCOVERED = "DISCOVERED",
1143
1152
  NOT_READY = "NOT_READY",
1144
1153
  READY_FOR_CUTOVER = "READY_FOR_CUTOVER",
1145
1154
  READY_FOR_TEST = "READY_FOR_TEST",
@@ -1185,6 +1194,10 @@ export declare namespace LifeCycle {
1185
1194
  */
1186
1195
  const filterSensitiveLog: (obj: LifeCycle) => any;
1187
1196
  }
1197
+ export declare enum ReplicationType {
1198
+ AGENT_BASED = "AGENT_BASED",
1199
+ SNAPSHOT_SHIPPING = "SNAPSHOT_SHIPPING"
1200
+ }
1188
1201
  /**
1189
1202
  * <p>Source server CPU information.</p>
1190
1203
  */
@@ -1243,6 +1256,10 @@ export interface IdentificationHints {
1243
1256
  * <p>AWS Instance ID identification hint.</p>
1244
1257
  */
1245
1258
  awsInstanceID?: string;
1259
+ /**
1260
+ * <p>vCenter VM path identification hint.</p>
1261
+ */
1262
+ vmPath?: string;
1246
1263
  }
1247
1264
  export declare namespace IdentificationHints {
1248
1265
  /**
@@ -1366,6 +1383,14 @@ export interface SourceServer {
1366
1383
  * <p>Source server properties.</p>
1367
1384
  */
1368
1385
  sourceProperties?: SourceProperties;
1386
+ /**
1387
+ * <p>Source server replication type.</p>
1388
+ */
1389
+ replicationType?: ReplicationType | string;
1390
+ /**
1391
+ * <p>Source server vCenter client id.</p>
1392
+ */
1393
+ vcenterClientID?: string;
1369
1394
  }
1370
1395
  export declare namespace SourceServer {
1371
1396
  /**
@@ -1405,6 +1430,14 @@ export interface DescribeSourceServersRequestFilters {
1405
1430
  * <p>Request to filter Source Servers list by archived.</p>
1406
1431
  */
1407
1432
  isArchived?: boolean;
1433
+ /**
1434
+ * <p>Request to filter Source Servers list by replication type.</p>
1435
+ */
1436
+ replicationTypes?: (ReplicationType | string)[];
1437
+ /**
1438
+ * <p>Request to filter Source Servers list by life cycle states.</p>
1439
+ */
1440
+ lifeCycleStates?: (LifeCycleState | string)[];
1408
1441
  }
1409
1442
  export declare namespace DescribeSourceServersRequestFilters {
1410
1443
  /**
@@ -1718,6 +1751,49 @@ export declare namespace StartCutoverResponse {
1718
1751
  */
1719
1752
  const filterSensitiveLog: (obj: StartCutoverResponse) => any;
1720
1753
  }
1754
+ /**
1755
+ * <p>The request could not be completed because its exceeded the service quota.</p>
1756
+ */
1757
+ export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
1758
+ name: "ServiceQuotaExceededException";
1759
+ $fault: "client";
1760
+ message?: string;
1761
+ code?: string;
1762
+ /**
1763
+ * <p>Exceeded the service quota resource Id.</p>
1764
+ */
1765
+ resourceId?: string;
1766
+ /**
1767
+ * <p>Exceeded the service quota resource type.</p>
1768
+ */
1769
+ resourceType?: string;
1770
+ /**
1771
+ * <p>Exceeded the service quota service code.</p>
1772
+ */
1773
+ serviceCode?: string;
1774
+ /**
1775
+ * <p>Exceeded the service quota code.</p>
1776
+ */
1777
+ quotaCode?: string;
1778
+ }
1779
+ export declare namespace ServiceQuotaExceededException {
1780
+ /**
1781
+ * @internal
1782
+ */
1783
+ const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
1784
+ }
1785
+ export interface StartReplicationRequest {
1786
+ /**
1787
+ * <p>ID of source server on which to start replication.</p>
1788
+ */
1789
+ sourceServerID: string | undefined;
1790
+ }
1791
+ export declare namespace StartReplicationRequest {
1792
+ /**
1793
+ * @internal
1794
+ */
1795
+ const filterSensitiveLog: (obj: StartReplicationRequest) => any;
1796
+ }
1721
1797
  export interface StartTestRequest {
1722
1798
  /**
1723
1799
  * <p>Start Test for Source Server IDs.</p>
@@ -1884,6 +1960,22 @@ export declare namespace UpdateReplicationConfigurationRequest {
1884
1960
  */
1885
1961
  const filterSensitiveLog: (obj: UpdateReplicationConfigurationRequest) => any;
1886
1962
  }
1963
+ export interface UpdateSourceServerReplicationTypeRequest {
1964
+ /**
1965
+ * <p>ID of source server on which to update replication type.</p>
1966
+ */
1967
+ sourceServerID: string | undefined;
1968
+ /**
1969
+ * <p>Replication type to which to update source server.</p>
1970
+ */
1971
+ replicationType: ReplicationType | string | undefined;
1972
+ }
1973
+ export declare namespace UpdateSourceServerReplicationTypeRequest {
1974
+ /**
1975
+ * @internal
1976
+ */
1977
+ const filterSensitiveLog: (obj: UpdateSourceServerReplicationTypeRequest) => any;
1978
+ }
1887
1979
  export interface TagResourceRequest {
1888
1980
  /**
1889
1981
  * <p>Tag resource by ARN.</p>
@@ -1918,3 +2010,94 @@ export declare namespace UntagResourceRequest {
1918
2010
  */
1919
2011
  const filterSensitiveLog: (obj: UntagResourceRequest) => any;
1920
2012
  }
2013
+ export interface DeleteVcenterClientRequest {
2014
+ /**
2015
+ * <p>ID of resource to be deleted.</p>
2016
+ */
2017
+ vcenterClientID: string | undefined;
2018
+ }
2019
+ export declare namespace DeleteVcenterClientRequest {
2020
+ /**
2021
+ * @internal
2022
+ */
2023
+ const filterSensitiveLog: (obj: DeleteVcenterClientRequest) => any;
2024
+ }
2025
+ export interface DescribeVcenterClientsRequest {
2026
+ /**
2027
+ * <p>Maximum results to be returned in DescribeVcenterClients.</p>
2028
+ */
2029
+ maxResults?: number;
2030
+ /**
2031
+ * <p>Next pagination token to be provided for DescribeVcenterClients.</p>
2032
+ */
2033
+ nextToken?: string;
2034
+ }
2035
+ export declare namespace DescribeVcenterClientsRequest {
2036
+ /**
2037
+ * @internal
2038
+ */
2039
+ const filterSensitiveLog: (obj: DescribeVcenterClientsRequest) => any;
2040
+ }
2041
+ /**
2042
+ * <p>vCenter client.</p>
2043
+ */
2044
+ export interface VcenterClient {
2045
+ /**
2046
+ * <p>ID of vCenter client.</p>
2047
+ */
2048
+ vcenterClientID?: string;
2049
+ /**
2050
+ * <p>Arn of vCenter client.</p>
2051
+ */
2052
+ arn?: string;
2053
+ /**
2054
+ * <p>Hostname of vCenter client .</p>
2055
+ */
2056
+ hostname?: string;
2057
+ /**
2058
+ * <p>Vcenter UUID of vCenter client.</p>
2059
+ */
2060
+ vcenterUUID?: string;
2061
+ /**
2062
+ * <p>Datacenter name of vCenter client.</p>
2063
+ */
2064
+ datacenterName?: string;
2065
+ /**
2066
+ * <p>Last seen time of vCenter client.</p>
2067
+ */
2068
+ lastSeenDatetime?: string;
2069
+ /**
2070
+ * <p>Tags for Source Server of vCenter client.</p>
2071
+ */
2072
+ sourceServerTags?: {
2073
+ [key: string]: string;
2074
+ };
2075
+ /**
2076
+ * <p>Tags for vCenter client.</p>
2077
+ */
2078
+ tags?: {
2079
+ [key: string]: string;
2080
+ };
2081
+ }
2082
+ export declare namespace VcenterClient {
2083
+ /**
2084
+ * @internal
2085
+ */
2086
+ const filterSensitiveLog: (obj: VcenterClient) => any;
2087
+ }
2088
+ export interface DescribeVcenterClientsResponse {
2089
+ /**
2090
+ * <p>List of items returned by DescribeVcenterClients.</p>
2091
+ */
2092
+ items?: VcenterClient[];
2093
+ /**
2094
+ * <p>Next pagination token returned from DescribeVcenterClients.</p>
2095
+ */
2096
+ nextToken?: string;
2097
+ }
2098
+ export declare namespace DescribeVcenterClientsResponse {
2099
+ /**
2100
+ * @internal
2101
+ */
2102
+ const filterSensitiveLog: (obj: DescribeVcenterClientsResponse) => any;
2103
+ }
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { DescribeVcenterClientsCommandInput, DescribeVcenterClientsCommandOutput } from "../commands/DescribeVcenterClientsCommand";
3
+ import { MgnPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateDescribeVcenterClients(config: MgnPaginationConfiguration, input: DescribeVcenterClientsCommandInput, ...additionalArguments: any): Paginator<DescribeVcenterClientsCommandOutput>;
@@ -2,4 +2,5 @@ export * from "./DescribeJobLogItemsPaginator";
2
2
  export * from "./DescribeJobsPaginator";
3
3
  export * from "./DescribeReplicationConfigurationTemplatesPaginator";
4
4
  export * from "./DescribeSourceServersPaginator";
5
+ export * from "./DescribeVcenterClientsPaginator";
5
6
  export * from "./Interfaces";