sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ CostExplorer/ GetSavingsPlansUtilizationHttp.ts

import * as ce from "@distilled.cloud/aws/cost-explorer";
import * as Layer from "effect/Layer";
import { makeCostExplorerHttpBinding } from "./BindingHttp.ts";
import { GetSavingsPlansUtilization } from "./GetSavingsPlansUtilization.ts";

export const GetSavingsPlansUtilizationHttp = Layer.effect(
  GetSavingsPlansUtilization,
  makeCostExplorerHttpBinding({
    capability: "GetSavingsPlansUtilization",
    iamActions: ["ce:GetSavingsPlansUtilization"],
    operation: ce.getSavingsPlansUtilization,
  }),
);