@aws-sdk/client-drs 3.350.0 → 3.352.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +71 -7
- package/dist-cjs/Drs.js +16 -0
- package/dist-cjs/commands/AssociateSourceNetworkStackCommand.js +47 -0
- package/dist-cjs/commands/CreateSourceNetworkCommand.js +47 -0
- package/dist-cjs/commands/DeleteSourceNetworkCommand.js +46 -0
- package/dist-cjs/commands/DescribeSourceNetworksCommand.js +47 -0
- package/dist-cjs/commands/ExportSourceNetworkCfnTemplateCommand.js +46 -0
- package/dist-cjs/commands/StartSourceNetworkRecoveryCommand.js +47 -0
- package/dist-cjs/commands/StartSourceNetworkReplicationCommand.js +47 -0
- package/dist-cjs/commands/StopSourceNetworkReplicationCommand.js +47 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/models/models_0.js +197 -96
- package/dist-cjs/pagination/DescribeSourceNetworksPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +595 -2
- package/dist-es/Drs.js +16 -0
- package/dist-es/commands/AssociateSourceNetworkStackCommand.js +43 -0
- package/dist-es/commands/CreateSourceNetworkCommand.js +43 -0
- package/dist-es/commands/DeleteSourceNetworkCommand.js +42 -0
- package/dist-es/commands/DescribeSourceNetworksCommand.js +43 -0
- package/dist-es/commands/ExportSourceNetworkCfnTemplateCommand.js +42 -0
- package/dist-es/commands/StartSourceNetworkRecoveryCommand.js +43 -0
- package/dist-es/commands/StartSourceNetworkReplicationCommand.js +43 -0
- package/dist-es/commands/StopSourceNetworkReplicationCommand.js +43 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/models_0.js +184 -93
- package/dist-es/pagination/DescribeSourceNetworksPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +578 -1
- package/dist-types/Drs.d.ts +56 -0
- package/dist-types/DrsClient.d.ts +10 -2
- package/dist-types/commands/AssociateSourceNetworkStackCommand.d.ts +121 -0
- package/dist-types/commands/CreateExtendedSourceServerCommand.d.ts +1 -0
- package/dist-types/commands/CreateLaunchConfigurationTemplateCommand.d.ts +2 -0
- package/dist-types/commands/CreateSourceNetworkCommand.d.ts +99 -0
- package/dist-types/commands/DeleteSourceNetworkCommand.d.ts +86 -0
- package/dist-types/commands/DescribeJobLogItemsCommand.d.ts +8 -0
- package/dist-types/commands/DescribeJobsCommand.d.ts +8 -0
- package/dist-types/commands/DescribeLaunchConfigurationTemplatesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeSourceNetworksCommand.d.ts +114 -0
- package/dist-types/commands/DescribeSourceServersCommand.d.ts +1 -0
- package/dist-types/commands/DisconnectSourceServerCommand.d.ts +1 -0
- package/dist-types/commands/ExportSourceNetworkCfnTemplateCommand.d.ts +91 -0
- package/dist-types/commands/RetryDataReplicationCommand.d.ts +1 -0
- package/dist-types/commands/StartFailbackLaunchCommand.d.ts +8 -0
- package/dist-types/commands/StartRecoveryCommand.d.ts +8 -0
- package/dist-types/commands/StartReplicationCommand.d.ts +1 -0
- package/dist-types/commands/StartSourceNetworkRecoveryCommand.d.ts +126 -0
- package/dist-types/commands/StartSourceNetworkReplicationCommand.d.ts +106 -0
- package/dist-types/commands/StopReplicationCommand.d.ts +1 -0
- package/dist-types/commands/StopSourceNetworkReplicationCommand.d.ts +109 -0
- package/dist-types/commands/TerminateRecoveryInstancesCommand.d.ts +8 -0
- package/dist-types/commands/UpdateLaunchConfigurationTemplateCommand.d.ts +2 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +802 -325
- package/dist-types/pagination/DescribeSourceNetworksPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +72 -0
- package/dist-types/ts3.4/Drs.d.ts +136 -0
- package/dist-types/ts3.4/DrsClient.d.ts +48 -0
- package/dist-types/ts3.4/commands/AssociateSourceNetworkStackCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateSourceNetworkCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteSourceNetworkCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeSourceNetworksCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ExportSourceNetworkCfnTemplateCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartSourceNetworkRecoveryCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartSourceNetworkReplicationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StopSourceNetworkReplicationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +313 -116
- package/dist-types/ts3.4/pagination/DescribeSourceNetworksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +96 -0
- package/package.json +5 -5
package/dist-es/Drs.js
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { AssociateSourceNetworkStackCommand, } from "./commands/AssociateSourceNetworkStackCommand";
|
|
2
3
|
import { CreateExtendedSourceServerCommand, } from "./commands/CreateExtendedSourceServerCommand";
|
|
3
4
|
import { CreateLaunchConfigurationTemplateCommand, } from "./commands/CreateLaunchConfigurationTemplateCommand";
|
|
4
5
|
import { CreateReplicationConfigurationTemplateCommand, } from "./commands/CreateReplicationConfigurationTemplateCommand";
|
|
6
|
+
import { CreateSourceNetworkCommand, } from "./commands/CreateSourceNetworkCommand";
|
|
5
7
|
import { DeleteJobCommand } from "./commands/DeleteJobCommand";
|
|
6
8
|
import { DeleteLaunchConfigurationTemplateCommand, } from "./commands/DeleteLaunchConfigurationTemplateCommand";
|
|
7
9
|
import { DeleteRecoveryInstanceCommand, } from "./commands/DeleteRecoveryInstanceCommand";
|
|
8
10
|
import { DeleteReplicationConfigurationTemplateCommand, } from "./commands/DeleteReplicationConfigurationTemplateCommand";
|
|
11
|
+
import { DeleteSourceNetworkCommand, } from "./commands/DeleteSourceNetworkCommand";
|
|
9
12
|
import { DeleteSourceServerCommand, } from "./commands/DeleteSourceServerCommand";
|
|
10
13
|
import { DescribeJobLogItemsCommand, } from "./commands/DescribeJobLogItemsCommand";
|
|
11
14
|
import { DescribeJobsCommand, } from "./commands/DescribeJobsCommand";
|
|
@@ -13,9 +16,11 @@ import { DescribeLaunchConfigurationTemplatesCommand, } from "./commands/Describ
|
|
|
13
16
|
import { DescribeRecoveryInstancesCommand, } from "./commands/DescribeRecoveryInstancesCommand";
|
|
14
17
|
import { DescribeRecoverySnapshotsCommand, } from "./commands/DescribeRecoverySnapshotsCommand";
|
|
15
18
|
import { DescribeReplicationConfigurationTemplatesCommand, } from "./commands/DescribeReplicationConfigurationTemplatesCommand";
|
|
19
|
+
import { DescribeSourceNetworksCommand, } from "./commands/DescribeSourceNetworksCommand";
|
|
16
20
|
import { DescribeSourceServersCommand, } from "./commands/DescribeSourceServersCommand";
|
|
17
21
|
import { DisconnectRecoveryInstanceCommand, } from "./commands/DisconnectRecoveryInstanceCommand";
|
|
18
22
|
import { DisconnectSourceServerCommand, } from "./commands/DisconnectSourceServerCommand";
|
|
23
|
+
import { ExportSourceNetworkCfnTemplateCommand, } from "./commands/ExportSourceNetworkCfnTemplateCommand";
|
|
19
24
|
import { GetFailbackReplicationConfigurationCommand, } from "./commands/GetFailbackReplicationConfigurationCommand";
|
|
20
25
|
import { GetLaunchConfigurationCommand, } from "./commands/GetLaunchConfigurationCommand";
|
|
21
26
|
import { GetReplicationConfigurationCommand, } from "./commands/GetReplicationConfigurationCommand";
|
|
@@ -28,8 +33,11 @@ import { ReverseReplicationCommand, } from "./commands/ReverseReplicationCommand
|
|
|
28
33
|
import { StartFailbackLaunchCommand, } from "./commands/StartFailbackLaunchCommand";
|
|
29
34
|
import { StartRecoveryCommand, } from "./commands/StartRecoveryCommand";
|
|
30
35
|
import { StartReplicationCommand, } from "./commands/StartReplicationCommand";
|
|
36
|
+
import { StartSourceNetworkRecoveryCommand, } from "./commands/StartSourceNetworkRecoveryCommand";
|
|
37
|
+
import { StartSourceNetworkReplicationCommand, } from "./commands/StartSourceNetworkReplicationCommand";
|
|
31
38
|
import { StopFailbackCommand, } from "./commands/StopFailbackCommand";
|
|
32
39
|
import { StopReplicationCommand, } from "./commands/StopReplicationCommand";
|
|
40
|
+
import { StopSourceNetworkReplicationCommand, } from "./commands/StopSourceNetworkReplicationCommand";
|
|
33
41
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
34
42
|
import { TerminateRecoveryInstancesCommand, } from "./commands/TerminateRecoveryInstancesCommand";
|
|
35
43
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
@@ -40,13 +48,16 @@ import { UpdateReplicationConfigurationCommand, } from "./commands/UpdateReplica
|
|
|
40
48
|
import { UpdateReplicationConfigurationTemplateCommand, } from "./commands/UpdateReplicationConfigurationTemplateCommand";
|
|
41
49
|
import { DrsClient } from "./DrsClient";
|
|
42
50
|
const commands = {
|
|
51
|
+
AssociateSourceNetworkStackCommand,
|
|
43
52
|
CreateExtendedSourceServerCommand,
|
|
44
53
|
CreateLaunchConfigurationTemplateCommand,
|
|
45
54
|
CreateReplicationConfigurationTemplateCommand,
|
|
55
|
+
CreateSourceNetworkCommand,
|
|
46
56
|
DeleteJobCommand,
|
|
47
57
|
DeleteLaunchConfigurationTemplateCommand,
|
|
48
58
|
DeleteRecoveryInstanceCommand,
|
|
49
59
|
DeleteReplicationConfigurationTemplateCommand,
|
|
60
|
+
DeleteSourceNetworkCommand,
|
|
50
61
|
DeleteSourceServerCommand,
|
|
51
62
|
DescribeJobLogItemsCommand,
|
|
52
63
|
DescribeJobsCommand,
|
|
@@ -54,9 +65,11 @@ const commands = {
|
|
|
54
65
|
DescribeRecoveryInstancesCommand,
|
|
55
66
|
DescribeRecoverySnapshotsCommand,
|
|
56
67
|
DescribeReplicationConfigurationTemplatesCommand,
|
|
68
|
+
DescribeSourceNetworksCommand,
|
|
57
69
|
DescribeSourceServersCommand,
|
|
58
70
|
DisconnectRecoveryInstanceCommand,
|
|
59
71
|
DisconnectSourceServerCommand,
|
|
72
|
+
ExportSourceNetworkCfnTemplateCommand,
|
|
60
73
|
GetFailbackReplicationConfigurationCommand,
|
|
61
74
|
GetLaunchConfigurationCommand,
|
|
62
75
|
GetReplicationConfigurationCommand,
|
|
@@ -69,8 +82,11 @@ const commands = {
|
|
|
69
82
|
StartFailbackLaunchCommand,
|
|
70
83
|
StartRecoveryCommand,
|
|
71
84
|
StartReplicationCommand,
|
|
85
|
+
StartSourceNetworkRecoveryCommand,
|
|
86
|
+
StartSourceNetworkReplicationCommand,
|
|
72
87
|
StopFailbackCommand,
|
|
73
88
|
StopReplicationCommand,
|
|
89
|
+
StopSourceNetworkReplicationCommand,
|
|
74
90
|
TagResourceCommand,
|
|
75
91
|
TerminateRecoveryInstancesCommand,
|
|
76
92
|
UntagResourceCommand,
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { AssociateSourceNetworkStackRequestFilterSensitiveLog, AssociateSourceNetworkStackResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { de_AssociateSourceNetworkStackCommand, se_AssociateSourceNetworkStackCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class AssociateSourceNetworkStackCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, AssociateSourceNetworkStackCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "DrsClient";
|
|
26
|
+
const commandName = "AssociateSourceNetworkStackCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: AssociateSourceNetworkStackRequestFilterSensitiveLog,
|
|
32
|
+
outputFilterSensitiveLog: AssociateSourceNetworkStackResponseFilterSensitiveLog,
|
|
33
|
+
};
|
|
34
|
+
const { requestHandler } = configuration;
|
|
35
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
36
|
+
}
|
|
37
|
+
serialize(input, context) {
|
|
38
|
+
return se_AssociateSourceNetworkStackCommand(input, context);
|
|
39
|
+
}
|
|
40
|
+
deserialize(output, context) {
|
|
41
|
+
return de_AssociateSourceNetworkStackCommand(output, context);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateSourceNetworkRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { de_CreateSourceNetworkCommand, se_CreateSourceNetworkCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CreateSourceNetworkCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateSourceNetworkCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "DrsClient";
|
|
26
|
+
const commandName = "CreateSourceNetworkCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: CreateSourceNetworkRequestFilterSensitiveLog,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
};
|
|
34
|
+
const { requestHandler } = configuration;
|
|
35
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
36
|
+
}
|
|
37
|
+
serialize(input, context) {
|
|
38
|
+
return se_CreateSourceNetworkCommand(input, context);
|
|
39
|
+
}
|
|
40
|
+
deserialize(output, context) {
|
|
41
|
+
return de_CreateSourceNetworkCommand(output, context);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_DeleteSourceNetworkCommand, se_DeleteSourceNetworkCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteSourceNetworkCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteSourceNetworkCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "DrsClient";
|
|
25
|
+
const commandName = "DeleteSourceNetworkCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_DeleteSourceNetworkCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_DeleteSourceNetworkCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DescribeSourceNetworksResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { de_DescribeSourceNetworksCommand, se_DescribeSourceNetworksCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DescribeSourceNetworksCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DescribeSourceNetworksCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "DrsClient";
|
|
26
|
+
const commandName = "DescribeSourceNetworksCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: DescribeSourceNetworksResponseFilterSensitiveLog,
|
|
33
|
+
};
|
|
34
|
+
const { requestHandler } = configuration;
|
|
35
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
36
|
+
}
|
|
37
|
+
serialize(input, context) {
|
|
38
|
+
return se_DescribeSourceNetworksCommand(input, context);
|
|
39
|
+
}
|
|
40
|
+
deserialize(output, context) {
|
|
41
|
+
return de_DescribeSourceNetworksCommand(output, context);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_ExportSourceNetworkCfnTemplateCommand, se_ExportSourceNetworkCfnTemplateCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ExportSourceNetworkCfnTemplateCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ExportSourceNetworkCfnTemplateCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "DrsClient";
|
|
25
|
+
const commandName = "ExportSourceNetworkCfnTemplateCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_ExportSourceNetworkCfnTemplateCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_ExportSourceNetworkCfnTemplateCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { StartSourceNetworkRecoveryRequestFilterSensitiveLog, StartSourceNetworkRecoveryResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { de_StartSourceNetworkRecoveryCommand, se_StartSourceNetworkRecoveryCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class StartSourceNetworkRecoveryCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartSourceNetworkRecoveryCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "DrsClient";
|
|
26
|
+
const commandName = "StartSourceNetworkRecoveryCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: StartSourceNetworkRecoveryRequestFilterSensitiveLog,
|
|
32
|
+
outputFilterSensitiveLog: StartSourceNetworkRecoveryResponseFilterSensitiveLog,
|
|
33
|
+
};
|
|
34
|
+
const { requestHandler } = configuration;
|
|
35
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
36
|
+
}
|
|
37
|
+
serialize(input, context) {
|
|
38
|
+
return se_StartSourceNetworkRecoveryCommand(input, context);
|
|
39
|
+
}
|
|
40
|
+
deserialize(output, context) {
|
|
41
|
+
return de_StartSourceNetworkRecoveryCommand(output, context);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { StartSourceNetworkReplicationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { de_StartSourceNetworkReplicationCommand, se_StartSourceNetworkReplicationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class StartSourceNetworkReplicationCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartSourceNetworkReplicationCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "DrsClient";
|
|
26
|
+
const commandName = "StartSourceNetworkReplicationCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: StartSourceNetworkReplicationResponseFilterSensitiveLog,
|
|
33
|
+
};
|
|
34
|
+
const { requestHandler } = configuration;
|
|
35
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
36
|
+
}
|
|
37
|
+
serialize(input, context) {
|
|
38
|
+
return se_StartSourceNetworkReplicationCommand(input, context);
|
|
39
|
+
}
|
|
40
|
+
deserialize(output, context) {
|
|
41
|
+
return de_StartSourceNetworkReplicationCommand(output, context);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { StopSourceNetworkReplicationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { de_StopSourceNetworkReplicationCommand, se_StopSourceNetworkReplicationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class StopSourceNetworkReplicationCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StopSourceNetworkReplicationCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "DrsClient";
|
|
26
|
+
const commandName = "StopSourceNetworkReplicationCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: StopSourceNetworkReplicationResponseFilterSensitiveLog,
|
|
33
|
+
};
|
|
34
|
+
const { requestHandler } = configuration;
|
|
35
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
36
|
+
}
|
|
37
|
+
serialize(input, context) {
|
|
38
|
+
return se_StopSourceNetworkReplicationCommand(input, context);
|
|
39
|
+
}
|
|
40
|
+
deserialize(output, context) {
|
|
41
|
+
return de_StopSourceNetworkReplicationCommand(output, context);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
+
export * from "./AssociateSourceNetworkStackCommand";
|
|
1
2
|
export * from "./CreateExtendedSourceServerCommand";
|
|
2
3
|
export * from "./CreateLaunchConfigurationTemplateCommand";
|
|
3
4
|
export * from "./CreateReplicationConfigurationTemplateCommand";
|
|
5
|
+
export * from "./CreateSourceNetworkCommand";
|
|
4
6
|
export * from "./DeleteJobCommand";
|
|
5
7
|
export * from "./DeleteLaunchConfigurationTemplateCommand";
|
|
6
8
|
export * from "./DeleteRecoveryInstanceCommand";
|
|
7
9
|
export * from "./DeleteReplicationConfigurationTemplateCommand";
|
|
10
|
+
export * from "./DeleteSourceNetworkCommand";
|
|
8
11
|
export * from "./DeleteSourceServerCommand";
|
|
9
12
|
export * from "./DescribeJobLogItemsCommand";
|
|
10
13
|
export * from "./DescribeJobsCommand";
|
|
@@ -12,9 +15,11 @@ export * from "./DescribeLaunchConfigurationTemplatesCommand";
|
|
|
12
15
|
export * from "./DescribeRecoveryInstancesCommand";
|
|
13
16
|
export * from "./DescribeRecoverySnapshotsCommand";
|
|
14
17
|
export * from "./DescribeReplicationConfigurationTemplatesCommand";
|
|
18
|
+
export * from "./DescribeSourceNetworksCommand";
|
|
15
19
|
export * from "./DescribeSourceServersCommand";
|
|
16
20
|
export * from "./DisconnectRecoveryInstanceCommand";
|
|
17
21
|
export * from "./DisconnectSourceServerCommand";
|
|
22
|
+
export * from "./ExportSourceNetworkCfnTemplateCommand";
|
|
18
23
|
export * from "./GetFailbackReplicationConfigurationCommand";
|
|
19
24
|
export * from "./GetLaunchConfigurationCommand";
|
|
20
25
|
export * from "./GetReplicationConfigurationCommand";
|
|
@@ -27,8 +32,11 @@ export * from "./ReverseReplicationCommand";
|
|
|
27
32
|
export * from "./StartFailbackLaunchCommand";
|
|
28
33
|
export * from "./StartRecoveryCommand";
|
|
29
34
|
export * from "./StartReplicationCommand";
|
|
35
|
+
export * from "./StartSourceNetworkRecoveryCommand";
|
|
36
|
+
export * from "./StartSourceNetworkReplicationCommand";
|
|
30
37
|
export * from "./StopFailbackCommand";
|
|
31
38
|
export * from "./StopReplicationCommand";
|
|
39
|
+
export * from "./StopSourceNetworkReplicationCommand";
|
|
32
40
|
export * from "./TagResourceCommand";
|
|
33
41
|
export * from "./TerminateRecoveryInstancesCommand";
|
|
34
42
|
export * from "./UntagResourceCommand";
|