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