TypeScript
import * as controltower from "@distilled.cloud/aws/controltower";
import * as Layer from "effect/Layer";
import { makeControlTowerAccountHttpBinding } from "./BindingHttp.ts";
import { GetBaseline } from "./GetBaseline.ts";
export const GetBaselineHttp = Layer.effect(
GetBaseline,
makeControlTowerAccountHttpBinding({
capability: "GetBaseline",
iamActions: ["controltower:GetBaseline"],
operation: controltower.getBaseline,
}),
);