Skip to content
TypeScript
542 B
Raw Blame
import * as ce from "@distilled.cloud/aws/cost-explorer";
import * as Layer from "effect/Layer";
import { makeCostExplorerHttpBinding } from "./BindingHttp.ts";
import { ListCommitmentPurchaseAnalyses } from "./ListCommitmentPurchaseAnalyses.ts";

export const ListCommitmentPurchaseAnalysesHttp = Layer.effect(
  ListCommitmentPurchaseAnalyses,
  makeCostExplorerHttpBinding({
    capability: "ListCommitmentPurchaseAnalyses",
    iamActions: ["ce:ListCommitmentPurchaseAnalyses"],
    operation: ce.listCommitmentPurchaseAnalyses,
  }),
);