@aws-sdk/client-drs 3.350.0 → 3.352.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 (74) hide show
  1. package/README.md +71 -7
  2. package/dist-cjs/Drs.js +16 -0
  3. package/dist-cjs/commands/AssociateSourceNetworkStackCommand.js +47 -0
  4. package/dist-cjs/commands/CreateSourceNetworkCommand.js +47 -0
  5. package/dist-cjs/commands/DeleteSourceNetworkCommand.js +46 -0
  6. package/dist-cjs/commands/DescribeSourceNetworksCommand.js +47 -0
  7. package/dist-cjs/commands/ExportSourceNetworkCfnTemplateCommand.js +46 -0
  8. package/dist-cjs/commands/StartSourceNetworkRecoveryCommand.js +47 -0
  9. package/dist-cjs/commands/StartSourceNetworkReplicationCommand.js +47 -0
  10. package/dist-cjs/commands/StopSourceNetworkReplicationCommand.js +47 -0
  11. package/dist-cjs/commands/index.js +8 -0
  12. package/dist-cjs/models/models_0.js +197 -96
  13. package/dist-cjs/pagination/DescribeSourceNetworksPaginator.js +29 -0
  14. package/dist-cjs/pagination/index.js +1 -0
  15. package/dist-cjs/protocols/Aws_restJson1.js +595 -2
  16. package/dist-es/Drs.js +16 -0
  17. package/dist-es/commands/AssociateSourceNetworkStackCommand.js +43 -0
  18. package/dist-es/commands/CreateSourceNetworkCommand.js +43 -0
  19. package/dist-es/commands/DeleteSourceNetworkCommand.js +42 -0
  20. package/dist-es/commands/DescribeSourceNetworksCommand.js +43 -0
  21. package/dist-es/commands/ExportSourceNetworkCfnTemplateCommand.js +42 -0
  22. package/dist-es/commands/StartSourceNetworkRecoveryCommand.js +43 -0
  23. package/dist-es/commands/StartSourceNetworkReplicationCommand.js +43 -0
  24. package/dist-es/commands/StopSourceNetworkReplicationCommand.js +43 -0
  25. package/dist-es/commands/index.js +8 -0
  26. package/dist-es/models/models_0.js +184 -93
  27. package/dist-es/pagination/DescribeSourceNetworksPaginator.js +25 -0
  28. package/dist-es/pagination/index.js +1 -0
  29. package/dist-es/protocols/Aws_restJson1.js +578 -1
  30. package/dist-types/Drs.d.ts +56 -0
  31. package/dist-types/DrsClient.d.ts +10 -2
  32. package/dist-types/commands/AssociateSourceNetworkStackCommand.d.ts +121 -0
  33. package/dist-types/commands/CreateExtendedSourceServerCommand.d.ts +1 -0
  34. package/dist-types/commands/CreateLaunchConfigurationTemplateCommand.d.ts +2 -0
  35. package/dist-types/commands/CreateSourceNetworkCommand.d.ts +99 -0
  36. package/dist-types/commands/DeleteSourceNetworkCommand.d.ts +86 -0
  37. package/dist-types/commands/DescribeJobLogItemsCommand.d.ts +8 -0
  38. package/dist-types/commands/DescribeJobsCommand.d.ts +8 -0
  39. package/dist-types/commands/DescribeLaunchConfigurationTemplatesCommand.d.ts +1 -0
  40. package/dist-types/commands/DescribeSourceNetworksCommand.d.ts +114 -0
  41. package/dist-types/commands/DescribeSourceServersCommand.d.ts +1 -0
  42. package/dist-types/commands/DisconnectSourceServerCommand.d.ts +1 -0
  43. package/dist-types/commands/ExportSourceNetworkCfnTemplateCommand.d.ts +91 -0
  44. package/dist-types/commands/RetryDataReplicationCommand.d.ts +1 -0
  45. package/dist-types/commands/StartFailbackLaunchCommand.d.ts +8 -0
  46. package/dist-types/commands/StartRecoveryCommand.d.ts +8 -0
  47. package/dist-types/commands/StartReplicationCommand.d.ts +1 -0
  48. package/dist-types/commands/StartSourceNetworkRecoveryCommand.d.ts +126 -0
  49. package/dist-types/commands/StartSourceNetworkReplicationCommand.d.ts +106 -0
  50. package/dist-types/commands/StopReplicationCommand.d.ts +1 -0
  51. package/dist-types/commands/StopSourceNetworkReplicationCommand.d.ts +109 -0
  52. package/dist-types/commands/TerminateRecoveryInstancesCommand.d.ts +8 -0
  53. package/dist-types/commands/UpdateLaunchConfigurationTemplateCommand.d.ts +2 -0
  54. package/dist-types/commands/index.d.ts +8 -0
  55. package/dist-types/models/models_0.d.ts +802 -325
  56. package/dist-types/pagination/DescribeSourceNetworksPaginator.d.ts +7 -0
  57. package/dist-types/pagination/index.d.ts +1 -0
  58. package/dist-types/protocols/Aws_restJson1.d.ts +72 -0
  59. package/dist-types/ts3.4/Drs.d.ts +136 -0
  60. package/dist-types/ts3.4/DrsClient.d.ts +48 -0
  61. package/dist-types/ts3.4/commands/AssociateSourceNetworkStackCommand.d.ts +42 -0
  62. package/dist-types/ts3.4/commands/CreateSourceNetworkCommand.d.ts +39 -0
  63. package/dist-types/ts3.4/commands/DeleteSourceNetworkCommand.d.ts +39 -0
  64. package/dist-types/ts3.4/commands/DescribeSourceNetworksCommand.d.ts +42 -0
  65. package/dist-types/ts3.4/commands/ExportSourceNetworkCfnTemplateCommand.d.ts +42 -0
  66. package/dist-types/ts3.4/commands/StartSourceNetworkRecoveryCommand.d.ts +42 -0
  67. package/dist-types/ts3.4/commands/StartSourceNetworkReplicationCommand.d.ts +42 -0
  68. package/dist-types/ts3.4/commands/StopSourceNetworkReplicationCommand.d.ts +42 -0
  69. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  70. package/dist-types/ts3.4/models/models_0.d.ts +313 -116
  71. package/dist-types/ts3.4/pagination/DescribeSourceNetworksPaginator.d.ts +11 -0
  72. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  73. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +96 -0
  74. package/package.json +5 -5
@@ -23,6 +23,192 @@ export interface Account {
23
23
  */
24
24
  accountID?: string;
25
25
  }
26
+ /**
27
+ * @public
28
+ */
29
+ export interface AssociateSourceNetworkStackRequest {
30
+ /**
31
+ * <p>The Source Network ID to associate with CloudFormation template.</p>
32
+ */
33
+ sourceNetworkID: string | undefined;
34
+ /**
35
+ * <p>CloudFormation template to associate with a Source Network.</p>
36
+ */
37
+ cfnStackName: string | undefined;
38
+ }
39
+ /**
40
+ * @public
41
+ * @enum
42
+ */
43
+ export declare const InitiatedBy: {
44
+ readonly ASSOCIATE_NETWORK_RECOVERY: "ASSOCIATE_NETWORK_RECOVERY";
45
+ readonly CREATE_NETWORK_RECOVERY: "CREATE_NETWORK_RECOVERY";
46
+ readonly DIAGNOSTIC: "DIAGNOSTIC";
47
+ readonly FAILBACK: "FAILBACK";
48
+ readonly START_DRILL: "START_DRILL";
49
+ readonly START_RECOVERY: "START_RECOVERY";
50
+ readonly TARGET_ACCOUNT: "TARGET_ACCOUNT";
51
+ readonly TERMINATE_RECOVERY_INSTANCES: "TERMINATE_RECOVERY_INSTANCES";
52
+ readonly UPDATE_NETWORK_RECOVERY: "UPDATE_NETWORK_RECOVERY";
53
+ };
54
+ /**
55
+ * @public
56
+ */
57
+ export type InitiatedBy = (typeof InitiatedBy)[keyof typeof InitiatedBy];
58
+ /**
59
+ * @public
60
+ * @enum
61
+ */
62
+ export declare const LaunchStatus: {
63
+ readonly FAILED: "FAILED";
64
+ readonly IN_PROGRESS: "IN_PROGRESS";
65
+ readonly LAUNCHED: "LAUNCHED";
66
+ readonly PENDING: "PENDING";
67
+ readonly TERMINATED: "TERMINATED";
68
+ };
69
+ /**
70
+ * @public
71
+ */
72
+ export type LaunchStatus = (typeof LaunchStatus)[keyof typeof LaunchStatus];
73
+ /**
74
+ * @public
75
+ * <p>ID of a resource participating in an asynchronous Job.</p>
76
+ */
77
+ export type ParticipatingResourceID = ParticipatingResourceID.SourceNetworkIDMember | ParticipatingResourceID.$UnknownMember;
78
+ /**
79
+ * @public
80
+ */
81
+ export declare namespace ParticipatingResourceID {
82
+ /**
83
+ * <p>Source Network ID.</p>
84
+ */
85
+ interface SourceNetworkIDMember {
86
+ sourceNetworkID: string;
87
+ $unknown?: never;
88
+ }
89
+ interface $UnknownMember {
90
+ sourceNetworkID?: never;
91
+ $unknown: [string, any];
92
+ }
93
+ interface Visitor<T> {
94
+ sourceNetworkID: (value: string) => T;
95
+ _: (name: string, value: any) => T;
96
+ }
97
+ const visit: <T>(value: ParticipatingResourceID, visitor: Visitor<T>) => T;
98
+ }
99
+ /**
100
+ * @public
101
+ * <p>Represents a resource participating in an asynchronous Job.</p>
102
+ */
103
+ export interface ParticipatingResource {
104
+ /**
105
+ * <p>The ID of a participating resource.</p>
106
+ */
107
+ participatingResourceID?: ParticipatingResourceID;
108
+ /**
109
+ * <p>The launch status of a participating resource.</p>
110
+ */
111
+ launchStatus?: LaunchStatus | string;
112
+ }
113
+ /**
114
+ * @public
115
+ * <p>Represents a server participating in an asynchronous Job.</p>
116
+ */
117
+ export interface ParticipatingServer {
118
+ /**
119
+ * <p>The Source Server ID of a participating server.</p>
120
+ */
121
+ sourceServerID?: string;
122
+ /**
123
+ * <p>The Recovery Instance ID of a participating server.</p>
124
+ */
125
+ recoveryInstanceID?: string;
126
+ /**
127
+ * <p>The launch status of a participating server.</p>
128
+ */
129
+ launchStatus?: LaunchStatus | string;
130
+ }
131
+ /**
132
+ * @public
133
+ * @enum
134
+ */
135
+ export declare const JobStatus: {
136
+ readonly COMPLETED: "COMPLETED";
137
+ readonly PENDING: "PENDING";
138
+ readonly STARTED: "STARTED";
139
+ };
140
+ /**
141
+ * @public
142
+ */
143
+ export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
144
+ /**
145
+ * @public
146
+ * @enum
147
+ */
148
+ export declare const JobType: {
149
+ readonly CREATE_CONVERTED_SNAPSHOT: "CREATE_CONVERTED_SNAPSHOT";
150
+ readonly LAUNCH: "LAUNCH";
151
+ readonly TERMINATE: "TERMINATE";
152
+ };
153
+ /**
154
+ * @public
155
+ */
156
+ export type JobType = (typeof JobType)[keyof typeof JobType];
157
+ /**
158
+ * @public
159
+ * <p>A job is an asynchronous workflow.</p>
160
+ */
161
+ export interface Job {
162
+ /**
163
+ * <p>The ID of the Job.</p>
164
+ */
165
+ jobID: string | undefined;
166
+ /**
167
+ * <p>The ARN of a Job.</p>
168
+ */
169
+ arn?: string;
170
+ /**
171
+ * <p>The type of the Job.</p>
172
+ */
173
+ type?: JobType | string;
174
+ /**
175
+ * <p>A string representing who initiated the Job.</p>
176
+ */
177
+ initiatedBy?: InitiatedBy | string;
178
+ /**
179
+ * <p>The date and time of when the Job was created.</p>
180
+ */
181
+ creationDateTime?: string;
182
+ /**
183
+ * <p>The date and time of when the Job ended.</p>
184
+ */
185
+ endDateTime?: string;
186
+ /**
187
+ * <p>The status of the Job.</p>
188
+ */
189
+ status?: JobStatus | string;
190
+ /**
191
+ * <p>A list of servers that the Job is acting upon.</p>
192
+ */
193
+ participatingServers?: ParticipatingServer[];
194
+ /**
195
+ * <p>A list of tags associated with the Job.</p>
196
+ */
197
+ tags?: Record<string, string>;
198
+ /**
199
+ * <p>A list of resources that the Job is acting upon.</p>
200
+ */
201
+ participatingResources?: ParticipatingResource[];
202
+ }
203
+ /**
204
+ * @public
205
+ */
206
+ export interface AssociateSourceNetworkStackResponse {
207
+ /**
208
+ * <p>The Source Network association Job.</p>
209
+ */
210
+ job?: Job;
211
+ }
26
212
  /**
27
213
  * @public
28
214
  * <p>The request could not be completed due to a conflict with the current state of the target resource.</p>
@@ -44,6 +230,158 @@ export declare class ConflictException extends __BaseException {
44
230
  */
45
231
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
46
232
  }
233
+ /**
234
+ * @public
235
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
236
+ */
237
+ export declare class InternalServerException extends __BaseException {
238
+ readonly name: "InternalServerException";
239
+ readonly $fault: "server";
240
+ /**
241
+ * <p>The number of seconds after which the request should be safe to retry.</p>
242
+ */
243
+ retryAfterSeconds?: number;
244
+ /**
245
+ * @internal
246
+ */
247
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
248
+ }
249
+ /**
250
+ * @public
251
+ * <p>The resource for this operation was not found.</p>
252
+ */
253
+ export declare class ResourceNotFoundException extends __BaseException {
254
+ readonly name: "ResourceNotFoundException";
255
+ readonly $fault: "client";
256
+ code?: string;
257
+ /**
258
+ * <p>The ID of the resource.</p>
259
+ */
260
+ resourceId?: string;
261
+ /**
262
+ * <p>The type of the resource.</p>
263
+ */
264
+ resourceType?: string;
265
+ /**
266
+ * @internal
267
+ */
268
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
269
+ }
270
+ /**
271
+ * @public
272
+ * <p>The request could not be completed because its exceeded the service quota.</p>
273
+ */
274
+ export declare class ServiceQuotaExceededException extends __BaseException {
275
+ readonly name: "ServiceQuotaExceededException";
276
+ readonly $fault: "client";
277
+ code?: string;
278
+ /**
279
+ * <p>The ID of the resource.</p>
280
+ */
281
+ resourceId?: string;
282
+ /**
283
+ * <p>The type of the resource.</p>
284
+ */
285
+ resourceType?: string;
286
+ /**
287
+ * <p>Service code.</p>
288
+ */
289
+ serviceCode?: string;
290
+ /**
291
+ * <p>Quota code.</p>
292
+ */
293
+ quotaCode?: string;
294
+ /**
295
+ * @internal
296
+ */
297
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
298
+ }
299
+ /**
300
+ * @public
301
+ * <p>The request was denied due to request throttling.</p>
302
+ */
303
+ export declare class ThrottlingException extends __BaseException {
304
+ readonly name: "ThrottlingException";
305
+ readonly $fault: "client";
306
+ /**
307
+ * <p>Service code.</p>
308
+ */
309
+ serviceCode?: string;
310
+ /**
311
+ * <p>Quota code.</p>
312
+ */
313
+ quotaCode?: string;
314
+ /**
315
+ * <p>The number of seconds after which the request should be safe to retry.</p>
316
+ */
317
+ retryAfterSeconds?: string;
318
+ /**
319
+ * @internal
320
+ */
321
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
322
+ }
323
+ /**
324
+ * @public
325
+ * <p>The account performing the request has not been initialized.</p>
326
+ */
327
+ export declare class UninitializedAccountException extends __BaseException {
328
+ readonly name: "UninitializedAccountException";
329
+ readonly $fault: "client";
330
+ code?: string;
331
+ /**
332
+ * @internal
333
+ */
334
+ constructor(opts: __ExceptionOptionType<UninitializedAccountException, __BaseException>);
335
+ }
336
+ /**
337
+ * @public
338
+ * <p>Validate exception field.</p>
339
+ */
340
+ export interface ValidationExceptionField {
341
+ /**
342
+ * <p>Validate exception field name.</p>
343
+ */
344
+ name?: string;
345
+ /**
346
+ * <p>Validate exception field message.</p>
347
+ */
348
+ message?: string;
349
+ }
350
+ /**
351
+ * @public
352
+ * @enum
353
+ */
354
+ export declare const ValidationExceptionReason: {
355
+ readonly CANNOT_PARSE: "cannotParse";
356
+ readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
357
+ readonly OTHER: "other";
358
+ readonly UNKNOWN_OPERATION: "unknownOperation";
359
+ };
360
+ /**
361
+ * @public
362
+ */
363
+ export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
364
+ /**
365
+ * @public
366
+ * <p>The input fails to satisfy the constraints specified by the AWS service.</p>
367
+ */
368
+ export declare class ValidationException extends __BaseException {
369
+ readonly name: "ValidationException";
370
+ readonly $fault: "client";
371
+ code?: string;
372
+ /**
373
+ * <p>Validation exception reason.</p>
374
+ */
375
+ reason?: ValidationExceptionReason | string;
376
+ /**
377
+ * <p>A list of fields that failed validation.</p>
378
+ */
379
+ fieldList?: ValidationExceptionField[];
380
+ /**
381
+ * @internal
382
+ */
383
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
384
+ }
47
385
  /**
48
386
  * @public
49
387
  * <p>Properties of a conversion job</p>
@@ -327,21 +665,6 @@ export interface LifeCycleLastLaunchInitiated {
327
665
  */
328
666
  type?: LastLaunchType | string;
329
667
  }
330
- /**
331
- * @public
332
- * @enum
333
- */
334
- export declare const LaunchStatus: {
335
- readonly FAILED: "FAILED";
336
- readonly IN_PROGRESS: "IN_PROGRESS";
337
- readonly LAUNCHED: "LAUNCHED";
338
- readonly PENDING: "PENDING";
339
- readonly TERMINATED: "TERMINATED";
340
- };
341
- /**
342
- * @public
343
- */
344
- export type LaunchStatus = (typeof LaunchStatus)[keyof typeof LaunchStatus];
345
668
  /**
346
669
  * @public
347
670
  * <p>An object containing information regarding the last launch of a Source Server.</p>
@@ -569,206 +892,58 @@ export interface SourceServer {
569
892
  */
570
893
  arn?: string;
571
894
  /**
572
- * <p>The tags associated with the Source Server.</p>
573
- */
574
- tags?: Record<string, string>;
575
- /**
576
- * <p>The ID of the Recovery Instance associated with this Source Server.</p>
577
- */
578
- recoveryInstanceId?: string;
579
- /**
580
- * <p>The status of the last recovery launch of this Source Server.</p>
581
- */
582
- lastLaunchResult?: LastLaunchResult | string;
583
- /**
584
- * <p>The Data Replication Info of the Source Server.</p>
585
- */
586
- dataReplicationInfo?: DataReplicationInfo;
587
- /**
588
- * <p>The lifecycle information of this Source Server.</p>
589
- */
590
- lifeCycle?: LifeCycle;
591
- /**
592
- * <p>The source properties of the Source Server.</p>
593
- */
594
- sourceProperties?: SourceProperties;
595
- /**
596
- * <p>The staging area of the source server.</p>
597
- */
598
- stagingArea?: StagingArea;
599
- /**
600
- * <p>Source cloud properties of the Source Server.</p>
601
- */
602
- sourceCloudProperties?: SourceCloudProperties;
603
- /**
604
- * <p>Replication direction of the Source Server.</p>
605
- */
606
- replicationDirection?: ReplicationDirection | string;
607
- /**
608
- * <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>
609
- */
610
- reversedDirectionSourceServerArn?: string;
611
- }
612
- /**
613
- * @public
614
- */
615
- export interface CreateExtendedSourceServerResponse {
616
- /**
617
- * <p>Created extended source server.</p>
618
- */
619
- sourceServer?: SourceServer;
620
- }
621
- /**
622
- * @public
623
- * <p>The request processing has failed because of an unknown error, exception or failure.</p>
624
- */
625
- export declare class InternalServerException extends __BaseException {
626
- readonly name: "InternalServerException";
627
- readonly $fault: "server";
628
- /**
629
- * <p>The number of seconds after which the request should be safe to retry.</p>
630
- */
631
- retryAfterSeconds?: number;
632
- /**
633
- * @internal
634
- */
635
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
636
- }
637
- /**
638
- * @public
639
- * <p>The resource for this operation was not found.</p>
640
- */
641
- export declare class ResourceNotFoundException extends __BaseException {
642
- readonly name: "ResourceNotFoundException";
643
- readonly $fault: "client";
644
- code?: string;
645
- /**
646
- * <p>The ID of the resource.</p>
647
- */
648
- resourceId?: string;
649
- /**
650
- * <p>The type of the resource.</p>
651
- */
652
- resourceType?: string;
653
- /**
654
- * @internal
655
- */
656
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
657
- }
658
- /**
659
- * @public
660
- * <p>The request could not be completed because its exceeded the service quota.</p>
661
- */
662
- export declare class ServiceQuotaExceededException extends __BaseException {
663
- readonly name: "ServiceQuotaExceededException";
664
- readonly $fault: "client";
665
- code?: string;
666
- /**
667
- * <p>The ID of the resource.</p>
668
- */
669
- resourceId?: string;
670
- /**
671
- * <p>The type of the resource.</p>
895
+ * <p>The tags associated with the Source Server.</p>
672
896
  */
673
- resourceType?: string;
897
+ tags?: Record<string, string>;
674
898
  /**
675
- * <p>Service code.</p>
899
+ * <p>The ID of the Recovery Instance associated with this Source Server.</p>
676
900
  */
677
- serviceCode?: string;
901
+ recoveryInstanceId?: string;
678
902
  /**
679
- * <p>Quota code.</p>
903
+ * <p>The status of the last recovery launch of this Source Server.</p>
680
904
  */
681
- quotaCode?: string;
905
+ lastLaunchResult?: LastLaunchResult | string;
682
906
  /**
683
- * @internal
907
+ * <p>The Data Replication Info of the Source Server.</p>
684
908
  */
685
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
686
- }
687
- /**
688
- * @public
689
- * <p>The request was denied due to request throttling.</p>
690
- */
691
- export declare class ThrottlingException extends __BaseException {
692
- readonly name: "ThrottlingException";
693
- readonly $fault: "client";
909
+ dataReplicationInfo?: DataReplicationInfo;
694
910
  /**
695
- * <p>Service code.</p>
911
+ * <p>The lifecycle information of this Source Server.</p>
696
912
  */
697
- serviceCode?: string;
913
+ lifeCycle?: LifeCycle;
698
914
  /**
699
- * <p>Quota code.</p>
915
+ * <p>The source properties of the Source Server.</p>
700
916
  */
701
- quotaCode?: string;
917
+ sourceProperties?: SourceProperties;
702
918
  /**
703
- * <p>The number of seconds after which the request should be safe to retry.</p>
919
+ * <p>The staging area of the source server.</p>
704
920
  */
705
- retryAfterSeconds?: string;
921
+ stagingArea?: StagingArea;
706
922
  /**
707
- * @internal
923
+ * <p>Source cloud properties of the Source Server.</p>
708
924
  */
709
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
710
- }
711
- /**
712
- * @public
713
- * <p>The account performing the request has not been initialized.</p>
714
- */
715
- export declare class UninitializedAccountException extends __BaseException {
716
- readonly name: "UninitializedAccountException";
717
- readonly $fault: "client";
718
- code?: string;
925
+ sourceCloudProperties?: SourceCloudProperties;
719
926
  /**
720
- * @internal
927
+ * <p>Replication direction of the Source Server.</p>
721
928
  */
722
- constructor(opts: __ExceptionOptionType<UninitializedAccountException, __BaseException>);
723
- }
724
- /**
725
- * @public
726
- * <p>Validate exception field.</p>
727
- */
728
- export interface ValidationExceptionField {
929
+ replicationDirection?: ReplicationDirection | string;
729
930
  /**
730
- * <p>Validate exception field name.</p>
931
+ * <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>
731
932
  */
732
- name?: string;
933
+ reversedDirectionSourceServerArn?: string;
733
934
  /**
734
- * <p>Validate exception field message.</p>
935
+ * <p>ID of the Source Network which is protecting this Source Server's network.</p>
735
936
  */
736
- message?: string;
937
+ sourceNetworkID?: string;
737
938
  }
738
939
  /**
739
940
  * @public
740
- * @enum
741
- */
742
- export declare const ValidationExceptionReason: {
743
- readonly CANNOT_PARSE: "cannotParse";
744
- readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
745
- readonly OTHER: "other";
746
- readonly UNKNOWN_OPERATION: "unknownOperation";
747
- };
748
- /**
749
- * @public
750
- */
751
- export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
752
- /**
753
- * @public
754
- * <p>The input fails to satisfy the constraints specified by the AWS service.</p>
755
941
  */
756
- export declare class ValidationException extends __BaseException {
757
- readonly name: "ValidationException";
758
- readonly $fault: "client";
759
- code?: string;
760
- /**
761
- * <p>Validation exception reason.</p>
762
- */
763
- reason?: ValidationExceptionReason | string;
764
- /**
765
- * <p>A list of fields that failed validation.</p>
766
- */
767
- fieldList?: ValidationExceptionField[];
942
+ export interface CreateExtendedSourceServerResponse {
768
943
  /**
769
- * @internal
944
+ * <p>Created extended source server.</p>
770
945
  */
771
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
946
+ sourceServer?: SourceServer;
772
947
  }
773
948
  /**
774
949
  * @public
@@ -832,6 +1007,10 @@ export interface CreateLaunchConfigurationTemplateRequest {
832
1007
  * <p>Licensing.</p>
833
1008
  */
834
1009
  licensing?: Licensing;
1010
+ /**
1011
+ * <p>S3 bucket ARN to export Source Network templates.</p>
1012
+ */
1013
+ exportBucketArn?: string;
835
1014
  }
836
1015
  /**
837
1016
  * @public
@@ -870,6 +1049,10 @@ export interface LaunchConfigurationTemplate {
870
1049
  * <p>Licensing.</p>
871
1050
  */
872
1051
  licensing?: Licensing;
1052
+ /**
1053
+ * <p>S3 bucket ARN to export Source Network templates.</p>
1054
+ */
1055
+ exportBucketArn?: string;
873
1056
  }
874
1057
  /**
875
1058
  * @public
@@ -913,6 +1096,7 @@ export type ReplicationConfigurationDefaultLargeStagingDiskType = (typeof Replic
913
1096
  export declare const ReplicationConfigurationEbsEncryption: {
914
1097
  readonly CUSTOM: "CUSTOM";
915
1098
  readonly DEFAULT: "DEFAULT";
1099
+ readonly NONE: "NONE";
916
1100
  };
917
1101
  /**
918
1102
  * @public
@@ -1095,6 +1279,36 @@ export interface ReplicationConfigurationTemplate {
1095
1279
  */
1096
1280
  autoReplicateNewDisks?: boolean;
1097
1281
  }
1282
+ /**
1283
+ * @public
1284
+ */
1285
+ export interface CreateSourceNetworkRequest {
1286
+ /**
1287
+ * <p>Which VPC ID to protect.</p>
1288
+ */
1289
+ vpcID: string | undefined;
1290
+ /**
1291
+ * <p>Account containing the VPC to protect.</p>
1292
+ */
1293
+ originAccountID: string | undefined;
1294
+ /**
1295
+ * <p>Region containing the VPC to protect.</p>
1296
+ */
1297
+ originRegion: string | undefined;
1298
+ /**
1299
+ * <p>A set of tags to be associated with the Source Network resource.</p>
1300
+ */
1301
+ tags?: Record<string, string>;
1302
+ }
1303
+ /**
1304
+ * @public
1305
+ */
1306
+ export interface CreateSourceNetworkResponse {
1307
+ /**
1308
+ * <p>ID of the created Source Network.</p>
1309
+ */
1310
+ sourceNetworkID?: string;
1311
+ }
1098
1312
  /**
1099
1313
  * @public
1100
1314
  */
@@ -1146,6 +1360,20 @@ export interface DeleteReplicationConfigurationTemplateRequest {
1146
1360
  */
1147
1361
  export interface DeleteReplicationConfigurationTemplateResponse {
1148
1362
  }
1363
+ /**
1364
+ * @public
1365
+ */
1366
+ export interface DeleteSourceNetworkRequest {
1367
+ /**
1368
+ * <p>ID of the Source Network to delete.</p>
1369
+ */
1370
+ sourceNetworkID: string | undefined;
1371
+ }
1372
+ /**
1373
+ * @public
1374
+ */
1375
+ export interface DeleteSourceNetworkResponse {
1376
+ }
1149
1377
  /**
1150
1378
  * @public
1151
1379
  */
@@ -1188,15 +1416,25 @@ export declare const JobLogEvent: {
1188
1416
  readonly CONVERSION_END: "CONVERSION_END";
1189
1417
  readonly CONVERSION_FAIL: "CONVERSION_FAIL";
1190
1418
  readonly CONVERSION_START: "CONVERSION_START";
1419
+ readonly DEPLOY_NETWORK_CONFIGURATION_END: "DEPLOY_NETWORK_CONFIGURATION_END";
1420
+ readonly DEPLOY_NETWORK_CONFIGURATION_FAILED: "DEPLOY_NETWORK_CONFIGURATION_FAILED";
1421
+ readonly DEPLOY_NETWORK_CONFIGURATION_START: "DEPLOY_NETWORK_CONFIGURATION_START";
1191
1422
  readonly JOB_CANCEL: "JOB_CANCEL";
1192
1423
  readonly JOB_END: "JOB_END";
1193
1424
  readonly JOB_START: "JOB_START";
1194
1425
  readonly LAUNCH_FAILED: "LAUNCH_FAILED";
1195
1426
  readonly LAUNCH_START: "LAUNCH_START";
1427
+ readonly NETWORK_RECOVERY_FAIL: "NETWORK_RECOVERY_FAIL";
1196
1428
  readonly SERVER_SKIPPED: "SERVER_SKIPPED";
1197
1429
  readonly SNAPSHOT_END: "SNAPSHOT_END";
1198
1430
  readonly SNAPSHOT_FAIL: "SNAPSHOT_FAIL";
1199
1431
  readonly SNAPSHOT_START: "SNAPSHOT_START";
1432
+ readonly UPDATE_LAUNCH_TEMPLATE_END: "UPDATE_LAUNCH_TEMPLATE_END";
1433
+ readonly UPDATE_LAUNCH_TEMPLATE_FAILED: "UPDATE_LAUNCH_TEMPLATE_FAILED";
1434
+ readonly UPDATE_LAUNCH_TEMPLATE_START: "UPDATE_LAUNCH_TEMPLATE_START";
1435
+ readonly UPDATE_NETWORK_CONFIGURATION_END: "UPDATE_NETWORK_CONFIGURATION_END";
1436
+ readonly UPDATE_NETWORK_CONFIGURATION_FAILED: "UPDATE_NETWORK_CONFIGURATION_FAILED";
1437
+ readonly UPDATE_NETWORK_CONFIGURATION_START: "UPDATE_NETWORK_CONFIGURATION_START";
1200
1438
  readonly USING_PREVIOUS_SNAPSHOT: "USING_PREVIOUS_SNAPSHOT";
1201
1439
  readonly USING_PREVIOUS_SNAPSHOT_FAILED: "USING_PREVIOUS_SNAPSHOT_FAILED";
1202
1440
  };
@@ -1206,197 +1444,147 @@ export declare const JobLogEvent: {
1206
1444
  export type JobLogEvent = (typeof JobLogEvent)[keyof typeof JobLogEvent];
1207
1445
  /**
1208
1446
  * @public
1209
- * <p>Metadata associated with a Job log.</p>
1447
+ * <p>Properties of Source Network related to a job event.</p>
1210
1448
  */
1211
- export interface JobLogEventData {
1212
- /**
1213
- * <p>The ID of a Source Server.</p>
1214
- */
1215
- sourceServerID?: string;
1216
- /**
1217
- * <p>The ID of a conversion server.</p>
1218
- */
1219
- conversionServerID?: string;
1220
- /**
1221
- * <p>The ID of a Recovery Instance.</p>
1222
- */
1223
- targetInstanceID?: string;
1224
- /**
1225
- * <p>A string representing a job error.</p>
1226
- */
1227
- rawError?: string;
1449
+ export interface SourceNetworkData {
1228
1450
  /**
1229
- * <p>Properties of a conversion job</p>
1451
+ * <p>Source Network ID.</p>
1230
1452
  */
1231
- conversionProperties?: ConversionProperties;
1232
- }
1233
- /**
1234
- * @public
1235
- * <p>A log outputted by a Job.</p>
1236
- */
1237
- export interface JobLog {
1453
+ sourceNetworkID?: string;
1238
1454
  /**
1239
- * <p>The date and time the log was taken.</p>
1455
+ * <p>VPC ID protected by the Source Network.</p>
1240
1456
  */
1241
- logDateTime?: string;
1457
+ sourceVpc?: string;
1242
1458
  /**
1243
- * <p>The event represents the type of a log.</p>
1459
+ * <p>ID of the recovered VPC following Source Network recovery.</p>
1244
1460
  */
1245
- event?: JobLogEvent | string;
1461
+ targetVpc?: string;
1246
1462
  /**
1247
- * <p>Metadata associated with a Job log.</p>
1463
+ * <p>CloudFormation stack name that was deployed for recovering the Source Network.</p>
1248
1464
  */
1249
- eventData?: JobLogEventData;
1465
+ stackName?: string;
1250
1466
  }
1251
1467
  /**
1252
1468
  * @public
1469
+ * <p>Properties of resource related to a job event.</p>
1253
1470
  */
1254
- export interface DescribeJobLogItemsResponse {
1255
- /**
1256
- * <p>An array of Job log items.</p>
1257
- */
1258
- items?: JobLog[];
1259
- /**
1260
- * <p>The token of the next Job log items to retrieve.</p>
1261
- */
1262
- nextToken?: string;
1263
- }
1471
+ export type EventResourceData = EventResourceData.SourceNetworkDataMember | EventResourceData.$UnknownMember;
1264
1472
  /**
1265
1473
  * @public
1266
- * <p>A set of filters by which to return Jobs.</p>
1267
1474
  */
1268
- export interface DescribeJobsRequestFilters {
1269
- /**
1270
- * <p>An array of Job IDs that should be returned. An empty array means all jobs.</p>
1271
- */
1272
- jobIDs?: string[];
1273
- /**
1274
- * <p>The start date in a date range query.</p>
1275
- */
1276
- fromDate?: string;
1475
+ export declare namespace EventResourceData {
1277
1476
  /**
1278
- * <p>The end date in a date range query.</p>
1477
+ * <p>Source Network properties.</p>
1279
1478
  */
1280
- toDate?: string;
1479
+ interface SourceNetworkDataMember {
1480
+ sourceNetworkData: SourceNetworkData;
1481
+ $unknown?: never;
1482
+ }
1483
+ interface $UnknownMember {
1484
+ sourceNetworkData?: never;
1485
+ $unknown: [string, any];
1486
+ }
1487
+ interface Visitor<T> {
1488
+ sourceNetworkData: (value: SourceNetworkData) => T;
1489
+ _: (name: string, value: any) => T;
1490
+ }
1491
+ const visit: <T>(value: EventResourceData, visitor: Visitor<T>) => T;
1281
1492
  }
1282
1493
  /**
1283
1494
  * @public
1495
+ * <p>Metadata associated with a Job log.</p>
1284
1496
  */
1285
- export interface DescribeJobsRequest {
1497
+ export interface JobLogEventData {
1286
1498
  /**
1287
- * <p>A set of filters by which to return Jobs.</p>
1499
+ * <p>The ID of a Source Server.</p>
1288
1500
  */
1289
- filters?: DescribeJobsRequestFilters;
1501
+ sourceServerID?: string;
1290
1502
  /**
1291
- * <p>Maximum number of Jobs to retrieve.</p>
1503
+ * <p>The ID of a conversion server.</p>
1292
1504
  */
1293
- maxResults?: number;
1505
+ conversionServerID?: string;
1294
1506
  /**
1295
- * <p>The token of the next Job to retrieve.</p>
1507
+ * <p>The ID of a Recovery Instance.</p>
1296
1508
  */
1297
- nextToken?: string;
1298
- }
1299
- /**
1300
- * @public
1301
- * @enum
1302
- */
1303
- export declare const InitiatedBy: {
1304
- readonly DIAGNOSTIC: "DIAGNOSTIC";
1305
- readonly FAILBACK: "FAILBACK";
1306
- readonly START_DRILL: "START_DRILL";
1307
- readonly START_RECOVERY: "START_RECOVERY";
1308
- readonly TARGET_ACCOUNT: "TARGET_ACCOUNT";
1309
- readonly TERMINATE_RECOVERY_INSTANCES: "TERMINATE_RECOVERY_INSTANCES";
1310
- };
1311
- /**
1312
- * @public
1313
- */
1314
- export type InitiatedBy = (typeof InitiatedBy)[keyof typeof InitiatedBy];
1315
- /**
1316
- * @public
1317
- * <p>Represents a server participating in an asynchronous Job.</p>
1318
- */
1319
- export interface ParticipatingServer {
1509
+ targetInstanceID?: string;
1320
1510
  /**
1321
- * <p>The Source Server ID of a participating server.</p>
1511
+ * <p>A string representing a job error.</p>
1322
1512
  */
1323
- sourceServerID?: string;
1513
+ rawError?: string;
1324
1514
  /**
1325
- * <p>The Recovery Instance ID of a participating server.</p>
1515
+ * <p>Properties of a conversion job</p>
1326
1516
  */
1327
- recoveryInstanceID?: string;
1517
+ conversionProperties?: ConversionProperties;
1328
1518
  /**
1329
- * <p>The launch status of a participating server.</p>
1330
- */
1331
- launchStatus?: LaunchStatus | string;
1332
- }
1333
- /**
1334
- * @public
1335
- * @enum
1336
- */
1337
- export declare const JobStatus: {
1338
- readonly COMPLETED: "COMPLETED";
1339
- readonly PENDING: "PENDING";
1340
- readonly STARTED: "STARTED";
1341
- };
1342
- /**
1343
- * @public
1344
- */
1345
- export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
1346
- /**
1347
- * @public
1348
- * @enum
1349
- */
1350
- export declare const JobType: {
1351
- readonly CREATE_CONVERTED_SNAPSHOT: "CREATE_CONVERTED_SNAPSHOT";
1352
- readonly LAUNCH: "LAUNCH";
1353
- readonly TERMINATE: "TERMINATE";
1354
- };
1519
+ * <p>Properties of resource related to a job event.</p>
1520
+ */
1521
+ eventResourceData?: EventResourceData;
1522
+ }
1355
1523
  /**
1356
1524
  * @public
1525
+ * <p>A log outputted by a Job.</p>
1357
1526
  */
1358
- export type JobType = (typeof JobType)[keyof typeof JobType];
1527
+ export interface JobLog {
1528
+ /**
1529
+ * <p>The date and time the log was taken.</p>
1530
+ */
1531
+ logDateTime?: string;
1532
+ /**
1533
+ * <p>The event represents the type of a log.</p>
1534
+ */
1535
+ event?: JobLogEvent | string;
1536
+ /**
1537
+ * <p>Metadata associated with a Job log.</p>
1538
+ */
1539
+ eventData?: JobLogEventData;
1540
+ }
1359
1541
  /**
1360
1542
  * @public
1361
- * <p>A job is an asynchronous workflow.</p>
1362
1543
  */
1363
- export interface Job {
1364
- /**
1365
- * <p>The ID of the Job.</p>
1366
- */
1367
- jobID: string | undefined;
1544
+ export interface DescribeJobLogItemsResponse {
1368
1545
  /**
1369
- * <p>The ARN of a Job.</p>
1546
+ * <p>An array of Job log items.</p>
1370
1547
  */
1371
- arn?: string;
1548
+ items?: JobLog[];
1372
1549
  /**
1373
- * <p>The type of the Job.</p>
1550
+ * <p>The token of the next Job log items to retrieve.</p>
1374
1551
  */
1375
- type?: JobType | string;
1552
+ nextToken?: string;
1553
+ }
1554
+ /**
1555
+ * @public
1556
+ * <p>A set of filters by which to return Jobs.</p>
1557
+ */
1558
+ export interface DescribeJobsRequestFilters {
1376
1559
  /**
1377
- * <p>A string representing who initiated the Job.</p>
1560
+ * <p>An array of Job IDs that should be returned. An empty array means all jobs.</p>
1378
1561
  */
1379
- initiatedBy?: InitiatedBy | string;
1562
+ jobIDs?: string[];
1380
1563
  /**
1381
- * <p>The date and time of when the Job was created.</p>
1564
+ * <p>The start date in a date range query.</p>
1382
1565
  */
1383
- creationDateTime?: string;
1566
+ fromDate?: string;
1384
1567
  /**
1385
- * <p>The date and time of when the Job ended.</p>
1568
+ * <p>The end date in a date range query.</p>
1386
1569
  */
1387
- endDateTime?: string;
1570
+ toDate?: string;
1571
+ }
1572
+ /**
1573
+ * @public
1574
+ */
1575
+ export interface DescribeJobsRequest {
1388
1576
  /**
1389
- * <p>The status of the Job.</p>
1577
+ * <p>A set of filters by which to return Jobs.</p>
1390
1578
  */
1391
- status?: JobStatus | string;
1579
+ filters?: DescribeJobsRequestFilters;
1392
1580
  /**
1393
- * <p>A list of servers that the Job is acting upon.</p>
1581
+ * <p>Maximum number of Jobs to retrieve.</p>
1394
1582
  */
1395
- participatingServers?: ParticipatingServer[];
1583
+ maxResults?: number;
1396
1584
  /**
1397
- * <p>A list of tags associated with the Job.</p>
1585
+ * <p>The token of the next Job to retrieve.</p>
1398
1586
  */
1399
- tags?: Record<string, string>;
1587
+ nextToken?: string;
1400
1588
  }
1401
1589
  /**
1402
1590
  * @public
@@ -2021,6 +2209,157 @@ export interface DescribeReplicationConfigurationTemplatesResponse {
2021
2209
  */
2022
2210
  nextToken?: string;
2023
2211
  }
2212
+ /**
2213
+ * @public
2214
+ * <p>A set of filters by which to return Source Networks.</p>
2215
+ */
2216
+ export interface DescribeSourceNetworksRequestFilters {
2217
+ /**
2218
+ * <p>An array of Source Network IDs that should be returned. An empty array means all Source Networks.</p>
2219
+ */
2220
+ sourceNetworkIDs?: string[];
2221
+ /**
2222
+ * <p>Filter Source Networks by account ID containing the protected VPCs.</p>
2223
+ */
2224
+ originAccountID?: string;
2225
+ /**
2226
+ * <p>Filter Source Networks by the region containing the protected VPCs.</p>
2227
+ */
2228
+ originRegion?: string;
2229
+ }
2230
+ /**
2231
+ * @public
2232
+ */
2233
+ export interface DescribeSourceNetworksRequest {
2234
+ /**
2235
+ * <p>A set of filters by which to return Source Networks.</p>
2236
+ */
2237
+ filters?: DescribeSourceNetworksRequestFilters;
2238
+ /**
2239
+ * <p>Maximum number of Source Networks to retrieve.</p>
2240
+ */
2241
+ maxResults?: number;
2242
+ /**
2243
+ * <p>The token of the next Source Networks to retrieve.</p>
2244
+ */
2245
+ nextToken?: string;
2246
+ }
2247
+ /**
2248
+ * @public
2249
+ * @enum
2250
+ */
2251
+ export declare const RecoveryResult: {
2252
+ readonly ASSOCIATE_FAIL: "ASSOCIATE_FAIL";
2253
+ readonly ASSOCIATE_SUCCESS: "ASSOCIATE_SUCCESS";
2254
+ readonly FAIL: "FAIL";
2255
+ readonly IN_PROGRESS: "IN_PROGRESS";
2256
+ readonly NOT_STARTED: "NOT_STARTED";
2257
+ readonly PARTIAL_SUCCESS: "PARTIAL_SUCCESS";
2258
+ readonly SUCCESS: "SUCCESS";
2259
+ };
2260
+ /**
2261
+ * @public
2262
+ */
2263
+ export type RecoveryResult = (typeof RecoveryResult)[keyof typeof RecoveryResult];
2264
+ /**
2265
+ * @public
2266
+ * <p>An object representing the Source Network recovery Lifecycle.</p>
2267
+ */
2268
+ export interface RecoveryLifeCycle {
2269
+ /**
2270
+ * <p>The date and time the last Source Network recovery was initiated.</p>
2271
+ */
2272
+ apiCallDateTime?: Date;
2273
+ /**
2274
+ * <p>The ID of the Job that was used to last recover the Source Network.</p>
2275
+ */
2276
+ jobID?: string;
2277
+ /**
2278
+ * <p>The status of the last recovery status of this Source Network.</p>
2279
+ */
2280
+ lastRecoveryResult?: RecoveryResult | string;
2281
+ }
2282
+ /**
2283
+ * @public
2284
+ * @enum
2285
+ */
2286
+ export declare const ReplicationStatus: {
2287
+ readonly ERROR: "ERROR";
2288
+ readonly IN_PROGRESS: "IN_PROGRESS";
2289
+ readonly PROTECTED: "PROTECTED";
2290
+ readonly STOPPED: "STOPPED";
2291
+ };
2292
+ /**
2293
+ * @public
2294
+ */
2295
+ export type ReplicationStatus = (typeof ReplicationStatus)[keyof typeof ReplicationStatus];
2296
+ /**
2297
+ * @public
2298
+ * <p>The ARN of the Source Network.</p>
2299
+ */
2300
+ export interface SourceNetwork {
2301
+ /**
2302
+ * <p>Source Network ID.</p>
2303
+ */
2304
+ sourceNetworkID?: string;
2305
+ /**
2306
+ * <p>VPC ID protected by the Source Network.</p>
2307
+ */
2308
+ sourceVpcID?: string;
2309
+ /**
2310
+ * <p>The ARN of the Source Network.</p>
2311
+ */
2312
+ arn?: string;
2313
+ /**
2314
+ * <p>A list of tags associated with the Source Network.</p>
2315
+ */
2316
+ tags?: Record<string, string>;
2317
+ /**
2318
+ * <p>Status of Source Network Replication. Possible values:
2319
+ * (a) STOPPED - Source Network is not replicating.
2320
+ * (b) IN_PROGRESS - Source Network is being replicated.
2321
+ * (c) PROTECTED - Source Network was replicated successfully and is being synchronized for changes.
2322
+ * (d) ERROR - Source Network replication has failed</p>
2323
+ */
2324
+ replicationStatus?: ReplicationStatus | string;
2325
+ /**
2326
+ * <p>Error details in case Source Network replication status is ERROR.</p>
2327
+ */
2328
+ replicationStatusDetails?: string;
2329
+ /**
2330
+ * <p>CloudFormation stack name that was deployed for recovering the Source Network.</p>
2331
+ */
2332
+ cfnStackName?: string;
2333
+ /**
2334
+ * <p>Region containing the VPC protected by the Source Network.</p>
2335
+ */
2336
+ sourceRegion?: string;
2337
+ /**
2338
+ * <p>Account ID containing the VPC protected by the Source Network.</p>
2339
+ */
2340
+ sourceAccountID?: string;
2341
+ /**
2342
+ * <p>An object containing information regarding the last recovery of the Source Network.</p>
2343
+ */
2344
+ lastRecovery?: RecoveryLifeCycle;
2345
+ /**
2346
+ * <p>ID of the recovered VPC following Source Network recovery.</p>
2347
+ */
2348
+ launchedVpcID?: string;
2349
+ }
2350
+ /**
2351
+ * @public
2352
+ */
2353
+ export interface DescribeSourceNetworksResponse {
2354
+ /**
2355
+ * <p>An array of Source Networks.</p>
2356
+ */
2357
+ items?: SourceNetwork[];
2358
+ /**
2359
+ * <p>The token of the next Source Networks to retrieve.</p>
2360
+ */
2361
+ nextToken?: string;
2362
+ }
2024
2363
  /**
2025
2364
  * @public
2026
2365
  * <p>A set of filters by which to return Source Servers.</p>
@@ -2125,6 +2464,10 @@ export interface UpdateLaunchConfigurationTemplateRequest {
2125
2464
  * <p>Licensing.</p>
2126
2465
  */
2127
2466
  licensing?: Licensing;
2467
+ /**
2468
+ * <p>S3 bucket ARN to export Source Network templates.</p>
2469
+ */
2470
+ exportBucketArn?: string;
2128
2471
  }
2129
2472
  /**
2130
2473
  * @public
@@ -2414,6 +2757,100 @@ export interface UpdateReplicationConfigurationTemplateRequest {
2414
2757
  */
2415
2758
  autoReplicateNewDisks?: boolean;
2416
2759
  }
2760
+ /**
2761
+ * @public
2762
+ */
2763
+ export interface ExportSourceNetworkCfnTemplateRequest {
2764
+ /**
2765
+ * <p>The Source Network ID to export its CloudFormation template to an S3 bucket.</p>
2766
+ */
2767
+ sourceNetworkID: string | undefined;
2768
+ }
2769
+ /**
2770
+ * @public
2771
+ */
2772
+ export interface ExportSourceNetworkCfnTemplateResponse {
2773
+ /**
2774
+ * <p>S3 bucket URL where the Source Network CloudFormation template was exported to.</p>
2775
+ */
2776
+ s3DestinationUrl?: string;
2777
+ }
2778
+ /**
2779
+ * @public
2780
+ * <p>An object representing the Source Network to recover.</p>
2781
+ */
2782
+ export interface StartSourceNetworkRecoveryRequestNetworkEntry {
2783
+ /**
2784
+ * <p>The ID of the Source Network you want to recover.</p>
2785
+ */
2786
+ sourceNetworkID: string | undefined;
2787
+ /**
2788
+ * <p>CloudFormation stack name to be used for recovering the network.</p>
2789
+ */
2790
+ cfnStackName?: string;
2791
+ }
2792
+ /**
2793
+ * @public
2794
+ */
2795
+ export interface StartSourceNetworkRecoveryRequest {
2796
+ /**
2797
+ * <p>The Source Networks that we want to start a Recovery Job for.</p>
2798
+ */
2799
+ sourceNetworks: StartSourceNetworkRecoveryRequestNetworkEntry[] | undefined;
2800
+ /**
2801
+ * <p>Don't update existing CloudFormation Stack, recover the network using a new stack.</p>
2802
+ */
2803
+ deployAsNew?: boolean;
2804
+ /**
2805
+ * <p>The tags to be associated with the Source Network recovery Job.</p>
2806
+ */
2807
+ tags?: Record<string, string>;
2808
+ }
2809
+ /**
2810
+ * @public
2811
+ */
2812
+ export interface StartSourceNetworkRecoveryResponse {
2813
+ /**
2814
+ * <p>The Source Network recovery Job.</p>
2815
+ */
2816
+ job?: Job;
2817
+ }
2818
+ /**
2819
+ * @public
2820
+ */
2821
+ export interface StartSourceNetworkReplicationRequest {
2822
+ /**
2823
+ * <p>ID of the Source Network to replicate.</p>
2824
+ */
2825
+ sourceNetworkID: string | undefined;
2826
+ }
2827
+ /**
2828
+ * @public
2829
+ */
2830
+ export interface StartSourceNetworkReplicationResponse {
2831
+ /**
2832
+ * <p>Source Network which was requested for replication.</p>
2833
+ */
2834
+ sourceNetwork?: SourceNetwork;
2835
+ }
2836
+ /**
2837
+ * @public
2838
+ */
2839
+ export interface StopSourceNetworkReplicationRequest {
2840
+ /**
2841
+ * <p>ID of the Source Network to stop replication.</p>
2842
+ */
2843
+ sourceNetworkID: string | undefined;
2844
+ }
2845
+ /**
2846
+ * @public
2847
+ */
2848
+ export interface StopSourceNetworkReplicationResponse {
2849
+ /**
2850
+ * <p>Source Network which was requested to stop replication.</p>
2851
+ */
2852
+ sourceNetwork?: SourceNetwork;
2853
+ }
2417
2854
  /**
2418
2855
  * @public
2419
2856
  */
@@ -2806,6 +3243,18 @@ export interface UntagResourceRequest {
2806
3243
  */
2807
3244
  tagKeys: string[] | undefined;
2808
3245
  }
3246
+ /**
3247
+ * @internal
3248
+ */
3249
+ export declare const AssociateSourceNetworkStackRequestFilterSensitiveLog: (obj: AssociateSourceNetworkStackRequest) => any;
3250
+ /**
3251
+ * @internal
3252
+ */
3253
+ export declare const JobFilterSensitiveLog: (obj: Job) => any;
3254
+ /**
3255
+ * @internal
3256
+ */
3257
+ export declare const AssociateSourceNetworkStackResponseFilterSensitiveLog: (obj: AssociateSourceNetworkStackResponse) => any;
2809
3258
  /**
2810
3259
  * @internal
2811
3260
  */
@@ -2841,7 +3290,7 @@ export declare const ReplicationConfigurationTemplateFilterSensitiveLog: (obj: R
2841
3290
  /**
2842
3291
  * @internal
2843
3292
  */
2844
- export declare const JobFilterSensitiveLog: (obj: Job) => any;
3293
+ export declare const CreateSourceNetworkRequestFilterSensitiveLog: (obj: CreateSourceNetworkRequest) => any;
2845
3294
  /**
2846
3295
  * @internal
2847
3296
  */
@@ -2862,6 +3311,14 @@ export declare const DescribeRecoveryInstancesResponseFilterSensitiveLog: (obj:
2862
3311
  * @internal
2863
3312
  */
2864
3313
  export declare const DescribeReplicationConfigurationTemplatesResponseFilterSensitiveLog: (obj: DescribeReplicationConfigurationTemplatesResponse) => any;
3314
+ /**
3315
+ * @internal
3316
+ */
3317
+ export declare const SourceNetworkFilterSensitiveLog: (obj: SourceNetwork) => any;
3318
+ /**
3319
+ * @internal
3320
+ */
3321
+ export declare const DescribeSourceNetworksResponseFilterSensitiveLog: (obj: DescribeSourceNetworksResponse) => any;
2865
3322
  /**
2866
3323
  * @internal
2867
3324
  */
@@ -2898,6 +3355,26 @@ export declare const TerminateRecoveryInstancesResponseFilterSensitiveLog: (obj:
2898
3355
  * @internal
2899
3356
  */
2900
3357
  export declare const UpdateReplicationConfigurationTemplateRequestFilterSensitiveLog: (obj: UpdateReplicationConfigurationTemplateRequest) => any;
3358
+ /**
3359
+ * @internal
3360
+ */
3361
+ export declare const StartSourceNetworkRecoveryRequestNetworkEntryFilterSensitiveLog: (obj: StartSourceNetworkRecoveryRequestNetworkEntry) => any;
3362
+ /**
3363
+ * @internal
3364
+ */
3365
+ export declare const StartSourceNetworkRecoveryRequestFilterSensitiveLog: (obj: StartSourceNetworkRecoveryRequest) => any;
3366
+ /**
3367
+ * @internal
3368
+ */
3369
+ export declare const StartSourceNetworkRecoveryResponseFilterSensitiveLog: (obj: StartSourceNetworkRecoveryResponse) => any;
3370
+ /**
3371
+ * @internal
3372
+ */
3373
+ export declare const StartSourceNetworkReplicationResponseFilterSensitiveLog: (obj: StartSourceNetworkReplicationResponse) => any;
3374
+ /**
3375
+ * @internal
3376
+ */
3377
+ export declare const StopSourceNetworkReplicationResponseFilterSensitiveLog: (obj: StopSourceNetworkReplicationResponse) => any;
2901
3378
  /**
2902
3379
  * @internal
2903
3380
  */