sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ ControlTower/ GetBaselineHttp.ts

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,
  }),
);