@aws-sdk/client-drs 3.478.0 → 3.481.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/commands/AssociateSourceNetworkStackCommand.js +18 -41
- package/dist-cjs/commands/CreateExtendedSourceServerCommand.js +18 -41
- package/dist-cjs/commands/CreateLaunchConfigurationTemplateCommand.js +18 -41
- package/dist-cjs/commands/CreateReplicationConfigurationTemplateCommand.js +18 -41
- package/dist-cjs/commands/CreateSourceNetworkCommand.js +18 -41
- package/dist-cjs/commands/DeleteJobCommand.js +18 -41
- package/dist-cjs/commands/DeleteLaunchActionCommand.js +18 -41
- package/dist-cjs/commands/DeleteLaunchConfigurationTemplateCommand.js +18 -41
- package/dist-cjs/commands/DeleteRecoveryInstanceCommand.js +18 -41
- package/dist-cjs/commands/DeleteReplicationConfigurationTemplateCommand.js +18 -41
- package/dist-cjs/commands/DeleteSourceNetworkCommand.js +18 -41
- package/dist-cjs/commands/DeleteSourceServerCommand.js +18 -41
- package/dist-cjs/commands/DescribeJobLogItemsCommand.js +18 -41
- package/dist-cjs/commands/DescribeJobsCommand.js +18 -41
- package/dist-cjs/commands/DescribeLaunchConfigurationTemplatesCommand.js +18 -41
- package/dist-cjs/commands/DescribeRecoveryInstancesCommand.js +18 -41
- package/dist-cjs/commands/DescribeRecoverySnapshotsCommand.js +18 -41
- package/dist-cjs/commands/DescribeReplicationConfigurationTemplatesCommand.js +18 -41
- package/dist-cjs/commands/DescribeSourceNetworksCommand.js +18 -41
- package/dist-cjs/commands/DescribeSourceServersCommand.js +18 -41
- package/dist-cjs/commands/DisconnectRecoveryInstanceCommand.js +18 -41
- package/dist-cjs/commands/DisconnectSourceServerCommand.js +18 -41
- package/dist-cjs/commands/ExportSourceNetworkCfnTemplateCommand.js +18 -41
- package/dist-cjs/commands/GetFailbackReplicationConfigurationCommand.js +18 -41
- package/dist-cjs/commands/GetLaunchConfigurationCommand.js +18 -41
- package/dist-cjs/commands/GetReplicationConfigurationCommand.js +18 -41
- package/dist-cjs/commands/InitializeServiceCommand.js +18 -41
- package/dist-cjs/commands/ListExtensibleSourceServersCommand.js +18 -41
- package/dist-cjs/commands/ListLaunchActionsCommand.js +18 -41
- package/dist-cjs/commands/ListStagingAccountsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/PutLaunchActionCommand.js +18 -41
- package/dist-cjs/commands/RetryDataReplicationCommand.js +18 -41
- package/dist-cjs/commands/ReverseReplicationCommand.js +18 -41
- package/dist-cjs/commands/StartFailbackLaunchCommand.js +18 -41
- package/dist-cjs/commands/StartRecoveryCommand.js +18 -41
- package/dist-cjs/commands/StartReplicationCommand.js +18 -41
- package/dist-cjs/commands/StartSourceNetworkRecoveryCommand.js +18 -41
- package/dist-cjs/commands/StartSourceNetworkReplicationCommand.js +18 -41
- package/dist-cjs/commands/StopFailbackCommand.js +18 -41
- package/dist-cjs/commands/StopReplicationCommand.js +18 -41
- package/dist-cjs/commands/StopSourceNetworkReplicationCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/TerminateRecoveryInstancesCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateFailbackReplicationConfigurationCommand.js +18 -41
- package/dist-cjs/commands/UpdateLaunchConfigurationCommand.js +18 -41
- package/dist-cjs/commands/UpdateLaunchConfigurationTemplateCommand.js +18 -41
- package/dist-cjs/commands/UpdateReplicationConfigurationCommand.js +18 -41
- package/dist-cjs/commands/UpdateReplicationConfigurationTemplateCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-es/commands/AssociateSourceNetworkStackCommand.js +18 -41
- package/dist-es/commands/CreateExtendedSourceServerCommand.js +18 -41
- package/dist-es/commands/CreateLaunchConfigurationTemplateCommand.js +18 -41
- package/dist-es/commands/CreateReplicationConfigurationTemplateCommand.js +18 -41
- package/dist-es/commands/CreateSourceNetworkCommand.js +18 -41
- package/dist-es/commands/DeleteJobCommand.js +18 -41
- package/dist-es/commands/DeleteLaunchActionCommand.js +18 -41
- package/dist-es/commands/DeleteLaunchConfigurationTemplateCommand.js +18 -41
- package/dist-es/commands/DeleteRecoveryInstanceCommand.js +18 -41
- package/dist-es/commands/DeleteReplicationConfigurationTemplateCommand.js +18 -41
- package/dist-es/commands/DeleteSourceNetworkCommand.js +18 -41
- package/dist-es/commands/DeleteSourceServerCommand.js +18 -41
- package/dist-es/commands/DescribeJobLogItemsCommand.js +18 -41
- package/dist-es/commands/DescribeJobsCommand.js +18 -41
- package/dist-es/commands/DescribeLaunchConfigurationTemplatesCommand.js +18 -41
- package/dist-es/commands/DescribeRecoveryInstancesCommand.js +18 -41
- package/dist-es/commands/DescribeRecoverySnapshotsCommand.js +18 -41
- package/dist-es/commands/DescribeReplicationConfigurationTemplatesCommand.js +18 -41
- package/dist-es/commands/DescribeSourceNetworksCommand.js +18 -41
- package/dist-es/commands/DescribeSourceServersCommand.js +18 -41
- package/dist-es/commands/DisconnectRecoveryInstanceCommand.js +18 -41
- package/dist-es/commands/DisconnectSourceServerCommand.js +18 -41
- package/dist-es/commands/ExportSourceNetworkCfnTemplateCommand.js +18 -41
- package/dist-es/commands/GetFailbackReplicationConfigurationCommand.js +18 -41
- package/dist-es/commands/GetLaunchConfigurationCommand.js +18 -41
- package/dist-es/commands/GetReplicationConfigurationCommand.js +18 -41
- package/dist-es/commands/InitializeServiceCommand.js +18 -41
- package/dist-es/commands/ListExtensibleSourceServersCommand.js +18 -41
- package/dist-es/commands/ListLaunchActionsCommand.js +18 -41
- package/dist-es/commands/ListStagingAccountsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/PutLaunchActionCommand.js +18 -41
- package/dist-es/commands/RetryDataReplicationCommand.js +18 -41
- package/dist-es/commands/ReverseReplicationCommand.js +18 -41
- package/dist-es/commands/StartFailbackLaunchCommand.js +18 -41
- package/dist-es/commands/StartRecoveryCommand.js +18 -41
- package/dist-es/commands/StartReplicationCommand.js +18 -41
- package/dist-es/commands/StartSourceNetworkRecoveryCommand.js +18 -41
- package/dist-es/commands/StartSourceNetworkReplicationCommand.js +18 -41
- package/dist-es/commands/StopFailbackCommand.js +18 -41
- package/dist-es/commands/StopReplicationCommand.js +18 -41
- package/dist-es/commands/StopSourceNetworkReplicationCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/TerminateRecoveryInstancesCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateFailbackReplicationConfigurationCommand.js +18 -41
- package/dist-es/commands/UpdateLaunchConfigurationCommand.js +18 -41
- package/dist-es/commands/UpdateLaunchConfigurationTemplateCommand.js +18 -41
- package/dist-es/commands/UpdateReplicationConfigurationCommand.js +18 -41
- package/dist-es/commands/UpdateReplicationConfigurationTemplateCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-types/commands/AssociateSourceNetworkStackCommand.d.ts +6 -21
- package/dist-types/commands/CreateExtendedSourceServerCommand.d.ts +6 -21
- package/dist-types/commands/CreateLaunchConfigurationTemplateCommand.d.ts +6 -21
- package/dist-types/commands/CreateReplicationConfigurationTemplateCommand.d.ts +6 -21
- package/dist-types/commands/CreateSourceNetworkCommand.d.ts +6 -21
- package/dist-types/commands/DeleteJobCommand.d.ts +6 -21
- package/dist-types/commands/DeleteLaunchActionCommand.d.ts +6 -21
- package/dist-types/commands/DeleteLaunchConfigurationTemplateCommand.d.ts +6 -21
- package/dist-types/commands/DeleteRecoveryInstanceCommand.d.ts +6 -21
- package/dist-types/commands/DeleteReplicationConfigurationTemplateCommand.d.ts +6 -21
- package/dist-types/commands/DeleteSourceNetworkCommand.d.ts +6 -21
- package/dist-types/commands/DeleteSourceServerCommand.d.ts +6 -21
- package/dist-types/commands/DescribeJobLogItemsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeJobsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeLaunchConfigurationTemplatesCommand.d.ts +6 -21
- package/dist-types/commands/DescribeRecoveryInstancesCommand.d.ts +6 -21
- package/dist-types/commands/DescribeRecoverySnapshotsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeReplicationConfigurationTemplatesCommand.d.ts +6 -21
- package/dist-types/commands/DescribeSourceNetworksCommand.d.ts +6 -21
- package/dist-types/commands/DescribeSourceServersCommand.d.ts +6 -21
- package/dist-types/commands/DisconnectRecoveryInstanceCommand.d.ts +6 -21
- package/dist-types/commands/DisconnectSourceServerCommand.d.ts +6 -21
- package/dist-types/commands/ExportSourceNetworkCfnTemplateCommand.d.ts +6 -21
- package/dist-types/commands/GetFailbackReplicationConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/GetLaunchConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/GetReplicationConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/InitializeServiceCommand.d.ts +6 -21
- package/dist-types/commands/ListExtensibleSourceServersCommand.d.ts +6 -21
- package/dist-types/commands/ListLaunchActionsCommand.d.ts +6 -21
- package/dist-types/commands/ListStagingAccountsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/PutLaunchActionCommand.d.ts +6 -21
- package/dist-types/commands/RetryDataReplicationCommand.d.ts +6 -21
- package/dist-types/commands/ReverseReplicationCommand.d.ts +6 -21
- package/dist-types/commands/StartFailbackLaunchCommand.d.ts +6 -21
- package/dist-types/commands/StartRecoveryCommand.d.ts +6 -21
- package/dist-types/commands/StartReplicationCommand.d.ts +6 -21
- package/dist-types/commands/StartSourceNetworkRecoveryCommand.d.ts +6 -21
- package/dist-types/commands/StartSourceNetworkReplicationCommand.d.ts +6 -21
- package/dist-types/commands/StopFailbackCommand.d.ts +6 -21
- package/dist-types/commands/StopReplicationCommand.d.ts +6 -21
- package/dist-types/commands/StopSourceNetworkReplicationCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/TerminateRecoveryInstancesCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateFailbackReplicationConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateLaunchConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateLaunchConfigurationTemplateCommand.d.ts +6 -21
- package/dist-types/commands/UpdateReplicationConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateReplicationConfigurationTemplateCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/commands/AssociateSourceNetworkStackCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateExtendedSourceServerCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateLaunchConfigurationTemplateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateReplicationConfigurationTemplateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateSourceNetworkCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteJobCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteLaunchActionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteLaunchConfigurationTemplateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteRecoveryInstanceCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteReplicationConfigurationTemplateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteSourceNetworkCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteSourceServerCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeJobLogItemsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeJobsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeLaunchConfigurationTemplatesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeRecoveryInstancesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeRecoverySnapshotsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeReplicationConfigurationTemplatesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeSourceNetworksCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeSourceServersCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisconnectRecoveryInstanceCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisconnectSourceServerCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ExportSourceNetworkCfnTemplateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetFailbackReplicationConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetLaunchConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetReplicationConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/InitializeServiceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListExtensibleSourceServersCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListLaunchActionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListStagingAccountsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutLaunchActionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RetryDataReplicationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ReverseReplicationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartFailbackLaunchCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartRecoveryCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartReplicationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartSourceNetworkRecoveryCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartSourceNetworkReplicationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StopFailbackCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StopReplicationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StopSourceNetworkReplicationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TerminateRecoveryInstancesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateFailbackReplicationConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateLaunchConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateLaunchConfigurationTemplateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateReplicationConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateReplicationConfigurationTemplateCommand.d.ts +12 -24
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/package.json +9 -9
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateFailbackReplicationConfigurationCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "DrsClient";
|
|
29
|
-
const commandName = "UpdateFailbackReplicationConfigurationCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "ElasticDisasterRecoveryService",
|
|
38
|
-
operation: "UpdateFailbackReplicationConfiguration",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateFailbackReplicationConfigurationCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateFailbackReplicationConfigurationCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateFailbackReplicationConfigurationCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("ElasticDisasterRecoveryService", "UpdateFailbackReplicationConfiguration", {})
|
|
22
|
+
.n("DrsClient", "UpdateFailbackReplicationConfigurationCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateFailbackReplicationConfigurationCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateFailbackReplicationConfigurationCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateFailbackReplicationConfigurationCommand = UpdateFailbackReplicationConfigurationCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateLaunchConfigurationCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "DrsClient";
|
|
29
|
-
const commandName = "UpdateLaunchConfigurationCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "ElasticDisasterRecoveryService",
|
|
38
|
-
operation: "UpdateLaunchConfiguration",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateLaunchConfigurationCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateLaunchConfigurationCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateLaunchConfigurationCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("ElasticDisasterRecoveryService", "UpdateLaunchConfiguration", {})
|
|
22
|
+
.n("DrsClient", "UpdateLaunchConfigurationCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateLaunchConfigurationCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateLaunchConfigurationCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateLaunchConfigurationCommand = UpdateLaunchConfigurationCommand;
|
|
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
-
class UpdateLaunchConfigurationTemplateCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "DrsClient";
|
|
30
|
-
const commandName = "UpdateLaunchConfigurationTemplateCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: (_) => _,
|
|
36
|
-
outputFilterSensitiveLog: models_0_1.UpdateLaunchConfigurationTemplateResponseFilterSensitiveLog,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "ElasticDisasterRecoveryService",
|
|
39
|
-
operation: "UpdateLaunchConfigurationTemplate",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
const { requestHandler } = configuration;
|
|
43
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
-
}
|
|
45
|
-
serialize(input, context) {
|
|
46
|
-
return (0, Aws_restJson1_1.se_UpdateLaunchConfigurationTemplateCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_restJson1_1.de_UpdateLaunchConfigurationTemplateCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class UpdateLaunchConfigurationTemplateCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("ElasticDisasterRecoveryService", "UpdateLaunchConfigurationTemplate", {})
|
|
23
|
+
.n("DrsClient", "UpdateLaunchConfigurationTemplateCommand")
|
|
24
|
+
.f(void 0, models_0_1.UpdateLaunchConfigurationTemplateResponseFilterSensitiveLog)
|
|
25
|
+
.ser(Aws_restJson1_1.se_UpdateLaunchConfigurationTemplateCommand)
|
|
26
|
+
.de(Aws_restJson1_1.de_UpdateLaunchConfigurationTemplateCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.UpdateLaunchConfigurationTemplateCommand = UpdateLaunchConfigurationTemplateCommand;
|
|
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
-
class UpdateReplicationConfigurationCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "DrsClient";
|
|
30
|
-
const commandName = "UpdateReplicationConfigurationCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: models_0_1.UpdateReplicationConfigurationRequestFilterSensitiveLog,
|
|
36
|
-
outputFilterSensitiveLog: models_0_1.ReplicationConfigurationFilterSensitiveLog,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "ElasticDisasterRecoveryService",
|
|
39
|
-
operation: "UpdateReplicationConfiguration",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
const { requestHandler } = configuration;
|
|
43
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
-
}
|
|
45
|
-
serialize(input, context) {
|
|
46
|
-
return (0, Aws_restJson1_1.se_UpdateReplicationConfigurationCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_restJson1_1.de_UpdateReplicationConfigurationCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class UpdateReplicationConfigurationCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("ElasticDisasterRecoveryService", "UpdateReplicationConfiguration", {})
|
|
23
|
+
.n("DrsClient", "UpdateReplicationConfigurationCommand")
|
|
24
|
+
.f(models_0_1.UpdateReplicationConfigurationRequestFilterSensitiveLog, models_0_1.ReplicationConfigurationFilterSensitiveLog)
|
|
25
|
+
.ser(Aws_restJson1_1.se_UpdateReplicationConfigurationCommand)
|
|
26
|
+
.de(Aws_restJson1_1.de_UpdateReplicationConfigurationCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.UpdateReplicationConfigurationCommand = UpdateReplicationConfigurationCommand;
|
|
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
-
class UpdateReplicationConfigurationTemplateCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "DrsClient";
|
|
30
|
-
const commandName = "UpdateReplicationConfigurationTemplateCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: models_0_1.UpdateReplicationConfigurationTemplateRequestFilterSensitiveLog,
|
|
36
|
-
outputFilterSensitiveLog: models_0_1.ReplicationConfigurationTemplateFilterSensitiveLog,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "ElasticDisasterRecoveryService",
|
|
39
|
-
operation: "UpdateReplicationConfigurationTemplate",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
const { requestHandler } = configuration;
|
|
43
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
-
}
|
|
45
|
-
serialize(input, context) {
|
|
46
|
-
return (0, Aws_restJson1_1.se_UpdateReplicationConfigurationTemplateCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_restJson1_1.de_UpdateReplicationConfigurationTemplateCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class UpdateReplicationConfigurationTemplateCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("ElasticDisasterRecoveryService", "UpdateReplicationConfigurationTemplate", {})
|
|
23
|
+
.n("DrsClient", "UpdateReplicationConfigurationTemplateCommand")
|
|
24
|
+
.f(models_0_1.UpdateReplicationConfigurationTemplateRequestFilterSensitiveLog, models_0_1.ReplicationConfigurationTemplateFilterSensitiveLog)
|
|
25
|
+
.ser(Aws_restJson1_1.se_UpdateReplicationConfigurationTemplateCommand)
|
|
26
|
+
.de(Aws_restJson1_1.de_UpdateReplicationConfigurationTemplateCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.UpdateReplicationConfigurationTemplateCommand = UpdateReplicationConfigurationTemplateCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { AssociateSourceNetworkStackRequestFilterSensitiveLog, AssociateSourceNetworkStackResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_AssociateSourceNetworkStackCommand, se_AssociateSourceNetworkStackCommand, } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class AssociateSourceNetworkStackCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "DrsClient";
|
|
27
|
-
const commandName = "AssociateSourceNetworkStackCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: AssociateSourceNetworkStackRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: AssociateSourceNetworkStackResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "ElasticDisasterRecoveryService",
|
|
36
|
-
operation: "AssociateSourceNetworkStack",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_AssociateSourceNetworkStackCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_AssociateSourceNetworkStackCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class AssociateSourceNetworkStackCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("ElasticDisasterRecoveryService", "AssociateSourceNetworkStack", {})
|
|
20
|
+
.n("DrsClient", "AssociateSourceNetworkStackCommand")
|
|
21
|
+
.f(AssociateSourceNetworkStackRequestFilterSensitiveLog, AssociateSourceNetworkStackResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_AssociateSourceNetworkStackCommand)
|
|
23
|
+
.de(de_AssociateSourceNetworkStackCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { CreateExtendedSourceServerRequestFilterSensitiveLog, CreateExtendedSourceServerResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_CreateExtendedSourceServerCommand, se_CreateExtendedSourceServerCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class CreateExtendedSourceServerCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "DrsClient";
|
|
27
|
-
const commandName = "CreateExtendedSourceServerCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: CreateExtendedSourceServerRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: CreateExtendedSourceServerResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "ElasticDisasterRecoveryService",
|
|
36
|
-
operation: "CreateExtendedSourceServer",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_CreateExtendedSourceServerCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_CreateExtendedSourceServerCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class CreateExtendedSourceServerCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("ElasticDisasterRecoveryService", "CreateExtendedSourceServer", {})
|
|
20
|
+
.n("DrsClient", "CreateExtendedSourceServerCommand")
|
|
21
|
+
.f(CreateExtendedSourceServerRequestFilterSensitiveLog, CreateExtendedSourceServerResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_CreateExtendedSourceServerCommand)
|
|
23
|
+
.de(de_CreateExtendedSourceServerCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { CreateLaunchConfigurationTemplateRequestFilterSensitiveLog, CreateLaunchConfigurationTemplateResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_CreateLaunchConfigurationTemplateCommand, se_CreateLaunchConfigurationTemplateCommand, } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class CreateLaunchConfigurationTemplateCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "DrsClient";
|
|
27
|
-
const commandName = "CreateLaunchConfigurationTemplateCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: CreateLaunchConfigurationTemplateRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: CreateLaunchConfigurationTemplateResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "ElasticDisasterRecoveryService",
|
|
36
|
-
operation: "CreateLaunchConfigurationTemplate",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_CreateLaunchConfigurationTemplateCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_CreateLaunchConfigurationTemplateCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class CreateLaunchConfigurationTemplateCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("ElasticDisasterRecoveryService", "CreateLaunchConfigurationTemplate", {})
|
|
20
|
+
.n("DrsClient", "CreateLaunchConfigurationTemplateCommand")
|
|
21
|
+
.f(CreateLaunchConfigurationTemplateRequestFilterSensitiveLog, CreateLaunchConfigurationTemplateResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_CreateLaunchConfigurationTemplateCommand)
|
|
23
|
+
.de(de_CreateLaunchConfigurationTemplateCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { CreateReplicationConfigurationTemplateRequestFilterSensitiveLog, ReplicationConfigurationTemplateFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_CreateReplicationConfigurationTemplateCommand, se_CreateReplicationConfigurationTemplateCommand, } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class CreateReplicationConfigurationTemplateCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "DrsClient";
|
|
27
|
-
const commandName = "CreateReplicationConfigurationTemplateCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: CreateReplicationConfigurationTemplateRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: ReplicationConfigurationTemplateFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "ElasticDisasterRecoveryService",
|
|
36
|
-
operation: "CreateReplicationConfigurationTemplate",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_CreateReplicationConfigurationTemplateCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_CreateReplicationConfigurationTemplateCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class CreateReplicationConfigurationTemplateCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("ElasticDisasterRecoveryService", "CreateReplicationConfigurationTemplate", {})
|
|
20
|
+
.n("DrsClient", "CreateReplicationConfigurationTemplateCommand")
|
|
21
|
+
.f(CreateReplicationConfigurationTemplateRequestFilterSensitiveLog, ReplicationConfigurationTemplateFilterSensitiveLog)
|
|
22
|
+
.ser(se_CreateReplicationConfigurationTemplateCommand)
|
|
23
|
+
.de(de_CreateReplicationConfigurationTemplateCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|