sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ LicenseManager/ ListDistributedGrantsHttp.ts

import * as licensemanager from "@distilled.cloud/aws/license-manager";
import * as Layer from "effect/Layer";
import { makeLicenseManagerHttpBinding } from "./BindingHttp.ts";
import { ListDistributedGrants } from "./ListDistributedGrants.ts";

export const ListDistributedGrantsHttp = Layer.effect(
  ListDistributedGrants,
  makeLicenseManagerHttpBinding({
    capability: "ListDistributedGrants",
    iamActions: ["license-manager:ListDistributedGrants"],
    operation: licensemanager.listDistributedGrants,
  }),
);