sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ FMS/ GetAdminScopeHttp.ts

import * as fms from "@distilled.cloud/aws/fms";
import * as Layer from "effect/Layer";
import { makeFmsHttpBinding } from "./BindingHttp.ts";
import { GetAdminScope } from "./GetAdminScope.ts";

export const GetAdminScopeHttp = Layer.effect(
  GetAdminScope,
  makeFmsHttpBinding({
    capability: "GetAdminScope",
    iamActions: ["fms:GetAdminScope"],
    operation: fms.getAdminScope,
    pinToAdminRegion: true,
  }),
);