The best way to control Claude Code, Codex and more from any computer or phone

main
ts 13 lines 563 Bytes
Raw
1 import * as ce from "@distilled.cloud/aws/cost-explorer";
2 import * as Layer from "effect/Layer";
3 import { makeCostExplorerHttpBinding } from "./BindingHttp.ts";
4 import { GetSavingsPlansUtilizationDetails } from "./GetSavingsPlansUtilizationDetails.ts";
5
6 export const GetSavingsPlansUtilizationDetailsHttp = Layer.effect(
7 GetSavingsPlansUtilizationDetails,
8 makeCostExplorerHttpBinding({
9 capability: "GetSavingsPlansUtilizationDetails",
10 iamActions: ["ce:GetSavingsPlansUtilizationDetails"],
11 operation: ce.getSavingsPlansUtilizationDetails,
12 }),
13 );