Skip to content
TypeScript
522 B
Raw Blame
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,
  }),
);