Skip to content
TypeScript
444 B
Raw Blame
import * as organizations from "@distilled.cloud/aws/organizations";
import * as Layer from "effect/Layer";
import { makeOrganizationsHttpBinding } from "./BindingHttp.ts";
import { ListParents } from "./ListParents.ts";

export const ListParentsHttp = Layer.effect(
  ListParents,
  makeOrganizationsHttpBinding({
    capability: "ListParents",
    iamActions: ["organizations:ListParents"],
    operation: organizations.listParents,
  }),
);