@aws-sdk/client-drs 3.300.0 → 3.303.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/models/models_0.js +247 -277
- package/dist-cjs/protocols/Aws_restJson1.js +16 -0
- package/dist-es/models/models_0.js +247 -277
- package/dist-es/protocols/Aws_restJson1.js +16 -0
- package/dist-types/Drs.d.ts +5 -1
- package/dist-types/commands/CreateExtendedSourceServerCommand.d.ts +2 -2
- package/dist-types/commands/CreateReplicationConfigurationTemplateCommand.d.ts +6 -5
- package/dist-types/commands/DeleteJobCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRecoveryInstanceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteReplicationConfigurationTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSourceServerCommand.d.ts +1 -1
- package/dist-types/commands/DescribeJobLogItemsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeJobsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeRecoveryInstancesCommand.d.ts +4 -4
- package/dist-types/commands/DescribeRecoverySnapshotsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeReplicationConfigurationTemplatesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeSourceServersCommand.d.ts +4 -4
- package/dist-types/commands/DisconnectRecoveryInstanceCommand.d.ts +1 -1
- package/dist-types/commands/DisconnectSourceServerCommand.d.ts +1 -1
- package/dist-types/commands/GetFailbackReplicationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetLaunchConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetReplicationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/ListExtensibleSourceServersCommand.d.ts +1 -1
- package/dist-types/commands/ListStagingAccountsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/RetryDataReplicationCommand.d.ts +6 -2
- package/dist-types/commands/ReverseReplicationCommand.d.ts +1 -1
- package/dist-types/commands/StartFailbackLaunchCommand.d.ts +3 -3
- package/dist-types/commands/StartRecoveryCommand.d.ts +4 -4
- package/dist-types/commands/StartReplicationCommand.d.ts +1 -1
- package/dist-types/commands/StopFailbackCommand.d.ts +1 -1
- package/dist-types/commands/StopReplicationCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/TerminateRecoveryInstancesCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateFailbackReplicationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLaunchConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/UpdateReplicationConfigurationCommand.d.ts +8 -7
- package/dist-types/commands/UpdateReplicationConfigurationTemplateCommand.d.ts +6 -5
- package/dist-types/models/models_0.d.ts +417 -247
- package/dist-types/ts3.4/models/models_0.d.ts +306 -247
- package/package.json +34 -34
|
@@ -34,6 +34,7 @@ export const serializeAws_restJson1CreateReplicationConfigurationTemplateCommand
|
|
|
34
34
|
...(input.associateDefaultSecurityGroup != null && {
|
|
35
35
|
associateDefaultSecurityGroup: input.associateDefaultSecurityGroup,
|
|
36
36
|
}),
|
|
37
|
+
...(input.autoReplicateNewDisks != null && { autoReplicateNewDisks: input.autoReplicateNewDisks }),
|
|
37
38
|
...(input.bandwidthThrottling != null && { bandwidthThrottling: input.bandwidthThrottling }),
|
|
38
39
|
...(input.createPublicIP != null && { createPublicIP: input.createPublicIP }),
|
|
39
40
|
...(input.dataPlaneRouting != null && { dataPlaneRouting: input.dataPlaneRouting }),
|
|
@@ -744,6 +745,7 @@ export const serializeAws_restJson1UpdateReplicationConfigurationCommand = async
|
|
|
744
745
|
...(input.associateDefaultSecurityGroup != null && {
|
|
745
746
|
associateDefaultSecurityGroup: input.associateDefaultSecurityGroup,
|
|
746
747
|
}),
|
|
748
|
+
...(input.autoReplicateNewDisks != null && { autoReplicateNewDisks: input.autoReplicateNewDisks }),
|
|
747
749
|
...(input.bandwidthThrottling != null && { bandwidthThrottling: input.bandwidthThrottling }),
|
|
748
750
|
...(input.createPublicIP != null && { createPublicIP: input.createPublicIP }),
|
|
749
751
|
...(input.dataPlaneRouting != null && { dataPlaneRouting: input.dataPlaneRouting }),
|
|
@@ -794,6 +796,7 @@ export const serializeAws_restJson1UpdateReplicationConfigurationTemplateCommand
|
|
|
794
796
|
...(input.associateDefaultSecurityGroup != null && {
|
|
795
797
|
associateDefaultSecurityGroup: input.associateDefaultSecurityGroup,
|
|
796
798
|
}),
|
|
799
|
+
...(input.autoReplicateNewDisks != null && { autoReplicateNewDisks: input.autoReplicateNewDisks }),
|
|
797
800
|
...(input.bandwidthThrottling != null && { bandwidthThrottling: input.bandwidthThrottling }),
|
|
798
801
|
...(input.createPublicIP != null && { createPublicIP: input.createPublicIP }),
|
|
799
802
|
...(input.dataPlaneRouting != null && { dataPlaneRouting: input.dataPlaneRouting }),
|
|
@@ -895,6 +898,9 @@ export const deserializeAws_restJson1CreateReplicationConfigurationTemplateComma
|
|
|
895
898
|
if (data.associateDefaultSecurityGroup != null) {
|
|
896
899
|
contents.associateDefaultSecurityGroup = __expectBoolean(data.associateDefaultSecurityGroup);
|
|
897
900
|
}
|
|
901
|
+
if (data.autoReplicateNewDisks != null) {
|
|
902
|
+
contents.autoReplicateNewDisks = __expectBoolean(data.autoReplicateNewDisks);
|
|
903
|
+
}
|
|
898
904
|
if (data.bandwidthThrottling != null) {
|
|
899
905
|
contents.bandwidthThrottling = __expectLong(data.bandwidthThrottling);
|
|
900
906
|
}
|
|
@@ -1666,6 +1672,9 @@ export const deserializeAws_restJson1GetReplicationConfigurationCommand = async
|
|
|
1666
1672
|
if (data.associateDefaultSecurityGroup != null) {
|
|
1667
1673
|
contents.associateDefaultSecurityGroup = __expectBoolean(data.associateDefaultSecurityGroup);
|
|
1668
1674
|
}
|
|
1675
|
+
if (data.autoReplicateNewDisks != null) {
|
|
1676
|
+
contents.autoReplicateNewDisks = __expectBoolean(data.autoReplicateNewDisks);
|
|
1677
|
+
}
|
|
1669
1678
|
if (data.bandwidthThrottling != null) {
|
|
1670
1679
|
contents.bandwidthThrottling = __expectLong(data.bandwidthThrottling);
|
|
1671
1680
|
}
|
|
@@ -2527,6 +2536,9 @@ export const deserializeAws_restJson1UpdateReplicationConfigurationCommand = asy
|
|
|
2527
2536
|
if (data.associateDefaultSecurityGroup != null) {
|
|
2528
2537
|
contents.associateDefaultSecurityGroup = __expectBoolean(data.associateDefaultSecurityGroup);
|
|
2529
2538
|
}
|
|
2539
|
+
if (data.autoReplicateNewDisks != null) {
|
|
2540
|
+
contents.autoReplicateNewDisks = __expectBoolean(data.autoReplicateNewDisks);
|
|
2541
|
+
}
|
|
2530
2542
|
if (data.bandwidthThrottling != null) {
|
|
2531
2543
|
contents.bandwidthThrottling = __expectLong(data.bandwidthThrottling);
|
|
2532
2544
|
}
|
|
@@ -2626,6 +2638,9 @@ export const deserializeAws_restJson1UpdateReplicationConfigurationTemplateComma
|
|
|
2626
2638
|
if (data.associateDefaultSecurityGroup != null) {
|
|
2627
2639
|
contents.associateDefaultSecurityGroup = __expectBoolean(data.associateDefaultSecurityGroup);
|
|
2628
2640
|
}
|
|
2641
|
+
if (data.autoReplicateNewDisks != null) {
|
|
2642
|
+
contents.autoReplicateNewDisks = __expectBoolean(data.autoReplicateNewDisks);
|
|
2643
|
+
}
|
|
2629
2644
|
if (data.bandwidthThrottling != null) {
|
|
2630
2645
|
contents.bandwidthThrottling = __expectLong(data.bandwidthThrottling);
|
|
2631
2646
|
}
|
|
@@ -3529,6 +3544,7 @@ const deserializeAws_restJson1ReplicationConfigurationTemplate = (output, contex
|
|
|
3529
3544
|
return {
|
|
3530
3545
|
arn: __expectString(output.arn),
|
|
3531
3546
|
associateDefaultSecurityGroup: __expectBoolean(output.associateDefaultSecurityGroup),
|
|
3547
|
+
autoReplicateNewDisks: __expectBoolean(output.autoReplicateNewDisks),
|
|
3532
3548
|
bandwidthThrottling: __expectLong(output.bandwidthThrottling),
|
|
3533
3549
|
createPublicIP: __expectBoolean(output.createPublicIP),
|
|
3534
3550
|
dataPlaneRouting: __expectString(output.dataPlaneRouting),
|
package/dist-types/Drs.d.ts
CHANGED
|
@@ -192,7 +192,11 @@ export declare class Drs extends DrsClient {
|
|
|
192
192
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
193
193
|
/**
|
|
194
194
|
* @public
|
|
195
|
-
*
|
|
195
|
+
* @deprecated
|
|
196
|
+
*
|
|
197
|
+
* <p>WARNING: RetryDataReplication is deprecated.
|
|
198
|
+
* Causes the data replication initiation sequence to begin immediately upon next Handshake for the specified Source Server ID, regardless of when the previous initiation started. This command will work only if the Source Server is stalled or is in a DISCONNECTED or STOPPED state.
|
|
199
|
+
* </p>
|
|
196
200
|
*/
|
|
197
201
|
retryDataReplication(args: RetryDataReplicationCommandInput, options?: __HttpHandlerOptions): Promise<RetryDataReplicationCommandOutput>;
|
|
198
202
|
retryDataReplication(args: RetryDataReplicationCommandInput, cb: (err: any, data?: RetryDataReplicationCommandOutput) => void): void;
|
|
@@ -26,9 +26,9 @@ export interface CreateExtendedSourceServerCommandOutput extends CreateExtendedS
|
|
|
26
26
|
* import { DrsClient, CreateExtendedSourceServerCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
27
|
* // const { DrsClient, CreateExtendedSourceServerCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
28
|
* const client = new DrsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateExtendedSourceServerRequest
|
|
30
30
|
* sourceServerArn: "STRING_VALUE", // required
|
|
31
|
-
* tags: {
|
|
31
|
+
* tags: { // TagsMap
|
|
32
32
|
* "<keys>": "STRING_VALUE",
|
|
33
33
|
* },
|
|
34
34
|
* };
|
|
@@ -26,10 +26,10 @@ export interface CreateReplicationConfigurationTemplateCommandOutput extends Rep
|
|
|
26
26
|
* import { DrsClient, CreateReplicationConfigurationTemplateCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
27
|
* // const { DrsClient, CreateReplicationConfigurationTemplateCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
28
|
* const client = new DrsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateReplicationConfigurationTemplateRequest
|
|
30
30
|
* stagingAreaSubnetId: "STRING_VALUE", // required
|
|
31
31
|
* associateDefaultSecurityGroup: true || false, // required
|
|
32
|
-
* replicationServersSecurityGroupsIDs: [ // required
|
|
32
|
+
* replicationServersSecurityGroupsIDs: [ // ReplicationServersSecurityGroupsIDs // required
|
|
33
33
|
* "STRING_VALUE",
|
|
34
34
|
* ],
|
|
35
35
|
* replicationServerInstanceType: "STRING_VALUE", // required
|
|
@@ -40,11 +40,11 @@ export interface CreateReplicationConfigurationTemplateCommandOutput extends Rep
|
|
|
40
40
|
* bandwidthThrottling: Number("long"), // required
|
|
41
41
|
* dataPlaneRouting: "STRING_VALUE", // required
|
|
42
42
|
* createPublicIP: true || false, // required
|
|
43
|
-
* stagingAreaTags: { // required
|
|
43
|
+
* stagingAreaTags: { // TagsMap // required
|
|
44
44
|
* "<keys>": "STRING_VALUE",
|
|
45
45
|
* },
|
|
46
|
-
* pitPolicy: [ // required
|
|
47
|
-
* {
|
|
46
|
+
* pitPolicy: [ // PITPolicy // required
|
|
47
|
+
* { // PITPolicyRule
|
|
48
48
|
* ruleID: Number("long"),
|
|
49
49
|
* units: "STRING_VALUE", // required
|
|
50
50
|
* interval: Number("int"), // required
|
|
@@ -55,6 +55,7 @@ export interface CreateReplicationConfigurationTemplateCommandOutput extends Rep
|
|
|
55
55
|
* tags: {
|
|
56
56
|
* "<keys>": "STRING_VALUE",
|
|
57
57
|
* },
|
|
58
|
+
* autoReplicateNewDisks: true || false,
|
|
58
59
|
* };
|
|
59
60
|
* const command = new CreateReplicationConfigurationTemplateCommand(input);
|
|
60
61
|
* const response = await client.send(command);
|
|
@@ -26,7 +26,7 @@ export interface DeleteJobCommandOutput extends DeleteJobResponse, __MetadataBea
|
|
|
26
26
|
* import { DrsClient, DeleteJobCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
27
|
* // const { DrsClient, DeleteJobCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
28
|
* const client = new DrsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteJobRequest
|
|
30
30
|
* jobID: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteJobCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface DeleteRecoveryInstanceCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { DrsClient, DeleteRecoveryInstanceCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
27
|
* // const { DrsClient, DeleteRecoveryInstanceCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
28
|
* const client = new DrsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteRecoveryInstanceRequest
|
|
30
30
|
* recoveryInstanceID: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteRecoveryInstanceCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface DeleteReplicationConfigurationTemplateCommandOutput extends Del
|
|
|
26
26
|
* import { DrsClient, DeleteReplicationConfigurationTemplateCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
27
|
* // const { DrsClient, DeleteReplicationConfigurationTemplateCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
28
|
* const client = new DrsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteReplicationConfigurationTemplateRequest
|
|
30
30
|
* replicationConfigurationTemplateID: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteReplicationConfigurationTemplateCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface DeleteSourceServerCommandOutput extends DeleteSourceServerRespo
|
|
|
26
26
|
* import { DrsClient, DeleteSourceServerCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
27
|
* // const { DrsClient, DeleteSourceServerCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
28
|
* const client = new DrsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteSourceServerRequest
|
|
30
30
|
* sourceServerID: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteSourceServerCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface DescribeJobLogItemsCommandOutput extends DescribeJobLogItemsRes
|
|
|
26
26
|
* import { DrsClient, DescribeJobLogItemsCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
27
|
* // const { DrsClient, DescribeJobLogItemsCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
28
|
* const client = new DrsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DescribeJobLogItemsRequest
|
|
30
30
|
* jobID: "STRING_VALUE", // required
|
|
31
31
|
* maxResults: Number("int"),
|
|
32
32
|
* nextToken: "STRING_VALUE",
|
|
@@ -26,9 +26,9 @@ export interface DescribeJobsCommandOutput extends DescribeJobsResponse, __Metad
|
|
|
26
26
|
* import { DrsClient, DescribeJobsCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
27
|
* // const { DrsClient, DescribeJobsCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
28
|
* const client = new DrsClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* filters: {
|
|
31
|
-
* jobIDs: [
|
|
29
|
+
* const input = { // DescribeJobsRequest
|
|
30
|
+
* filters: { // DescribeJobsRequestFilters
|
|
31
|
+
* jobIDs: [ // DescribeJobsRequestFiltersJobIDs
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* fromDate: "STRING_VALUE",
|
|
@@ -26,12 +26,12 @@ export interface DescribeRecoveryInstancesCommandOutput extends DescribeRecovery
|
|
|
26
26
|
* import { DrsClient, DescribeRecoveryInstancesCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
27
|
* // const { DrsClient, DescribeRecoveryInstancesCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
28
|
* const client = new DrsClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* filters: {
|
|
31
|
-
* recoveryInstanceIDs: [
|
|
29
|
+
* const input = { // DescribeRecoveryInstancesRequest
|
|
30
|
+
* filters: { // DescribeRecoveryInstancesRequestFilters
|
|
31
|
+
* recoveryInstanceIDs: [ // RecoveryInstanceIDs
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
|
-
* sourceServerIDs: [
|
|
34
|
+
* sourceServerIDs: [ // SourceServerIDs
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
37
|
* },
|
|
@@ -26,9 +26,9 @@ export interface DescribeRecoverySnapshotsCommandOutput extends DescribeRecovery
|
|
|
26
26
|
* import { DrsClient, DescribeRecoverySnapshotsCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
27
|
* // const { DrsClient, DescribeRecoverySnapshotsCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
28
|
* const client = new DrsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DescribeRecoverySnapshotsRequest
|
|
30
30
|
* sourceServerID: "STRING_VALUE", // required
|
|
31
|
-
* filters: {
|
|
31
|
+
* filters: { // DescribeRecoverySnapshotsRequestFilters
|
|
32
32
|
* fromDateTime: "STRING_VALUE",
|
|
33
33
|
* toDateTime: "STRING_VALUE",
|
|
34
34
|
* },
|
|
@@ -26,8 +26,8 @@ export interface DescribeReplicationConfigurationTemplatesCommandOutput extends
|
|
|
26
26
|
* import { DrsClient, DescribeReplicationConfigurationTemplatesCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
27
|
* // const { DrsClient, DescribeReplicationConfigurationTemplatesCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
28
|
* const client = new DrsClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* replicationConfigurationTemplateIDs: [
|
|
29
|
+
* const input = { // DescribeReplicationConfigurationTemplatesRequest
|
|
30
|
+
* replicationConfigurationTemplateIDs: [ // ReplicationConfigurationTemplateIDs
|
|
31
31
|
* "STRING_VALUE",
|
|
32
32
|
* ],
|
|
33
33
|
* maxResults: Number("int"),
|
|
@@ -26,13 +26,13 @@ export interface DescribeSourceServersCommandOutput extends DescribeSourceServer
|
|
|
26
26
|
* import { DrsClient, DescribeSourceServersCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
27
|
* // const { DrsClient, DescribeSourceServersCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
28
|
* const client = new DrsClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* filters: {
|
|
31
|
-
* sourceServerIDs: [
|
|
29
|
+
* const input = { // DescribeSourceServersRequest
|
|
30
|
+
* filters: { // DescribeSourceServersRequestFilters
|
|
31
|
+
* sourceServerIDs: [ // DescribeSourceServersRequestFiltersIDs
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* hardwareId: "STRING_VALUE",
|
|
35
|
-
* stagingAccountIDs: [
|
|
35
|
+
* stagingAccountIDs: [ // AccountIDs
|
|
36
36
|
* "STRING_VALUE",
|
|
37
37
|
* ],
|
|
38
38
|
* },
|
|
@@ -26,7 +26,7 @@ export interface DisconnectRecoveryInstanceCommandOutput extends __MetadataBeare
|
|
|
26
26
|
* import { DrsClient, DisconnectRecoveryInstanceCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
27
|
* // const { DrsClient, DisconnectRecoveryInstanceCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
28
|
* const client = new DrsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DisconnectRecoveryInstanceRequest
|
|
30
30
|
* recoveryInstanceID: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DisconnectRecoveryInstanceCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface DisconnectSourceServerCommandOutput extends SourceServer, __Met
|
|
|
26
26
|
* import { DrsClient, DisconnectSourceServerCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
27
|
* // const { DrsClient, DisconnectSourceServerCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
28
|
* const client = new DrsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DisconnectSourceServerRequest
|
|
30
30
|
* sourceServerID: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DisconnectSourceServerCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface GetFailbackReplicationConfigurationCommandOutput extends GetFai
|
|
|
26
26
|
* import { DrsClient, GetFailbackReplicationConfigurationCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
27
|
* // const { DrsClient, GetFailbackReplicationConfigurationCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
28
|
* const client = new DrsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetFailbackReplicationConfigurationRequest
|
|
30
30
|
* recoveryInstanceID: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetFailbackReplicationConfigurationCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface GetLaunchConfigurationCommandOutput extends LaunchConfiguration
|
|
|
26
26
|
* import { DrsClient, GetLaunchConfigurationCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
27
|
* // const { DrsClient, GetLaunchConfigurationCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
28
|
* const client = new DrsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetLaunchConfigurationRequest
|
|
30
30
|
* sourceServerID: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetLaunchConfigurationCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface GetReplicationConfigurationCommandOutput extends ReplicationCon
|
|
|
26
26
|
* import { DrsClient, GetReplicationConfigurationCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
27
|
* // const { DrsClient, GetReplicationConfigurationCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
28
|
* const client = new DrsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetReplicationConfigurationRequest
|
|
30
30
|
* sourceServerID: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetReplicationConfigurationCommand(input);
|
|
@@ -29,7 +29,7 @@ export interface ListExtensibleSourceServersCommandOutput extends ListExtensible
|
|
|
29
29
|
* import { DrsClient, ListExtensibleSourceServersCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
30
30
|
* // const { DrsClient, ListExtensibleSourceServersCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
31
31
|
* const client = new DrsClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // ListExtensibleSourceServersRequest
|
|
33
33
|
* stagingAccountID: "STRING_VALUE", // required
|
|
34
34
|
* maxResults: Number("int"),
|
|
35
35
|
* nextToken: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ export interface ListStagingAccountsCommandOutput extends ListStagingAccountsRes
|
|
|
26
26
|
* import { DrsClient, ListStagingAccountsCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
27
|
* // const { DrsClient, ListStagingAccountsCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
28
|
* const client = new DrsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListStagingAccountsRequest
|
|
30
30
|
* maxResults: Number("int"),
|
|
31
31
|
* nextToken: "STRING_VALUE",
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
26
|
* import { DrsClient, ListTagsForResourceCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
27
|
* // const { DrsClient, ListTagsForResourceCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
28
|
* const client = new DrsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListTagsForResourceRequest
|
|
30
30
|
* resourceArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
@@ -19,14 +19,18 @@ export interface RetryDataReplicationCommandOutput extends SourceServer, __Metad
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
*
|
|
22
|
+
* @deprecated
|
|
23
|
+
*
|
|
24
|
+
* <p>WARNING: RetryDataReplication is deprecated.
|
|
25
|
+
* Causes the data replication initiation sequence to begin immediately upon next Handshake for the specified Source Server ID, regardless of when the previous initiation started. This command will work only if the Source Server is stalled or is in a DISCONNECTED or STOPPED state.
|
|
26
|
+
* </p>
|
|
23
27
|
* @example
|
|
24
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
25
29
|
* ```javascript
|
|
26
30
|
* import { DrsClient, RetryDataReplicationCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
31
|
* // const { DrsClient, RetryDataReplicationCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
32
|
* const client = new DrsClient(config);
|
|
29
|
-
* const input = {
|
|
33
|
+
* const input = { // RetryDataReplicationRequest
|
|
30
34
|
* sourceServerID: "STRING_VALUE", // required
|
|
31
35
|
* };
|
|
32
36
|
* const command = new RetryDataReplicationCommand(input);
|
|
@@ -29,7 +29,7 @@ export interface ReverseReplicationCommandOutput extends ReverseReplicationRespo
|
|
|
29
29
|
* import { DrsClient, ReverseReplicationCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
30
30
|
* // const { DrsClient, ReverseReplicationCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
31
31
|
* const client = new DrsClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // ReverseReplicationRequest
|
|
33
33
|
* recoveryInstanceID: "STRING_VALUE", // required
|
|
34
34
|
* };
|
|
35
35
|
* const command = new ReverseReplicationCommand(input);
|
|
@@ -26,11 +26,11 @@ export interface StartFailbackLaunchCommandOutput extends StartFailbackLaunchRes
|
|
|
26
26
|
* import { DrsClient, StartFailbackLaunchCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
27
|
* // const { DrsClient, StartFailbackLaunchCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
28
|
* const client = new DrsClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* recoveryInstanceIDs: [ // required
|
|
29
|
+
* const input = { // StartFailbackLaunchRequest
|
|
30
|
+
* recoveryInstanceIDs: [ // StartFailbackRequestRecoveryInstanceIDs // required
|
|
31
31
|
* "STRING_VALUE",
|
|
32
32
|
* ],
|
|
33
|
-
* tags: {
|
|
33
|
+
* tags: { // TagsMap
|
|
34
34
|
* "<keys>": "STRING_VALUE",
|
|
35
35
|
* },
|
|
36
36
|
* };
|
|
@@ -26,15 +26,15 @@ export interface StartRecoveryCommandOutput extends StartRecoveryResponse, __Met
|
|
|
26
26
|
* import { DrsClient, StartRecoveryCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
27
|
* // const { DrsClient, StartRecoveryCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
28
|
* const client = new DrsClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* sourceServers: [ // required
|
|
31
|
-
* {
|
|
29
|
+
* const input = { // StartRecoveryRequest
|
|
30
|
+
* sourceServers: [ // StartRecoveryRequestSourceServers // required
|
|
31
|
+
* { // StartRecoveryRequestSourceServer
|
|
32
32
|
* sourceServerID: "STRING_VALUE", // required
|
|
33
33
|
* recoverySnapshotID: "STRING_VALUE",
|
|
34
34
|
* },
|
|
35
35
|
* ],
|
|
36
36
|
* isDrill: true || false,
|
|
37
|
-
* tags: {
|
|
37
|
+
* tags: { // TagsMap
|
|
38
38
|
* "<keys>": "STRING_VALUE",
|
|
39
39
|
* },
|
|
40
40
|
* };
|
|
@@ -26,7 +26,7 @@ export interface StartReplicationCommandOutput extends StartReplicationResponse,
|
|
|
26
26
|
* import { DrsClient, StartReplicationCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
27
|
* // const { DrsClient, StartReplicationCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
28
|
* const client = new DrsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // StartReplicationRequest
|
|
30
30
|
* sourceServerID: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new StartReplicationCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface StopFailbackCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { DrsClient, StopFailbackCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
27
|
* // const { DrsClient, StopFailbackCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
28
|
* const client = new DrsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // StopFailbackRequest
|
|
30
30
|
* recoveryInstanceID: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new StopFailbackCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface StopReplicationCommandOutput extends StopReplicationResponse, _
|
|
|
26
26
|
* import { DrsClient, StopReplicationCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
27
|
* // const { DrsClient, StopReplicationCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
28
|
* const client = new DrsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // StopReplicationRequest
|
|
30
30
|
* sourceServerID: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new StopReplicationCommand(input);
|
|
@@ -26,9 +26,9 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { DrsClient, TagResourceCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
27
|
* // const { DrsClient, TagResourceCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
28
|
* const client = new DrsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // TagResourceRequest
|
|
30
30
|
* resourceArn: "STRING_VALUE", // required
|
|
31
|
-
* tags: { // required
|
|
31
|
+
* tags: { // TagsMap // required
|
|
32
32
|
* "<keys>": "STRING_VALUE",
|
|
33
33
|
* },
|
|
34
34
|
* };
|
|
@@ -26,8 +26,8 @@ export interface TerminateRecoveryInstancesCommandOutput extends TerminateRecove
|
|
|
26
26
|
* import { DrsClient, TerminateRecoveryInstancesCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
27
|
* // const { DrsClient, TerminateRecoveryInstancesCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
28
|
* const client = new DrsClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* recoveryInstanceIDs: [ // required
|
|
29
|
+
* const input = { // TerminateRecoveryInstancesRequest
|
|
30
|
+
* recoveryInstanceIDs: [ // RecoveryInstancesForTerminationRequest // required
|
|
31
31
|
* "STRING_VALUE",
|
|
32
32
|
* ],
|
|
33
33
|
* };
|
|
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { DrsClient, UntagResourceCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
27
|
* // const { DrsClient, UntagResourceCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
28
|
* const client = new DrsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UntagResourceRequest
|
|
30
30
|
* resourceArn: "STRING_VALUE", // required
|
|
31
|
-
* tagKeys: [ // required
|
|
31
|
+
* tagKeys: [ // TagKeys // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* };
|
|
@@ -26,7 +26,7 @@ export interface UpdateFailbackReplicationConfigurationCommandOutput extends __M
|
|
|
26
26
|
* import { DrsClient, UpdateFailbackReplicationConfigurationCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
27
|
* // const { DrsClient, UpdateFailbackReplicationConfigurationCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
28
|
* const client = new DrsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdateFailbackReplicationConfigurationRequest
|
|
30
30
|
* recoveryInstanceID: "STRING_VALUE", // required
|
|
31
31
|
* name: "STRING_VALUE",
|
|
32
32
|
* bandwidthThrottling: Number("long"),
|
|
@@ -26,14 +26,14 @@ export interface UpdateLaunchConfigurationCommandOutput extends LaunchConfigurat
|
|
|
26
26
|
* import { DrsClient, UpdateLaunchConfigurationCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
27
|
* // const { DrsClient, UpdateLaunchConfigurationCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
28
|
* const client = new DrsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdateLaunchConfigurationRequest
|
|
30
30
|
* sourceServerID: "STRING_VALUE", // required
|
|
31
31
|
* name: "STRING_VALUE",
|
|
32
32
|
* launchDisposition: "STRING_VALUE",
|
|
33
33
|
* targetInstanceTypeRightSizingMethod: "STRING_VALUE",
|
|
34
34
|
* copyPrivateIp: true || false,
|
|
35
35
|
* copyTags: true || false,
|
|
36
|
-
* licensing: {
|
|
36
|
+
* licensing: { // Licensing
|
|
37
37
|
* osByol: true || false,
|
|
38
38
|
* },
|
|
39
39
|
* };
|
|
@@ -26,19 +26,19 @@ export interface UpdateReplicationConfigurationCommandOutput extends Replication
|
|
|
26
26
|
* import { DrsClient, UpdateReplicationConfigurationCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
27
|
* // const { DrsClient, UpdateReplicationConfigurationCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
28
|
* const client = new DrsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdateReplicationConfigurationRequest
|
|
30
30
|
* sourceServerID: "STRING_VALUE", // required
|
|
31
31
|
* name: "STRING_VALUE",
|
|
32
32
|
* stagingAreaSubnetId: "STRING_VALUE",
|
|
33
33
|
* associateDefaultSecurityGroup: true || false,
|
|
34
|
-
* replicationServersSecurityGroupsIDs: [
|
|
34
|
+
* replicationServersSecurityGroupsIDs: [ // ReplicationServersSecurityGroupsIDs
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
37
|
* replicationServerInstanceType: "STRING_VALUE",
|
|
38
38
|
* useDedicatedReplicationServer: true || false,
|
|
39
39
|
* defaultLargeStagingDiskType: "STRING_VALUE",
|
|
40
|
-
* replicatedDisks: [
|
|
41
|
-
* {
|
|
40
|
+
* replicatedDisks: [ // ReplicationConfigurationReplicatedDisks
|
|
41
|
+
* { // ReplicationConfigurationReplicatedDisk
|
|
42
42
|
* deviceName: "STRING_VALUE",
|
|
43
43
|
* isBootDisk: true || false,
|
|
44
44
|
* stagingDiskType: "STRING_VALUE",
|
|
@@ -52,11 +52,11 @@ export interface UpdateReplicationConfigurationCommandOutput extends Replication
|
|
|
52
52
|
* bandwidthThrottling: Number("long"),
|
|
53
53
|
* dataPlaneRouting: "STRING_VALUE",
|
|
54
54
|
* createPublicIP: true || false,
|
|
55
|
-
* stagingAreaTags: {
|
|
55
|
+
* stagingAreaTags: { // TagsMap
|
|
56
56
|
* "<keys>": "STRING_VALUE",
|
|
57
57
|
* },
|
|
58
|
-
* pitPolicy: [
|
|
59
|
-
* {
|
|
58
|
+
* pitPolicy: [ // PITPolicy
|
|
59
|
+
* { // PITPolicyRule
|
|
60
60
|
* ruleID: Number("long"),
|
|
61
61
|
* units: "STRING_VALUE", // required
|
|
62
62
|
* interval: Number("int"), // required
|
|
@@ -64,6 +64,7 @@ export interface UpdateReplicationConfigurationCommandOutput extends Replication
|
|
|
64
64
|
* enabled: true || false,
|
|
65
65
|
* },
|
|
66
66
|
* ],
|
|
67
|
+
* autoReplicateNewDisks: true || false,
|
|
67
68
|
* };
|
|
68
69
|
* const command = new UpdateReplicationConfigurationCommand(input);
|
|
69
70
|
* const response = await client.send(command);
|
|
@@ -26,12 +26,12 @@ export interface UpdateReplicationConfigurationTemplateCommandOutput extends Rep
|
|
|
26
26
|
* import { DrsClient, UpdateReplicationConfigurationTemplateCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
27
|
* // const { DrsClient, UpdateReplicationConfigurationTemplateCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
28
|
* const client = new DrsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdateReplicationConfigurationTemplateRequest
|
|
30
30
|
* replicationConfigurationTemplateID: "STRING_VALUE", // required
|
|
31
31
|
* arn: "STRING_VALUE",
|
|
32
32
|
* stagingAreaSubnetId: "STRING_VALUE",
|
|
33
33
|
* associateDefaultSecurityGroup: true || false,
|
|
34
|
-
* replicationServersSecurityGroupsIDs: [
|
|
34
|
+
* replicationServersSecurityGroupsIDs: [ // ReplicationServersSecurityGroupsIDs
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
37
|
* replicationServerInstanceType: "STRING_VALUE",
|
|
@@ -42,11 +42,11 @@ export interface UpdateReplicationConfigurationTemplateCommandOutput extends Rep
|
|
|
42
42
|
* bandwidthThrottling: Number("long"),
|
|
43
43
|
* dataPlaneRouting: "STRING_VALUE",
|
|
44
44
|
* createPublicIP: true || false,
|
|
45
|
-
* stagingAreaTags: {
|
|
45
|
+
* stagingAreaTags: { // TagsMap
|
|
46
46
|
* "<keys>": "STRING_VALUE",
|
|
47
47
|
* },
|
|
48
|
-
* pitPolicy: [
|
|
49
|
-
* {
|
|
48
|
+
* pitPolicy: [ // PITPolicy
|
|
49
|
+
* { // PITPolicyRule
|
|
50
50
|
* ruleID: Number("long"),
|
|
51
51
|
* units: "STRING_VALUE", // required
|
|
52
52
|
* interval: Number("int"), // required
|
|
@@ -54,6 +54,7 @@ export interface UpdateReplicationConfigurationTemplateCommandOutput extends Rep
|
|
|
54
54
|
* enabled: true || false,
|
|
55
55
|
* },
|
|
56
56
|
* ],
|
|
57
|
+
* autoReplicateNewDisks: true || false,
|
|
57
58
|
* };
|
|
58
59
|
* const command = new UpdateReplicationConfigurationTemplateCommand(input);
|
|
59
60
|
* const response = await client.send(command);
|