| 1 | import * as codedeploy from "@distilled.cloud/aws/codedeploy"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeCodeDeployGroupHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { StopDeployment } from "./StopDeployment.ts"; |
| 5 | |
| 6 | export const StopDeploymentHttp = Layer.effect( |
| 7 | StopDeployment, |
| 8 | makeCodeDeployGroupHttpBinding({ |
| 9 | tag: "AWS.CodeDeploy.StopDeployment", |
| 10 | operation: codedeploy.stopDeployment, |
| 11 | actions: ["codedeploy:StopDeployment"], |
| 12 | }), |
| 13 | ); |