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