@aws-sdk/client-drs 3.100.0 → 3.102.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 (45) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +7 -7
  3. package/dist-cjs/Drs.js +45 -0
  4. package/dist-cjs/commands/CreateExtendedSourceServerCommand.js +36 -0
  5. package/dist-cjs/commands/ListExtensibleSourceServersCommand.js +36 -0
  6. package/dist-cjs/commands/ListStagingAccountsCommand.js +36 -0
  7. package/dist-cjs/commands/index.js +3 -0
  8. package/dist-cjs/models/models_0.js +273 -201
  9. package/dist-cjs/pagination/ListExtensibleSourceServersPaginator.js +36 -0
  10. package/dist-cjs/pagination/ListStagingAccountsPaginator.js +36 -0
  11. package/dist-cjs/pagination/index.js +2 -0
  12. package/dist-cjs/protocols/Aws_restJson1.js +353 -2
  13. package/dist-es/Drs.js +45 -0
  14. package/dist-es/commands/CreateExtendedSourceServerCommand.js +39 -0
  15. package/dist-es/commands/ListExtensibleSourceServersCommand.js +39 -0
  16. package/dist-es/commands/ListStagingAccountsCommand.js +39 -0
  17. package/dist-es/commands/index.js +3 -0
  18. package/dist-es/models/models_0.js +217 -169
  19. package/dist-es/pagination/ListExtensibleSourceServersPaginator.js +75 -0
  20. package/dist-es/pagination/ListStagingAccountsPaginator.js +75 -0
  21. package/dist-es/pagination/index.js +2 -0
  22. package/dist-es/protocols/Aws_restJson1.js +439 -15
  23. package/dist-types/Drs.d.ts +24 -0
  24. package/dist-types/DrsClient.d.ts +5 -2
  25. package/dist-types/commands/CreateExtendedSourceServerCommand.d.ts +35 -0
  26. package/dist-types/commands/ListExtensibleSourceServersCommand.d.ts +38 -0
  27. package/dist-types/commands/ListStagingAccountsCommand.d.ts +35 -0
  28. package/dist-types/commands/index.d.ts +3 -0
  29. package/dist-types/models/models_0.d.ts +731 -507
  30. package/dist-types/pagination/ListExtensibleSourceServersPaginator.d.ts +4 -0
  31. package/dist-types/pagination/ListStagingAccountsPaginator.d.ts +4 -0
  32. package/dist-types/pagination/index.d.ts +2 -0
  33. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  34. package/dist-types/ts3.4/Drs.d.ts +15 -0
  35. package/dist-types/ts3.4/DrsClient.d.ts +5 -2
  36. package/dist-types/ts3.4/commands/CreateExtendedSourceServerCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/ListExtensibleSourceServersCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/ListStagingAccountsCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  40. package/dist-types/ts3.4/models/models_0.d.ts +442 -305
  41. package/dist-types/ts3.4/pagination/ListExtensibleSourceServersPaginator.d.ts +4 -0
  42. package/dist-types/ts3.4/pagination/ListStagingAccountsPaginator.d.ts +4 -0
  43. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  44. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +9 -0
  45. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { DrsServiceException as __BaseException } from "./DrsServiceException";
3
3
  /**
4
- * <p>TYou do not have sufficient access to perform this action.</p>
4
+ * <p>You do not have sufficient access to perform this action.</p>
5
5
  */
6
6
  export declare class AccessDeniedException extends __BaseException {
7
7
  readonly name: "AccessDeniedException";
@@ -12,6 +12,21 @@ export declare class AccessDeniedException extends __BaseException {
12
12
  */
13
13
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
14
14
  }
15
+ /**
16
+ * <p>AWS account.</p>
17
+ */
18
+ export interface Account {
19
+ /**
20
+ * <p>Account ID of AWS account.</p>
21
+ */
22
+ accountID?: string;
23
+ }
24
+ export declare namespace Account {
25
+ /**
26
+ * @internal
27
+ */
28
+ const filterSensitiveLog: (obj: Account) => any;
29
+ }
15
30
  /**
16
31
  * <p>The request could not be completed due to a conflict with the current state of the target resource.</p>
17
32
  */
@@ -32,6 +47,43 @@ export declare class ConflictException extends __BaseException {
32
47
  */
33
48
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
34
49
  }
50
+ /**
51
+ * <p>Properties of a conversion job</p>
52
+ */
53
+ export interface ConversionProperties {
54
+ /**
55
+ * <p>A mapping between the volumes being converted and the converted snapshot ids</p>
56
+ */
57
+ volumeToConversionMap?: {
58
+ [key: string]: {
59
+ [key: string]: string;
60
+ };
61
+ };
62
+ /**
63
+ * <p>The root volume name of a conversion job</p>
64
+ */
65
+ rootVolumeName?: string;
66
+ /**
67
+ * <p>Whether the volume being converted uses UEFI or not</p>
68
+ */
69
+ forceUefi?: boolean;
70
+ /**
71
+ * <p>The timestamp of when the snapshot being converted was taken</p>
72
+ */
73
+ dataTimestamp?: string;
74
+ /**
75
+ * <p>A mapping between the volumes and their sizes</p>
76
+ */
77
+ volumeToVolumeSize?: {
78
+ [key: string]: number;
79
+ };
80
+ }
81
+ export declare namespace ConversionProperties {
82
+ /**
83
+ * @internal
84
+ */
85
+ const filterSensitiveLog: (obj: ConversionProperties) => any;
86
+ }
35
87
  /**
36
88
  * <p>Information about a server's CPU.</p>
37
89
  */
@@ -51,213 +103,532 @@ export declare namespace CPU {
51
103
  */
52
104
  const filterSensitiveLog: (obj: CPU) => any;
53
105
  }
54
- export declare enum ReplicationConfigurationDataPlaneRouting {
55
- PRIVATE_IP = "PRIVATE_IP",
56
- PUBLIC_IP = "PUBLIC_IP"
106
+ export interface CreateExtendedSourceServerRequest {
107
+ /**
108
+ * <p>This defines the ARN of the source server in staging Account based on which you want to create an extended source server.</p>
109
+ */
110
+ sourceServerArn: string | undefined;
111
+ /**
112
+ * <p>A list of tags associated with the extended source server.</p>
113
+ */
114
+ tags?: {
115
+ [key: string]: string;
116
+ };
57
117
  }
58
- export declare enum ReplicationConfigurationDefaultLargeStagingDiskType {
59
- GP2 = "GP2",
60
- GP3 = "GP3",
61
- ST1 = "ST1"
118
+ export declare namespace CreateExtendedSourceServerRequest {
119
+ /**
120
+ * @internal
121
+ */
122
+ const filterSensitiveLog: (obj: CreateExtendedSourceServerRequest) => any;
62
123
  }
63
- export declare enum ReplicationConfigurationEbsEncryption {
64
- CUSTOM = "CUSTOM",
65
- DEFAULT = "DEFAULT"
124
+ export declare enum DataReplicationErrorString {
125
+ AGENT_NOT_SEEN = "AGENT_NOT_SEEN",
126
+ FAILED_TO_ATTACH_STAGING_DISKS = "FAILED_TO_ATTACH_STAGING_DISKS",
127
+ FAILED_TO_AUTHENTICATE_WITH_SERVICE = "FAILED_TO_AUTHENTICATE_WITH_SERVICE",
128
+ FAILED_TO_BOOT_REPLICATION_SERVER = "FAILED_TO_BOOT_REPLICATION_SERVER",
129
+ FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER = "FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER",
130
+ FAILED_TO_CREATE_SECURITY_GROUP = "FAILED_TO_CREATE_SECURITY_GROUP",
131
+ FAILED_TO_CREATE_STAGING_DISKS = "FAILED_TO_CREATE_STAGING_DISKS",
132
+ FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE = "FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE",
133
+ FAILED_TO_LAUNCH_REPLICATION_SERVER = "FAILED_TO_LAUNCH_REPLICATION_SERVER",
134
+ FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT = "FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT",
135
+ FAILED_TO_START_DATA_TRANSFER = "FAILED_TO_START_DATA_TRANSFER",
136
+ NOT_CONVERGING = "NOT_CONVERGING",
137
+ SNAPSHOTS_FAILURE = "SNAPSHOTS_FAILURE",
138
+ UNSTABLE_NETWORK = "UNSTABLE_NETWORK"
66
139
  }
67
- export declare enum PITPolicyRuleUnits {
68
- DAY = "DAY",
69
- HOUR = "HOUR",
70
- MINUTE = "MINUTE"
140
+ /**
141
+ * <p>Error in data replication.</p>
142
+ */
143
+ export interface DataReplicationError {
144
+ /**
145
+ * <p>Error in data replication.</p>
146
+ */
147
+ error?: DataReplicationErrorString | string;
148
+ /**
149
+ * <p>Error in data replication.</p>
150
+ */
151
+ rawError?: string;
152
+ }
153
+ export declare namespace DataReplicationError {
154
+ /**
155
+ * @internal
156
+ */
157
+ const filterSensitiveLog: (obj: DataReplicationError) => any;
158
+ }
159
+ export declare enum DataReplicationInitiationStepName {
160
+ ATTACH_STAGING_DISKS = "ATTACH_STAGING_DISKS",
161
+ AUTHENTICATE_WITH_SERVICE = "AUTHENTICATE_WITH_SERVICE",
162
+ BOOT_REPLICATION_SERVER = "BOOT_REPLICATION_SERVER",
163
+ CONNECT_AGENT_TO_REPLICATION_SERVER = "CONNECT_AGENT_TO_REPLICATION_SERVER",
164
+ CREATE_SECURITY_GROUP = "CREATE_SECURITY_GROUP",
165
+ CREATE_STAGING_DISKS = "CREATE_STAGING_DISKS",
166
+ DOWNLOAD_REPLICATION_SOFTWARE = "DOWNLOAD_REPLICATION_SOFTWARE",
167
+ LAUNCH_REPLICATION_SERVER = "LAUNCH_REPLICATION_SERVER",
168
+ PAIR_REPLICATION_SERVER_WITH_AGENT = "PAIR_REPLICATION_SERVER_WITH_AGENT",
169
+ START_DATA_TRANSFER = "START_DATA_TRANSFER",
170
+ WAIT = "WAIT"
171
+ }
172
+ export declare enum DataReplicationInitiationStepStatus {
173
+ FAILED = "FAILED",
174
+ IN_PROGRESS = "IN_PROGRESS",
175
+ NOT_STARTED = "NOT_STARTED",
176
+ SKIPPED = "SKIPPED",
177
+ SUCCEEDED = "SUCCEEDED"
71
178
  }
72
179
  /**
73
- * <p>A rule in the Point in Time (PIT) policy representing when to take snapshots and how long to retain them for.</p>
180
+ * <p>Data replication initiation step.</p>
74
181
  */
75
- export interface PITPolicyRule {
182
+ export interface DataReplicationInitiationStep {
76
183
  /**
77
- * <p>The ID of the rule.</p>
184
+ * <p>The name of the step.</p>
78
185
  */
79
- ruleID?: number;
186
+ name?: DataReplicationInitiationStepName | string;
80
187
  /**
81
- * <p>The units used to measure the interval and retentionDuration.</p>
188
+ * <p>The status of the step.</p>
82
189
  */
83
- units: PITPolicyRuleUnits | string | undefined;
190
+ status?: DataReplicationInitiationStepStatus | string;
191
+ }
192
+ export declare namespace DataReplicationInitiationStep {
84
193
  /**
85
- * <p>How often, in the chosen units, a snapshot should be taken.</p>
194
+ * @internal
86
195
  */
87
- interval: number | undefined;
196
+ const filterSensitiveLog: (obj: DataReplicationInitiationStep) => any;
197
+ }
198
+ /**
199
+ * <p>Data replication initiation.</p>
200
+ */
201
+ export interface DataReplicationInitiation {
88
202
  /**
89
- * <p>The duration to retain a snapshot for, in the chosen units.</p>
203
+ * <p>The date and time of the current attempt to initiate data replication.</p>
90
204
  */
91
- retentionDuration: number | undefined;
205
+ startDateTime?: string;
92
206
  /**
93
- * <p>Whether this rule is enabled or not.</p>
207
+ * <p>The date and time of the next attempt to initiate data replication.</p>
94
208
  */
95
- enabled?: boolean;
209
+ nextAttemptDateTime?: string;
210
+ /**
211
+ * <p>The steps of the current attempt to initiate data replication.</p>
212
+ */
213
+ steps?: DataReplicationInitiationStep[];
96
214
  }
97
- export declare namespace PITPolicyRule {
215
+ export declare namespace DataReplicationInitiation {
98
216
  /**
99
217
  * @internal
100
218
  */
101
- const filterSensitiveLog: (obj: PITPolicyRule) => any;
219
+ const filterSensitiveLog: (obj: DataReplicationInitiation) => any;
102
220
  }
103
- export interface CreateReplicationConfigurationTemplateRequest {
221
+ export declare enum DataReplicationState {
222
+ BACKLOG = "BACKLOG",
223
+ CONTINUOUS = "CONTINUOUS",
224
+ CREATING_SNAPSHOT = "CREATING_SNAPSHOT",
225
+ DISCONNECTED = "DISCONNECTED",
226
+ INITIAL_SYNC = "INITIAL_SYNC",
227
+ INITIATING = "INITIATING",
228
+ PAUSED = "PAUSED",
229
+ RESCAN = "RESCAN",
230
+ STALLED = "STALLED",
231
+ STOPPED = "STOPPED"
232
+ }
233
+ /**
234
+ * <p>A disk that should be replicated.</p>
235
+ */
236
+ export interface DataReplicationInfoReplicatedDisk {
104
237
  /**
105
- * <p>The subnet to be used by the replication staging area.</p>
238
+ * <p>The name of the device.</p>
106
239
  */
107
- stagingAreaSubnetId: string | undefined;
240
+ deviceName?: string;
108
241
  /**
109
- * <p>Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.</p>
242
+ * <p>The total amount of data to be replicated in bytes.</p>
110
243
  */
111
- associateDefaultSecurityGroup: boolean | undefined;
244
+ totalStorageBytes?: number;
112
245
  /**
113
- * <p>The security group IDs that will be used by the replication server.</p>
246
+ * <p>The amount of data replicated so far in bytes.</p>
114
247
  */
115
- replicationServersSecurityGroupsIDs: string[] | undefined;
248
+ replicatedStorageBytes?: number;
116
249
  /**
117
- * <p>The instance type to be used for the replication server.</p>
250
+ * <p>The amount of data to be rescanned in bytes.</p>
251
+ */
252
+ rescannedStorageBytes?: number;
253
+ /**
254
+ * <p>The size of the replication backlog in bytes.</p>
255
+ */
256
+ backloggedStorageBytes?: number;
257
+ }
258
+ export declare namespace DataReplicationInfoReplicatedDisk {
259
+ /**
260
+ * @internal
261
+ */
262
+ const filterSensitiveLog: (obj: DataReplicationInfoReplicatedDisk) => any;
263
+ }
264
+ /**
265
+ * <p>Information about Data Replication</p>
266
+ */
267
+ export interface DataReplicationInfo {
268
+ /**
269
+ * <p>Data replication lag duration.</p>
270
+ */
271
+ lagDuration?: string;
272
+ /**
273
+ * <p>An estimate of when the data replication will be completed.</p>
274
+ */
275
+ etaDateTime?: string;
276
+ /**
277
+ * <p>The disks that should be replicated.</p>
278
+ */
279
+ replicatedDisks?: DataReplicationInfoReplicatedDisk[];
280
+ /**
281
+ * <p>The state of the data replication.</p>
282
+ */
283
+ dataReplicationState?: DataReplicationState | string;
284
+ /**
285
+ * <p>Information about whether the data replication has been initiated.</p>
286
+ */
287
+ dataReplicationInitiation?: DataReplicationInitiation;
288
+ /**
289
+ * <p>Error in data replication.</p>
290
+ */
291
+ dataReplicationError?: DataReplicationError;
292
+ }
293
+ export declare namespace DataReplicationInfo {
294
+ /**
295
+ * @internal
296
+ */
297
+ const filterSensitiveLog: (obj: DataReplicationInfo) => any;
298
+ }
299
+ export declare enum LastLaunchResult {
300
+ FAILED = "FAILED",
301
+ NOT_STARTED = "NOT_STARTED",
302
+ PENDING = "PENDING",
303
+ SUCCEEDED = "SUCCEEDED"
304
+ }
305
+ export declare enum LastLaunchType {
306
+ DRILL = "DRILL",
307
+ RECOVERY = "RECOVERY"
308
+ }
309
+ /**
310
+ * <p>An object containing information regarding the initiation of the last launch of a Source Server.</p>
311
+ */
312
+ export interface LifeCycleLastLaunchInitiated {
313
+ /**
314
+ * <p>The date and time the last Source Server launch was initiated.</p>
315
+ */
316
+ apiCallDateTime?: string;
317
+ /**
318
+ * <p>The ID of the Job that was used to last launch the Source Server.</p>
319
+ */
320
+ jobID?: string;
321
+ /**
322
+ * <p>The Job type that was used to last launch the Source Server.</p>
323
+ */
324
+ type?: LastLaunchType | string;
325
+ }
326
+ export declare namespace LifeCycleLastLaunchInitiated {
327
+ /**
328
+ * @internal
329
+ */
330
+ const filterSensitiveLog: (obj: LifeCycleLastLaunchInitiated) => any;
331
+ }
332
+ /**
333
+ * <p>An object containing information regarding the last launch of a Source Server.</p>
334
+ */
335
+ export interface LifeCycleLastLaunch {
336
+ /**
337
+ * <p>An object containing information regarding the initiation of the last launch of a Source Server.</p>
338
+ */
339
+ initiated?: LifeCycleLastLaunchInitiated;
340
+ }
341
+ export declare namespace LifeCycleLastLaunch {
342
+ /**
343
+ * @internal
344
+ */
345
+ const filterSensitiveLog: (obj: LifeCycleLastLaunch) => any;
346
+ }
347
+ /**
348
+ * <p>An object representing the Source Server Lifecycle.</p>
349
+ */
350
+ export interface LifeCycle {
351
+ /**
352
+ * <p>The date and time of when the Source Server was added to the service.</p>
353
+ */
354
+ addedToServiceDateTime?: string;
355
+ /**
356
+ * <p>The date and time of the first byte that was replicated from the Source Server.</p>
357
+ */
358
+ firstByteDateTime?: string;
359
+ /**
360
+ * <p>The amount of time that the Source Server has been replicating for.</p>
361
+ */
362
+ elapsedReplicationDuration?: string;
363
+ /**
364
+ * <p>The date and time this Source Server was last seen by the service.</p>
365
+ */
366
+ lastSeenByServiceDateTime?: string;
367
+ /**
368
+ * <p>An object containing information regarding the last launch of the Source Server.</p>
369
+ */
370
+ lastLaunch?: LifeCycleLastLaunch;
371
+ }
372
+ export declare namespace LifeCycle {
373
+ /**
374
+ * @internal
375
+ */
376
+ const filterSensitiveLog: (obj: LifeCycle) => any;
377
+ }
378
+ /**
379
+ * <p>An object representing a data storage device on a server.</p>
380
+ */
381
+ export interface Disk {
382
+ /**
383
+ * <p>The disk or device name.</p>
384
+ */
385
+ deviceName?: string;
386
+ /**
387
+ * <p>The amount of storage on the disk in bytes.</p>
388
+ */
389
+ bytes?: number;
390
+ }
391
+ export declare namespace Disk {
392
+ /**
393
+ * @internal
394
+ */
395
+ const filterSensitiveLog: (obj: Disk) => any;
396
+ }
397
+ /**
398
+ * <p>Hints used to uniquely identify a machine.</p>
399
+ */
400
+ export interface IdentificationHints {
401
+ /**
402
+ * <p>Fully Qualified Domain Name identification hint.</p>
403
+ */
404
+ fqdn?: string;
405
+ /**
406
+ * <p>Hostname identification hint.</p>
407
+ */
408
+ hostname?: string;
409
+ /**
410
+ * <p>vCenter VM path identification hint.</p>
411
+ */
412
+ vmWareUuid?: string;
413
+ /**
414
+ * <p>AWS Instance ID identification hint.</p>
415
+ */
416
+ awsInstanceID?: string;
417
+ }
418
+ export declare namespace IdentificationHints {
419
+ /**
420
+ * @internal
421
+ */
422
+ const filterSensitiveLog: (obj: IdentificationHints) => any;
423
+ }
424
+ /**
425
+ * <p>Network interface.</p>
426
+ */
427
+ export interface NetworkInterface {
428
+ /**
429
+ * <p>The MAC address of the network interface.</p>
430
+ */
431
+ macAddress?: string;
432
+ /**
433
+ * <p>Network interface IPs.</p>
434
+ */
435
+ ips?: string[];
436
+ /**
437
+ * <p>Whether this is the primary network interface.</p>
438
+ */
439
+ isPrimary?: boolean;
440
+ }
441
+ export declare namespace NetworkInterface {
442
+ /**
443
+ * @internal
118
444
  */
119
- replicationServerInstanceType: string | undefined;
445
+ const filterSensitiveLog: (obj: NetworkInterface) => any;
446
+ }
447
+ /**
448
+ * <p>Operating System.</p>
449
+ */
450
+ export interface OS {
120
451
  /**
121
- * <p>Whether to use a dedicated Replication Server in the replication staging area.</p>
452
+ * <p>The long name of the Operating System.</p>
122
453
  */
123
- useDedicatedReplicationServer: boolean | undefined;
454
+ fullString?: string;
455
+ }
456
+ export declare namespace OS {
124
457
  /**
125
- * <p>The Staging Disk EBS volume type to be used during replication.</p>
458
+ * @internal
126
459
  */
127
- defaultLargeStagingDiskType: ReplicationConfigurationDefaultLargeStagingDiskType | string | undefined;
460
+ const filterSensitiveLog: (obj: OS) => any;
461
+ }
462
+ /**
463
+ * <p>Properties of the Source Server machine.</p>
464
+ */
465
+ export interface SourceProperties {
128
466
  /**
129
- * <p>The type of EBS encryption to be used during replication.</p>
467
+ * <p>The date and time the Source Properties were last updated on.</p>
130
468
  */
131
- ebsEncryption: ReplicationConfigurationEbsEncryption | string | undefined;
469
+ lastUpdatedDateTime?: string;
132
470
  /**
133
- * <p>The ARN of the EBS encryption key to be used during replication.</p>
471
+ * <p>The recommended EC2 instance type that will be used when recovering the Source Server.</p>
134
472
  */
135
- ebsEncryptionKeyArn?: string;
473
+ recommendedInstanceType?: string;
136
474
  /**
137
- * <p>Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.</p>
475
+ * <p>Hints used to uniquely identify a machine.</p>
138
476
  */
139
- bandwidthThrottling: number | undefined;
477
+ identificationHints?: IdentificationHints;
140
478
  /**
141
- * <p>The data plane routing mechanism that will be used for replication.</p>
479
+ * <p>An array of network interfaces.</p>
142
480
  */
143
- dataPlaneRouting: ReplicationConfigurationDataPlaneRouting | string | undefined;
481
+ networkInterfaces?: NetworkInterface[];
144
482
  /**
145
- * <p>Whether to create a Public IP for the Recovery Instance by default.</p>
483
+ * <p>An array of disks.</p>
146
484
  */
147
- createPublicIP: boolean | undefined;
485
+ disks?: Disk[];
148
486
  /**
149
- * <p>A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.</p>
487
+ * <p>An array of CPUs.</p>
150
488
  */
151
- stagingAreaTags: {
152
- [key: string]: string;
153
- } | undefined;
489
+ cpus?: CPU[];
154
490
  /**
155
- * <p>The Point in time (PIT) policy to manage snapshots taken during replication.</p>
491
+ * <p>The amount of RAM in bytes.</p>
156
492
  */
157
- pitPolicy: PITPolicyRule[] | undefined;
493
+ ramBytes?: number;
158
494
  /**
159
- * <p>A set of tags to be associated with the Replication Configuration Template resource.</p>
495
+ * <p>Operating system.</p>
160
496
  */
161
- tags?: {
162
- [key: string]: string;
163
- };
497
+ os?: OS;
164
498
  }
165
- export declare namespace CreateReplicationConfigurationTemplateRequest {
499
+ export declare namespace SourceProperties {
166
500
  /**
167
501
  * @internal
168
502
  */
169
- const filterSensitiveLog: (obj: CreateReplicationConfigurationTemplateRequest) => any;
503
+ const filterSensitiveLog: (obj: SourceProperties) => any;
504
+ }
505
+ export declare enum ExtensionStatus {
506
+ EXTENDED = "EXTENDED",
507
+ EXTENSION_ERROR = "EXTENSION_ERROR",
508
+ NOT_EXTENDED = "NOT_EXTENDED"
170
509
  }
171
510
  /**
172
- * <p>The request processing has failed because of an unknown error, exception or failure.</p>
511
+ * <p>Staging information related to source server.</p>
173
512
  */
174
- export declare class InternalServerException extends __BaseException {
175
- readonly name: "InternalServerException";
176
- readonly $fault: "server";
513
+ export interface StagingArea {
177
514
  /**
178
- * <p>The number of seconds after which the request should be safe to retry.</p>
515
+ * <p>Status of Source server extension. Possible values:
516
+ * (a) NOT_EXTENDED - This is a source server that is replicating in the current account.
517
+ * (b) EXTENDED - Source server is extended from a staging source server. In this case, the value of stagingSourceServerArn is pointing to the Arn of the source server in the staging account.
518
+ * (c) EXTENSION_ERROR - Some issue occurred when accessing staging source server. In this case, errorMessage field will contain an error message that explains what happened.</p>
179
519
  */
180
- retryAfterSeconds?: number;
520
+ status?: ExtensionStatus | string;
521
+ /**
522
+ * <p>Account ID of the account to which source server belongs. If this source server is extended - shows Account ID of staging source server.</p>
523
+ */
524
+ stagingAccountID?: string;
525
+ /**
526
+ * <p>Arn of the staging source server if this source server is extended</p>
527
+ */
528
+ stagingSourceServerArn?: string;
529
+ /**
530
+ * <p>Shows an error message that occurred when DRS tried to access the staging source server. In this case StagingArea$status will have value EXTENSION_ERROR</p>
531
+ */
532
+ errorMessage?: string;
533
+ }
534
+ export declare namespace StagingArea {
181
535
  /**
182
536
  * @internal
183
537
  */
184
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
538
+ const filterSensitiveLog: (obj: StagingArea) => any;
185
539
  }
186
- export interface ReplicationConfigurationTemplate {
540
+ export interface SourceServer {
187
541
  /**
188
- * <p>The Replication Configuration Template ID.</p>
542
+ * <p>The ID of the Source Server.</p>
189
543
  */
190
- replicationConfigurationTemplateID: string | undefined;
544
+ sourceServerID?: string;
191
545
  /**
192
- * <p>The Replication Configuration Template ARN.</p>
546
+ * <p>The ARN of the Source Server.</p>
193
547
  */
194
548
  arn?: string;
195
549
  /**
196
- * <p>The subnet to be used by the replication staging area.</p>
550
+ * <p>The tags associated with the Source Server.</p>
197
551
  */
198
- stagingAreaSubnetId?: string;
552
+ tags?: {
553
+ [key: string]: string;
554
+ };
199
555
  /**
200
- * <p>Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.</p>
556
+ * <p>The ID of the Recovery Instance associated with this Source Server.</p>
201
557
  */
202
- associateDefaultSecurityGroup?: boolean;
558
+ recoveryInstanceId?: string;
203
559
  /**
204
- * <p>The security group IDs that will be used by the replication server.</p>
560
+ * <p>The status of the last recovery launch of this Source Server.</p>
205
561
  */
206
- replicationServersSecurityGroupsIDs?: string[];
562
+ lastLaunchResult?: LastLaunchResult | string;
207
563
  /**
208
- * <p>The instance type to be used for the replication server.</p>
564
+ * <p>The Data Replication Info of the Source Server.</p>
209
565
  */
210
- replicationServerInstanceType?: string;
566
+ dataReplicationInfo?: DataReplicationInfo;
211
567
  /**
212
- * <p>Whether to use a dedicated Replication Server in the replication staging area.</p>
568
+ * <p>The lifecycle information of this Source Server.</p>
213
569
  */
214
- useDedicatedReplicationServer?: boolean;
570
+ lifeCycle?: LifeCycle;
215
571
  /**
216
- * <p>The Staging Disk EBS volume type to be used during replication.</p>
572
+ * <p>The source properties of the Source Server.</p>
217
573
  */
218
- defaultLargeStagingDiskType?: ReplicationConfigurationDefaultLargeStagingDiskType | string;
574
+ sourceProperties?: SourceProperties;
219
575
  /**
220
- * <p>The type of EBS encryption to be used during replication.</p>
576
+ * <p>The staging area of the source server.</p>
221
577
  */
222
- ebsEncryption?: ReplicationConfigurationEbsEncryption | string;
578
+ stagingArea?: StagingArea;
579
+ }
580
+ export declare namespace SourceServer {
223
581
  /**
224
- * <p>The ARN of the EBS encryption key to be used during replication.</p>
582
+ * @internal
225
583
  */
226
- ebsEncryptionKeyArn?: string;
584
+ const filterSensitiveLog: (obj: SourceServer) => any;
585
+ }
586
+ export interface CreateExtendedSourceServerResponse {
227
587
  /**
228
- * <p>Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.</p>
588
+ * <p>Created extended source server.</p>
229
589
  */
230
- bandwidthThrottling?: number;
590
+ sourceServer?: SourceServer;
591
+ }
592
+ export declare namespace CreateExtendedSourceServerResponse {
231
593
  /**
232
- * <p>The data plane routing mechanism that will be used for replication.</p>
594
+ * @internal
233
595
  */
234
- dataPlaneRouting?: ReplicationConfigurationDataPlaneRouting | string;
596
+ const filterSensitiveLog: (obj: CreateExtendedSourceServerResponse) => any;
597
+ }
598
+ /**
599
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
600
+ */
601
+ export declare class InternalServerException extends __BaseException {
602
+ readonly name: "InternalServerException";
603
+ readonly $fault: "server";
235
604
  /**
236
- * <p>Whether to create a Public IP for the Recovery Instance by default.</p>
605
+ * <p>The number of seconds after which the request should be safe to retry.</p>
237
606
  */
238
- createPublicIP?: boolean;
607
+ retryAfterSeconds?: number;
239
608
  /**
240
- * <p>A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.</p>
609
+ * @internal
241
610
  */
242
- stagingAreaTags?: {
243
- [key: string]: string;
244
- };
611
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
612
+ }
613
+ /**
614
+ * <p>The resource for this operation was not found.</p>
615
+ */
616
+ export declare class ResourceNotFoundException extends __BaseException {
617
+ readonly name: "ResourceNotFoundException";
618
+ readonly $fault: "client";
619
+ code?: string;
245
620
  /**
246
- * <p>A set of tags to be associated with the Replication Configuration Template resource.</p>
621
+ * <p>The ID of the resource.</p>
247
622
  */
248
- tags?: {
249
- [key: string]: string;
250
- };
623
+ resourceId?: string;
251
624
  /**
252
- * <p>The Point in time (PIT) policy to manage snapshots taken during replication.</p>
625
+ * <p>The type of the resource.</p>
253
626
  */
254
- pitPolicy?: PITPolicyRule[];
255
- }
256
- export declare namespace ReplicationConfigurationTemplate {
627
+ resourceType?: string;
257
628
  /**
258
629
  * @internal
259
630
  */
260
- const filterSensitiveLog: (obj: ReplicationConfigurationTemplate) => any;
631
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
261
632
  }
262
633
  /**
263
634
  * <p>The request could not be completed because its exceeded the service quota.</p>
@@ -367,180 +738,198 @@ export declare class ValidationException extends __BaseException {
367
738
  */
368
739
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
369
740
  }
370
- export declare enum DataReplicationErrorString {
371
- AGENT_NOT_SEEN = "AGENT_NOT_SEEN",
372
- FAILED_TO_ATTACH_STAGING_DISKS = "FAILED_TO_ATTACH_STAGING_DISKS",
373
- FAILED_TO_AUTHENTICATE_WITH_SERVICE = "FAILED_TO_AUTHENTICATE_WITH_SERVICE",
374
- FAILED_TO_BOOT_REPLICATION_SERVER = "FAILED_TO_BOOT_REPLICATION_SERVER",
375
- FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER = "FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER",
376
- FAILED_TO_CREATE_SECURITY_GROUP = "FAILED_TO_CREATE_SECURITY_GROUP",
377
- FAILED_TO_CREATE_STAGING_DISKS = "FAILED_TO_CREATE_STAGING_DISKS",
378
- FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE = "FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE",
379
- FAILED_TO_LAUNCH_REPLICATION_SERVER = "FAILED_TO_LAUNCH_REPLICATION_SERVER",
380
- FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT = "FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT",
381
- FAILED_TO_START_DATA_TRANSFER = "FAILED_TO_START_DATA_TRANSFER",
382
- NOT_CONVERGING = "NOT_CONVERGING",
383
- SNAPSHOTS_FAILURE = "SNAPSHOTS_FAILURE",
384
- UNSTABLE_NETWORK = "UNSTABLE_NETWORK"
741
+ export declare enum ReplicationConfigurationDataPlaneRouting {
742
+ PRIVATE_IP = "PRIVATE_IP",
743
+ PUBLIC_IP = "PUBLIC_IP"
744
+ }
745
+ export declare enum ReplicationConfigurationDefaultLargeStagingDiskType {
746
+ GP2 = "GP2",
747
+ GP3 = "GP3",
748
+ ST1 = "ST1"
749
+ }
750
+ export declare enum ReplicationConfigurationEbsEncryption {
751
+ CUSTOM = "CUSTOM",
752
+ DEFAULT = "DEFAULT"
753
+ }
754
+ export declare enum PITPolicyRuleUnits {
755
+ DAY = "DAY",
756
+ HOUR = "HOUR",
757
+ MINUTE = "MINUTE"
385
758
  }
386
759
  /**
387
- * <p>Error in data replication.</p>
760
+ * <p>A rule in the Point in Time (PIT) policy representing when to take snapshots and how long to retain them for.</p>
388
761
  */
389
- export interface DataReplicationError {
762
+ export interface PITPolicyRule {
763
+ /**
764
+ * <p>The ID of the rule.</p>
765
+ */
766
+ ruleID?: number;
767
+ /**
768
+ * <p>The units used to measure the interval and retentionDuration.</p>
769
+ */
770
+ units: PITPolicyRuleUnits | string | undefined;
771
+ /**
772
+ * <p>How often, in the chosen units, a snapshot should be taken.</p>
773
+ */
774
+ interval: number | undefined;
775
+ /**
776
+ * <p>The duration to retain a snapshot for, in the chosen units.</p>
777
+ */
778
+ retentionDuration: number | undefined;
779
+ /**
780
+ * <p>Whether this rule is enabled or not.</p>
781
+ */
782
+ enabled?: boolean;
783
+ }
784
+ export declare namespace PITPolicyRule {
785
+ /**
786
+ * @internal
787
+ */
788
+ const filterSensitiveLog: (obj: PITPolicyRule) => any;
789
+ }
790
+ export interface CreateReplicationConfigurationTemplateRequest {
791
+ /**
792
+ * <p>The subnet to be used by the replication staging area.</p>
793
+ */
794
+ stagingAreaSubnetId: string | undefined;
795
+ /**
796
+ * <p>Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.</p>
797
+ */
798
+ associateDefaultSecurityGroup: boolean | undefined;
799
+ /**
800
+ * <p>The security group IDs that will be used by the replication server.</p>
801
+ */
802
+ replicationServersSecurityGroupsIDs: string[] | undefined;
803
+ /**
804
+ * <p>The instance type to be used for the replication server.</p>
805
+ */
806
+ replicationServerInstanceType: string | undefined;
807
+ /**
808
+ * <p>Whether to use a dedicated Replication Server in the replication staging area.</p>
809
+ */
810
+ useDedicatedReplicationServer: boolean | undefined;
811
+ /**
812
+ * <p>The Staging Disk EBS volume type to be used during replication.</p>
813
+ */
814
+ defaultLargeStagingDiskType: ReplicationConfigurationDefaultLargeStagingDiskType | string | undefined;
815
+ /**
816
+ * <p>The type of EBS encryption to be used during replication.</p>
817
+ */
818
+ ebsEncryption: ReplicationConfigurationEbsEncryption | string | undefined;
390
819
  /**
391
- * <p>Error in data replication.</p>
820
+ * <p>The ARN of the EBS encryption key to be used during replication.</p>
392
821
  */
393
- error?: DataReplicationErrorString | string;
822
+ ebsEncryptionKeyArn?: string;
394
823
  /**
395
- * <p>Error in data replication.</p>
824
+ * <p>Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.</p>
396
825
  */
397
- rawError?: string;
398
- }
399
- export declare namespace DataReplicationError {
826
+ bandwidthThrottling: number | undefined;
400
827
  /**
401
- * @internal
828
+ * <p>The data plane routing mechanism that will be used for replication.</p>
402
829
  */
403
- const filterSensitiveLog: (obj: DataReplicationError) => any;
404
- }
405
- export declare enum DataReplicationInitiationStepName {
406
- ATTACH_STAGING_DISKS = "ATTACH_STAGING_DISKS",
407
- AUTHENTICATE_WITH_SERVICE = "AUTHENTICATE_WITH_SERVICE",
408
- BOOT_REPLICATION_SERVER = "BOOT_REPLICATION_SERVER",
409
- CONNECT_AGENT_TO_REPLICATION_SERVER = "CONNECT_AGENT_TO_REPLICATION_SERVER",
410
- CREATE_SECURITY_GROUP = "CREATE_SECURITY_GROUP",
411
- CREATE_STAGING_DISKS = "CREATE_STAGING_DISKS",
412
- DOWNLOAD_REPLICATION_SOFTWARE = "DOWNLOAD_REPLICATION_SOFTWARE",
413
- LAUNCH_REPLICATION_SERVER = "LAUNCH_REPLICATION_SERVER",
414
- PAIR_REPLICATION_SERVER_WITH_AGENT = "PAIR_REPLICATION_SERVER_WITH_AGENT",
415
- START_DATA_TRANSFER = "START_DATA_TRANSFER",
416
- WAIT = "WAIT"
417
- }
418
- export declare enum DataReplicationInitiationStepStatus {
419
- FAILED = "FAILED",
420
- IN_PROGRESS = "IN_PROGRESS",
421
- NOT_STARTED = "NOT_STARTED",
422
- SKIPPED = "SKIPPED",
423
- SUCCEEDED = "SUCCEEDED"
424
- }
425
- /**
426
- * <p>Data replication initiation step.</p>
427
- */
428
- export interface DataReplicationInitiationStep {
830
+ dataPlaneRouting: ReplicationConfigurationDataPlaneRouting | string | undefined;
429
831
  /**
430
- * <p>The name of the step.</p>
832
+ * <p>Whether to create a Public IP for the Recovery Instance by default.</p>
431
833
  */
432
- name?: DataReplicationInitiationStepName | string;
834
+ createPublicIP: boolean | undefined;
433
835
  /**
434
- * <p>The status of the step.</p>
836
+ * <p>A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.</p>
435
837
  */
436
- status?: DataReplicationInitiationStepStatus | string;
838
+ stagingAreaTags: {
839
+ [key: string]: string;
840
+ } | undefined;
841
+ /**
842
+ * <p>The Point in time (PIT) policy to manage snapshots taken during replication.</p>
843
+ */
844
+ pitPolicy: PITPolicyRule[] | undefined;
845
+ /**
846
+ * <p>A set of tags to be associated with the Replication Configuration Template resource.</p>
847
+ */
848
+ tags?: {
849
+ [key: string]: string;
850
+ };
437
851
  }
438
- export declare namespace DataReplicationInitiationStep {
852
+ export declare namespace CreateReplicationConfigurationTemplateRequest {
439
853
  /**
440
854
  * @internal
441
855
  */
442
- const filterSensitiveLog: (obj: DataReplicationInitiationStep) => any;
856
+ const filterSensitiveLog: (obj: CreateReplicationConfigurationTemplateRequest) => any;
443
857
  }
444
- /**
445
- * <p>Data replication initiation.</p>
446
- */
447
- export interface DataReplicationInitiation {
858
+ export interface ReplicationConfigurationTemplate {
448
859
  /**
449
- * <p>The date and time of the current attempt to initiate data replication.</p>
860
+ * <p>The Replication Configuration Template ID.</p>
450
861
  */
451
- startDateTime?: string;
862
+ replicationConfigurationTemplateID: string | undefined;
452
863
  /**
453
- * <p>The date and time of the next attempt to initiate data replication.</p>
864
+ * <p>The Replication Configuration Template ARN.</p>
454
865
  */
455
- nextAttemptDateTime?: string;
866
+ arn?: string;
456
867
  /**
457
- * <p>The steps of the current attempt to initiate data replication.</p>
868
+ * <p>The subnet to be used by the replication staging area.</p>
458
869
  */
459
- steps?: DataReplicationInitiationStep[];
460
- }
461
- export declare namespace DataReplicationInitiation {
870
+ stagingAreaSubnetId?: string;
462
871
  /**
463
- * @internal
872
+ * <p>Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.</p>
464
873
  */
465
- const filterSensitiveLog: (obj: DataReplicationInitiation) => any;
466
- }
467
- export declare enum DataReplicationState {
468
- BACKLOG = "BACKLOG",
469
- CONTINUOUS = "CONTINUOUS",
470
- CREATING_SNAPSHOT = "CREATING_SNAPSHOT",
471
- DISCONNECTED = "DISCONNECTED",
472
- INITIAL_SYNC = "INITIAL_SYNC",
473
- INITIATING = "INITIATING",
474
- PAUSED = "PAUSED",
475
- RESCAN = "RESCAN",
476
- STALLED = "STALLED",
477
- STOPPED = "STOPPED"
478
- }
479
- /**
480
- * <p>A disk that should be replicated.</p>
481
- */
482
- export interface DataReplicationInfoReplicatedDisk {
874
+ associateDefaultSecurityGroup?: boolean;
483
875
  /**
484
- * <p>The name of the device.</p>
876
+ * <p>The security group IDs that will be used by the replication server.</p>
485
877
  */
486
- deviceName?: string;
878
+ replicationServersSecurityGroupsIDs?: string[];
487
879
  /**
488
- * <p>The total amount of data to be replicated in bytes.</p>
880
+ * <p>The instance type to be used for the replication server.</p>
489
881
  */
490
- totalStorageBytes?: number;
882
+ replicationServerInstanceType?: string;
491
883
  /**
492
- * <p>The amount of data replicated so far in bytes.</p>
884
+ * <p>Whether to use a dedicated Replication Server in the replication staging area.</p>
493
885
  */
494
- replicatedStorageBytes?: number;
886
+ useDedicatedReplicationServer?: boolean;
495
887
  /**
496
- * <p>The amount of data to be rescanned in bytes.</p>
888
+ * <p>The Staging Disk EBS volume type to be used during replication.</p>
497
889
  */
498
- rescannedStorageBytes?: number;
890
+ defaultLargeStagingDiskType?: ReplicationConfigurationDefaultLargeStagingDiskType | string;
499
891
  /**
500
- * <p>The size of the replication backlog in bytes.</p>
892
+ * <p>The type of EBS encryption to be used during replication.</p>
501
893
  */
502
- backloggedStorageBytes?: number;
503
- }
504
- export declare namespace DataReplicationInfoReplicatedDisk {
894
+ ebsEncryption?: ReplicationConfigurationEbsEncryption | string;
505
895
  /**
506
- * @internal
896
+ * <p>The ARN of the EBS encryption key to be used during replication.</p>
507
897
  */
508
- const filterSensitiveLog: (obj: DataReplicationInfoReplicatedDisk) => any;
509
- }
510
- /**
511
- * <p>Information about Data Replication</p>
512
- */
513
- export interface DataReplicationInfo {
898
+ ebsEncryptionKeyArn?: string;
514
899
  /**
515
- * <p>Data replication lag duration.</p>
900
+ * <p>Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.</p>
516
901
  */
517
- lagDuration?: string;
902
+ bandwidthThrottling?: number;
518
903
  /**
519
- * <p>An estimate of when the data replication will be completed.</p>
904
+ * <p>The data plane routing mechanism that will be used for replication.</p>
520
905
  */
521
- etaDateTime?: string;
906
+ dataPlaneRouting?: ReplicationConfigurationDataPlaneRouting | string;
522
907
  /**
523
- * <p>The disks that should be replicated.</p>
908
+ * <p>Whether to create a Public IP for the Recovery Instance by default.</p>
524
909
  */
525
- replicatedDisks?: DataReplicationInfoReplicatedDisk[];
910
+ createPublicIP?: boolean;
526
911
  /**
527
- * <p>The state of the data replication.</p>
912
+ * <p>A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.</p>
528
913
  */
529
- dataReplicationState?: DataReplicationState | string;
914
+ stagingAreaTags?: {
915
+ [key: string]: string;
916
+ };
530
917
  /**
531
- * <p>Information about whether the data replication has been initiated.</p>
918
+ * <p>A set of tags to be associated with the Replication Configuration Template resource.</p>
532
919
  */
533
- dataReplicationInitiation?: DataReplicationInitiation;
920
+ tags?: {
921
+ [key: string]: string;
922
+ };
534
923
  /**
535
- * <p>Error in data replication.</p>
924
+ * <p>The Point in time (PIT) policy to manage snapshots taken during replication.</p>
536
925
  */
537
- dataReplicationError?: DataReplicationError;
926
+ pitPolicy?: PITPolicyRule[];
538
927
  }
539
- export declare namespace DataReplicationInfo {
928
+ export declare namespace ReplicationConfigurationTemplate {
540
929
  /**
541
930
  * @internal
542
931
  */
543
- const filterSensitiveLog: (obj: DataReplicationInfo) => any;
932
+ const filterSensitiveLog: (obj: ReplicationConfigurationTemplate) => any;
544
933
  }
545
934
  export interface DeleteJobRequest {
546
935
  /**
@@ -562,26 +951,6 @@ export declare namespace DeleteJobResponse {
562
951
  */
563
952
  const filterSensitiveLog: (obj: DeleteJobResponse) => any;
564
953
  }
565
- /**
566
- * <p>The resource for this operation was not found.</p>
567
- */
568
- export declare class ResourceNotFoundException extends __BaseException {
569
- readonly name: "ResourceNotFoundException";
570
- readonly $fault: "client";
571
- code?: string;
572
- /**
573
- * <p>The ID of the resource.</p>
574
- */
575
- resourceId?: string;
576
- /**
577
- * <p>The type of the resource.</p>
578
- */
579
- resourceType?: string;
580
- /**
581
- * @internal
582
- */
583
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
584
- }
585
954
  export interface DeleteRecoveryInstanceRequest {
586
955
  /**
587
956
  * <p>RThe ID of the Recovery Instance to be deleted.</p>
@@ -693,6 +1062,10 @@ export interface JobLogEventData {
693
1062
  * <p>A string representing a job error.</p>
694
1063
  */
695
1064
  rawError?: string;
1065
+ /**
1066
+ * <p>Properties of a conversion job</p>
1067
+ */
1068
+ conversionProperties?: ConversionProperties;
696
1069
  }
697
1070
  export declare namespace JobLogEventData {
698
1071
  /**
@@ -766,7 +1139,7 @@ export interface DescribeJobsRequest {
766
1139
  /**
767
1140
  * <p>A set of filters by which to return Jobs.</p>
768
1141
  */
769
- filters: DescribeJobsRequestFilters | undefined;
1142
+ filters?: DescribeJobsRequestFilters;
770
1143
  /**
771
1144
  * <p>Maximum number of Jobs to retrieve.</p>
772
1145
  */
@@ -787,6 +1160,7 @@ export declare enum InitiatedBy {
787
1160
  FAILBACK = "FAILBACK",
788
1161
  START_DRILL = "START_DRILL",
789
1162
  START_RECOVERY = "START_RECOVERY",
1163
+ TARGET_ACCOUNT = "TARGET_ACCOUNT",
790
1164
  TERMINATE_RECOVERY_INSTANCES = "TERMINATE_RECOVERY_INSTANCES"
791
1165
  }
792
1166
  export declare enum LaunchStatus {
@@ -825,6 +1199,7 @@ export declare enum JobStatus {
825
1199
  STARTED = "STARTED"
826
1200
  }
827
1201
  export declare enum JobType {
1202
+ CREATE_CONVERTED_SNAPSHOT = "CREATE_CONVERTED_SNAPSHOT",
828
1203
  LAUNCH = "LAUNCH",
829
1204
  TERMINATE = "TERMINATE"
830
1205
  }
@@ -916,7 +1291,7 @@ export interface DescribeRecoveryInstancesRequest {
916
1291
  /**
917
1292
  * <p>A set of filters by which to return Recovery Instances.</p>
918
1293
  */
919
- filters: DescribeRecoveryInstancesRequestFilters | undefined;
1294
+ filters?: DescribeRecoveryInstancesRequestFilters;
920
1295
  /**
921
1296
  * <p>Maximum number of Recovery Instances to retrieve.</p>
922
1297
  */
@@ -1119,131 +1494,66 @@ export interface RecoveryInstanceFailback {
1119
1494
  */
1120
1495
  failbackClientID?: string;
1121
1496
  /**
1122
- * <p>The Job ID of the last failback log for this Recovery Instance.</p>
1123
- */
1124
- failbackJobID?: string;
1125
- /**
1126
- * <p>The date and time that the failback initiation started.</p>
1127
- */
1128
- failbackInitiationTime?: string;
1129
- /**
1130
- * <p>The state of the failback process that this Recovery Instance is in.</p>
1131
- */
1132
- state?: FailbackState | string;
1133
- /**
1134
- * <p>The date and time the agent on the Recovery Instance was last seen by the service.</p>
1135
- */
1136
- agentLastSeenByServiceDateTime?: string;
1137
- /**
1138
- * <p>The date and time that the failback client was last seen by the service.</p>
1139
- */
1140
- failbackClientLastSeenByServiceDateTime?: string;
1141
- /**
1142
- * <p>Whether we are failing back to the original Source Server for this Recovery Instance.</p>
1143
- */
1144
- failbackToOriginalServer?: boolean;
1145
- /**
1146
- * <p>The date and time of the first byte that was replicated from the Recovery Instance.</p>
1147
- */
1148
- firstByteDateTime?: string;
1149
- /**
1150
- * <p>The amount of time that the Recovery Instance has been replicating for.</p>
1151
- */
1152
- elapsedReplicationDuration?: string;
1153
- }
1154
- export declare namespace RecoveryInstanceFailback {
1155
- /**
1156
- * @internal
1157
- */
1158
- const filterSensitiveLog: (obj: RecoveryInstanceFailback) => any;
1159
- }
1160
- /**
1161
- * <p>An object representing a block storage device on the Recovery Instance.</p>
1162
- */
1163
- export interface RecoveryInstanceDisk {
1164
- /**
1165
- * <p>The internal device name of this disk. This is the name that is visible on the machine itself and not from the EC2 console.</p>
1166
- */
1167
- internalDeviceName?: string;
1168
- /**
1169
- * <p>The amount of storage on the disk in bytes.</p>
1170
- */
1171
- bytes?: number;
1172
- /**
1173
- * <p>The EBS Volume ID of this disk.</p>
1174
- */
1175
- ebsVolumeID?: string;
1176
- }
1177
- export declare namespace RecoveryInstanceDisk {
1178
- /**
1179
- * @internal
1180
- */
1181
- const filterSensitiveLog: (obj: RecoveryInstanceDisk) => any;
1182
- }
1183
- /**
1184
- * <p>Hints used to uniquely identify a machine.</p>
1185
- */
1186
- export interface IdentificationHints {
1187
- /**
1188
- * <p>Fully Qualified Domain Name identification hint.</p>
1497
+ * <p>The Job ID of the last failback log for this Recovery Instance.</p>
1189
1498
  */
1190
- fqdn?: string;
1499
+ failbackJobID?: string;
1191
1500
  /**
1192
- * <p>Hostname identification hint.</p>
1501
+ * <p>The date and time that the failback initiation started.</p>
1193
1502
  */
1194
- hostname?: string;
1503
+ failbackInitiationTime?: string;
1195
1504
  /**
1196
- * <p>vCenter VM path identification hint.</p>
1505
+ * <p>The state of the failback process that this Recovery Instance is in.</p>
1197
1506
  */
1198
- vmWareUuid?: string;
1507
+ state?: FailbackState | string;
1199
1508
  /**
1200
- * <p>AWS Instance ID identification hint.</p>
1509
+ * <p>The date and time the agent on the Recovery Instance was last seen by the service.</p>
1201
1510
  */
1202
- awsInstanceID?: string;
1203
- }
1204
- export declare namespace IdentificationHints {
1511
+ agentLastSeenByServiceDateTime?: string;
1205
1512
  /**
1206
- * @internal
1513
+ * <p>The date and time that the failback client was last seen by the service.</p>
1207
1514
  */
1208
- const filterSensitiveLog: (obj: IdentificationHints) => any;
1209
- }
1210
- /**
1211
- * <p>Network interface.</p>
1212
- */
1213
- export interface NetworkInterface {
1515
+ failbackClientLastSeenByServiceDateTime?: string;
1214
1516
  /**
1215
- * <p>The MAC address of the network interface.</p>
1517
+ * <p>Whether we are failing back to the original Source Server for this Recovery Instance.</p>
1216
1518
  */
1217
- macAddress?: string;
1519
+ failbackToOriginalServer?: boolean;
1218
1520
  /**
1219
- * <p>Network interface IPs.</p>
1521
+ * <p>The date and time of the first byte that was replicated from the Recovery Instance.</p>
1220
1522
  */
1221
- ips?: string[];
1523
+ firstByteDateTime?: string;
1222
1524
  /**
1223
- * <p>Whether this is the primary network interface.</p>
1525
+ * <p>The amount of time that the Recovery Instance has been replicating for.</p>
1224
1526
  */
1225
- isPrimary?: boolean;
1527
+ elapsedReplicationDuration?: string;
1226
1528
  }
1227
- export declare namespace NetworkInterface {
1529
+ export declare namespace RecoveryInstanceFailback {
1228
1530
  /**
1229
1531
  * @internal
1230
1532
  */
1231
- const filterSensitiveLog: (obj: NetworkInterface) => any;
1533
+ const filterSensitiveLog: (obj: RecoveryInstanceFailback) => any;
1232
1534
  }
1233
1535
  /**
1234
- * <p>Operating System.</p>
1536
+ * <p>An object representing a block storage device on the Recovery Instance.</p>
1235
1537
  */
1236
- export interface OS {
1538
+ export interface RecoveryInstanceDisk {
1237
1539
  /**
1238
- * <p>The long name of the Operating System.</p>
1540
+ * <p>The internal device name of this disk. This is the name that is visible on the machine itself and not from the EC2 console.</p>
1239
1541
  */
1240
- fullString?: string;
1542
+ internalDeviceName?: string;
1543
+ /**
1544
+ * <p>The amount of storage on the disk in bytes.</p>
1545
+ */
1546
+ bytes?: number;
1547
+ /**
1548
+ * <p>The EBS Volume ID of this disk.</p>
1549
+ */
1550
+ ebsVolumeID?: string;
1241
1551
  }
1242
- export declare namespace OS {
1552
+ export declare namespace RecoveryInstanceDisk {
1243
1553
  /**
1244
1554
  * @internal
1245
1555
  */
1246
- const filterSensitiveLog: (obj: OS) => any;
1556
+ const filterSensitiveLog: (obj: RecoveryInstanceDisk) => any;
1247
1557
  }
1248
1558
  /**
1249
1559
  * <p>Properties of the Recovery Instance machine.</p>
@@ -1463,7 +1773,7 @@ export interface DescribeReplicationConfigurationTemplatesRequest {
1463
1773
  /**
1464
1774
  * <p>The IDs of the Replication Configuration Templates to retrieve. An empty list means all Replication Configuration Templates.</p>
1465
1775
  */
1466
- replicationConfigurationTemplateIDs: string[] | undefined;
1776
+ replicationConfigurationTemplateIDs?: string[];
1467
1777
  /**
1468
1778
  * <p>Maximum number of Replication Configuration Templates to retrieve.</p>
1469
1779
  */
@@ -1507,6 +1817,10 @@ export interface DescribeSourceServersRequestFilters {
1507
1817
  * <p>An ID that describes the hardware of the Source Server. This is either an EC2 instance id, a VMware uuid or a mac address.</p>
1508
1818
  */
1509
1819
  hardwareId?: string;
1820
+ /**
1821
+ * <p>An array of staging account IDs that extended source servers belong to. An empty array means all source servers will be shown.</p>
1822
+ */
1823
+ stagingAccountIDs?: string[];
1510
1824
  }
1511
1825
  export declare namespace DescribeSourceServersRequestFilters {
1512
1826
  /**
@@ -1518,7 +1832,7 @@ export interface DescribeSourceServersRequest {
1518
1832
  /**
1519
1833
  * <p>A set of filters by which to return Source Servers.</p>
1520
1834
  */
1521
- filters: DescribeSourceServersRequestFilters | undefined;
1835
+ filters?: DescribeSourceServersRequestFilters;
1522
1836
  /**
1523
1837
  * <p>Maximum number of Source Servers to retrieve.</p>
1524
1838
  */
@@ -1534,244 +1848,154 @@ export declare namespace DescribeSourceServersRequest {
1534
1848
  */
1535
1849
  const filterSensitiveLog: (obj: DescribeSourceServersRequest) => any;
1536
1850
  }
1537
- export declare enum LastLaunchResult {
1538
- FAILED = "FAILED",
1539
- NOT_STARTED = "NOT_STARTED",
1540
- PENDING = "PENDING",
1541
- SUCCEEDED = "SUCCEEDED"
1542
- }
1543
- export declare enum LastLaunchType {
1544
- DRILL = "DRILL",
1545
- RECOVERY = "RECOVERY"
1546
- }
1547
- /**
1548
- * <p>An object containing information regarding the initiation of the last launch of a Source Server.</p>
1549
- */
1550
- export interface LifeCycleLastLaunchInitiated {
1551
- /**
1552
- * <p>The date and time the last Source Server launch was initiated.</p>
1553
- */
1554
- apiCallDateTime?: string;
1851
+ export interface DescribeSourceServersResponse {
1555
1852
  /**
1556
- * <p>The ID of the Job that was used to last launch the Source Server.</p>
1853
+ * <p>An array of Source Servers.</p>
1557
1854
  */
1558
- jobID?: string;
1855
+ items?: SourceServer[];
1559
1856
  /**
1560
- * <p>The Job type that was used to last launch the Source Server.</p>
1857
+ * <p>The token of the next Source Server to retrieve.</p>
1561
1858
  */
1562
- type?: LastLaunchType | string;
1859
+ nextToken?: string;
1563
1860
  }
1564
- export declare namespace LifeCycleLastLaunchInitiated {
1861
+ export declare namespace DescribeSourceServersResponse {
1565
1862
  /**
1566
1863
  * @internal
1567
1864
  */
1568
- const filterSensitiveLog: (obj: LifeCycleLastLaunchInitiated) => any;
1865
+ const filterSensitiveLog: (obj: DescribeSourceServersResponse) => any;
1569
1866
  }
1570
- /**
1571
- * <p>An object containing information regarding the last launch of a Source Server.</p>
1572
- */
1573
- export interface LifeCycleLastLaunch {
1867
+ export interface DisconnectRecoveryInstanceRequest {
1574
1868
  /**
1575
- * <p>An object containing information regarding the initiation of the last launch of a Source Server.</p>
1869
+ * <p>The ID of the Recovery Instance to disconnect.</p>
1576
1870
  */
1577
- initiated?: LifeCycleLastLaunchInitiated;
1871
+ recoveryInstanceID: string | undefined;
1578
1872
  }
1579
- export declare namespace LifeCycleLastLaunch {
1873
+ export declare namespace DisconnectRecoveryInstanceRequest {
1580
1874
  /**
1581
1875
  * @internal
1582
1876
  */
1583
- const filterSensitiveLog: (obj: LifeCycleLastLaunch) => any;
1877
+ const filterSensitiveLog: (obj: DisconnectRecoveryInstanceRequest) => any;
1584
1878
  }
1585
- /**
1586
- * <p>An object representing the Source Server Lifecycle.</p>
1587
- */
1588
- export interface LifeCycle {
1589
- /**
1590
- * <p>The date and time of when the Source Server was added to the service.</p>
1591
- */
1592
- addedToServiceDateTime?: string;
1593
- /**
1594
- * <p>The date and time of the first byte that was replicated from the Source Server.</p>
1595
- */
1596
- firstByteDateTime?: string;
1597
- /**
1598
- * <p>The amount of time that the Source Server has been replicating for.</p>
1599
- */
1600
- elapsedReplicationDuration?: string;
1601
- /**
1602
- * <p>The date and time this Source Server was last seen by the service.</p>
1603
- */
1604
- lastSeenByServiceDateTime?: string;
1879
+ export interface DisconnectSourceServerRequest {
1605
1880
  /**
1606
- * <p>An object containing information regarding the last launch of the Source Server.</p>
1881
+ * <p>The ID of the Source Server to disconnect.</p>
1607
1882
  */
1608
- lastLaunch?: LifeCycleLastLaunch;
1883
+ sourceServerID: string | undefined;
1609
1884
  }
1610
- export declare namespace LifeCycle {
1885
+ export declare namespace DisconnectSourceServerRequest {
1611
1886
  /**
1612
1887
  * @internal
1613
1888
  */
1614
- const filterSensitiveLog: (obj: LifeCycle) => any;
1889
+ const filterSensitiveLog: (obj: DisconnectSourceServerRequest) => any;
1615
1890
  }
1616
- /**
1617
- * <p>An object representing a data storage device on a server.</p>
1618
- */
1619
- export interface Disk {
1620
- /**
1621
- * <p>The disk or device name.</p>
1622
- */
1623
- deviceName?: string;
1624
- /**
1625
- * <p>The amount of storage on the disk in bytes.</p>
1626
- */
1627
- bytes?: number;
1891
+ export interface InitializeServiceRequest {
1628
1892
  }
1629
- export declare namespace Disk {
1893
+ export declare namespace InitializeServiceRequest {
1630
1894
  /**
1631
1895
  * @internal
1632
1896
  */
1633
- const filterSensitiveLog: (obj: Disk) => any;
1897
+ const filterSensitiveLog: (obj: InitializeServiceRequest) => any;
1634
1898
  }
1635
- /**
1636
- * <p>Properties of the Source Server machine.</p>
1637
- */
1638
- export interface SourceProperties {
1639
- /**
1640
- * <p>The date and time the Source Properties were last updated on.</p>
1641
- */
1642
- lastUpdatedDateTime?: string;
1643
- /**
1644
- * <p>The recommended EC2 instance type that will be used when recovering the Source Server.</p>
1645
- */
1646
- recommendedInstanceType?: string;
1647
- /**
1648
- * <p>Hints used to uniquely identify a machine.</p>
1649
- */
1650
- identificationHints?: IdentificationHints;
1651
- /**
1652
- * <p>An array of network interfaces.</p>
1653
- */
1654
- networkInterfaces?: NetworkInterface[];
1899
+ export interface InitializeServiceResponse {
1900
+ }
1901
+ export declare namespace InitializeServiceResponse {
1655
1902
  /**
1656
- * <p>An array of disks.</p>
1903
+ * @internal
1657
1904
  */
1658
- disks?: Disk[];
1905
+ const filterSensitiveLog: (obj: InitializeServiceResponse) => any;
1906
+ }
1907
+ export interface ListExtensibleSourceServersRequest {
1659
1908
  /**
1660
- * <p>An array of CPUs.</p>
1909
+ * <p>The Id of the staging Account to retrieve extensible source servers from.</p>
1661
1910
  */
1662
- cpus?: CPU[];
1911
+ stagingAccountID: string | undefined;
1663
1912
  /**
1664
- * <p>The amount of RAM in bytes.</p>
1913
+ * <p>The maximum number of extensible source servers to retrieve.</p>
1665
1914
  */
1666
- ramBytes?: number;
1915
+ maxResults?: number;
1667
1916
  /**
1668
- * <p>Operating system.</p>
1917
+ * <p>The token of the next extensible source server to retrieve.</p>
1669
1918
  */
1670
- os?: OS;
1919
+ nextToken?: string;
1671
1920
  }
1672
- export declare namespace SourceProperties {
1921
+ export declare namespace ListExtensibleSourceServersRequest {
1673
1922
  /**
1674
1923
  * @internal
1675
1924
  */
1676
- const filterSensitiveLog: (obj: SourceProperties) => any;
1925
+ const filterSensitiveLog: (obj: ListExtensibleSourceServersRequest) => any;
1677
1926
  }
1678
- export interface SourceServer {
1927
+ /**
1928
+ * <p>Source server in staging account that extended source server connected to.</p>
1929
+ */
1930
+ export interface StagingSourceServer {
1679
1931
  /**
1680
- * <p>The ID of the Source Server.</p>
1932
+ * <p>Hostname of staging source server.</p>
1681
1933
  */
1682
- sourceServerID?: string;
1934
+ hostname?: string;
1683
1935
  /**
1684
- * <p>The ARN of the Source Server.</p>
1936
+ * <p>The ARN of the source server.</p>
1685
1937
  */
1686
1938
  arn?: string;
1687
1939
  /**
1688
- * <p>The tags associated with the Source Server.</p>
1940
+ * <p>A list of tags associated with the staging source server.</p>
1689
1941
  */
1690
1942
  tags?: {
1691
1943
  [key: string]: string;
1692
1944
  };
1693
- /**
1694
- * <p>The ID of the Recovery Instance associated with this Source Server.</p>
1695
- */
1696
- recoveryInstanceId?: string;
1697
- /**
1698
- * <p>The status of the last recovery launch of this Source Server.</p>
1699
- */
1700
- lastLaunchResult?: LastLaunchResult | string;
1701
- /**
1702
- * <p>The Data Replication Info of the Source Server.</p>
1703
- */
1704
- dataReplicationInfo?: DataReplicationInfo;
1705
- /**
1706
- * <p>The lifecycle information of this Source Server.</p>
1707
- */
1708
- lifeCycle?: LifeCycle;
1709
- /**
1710
- * <p>The source properties of the Source Server.</p>
1711
- */
1712
- sourceProperties?: SourceProperties;
1713
1945
  }
1714
- export declare namespace SourceServer {
1946
+ export declare namespace StagingSourceServer {
1715
1947
  /**
1716
1948
  * @internal
1717
1949
  */
1718
- const filterSensitiveLog: (obj: SourceServer) => any;
1950
+ const filterSensitiveLog: (obj: StagingSourceServer) => any;
1719
1951
  }
1720
- export interface DescribeSourceServersResponse {
1952
+ export interface ListExtensibleSourceServersResponse {
1721
1953
  /**
1722
- * <p>An array of Source Servers.</p>
1954
+ * <p>A list of source servers on a staging Account that are extensible.</p>
1723
1955
  */
1724
- items?: SourceServer[];
1956
+ items?: StagingSourceServer[];
1725
1957
  /**
1726
- * <p>The token of the next Source Server to retrieve.</p>
1958
+ * <p>The token of the next extensible source server to retrieve.</p>
1727
1959
  */
1728
1960
  nextToken?: string;
1729
1961
  }
1730
- export declare namespace DescribeSourceServersResponse {
1962
+ export declare namespace ListExtensibleSourceServersResponse {
1731
1963
  /**
1732
1964
  * @internal
1733
1965
  */
1734
- const filterSensitiveLog: (obj: DescribeSourceServersResponse) => any;
1966
+ const filterSensitiveLog: (obj: ListExtensibleSourceServersResponse) => any;
1735
1967
  }
1736
- export interface DisconnectRecoveryInstanceRequest {
1968
+ export interface ListStagingAccountsRequest {
1737
1969
  /**
1738
- * <p>The ID of the Recovery Instance to disconnect.</p>
1970
+ * <p>The maximum number of staging Accounts to retrieve.</p>
1739
1971
  */
1740
- recoveryInstanceID: string | undefined;
1741
- }
1742
- export declare namespace DisconnectRecoveryInstanceRequest {
1972
+ maxResults?: number;
1743
1973
  /**
1744
- * @internal
1974
+ * <p>The token of the next staging Account to retrieve.</p>
1745
1975
  */
1746
- const filterSensitiveLog: (obj: DisconnectRecoveryInstanceRequest) => any;
1976
+ nextToken?: string;
1747
1977
  }
1748
- export interface DisconnectSourceServerRequest {
1978
+ export declare namespace ListStagingAccountsRequest {
1749
1979
  /**
1750
- * <p>The ID of the Source Server to disconnect.</p>
1980
+ * @internal
1751
1981
  */
1752
- sourceServerID: string | undefined;
1982
+ const filterSensitiveLog: (obj: ListStagingAccountsRequest) => any;
1753
1983
  }
1754
- export declare namespace DisconnectSourceServerRequest {
1984
+ export interface ListStagingAccountsResponse {
1755
1985
  /**
1756
- * @internal
1986
+ * <p>An array of staging AWS Accounts.</p>
1757
1987
  */
1758
- const filterSensitiveLog: (obj: DisconnectSourceServerRequest) => any;
1759
- }
1760
- export interface InitializeServiceRequest {
1761
- }
1762
- export declare namespace InitializeServiceRequest {
1988
+ accounts?: Account[];
1763
1989
  /**
1764
- * @internal
1990
+ * <p>The token of the next staging Account to retrieve.</p>
1765
1991
  */
1766
- const filterSensitiveLog: (obj: InitializeServiceRequest) => any;
1767
- }
1768
- export interface InitializeServiceResponse {
1992
+ nextToken?: string;
1769
1993
  }
1770
- export declare namespace InitializeServiceResponse {
1994
+ export declare namespace ListStagingAccountsResponse {
1771
1995
  /**
1772
1996
  * @internal
1773
1997
  */
1774
- const filterSensitiveLog: (obj: InitializeServiceResponse) => any;
1998
+ const filterSensitiveLog: (obj: ListStagingAccountsResponse) => any;
1775
1999
  }
1776
2000
  export interface ListTagsForResourceRequest {
1777
2001
  /**