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