| 1 | import * as osis from "@distilled.cloud/aws/osis"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeOsisPipelineHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { StopPipeline } from "./StopPipeline.ts"; |
| 5 | |
| 6 | export const StopPipelineHttp = Layer.effect( |
| 7 | StopPipeline, |
| 8 | makeOsisPipelineHttpBinding({ |
| 9 | tag: "AWS.OSIS.StopPipeline", |
| 10 | operation: osis.stopPipeline, |
| 11 | actions: ["osis:StopPipeline"], |
| 12 | requestKey: "PipelineName", |
| 13 | identifier: (pipeline) => pipeline.pipelineName, |
| 14 | }), |
| 15 | ); |