@aws-sdk/client-drs 3.427.0 → 3.429.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.
@@ -62,6 +62,7 @@ const se_CreateLaunchConfigurationTemplateCommand = async (input, context) => {
62
62
  copyTags: [],
63
63
  exportBucketArn: [],
64
64
  launchDisposition: [],
65
+ launchIntoSourceInstance: [],
65
66
  licensing: (_) => (0, smithy_client_1._json)(_),
66
67
  postLaunchEnabled: [],
67
68
  tags: (_) => (0, smithy_client_1._json)(_),
@@ -1050,6 +1051,7 @@ const se_UpdateLaunchConfigurationCommand = async (input, context) => {
1050
1051
  copyPrivateIp: [],
1051
1052
  copyTags: [],
1052
1053
  launchDisposition: [],
1054
+ launchIntoInstanceProperties: (_) => (0, smithy_client_1._json)(_),
1053
1055
  licensing: (_) => (0, smithy_client_1._json)(_),
1054
1056
  name: [],
1055
1057
  postLaunchEnabled: [],
@@ -1080,6 +1082,7 @@ const se_UpdateLaunchConfigurationTemplateCommand = async (input, context) => {
1080
1082
  exportBucketArn: [],
1081
1083
  launchConfigurationTemplateID: [],
1082
1084
  launchDisposition: [],
1085
+ launchIntoSourceInstance: [],
1083
1086
  licensing: (_) => (0, smithy_client_1._json)(_),
1084
1087
  postLaunchEnabled: [],
1085
1088
  targetInstanceTypeRightSizingMethod: [],
@@ -2304,6 +2307,7 @@ const de_GetLaunchConfigurationCommand = async (output, context) => {
2304
2307
  copyTags: smithy_client_1.expectBoolean,
2305
2308
  ec2LaunchTemplateID: smithy_client_1.expectString,
2306
2309
  launchDisposition: smithy_client_1.expectString,
2310
+ launchIntoInstanceProperties: smithy_client_1._json,
2307
2311
  licensing: smithy_client_1._json,
2308
2312
  name: smithy_client_1.expectString,
2309
2313
  postLaunchEnabled: smithy_client_1.expectBoolean,
@@ -3355,6 +3359,7 @@ const de_UpdateLaunchConfigurationCommand = async (output, context) => {
3355
3359
  copyTags: smithy_client_1.expectBoolean,
3356
3360
  ec2LaunchTemplateID: smithy_client_1.expectString,
3357
3361
  launchDisposition: smithy_client_1.expectString,
3362
+ launchIntoInstanceProperties: smithy_client_1._json,
3358
3363
  licensing: smithy_client_1._json,
3359
3364
  name: smithy_client_1.expectString,
3360
3365
  postLaunchEnabled: smithy_client_1.expectBoolean,
@@ -56,6 +56,7 @@ export const se_CreateLaunchConfigurationTemplateCommand = async (input, context
56
56
  copyTags: [],
57
57
  exportBucketArn: [],
58
58
  launchDisposition: [],
59
+ launchIntoSourceInstance: [],
59
60
  licensing: (_) => _json(_),
60
61
  postLaunchEnabled: [],
61
62
  tags: (_) => _json(_),
@@ -1000,6 +1001,7 @@ export const se_UpdateLaunchConfigurationCommand = async (input, context) => {
1000
1001
  copyPrivateIp: [],
1001
1002
  copyTags: [],
1002
1003
  launchDisposition: [],
1004
+ launchIntoInstanceProperties: (_) => _json(_),
1003
1005
  licensing: (_) => _json(_),
1004
1006
  name: [],
1005
1007
  postLaunchEnabled: [],
@@ -1029,6 +1031,7 @@ export const se_UpdateLaunchConfigurationTemplateCommand = async (input, context
1029
1031
  exportBucketArn: [],
1030
1032
  launchConfigurationTemplateID: [],
1031
1033
  launchDisposition: [],
1034
+ launchIntoSourceInstance: [],
1032
1035
  licensing: (_) => _json(_),
1033
1036
  postLaunchEnabled: [],
1034
1037
  targetInstanceTypeRightSizingMethod: [],
@@ -2226,6 +2229,7 @@ export const de_GetLaunchConfigurationCommand = async (output, context) => {
2226
2229
  copyTags: __expectBoolean,
2227
2230
  ec2LaunchTemplateID: __expectString,
2228
2231
  launchDisposition: __expectString,
2232
+ launchIntoInstanceProperties: _json,
2229
2233
  licensing: _json,
2230
2234
  name: __expectString,
2231
2235
  postLaunchEnabled: __expectBoolean,
@@ -3255,6 +3259,7 @@ export const de_UpdateLaunchConfigurationCommand = async (output, context) => {
3255
3259
  copyTags: __expectBoolean,
3256
3260
  ec2LaunchTemplateID: __expectString,
3257
3261
  launchDisposition: __expectString,
3262
+ launchIntoInstanceProperties: _json,
3258
3263
  licensing: _json,
3259
3264
  name: __expectString,
3260
3265
  postLaunchEnabled: __expectBoolean,
@@ -43,6 +43,7 @@ export interface CreateLaunchConfigurationTemplateCommandOutput extends CreateLa
43
43
  * },
44
44
  * exportBucketArn: "STRING_VALUE",
45
45
  * postLaunchEnabled: true || false,
46
+ * launchIntoSourceInstance: true || false,
46
47
  * };
47
48
  * const command = new CreateLaunchConfigurationTemplateCommand(input);
48
49
  * const response = await client.send(command);
@@ -62,6 +63,7 @@ export interface CreateLaunchConfigurationTemplateCommandOutput extends CreateLa
62
63
  * // },
63
64
  * // exportBucketArn: "STRING_VALUE",
64
65
  * // postLaunchEnabled: true || false,
66
+ * // launchIntoSourceInstance: true || false,
65
67
  * // },
66
68
  * // };
67
69
  *
@@ -56,6 +56,7 @@ export interface DescribeLaunchConfigurationTemplatesCommandOutput extends Descr
56
56
  * // },
57
57
  * // exportBucketArn: "STRING_VALUE",
58
58
  * // postLaunchEnabled: true || false,
59
+ * // launchIntoSourceInstance: true || false,
59
60
  * // },
60
61
  * // ],
61
62
  * // nextToken: "STRING_VALUE",
@@ -47,6 +47,9 @@ export interface GetLaunchConfigurationCommandOutput extends LaunchConfiguration
47
47
  * // osByol: true || false,
48
48
  * // },
49
49
  * // postLaunchEnabled: true || false,
50
+ * // launchIntoInstanceProperties: { // LaunchIntoInstanceProperties
51
+ * // launchIntoEC2InstanceID: "STRING_VALUE",
52
+ * // },
50
53
  * // };
51
54
  *
52
55
  * ```
@@ -46,7 +46,7 @@ export interface PutLaunchActionCommandOutput extends PutLaunchActionResponse, _
46
46
  * type: "STRING_VALUE",
47
47
  * },
48
48
  * },
49
- * description: "STRING_VALUE",
49
+ * description: "STRING_VALUE", // required
50
50
  * };
51
51
  * const command = new PutLaunchActionCommand(input);
52
52
  * const response = await client.send(command);
@@ -41,6 +41,9 @@ export interface UpdateLaunchConfigurationCommandOutput extends LaunchConfigurat
41
41
  * osByol: true || false,
42
42
  * },
43
43
  * postLaunchEnabled: true || false,
44
+ * launchIntoInstanceProperties: { // LaunchIntoInstanceProperties
45
+ * launchIntoEC2InstanceID: "STRING_VALUE",
46
+ * },
44
47
  * };
45
48
  * const command = new UpdateLaunchConfigurationCommand(input);
46
49
  * const response = await client.send(command);
@@ -56,6 +59,9 @@ export interface UpdateLaunchConfigurationCommandOutput extends LaunchConfigurat
56
59
  * // osByol: true || false,
57
60
  * // },
58
61
  * // postLaunchEnabled: true || false,
62
+ * // launchIntoInstanceProperties: { // LaunchIntoInstanceProperties
63
+ * // launchIntoEC2InstanceID: "STRING_VALUE",
64
+ * // },
59
65
  * // };
60
66
  *
61
67
  * ```
@@ -41,6 +41,7 @@ export interface UpdateLaunchConfigurationTemplateCommandOutput extends UpdateLa
41
41
  * },
42
42
  * exportBucketArn: "STRING_VALUE",
43
43
  * postLaunchEnabled: true || false,
44
+ * launchIntoSourceInstance: true || false,
44
45
  * };
45
46
  * const command = new UpdateLaunchConfigurationTemplateCommand(input);
46
47
  * const response = await client.send(command);
@@ -60,6 +61,7 @@ export interface UpdateLaunchConfigurationTemplateCommandOutput extends UpdateLa
60
61
  * // },
61
62
  * // exportBucketArn: "STRING_VALUE",
62
63
  * // postLaunchEnabled: true || false,
64
+ * // launchIntoSourceInstance: true || false,
63
65
  * // },
64
66
  * // };
65
67
  *
@@ -117,7 +117,7 @@ export interface ParticipatingResource {
117
117
  * @public
118
118
  * <p>The launch status of a participating resource.</p>
119
119
  */
120
- launchStatus?: LaunchStatus | string;
120
+ launchStatus?: LaunchStatus;
121
121
  }
122
122
  /**
123
123
  * @public
@@ -160,7 +160,7 @@ export interface LaunchActionParameter {
160
160
  * @public
161
161
  * <p>Type.</p>
162
162
  */
163
- type?: LaunchActionParameterType | string;
163
+ type?: LaunchActionParameterType;
164
164
  }
165
165
  /**
166
166
  * @public
@@ -193,7 +193,7 @@ export interface LaunchAction {
193
193
  * @public
194
194
  * <p>Launch action type.</p>
195
195
  */
196
- type?: LaunchActionType | string;
196
+ type?: LaunchActionType;
197
197
  /**
198
198
  * @public
199
199
  * <p>Launch action name.</p>
@@ -233,7 +233,7 @@ export interface LaunchAction {
233
233
  * @public
234
234
  * <p>Launch action category.</p>
235
235
  */
236
- category?: LaunchActionCategory | string;
236
+ category?: LaunchActionCategory;
237
237
  }
238
238
  /**
239
239
  * @public
@@ -267,7 +267,7 @@ export interface LaunchActionRun {
267
267
  * @public
268
268
  * <p>Run status.</p>
269
269
  */
270
- status?: LaunchActionRunStatus | string;
270
+ status?: LaunchActionRunStatus;
271
271
  /**
272
272
  * @public
273
273
  * <p>Failure reason.</p>
@@ -309,7 +309,7 @@ export interface ParticipatingServer {
309
309
  * @public
310
310
  * <p>The launch status of a participating server.</p>
311
311
  */
312
- launchStatus?: LaunchStatus | string;
312
+ launchStatus?: LaunchStatus;
313
313
  /**
314
314
  * @public
315
315
  * <p>The post-launch action runs of a participating server.</p>
@@ -361,12 +361,12 @@ export interface Job {
361
361
  * @public
362
362
  * <p>The type of the Job.</p>
363
363
  */
364
- type?: JobType | string;
364
+ type?: JobType;
365
365
  /**
366
366
  * @public
367
367
  * <p>A string representing who initiated the Job.</p>
368
368
  */
369
- initiatedBy?: InitiatedBy | string;
369
+ initiatedBy?: InitiatedBy;
370
370
  /**
371
371
  * @public
372
372
  * <p>The date and time of when the Job was created.</p>
@@ -381,7 +381,7 @@ export interface Job {
381
381
  * @public
382
382
  * <p>The status of the Job.</p>
383
383
  */
384
- status?: JobStatus | string;
384
+ status?: JobStatus;
385
385
  /**
386
386
  * @public
387
387
  * <p>A list of servers that the Job is acting upon.</p>
@@ -586,7 +586,7 @@ export declare class ValidationException extends __BaseException {
586
586
  * @public
587
587
  * <p>Validation exception reason.</p>
588
588
  */
589
- reason?: ValidationExceptionReason | string;
589
+ reason?: ValidationExceptionReason;
590
590
  /**
591
591
  * @public
592
592
  * <p>A list of fields that failed validation.</p>
@@ -692,7 +692,7 @@ export interface DataReplicationError {
692
692
  * @public
693
693
  * <p>Error in data replication.</p>
694
694
  */
695
- error?: DataReplicationErrorString | string;
695
+ error?: DataReplicationErrorString;
696
696
  /**
697
697
  * @public
698
698
  * <p>Error in data replication.</p>
@@ -744,12 +744,12 @@ export interface DataReplicationInitiationStep {
744
744
  * @public
745
745
  * <p>The name of the step.</p>
746
746
  */
747
- name?: DataReplicationInitiationStepName | string;
747
+ name?: DataReplicationInitiationStepName;
748
748
  /**
749
749
  * @public
750
750
  * <p>The status of the step.</p>
751
751
  */
752
- status?: DataReplicationInitiationStepStatus | string;
752
+ status?: DataReplicationInitiationStepStatus;
753
753
  }
754
754
  /**
755
755
  * @public
@@ -847,7 +847,7 @@ export interface DataReplicationInfo {
847
847
  * @public
848
848
  * <p>The state of the data replication.</p>
849
849
  */
850
- dataReplicationState?: DataReplicationState | string;
850
+ dataReplicationState?: DataReplicationState;
851
851
  /**
852
852
  * @public
853
853
  * <p>Information about whether the data replication has been initiated.</p>
@@ -909,7 +909,7 @@ export interface LifeCycleLastLaunchInitiated {
909
909
  * @public
910
910
  * <p>The Job type that was used to last launch the Source Server.</p>
911
911
  */
912
- type?: LastLaunchType | string;
912
+ type?: LastLaunchType;
913
913
  }
914
914
  /**
915
915
  * @public
@@ -925,7 +925,7 @@ export interface LifeCycleLastLaunch {
925
925
  * @public
926
926
  * <p>Status of Source Server's last launch.</p>
927
927
  */
928
- status?: LaunchStatus | string;
928
+ status?: LaunchStatus;
929
929
  }
930
930
  /**
931
931
  * @public
@@ -1141,7 +1141,7 @@ export interface StagingArea {
1141
1141
  * (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.
1142
1142
  * (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>
1143
1143
  */
1144
- status?: ExtensionStatus | string;
1144
+ status?: ExtensionStatus;
1145
1145
  /**
1146
1146
  * @public
1147
1147
  * <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>
@@ -1186,7 +1186,7 @@ export interface SourceServer {
1186
1186
  * @public
1187
1187
  * <p>The status of the last recovery launch of this Source Server.</p>
1188
1188
  */
1189
- lastLaunchResult?: LastLaunchResult | string;
1189
+ lastLaunchResult?: LastLaunchResult;
1190
1190
  /**
1191
1191
  * @public
1192
1192
  * <p>The Data Replication Info of the Source Server.</p>
@@ -1216,7 +1216,7 @@ export interface SourceServer {
1216
1216
  * @public
1217
1217
  * <p>Replication direction of the Source Server.</p>
1218
1218
  */
1219
- replicationDirection?: ReplicationDirection | string;
1219
+ replicationDirection?: ReplicationDirection;
1220
1220
  /**
1221
1221
  * @public
1222
1222
  * <p>For EC2-originated Source Servers which have been failed over and then failed back, this value will mean the ARN of the Source Server on the opposite replication direction.</p>
@@ -1287,12 +1287,12 @@ export interface CreateLaunchConfigurationTemplateRequest {
1287
1287
  * @public
1288
1288
  * <p>Launch disposition.</p>
1289
1289
  */
1290
- launchDisposition?: LaunchDisposition | string;
1290
+ launchDisposition?: LaunchDisposition;
1291
1291
  /**
1292
1292
  * @public
1293
1293
  * <p>Target instance type right-sizing method.</p>
1294
1294
  */
1295
- targetInstanceTypeRightSizingMethod?: TargetInstanceTypeRightSizingMethod | string;
1295
+ targetInstanceTypeRightSizingMethod?: TargetInstanceTypeRightSizingMethod;
1296
1296
  /**
1297
1297
  * @public
1298
1298
  * <p>Copy private IP.</p>
@@ -1318,6 +1318,11 @@ export interface CreateLaunchConfigurationTemplateRequest {
1318
1318
  * <p>Whether we want to activate post-launch actions.</p>
1319
1319
  */
1320
1320
  postLaunchEnabled?: boolean;
1321
+ /**
1322
+ * @public
1323
+ * <p>DRS will set the 'launch into instance ID' of any source server when performing a drill, recovery or failback to the previous region or availability zone, using the instance ID of the source instance.</p>
1324
+ */
1325
+ launchIntoSourceInstance?: boolean;
1321
1326
  }
1322
1327
  /**
1323
1328
  * @public
@@ -1343,12 +1348,12 @@ export interface LaunchConfigurationTemplate {
1343
1348
  * @public
1344
1349
  * <p>Launch disposition.</p>
1345
1350
  */
1346
- launchDisposition?: LaunchDisposition | string;
1351
+ launchDisposition?: LaunchDisposition;
1347
1352
  /**
1348
1353
  * @public
1349
1354
  * <p>Target instance type right-sizing method.</p>
1350
1355
  */
1351
- targetInstanceTypeRightSizingMethod?: TargetInstanceTypeRightSizingMethod | string;
1356
+ targetInstanceTypeRightSizingMethod?: TargetInstanceTypeRightSizingMethod;
1352
1357
  /**
1353
1358
  * @public
1354
1359
  * <p>Copy private IP.</p>
@@ -1374,6 +1379,11 @@ export interface LaunchConfigurationTemplate {
1374
1379
  * <p>Post-launch actions activated.</p>
1375
1380
  */
1376
1381
  postLaunchEnabled?: boolean;
1382
+ /**
1383
+ * @public
1384
+ * <p>DRS will set the 'launch into instance ID' of any source server when performing a drill, recovery or failback to the previous region or availability zone, using the instance ID of the source instance.</p>
1385
+ */
1386
+ launchIntoSourceInstance?: boolean;
1377
1387
  }
1378
1388
  /**
1379
1389
  * @public
@@ -1451,7 +1461,7 @@ export interface PITPolicyRule {
1451
1461
  * @public
1452
1462
  * <p>The units used to measure the interval and retentionDuration.</p>
1453
1463
  */
1454
- units: PITPolicyRuleUnits | string | undefined;
1464
+ units: PITPolicyRuleUnits | undefined;
1455
1465
  /**
1456
1466
  * @public
1457
1467
  * <p>How often, in the chosen units, a snapshot should be taken.</p>
@@ -1501,12 +1511,12 @@ export interface CreateReplicationConfigurationTemplateRequest {
1501
1511
  * @public
1502
1512
  * <p>The Staging Disk EBS volume type to be used during replication.</p>
1503
1513
  */
1504
- defaultLargeStagingDiskType: ReplicationConfigurationDefaultLargeStagingDiskType | string | undefined;
1514
+ defaultLargeStagingDiskType: ReplicationConfigurationDefaultLargeStagingDiskType | undefined;
1505
1515
  /**
1506
1516
  * @public
1507
1517
  * <p>The type of EBS encryption to be used during replication.</p>
1508
1518
  */
1509
- ebsEncryption: ReplicationConfigurationEbsEncryption | string | undefined;
1519
+ ebsEncryption: ReplicationConfigurationEbsEncryption | undefined;
1510
1520
  /**
1511
1521
  * @public
1512
1522
  * <p>The ARN of the EBS encryption key to be used during replication.</p>
@@ -1521,7 +1531,7 @@ export interface CreateReplicationConfigurationTemplateRequest {
1521
1531
  * @public
1522
1532
  * <p>The data plane routing mechanism that will be used for replication.</p>
1523
1533
  */
1524
- dataPlaneRouting: ReplicationConfigurationDataPlaneRouting | string | undefined;
1534
+ dataPlaneRouting: ReplicationConfigurationDataPlaneRouting | undefined;
1525
1535
  /**
1526
1536
  * @public
1527
1537
  * <p>Whether to create a Public IP for the Recovery Instance by default.</p>
@@ -1591,12 +1601,12 @@ export interface ReplicationConfigurationTemplate {
1591
1601
  * @public
1592
1602
  * <p>The Staging Disk EBS volume type to be used during replication.</p>
1593
1603
  */
1594
- defaultLargeStagingDiskType?: ReplicationConfigurationDefaultLargeStagingDiskType | string;
1604
+ defaultLargeStagingDiskType?: ReplicationConfigurationDefaultLargeStagingDiskType;
1595
1605
  /**
1596
1606
  * @public
1597
1607
  * <p>The type of EBS encryption to be used during replication.</p>
1598
1608
  */
1599
- ebsEncryption?: ReplicationConfigurationEbsEncryption | string;
1609
+ ebsEncryption?: ReplicationConfigurationEbsEncryption;
1600
1610
  /**
1601
1611
  * @public
1602
1612
  * <p>The ARN of the EBS encryption key to be used during replication.</p>
@@ -1611,7 +1621,7 @@ export interface ReplicationConfigurationTemplate {
1611
1621
  * @public
1612
1622
  * <p>The data plane routing mechanism that will be used for replication.</p>
1613
1623
  */
1614
- dataPlaneRouting?: ReplicationConfigurationDataPlaneRouting | string;
1624
+ dataPlaneRouting?: ReplicationConfigurationDataPlaneRouting;
1615
1625
  /**
1616
1626
  * @public
1617
1627
  * <p>Whether to create a Public IP for the Recovery Instance by default.</p>
@@ -1941,7 +1951,7 @@ export interface JobLog {
1941
1951
  * @public
1942
1952
  * <p>The event represents the type of a log.</p>
1943
1953
  */
1944
- event?: JobLogEvent | string;
1954
+ event?: JobLogEvent;
1945
1955
  /**
1946
1956
  * @public
1947
1957
  * <p>Metadata associated with a Job log.</p>
@@ -2130,7 +2140,7 @@ export interface RecoveryInstanceDataReplicationError {
2130
2140
  * @public
2131
2141
  * <p>Error in data replication.</p>
2132
2142
  */
2133
- error?: FailbackReplicationError | string;
2143
+ error?: FailbackReplicationError;
2134
2144
  /**
2135
2145
  * @public
2136
2146
  * <p>Error in data replication.</p>
@@ -2189,12 +2199,12 @@ export interface RecoveryInstanceDataReplicationInitiationStep {
2189
2199
  * @public
2190
2200
  * <p>The name of the step.</p>
2191
2201
  */
2192
- name?: RecoveryInstanceDataReplicationInitiationStepName | string;
2202
+ name?: RecoveryInstanceDataReplicationInitiationStepName;
2193
2203
  /**
2194
2204
  * @public
2195
2205
  * <p>The status of the step.</p>
2196
2206
  */
2197
- status?: RecoveryInstanceDataReplicationInitiationStepStatus | string;
2207
+ status?: RecoveryInstanceDataReplicationInitiationStepStatus;
2198
2208
  }
2199
2209
  /**
2200
2210
  * @public
@@ -2289,7 +2299,7 @@ export interface RecoveryInstanceDataReplicationInfo {
2289
2299
  * @public
2290
2300
  * <p>The state of the data replication.</p>
2291
2301
  */
2292
- dataReplicationState?: RecoveryInstanceDataReplicationState | string;
2302
+ dataReplicationState?: RecoveryInstanceDataReplicationState;
2293
2303
  /**
2294
2304
  * @public
2295
2305
  * <p>Information about whether the data replication has been initiated.</p>
@@ -2376,7 +2386,7 @@ export interface RecoveryInstanceFailback {
2376
2386
  * @public
2377
2387
  * <p>The state of the failback process that this Recovery Instance is in.</p>
2378
2388
  */
2379
- state?: FailbackState | string;
2389
+ state?: FailbackState;
2380
2390
  /**
2381
2391
  * @public
2382
2392
  * <p>The date and time the agent on the Recovery Instance was last seen by the service.</p>
@@ -2406,7 +2416,7 @@ export interface RecoveryInstanceFailback {
2406
2416
  * @public
2407
2417
  * <p>The launch type (Recovery / Drill) of the last launch for the failback replication of this recovery instance.</p>
2408
2418
  */
2409
- failbackLaunchType?: FailbackLaunchType | string;
2419
+ failbackLaunchType?: FailbackLaunchType;
2410
2420
  }
2411
2421
  /**
2412
2422
  * @public
@@ -2496,7 +2506,7 @@ export interface RecoveryInstance {
2496
2506
  * @public
2497
2507
  * <p>The state of the EC2 instance for this Recovery Instance.</p>
2498
2508
  */
2499
- ec2InstanceState?: EC2InstanceState | string;
2509
+ ec2InstanceState?: EC2InstanceState;
2500
2510
  /**
2501
2511
  * @public
2502
2512
  * <p>The ID of the Job that created the Recovery Instance.</p>
@@ -2551,7 +2561,7 @@ export interface RecoveryInstance {
2551
2561
  * @public
2552
2562
  * <p>Environment (On Premises / AWS) of the instance that the recovery instance originated from.</p>
2553
2563
  */
2554
- originEnvironment?: OriginEnvironment | string;
2564
+ originEnvironment?: OriginEnvironment;
2555
2565
  /**
2556
2566
  * @public
2557
2567
  * <p>AWS availability zone associated with the recovery instance.</p>
@@ -2619,7 +2629,7 @@ export interface DescribeRecoverySnapshotsRequest {
2619
2629
  * @public
2620
2630
  * <p>The sorted ordering by which to return Recovery Snapshots.</p>
2621
2631
  */
2622
- order?: RecoverySnapshotsOrder | string;
2632
+ order?: RecoverySnapshotsOrder;
2623
2633
  /**
2624
2634
  * @public
2625
2635
  * <p>Maximum number of Recovery Snapshots to retrieve.</p>
@@ -2789,7 +2799,7 @@ export interface RecoveryLifeCycle {
2789
2799
  * @public
2790
2800
  * <p>The status of the last recovery status of this Source Network.</p>
2791
2801
  */
2792
- lastRecoveryResult?: RecoveryResult | string;
2802
+ lastRecoveryResult?: RecoveryResult;
2793
2803
  }
2794
2804
  /**
2795
2805
  * @public
@@ -2838,7 +2848,7 @@ export interface SourceNetwork {
2838
2848
  * (c) PROTECTED - Source Network was replicated successfully and is being synchronized for changes.
2839
2849
  * (d) ERROR - Source Network replication has failed</p>
2840
2850
  */
2841
- replicationStatus?: ReplicationStatus | string;
2851
+ replicationStatus?: ReplicationStatus;
2842
2852
  /**
2843
2853
  * @public
2844
2854
  * <p>Error details in case Source Network replication status is ERROR.</p>
@@ -2984,12 +2994,12 @@ export interface UpdateLaunchConfigurationTemplateRequest {
2984
2994
  * @public
2985
2995
  * <p>Launch disposition.</p>
2986
2996
  */
2987
- launchDisposition?: LaunchDisposition | string;
2997
+ launchDisposition?: LaunchDisposition;
2988
2998
  /**
2989
2999
  * @public
2990
3000
  * <p>Target instance type right-sizing method.</p>
2991
3001
  */
2992
- targetInstanceTypeRightSizingMethod?: TargetInstanceTypeRightSizingMethod | string;
3002
+ targetInstanceTypeRightSizingMethod?: TargetInstanceTypeRightSizingMethod;
2993
3003
  /**
2994
3004
  * @public
2995
3005
  * <p>Copy private IP.</p>
@@ -3015,6 +3025,11 @@ export interface UpdateLaunchConfigurationTemplateRequest {
3015
3025
  * <p>Whether we want to activate post-launch actions.</p>
3016
3026
  */
3017
3027
  postLaunchEnabled?: boolean;
3028
+ /**
3029
+ * @public
3030
+ * <p>DRS will set the 'launch into instance ID' of any source server when performing a drill, recovery or failback to the previous region or availability zone, using the instance ID of the source instance.</p>
3031
+ */
3032
+ launchIntoSourceInstance?: boolean;
3018
3033
  }
3019
3034
  /**
3020
3035
  * @public
@@ -3231,7 +3246,7 @@ export interface PutLaunchActionRequest {
3231
3246
  * @public
3232
3247
  * <p>Launch action category.</p>
3233
3248
  */
3234
- category: LaunchActionCategory | string | undefined;
3249
+ category: LaunchActionCategory | undefined;
3235
3250
  /**
3236
3251
  * @public
3237
3252
  * <p>Launch action parameters.</p>
@@ -3241,7 +3256,7 @@ export interface PutLaunchActionRequest {
3241
3256
  * @public
3242
3257
  * <p>Launch action description.</p>
3243
3258
  */
3244
- description?: string;
3259
+ description: string | undefined;
3245
3260
  }
3246
3261
  /**
3247
3262
  * @public
@@ -3266,7 +3281,7 @@ export interface PutLaunchActionResponse {
3266
3281
  * @public
3267
3282
  * <p>Launch action type.</p>
3268
3283
  */
3269
- type?: LaunchActionType | string;
3284
+ type?: LaunchActionType;
3270
3285
  /**
3271
3286
  * @public
3272
3287
  * <p>Launch action name.</p>
@@ -3306,7 +3321,7 @@ export interface PutLaunchActionResponse {
3306
3321
  * @public
3307
3322
  * <p>Launch action category.</p>
3308
3323
  */
3309
- category?: LaunchActionCategory | string;
3324
+ category?: LaunchActionCategory;
3310
3325
  }
3311
3326
  /**
3312
3327
  * @public
@@ -3486,12 +3501,12 @@ export interface UpdateReplicationConfigurationTemplateRequest {
3486
3501
  * @public
3487
3502
  * <p>The Staging Disk EBS volume type to be used during replication.</p>
3488
3503
  */
3489
- defaultLargeStagingDiskType?: ReplicationConfigurationDefaultLargeStagingDiskType | string;
3504
+ defaultLargeStagingDiskType?: ReplicationConfigurationDefaultLargeStagingDiskType;
3490
3505
  /**
3491
3506
  * @public
3492
3507
  * <p>The type of EBS encryption to be used during replication.</p>
3493
3508
  */
3494
- ebsEncryption?: ReplicationConfigurationEbsEncryption | string;
3509
+ ebsEncryption?: ReplicationConfigurationEbsEncryption;
3495
3510
  /**
3496
3511
  * @public
3497
3512
  * <p>The ARN of the EBS encryption key to be used during replication.</p>
@@ -3506,7 +3521,7 @@ export interface UpdateReplicationConfigurationTemplateRequest {
3506
3521
  * @public
3507
3522
  * <p>The data plane routing mechanism that will be used for replication.</p>
3508
3523
  */
3509
- dataPlaneRouting?: ReplicationConfigurationDataPlaneRouting | string;
3524
+ dataPlaneRouting?: ReplicationConfigurationDataPlaneRouting;
3510
3525
  /**
3511
3526
  * @public
3512
3527
  * <p>Whether to create a Public IP for the Recovery Instance by default.</p>
@@ -3644,6 +3659,17 @@ export interface GetLaunchConfigurationRequest {
3644
3659
  */
3645
3660
  sourceServerID: string | undefined;
3646
3661
  }
3662
+ /**
3663
+ * @public
3664
+ * <p>Launch into existing instance.</p>
3665
+ */
3666
+ export interface LaunchIntoInstanceProperties {
3667
+ /**
3668
+ * @public
3669
+ * <p>Optionally holds EC2 instance ID of an instance to launch into, instead of launching a new instance during drill, recovery or failback.</p>
3670
+ */
3671
+ launchIntoEC2InstanceID?: string;
3672
+ }
3647
3673
  /**
3648
3674
  * @public
3649
3675
  */
@@ -3667,12 +3693,12 @@ export interface LaunchConfiguration {
3667
3693
  * @public
3668
3694
  * <p>The state of the Recovery Instance in EC2 after the recovery operation.</p>
3669
3695
  */
3670
- launchDisposition?: LaunchDisposition | string;
3696
+ launchDisposition?: LaunchDisposition;
3671
3697
  /**
3672
3698
  * @public
3673
3699
  * <p>Whether Elastic Disaster Recovery should try to automatically choose the instance type that best matches the OS, CPU, and RAM of your Source Server.</p>
3674
3700
  */
3675
- targetInstanceTypeRightSizingMethod?: TargetInstanceTypeRightSizingMethod | string;
3701
+ targetInstanceTypeRightSizingMethod?: TargetInstanceTypeRightSizingMethod;
3676
3702
  /**
3677
3703
  * @public
3678
3704
  * <p>Whether we should copy the Private IP of the Source Server to the Recovery Instance.</p>
@@ -3693,6 +3719,11 @@ export interface LaunchConfiguration {
3693
3719
  * <p>Whether we want to activate post-launch actions for the Source Server.</p>
3694
3720
  */
3695
3721
  postLaunchEnabled?: boolean;
3722
+ /**
3723
+ * @public
3724
+ * <p>Launch into existing instance properties.</p>
3725
+ */
3726
+ launchIntoInstanceProperties?: LaunchIntoInstanceProperties;
3696
3727
  }
3697
3728
  /**
3698
3729
  * @public
@@ -3740,7 +3771,7 @@ export interface ReplicationConfigurationReplicatedDisk {
3740
3771
  * @public
3741
3772
  * <p>The Staging Disk EBS volume type to be used during replication.</p>
3742
3773
  */
3743
- stagingDiskType?: ReplicationConfigurationReplicatedDiskStagingDiskType | string;
3774
+ stagingDiskType?: ReplicationConfigurationReplicatedDiskStagingDiskType;
3744
3775
  /**
3745
3776
  * @public
3746
3777
  * <p>The requested number of I/O operations per second (IOPS).</p>
@@ -3755,7 +3786,7 @@ export interface ReplicationConfigurationReplicatedDisk {
3755
3786
  * @public
3756
3787
  * <p>The Staging Disk EBS volume type to be used during replication when <code>stagingDiskType</code> is set to Auto. This is a read-only field.</p>
3757
3788
  */
3758
- optimizedStagingDiskType?: ReplicationConfigurationReplicatedDiskStagingDiskType | string;
3789
+ optimizedStagingDiskType?: ReplicationConfigurationReplicatedDiskStagingDiskType;
3759
3790
  }
3760
3791
  /**
3761
3792
  * @public
@@ -3800,7 +3831,7 @@ export interface ReplicationConfiguration {
3800
3831
  * @public
3801
3832
  * <p>The Staging Disk EBS volume type to be used during replication.</p>
3802
3833
  */
3803
- defaultLargeStagingDiskType?: ReplicationConfigurationDefaultLargeStagingDiskType | string;
3834
+ defaultLargeStagingDiskType?: ReplicationConfigurationDefaultLargeStagingDiskType;
3804
3835
  /**
3805
3836
  * @public
3806
3837
  * <p>The configuration of the disks of the Source Server to be replicated.</p>
@@ -3810,7 +3841,7 @@ export interface ReplicationConfiguration {
3810
3841
  * @public
3811
3842
  * <p>The type of EBS encryption to be used during replication.</p>
3812
3843
  */
3813
- ebsEncryption?: ReplicationConfigurationEbsEncryption | string;
3844
+ ebsEncryption?: ReplicationConfigurationEbsEncryption;
3814
3845
  /**
3815
3846
  * @public
3816
3847
  * <p>The ARN of the EBS encryption key to be used during replication.</p>
@@ -3825,7 +3856,7 @@ export interface ReplicationConfiguration {
3825
3856
  * @public
3826
3857
  * <p>The data plane routing mechanism that will be used for replication.</p>
3827
3858
  */
3828
- dataPlaneRouting?: ReplicationConfigurationDataPlaneRouting | string;
3859
+ dataPlaneRouting?: ReplicationConfigurationDataPlaneRouting;
3829
3860
  /**
3830
3861
  * @public
3831
3862
  * <p>Whether to create a Public IP for the Recovery Instance by default.</p>
@@ -3961,12 +3992,12 @@ export interface UpdateLaunchConfigurationRequest {
3961
3992
  * @public
3962
3993
  * <p>The state of the Recovery Instance in EC2 after the recovery operation.</p>
3963
3994
  */
3964
- launchDisposition?: LaunchDisposition | string;
3995
+ launchDisposition?: LaunchDisposition;
3965
3996
  /**
3966
3997
  * @public
3967
3998
  * <p>Whether Elastic Disaster Recovery should try to automatically choose the instance type that best matches the OS, CPU, and RAM of your Source Server.</p>
3968
3999
  */
3969
- targetInstanceTypeRightSizingMethod?: TargetInstanceTypeRightSizingMethod | string;
4000
+ targetInstanceTypeRightSizingMethod?: TargetInstanceTypeRightSizingMethod;
3970
4001
  /**
3971
4002
  * @public
3972
4003
  * <p>Whether we should copy the Private IP of the Source Server to the Recovery Instance.</p>
@@ -3987,6 +4018,11 @@ export interface UpdateLaunchConfigurationRequest {
3987
4018
  * <p>Whether we want to enable post-launch actions for the Source Server.</p>
3988
4019
  */
3989
4020
  postLaunchEnabled?: boolean;
4021
+ /**
4022
+ * @public
4023
+ * <p>Launch into existing instance properties.</p>
4024
+ */
4025
+ launchIntoInstanceProperties?: LaunchIntoInstanceProperties;
3990
4026
  }
3991
4027
  /**
3992
4028
  * @public
@@ -4031,7 +4067,7 @@ export interface UpdateReplicationConfigurationRequest {
4031
4067
  * @public
4032
4068
  * <p>The Staging Disk EBS volume type to be used during replication.</p>
4033
4069
  */
4034
- defaultLargeStagingDiskType?: ReplicationConfigurationDefaultLargeStagingDiskType | string;
4070
+ defaultLargeStagingDiskType?: ReplicationConfigurationDefaultLargeStagingDiskType;
4035
4071
  /**
4036
4072
  * @public
4037
4073
  * <p>The configuration of the disks of the Source Server to be replicated.</p>
@@ -4041,7 +4077,7 @@ export interface UpdateReplicationConfigurationRequest {
4041
4077
  * @public
4042
4078
  * <p>The type of EBS encryption to be used during replication.</p>
4043
4079
  */
4044
- ebsEncryption?: ReplicationConfigurationEbsEncryption | string;
4080
+ ebsEncryption?: ReplicationConfigurationEbsEncryption;
4045
4081
  /**
4046
4082
  * @public
4047
4083
  * <p>The ARN of the EBS encryption key to be used during replication.</p>
@@ -4056,7 +4092,7 @@ export interface UpdateReplicationConfigurationRequest {
4056
4092
  * @public
4057
4093
  * <p>The data plane routing mechanism that will be used for replication.</p>
4058
4094
  */
4059
- dataPlaneRouting?: ReplicationConfigurationDataPlaneRouting | string;
4095
+ dataPlaneRouting?: ReplicationConfigurationDataPlaneRouting;
4060
4096
  /**
4061
4097
  * @public
4062
4098
  * <p>Whether to create a Public IP for the Recovery Instance by default.</p>
@@ -55,7 +55,7 @@ export declare namespace ParticipatingResourceID {
55
55
  }
56
56
  export interface ParticipatingResource {
57
57
  participatingResourceID?: ParticipatingResourceID;
58
- launchStatus?: LaunchStatus | string;
58
+ launchStatus?: LaunchStatus;
59
59
  }
60
60
  export declare const LaunchActionCategory: {
61
61
  readonly CONFIGURATION: "CONFIGURATION";
@@ -74,7 +74,7 @@ export type LaunchActionParameterType =
74
74
  (typeof LaunchActionParameterType)[keyof typeof LaunchActionParameterType];
75
75
  export interface LaunchActionParameter {
76
76
  value?: string;
77
- type?: LaunchActionParameterType | string;
77
+ type?: LaunchActionParameterType;
78
78
  }
79
79
  export declare const LaunchActionType: {
80
80
  readonly SSM_AUTOMATION: "SSM_AUTOMATION";
@@ -85,7 +85,7 @@ export type LaunchActionType =
85
85
  export interface LaunchAction {
86
86
  actionId?: string;
87
87
  actionCode?: string;
88
- type?: LaunchActionType | string;
88
+ type?: LaunchActionType;
89
89
  name?: string;
90
90
  active?: boolean;
91
91
  order?: number;
@@ -93,7 +93,7 @@ export interface LaunchAction {
93
93
  optional?: boolean;
94
94
  parameters?: Record<string, LaunchActionParameter>;
95
95
  description?: string;
96
- category?: LaunchActionCategory | string;
96
+ category?: LaunchActionCategory;
97
97
  }
98
98
  export declare const LaunchActionRunStatus: {
99
99
  readonly FAILED: "FAILED";
@@ -105,7 +105,7 @@ export type LaunchActionRunStatus =
105
105
  export interface LaunchActionRun {
106
106
  action?: LaunchAction;
107
107
  runId?: string;
108
- status?: LaunchActionRunStatus | string;
108
+ status?: LaunchActionRunStatus;
109
109
  failureReason?: string;
110
110
  }
111
111
  export interface LaunchActionsStatus {
@@ -115,7 +115,7 @@ export interface LaunchActionsStatus {
115
115
  export interface ParticipatingServer {
116
116
  sourceServerID?: string;
117
117
  recoveryInstanceID?: string;
118
- launchStatus?: LaunchStatus | string;
118
+ launchStatus?: LaunchStatus;
119
119
  launchActionsStatus?: LaunchActionsStatus;
120
120
  }
121
121
  export declare const JobStatus: {
@@ -133,11 +133,11 @@ export type JobType = (typeof JobType)[keyof typeof JobType];
133
133
  export interface Job {
134
134
  jobID: string | undefined;
135
135
  arn?: string;
136
- type?: JobType | string;
137
- initiatedBy?: InitiatedBy | string;
136
+ type?: JobType;
137
+ initiatedBy?: InitiatedBy;
138
138
  creationDateTime?: string;
139
139
  endDateTime?: string;
140
- status?: JobStatus | string;
140
+ status?: JobStatus;
141
141
  participatingServers?: ParticipatingServer[];
142
142
  tags?: Record<string, string>;
143
143
  participatingResources?: ParticipatingResource[];
@@ -217,7 +217,7 @@ export declare class ValidationException extends __BaseException {
217
217
  readonly name: "ValidationException";
218
218
  readonly $fault: "client";
219
219
  code?: string;
220
- reason?: ValidationExceptionReason | string;
220
+ reason?: ValidationExceptionReason;
221
221
  fieldList?: ValidationExceptionField[];
222
222
  constructor(
223
223
  opts: __ExceptionOptionType<ValidationException, __BaseException>
@@ -257,7 +257,7 @@ export declare const DataReplicationErrorString: {
257
257
  export type DataReplicationErrorString =
258
258
  (typeof DataReplicationErrorString)[keyof typeof DataReplicationErrorString];
259
259
  export interface DataReplicationError {
260
- error?: DataReplicationErrorString | string;
260
+ error?: DataReplicationErrorString;
261
261
  rawError?: string;
262
262
  }
263
263
  export declare const DataReplicationInitiationStepName: {
@@ -285,8 +285,8 @@ export declare const DataReplicationInitiationStepStatus: {
285
285
  export type DataReplicationInitiationStepStatus =
286
286
  (typeof DataReplicationInitiationStepStatus)[keyof typeof DataReplicationInitiationStepStatus];
287
287
  export interface DataReplicationInitiationStep {
288
- name?: DataReplicationInitiationStepName | string;
289
- status?: DataReplicationInitiationStepStatus | string;
288
+ name?: DataReplicationInitiationStepName;
289
+ status?: DataReplicationInitiationStepStatus;
290
290
  }
291
291
  export interface DataReplicationInitiation {
292
292
  startDateTime?: string;
@@ -318,7 +318,7 @@ export interface DataReplicationInfo {
318
318
  lagDuration?: string;
319
319
  etaDateTime?: string;
320
320
  replicatedDisks?: DataReplicationInfoReplicatedDisk[];
321
- dataReplicationState?: DataReplicationState | string;
321
+ dataReplicationState?: DataReplicationState;
322
322
  dataReplicationInitiation?: DataReplicationInitiation;
323
323
  dataReplicationError?: DataReplicationError;
324
324
  stagingAvailabilityZone?: string;
@@ -340,11 +340,11 @@ export type LastLaunchType =
340
340
  export interface LifeCycleLastLaunchInitiated {
341
341
  apiCallDateTime?: string;
342
342
  jobID?: string;
343
- type?: LastLaunchType | string;
343
+ type?: LastLaunchType;
344
344
  }
345
345
  export interface LifeCycleLastLaunch {
346
346
  initiated?: LifeCycleLastLaunchInitiated;
347
- status?: LaunchStatus | string;
347
+ status?: LaunchStatus;
348
348
  }
349
349
  export interface LifeCycle {
350
350
  addedToServiceDateTime?: string;
@@ -401,7 +401,7 @@ export declare const ExtensionStatus: {
401
401
  export type ExtensionStatus =
402
402
  (typeof ExtensionStatus)[keyof typeof ExtensionStatus];
403
403
  export interface StagingArea {
404
- status?: ExtensionStatus | string;
404
+ status?: ExtensionStatus;
405
405
  stagingAccountID?: string;
406
406
  stagingSourceServerArn?: string;
407
407
  errorMessage?: string;
@@ -411,13 +411,13 @@ export interface SourceServer {
411
411
  arn?: string;
412
412
  tags?: Record<string, string>;
413
413
  recoveryInstanceId?: string;
414
- lastLaunchResult?: LastLaunchResult | string;
414
+ lastLaunchResult?: LastLaunchResult;
415
415
  dataReplicationInfo?: DataReplicationInfo;
416
416
  lifeCycle?: LifeCycle;
417
417
  sourceProperties?: SourceProperties;
418
418
  stagingArea?: StagingArea;
419
419
  sourceCloudProperties?: SourceCloudProperties;
420
- replicationDirection?: ReplicationDirection | string;
420
+ replicationDirection?: ReplicationDirection;
421
421
  reversedDirectionSourceServerArn?: string;
422
422
  sourceNetworkID?: string;
423
423
  }
@@ -442,29 +442,27 @@ export type TargetInstanceTypeRightSizingMethod =
442
442
  (typeof TargetInstanceTypeRightSizingMethod)[keyof typeof TargetInstanceTypeRightSizingMethod];
443
443
  export interface CreateLaunchConfigurationTemplateRequest {
444
444
  tags?: Record<string, string>;
445
- launchDisposition?: LaunchDisposition | string;
446
- targetInstanceTypeRightSizingMethod?:
447
- | TargetInstanceTypeRightSizingMethod
448
- | string;
445
+ launchDisposition?: LaunchDisposition;
446
+ targetInstanceTypeRightSizingMethod?: TargetInstanceTypeRightSizingMethod;
449
447
  copyPrivateIp?: boolean;
450
448
  copyTags?: boolean;
451
449
  licensing?: Licensing;
452
450
  exportBucketArn?: string;
453
451
  postLaunchEnabled?: boolean;
452
+ launchIntoSourceInstance?: boolean;
454
453
  }
455
454
  export interface LaunchConfigurationTemplate {
456
455
  launchConfigurationTemplateID?: string;
457
456
  arn?: string;
458
457
  tags?: Record<string, string>;
459
- launchDisposition?: LaunchDisposition | string;
460
- targetInstanceTypeRightSizingMethod?:
461
- | TargetInstanceTypeRightSizingMethod
462
- | string;
458
+ launchDisposition?: LaunchDisposition;
459
+ targetInstanceTypeRightSizingMethod?: TargetInstanceTypeRightSizingMethod;
463
460
  copyPrivateIp?: boolean;
464
461
  copyTags?: boolean;
465
462
  licensing?: Licensing;
466
463
  exportBucketArn?: string;
467
464
  postLaunchEnabled?: boolean;
465
+ launchIntoSourceInstance?: boolean;
468
466
  }
469
467
  export interface CreateLaunchConfigurationTemplateResponse {
470
468
  launchConfigurationTemplate?: LaunchConfigurationTemplate;
@@ -499,7 +497,7 @@ export type PITPolicyRuleUnits =
499
497
  (typeof PITPolicyRuleUnits)[keyof typeof PITPolicyRuleUnits];
500
498
  export interface PITPolicyRule {
501
499
  ruleID?: number;
502
- units: PITPolicyRuleUnits | string | undefined;
500
+ units: PITPolicyRuleUnits | undefined;
503
501
  interval: number | undefined;
504
502
  retentionDuration: number | undefined;
505
503
  enabled?: boolean;
@@ -512,15 +510,11 @@ export interface CreateReplicationConfigurationTemplateRequest {
512
510
  useDedicatedReplicationServer: boolean | undefined;
513
511
  defaultLargeStagingDiskType:
514
512
  | ReplicationConfigurationDefaultLargeStagingDiskType
515
- | string
516
513
  | undefined;
517
- ebsEncryption: ReplicationConfigurationEbsEncryption | string | undefined;
514
+ ebsEncryption: ReplicationConfigurationEbsEncryption | undefined;
518
515
  ebsEncryptionKeyArn?: string;
519
516
  bandwidthThrottling: number | undefined;
520
- dataPlaneRouting:
521
- | ReplicationConfigurationDataPlaneRouting
522
- | string
523
- | undefined;
517
+ dataPlaneRouting: ReplicationConfigurationDataPlaneRouting | undefined;
524
518
  createPublicIP: boolean | undefined;
525
519
  stagingAreaTags: Record<string, string> | undefined;
526
520
  pitPolicy: PITPolicyRule[] | undefined;
@@ -535,13 +529,11 @@ export interface ReplicationConfigurationTemplate {
535
529
  replicationServersSecurityGroupsIDs?: string[];
536
530
  replicationServerInstanceType?: string;
537
531
  useDedicatedReplicationServer?: boolean;
538
- defaultLargeStagingDiskType?:
539
- | ReplicationConfigurationDefaultLargeStagingDiskType
540
- | string;
541
- ebsEncryption?: ReplicationConfigurationEbsEncryption | string;
532
+ defaultLargeStagingDiskType?: ReplicationConfigurationDefaultLargeStagingDiskType;
533
+ ebsEncryption?: ReplicationConfigurationEbsEncryption;
542
534
  ebsEncryptionKeyArn?: string;
543
535
  bandwidthThrottling?: number;
544
- dataPlaneRouting?: ReplicationConfigurationDataPlaneRouting | string;
536
+ dataPlaneRouting?: ReplicationConfigurationDataPlaneRouting;
545
537
  createPublicIP?: boolean;
546
538
  stagingAreaTags?: Record<string, string>;
547
539
  tags?: Record<string, string>;
@@ -654,7 +646,7 @@ export interface JobLogEventData {
654
646
  }
655
647
  export interface JobLog {
656
648
  logDateTime?: string;
657
- event?: JobLogEvent | string;
649
+ event?: JobLogEvent;
658
650
  eventData?: JobLogEventData;
659
651
  }
660
652
  export interface DescribeJobLogItemsResponse {
@@ -719,7 +711,7 @@ export declare const FailbackReplicationError: {
719
711
  export type FailbackReplicationError =
720
712
  (typeof FailbackReplicationError)[keyof typeof FailbackReplicationError];
721
713
  export interface RecoveryInstanceDataReplicationError {
722
- error?: FailbackReplicationError | string;
714
+ error?: FailbackReplicationError;
723
715
  rawError?: string;
724
716
  }
725
717
  export declare const RecoveryInstanceDataReplicationInitiationStepName: {
@@ -754,8 +746,8 @@ export declare const RecoveryInstanceDataReplicationInitiationStepStatus: {
754
746
  export type RecoveryInstanceDataReplicationInitiationStepStatus =
755
747
  (typeof RecoveryInstanceDataReplicationInitiationStepStatus)[keyof typeof RecoveryInstanceDataReplicationInitiationStepStatus];
756
748
  export interface RecoveryInstanceDataReplicationInitiationStep {
757
- name?: RecoveryInstanceDataReplicationInitiationStepName | string;
758
- status?: RecoveryInstanceDataReplicationInitiationStepStatus | string;
749
+ name?: RecoveryInstanceDataReplicationInitiationStepName;
750
+ status?: RecoveryInstanceDataReplicationInitiationStepStatus;
759
751
  }
760
752
  export interface RecoveryInstanceDataReplicationInitiation {
761
753
  startDateTime?: string;
@@ -788,7 +780,7 @@ export interface RecoveryInstanceDataReplicationInfo {
788
780
  lagDuration?: string;
789
781
  etaDateTime?: string;
790
782
  replicatedDisks?: RecoveryInstanceDataReplicationInfoReplicatedDisk[];
791
- dataReplicationState?: RecoveryInstanceDataReplicationState | string;
783
+ dataReplicationState?: RecoveryInstanceDataReplicationState;
792
784
  dataReplicationInitiation?: RecoveryInstanceDataReplicationInitiation;
793
785
  dataReplicationError?: RecoveryInstanceDataReplicationError;
794
786
  stagingAvailabilityZone?: string;
@@ -824,13 +816,13 @@ export interface RecoveryInstanceFailback {
824
816
  failbackClientID?: string;
825
817
  failbackJobID?: string;
826
818
  failbackInitiationTime?: string;
827
- state?: FailbackState | string;
819
+ state?: FailbackState;
828
820
  agentLastSeenByServiceDateTime?: string;
829
821
  failbackClientLastSeenByServiceDateTime?: string;
830
822
  failbackToOriginalServer?: boolean;
831
823
  firstByteDateTime?: string;
832
824
  elapsedReplicationDuration?: string;
833
- failbackLaunchType?: FailbackLaunchType | string;
825
+ failbackLaunchType?: FailbackLaunchType;
834
826
  }
835
827
  export declare const OriginEnvironment: {
836
828
  readonly AWS: "AWS";
@@ -854,7 +846,7 @@ export interface RecoveryInstanceProperties {
854
846
  }
855
847
  export interface RecoveryInstance {
856
848
  ec2InstanceID?: string;
857
- ec2InstanceState?: EC2InstanceState | string;
849
+ ec2InstanceState?: EC2InstanceState;
858
850
  jobID?: string;
859
851
  recoveryInstanceID?: string;
860
852
  sourceServerID?: string;
@@ -865,7 +857,7 @@ export interface RecoveryInstance {
865
857
  recoveryInstanceProperties?: RecoveryInstanceProperties;
866
858
  pointInTimeSnapshotDateTime?: string;
867
859
  isDrill?: boolean;
868
- originEnvironment?: OriginEnvironment | string;
860
+ originEnvironment?: OriginEnvironment;
869
861
  originAvailabilityZone?: string;
870
862
  }
871
863
  export interface DescribeRecoveryInstancesResponse {
@@ -885,7 +877,7 @@ export type RecoverySnapshotsOrder =
885
877
  export interface DescribeRecoverySnapshotsRequest {
886
878
  sourceServerID: string | undefined;
887
879
  filters?: DescribeRecoverySnapshotsRequestFilters;
888
- order?: RecoverySnapshotsOrder | string;
880
+ order?: RecoverySnapshotsOrder;
889
881
  maxResults?: number;
890
882
  nextToken?: string;
891
883
  }
@@ -933,7 +925,7 @@ export type RecoveryResult =
933
925
  export interface RecoveryLifeCycle {
934
926
  apiCallDateTime?: Date;
935
927
  jobID?: string;
936
- lastRecoveryResult?: RecoveryResult | string;
928
+ lastRecoveryResult?: RecoveryResult;
937
929
  }
938
930
  export declare const ReplicationStatus: {
939
931
  readonly ERROR: "ERROR";
@@ -948,7 +940,7 @@ export interface SourceNetwork {
948
940
  sourceVpcID?: string;
949
941
  arn?: string;
950
942
  tags?: Record<string, string>;
951
- replicationStatus?: ReplicationStatus | string;
943
+ replicationStatus?: ReplicationStatus;
952
944
  replicationStatusDetails?: string;
953
945
  cfnStackName?: string;
954
946
  sourceRegion?: string;
@@ -984,15 +976,14 @@ export interface InitializeServiceRequest {}
984
976
  export interface InitializeServiceResponse {}
985
977
  export interface UpdateLaunchConfigurationTemplateRequest {
986
978
  launchConfigurationTemplateID: string | undefined;
987
- launchDisposition?: LaunchDisposition | string;
988
- targetInstanceTypeRightSizingMethod?:
989
- | TargetInstanceTypeRightSizingMethod
990
- | string;
979
+ launchDisposition?: LaunchDisposition;
980
+ targetInstanceTypeRightSizingMethod?: TargetInstanceTypeRightSizingMethod;
991
981
  copyPrivateIp?: boolean;
992
982
  copyTags?: boolean;
993
983
  licensing?: Licensing;
994
984
  exportBucketArn?: string;
995
985
  postLaunchEnabled?: boolean;
986
+ launchIntoSourceInstance?: boolean;
996
987
  }
997
988
  export interface UpdateLaunchConfigurationTemplateResponse {
998
989
  launchConfigurationTemplate?: LaunchConfigurationTemplate;
@@ -1047,15 +1038,15 @@ export interface PutLaunchActionRequest {
1047
1038
  active: boolean | undefined;
1048
1039
  name: string | undefined;
1049
1040
  actionVersion: string | undefined;
1050
- category: LaunchActionCategory | string | undefined;
1041
+ category: LaunchActionCategory | undefined;
1051
1042
  parameters?: Record<string, LaunchActionParameter>;
1052
- description?: string;
1043
+ description: string | undefined;
1053
1044
  }
1054
1045
  export interface PutLaunchActionResponse {
1055
1046
  resourceId?: string;
1056
1047
  actionId?: string;
1057
1048
  actionCode?: string;
1058
- type?: LaunchActionType | string;
1049
+ type?: LaunchActionType;
1059
1050
  name?: string;
1060
1051
  active?: boolean;
1061
1052
  order?: number;
@@ -1063,7 +1054,7 @@ export interface PutLaunchActionResponse {
1063
1054
  optional?: boolean;
1064
1055
  parameters?: Record<string, LaunchActionParameter>;
1065
1056
  description?: string;
1066
- category?: LaunchActionCategory | string;
1057
+ category?: LaunchActionCategory;
1067
1058
  }
1068
1059
  export interface GetFailbackReplicationConfigurationRequest {
1069
1060
  recoveryInstanceID: string | undefined;
@@ -1110,13 +1101,11 @@ export interface UpdateReplicationConfigurationTemplateRequest {
1110
1101
  replicationServersSecurityGroupsIDs?: string[];
1111
1102
  replicationServerInstanceType?: string;
1112
1103
  useDedicatedReplicationServer?: boolean;
1113
- defaultLargeStagingDiskType?:
1114
- | ReplicationConfigurationDefaultLargeStagingDiskType
1115
- | string;
1116
- ebsEncryption?: ReplicationConfigurationEbsEncryption | string;
1104
+ defaultLargeStagingDiskType?: ReplicationConfigurationDefaultLargeStagingDiskType;
1105
+ ebsEncryption?: ReplicationConfigurationEbsEncryption;
1117
1106
  ebsEncryptionKeyArn?: string;
1118
1107
  bandwidthThrottling?: number;
1119
- dataPlaneRouting?: ReplicationConfigurationDataPlaneRouting | string;
1108
+ dataPlaneRouting?: ReplicationConfigurationDataPlaneRouting;
1120
1109
  createPublicIP?: boolean;
1121
1110
  stagingAreaTags?: Record<string, string>;
1122
1111
  pitPolicy?: PITPolicyRule[];
@@ -1155,18 +1144,20 @@ export interface StopSourceNetworkReplicationResponse {
1155
1144
  export interface GetLaunchConfigurationRequest {
1156
1145
  sourceServerID: string | undefined;
1157
1146
  }
1147
+ export interface LaunchIntoInstanceProperties {
1148
+ launchIntoEC2InstanceID?: string;
1149
+ }
1158
1150
  export interface LaunchConfiguration {
1159
1151
  sourceServerID?: string;
1160
1152
  name?: string;
1161
1153
  ec2LaunchTemplateID?: string;
1162
- launchDisposition?: LaunchDisposition | string;
1163
- targetInstanceTypeRightSizingMethod?:
1164
- | TargetInstanceTypeRightSizingMethod
1165
- | string;
1154
+ launchDisposition?: LaunchDisposition;
1155
+ targetInstanceTypeRightSizingMethod?: TargetInstanceTypeRightSizingMethod;
1166
1156
  copyPrivateIp?: boolean;
1167
1157
  copyTags?: boolean;
1168
1158
  licensing?: Licensing;
1169
1159
  postLaunchEnabled?: boolean;
1160
+ launchIntoInstanceProperties?: LaunchIntoInstanceProperties;
1170
1161
  }
1171
1162
  export interface GetReplicationConfigurationRequest {
1172
1163
  sourceServerID: string | undefined;
@@ -1185,14 +1176,10 @@ export type ReplicationConfigurationReplicatedDiskStagingDiskType =
1185
1176
  export interface ReplicationConfigurationReplicatedDisk {
1186
1177
  deviceName?: string;
1187
1178
  isBootDisk?: boolean;
1188
- stagingDiskType?:
1189
- | ReplicationConfigurationReplicatedDiskStagingDiskType
1190
- | string;
1179
+ stagingDiskType?: ReplicationConfigurationReplicatedDiskStagingDiskType;
1191
1180
  iops?: number;
1192
1181
  throughput?: number;
1193
- optimizedStagingDiskType?:
1194
- | ReplicationConfigurationReplicatedDiskStagingDiskType
1195
- | string;
1182
+ optimizedStagingDiskType?: ReplicationConfigurationReplicatedDiskStagingDiskType;
1196
1183
  }
1197
1184
  export interface ReplicationConfiguration {
1198
1185
  sourceServerID?: string;
@@ -1202,14 +1189,12 @@ export interface ReplicationConfiguration {
1202
1189
  replicationServersSecurityGroupsIDs?: string[];
1203
1190
  replicationServerInstanceType?: string;
1204
1191
  useDedicatedReplicationServer?: boolean;
1205
- defaultLargeStagingDiskType?:
1206
- | ReplicationConfigurationDefaultLargeStagingDiskType
1207
- | string;
1192
+ defaultLargeStagingDiskType?: ReplicationConfigurationDefaultLargeStagingDiskType;
1208
1193
  replicatedDisks?: ReplicationConfigurationReplicatedDisk[];
1209
- ebsEncryption?: ReplicationConfigurationEbsEncryption | string;
1194
+ ebsEncryption?: ReplicationConfigurationEbsEncryption;
1210
1195
  ebsEncryptionKeyArn?: string;
1211
1196
  bandwidthThrottling?: number;
1212
- dataPlaneRouting?: ReplicationConfigurationDataPlaneRouting | string;
1197
+ dataPlaneRouting?: ReplicationConfigurationDataPlaneRouting;
1213
1198
  createPublicIP?: boolean;
1214
1199
  stagingAreaTags?: Record<string, string>;
1215
1200
  pitPolicy?: PITPolicyRule[];
@@ -1245,14 +1230,13 @@ export interface StopReplicationResponse {
1245
1230
  export interface UpdateLaunchConfigurationRequest {
1246
1231
  sourceServerID: string | undefined;
1247
1232
  name?: string;
1248
- launchDisposition?: LaunchDisposition | string;
1249
- targetInstanceTypeRightSizingMethod?:
1250
- | TargetInstanceTypeRightSizingMethod
1251
- | string;
1233
+ launchDisposition?: LaunchDisposition;
1234
+ targetInstanceTypeRightSizingMethod?: TargetInstanceTypeRightSizingMethod;
1252
1235
  copyPrivateIp?: boolean;
1253
1236
  copyTags?: boolean;
1254
1237
  licensing?: Licensing;
1255
1238
  postLaunchEnabled?: boolean;
1239
+ launchIntoInstanceProperties?: LaunchIntoInstanceProperties;
1256
1240
  }
1257
1241
  export interface UpdateReplicationConfigurationRequest {
1258
1242
  sourceServerID: string | undefined;
@@ -1262,14 +1246,12 @@ export interface UpdateReplicationConfigurationRequest {
1262
1246
  replicationServersSecurityGroupsIDs?: string[];
1263
1247
  replicationServerInstanceType?: string;
1264
1248
  useDedicatedReplicationServer?: boolean;
1265
- defaultLargeStagingDiskType?:
1266
- | ReplicationConfigurationDefaultLargeStagingDiskType
1267
- | string;
1249
+ defaultLargeStagingDiskType?: ReplicationConfigurationDefaultLargeStagingDiskType;
1268
1250
  replicatedDisks?: ReplicationConfigurationReplicatedDisk[];
1269
- ebsEncryption?: ReplicationConfigurationEbsEncryption | string;
1251
+ ebsEncryption?: ReplicationConfigurationEbsEncryption;
1270
1252
  ebsEncryptionKeyArn?: string;
1271
1253
  bandwidthThrottling?: number;
1272
- dataPlaneRouting?: ReplicationConfigurationDataPlaneRouting | string;
1254
+ dataPlaneRouting?: ReplicationConfigurationDataPlaneRouting;
1273
1255
  createPublicIP?: boolean;
1274
1256
  stagingAreaTags?: Record<string, string>;
1275
1257
  pitPolicy?: PITPolicyRule[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-drs",
3
3
  "description": "AWS SDK for JavaScript Drs Client for Node.js, Browser and React Native",
4
- "version": "3.427.0",
4
+ "version": "3.429.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,39 +21,39 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.427.0",
25
- "@aws-sdk/credential-provider-node": "3.427.0",
26
- "@aws-sdk/middleware-host-header": "3.425.0",
27
- "@aws-sdk/middleware-logger": "3.425.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.425.0",
29
- "@aws-sdk/middleware-signing": "3.425.0",
30
- "@aws-sdk/middleware-user-agent": "3.427.0",
31
- "@aws-sdk/region-config-resolver": "3.425.0",
32
- "@aws-sdk/types": "3.425.0",
33
- "@aws-sdk/util-endpoints": "3.427.0",
34
- "@aws-sdk/util-user-agent-browser": "3.425.0",
35
- "@aws-sdk/util-user-agent-node": "3.425.0",
36
- "@smithy/config-resolver": "^2.0.11",
37
- "@smithy/fetch-http-handler": "^2.2.1",
38
- "@smithy/hash-node": "^2.0.10",
39
- "@smithy/invalid-dependency": "^2.0.10",
40
- "@smithy/middleware-content-length": "^2.0.12",
41
- "@smithy/middleware-endpoint": "^2.0.10",
42
- "@smithy/middleware-retry": "^2.0.13",
43
- "@smithy/middleware-serde": "^2.0.10",
44
- "@smithy/middleware-stack": "^2.0.4",
45
- "@smithy/node-config-provider": "^2.0.13",
46
- "@smithy/node-http-handler": "^2.1.6",
47
- "@smithy/protocol-http": "^3.0.6",
48
- "@smithy/smithy-client": "^2.1.9",
49
- "@smithy/types": "^2.3.4",
50
- "@smithy/url-parser": "^2.0.10",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
+ "@aws-sdk/middleware-logger": "3.428.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
+ "@aws-sdk/middleware-signing": "3.428.0",
30
+ "@aws-sdk/middleware-user-agent": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.428.0",
32
+ "@aws-sdk/types": "3.428.0",
33
+ "@aws-sdk/util-endpoints": "3.428.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.428.0",
35
+ "@aws-sdk/util-user-agent-node": "3.428.0",
36
+ "@smithy/config-resolver": "^2.0.14",
37
+ "@smithy/fetch-http-handler": "^2.2.3",
38
+ "@smithy/hash-node": "^2.0.11",
39
+ "@smithy/invalid-dependency": "^2.0.11",
40
+ "@smithy/middleware-content-length": "^2.0.13",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
+ "@smithy/middleware-retry": "^2.0.16",
43
+ "@smithy/middleware-serde": "^2.0.11",
44
+ "@smithy/middleware-stack": "^2.0.5",
45
+ "@smithy/node-config-provider": "^2.1.1",
46
+ "@smithy/node-http-handler": "^2.1.7",
47
+ "@smithy/protocol-http": "^3.0.7",
48
+ "@smithy/smithy-client": "^2.1.11",
49
+ "@smithy/types": "^2.3.5",
50
+ "@smithy/url-parser": "^2.0.11",
51
51
  "@smithy/util-base64": "^2.0.0",
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.13",
55
- "@smithy/util-defaults-mode-node": "^2.0.15",
56
- "@smithy/util-retry": "^2.0.3",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.15",
55
+ "@smithy/util-defaults-mode-node": "^2.0.19",
56
+ "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "tslib": "^2.5.0"
59
59
  },