@aws-sdk/client-drs 3.216.0 → 3.222.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/dist-cjs/Drs.js +45 -0
- package/dist-cjs/commands/ReverseReplicationCommand.js +46 -0
- package/dist-cjs/commands/StartReplicationCommand.js +46 -0
- package/dist-cjs/commands/StopReplicationCommand.js +46 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +75 -3
- package/dist-cjs/protocols/Aws_restJson1.js +245 -3
- package/dist-es/Drs.js +45 -0
- package/dist-es/commands/ReverseReplicationCommand.js +42 -0
- package/dist-es/commands/StartReplicationCommand.js +42 -0
- package/dist-es/commands/StopReplicationCommand.js +42 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +65 -0
- package/dist-es/protocols/Aws_restJson1.js +237 -1
- package/dist-types/Drs.d.ts +24 -0
- package/dist-types/DrsClient.d.ts +5 -2
- package/dist-types/commands/ReverseReplicationCommand.d.ts +40 -0
- package/dist-types/commands/StartReplicationCommand.d.ts +37 -0
- package/dist-types/commands/StopReplicationCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +142 -2
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/Drs.d.ts +51 -0
- package/dist-types/ts3.4/DrsClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/ReverseReplicationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/StartReplicationCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/StopReplicationCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +88 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +29 -28
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { DrsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DrsClient";
|
|
5
|
+
import { StopReplicationRequest, StopReplicationResponse } from "../models/models_0";
|
|
6
|
+
export interface StopReplicationCommandInput extends StopReplicationRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface StopReplicationCommandOutput extends StopReplicationResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Stops replication for a Source Server. This action would make the Source Server unprotected, delete its existing snapshots and stop billing for it.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { DrsClient, StopReplicationCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
16
|
+
* // const { DrsClient, StopReplicationCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
17
|
+
* const client = new DrsClient(config);
|
|
18
|
+
* const command = new StopReplicationCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link StopReplicationCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link StopReplicationCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link DrsClientResolvedConfig | config} for DrsClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class StopReplicationCommand extends $Command<StopReplicationCommandInput, StopReplicationCommandOutput, DrsClientResolvedConfig> {
|
|
28
|
+
readonly input: StopReplicationCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: StopReplicationCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DrsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StopReplicationCommandInput, StopReplicationCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -20,9 +20,12 @@ export * from "./ListExtensibleSourceServersCommand";
|
|
|
20
20
|
export * from "./ListStagingAccountsCommand";
|
|
21
21
|
export * from "./ListTagsForResourceCommand";
|
|
22
22
|
export * from "./RetryDataReplicationCommand";
|
|
23
|
+
export * from "./ReverseReplicationCommand";
|
|
23
24
|
export * from "./StartFailbackLaunchCommand";
|
|
24
25
|
export * from "./StartRecoveryCommand";
|
|
26
|
+
export * from "./StartReplicationCommand";
|
|
25
27
|
export * from "./StopFailbackCommand";
|
|
28
|
+
export * from "./StopReplicationCommand";
|
|
26
29
|
export * from "./TagResourceCommand";
|
|
27
30
|
export * from "./TerminateRecoveryInstancesCommand";
|
|
28
31
|
export * from "./UntagResourceCommand";
|
|
@@ -295,6 +295,27 @@ export interface LifeCycle {
|
|
|
295
295
|
*/
|
|
296
296
|
lastLaunch?: LifeCycleLastLaunch;
|
|
297
297
|
}
|
|
298
|
+
export declare enum ReplicationDirection {
|
|
299
|
+
FAILBACK = "FAILBACK",
|
|
300
|
+
FAILOVER = "FAILOVER"
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* <p>Properties of the cloud environment where this Source Server originated from.</p>
|
|
304
|
+
*/
|
|
305
|
+
export interface SourceCloudProperties {
|
|
306
|
+
/**
|
|
307
|
+
* <p>AWS Account ID for an EC2-originated Source Server.</p>
|
|
308
|
+
*/
|
|
309
|
+
originAccountID?: string;
|
|
310
|
+
/**
|
|
311
|
+
* <p>AWS Region for an EC2-originated Source Server.</p>
|
|
312
|
+
*/
|
|
313
|
+
originRegion?: string;
|
|
314
|
+
/**
|
|
315
|
+
* <p>AWS Availability Zone for an EC2-originated Source Server.</p>
|
|
316
|
+
*/
|
|
317
|
+
originAvailabilityZone?: string;
|
|
318
|
+
}
|
|
298
319
|
/**
|
|
299
320
|
* <p>An object representing a data storage device on a server.</p>
|
|
300
321
|
*/
|
|
@@ -458,6 +479,18 @@ export interface SourceServer {
|
|
|
458
479
|
* <p>The staging area of the source server.</p>
|
|
459
480
|
*/
|
|
460
481
|
stagingArea?: StagingArea;
|
|
482
|
+
/**
|
|
483
|
+
* <p>Source cloud properties of the Source Server.</p>
|
|
484
|
+
*/
|
|
485
|
+
sourceCloudProperties?: SourceCloudProperties;
|
|
486
|
+
/**
|
|
487
|
+
* <p>Replication direction of the Source Server.</p>
|
|
488
|
+
*/
|
|
489
|
+
replicationDirection?: ReplicationDirection | string;
|
|
490
|
+
/**
|
|
491
|
+
* <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>
|
|
492
|
+
*/
|
|
493
|
+
reversedDirectionSourceServerArn?: string;
|
|
461
494
|
}
|
|
462
495
|
export interface CreateExtendedSourceServerResponse {
|
|
463
496
|
/**
|
|
@@ -1039,12 +1072,24 @@ export interface DescribeRecoveryInstancesRequest {
|
|
|
1039
1072
|
export declare enum FailbackReplicationError {
|
|
1040
1073
|
AGENT_NOT_SEEN = "AGENT_NOT_SEEN",
|
|
1041
1074
|
FAILBACK_CLIENT_NOT_SEEN = "FAILBACK_CLIENT_NOT_SEEN",
|
|
1075
|
+
FAILED_GETTING_REPLICATION_STATE = "FAILED_GETTING_REPLICATION_STATE",
|
|
1076
|
+
FAILED_TO_ATTACH_STAGING_DISKS = "FAILED_TO_ATTACH_STAGING_DISKS",
|
|
1077
|
+
FAILED_TO_AUTHENTICATE_WITH_SERVICE = "FAILED_TO_AUTHENTICATE_WITH_SERVICE",
|
|
1078
|
+
FAILED_TO_BOOT_REPLICATION_SERVER = "FAILED_TO_BOOT_REPLICATION_SERVER",
|
|
1042
1079
|
FAILED_TO_CONFIGURE_REPLICATION_SOFTWARE = "FAILED_TO_CONFIGURE_REPLICATION_SOFTWARE",
|
|
1080
|
+
FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER = "FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER",
|
|
1081
|
+
FAILED_TO_CREATE_SECURITY_GROUP = "FAILED_TO_CREATE_SECURITY_GROUP",
|
|
1082
|
+
FAILED_TO_CREATE_STAGING_DISKS = "FAILED_TO_CREATE_STAGING_DISKS",
|
|
1083
|
+
FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE = "FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE",
|
|
1043
1084
|
FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE_TO_FAILBACK_CLIENT = "FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE_TO_FAILBACK_CLIENT",
|
|
1044
1085
|
FAILED_TO_ESTABLISH_AGENT_REPLICATOR_SOFTWARE_COMMUNICATION = "FAILED_TO_ESTABLISH_AGENT_REPLICATOR_SOFTWARE_COMMUNICATION",
|
|
1045
1086
|
FAILED_TO_ESTABLISH_RECOVERY_INSTANCE_COMMUNICATION = "FAILED_TO_ESTABLISH_RECOVERY_INSTANCE_COMMUNICATION",
|
|
1087
|
+
FAILED_TO_LAUNCH_REPLICATION_SERVER = "FAILED_TO_LAUNCH_REPLICATION_SERVER",
|
|
1046
1088
|
FAILED_TO_PAIR_AGENT_WITH_REPLICATION_SOFTWARE = "FAILED_TO_PAIR_AGENT_WITH_REPLICATION_SOFTWARE",
|
|
1089
|
+
FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT = "FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT",
|
|
1090
|
+
FAILED_TO_START_DATA_TRANSFER = "FAILED_TO_START_DATA_TRANSFER",
|
|
1047
1091
|
NOT_CONVERGING = "NOT_CONVERGING",
|
|
1092
|
+
SNAPSHOTS_FAILURE = "SNAPSHOTS_FAILURE",
|
|
1048
1093
|
UNSTABLE_NETWORK = "UNSTABLE_NETWORK"
|
|
1049
1094
|
}
|
|
1050
1095
|
/**
|
|
@@ -1061,13 +1106,24 @@ export interface RecoveryInstanceDataReplicationError {
|
|
|
1061
1106
|
rawError?: string;
|
|
1062
1107
|
}
|
|
1063
1108
|
export declare enum RecoveryInstanceDataReplicationInitiationStepName {
|
|
1109
|
+
ATTACH_STAGING_DISKS = "ATTACH_STAGING_DISKS",
|
|
1110
|
+
AUTHENTICATE_WITH_SERVICE = "AUTHENTICATE_WITH_SERVICE",
|
|
1111
|
+
BOOT_REPLICATION_SERVER = "BOOT_REPLICATION_SERVER",
|
|
1064
1112
|
COMPLETE_VOLUME_MAPPING = "COMPLETE_VOLUME_MAPPING",
|
|
1065
1113
|
CONFIGURE_REPLICATION_SOFTWARE = "CONFIGURE_REPLICATION_SOFTWARE",
|
|
1114
|
+
CONNECT_AGENT_TO_REPLICATION_SERVER = "CONNECT_AGENT_TO_REPLICATION_SERVER",
|
|
1115
|
+
CREATE_SECURITY_GROUP = "CREATE_SECURITY_GROUP",
|
|
1116
|
+
CREATE_STAGING_DISKS = "CREATE_STAGING_DISKS",
|
|
1117
|
+
DOWNLOAD_REPLICATION_SOFTWARE = "DOWNLOAD_REPLICATION_SOFTWARE",
|
|
1066
1118
|
DOWNLOAD_REPLICATION_SOFTWARE_TO_FAILBACK_CLIENT = "DOWNLOAD_REPLICATION_SOFTWARE_TO_FAILBACK_CLIENT",
|
|
1067
1119
|
ESTABLISH_AGENT_REPLICATOR_SOFTWARE_COMMUNICATION = "ESTABLISH_AGENT_REPLICATOR_SOFTWARE_COMMUNICATION",
|
|
1068
1120
|
ESTABLISH_RECOVERY_INSTANCE_COMMUNICATION = "ESTABLISH_RECOVERY_INSTANCE_COMMUNICATION",
|
|
1121
|
+
LAUNCH_REPLICATION_SERVER = "LAUNCH_REPLICATION_SERVER",
|
|
1069
1122
|
LINK_FAILBACK_CLIENT_WITH_RECOVERY_INSTANCE = "LINK_FAILBACK_CLIENT_WITH_RECOVERY_INSTANCE",
|
|
1070
|
-
PAIR_AGENT_WITH_REPLICATION_SOFTWARE = "PAIR_AGENT_WITH_REPLICATION_SOFTWARE"
|
|
1123
|
+
PAIR_AGENT_WITH_REPLICATION_SOFTWARE = "PAIR_AGENT_WITH_REPLICATION_SOFTWARE",
|
|
1124
|
+
PAIR_REPLICATION_SERVER_WITH_AGENT = "PAIR_REPLICATION_SERVER_WITH_AGENT",
|
|
1125
|
+
START_DATA_TRANSFER = "START_DATA_TRANSFER",
|
|
1126
|
+
WAIT = "WAIT"
|
|
1071
1127
|
}
|
|
1072
1128
|
export declare enum RecoveryInstanceDataReplicationInitiationStepStatus {
|
|
1073
1129
|
FAILED = "FAILED",
|
|
@@ -1109,7 +1165,9 @@ export declare enum RecoveryInstanceDataReplicationState {
|
|
|
1109
1165
|
DISCONNECTED = "DISCONNECTED",
|
|
1110
1166
|
INITIAL_SYNC = "INITIAL_SYNC",
|
|
1111
1167
|
INITIATING = "INITIATING",
|
|
1168
|
+
NOT_STARTED = "NOT_STARTED",
|
|
1112
1169
|
PAUSED = "PAUSED",
|
|
1170
|
+
REPLICATION_STATE_NOT_AVAILABLE = "REPLICATION_STATE_NOT_AVAILABLE",
|
|
1113
1171
|
RESCAN = "RESCAN",
|
|
1114
1172
|
STALLED = "STALLED",
|
|
1115
1173
|
STOPPED = "STOPPED"
|
|
@@ -1177,10 +1235,16 @@ export declare enum EC2InstanceState {
|
|
|
1177
1235
|
STOPPING = "STOPPING",
|
|
1178
1236
|
TERMINATED = "TERMINATED"
|
|
1179
1237
|
}
|
|
1238
|
+
export declare enum FailbackLaunchType {
|
|
1239
|
+
DRILL = "DRILL",
|
|
1240
|
+
RECOVERY = "RECOVERY"
|
|
1241
|
+
}
|
|
1180
1242
|
export declare enum FailbackState {
|
|
1181
1243
|
FAILBACK_COMPLETED = "FAILBACK_COMPLETED",
|
|
1182
1244
|
FAILBACK_ERROR = "FAILBACK_ERROR",
|
|
1183
1245
|
FAILBACK_IN_PROGRESS = "FAILBACK_IN_PROGRESS",
|
|
1246
|
+
FAILBACK_LAUNCH_STATE_NOT_AVAILABLE = "FAILBACK_LAUNCH_STATE_NOT_AVAILABLE",
|
|
1247
|
+
FAILBACK_NOT_READY_FOR_LAUNCH = "FAILBACK_NOT_READY_FOR_LAUNCH",
|
|
1184
1248
|
FAILBACK_NOT_STARTED = "FAILBACK_NOT_STARTED",
|
|
1185
1249
|
FAILBACK_READY_FOR_LAUNCH = "FAILBACK_READY_FOR_LAUNCH"
|
|
1186
1250
|
}
|
|
@@ -1224,6 +1288,14 @@ export interface RecoveryInstanceFailback {
|
|
|
1224
1288
|
* <p>The amount of time that the Recovery Instance has been replicating for.</p>
|
|
1225
1289
|
*/
|
|
1226
1290
|
elapsedReplicationDuration?: string;
|
|
1291
|
+
/**
|
|
1292
|
+
* <p>The launch type (Recovery / Drill) of the last launch for the failback replication of this recovery instance.</p>
|
|
1293
|
+
*/
|
|
1294
|
+
failbackLaunchType?: FailbackLaunchType | string;
|
|
1295
|
+
}
|
|
1296
|
+
export declare enum OriginEnvironment {
|
|
1297
|
+
AWS = "AWS",
|
|
1298
|
+
ON_PREMISES = "ON_PREMISES"
|
|
1227
1299
|
}
|
|
1228
1300
|
/**
|
|
1229
1301
|
* <p>An object representing a block storage device on the Recovery Instance.</p>
|
|
@@ -1327,6 +1399,10 @@ export interface RecoveryInstance {
|
|
|
1327
1399
|
* <p>Whether this Recovery Instance was created for a drill or for an actual Recovery event.</p>
|
|
1328
1400
|
*/
|
|
1329
1401
|
isDrill?: boolean;
|
|
1402
|
+
/**
|
|
1403
|
+
* <p>Environment (On Premises / AWS) of the instance that the recovery instance originated from. </p>
|
|
1404
|
+
*/
|
|
1405
|
+
originEnvironment?: OriginEnvironment | string;
|
|
1330
1406
|
}
|
|
1331
1407
|
export interface DescribeRecoveryInstancesResponse {
|
|
1332
1408
|
/**
|
|
@@ -1590,6 +1666,18 @@ export interface GetFailbackReplicationConfigurationResponse {
|
|
|
1590
1666
|
*/
|
|
1591
1667
|
usePrivateIP?: boolean;
|
|
1592
1668
|
}
|
|
1669
|
+
export interface ReverseReplicationRequest {
|
|
1670
|
+
/**
|
|
1671
|
+
* <p>The ID of the Recovery Instance that we want to reverse the replication for.</p>
|
|
1672
|
+
*/
|
|
1673
|
+
recoveryInstanceID: string | undefined;
|
|
1674
|
+
}
|
|
1675
|
+
export interface ReverseReplicationResponse {
|
|
1676
|
+
/**
|
|
1677
|
+
* <p>ARN of created SourceServer.</p>
|
|
1678
|
+
*/
|
|
1679
|
+
reversedDirectionSourceServerArn?: string;
|
|
1680
|
+
}
|
|
1593
1681
|
export interface StartFailbackLaunchRequest {
|
|
1594
1682
|
/**
|
|
1595
1683
|
* <p>The IDs of the Recovery Instance whose failback launch we want to request.</p>
|
|
@@ -1801,7 +1889,7 @@ export interface ReplicationConfigurationReplicatedDisk {
|
|
|
1801
1889
|
*/
|
|
1802
1890
|
throughput?: number;
|
|
1803
1891
|
/**
|
|
1804
|
-
* <p>
|
|
1892
|
+
* <p>When <code>stagingDiskType</code> is set to Auto, this field shows the current staging disk EBS volume type as it is constantly updated by the service. This is a read-only field.</p>
|
|
1805
1893
|
*/
|
|
1806
1894
|
optimizedStagingDiskType?: ReplicationConfigurationReplicatedDiskStagingDiskType | string;
|
|
1807
1895
|
}
|
|
@@ -1910,6 +1998,30 @@ export interface StartRecoveryResponse {
|
|
|
1910
1998
|
*/
|
|
1911
1999
|
job?: Job;
|
|
1912
2000
|
}
|
|
2001
|
+
export interface StartReplicationRequest {
|
|
2002
|
+
/**
|
|
2003
|
+
* <p>The ID of the Source Server to start replication for.</p>
|
|
2004
|
+
*/
|
|
2005
|
+
sourceServerID: string | undefined;
|
|
2006
|
+
}
|
|
2007
|
+
export interface StartReplicationResponse {
|
|
2008
|
+
/**
|
|
2009
|
+
* <p>The Source Server that this action was targeted on.</p>
|
|
2010
|
+
*/
|
|
2011
|
+
sourceServer?: SourceServer;
|
|
2012
|
+
}
|
|
2013
|
+
export interface StopReplicationRequest {
|
|
2014
|
+
/**
|
|
2015
|
+
* <p>The ID of the Source Server to stop replication for.</p>
|
|
2016
|
+
*/
|
|
2017
|
+
sourceServerID: string | undefined;
|
|
2018
|
+
}
|
|
2019
|
+
export interface StopReplicationResponse {
|
|
2020
|
+
/**
|
|
2021
|
+
* <p>The Source Server that this action was targeted on.</p>
|
|
2022
|
+
*/
|
|
2023
|
+
sourceServer?: SourceServer;
|
|
2024
|
+
}
|
|
1913
2025
|
export interface UpdateLaunchConfigurationRequest {
|
|
1914
2026
|
/**
|
|
1915
2027
|
* <p>The ID of the Source Server that we want to retrieve a Launch Configuration for.</p>
|
|
@@ -2074,6 +2186,10 @@ export declare const LifeCycleLastLaunchFilterSensitiveLog: (obj: LifeCycleLastL
|
|
|
2074
2186
|
* @internal
|
|
2075
2187
|
*/
|
|
2076
2188
|
export declare const LifeCycleFilterSensitiveLog: (obj: LifeCycle) => any;
|
|
2189
|
+
/**
|
|
2190
|
+
* @internal
|
|
2191
|
+
*/
|
|
2192
|
+
export declare const SourceCloudPropertiesFilterSensitiveLog: (obj: SourceCloudProperties) => any;
|
|
2077
2193
|
/**
|
|
2078
2194
|
* @internal
|
|
2079
2195
|
*/
|
|
@@ -2322,6 +2438,14 @@ export declare const GetFailbackReplicationConfigurationRequestFilterSensitiveLo
|
|
|
2322
2438
|
* @internal
|
|
2323
2439
|
*/
|
|
2324
2440
|
export declare const GetFailbackReplicationConfigurationResponseFilterSensitiveLog: (obj: GetFailbackReplicationConfigurationResponse) => any;
|
|
2441
|
+
/**
|
|
2442
|
+
* @internal
|
|
2443
|
+
*/
|
|
2444
|
+
export declare const ReverseReplicationRequestFilterSensitiveLog: (obj: ReverseReplicationRequest) => any;
|
|
2445
|
+
/**
|
|
2446
|
+
* @internal
|
|
2447
|
+
*/
|
|
2448
|
+
export declare const ReverseReplicationResponseFilterSensitiveLog: (obj: ReverseReplicationResponse) => any;
|
|
2325
2449
|
/**
|
|
2326
2450
|
* @internal
|
|
2327
2451
|
*/
|
|
@@ -2390,6 +2514,22 @@ export declare const StartRecoveryRequestFilterSensitiveLog: (obj: StartRecovery
|
|
|
2390
2514
|
* @internal
|
|
2391
2515
|
*/
|
|
2392
2516
|
export declare const StartRecoveryResponseFilterSensitiveLog: (obj: StartRecoveryResponse) => any;
|
|
2517
|
+
/**
|
|
2518
|
+
* @internal
|
|
2519
|
+
*/
|
|
2520
|
+
export declare const StartReplicationRequestFilterSensitiveLog: (obj: StartReplicationRequest) => any;
|
|
2521
|
+
/**
|
|
2522
|
+
* @internal
|
|
2523
|
+
*/
|
|
2524
|
+
export declare const StartReplicationResponseFilterSensitiveLog: (obj: StartReplicationResponse) => any;
|
|
2525
|
+
/**
|
|
2526
|
+
* @internal
|
|
2527
|
+
*/
|
|
2528
|
+
export declare const StopReplicationRequestFilterSensitiveLog: (obj: StopReplicationRequest) => any;
|
|
2529
|
+
/**
|
|
2530
|
+
* @internal
|
|
2531
|
+
*/
|
|
2532
|
+
export declare const StopReplicationResponseFilterSensitiveLog: (obj: StopReplicationResponse) => any;
|
|
2393
2533
|
/**
|
|
2394
2534
|
* @internal
|
|
2395
2535
|
*/
|
|
@@ -22,9 +22,12 @@ import { ListExtensibleSourceServersCommandInput, ListExtensibleSourceServersCom
|
|
|
22
22
|
import { ListStagingAccountsCommandInput, ListStagingAccountsCommandOutput } from "../commands/ListStagingAccountsCommand";
|
|
23
23
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
24
24
|
import { RetryDataReplicationCommandInput, RetryDataReplicationCommandOutput } from "../commands/RetryDataReplicationCommand";
|
|
25
|
+
import { ReverseReplicationCommandInput, ReverseReplicationCommandOutput } from "../commands/ReverseReplicationCommand";
|
|
25
26
|
import { StartFailbackLaunchCommandInput, StartFailbackLaunchCommandOutput } from "../commands/StartFailbackLaunchCommand";
|
|
26
27
|
import { StartRecoveryCommandInput, StartRecoveryCommandOutput } from "../commands/StartRecoveryCommand";
|
|
28
|
+
import { StartReplicationCommandInput, StartReplicationCommandOutput } from "../commands/StartReplicationCommand";
|
|
27
29
|
import { StopFailbackCommandInput, StopFailbackCommandOutput } from "../commands/StopFailbackCommand";
|
|
30
|
+
import { StopReplicationCommandInput, StopReplicationCommandOutput } from "../commands/StopReplicationCommand";
|
|
28
31
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
29
32
|
import { TerminateRecoveryInstancesCommandInput, TerminateRecoveryInstancesCommandOutput } from "../commands/TerminateRecoveryInstancesCommand";
|
|
30
33
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
@@ -54,9 +57,12 @@ export declare const serializeAws_restJson1ListExtensibleSourceServersCommand: (
|
|
|
54
57
|
export declare const serializeAws_restJson1ListStagingAccountsCommand: (input: ListStagingAccountsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
55
58
|
export declare const serializeAws_restJson1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
56
59
|
export declare const serializeAws_restJson1RetryDataReplicationCommand: (input: RetryDataReplicationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
60
|
+
export declare const serializeAws_restJson1ReverseReplicationCommand: (input: ReverseReplicationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
57
61
|
export declare const serializeAws_restJson1StartFailbackLaunchCommand: (input: StartFailbackLaunchCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
58
62
|
export declare const serializeAws_restJson1StartRecoveryCommand: (input: StartRecoveryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
63
|
+
export declare const serializeAws_restJson1StartReplicationCommand: (input: StartReplicationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
59
64
|
export declare const serializeAws_restJson1StopFailbackCommand: (input: StopFailbackCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
65
|
+
export declare const serializeAws_restJson1StopReplicationCommand: (input: StopReplicationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
60
66
|
export declare const serializeAws_restJson1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
61
67
|
export declare const serializeAws_restJson1TerminateRecoveryInstancesCommand: (input: TerminateRecoveryInstancesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
62
68
|
export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -86,9 +92,12 @@ export declare const deserializeAws_restJson1ListExtensibleSourceServersCommand:
|
|
|
86
92
|
export declare const deserializeAws_restJson1ListStagingAccountsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListStagingAccountsCommandOutput>;
|
|
87
93
|
export declare const deserializeAws_restJson1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
|
88
94
|
export declare const deserializeAws_restJson1RetryDataReplicationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RetryDataReplicationCommandOutput>;
|
|
95
|
+
export declare const deserializeAws_restJson1ReverseReplicationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ReverseReplicationCommandOutput>;
|
|
89
96
|
export declare const deserializeAws_restJson1StartFailbackLaunchCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartFailbackLaunchCommandOutput>;
|
|
90
97
|
export declare const deserializeAws_restJson1StartRecoveryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartRecoveryCommandOutput>;
|
|
98
|
+
export declare const deserializeAws_restJson1StartReplicationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartReplicationCommandOutput>;
|
|
91
99
|
export declare const deserializeAws_restJson1StopFailbackCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopFailbackCommandOutput>;
|
|
100
|
+
export declare const deserializeAws_restJson1StopReplicationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopReplicationCommandOutput>;
|
|
92
101
|
export declare const deserializeAws_restJson1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
|
|
93
102
|
export declare const deserializeAws_restJson1TerminateRecoveryInstancesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TerminateRecoveryInstancesCommandOutput>;
|
|
94
103
|
export declare const deserializeAws_restJson1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
@@ -87,6 +87,10 @@ import {
|
|
|
87
87
|
RetryDataReplicationCommandInput,
|
|
88
88
|
RetryDataReplicationCommandOutput,
|
|
89
89
|
} from "./commands/RetryDataReplicationCommand";
|
|
90
|
+
import {
|
|
91
|
+
ReverseReplicationCommandInput,
|
|
92
|
+
ReverseReplicationCommandOutput,
|
|
93
|
+
} from "./commands/ReverseReplicationCommand";
|
|
90
94
|
import {
|
|
91
95
|
StartFailbackLaunchCommandInput,
|
|
92
96
|
StartFailbackLaunchCommandOutput,
|
|
@@ -95,10 +99,18 @@ import {
|
|
|
95
99
|
StartRecoveryCommandInput,
|
|
96
100
|
StartRecoveryCommandOutput,
|
|
97
101
|
} from "./commands/StartRecoveryCommand";
|
|
102
|
+
import {
|
|
103
|
+
StartReplicationCommandInput,
|
|
104
|
+
StartReplicationCommandOutput,
|
|
105
|
+
} from "./commands/StartReplicationCommand";
|
|
98
106
|
import {
|
|
99
107
|
StopFailbackCommandInput,
|
|
100
108
|
StopFailbackCommandOutput,
|
|
101
109
|
} from "./commands/StopFailbackCommand";
|
|
110
|
+
import {
|
|
111
|
+
StopReplicationCommandInput,
|
|
112
|
+
StopReplicationCommandOutput,
|
|
113
|
+
} from "./commands/StopReplicationCommand";
|
|
102
114
|
import {
|
|
103
115
|
TagResourceCommandInput,
|
|
104
116
|
TagResourceCommandOutput,
|
|
@@ -439,6 +451,19 @@ export declare class Drs extends DrsClient {
|
|
|
439
451
|
options: __HttpHandlerOptions,
|
|
440
452
|
cb: (err: any, data?: RetryDataReplicationCommandOutput) => void
|
|
441
453
|
): void;
|
|
454
|
+
reverseReplication(
|
|
455
|
+
args: ReverseReplicationCommandInput,
|
|
456
|
+
options?: __HttpHandlerOptions
|
|
457
|
+
): Promise<ReverseReplicationCommandOutput>;
|
|
458
|
+
reverseReplication(
|
|
459
|
+
args: ReverseReplicationCommandInput,
|
|
460
|
+
cb: (err: any, data?: ReverseReplicationCommandOutput) => void
|
|
461
|
+
): void;
|
|
462
|
+
reverseReplication(
|
|
463
|
+
args: ReverseReplicationCommandInput,
|
|
464
|
+
options: __HttpHandlerOptions,
|
|
465
|
+
cb: (err: any, data?: ReverseReplicationCommandOutput) => void
|
|
466
|
+
): void;
|
|
442
467
|
startFailbackLaunch(
|
|
443
468
|
args: StartFailbackLaunchCommandInput,
|
|
444
469
|
options?: __HttpHandlerOptions
|
|
@@ -465,6 +490,19 @@ export declare class Drs extends DrsClient {
|
|
|
465
490
|
options: __HttpHandlerOptions,
|
|
466
491
|
cb: (err: any, data?: StartRecoveryCommandOutput) => void
|
|
467
492
|
): void;
|
|
493
|
+
startReplication(
|
|
494
|
+
args: StartReplicationCommandInput,
|
|
495
|
+
options?: __HttpHandlerOptions
|
|
496
|
+
): Promise<StartReplicationCommandOutput>;
|
|
497
|
+
startReplication(
|
|
498
|
+
args: StartReplicationCommandInput,
|
|
499
|
+
cb: (err: any, data?: StartReplicationCommandOutput) => void
|
|
500
|
+
): void;
|
|
501
|
+
startReplication(
|
|
502
|
+
args: StartReplicationCommandInput,
|
|
503
|
+
options: __HttpHandlerOptions,
|
|
504
|
+
cb: (err: any, data?: StartReplicationCommandOutput) => void
|
|
505
|
+
): void;
|
|
468
506
|
stopFailback(
|
|
469
507
|
args: StopFailbackCommandInput,
|
|
470
508
|
options?: __HttpHandlerOptions
|
|
@@ -478,6 +516,19 @@ export declare class Drs extends DrsClient {
|
|
|
478
516
|
options: __HttpHandlerOptions,
|
|
479
517
|
cb: (err: any, data?: StopFailbackCommandOutput) => void
|
|
480
518
|
): void;
|
|
519
|
+
stopReplication(
|
|
520
|
+
args: StopReplicationCommandInput,
|
|
521
|
+
options?: __HttpHandlerOptions
|
|
522
|
+
): Promise<StopReplicationCommandOutput>;
|
|
523
|
+
stopReplication(
|
|
524
|
+
args: StopReplicationCommandInput,
|
|
525
|
+
cb: (err: any, data?: StopReplicationCommandOutput) => void
|
|
526
|
+
): void;
|
|
527
|
+
stopReplication(
|
|
528
|
+
args: StopReplicationCommandInput,
|
|
529
|
+
options: __HttpHandlerOptions,
|
|
530
|
+
cb: (err: any, data?: StopReplicationCommandOutput) => void
|
|
531
|
+
): void;
|
|
481
532
|
tagResource(
|
|
482
533
|
args: TagResourceCommandInput,
|
|
483
534
|
options?: __HttpHandlerOptions
|
|
@@ -131,6 +131,10 @@ import {
|
|
|
131
131
|
RetryDataReplicationCommandInput,
|
|
132
132
|
RetryDataReplicationCommandOutput,
|
|
133
133
|
} from "./commands/RetryDataReplicationCommand";
|
|
134
|
+
import {
|
|
135
|
+
ReverseReplicationCommandInput,
|
|
136
|
+
ReverseReplicationCommandOutput,
|
|
137
|
+
} from "./commands/ReverseReplicationCommand";
|
|
134
138
|
import {
|
|
135
139
|
StartFailbackLaunchCommandInput,
|
|
136
140
|
StartFailbackLaunchCommandOutput,
|
|
@@ -139,10 +143,18 @@ import {
|
|
|
139
143
|
StartRecoveryCommandInput,
|
|
140
144
|
StartRecoveryCommandOutput,
|
|
141
145
|
} from "./commands/StartRecoveryCommand";
|
|
146
|
+
import {
|
|
147
|
+
StartReplicationCommandInput,
|
|
148
|
+
StartReplicationCommandOutput,
|
|
149
|
+
} from "./commands/StartReplicationCommand";
|
|
142
150
|
import {
|
|
143
151
|
StopFailbackCommandInput,
|
|
144
152
|
StopFailbackCommandOutput,
|
|
145
153
|
} from "./commands/StopFailbackCommand";
|
|
154
|
+
import {
|
|
155
|
+
StopReplicationCommandInput,
|
|
156
|
+
StopReplicationCommandOutput,
|
|
157
|
+
} from "./commands/StopReplicationCommand";
|
|
146
158
|
import {
|
|
147
159
|
TagResourceCommandInput,
|
|
148
160
|
TagResourceCommandOutput,
|
|
@@ -199,9 +211,12 @@ export declare type ServiceInputTypes =
|
|
|
199
211
|
| ListStagingAccountsCommandInput
|
|
200
212
|
| ListTagsForResourceCommandInput
|
|
201
213
|
| RetryDataReplicationCommandInput
|
|
214
|
+
| ReverseReplicationCommandInput
|
|
202
215
|
| StartFailbackLaunchCommandInput
|
|
203
216
|
| StartRecoveryCommandInput
|
|
217
|
+
| StartReplicationCommandInput
|
|
204
218
|
| StopFailbackCommandInput
|
|
219
|
+
| StopReplicationCommandInput
|
|
205
220
|
| TagResourceCommandInput
|
|
206
221
|
| TerminateRecoveryInstancesCommandInput
|
|
207
222
|
| UntagResourceCommandInput
|
|
@@ -232,9 +247,12 @@ export declare type ServiceOutputTypes =
|
|
|
232
247
|
| ListStagingAccountsCommandOutput
|
|
233
248
|
| ListTagsForResourceCommandOutput
|
|
234
249
|
| RetryDataReplicationCommandOutput
|
|
250
|
+
| ReverseReplicationCommandOutput
|
|
235
251
|
| StartFailbackLaunchCommandOutput
|
|
236
252
|
| StartRecoveryCommandOutput
|
|
253
|
+
| StartReplicationCommandOutput
|
|
237
254
|
| StopFailbackCommandOutput
|
|
255
|
+
| StopReplicationCommandOutput
|
|
238
256
|
| TagResourceCommandOutput
|
|
239
257
|
| TerminateRecoveryInstancesCommandOutput
|
|
240
258
|
| UntagResourceCommandOutput
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
DrsClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../DrsClient";
|
|
14
|
+
import {
|
|
15
|
+
ReverseReplicationRequest,
|
|
16
|
+
ReverseReplicationResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export interface ReverseReplicationCommandInput
|
|
19
|
+
extends ReverseReplicationRequest {}
|
|
20
|
+
export interface ReverseReplicationCommandOutput
|
|
21
|
+
extends ReverseReplicationResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class ReverseReplicationCommand extends $Command<
|
|
24
|
+
ReverseReplicationCommandInput,
|
|
25
|
+
ReverseReplicationCommandOutput,
|
|
26
|
+
DrsClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: ReverseReplicationCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ReverseReplicationCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: DrsClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<ReverseReplicationCommandInput, ReverseReplicationCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
DrsClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../DrsClient";
|
|
14
|
+
import {
|
|
15
|
+
StartReplicationRequest,
|
|
16
|
+
StartReplicationResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export interface StartReplicationCommandInput extends StartReplicationRequest {}
|
|
19
|
+
export interface StartReplicationCommandOutput
|
|
20
|
+
extends StartReplicationResponse,
|
|
21
|
+
__MetadataBearer {}
|
|
22
|
+
export declare class StartReplicationCommand extends $Command<
|
|
23
|
+
StartReplicationCommandInput,
|
|
24
|
+
StartReplicationCommandOutput,
|
|
25
|
+
DrsClientResolvedConfig
|
|
26
|
+
> {
|
|
27
|
+
readonly input: StartReplicationCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
29
|
+
constructor(input: StartReplicationCommandInput);
|
|
30
|
+
resolveMiddleware(
|
|
31
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
32
|
+
configuration: DrsClientResolvedConfig,
|
|
33
|
+
options?: __HttpHandlerOptions
|
|
34
|
+
): Handler<StartReplicationCommandInput, StartReplicationCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
DrsClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../DrsClient";
|
|
14
|
+
import {
|
|
15
|
+
StopReplicationRequest,
|
|
16
|
+
StopReplicationResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export interface StopReplicationCommandInput extends StopReplicationRequest {}
|
|
19
|
+
export interface StopReplicationCommandOutput
|
|
20
|
+
extends StopReplicationResponse,
|
|
21
|
+
__MetadataBearer {}
|
|
22
|
+
export declare class StopReplicationCommand extends $Command<
|
|
23
|
+
StopReplicationCommandInput,
|
|
24
|
+
StopReplicationCommandOutput,
|
|
25
|
+
DrsClientResolvedConfig
|
|
26
|
+
> {
|
|
27
|
+
readonly input: StopReplicationCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
29
|
+
constructor(input: StopReplicationCommandInput);
|
|
30
|
+
resolveMiddleware(
|
|
31
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
32
|
+
configuration: DrsClientResolvedConfig,
|
|
33
|
+
options?: __HttpHandlerOptions
|
|
34
|
+
): Handler<StopReplicationCommandInput, StopReplicationCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -20,9 +20,12 @@ export * from "./ListExtensibleSourceServersCommand";
|
|
|
20
20
|
export * from "./ListStagingAccountsCommand";
|
|
21
21
|
export * from "./ListTagsForResourceCommand";
|
|
22
22
|
export * from "./RetryDataReplicationCommand";
|
|
23
|
+
export * from "./ReverseReplicationCommand";
|
|
23
24
|
export * from "./StartFailbackLaunchCommand";
|
|
24
25
|
export * from "./StartRecoveryCommand";
|
|
26
|
+
export * from "./StartReplicationCommand";
|
|
25
27
|
export * from "./StopFailbackCommand";
|
|
28
|
+
export * from "./StopReplicationCommand";
|
|
26
29
|
export * from "./TagResourceCommand";
|
|
27
30
|
export * from "./TerminateRecoveryInstancesCommand";
|
|
28
31
|
export * from "./UntagResourceCommand";
|