@cdklabs/cdk-ecs-codedeploy
Version:
CDK Constructs for performing ECS Deployments with CodeDeploy
23 lines (22 loc) • 917 B
JavaScript
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetDeploymentTargetCommand, se_GetDeploymentTargetCommand } from "../protocols/Aws_json1_1";
export { $Command };
export class GetDeploymentTargetCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("CodeDeploy_20141006", "GetDeploymentTarget", {})
.n("CodeDeployClient", "GetDeploymentTargetCommand")
.f(void 0, void 0)
.ser(se_GetDeploymentTargetCommand)
.de(de_GetDeploymentTargetCommand)
.build() {
}