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