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