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