| 1 | import * as codeconnections from "@distilled.cloud/aws/codeconnections"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeConnectionScopedHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { GetConnection } from "./GetConnection.ts"; |
| 5 | |
| 6 | export const GetConnectionHttp = Layer.effect( |
| 7 | GetConnection, |
| 8 | makeConnectionScopedHttpBinding({ |
| 9 | tag: "AWS.CodeConnections.GetConnection", |
| 10 | actions: ["codeconnections:GetConnection"], |
| 11 | operation: codeconnections.getConnection, |
| 12 | }), |
| 13 | ); |