@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.
- package/README.md +71 -7
- package/dist-cjs/Drs.js +16 -0
- package/dist-cjs/commands/AssociateSourceNetworkStackCommand.js +47 -0
- package/dist-cjs/commands/CreateSourceNetworkCommand.js +47 -0
- package/dist-cjs/commands/DeleteSourceNetworkCommand.js +46 -0
- package/dist-cjs/commands/DescribeSourceNetworksCommand.js +47 -0
- package/dist-cjs/commands/ExportSourceNetworkCfnTemplateCommand.js +46 -0
- package/dist-cjs/commands/StartSourceNetworkRecoveryCommand.js +47 -0
- package/dist-cjs/commands/StartSourceNetworkReplicationCommand.js +47 -0
- package/dist-cjs/commands/StopSourceNetworkReplicationCommand.js +47 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/models/models_0.js +197 -96
- package/dist-cjs/pagination/DescribeSourceNetworksPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +595 -2
- package/dist-es/Drs.js +16 -0
- package/dist-es/commands/AssociateSourceNetworkStackCommand.js +43 -0
- package/dist-es/commands/CreateSourceNetworkCommand.js +43 -0
- package/dist-es/commands/DeleteSourceNetworkCommand.js +42 -0
- package/dist-es/commands/DescribeSourceNetworksCommand.js +43 -0
- package/dist-es/commands/ExportSourceNetworkCfnTemplateCommand.js +42 -0
- package/dist-es/commands/StartSourceNetworkRecoveryCommand.js +43 -0
- package/dist-es/commands/StartSourceNetworkReplicationCommand.js +43 -0
- package/dist-es/commands/StopSourceNetworkReplicationCommand.js +43 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/models_0.js +184 -93
- package/dist-es/pagination/DescribeSourceNetworksPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +578 -1
- package/dist-types/Drs.d.ts +56 -0
- package/dist-types/DrsClient.d.ts +10 -2
- package/dist-types/commands/AssociateSourceNetworkStackCommand.d.ts +121 -0
- package/dist-types/commands/CreateExtendedSourceServerCommand.d.ts +1 -0
- package/dist-types/commands/CreateLaunchConfigurationTemplateCommand.d.ts +2 -0
- package/dist-types/commands/CreateSourceNetworkCommand.d.ts +99 -0
- package/dist-types/commands/DeleteSourceNetworkCommand.d.ts +86 -0
- package/dist-types/commands/DescribeJobLogItemsCommand.d.ts +8 -0
- package/dist-types/commands/DescribeJobsCommand.d.ts +8 -0
- package/dist-types/commands/DescribeLaunchConfigurationTemplatesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeSourceNetworksCommand.d.ts +114 -0
- package/dist-types/commands/DescribeSourceServersCommand.d.ts +1 -0
- package/dist-types/commands/DisconnectSourceServerCommand.d.ts +1 -0
- package/dist-types/commands/ExportSourceNetworkCfnTemplateCommand.d.ts +91 -0
- package/dist-types/commands/RetryDataReplicationCommand.d.ts +1 -0
- package/dist-types/commands/StartFailbackLaunchCommand.d.ts +8 -0
- package/dist-types/commands/StartRecoveryCommand.d.ts +8 -0
- package/dist-types/commands/StartReplicationCommand.d.ts +1 -0
- package/dist-types/commands/StartSourceNetworkRecoveryCommand.d.ts +126 -0
- package/dist-types/commands/StartSourceNetworkReplicationCommand.d.ts +106 -0
- package/dist-types/commands/StopReplicationCommand.d.ts +1 -0
- package/dist-types/commands/StopSourceNetworkReplicationCommand.d.ts +109 -0
- package/dist-types/commands/TerminateRecoveryInstancesCommand.d.ts +8 -0
- package/dist-types/commands/UpdateLaunchConfigurationTemplateCommand.d.ts +2 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +802 -325
- package/dist-types/pagination/DescribeSourceNetworksPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +72 -0
- package/dist-types/ts3.4/Drs.d.ts +136 -0
- package/dist-types/ts3.4/DrsClient.d.ts +48 -0
- package/dist-types/ts3.4/commands/AssociateSourceNetworkStackCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateSourceNetworkCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteSourceNetworkCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeSourceNetworksCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ExportSourceNetworkCfnTemplateCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartSourceNetworkRecoveryCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartSourceNetworkReplicationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StopSourceNetworkReplicationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +313 -116
- package/dist-types/ts3.4/pagination/DescribeSourceNetworksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +96 -0
- package/package.json +5 -5
|
@@ -11,6 +11,84 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
11
11
|
export interface Account {
|
|
12
12
|
accountID?: string;
|
|
13
13
|
}
|
|
14
|
+
export interface AssociateSourceNetworkStackRequest {
|
|
15
|
+
sourceNetworkID: string | undefined;
|
|
16
|
+
cfnStackName: string | undefined;
|
|
17
|
+
}
|
|
18
|
+
export declare const InitiatedBy: {
|
|
19
|
+
readonly ASSOCIATE_NETWORK_RECOVERY: "ASSOCIATE_NETWORK_RECOVERY";
|
|
20
|
+
readonly CREATE_NETWORK_RECOVERY: "CREATE_NETWORK_RECOVERY";
|
|
21
|
+
readonly DIAGNOSTIC: "DIAGNOSTIC";
|
|
22
|
+
readonly FAILBACK: "FAILBACK";
|
|
23
|
+
readonly START_DRILL: "START_DRILL";
|
|
24
|
+
readonly START_RECOVERY: "START_RECOVERY";
|
|
25
|
+
readonly TARGET_ACCOUNT: "TARGET_ACCOUNT";
|
|
26
|
+
readonly TERMINATE_RECOVERY_INSTANCES: "TERMINATE_RECOVERY_INSTANCES";
|
|
27
|
+
readonly UPDATE_NETWORK_RECOVERY: "UPDATE_NETWORK_RECOVERY";
|
|
28
|
+
};
|
|
29
|
+
export type InitiatedBy = (typeof InitiatedBy)[keyof typeof InitiatedBy];
|
|
30
|
+
export declare const LaunchStatus: {
|
|
31
|
+
readonly FAILED: "FAILED";
|
|
32
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
33
|
+
readonly LAUNCHED: "LAUNCHED";
|
|
34
|
+
readonly PENDING: "PENDING";
|
|
35
|
+
readonly TERMINATED: "TERMINATED";
|
|
36
|
+
};
|
|
37
|
+
export type LaunchStatus = (typeof LaunchStatus)[keyof typeof LaunchStatus];
|
|
38
|
+
export type ParticipatingResourceID =
|
|
39
|
+
| ParticipatingResourceID.SourceNetworkIDMember
|
|
40
|
+
| ParticipatingResourceID.$UnknownMember;
|
|
41
|
+
export declare namespace ParticipatingResourceID {
|
|
42
|
+
interface SourceNetworkIDMember {
|
|
43
|
+
sourceNetworkID: string;
|
|
44
|
+
$unknown?: never;
|
|
45
|
+
}
|
|
46
|
+
interface $UnknownMember {
|
|
47
|
+
sourceNetworkID?: never;
|
|
48
|
+
$unknown: [string, any];
|
|
49
|
+
}
|
|
50
|
+
interface Visitor<T> {
|
|
51
|
+
sourceNetworkID: (value: string) => T;
|
|
52
|
+
_: (name: string, value: any) => T;
|
|
53
|
+
}
|
|
54
|
+
const visit: <T>(value: ParticipatingResourceID, visitor: Visitor<T>) => T;
|
|
55
|
+
}
|
|
56
|
+
export interface ParticipatingResource {
|
|
57
|
+
participatingResourceID?: ParticipatingResourceID;
|
|
58
|
+
launchStatus?: LaunchStatus | string;
|
|
59
|
+
}
|
|
60
|
+
export interface ParticipatingServer {
|
|
61
|
+
sourceServerID?: string;
|
|
62
|
+
recoveryInstanceID?: string;
|
|
63
|
+
launchStatus?: LaunchStatus | string;
|
|
64
|
+
}
|
|
65
|
+
export declare const JobStatus: {
|
|
66
|
+
readonly COMPLETED: "COMPLETED";
|
|
67
|
+
readonly PENDING: "PENDING";
|
|
68
|
+
readonly STARTED: "STARTED";
|
|
69
|
+
};
|
|
70
|
+
export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
|
|
71
|
+
export declare const JobType: {
|
|
72
|
+
readonly CREATE_CONVERTED_SNAPSHOT: "CREATE_CONVERTED_SNAPSHOT";
|
|
73
|
+
readonly LAUNCH: "LAUNCH";
|
|
74
|
+
readonly TERMINATE: "TERMINATE";
|
|
75
|
+
};
|
|
76
|
+
export type JobType = (typeof JobType)[keyof typeof JobType];
|
|
77
|
+
export interface Job {
|
|
78
|
+
jobID: string | undefined;
|
|
79
|
+
arn?: string;
|
|
80
|
+
type?: JobType | string;
|
|
81
|
+
initiatedBy?: InitiatedBy | string;
|
|
82
|
+
creationDateTime?: string;
|
|
83
|
+
endDateTime?: string;
|
|
84
|
+
status?: JobStatus | string;
|
|
85
|
+
participatingServers?: ParticipatingServer[];
|
|
86
|
+
tags?: Record<string, string>;
|
|
87
|
+
participatingResources?: ParticipatingResource[];
|
|
88
|
+
}
|
|
89
|
+
export interface AssociateSourceNetworkStackResponse {
|
|
90
|
+
job?: Job;
|
|
91
|
+
}
|
|
14
92
|
export declare class ConflictException extends __BaseException {
|
|
15
93
|
readonly name: "ConflictException";
|
|
16
94
|
readonly $fault: "client";
|
|
@@ -19,6 +97,76 @@ export declare class ConflictException extends __BaseException {
|
|
|
19
97
|
resourceType?: string;
|
|
20
98
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
21
99
|
}
|
|
100
|
+
export declare class InternalServerException extends __BaseException {
|
|
101
|
+
readonly name: "InternalServerException";
|
|
102
|
+
readonly $fault: "server";
|
|
103
|
+
retryAfterSeconds?: number;
|
|
104
|
+
constructor(
|
|
105
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
106
|
+
);
|
|
107
|
+
}
|
|
108
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
109
|
+
readonly name: "ResourceNotFoundException";
|
|
110
|
+
readonly $fault: "client";
|
|
111
|
+
code?: string;
|
|
112
|
+
resourceId?: string;
|
|
113
|
+
resourceType?: string;
|
|
114
|
+
constructor(
|
|
115
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
116
|
+
);
|
|
117
|
+
}
|
|
118
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
119
|
+
readonly name: "ServiceQuotaExceededException";
|
|
120
|
+
readonly $fault: "client";
|
|
121
|
+
code?: string;
|
|
122
|
+
resourceId?: string;
|
|
123
|
+
resourceType?: string;
|
|
124
|
+
serviceCode?: string;
|
|
125
|
+
quotaCode?: string;
|
|
126
|
+
constructor(
|
|
127
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
128
|
+
);
|
|
129
|
+
}
|
|
130
|
+
export declare class ThrottlingException extends __BaseException {
|
|
131
|
+
readonly name: "ThrottlingException";
|
|
132
|
+
readonly $fault: "client";
|
|
133
|
+
serviceCode?: string;
|
|
134
|
+
quotaCode?: string;
|
|
135
|
+
retryAfterSeconds?: string;
|
|
136
|
+
constructor(
|
|
137
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
138
|
+
);
|
|
139
|
+
}
|
|
140
|
+
export declare class UninitializedAccountException extends __BaseException {
|
|
141
|
+
readonly name: "UninitializedAccountException";
|
|
142
|
+
readonly $fault: "client";
|
|
143
|
+
code?: string;
|
|
144
|
+
constructor(
|
|
145
|
+
opts: __ExceptionOptionType<UninitializedAccountException, __BaseException>
|
|
146
|
+
);
|
|
147
|
+
}
|
|
148
|
+
export interface ValidationExceptionField {
|
|
149
|
+
name?: string;
|
|
150
|
+
message?: string;
|
|
151
|
+
}
|
|
152
|
+
export declare const ValidationExceptionReason: {
|
|
153
|
+
readonly CANNOT_PARSE: "cannotParse";
|
|
154
|
+
readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
|
|
155
|
+
readonly OTHER: "other";
|
|
156
|
+
readonly UNKNOWN_OPERATION: "unknownOperation";
|
|
157
|
+
};
|
|
158
|
+
export type ValidationExceptionReason =
|
|
159
|
+
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
160
|
+
export declare class ValidationException extends __BaseException {
|
|
161
|
+
readonly name: "ValidationException";
|
|
162
|
+
readonly $fault: "client";
|
|
163
|
+
code?: string;
|
|
164
|
+
reason?: ValidationExceptionReason | string;
|
|
165
|
+
fieldList?: ValidationExceptionField[];
|
|
166
|
+
constructor(
|
|
167
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
168
|
+
);
|
|
169
|
+
}
|
|
22
170
|
export interface ConversionProperties {
|
|
23
171
|
volumeToConversionMap?: Record<string, Record<string, string>>;
|
|
24
172
|
rootVolumeName?: string;
|
|
@@ -138,14 +286,6 @@ export interface LifeCycleLastLaunchInitiated {
|
|
|
138
286
|
jobID?: string;
|
|
139
287
|
type?: LastLaunchType | string;
|
|
140
288
|
}
|
|
141
|
-
export declare const LaunchStatus: {
|
|
142
|
-
readonly FAILED: "FAILED";
|
|
143
|
-
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
144
|
-
readonly LAUNCHED: "LAUNCHED";
|
|
145
|
-
readonly PENDING: "PENDING";
|
|
146
|
-
readonly TERMINATED: "TERMINATED";
|
|
147
|
-
};
|
|
148
|
-
export type LaunchStatus = (typeof LaunchStatus)[keyof typeof LaunchStatus];
|
|
149
289
|
export interface LifeCycleLastLaunch {
|
|
150
290
|
initiated?: LifeCycleLastLaunchInitiated;
|
|
151
291
|
status?: LaunchStatus | string;
|
|
@@ -223,80 +363,11 @@ export interface SourceServer {
|
|
|
223
363
|
sourceCloudProperties?: SourceCloudProperties;
|
|
224
364
|
replicationDirection?: ReplicationDirection | string;
|
|
225
365
|
reversedDirectionSourceServerArn?: string;
|
|
366
|
+
sourceNetworkID?: string;
|
|
226
367
|
}
|
|
227
368
|
export interface CreateExtendedSourceServerResponse {
|
|
228
369
|
sourceServer?: SourceServer;
|
|
229
370
|
}
|
|
230
|
-
export declare class InternalServerException extends __BaseException {
|
|
231
|
-
readonly name: "InternalServerException";
|
|
232
|
-
readonly $fault: "server";
|
|
233
|
-
retryAfterSeconds?: number;
|
|
234
|
-
constructor(
|
|
235
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
236
|
-
);
|
|
237
|
-
}
|
|
238
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
239
|
-
readonly name: "ResourceNotFoundException";
|
|
240
|
-
readonly $fault: "client";
|
|
241
|
-
code?: string;
|
|
242
|
-
resourceId?: string;
|
|
243
|
-
resourceType?: string;
|
|
244
|
-
constructor(
|
|
245
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
246
|
-
);
|
|
247
|
-
}
|
|
248
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
249
|
-
readonly name: "ServiceQuotaExceededException";
|
|
250
|
-
readonly $fault: "client";
|
|
251
|
-
code?: string;
|
|
252
|
-
resourceId?: string;
|
|
253
|
-
resourceType?: string;
|
|
254
|
-
serviceCode?: string;
|
|
255
|
-
quotaCode?: string;
|
|
256
|
-
constructor(
|
|
257
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
258
|
-
);
|
|
259
|
-
}
|
|
260
|
-
export declare class ThrottlingException extends __BaseException {
|
|
261
|
-
readonly name: "ThrottlingException";
|
|
262
|
-
readonly $fault: "client";
|
|
263
|
-
serviceCode?: string;
|
|
264
|
-
quotaCode?: string;
|
|
265
|
-
retryAfterSeconds?: string;
|
|
266
|
-
constructor(
|
|
267
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
268
|
-
);
|
|
269
|
-
}
|
|
270
|
-
export declare class UninitializedAccountException extends __BaseException {
|
|
271
|
-
readonly name: "UninitializedAccountException";
|
|
272
|
-
readonly $fault: "client";
|
|
273
|
-
code?: string;
|
|
274
|
-
constructor(
|
|
275
|
-
opts: __ExceptionOptionType<UninitializedAccountException, __BaseException>
|
|
276
|
-
);
|
|
277
|
-
}
|
|
278
|
-
export interface ValidationExceptionField {
|
|
279
|
-
name?: string;
|
|
280
|
-
message?: string;
|
|
281
|
-
}
|
|
282
|
-
export declare const ValidationExceptionReason: {
|
|
283
|
-
readonly CANNOT_PARSE: "cannotParse";
|
|
284
|
-
readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
|
|
285
|
-
readonly OTHER: "other";
|
|
286
|
-
readonly UNKNOWN_OPERATION: "unknownOperation";
|
|
287
|
-
};
|
|
288
|
-
export type ValidationExceptionReason =
|
|
289
|
-
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
290
|
-
export declare class ValidationException extends __BaseException {
|
|
291
|
-
readonly name: "ValidationException";
|
|
292
|
-
readonly $fault: "client";
|
|
293
|
-
code?: string;
|
|
294
|
-
reason?: ValidationExceptionReason | string;
|
|
295
|
-
fieldList?: ValidationExceptionField[];
|
|
296
|
-
constructor(
|
|
297
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
298
|
-
);
|
|
299
|
-
}
|
|
300
371
|
export declare const LaunchDisposition: {
|
|
301
372
|
readonly STARTED: "STARTED";
|
|
302
373
|
readonly STOPPED: "STOPPED";
|
|
@@ -321,6 +392,7 @@ export interface CreateLaunchConfigurationTemplateRequest {
|
|
|
321
392
|
copyPrivateIp?: boolean;
|
|
322
393
|
copyTags?: boolean;
|
|
323
394
|
licensing?: Licensing;
|
|
395
|
+
exportBucketArn?: string;
|
|
324
396
|
}
|
|
325
397
|
export interface LaunchConfigurationTemplate {
|
|
326
398
|
launchConfigurationTemplateID?: string;
|
|
@@ -333,6 +405,7 @@ export interface LaunchConfigurationTemplate {
|
|
|
333
405
|
copyPrivateIp?: boolean;
|
|
334
406
|
copyTags?: boolean;
|
|
335
407
|
licensing?: Licensing;
|
|
408
|
+
exportBucketArn?: string;
|
|
336
409
|
}
|
|
337
410
|
export interface CreateLaunchConfigurationTemplateResponse {
|
|
338
411
|
launchConfigurationTemplate?: LaunchConfigurationTemplate;
|
|
@@ -354,6 +427,7 @@ export type ReplicationConfigurationDefaultLargeStagingDiskType =
|
|
|
354
427
|
export declare const ReplicationConfigurationEbsEncryption: {
|
|
355
428
|
readonly CUSTOM: "CUSTOM";
|
|
356
429
|
readonly DEFAULT: "DEFAULT";
|
|
430
|
+
readonly NONE: "NONE";
|
|
357
431
|
};
|
|
358
432
|
export type ReplicationConfigurationEbsEncryption =
|
|
359
433
|
(typeof ReplicationConfigurationEbsEncryption)[keyof typeof ReplicationConfigurationEbsEncryption];
|
|
@@ -415,6 +489,15 @@ export interface ReplicationConfigurationTemplate {
|
|
|
415
489
|
pitPolicy?: PITPolicyRule[];
|
|
416
490
|
autoReplicateNewDisks?: boolean;
|
|
417
491
|
}
|
|
492
|
+
export interface CreateSourceNetworkRequest {
|
|
493
|
+
vpcID: string | undefined;
|
|
494
|
+
originAccountID: string | undefined;
|
|
495
|
+
originRegion: string | undefined;
|
|
496
|
+
tags?: Record<string, string>;
|
|
497
|
+
}
|
|
498
|
+
export interface CreateSourceNetworkResponse {
|
|
499
|
+
sourceNetworkID?: string;
|
|
500
|
+
}
|
|
418
501
|
export interface DeleteJobRequest {
|
|
419
502
|
jobID: string | undefined;
|
|
420
503
|
}
|
|
@@ -430,6 +513,10 @@ export interface DeleteReplicationConfigurationTemplateRequest {
|
|
|
430
513
|
replicationConfigurationTemplateID: string | undefined;
|
|
431
514
|
}
|
|
432
515
|
export interface DeleteReplicationConfigurationTemplateResponse {}
|
|
516
|
+
export interface DeleteSourceNetworkRequest {
|
|
517
|
+
sourceNetworkID: string | undefined;
|
|
518
|
+
}
|
|
519
|
+
export interface DeleteSourceNetworkResponse {}
|
|
433
520
|
export interface DeleteSourceServerRequest {
|
|
434
521
|
sourceServerID: string | undefined;
|
|
435
522
|
}
|
|
@@ -446,25 +533,60 @@ export declare const JobLogEvent: {
|
|
|
446
533
|
readonly CONVERSION_END: "CONVERSION_END";
|
|
447
534
|
readonly CONVERSION_FAIL: "CONVERSION_FAIL";
|
|
448
535
|
readonly CONVERSION_START: "CONVERSION_START";
|
|
536
|
+
readonly DEPLOY_NETWORK_CONFIGURATION_END: "DEPLOY_NETWORK_CONFIGURATION_END";
|
|
537
|
+
readonly DEPLOY_NETWORK_CONFIGURATION_FAILED: "DEPLOY_NETWORK_CONFIGURATION_FAILED";
|
|
538
|
+
readonly DEPLOY_NETWORK_CONFIGURATION_START: "DEPLOY_NETWORK_CONFIGURATION_START";
|
|
449
539
|
readonly JOB_CANCEL: "JOB_CANCEL";
|
|
450
540
|
readonly JOB_END: "JOB_END";
|
|
451
541
|
readonly JOB_START: "JOB_START";
|
|
452
542
|
readonly LAUNCH_FAILED: "LAUNCH_FAILED";
|
|
453
543
|
readonly LAUNCH_START: "LAUNCH_START";
|
|
544
|
+
readonly NETWORK_RECOVERY_FAIL: "NETWORK_RECOVERY_FAIL";
|
|
454
545
|
readonly SERVER_SKIPPED: "SERVER_SKIPPED";
|
|
455
546
|
readonly SNAPSHOT_END: "SNAPSHOT_END";
|
|
456
547
|
readonly SNAPSHOT_FAIL: "SNAPSHOT_FAIL";
|
|
457
548
|
readonly SNAPSHOT_START: "SNAPSHOT_START";
|
|
549
|
+
readonly UPDATE_LAUNCH_TEMPLATE_END: "UPDATE_LAUNCH_TEMPLATE_END";
|
|
550
|
+
readonly UPDATE_LAUNCH_TEMPLATE_FAILED: "UPDATE_LAUNCH_TEMPLATE_FAILED";
|
|
551
|
+
readonly UPDATE_LAUNCH_TEMPLATE_START: "UPDATE_LAUNCH_TEMPLATE_START";
|
|
552
|
+
readonly UPDATE_NETWORK_CONFIGURATION_END: "UPDATE_NETWORK_CONFIGURATION_END";
|
|
553
|
+
readonly UPDATE_NETWORK_CONFIGURATION_FAILED: "UPDATE_NETWORK_CONFIGURATION_FAILED";
|
|
554
|
+
readonly UPDATE_NETWORK_CONFIGURATION_START: "UPDATE_NETWORK_CONFIGURATION_START";
|
|
458
555
|
readonly USING_PREVIOUS_SNAPSHOT: "USING_PREVIOUS_SNAPSHOT";
|
|
459
556
|
readonly USING_PREVIOUS_SNAPSHOT_FAILED: "USING_PREVIOUS_SNAPSHOT_FAILED";
|
|
460
557
|
};
|
|
461
558
|
export type JobLogEvent = (typeof JobLogEvent)[keyof typeof JobLogEvent];
|
|
559
|
+
export interface SourceNetworkData {
|
|
560
|
+
sourceNetworkID?: string;
|
|
561
|
+
sourceVpc?: string;
|
|
562
|
+
targetVpc?: string;
|
|
563
|
+
stackName?: string;
|
|
564
|
+
}
|
|
565
|
+
export type EventResourceData =
|
|
566
|
+
| EventResourceData.SourceNetworkDataMember
|
|
567
|
+
| EventResourceData.$UnknownMember;
|
|
568
|
+
export declare namespace EventResourceData {
|
|
569
|
+
interface SourceNetworkDataMember {
|
|
570
|
+
sourceNetworkData: SourceNetworkData;
|
|
571
|
+
$unknown?: never;
|
|
572
|
+
}
|
|
573
|
+
interface $UnknownMember {
|
|
574
|
+
sourceNetworkData?: never;
|
|
575
|
+
$unknown: [string, any];
|
|
576
|
+
}
|
|
577
|
+
interface Visitor<T> {
|
|
578
|
+
sourceNetworkData: (value: SourceNetworkData) => T;
|
|
579
|
+
_: (name: string, value: any) => T;
|
|
580
|
+
}
|
|
581
|
+
const visit: <T>(value: EventResourceData, visitor: Visitor<T>) => T;
|
|
582
|
+
}
|
|
462
583
|
export interface JobLogEventData {
|
|
463
584
|
sourceServerID?: string;
|
|
464
585
|
conversionServerID?: string;
|
|
465
586
|
targetInstanceID?: string;
|
|
466
587
|
rawError?: string;
|
|
467
588
|
conversionProperties?: ConversionProperties;
|
|
589
|
+
eventResourceData?: EventResourceData;
|
|
468
590
|
}
|
|
469
591
|
export interface JobLog {
|
|
470
592
|
logDateTime?: string;
|
|
@@ -485,43 +607,6 @@ export interface DescribeJobsRequest {
|
|
|
485
607
|
maxResults?: number;
|
|
486
608
|
nextToken?: string;
|
|
487
609
|
}
|
|
488
|
-
export declare const InitiatedBy: {
|
|
489
|
-
readonly DIAGNOSTIC: "DIAGNOSTIC";
|
|
490
|
-
readonly FAILBACK: "FAILBACK";
|
|
491
|
-
readonly START_DRILL: "START_DRILL";
|
|
492
|
-
readonly START_RECOVERY: "START_RECOVERY";
|
|
493
|
-
readonly TARGET_ACCOUNT: "TARGET_ACCOUNT";
|
|
494
|
-
readonly TERMINATE_RECOVERY_INSTANCES: "TERMINATE_RECOVERY_INSTANCES";
|
|
495
|
-
};
|
|
496
|
-
export type InitiatedBy = (typeof InitiatedBy)[keyof typeof InitiatedBy];
|
|
497
|
-
export interface ParticipatingServer {
|
|
498
|
-
sourceServerID?: string;
|
|
499
|
-
recoveryInstanceID?: string;
|
|
500
|
-
launchStatus?: LaunchStatus | string;
|
|
501
|
-
}
|
|
502
|
-
export declare const JobStatus: {
|
|
503
|
-
readonly COMPLETED: "COMPLETED";
|
|
504
|
-
readonly PENDING: "PENDING";
|
|
505
|
-
readonly STARTED: "STARTED";
|
|
506
|
-
};
|
|
507
|
-
export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
|
|
508
|
-
export declare const JobType: {
|
|
509
|
-
readonly CREATE_CONVERTED_SNAPSHOT: "CREATE_CONVERTED_SNAPSHOT";
|
|
510
|
-
readonly LAUNCH: "LAUNCH";
|
|
511
|
-
readonly TERMINATE: "TERMINATE";
|
|
512
|
-
};
|
|
513
|
-
export type JobType = (typeof JobType)[keyof typeof JobType];
|
|
514
|
-
export interface Job {
|
|
515
|
-
jobID: string | undefined;
|
|
516
|
-
arn?: string;
|
|
517
|
-
type?: JobType | string;
|
|
518
|
-
initiatedBy?: InitiatedBy | string;
|
|
519
|
-
creationDateTime?: string;
|
|
520
|
-
endDateTime?: string;
|
|
521
|
-
status?: JobStatus | string;
|
|
522
|
-
participatingServers?: ParticipatingServer[];
|
|
523
|
-
tags?: Record<string, string>;
|
|
524
|
-
}
|
|
525
610
|
export interface DescribeJobsResponse {
|
|
526
611
|
items?: Job[];
|
|
527
612
|
nextToken?: string;
|
|
@@ -760,6 +845,57 @@ export interface DescribeReplicationConfigurationTemplatesResponse {
|
|
|
760
845
|
items?: ReplicationConfigurationTemplate[];
|
|
761
846
|
nextToken?: string;
|
|
762
847
|
}
|
|
848
|
+
export interface DescribeSourceNetworksRequestFilters {
|
|
849
|
+
sourceNetworkIDs?: string[];
|
|
850
|
+
originAccountID?: string;
|
|
851
|
+
originRegion?: string;
|
|
852
|
+
}
|
|
853
|
+
export interface DescribeSourceNetworksRequest {
|
|
854
|
+
filters?: DescribeSourceNetworksRequestFilters;
|
|
855
|
+
maxResults?: number;
|
|
856
|
+
nextToken?: string;
|
|
857
|
+
}
|
|
858
|
+
export declare const RecoveryResult: {
|
|
859
|
+
readonly ASSOCIATE_FAIL: "ASSOCIATE_FAIL";
|
|
860
|
+
readonly ASSOCIATE_SUCCESS: "ASSOCIATE_SUCCESS";
|
|
861
|
+
readonly FAIL: "FAIL";
|
|
862
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
863
|
+
readonly NOT_STARTED: "NOT_STARTED";
|
|
864
|
+
readonly PARTIAL_SUCCESS: "PARTIAL_SUCCESS";
|
|
865
|
+
readonly SUCCESS: "SUCCESS";
|
|
866
|
+
};
|
|
867
|
+
export type RecoveryResult =
|
|
868
|
+
(typeof RecoveryResult)[keyof typeof RecoveryResult];
|
|
869
|
+
export interface RecoveryLifeCycle {
|
|
870
|
+
apiCallDateTime?: Date;
|
|
871
|
+
jobID?: string;
|
|
872
|
+
lastRecoveryResult?: RecoveryResult | string;
|
|
873
|
+
}
|
|
874
|
+
export declare const ReplicationStatus: {
|
|
875
|
+
readonly ERROR: "ERROR";
|
|
876
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
877
|
+
readonly PROTECTED: "PROTECTED";
|
|
878
|
+
readonly STOPPED: "STOPPED";
|
|
879
|
+
};
|
|
880
|
+
export type ReplicationStatus =
|
|
881
|
+
(typeof ReplicationStatus)[keyof typeof ReplicationStatus];
|
|
882
|
+
export interface SourceNetwork {
|
|
883
|
+
sourceNetworkID?: string;
|
|
884
|
+
sourceVpcID?: string;
|
|
885
|
+
arn?: string;
|
|
886
|
+
tags?: Record<string, string>;
|
|
887
|
+
replicationStatus?: ReplicationStatus | string;
|
|
888
|
+
replicationStatusDetails?: string;
|
|
889
|
+
cfnStackName?: string;
|
|
890
|
+
sourceRegion?: string;
|
|
891
|
+
sourceAccountID?: string;
|
|
892
|
+
lastRecovery?: RecoveryLifeCycle;
|
|
893
|
+
launchedVpcID?: string;
|
|
894
|
+
}
|
|
895
|
+
export interface DescribeSourceNetworksResponse {
|
|
896
|
+
items?: SourceNetwork[];
|
|
897
|
+
nextToken?: string;
|
|
898
|
+
}
|
|
763
899
|
export interface DescribeSourceServersRequestFilters {
|
|
764
900
|
sourceServerIDs?: string[];
|
|
765
901
|
hardwareId?: string;
|
|
@@ -791,6 +927,7 @@ export interface UpdateLaunchConfigurationTemplateRequest {
|
|
|
791
927
|
copyPrivateIp?: boolean;
|
|
792
928
|
copyTags?: boolean;
|
|
793
929
|
licensing?: Licensing;
|
|
930
|
+
exportBucketArn?: string;
|
|
794
931
|
}
|
|
795
932
|
export interface UpdateLaunchConfigurationTemplateResponse {
|
|
796
933
|
launchConfigurationTemplate?: LaunchConfigurationTemplate;
|
|
@@ -880,6 +1017,36 @@ export interface UpdateReplicationConfigurationTemplateRequest {
|
|
|
880
1017
|
pitPolicy?: PITPolicyRule[];
|
|
881
1018
|
autoReplicateNewDisks?: boolean;
|
|
882
1019
|
}
|
|
1020
|
+
export interface ExportSourceNetworkCfnTemplateRequest {
|
|
1021
|
+
sourceNetworkID: string | undefined;
|
|
1022
|
+
}
|
|
1023
|
+
export interface ExportSourceNetworkCfnTemplateResponse {
|
|
1024
|
+
s3DestinationUrl?: string;
|
|
1025
|
+
}
|
|
1026
|
+
export interface StartSourceNetworkRecoveryRequestNetworkEntry {
|
|
1027
|
+
sourceNetworkID: string | undefined;
|
|
1028
|
+
cfnStackName?: string;
|
|
1029
|
+
}
|
|
1030
|
+
export interface StartSourceNetworkRecoveryRequest {
|
|
1031
|
+
sourceNetworks: StartSourceNetworkRecoveryRequestNetworkEntry[] | undefined;
|
|
1032
|
+
deployAsNew?: boolean;
|
|
1033
|
+
tags?: Record<string, string>;
|
|
1034
|
+
}
|
|
1035
|
+
export interface StartSourceNetworkRecoveryResponse {
|
|
1036
|
+
job?: Job;
|
|
1037
|
+
}
|
|
1038
|
+
export interface StartSourceNetworkReplicationRequest {
|
|
1039
|
+
sourceNetworkID: string | undefined;
|
|
1040
|
+
}
|
|
1041
|
+
export interface StartSourceNetworkReplicationResponse {
|
|
1042
|
+
sourceNetwork?: SourceNetwork;
|
|
1043
|
+
}
|
|
1044
|
+
export interface StopSourceNetworkReplicationRequest {
|
|
1045
|
+
sourceNetworkID: string | undefined;
|
|
1046
|
+
}
|
|
1047
|
+
export interface StopSourceNetworkReplicationResponse {
|
|
1048
|
+
sourceNetwork?: SourceNetwork;
|
|
1049
|
+
}
|
|
883
1050
|
export interface GetLaunchConfigurationRequest {
|
|
884
1051
|
sourceServerID: string | undefined;
|
|
885
1052
|
}
|
|
@@ -1009,6 +1176,13 @@ export interface UntagResourceRequest {
|
|
|
1009
1176
|
resourceArn: string | undefined;
|
|
1010
1177
|
tagKeys: string[] | undefined;
|
|
1011
1178
|
}
|
|
1179
|
+
export declare const AssociateSourceNetworkStackRequestFilterSensitiveLog: (
|
|
1180
|
+
obj: AssociateSourceNetworkStackRequest
|
|
1181
|
+
) => any;
|
|
1182
|
+
export declare const JobFilterSensitiveLog: (obj: Job) => any;
|
|
1183
|
+
export declare const AssociateSourceNetworkStackResponseFilterSensitiveLog: (
|
|
1184
|
+
obj: AssociateSourceNetworkStackResponse
|
|
1185
|
+
) => any;
|
|
1012
1186
|
export declare const CreateExtendedSourceServerRequestFilterSensitiveLog: (
|
|
1013
1187
|
obj: CreateExtendedSourceServerRequest
|
|
1014
1188
|
) => any;
|
|
@@ -1031,7 +1205,9 @@ export declare const CreateReplicationConfigurationTemplateRequestFilterSensitiv
|
|
|
1031
1205
|
export declare const ReplicationConfigurationTemplateFilterSensitiveLog: (
|
|
1032
1206
|
obj: ReplicationConfigurationTemplate
|
|
1033
1207
|
) => any;
|
|
1034
|
-
export declare const
|
|
1208
|
+
export declare const CreateSourceNetworkRequestFilterSensitiveLog: (
|
|
1209
|
+
obj: CreateSourceNetworkRequest
|
|
1210
|
+
) => any;
|
|
1035
1211
|
export declare const DescribeJobsResponseFilterSensitiveLog: (
|
|
1036
1212
|
obj: DescribeJobsResponse
|
|
1037
1213
|
) => any;
|
|
@@ -1047,6 +1223,12 @@ export declare const DescribeRecoveryInstancesResponseFilterSensitiveLog: (
|
|
|
1047
1223
|
export declare const DescribeReplicationConfigurationTemplatesResponseFilterSensitiveLog: (
|
|
1048
1224
|
obj: DescribeReplicationConfigurationTemplatesResponse
|
|
1049
1225
|
) => any;
|
|
1226
|
+
export declare const SourceNetworkFilterSensitiveLog: (
|
|
1227
|
+
obj: SourceNetwork
|
|
1228
|
+
) => any;
|
|
1229
|
+
export declare const DescribeSourceNetworksResponseFilterSensitiveLog: (
|
|
1230
|
+
obj: DescribeSourceNetworksResponse
|
|
1231
|
+
) => any;
|
|
1050
1232
|
export declare const DescribeSourceServersResponseFilterSensitiveLog: (
|
|
1051
1233
|
obj: DescribeSourceServersResponse
|
|
1052
1234
|
) => any;
|
|
@@ -1074,6 +1256,21 @@ export declare const TerminateRecoveryInstancesResponseFilterSensitiveLog: (
|
|
|
1074
1256
|
export declare const UpdateReplicationConfigurationTemplateRequestFilterSensitiveLog: (
|
|
1075
1257
|
obj: UpdateReplicationConfigurationTemplateRequest
|
|
1076
1258
|
) => any;
|
|
1259
|
+
export declare const StartSourceNetworkRecoveryRequestNetworkEntryFilterSensitiveLog: (
|
|
1260
|
+
obj: StartSourceNetworkRecoveryRequestNetworkEntry
|
|
1261
|
+
) => any;
|
|
1262
|
+
export declare const StartSourceNetworkRecoveryRequestFilterSensitiveLog: (
|
|
1263
|
+
obj: StartSourceNetworkRecoveryRequest
|
|
1264
|
+
) => any;
|
|
1265
|
+
export declare const StartSourceNetworkRecoveryResponseFilterSensitiveLog: (
|
|
1266
|
+
obj: StartSourceNetworkRecoveryResponse
|
|
1267
|
+
) => any;
|
|
1268
|
+
export declare const StartSourceNetworkReplicationResponseFilterSensitiveLog: (
|
|
1269
|
+
obj: StartSourceNetworkReplicationResponse
|
|
1270
|
+
) => any;
|
|
1271
|
+
export declare const StopSourceNetworkReplicationResponseFilterSensitiveLog: (
|
|
1272
|
+
obj: StopSourceNetworkReplicationResponse
|
|
1273
|
+
) => any;
|
|
1077
1274
|
export declare const ReplicationConfigurationFilterSensitiveLog: (
|
|
1078
1275
|
obj: ReplicationConfiguration
|
|
1079
1276
|
) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
DescribeSourceNetworksCommandInput,
|
|
4
|
+
DescribeSourceNetworksCommandOutput,
|
|
5
|
+
} from "../commands/DescribeSourceNetworksCommand";
|
|
6
|
+
import { DrsPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateDescribeSourceNetworks(
|
|
8
|
+
config: DrsPaginationConfiguration,
|
|
9
|
+
input: DescribeSourceNetworksCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<DescribeSourceNetworksCommandOutput>;
|
|
@@ -4,6 +4,7 @@ export * from "./DescribeLaunchConfigurationTemplatesPaginator";
|
|
|
4
4
|
export * from "./DescribeRecoveryInstancesPaginator";
|
|
5
5
|
export * from "./DescribeRecoverySnapshotsPaginator";
|
|
6
6
|
export * from "./DescribeReplicationConfigurationTemplatesPaginator";
|
|
7
|
+
export * from "./DescribeSourceNetworksPaginator";
|
|
7
8
|
export * from "./DescribeSourceServersPaginator";
|
|
8
9
|
export * from "./Interfaces";
|
|
9
10
|
export * from "./ListExtensibleSourceServersPaginator";
|