@aws-sdk/client-drs 3.299.0 → 3.300.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-types/commands/CreateExtendedSourceServerCommand.d.ts +6 -0
- package/dist-types/commands/CreateReplicationConfigurationTemplateCommand.d.ts +30 -0
- package/dist-types/commands/DeleteJobCommand.d.ts +3 -0
- package/dist-types/commands/DeleteRecoveryInstanceCommand.d.ts +3 -0
- package/dist-types/commands/DeleteReplicationConfigurationTemplateCommand.d.ts +3 -0
- package/dist-types/commands/DeleteSourceServerCommand.d.ts +3 -0
- package/dist-types/commands/DescribeJobLogItemsCommand.d.ts +5 -0
- package/dist-types/commands/DescribeJobsCommand.d.ts +11 -0
- package/dist-types/commands/DescribeRecoveryInstancesCommand.d.ts +12 -0
- package/dist-types/commands/DescribeRecoverySnapshotsCommand.d.ts +10 -0
- package/dist-types/commands/DescribeReplicationConfigurationTemplatesCommand.d.ts +7 -0
- package/dist-types/commands/DescribeSourceServersCommand.d.ts +13 -0
- package/dist-types/commands/DisconnectRecoveryInstanceCommand.d.ts +3 -0
- package/dist-types/commands/DisconnectSourceServerCommand.d.ts +3 -0
- package/dist-types/commands/GetFailbackReplicationConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/GetLaunchConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/GetReplicationConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/InitializeServiceCommand.d.ts +1 -0
- package/dist-types/commands/ListExtensibleSourceServersCommand.d.ts +5 -0
- package/dist-types/commands/ListStagingAccountsCommand.d.ts +4 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/RetryDataReplicationCommand.d.ts +3 -0
- package/dist-types/commands/ReverseReplicationCommand.d.ts +3 -0
- package/dist-types/commands/StartFailbackLaunchCommand.d.ts +8 -0
- package/dist-types/commands/StartRecoveryCommand.d.ts +12 -0
- package/dist-types/commands/StartReplicationCommand.d.ts +3 -0
- package/dist-types/commands/StopFailbackCommand.d.ts +3 -0
- package/dist-types/commands/StopReplicationCommand.d.ts +3 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/TerminateRecoveryInstancesCommand.d.ts +5 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateFailbackReplicationConfigurationCommand.d.ts +6 -0
- package/dist-types/commands/UpdateLaunchConfigurationCommand.d.ts +11 -0
- package/dist-types/commands/UpdateReplicationConfigurationCommand.d.ts +39 -0
- package/dist-types/commands/UpdateReplicationConfigurationTemplateCommand.d.ts +29 -0
- package/package.json +8 -8
|
@@ -26,6 +26,12 @@ 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 = {
|
|
30
|
+
* sourceServerArn: "STRING_VALUE", // required
|
|
31
|
+
* tags: {
|
|
32
|
+
* "<keys>": "STRING_VALUE",
|
|
33
|
+
* },
|
|
34
|
+
* };
|
|
29
35
|
* const command = new CreateExtendedSourceServerCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,36 @@ 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 = {
|
|
30
|
+
* stagingAreaSubnetId: "STRING_VALUE", // required
|
|
31
|
+
* associateDefaultSecurityGroup: true || false, // required
|
|
32
|
+
* replicationServersSecurityGroupsIDs: [ // required
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* replicationServerInstanceType: "STRING_VALUE", // required
|
|
36
|
+
* useDedicatedReplicationServer: true || false, // required
|
|
37
|
+
* defaultLargeStagingDiskType: "STRING_VALUE", // required
|
|
38
|
+
* ebsEncryption: "STRING_VALUE", // required
|
|
39
|
+
* ebsEncryptionKeyArn: "STRING_VALUE",
|
|
40
|
+
* bandwidthThrottling: Number("long"), // required
|
|
41
|
+
* dataPlaneRouting: "STRING_VALUE", // required
|
|
42
|
+
* createPublicIP: true || false, // required
|
|
43
|
+
* stagingAreaTags: { // required
|
|
44
|
+
* "<keys>": "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* pitPolicy: [ // required
|
|
47
|
+
* {
|
|
48
|
+
* ruleID: Number("long"),
|
|
49
|
+
* units: "STRING_VALUE", // required
|
|
50
|
+
* interval: Number("int"), // required
|
|
51
|
+
* retentionDuration: Number("int"), // required
|
|
52
|
+
* enabled: true || false,
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* tags: {
|
|
56
|
+
* "<keys>": "STRING_VALUE",
|
|
57
|
+
* },
|
|
58
|
+
* };
|
|
29
59
|
* const command = new CreateReplicationConfigurationTemplateCommand(input);
|
|
30
60
|
* const response = await client.send(command);
|
|
31
61
|
* ```
|
|
@@ -26,6 +26,9 @@ 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 = {
|
|
30
|
+
* jobID: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteJobCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ 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 = {
|
|
30
|
+
* recoveryInstanceID: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteRecoveryInstanceCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ 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 = {
|
|
30
|
+
* replicationConfigurationTemplateID: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteReplicationConfigurationTemplateCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ 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 = {
|
|
30
|
+
* sourceServerID: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteSourceServerCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,11 @@ 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 = {
|
|
30
|
+
* jobID: "STRING_VALUE", // required
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* nextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new DescribeJobLogItemsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,17 @@ 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: [
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* fromDate: "STRING_VALUE",
|
|
35
|
+
* toDate: "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* maxResults: Number("int"),
|
|
38
|
+
* nextToken: "STRING_VALUE",
|
|
39
|
+
* };
|
|
29
40
|
* const command = new DescribeJobsCommand(input);
|
|
30
41
|
* const response = await client.send(command);
|
|
31
42
|
* ```
|
|
@@ -26,6 +26,18 @@ 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: [
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* sourceServerIDs: [
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* },
|
|
38
|
+
* maxResults: Number("int"),
|
|
39
|
+
* nextToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
29
41
|
* const command = new DescribeRecoveryInstancesCommand(input);
|
|
30
42
|
* const response = await client.send(command);
|
|
31
43
|
* ```
|
|
@@ -26,6 +26,16 @@ 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 = {
|
|
30
|
+
* sourceServerID: "STRING_VALUE", // required
|
|
31
|
+
* filters: {
|
|
32
|
+
* fromDateTime: "STRING_VALUE",
|
|
33
|
+
* toDateTime: "STRING_VALUE",
|
|
34
|
+
* },
|
|
35
|
+
* order: "STRING_VALUE",
|
|
36
|
+
* maxResults: Number("int"),
|
|
37
|
+
* nextToken: "STRING_VALUE",
|
|
38
|
+
* };
|
|
29
39
|
* const command = new DescribeRecoverySnapshotsCommand(input);
|
|
30
40
|
* const response = await client.send(command);
|
|
31
41
|
* ```
|
|
@@ -26,6 +26,13 @@ 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: [
|
|
31
|
+
* "STRING_VALUE",
|
|
32
|
+
* ],
|
|
33
|
+
* maxResults: Number("int"),
|
|
34
|
+
* nextToken: "STRING_VALUE",
|
|
35
|
+
* };
|
|
29
36
|
* const command = new DescribeReplicationConfigurationTemplatesCommand(input);
|
|
30
37
|
* const response = await client.send(command);
|
|
31
38
|
* ```
|
|
@@ -26,6 +26,19 @@ 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: [
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* hardwareId: "STRING_VALUE",
|
|
35
|
+
* stagingAccountIDs: [
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* },
|
|
39
|
+
* maxResults: Number("int"),
|
|
40
|
+
* nextToken: "STRING_VALUE",
|
|
41
|
+
* };
|
|
29
42
|
* const command = new DescribeSourceServersCommand(input);
|
|
30
43
|
* const response = await client.send(command);
|
|
31
44
|
* ```
|
|
@@ -26,6 +26,9 @@ 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 = {
|
|
30
|
+
* recoveryInstanceID: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DisconnectRecoveryInstanceCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ 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 = {
|
|
30
|
+
* sourceServerID: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DisconnectSourceServerCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ 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 = {
|
|
30
|
+
* recoveryInstanceID: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetFailbackReplicationConfigurationCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ 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 = {
|
|
30
|
+
* sourceServerID: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetLaunchConfigurationCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ 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 = {
|
|
30
|
+
* sourceServerID: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetReplicationConfigurationCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,7 @@ export interface InitializeServiceCommandOutput extends InitializeServiceRespons
|
|
|
26
26
|
* import { DrsClient, InitializeServiceCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
27
|
* // const { DrsClient, InitializeServiceCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
28
|
* const client = new DrsClient(config);
|
|
29
|
+
* const input = {};
|
|
29
30
|
* const command = new InitializeServiceCommand(input);
|
|
30
31
|
* const response = await client.send(command);
|
|
31
32
|
* ```
|
|
@@ -29,6 +29,11 @@ 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 = {
|
|
33
|
+
* stagingAccountID: "STRING_VALUE", // required
|
|
34
|
+
* maxResults: Number("int"),
|
|
35
|
+
* nextToken: "STRING_VALUE",
|
|
36
|
+
* };
|
|
32
37
|
* const command = new ListExtensibleSourceServersCommand(input);
|
|
33
38
|
* const response = await client.send(command);
|
|
34
39
|
* ```
|
|
@@ -26,6 +26,10 @@ 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 = {
|
|
30
|
+
* maxResults: Number("int"),
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListStagingAccountsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ 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 = {
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface RetryDataReplicationCommandOutput extends SourceServer, __Metad
|
|
|
26
26
|
* import { DrsClient, RetryDataReplicationCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
27
|
* // const { DrsClient, RetryDataReplicationCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
28
|
* const client = new DrsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* sourceServerID: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new RetryDataReplicationCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -29,6 +29,9 @@ 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 = {
|
|
33
|
+
* recoveryInstanceID: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new ReverseReplicationCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -26,6 +26,14 @@ 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
|
|
31
|
+
* "STRING_VALUE",
|
|
32
|
+
* ],
|
|
33
|
+
* tags: {
|
|
34
|
+
* "<keys>": "STRING_VALUE",
|
|
35
|
+
* },
|
|
36
|
+
* };
|
|
29
37
|
* const command = new StartFailbackLaunchCommand(input);
|
|
30
38
|
* const response = await client.send(command);
|
|
31
39
|
* ```
|
|
@@ -26,6 +26,18 @@ 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
|
+
* {
|
|
32
|
+
* sourceServerID: "STRING_VALUE", // required
|
|
33
|
+
* recoverySnapshotID: "STRING_VALUE",
|
|
34
|
+
* },
|
|
35
|
+
* ],
|
|
36
|
+
* isDrill: true || false,
|
|
37
|
+
* tags: {
|
|
38
|
+
* "<keys>": "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* };
|
|
29
41
|
* const command = new StartRecoveryCommand(input);
|
|
30
42
|
* const response = await client.send(command);
|
|
31
43
|
* ```
|
|
@@ -26,6 +26,9 @@ 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 = {
|
|
30
|
+
* sourceServerID: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new StartReplicationCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ 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 = {
|
|
30
|
+
* recoveryInstanceID: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new StopFailbackCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ 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 = {
|
|
30
|
+
* sourceServerID: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new StopReplicationCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,12 @@ 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 = {
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* tags: { // required
|
|
32
|
+
* "<keys>": "STRING_VALUE",
|
|
33
|
+
* },
|
|
34
|
+
* };
|
|
29
35
|
* const command = new TagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,11 @@ 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
|
|
31
|
+
* "STRING_VALUE",
|
|
32
|
+
* ],
|
|
33
|
+
* };
|
|
29
34
|
* const command = new TerminateRecoveryInstancesCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,12 @@ 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 = {
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* tagKeys: [ // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UntagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,12 @@ 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 = {
|
|
30
|
+
* recoveryInstanceID: "STRING_VALUE", // required
|
|
31
|
+
* name: "STRING_VALUE",
|
|
32
|
+
* bandwidthThrottling: Number("long"),
|
|
33
|
+
* usePrivateIP: true || false,
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UpdateFailbackReplicationConfigurationCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,17 @@ 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 = {
|
|
30
|
+
* sourceServerID: "STRING_VALUE", // required
|
|
31
|
+
* name: "STRING_VALUE",
|
|
32
|
+
* launchDisposition: "STRING_VALUE",
|
|
33
|
+
* targetInstanceTypeRightSizingMethod: "STRING_VALUE",
|
|
34
|
+
* copyPrivateIp: true || false,
|
|
35
|
+
* copyTags: true || false,
|
|
36
|
+
* licensing: {
|
|
37
|
+
* osByol: true || false,
|
|
38
|
+
* },
|
|
39
|
+
* };
|
|
29
40
|
* const command = new UpdateLaunchConfigurationCommand(input);
|
|
30
41
|
* const response = await client.send(command);
|
|
31
42
|
* ```
|
|
@@ -26,6 +26,45 @@ 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 = {
|
|
30
|
+
* sourceServerID: "STRING_VALUE", // required
|
|
31
|
+
* name: "STRING_VALUE",
|
|
32
|
+
* stagingAreaSubnetId: "STRING_VALUE",
|
|
33
|
+
* associateDefaultSecurityGroup: true || false,
|
|
34
|
+
* replicationServersSecurityGroupsIDs: [
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* replicationServerInstanceType: "STRING_VALUE",
|
|
38
|
+
* useDedicatedReplicationServer: true || false,
|
|
39
|
+
* defaultLargeStagingDiskType: "STRING_VALUE",
|
|
40
|
+
* replicatedDisks: [
|
|
41
|
+
* {
|
|
42
|
+
* deviceName: "STRING_VALUE",
|
|
43
|
+
* isBootDisk: true || false,
|
|
44
|
+
* stagingDiskType: "STRING_VALUE",
|
|
45
|
+
* iops: Number("long"),
|
|
46
|
+
* throughput: Number("long"),
|
|
47
|
+
* optimizedStagingDiskType: "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* ebsEncryption: "STRING_VALUE",
|
|
51
|
+
* ebsEncryptionKeyArn: "STRING_VALUE",
|
|
52
|
+
* bandwidthThrottling: Number("long"),
|
|
53
|
+
* dataPlaneRouting: "STRING_VALUE",
|
|
54
|
+
* createPublicIP: true || false,
|
|
55
|
+
* stagingAreaTags: {
|
|
56
|
+
* "<keys>": "STRING_VALUE",
|
|
57
|
+
* },
|
|
58
|
+
* pitPolicy: [
|
|
59
|
+
* {
|
|
60
|
+
* ruleID: Number("long"),
|
|
61
|
+
* units: "STRING_VALUE", // required
|
|
62
|
+
* interval: Number("int"), // required
|
|
63
|
+
* retentionDuration: Number("int"), // required
|
|
64
|
+
* enabled: true || false,
|
|
65
|
+
* },
|
|
66
|
+
* ],
|
|
67
|
+
* };
|
|
29
68
|
* const command = new UpdateReplicationConfigurationCommand(input);
|
|
30
69
|
* const response = await client.send(command);
|
|
31
70
|
* ```
|
|
@@ -26,6 +26,35 @@ 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 = {
|
|
30
|
+
* replicationConfigurationTemplateID: "STRING_VALUE", // required
|
|
31
|
+
* arn: "STRING_VALUE",
|
|
32
|
+
* stagingAreaSubnetId: "STRING_VALUE",
|
|
33
|
+
* associateDefaultSecurityGroup: true || false,
|
|
34
|
+
* replicationServersSecurityGroupsIDs: [
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* replicationServerInstanceType: "STRING_VALUE",
|
|
38
|
+
* useDedicatedReplicationServer: true || false,
|
|
39
|
+
* defaultLargeStagingDiskType: "STRING_VALUE",
|
|
40
|
+
* ebsEncryption: "STRING_VALUE",
|
|
41
|
+
* ebsEncryptionKeyArn: "STRING_VALUE",
|
|
42
|
+
* bandwidthThrottling: Number("long"),
|
|
43
|
+
* dataPlaneRouting: "STRING_VALUE",
|
|
44
|
+
* createPublicIP: true || false,
|
|
45
|
+
* stagingAreaTags: {
|
|
46
|
+
* "<keys>": "STRING_VALUE",
|
|
47
|
+
* },
|
|
48
|
+
* pitPolicy: [
|
|
49
|
+
* {
|
|
50
|
+
* ruleID: Number("long"),
|
|
51
|
+
* units: "STRING_VALUE", // required
|
|
52
|
+
* interval: Number("int"), // required
|
|
53
|
+
* retentionDuration: Number("int"), // required
|
|
54
|
+
* enabled: true || false,
|
|
55
|
+
* },
|
|
56
|
+
* ],
|
|
57
|
+
* };
|
|
29
58
|
* const command = new UpdateReplicationConfigurationTemplateCommand(input);
|
|
30
59
|
* const response = await client.send(command);
|
|
31
60
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-drs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Drs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.300.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|