@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
@@ -0,0 +1,200 @@
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 { PauseReplicationRequest, SourceServer } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link PauseReplicationCommand}.
14
+ */
15
+ export interface PauseReplicationCommandInput extends PauseReplicationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PauseReplicationCommand}.
21
+ */
22
+ export interface PauseReplicationCommandOutput extends SourceServer, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Pause Replication.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { MgnClient, PauseReplicationCommand } from "@aws-sdk/client-mgn"; // ES Modules import
31
+ * // const { MgnClient, PauseReplicationCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
32
+ * const client = new MgnClient(config);
33
+ * const input = { // PauseReplicationRequest
34
+ * sourceServerID: "STRING_VALUE", // required
35
+ * accountID: "STRING_VALUE",
36
+ * };
37
+ * const command = new PauseReplicationCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // SourceServer
40
+ * // sourceServerID: "STRING_VALUE",
41
+ * // arn: "STRING_VALUE",
42
+ * // isArchived: true || false,
43
+ * // tags: { // TagsMap
44
+ * // "<keys>": "STRING_VALUE",
45
+ * // },
46
+ * // launchedInstance: { // LaunchedInstance
47
+ * // ec2InstanceID: "STRING_VALUE",
48
+ * // jobID: "STRING_VALUE",
49
+ * // firstBoot: "STRING_VALUE",
50
+ * // },
51
+ * // dataReplicationInfo: { // DataReplicationInfo
52
+ * // lagDuration: "STRING_VALUE",
53
+ * // etaDateTime: "STRING_VALUE",
54
+ * // replicatedDisks: [ // DataReplicationInfoReplicatedDisks
55
+ * // { // DataReplicationInfoReplicatedDisk
56
+ * // deviceName: "STRING_VALUE",
57
+ * // totalStorageBytes: Number("long"),
58
+ * // replicatedStorageBytes: Number("long"),
59
+ * // rescannedStorageBytes: Number("long"),
60
+ * // backloggedStorageBytes: Number("long"),
61
+ * // },
62
+ * // ],
63
+ * // dataReplicationState: "STRING_VALUE",
64
+ * // dataReplicationInitiation: { // DataReplicationInitiation
65
+ * // startDateTime: "STRING_VALUE",
66
+ * // nextAttemptDateTime: "STRING_VALUE",
67
+ * // steps: [ // DataReplicationInitiationSteps
68
+ * // { // DataReplicationInitiationStep
69
+ * // name: "STRING_VALUE",
70
+ * // status: "STRING_VALUE",
71
+ * // },
72
+ * // ],
73
+ * // },
74
+ * // dataReplicationError: { // DataReplicationError
75
+ * // error: "STRING_VALUE",
76
+ * // rawError: "STRING_VALUE",
77
+ * // },
78
+ * // lastSnapshotDateTime: "STRING_VALUE",
79
+ * // },
80
+ * // lifeCycle: { // LifeCycle
81
+ * // addedToServiceDateTime: "STRING_VALUE",
82
+ * // firstByteDateTime: "STRING_VALUE",
83
+ * // elapsedReplicationDuration: "STRING_VALUE",
84
+ * // lastSeenByServiceDateTime: "STRING_VALUE",
85
+ * // lastTest: { // LifeCycleLastTest
86
+ * // initiated: { // LifeCycleLastTestInitiated
87
+ * // apiCallDateTime: "STRING_VALUE",
88
+ * // jobID: "STRING_VALUE",
89
+ * // },
90
+ * // reverted: { // LifeCycleLastTestReverted
91
+ * // apiCallDateTime: "STRING_VALUE",
92
+ * // },
93
+ * // finalized: { // LifeCycleLastTestFinalized
94
+ * // apiCallDateTime: "STRING_VALUE",
95
+ * // },
96
+ * // },
97
+ * // lastCutover: { // LifeCycleLastCutover
98
+ * // initiated: { // LifeCycleLastCutoverInitiated
99
+ * // apiCallDateTime: "STRING_VALUE",
100
+ * // jobID: "STRING_VALUE",
101
+ * // },
102
+ * // reverted: { // LifeCycleLastCutoverReverted
103
+ * // apiCallDateTime: "STRING_VALUE",
104
+ * // },
105
+ * // finalized: { // LifeCycleLastCutoverFinalized
106
+ * // apiCallDateTime: "STRING_VALUE",
107
+ * // },
108
+ * // },
109
+ * // state: "STRING_VALUE",
110
+ * // },
111
+ * // sourceProperties: { // SourceProperties
112
+ * // lastUpdatedDateTime: "STRING_VALUE",
113
+ * // recommendedInstanceType: "STRING_VALUE",
114
+ * // identificationHints: { // IdentificationHints
115
+ * // fqdn: "STRING_VALUE",
116
+ * // hostname: "STRING_VALUE",
117
+ * // vmWareUuid: "STRING_VALUE",
118
+ * // awsInstanceID: "STRING_VALUE",
119
+ * // vmPath: "STRING_VALUE",
120
+ * // },
121
+ * // networkInterfaces: [ // NetworkInterfaces
122
+ * // { // NetworkInterface
123
+ * // macAddress: "STRING_VALUE",
124
+ * // ips: [ // IPsList
125
+ * // "STRING_VALUE",
126
+ * // ],
127
+ * // isPrimary: true || false,
128
+ * // },
129
+ * // ],
130
+ * // disks: [ // Disks
131
+ * // { // Disk
132
+ * // deviceName: "STRING_VALUE",
133
+ * // bytes: Number("long"),
134
+ * // },
135
+ * // ],
136
+ * // cpus: [ // Cpus
137
+ * // { // CPU
138
+ * // cores: Number("long"),
139
+ * // modelName: "STRING_VALUE",
140
+ * // },
141
+ * // ],
142
+ * // ramBytes: Number("long"),
143
+ * // os: { // OS
144
+ * // fullString: "STRING_VALUE",
145
+ * // },
146
+ * // },
147
+ * // replicationType: "STRING_VALUE",
148
+ * // vcenterClientID: "STRING_VALUE",
149
+ * // applicationID: "STRING_VALUE",
150
+ * // userProvidedID: "STRING_VALUE",
151
+ * // fqdnForActionFramework: "STRING_VALUE",
152
+ * // };
153
+ *
154
+ * ```
155
+ *
156
+ * @param PauseReplicationCommandInput - {@link PauseReplicationCommandInput}
157
+ * @returns {@link PauseReplicationCommandOutput}
158
+ * @see {@link PauseReplicationCommandInput} for command's `input` shape.
159
+ * @see {@link PauseReplicationCommandOutput} for command's `response` shape.
160
+ * @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
161
+ *
162
+ * @throws {@link ConflictException} (client fault)
163
+ * <p>The request could not be completed due to a conflict with the current state of the target resource.</p>
164
+ *
165
+ * @throws {@link ResourceNotFoundException} (client fault)
166
+ * <p>Resource not found exception.</p>
167
+ *
168
+ * @throws {@link ServiceQuotaExceededException} (client fault)
169
+ * <p>The request could not be completed because its exceeded the service quota.</p>
170
+ *
171
+ * @throws {@link UninitializedAccountException} (client fault)
172
+ * <p>Uninitialized account exception.</p>
173
+ *
174
+ * @throws {@link ValidationException} (client fault)
175
+ * <p>Validate exception.</p>
176
+ *
177
+ * @throws {@link MgnServiceException}
178
+ * <p>Base exception class for all service exceptions from Mgn service.</p>
179
+ *
180
+ */
181
+ export declare class PauseReplicationCommand extends $Command<PauseReplicationCommandInput, PauseReplicationCommandOutput, MgnClientResolvedConfig> {
182
+ readonly input: PauseReplicationCommandInput;
183
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
184
+ /**
185
+ * @public
186
+ */
187
+ constructor(input: PauseReplicationCommandInput);
188
+ /**
189
+ * @internal
190
+ */
191
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MgnClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PauseReplicationCommandInput, PauseReplicationCommandOutput>;
192
+ /**
193
+ * @internal
194
+ */
195
+ private serialize;
196
+ /**
197
+ * @internal
198
+ */
199
+ private deserialize;
200
+ }
@@ -55,6 +55,7 @@ export interface PutSourceServerActionCommandOutput extends SourceServerActionDo
55
55
  * },
56
56
  * description: "STRING_VALUE",
57
57
  * category: "STRING_VALUE",
58
+ * accountID: "STRING_VALUE",
58
59
  * };
59
60
  * const command = new PutSourceServerActionCommand(input);
60
61
  * const response = await client.send(command);
@@ -33,6 +33,7 @@ export interface RemoveSourceServerActionCommandOutput extends RemoveSourceServe
33
33
  * const input = { // RemoveSourceServerActionRequest
34
34
  * sourceServerID: "STRING_VALUE", // required
35
35
  * actionID: "STRING_VALUE", // required
36
+ * accountID: "STRING_VALUE",
36
37
  * };
37
38
  * const command = new RemoveSourceServerActionCommand(input);
38
39
  * const response = await client.send(command);
@@ -0,0 +1,200 @@
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 { ResumeReplicationRequest, SourceServer } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ResumeReplicationCommand}.
14
+ */
15
+ export interface ResumeReplicationCommandInput extends ResumeReplicationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ResumeReplicationCommand}.
21
+ */
22
+ export interface ResumeReplicationCommandOutput extends SourceServer, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Resume Replication.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { MgnClient, ResumeReplicationCommand } from "@aws-sdk/client-mgn"; // ES Modules import
31
+ * // const { MgnClient, ResumeReplicationCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
32
+ * const client = new MgnClient(config);
33
+ * const input = { // ResumeReplicationRequest
34
+ * sourceServerID: "STRING_VALUE", // required
35
+ * accountID: "STRING_VALUE",
36
+ * };
37
+ * const command = new ResumeReplicationCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // SourceServer
40
+ * // sourceServerID: "STRING_VALUE",
41
+ * // arn: "STRING_VALUE",
42
+ * // isArchived: true || false,
43
+ * // tags: { // TagsMap
44
+ * // "<keys>": "STRING_VALUE",
45
+ * // },
46
+ * // launchedInstance: { // LaunchedInstance
47
+ * // ec2InstanceID: "STRING_VALUE",
48
+ * // jobID: "STRING_VALUE",
49
+ * // firstBoot: "STRING_VALUE",
50
+ * // },
51
+ * // dataReplicationInfo: { // DataReplicationInfo
52
+ * // lagDuration: "STRING_VALUE",
53
+ * // etaDateTime: "STRING_VALUE",
54
+ * // replicatedDisks: [ // DataReplicationInfoReplicatedDisks
55
+ * // { // DataReplicationInfoReplicatedDisk
56
+ * // deviceName: "STRING_VALUE",
57
+ * // totalStorageBytes: Number("long"),
58
+ * // replicatedStorageBytes: Number("long"),
59
+ * // rescannedStorageBytes: Number("long"),
60
+ * // backloggedStorageBytes: Number("long"),
61
+ * // },
62
+ * // ],
63
+ * // dataReplicationState: "STRING_VALUE",
64
+ * // dataReplicationInitiation: { // DataReplicationInitiation
65
+ * // startDateTime: "STRING_VALUE",
66
+ * // nextAttemptDateTime: "STRING_VALUE",
67
+ * // steps: [ // DataReplicationInitiationSteps
68
+ * // { // DataReplicationInitiationStep
69
+ * // name: "STRING_VALUE",
70
+ * // status: "STRING_VALUE",
71
+ * // },
72
+ * // ],
73
+ * // },
74
+ * // dataReplicationError: { // DataReplicationError
75
+ * // error: "STRING_VALUE",
76
+ * // rawError: "STRING_VALUE",
77
+ * // },
78
+ * // lastSnapshotDateTime: "STRING_VALUE",
79
+ * // },
80
+ * // lifeCycle: { // LifeCycle
81
+ * // addedToServiceDateTime: "STRING_VALUE",
82
+ * // firstByteDateTime: "STRING_VALUE",
83
+ * // elapsedReplicationDuration: "STRING_VALUE",
84
+ * // lastSeenByServiceDateTime: "STRING_VALUE",
85
+ * // lastTest: { // LifeCycleLastTest
86
+ * // initiated: { // LifeCycleLastTestInitiated
87
+ * // apiCallDateTime: "STRING_VALUE",
88
+ * // jobID: "STRING_VALUE",
89
+ * // },
90
+ * // reverted: { // LifeCycleLastTestReverted
91
+ * // apiCallDateTime: "STRING_VALUE",
92
+ * // },
93
+ * // finalized: { // LifeCycleLastTestFinalized
94
+ * // apiCallDateTime: "STRING_VALUE",
95
+ * // },
96
+ * // },
97
+ * // lastCutover: { // LifeCycleLastCutover
98
+ * // initiated: { // LifeCycleLastCutoverInitiated
99
+ * // apiCallDateTime: "STRING_VALUE",
100
+ * // jobID: "STRING_VALUE",
101
+ * // },
102
+ * // reverted: { // LifeCycleLastCutoverReverted
103
+ * // apiCallDateTime: "STRING_VALUE",
104
+ * // },
105
+ * // finalized: { // LifeCycleLastCutoverFinalized
106
+ * // apiCallDateTime: "STRING_VALUE",
107
+ * // },
108
+ * // },
109
+ * // state: "STRING_VALUE",
110
+ * // },
111
+ * // sourceProperties: { // SourceProperties
112
+ * // lastUpdatedDateTime: "STRING_VALUE",
113
+ * // recommendedInstanceType: "STRING_VALUE",
114
+ * // identificationHints: { // IdentificationHints
115
+ * // fqdn: "STRING_VALUE",
116
+ * // hostname: "STRING_VALUE",
117
+ * // vmWareUuid: "STRING_VALUE",
118
+ * // awsInstanceID: "STRING_VALUE",
119
+ * // vmPath: "STRING_VALUE",
120
+ * // },
121
+ * // networkInterfaces: [ // NetworkInterfaces
122
+ * // { // NetworkInterface
123
+ * // macAddress: "STRING_VALUE",
124
+ * // ips: [ // IPsList
125
+ * // "STRING_VALUE",
126
+ * // ],
127
+ * // isPrimary: true || false,
128
+ * // },
129
+ * // ],
130
+ * // disks: [ // Disks
131
+ * // { // Disk
132
+ * // deviceName: "STRING_VALUE",
133
+ * // bytes: Number("long"),
134
+ * // },
135
+ * // ],
136
+ * // cpus: [ // Cpus
137
+ * // { // CPU
138
+ * // cores: Number("long"),
139
+ * // modelName: "STRING_VALUE",
140
+ * // },
141
+ * // ],
142
+ * // ramBytes: Number("long"),
143
+ * // os: { // OS
144
+ * // fullString: "STRING_VALUE",
145
+ * // },
146
+ * // },
147
+ * // replicationType: "STRING_VALUE",
148
+ * // vcenterClientID: "STRING_VALUE",
149
+ * // applicationID: "STRING_VALUE",
150
+ * // userProvidedID: "STRING_VALUE",
151
+ * // fqdnForActionFramework: "STRING_VALUE",
152
+ * // };
153
+ *
154
+ * ```
155
+ *
156
+ * @param ResumeReplicationCommandInput - {@link ResumeReplicationCommandInput}
157
+ * @returns {@link ResumeReplicationCommandOutput}
158
+ * @see {@link ResumeReplicationCommandInput} for command's `input` shape.
159
+ * @see {@link ResumeReplicationCommandOutput} for command's `response` shape.
160
+ * @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
161
+ *
162
+ * @throws {@link ConflictException} (client fault)
163
+ * <p>The request could not be completed due to a conflict with the current state of the target resource.</p>
164
+ *
165
+ * @throws {@link ResourceNotFoundException} (client fault)
166
+ * <p>Resource not found exception.</p>
167
+ *
168
+ * @throws {@link ServiceQuotaExceededException} (client fault)
169
+ * <p>The request could not be completed because its exceeded the service quota.</p>
170
+ *
171
+ * @throws {@link UninitializedAccountException} (client fault)
172
+ * <p>Uninitialized account exception.</p>
173
+ *
174
+ * @throws {@link ValidationException} (client fault)
175
+ * <p>Validate exception.</p>
176
+ *
177
+ * @throws {@link MgnServiceException}
178
+ * <p>Base exception class for all service exceptions from Mgn service.</p>
179
+ *
180
+ */
181
+ export declare class ResumeReplicationCommand extends $Command<ResumeReplicationCommandInput, ResumeReplicationCommandOutput, MgnClientResolvedConfig> {
182
+ readonly input: ResumeReplicationCommandInput;
183
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
184
+ /**
185
+ * @public
186
+ */
187
+ constructor(input: ResumeReplicationCommandInput);
188
+ /**
189
+ * @internal
190
+ */
191
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MgnClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ResumeReplicationCommandInput, ResumeReplicationCommandOutput>;
192
+ /**
193
+ * @internal
194
+ */
195
+ private serialize;
196
+ /**
197
+ * @internal
198
+ */
199
+ private deserialize;
200
+ }
@@ -32,6 +32,7 @@ export interface RetryDataReplicationCommandOutput extends SourceServer, __Metad
32
32
  * const client = new MgnClient(config);
33
33
  * const input = { // RetryDataReplicationRequest
34
34
  * sourceServerID: "STRING_VALUE", // required
35
+ * accountID: "STRING_VALUE",
35
36
  * };
36
37
  * const command = new RetryDataReplicationCommand(input);
37
38
  * const response = await client.send(command);
@@ -37,6 +37,7 @@ export interface StartCutoverCommandOutput extends StartCutoverResponse, __Metad
37
37
  * tags: { // TagsMap
38
38
  * "<keys>": "STRING_VALUE",
39
39
  * },
40
+ * accountID: "STRING_VALUE",
40
41
  * };
41
42
  * const command = new StartCutoverCommand(input);
42
43
  * const response = await client.send(command);
@@ -32,6 +32,7 @@ export interface StartReplicationCommandOutput extends SourceServer, __MetadataB
32
32
  * const client = new MgnClient(config);
33
33
  * const input = { // StartReplicationRequest
34
34
  * sourceServerID: "STRING_VALUE", // required
35
+ * accountID: "STRING_VALUE",
35
36
  * };
36
37
  * const command = new StartReplicationCommand(input);
37
38
  * const response = await client.send(command);
@@ -37,6 +37,7 @@ export interface StartTestCommandOutput extends StartTestResponse, __MetadataBea
37
37
  * tags: { // TagsMap
38
38
  * "<keys>": "STRING_VALUE",
39
39
  * },
40
+ * accountID: "STRING_VALUE",
40
41
  * };
41
42
  * const command = new StartTestCommand(input);
42
43
  * const response = await client.send(command);
@@ -0,0 +1,200 @@
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 { SourceServer, StopReplicationRequest } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StopReplicationCommand}.
14
+ */
15
+ export interface StopReplicationCommandInput extends StopReplicationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StopReplicationCommand}.
21
+ */
22
+ export interface StopReplicationCommandOutput extends SourceServer, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Stop Replication.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { MgnClient, StopReplicationCommand } from "@aws-sdk/client-mgn"; // ES Modules import
31
+ * // const { MgnClient, StopReplicationCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
32
+ * const client = new MgnClient(config);
33
+ * const input = { // StopReplicationRequest
34
+ * sourceServerID: "STRING_VALUE", // required
35
+ * accountID: "STRING_VALUE",
36
+ * };
37
+ * const command = new StopReplicationCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // SourceServer
40
+ * // sourceServerID: "STRING_VALUE",
41
+ * // arn: "STRING_VALUE",
42
+ * // isArchived: true || false,
43
+ * // tags: { // TagsMap
44
+ * // "<keys>": "STRING_VALUE",
45
+ * // },
46
+ * // launchedInstance: { // LaunchedInstance
47
+ * // ec2InstanceID: "STRING_VALUE",
48
+ * // jobID: "STRING_VALUE",
49
+ * // firstBoot: "STRING_VALUE",
50
+ * // },
51
+ * // dataReplicationInfo: { // DataReplicationInfo
52
+ * // lagDuration: "STRING_VALUE",
53
+ * // etaDateTime: "STRING_VALUE",
54
+ * // replicatedDisks: [ // DataReplicationInfoReplicatedDisks
55
+ * // { // DataReplicationInfoReplicatedDisk
56
+ * // deviceName: "STRING_VALUE",
57
+ * // totalStorageBytes: Number("long"),
58
+ * // replicatedStorageBytes: Number("long"),
59
+ * // rescannedStorageBytes: Number("long"),
60
+ * // backloggedStorageBytes: Number("long"),
61
+ * // },
62
+ * // ],
63
+ * // dataReplicationState: "STRING_VALUE",
64
+ * // dataReplicationInitiation: { // DataReplicationInitiation
65
+ * // startDateTime: "STRING_VALUE",
66
+ * // nextAttemptDateTime: "STRING_VALUE",
67
+ * // steps: [ // DataReplicationInitiationSteps
68
+ * // { // DataReplicationInitiationStep
69
+ * // name: "STRING_VALUE",
70
+ * // status: "STRING_VALUE",
71
+ * // },
72
+ * // ],
73
+ * // },
74
+ * // dataReplicationError: { // DataReplicationError
75
+ * // error: "STRING_VALUE",
76
+ * // rawError: "STRING_VALUE",
77
+ * // },
78
+ * // lastSnapshotDateTime: "STRING_VALUE",
79
+ * // },
80
+ * // lifeCycle: { // LifeCycle
81
+ * // addedToServiceDateTime: "STRING_VALUE",
82
+ * // firstByteDateTime: "STRING_VALUE",
83
+ * // elapsedReplicationDuration: "STRING_VALUE",
84
+ * // lastSeenByServiceDateTime: "STRING_VALUE",
85
+ * // lastTest: { // LifeCycleLastTest
86
+ * // initiated: { // LifeCycleLastTestInitiated
87
+ * // apiCallDateTime: "STRING_VALUE",
88
+ * // jobID: "STRING_VALUE",
89
+ * // },
90
+ * // reverted: { // LifeCycleLastTestReverted
91
+ * // apiCallDateTime: "STRING_VALUE",
92
+ * // },
93
+ * // finalized: { // LifeCycleLastTestFinalized
94
+ * // apiCallDateTime: "STRING_VALUE",
95
+ * // },
96
+ * // },
97
+ * // lastCutover: { // LifeCycleLastCutover
98
+ * // initiated: { // LifeCycleLastCutoverInitiated
99
+ * // apiCallDateTime: "STRING_VALUE",
100
+ * // jobID: "STRING_VALUE",
101
+ * // },
102
+ * // reverted: { // LifeCycleLastCutoverReverted
103
+ * // apiCallDateTime: "STRING_VALUE",
104
+ * // },
105
+ * // finalized: { // LifeCycleLastCutoverFinalized
106
+ * // apiCallDateTime: "STRING_VALUE",
107
+ * // },
108
+ * // },
109
+ * // state: "STRING_VALUE",
110
+ * // },
111
+ * // sourceProperties: { // SourceProperties
112
+ * // lastUpdatedDateTime: "STRING_VALUE",
113
+ * // recommendedInstanceType: "STRING_VALUE",
114
+ * // identificationHints: { // IdentificationHints
115
+ * // fqdn: "STRING_VALUE",
116
+ * // hostname: "STRING_VALUE",
117
+ * // vmWareUuid: "STRING_VALUE",
118
+ * // awsInstanceID: "STRING_VALUE",
119
+ * // vmPath: "STRING_VALUE",
120
+ * // },
121
+ * // networkInterfaces: [ // NetworkInterfaces
122
+ * // { // NetworkInterface
123
+ * // macAddress: "STRING_VALUE",
124
+ * // ips: [ // IPsList
125
+ * // "STRING_VALUE",
126
+ * // ],
127
+ * // isPrimary: true || false,
128
+ * // },
129
+ * // ],
130
+ * // disks: [ // Disks
131
+ * // { // Disk
132
+ * // deviceName: "STRING_VALUE",
133
+ * // bytes: Number("long"),
134
+ * // },
135
+ * // ],
136
+ * // cpus: [ // Cpus
137
+ * // { // CPU
138
+ * // cores: Number("long"),
139
+ * // modelName: "STRING_VALUE",
140
+ * // },
141
+ * // ],
142
+ * // ramBytes: Number("long"),
143
+ * // os: { // OS
144
+ * // fullString: "STRING_VALUE",
145
+ * // },
146
+ * // },
147
+ * // replicationType: "STRING_VALUE",
148
+ * // vcenterClientID: "STRING_VALUE",
149
+ * // applicationID: "STRING_VALUE",
150
+ * // userProvidedID: "STRING_VALUE",
151
+ * // fqdnForActionFramework: "STRING_VALUE",
152
+ * // };
153
+ *
154
+ * ```
155
+ *
156
+ * @param StopReplicationCommandInput - {@link StopReplicationCommandInput}
157
+ * @returns {@link StopReplicationCommandOutput}
158
+ * @see {@link StopReplicationCommandInput} for command's `input` shape.
159
+ * @see {@link StopReplicationCommandOutput} for command's `response` shape.
160
+ * @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
161
+ *
162
+ * @throws {@link ConflictException} (client fault)
163
+ * <p>The request could not be completed due to a conflict with the current state of the target resource.</p>
164
+ *
165
+ * @throws {@link ResourceNotFoundException} (client fault)
166
+ * <p>Resource not found exception.</p>
167
+ *
168
+ * @throws {@link ServiceQuotaExceededException} (client fault)
169
+ * <p>The request could not be completed because its exceeded the service quota.</p>
170
+ *
171
+ * @throws {@link UninitializedAccountException} (client fault)
172
+ * <p>Uninitialized account exception.</p>
173
+ *
174
+ * @throws {@link ValidationException} (client fault)
175
+ * <p>Validate exception.</p>
176
+ *
177
+ * @throws {@link MgnServiceException}
178
+ * <p>Base exception class for all service exceptions from Mgn service.</p>
179
+ *
180
+ */
181
+ export declare class StopReplicationCommand extends $Command<StopReplicationCommandInput, StopReplicationCommandOutput, MgnClientResolvedConfig> {
182
+ readonly input: StopReplicationCommandInput;
183
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
184
+ /**
185
+ * @public
186
+ */
187
+ constructor(input: StopReplicationCommandInput);
188
+ /**
189
+ * @internal
190
+ */
191
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MgnClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StopReplicationCommandInput, StopReplicationCommandOutput>;
192
+ /**
193
+ * @internal
194
+ */
195
+ private serialize;
196
+ /**
197
+ * @internal
198
+ */
199
+ private deserialize;
200
+ }
@@ -37,6 +37,7 @@ export interface TerminateTargetInstancesCommandOutput extends TerminateTargetIn
37
37
  * tags: { // TagsMap
38
38
  * "<keys>": "STRING_VALUE",
39
39
  * },
40
+ * accountID: "STRING_VALUE",
40
41
  * };
41
42
  * const command = new TerminateTargetInstancesCommand(input);
42
43
  * const response = await client.send(command);
@@ -32,6 +32,7 @@ export interface UnarchiveApplicationCommandOutput extends Application, __Metada
32
32
  * const client = new MgnClient(config);
33
33
  * const input = { // UnarchiveApplicationRequest
34
34
  * applicationID: "STRING_VALUE", // required
35
+ * accountID: "STRING_VALUE",
35
36
  * };
36
37
  * const command = new UnarchiveApplicationCommand(input);
37
38
  * const response = await client.send(command);