Skip to content
TypeScript
508 B
Raw Blame
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,
  }),
);