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

import * as controltower from "@distilled.cloud/aws/controltower";
import * as Layer from "effect/Layer";
import { makeControlTowerAccountHttpBinding } from "./BindingHttp.ts";
import { GetControlOperation } from "./GetControlOperation.ts";

export const GetControlOperationHttp = Layer.effect(
  GetControlOperation,
  makeControlTowerAccountHttpBinding({
    capability: "GetControlOperation",
    iamActions: ["controltower:GetControlOperation"],
    operation: controltower.getControlOperation,
  }),
);