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