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