| 1 | import * as controltower from "@distilled.cloud/aws/controltower"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeControlTowerAccountHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { GetLandingZone } from "./GetLandingZone.ts"; |
| 5 | |
| 6 | export const GetLandingZoneHttp = Layer.effect( |
| 7 | GetLandingZone, |
| 8 | makeControlTowerAccountHttpBinding({ |
| 9 | capability: "GetLandingZone", |
| 10 | iamActions: ["controltower:GetLandingZone"], |
| 11 | operation: controltower.getLandingZone, |
| 12 | }), |
| 13 | ); |