| 1 | import * as SD from "@distilled.cloud/aws/servicediscovery"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeCloudMapServiceHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { GetInstance } from "./GetInstance.ts"; |
| 5 | |
| 6 | export const GetInstanceHttp = Layer.effect( |
| 7 | GetInstance, |
| 8 | makeCloudMapServiceHttpBinding({ |
| 9 | tag: "AWS.CloudMap.GetInstance", |
| 10 | operation: SD.getInstance, |
| 11 | actions: ["servicediscovery:GetInstance"], |
| 12 | }), |
| 13 | ); |