| 1 | import * as organizations from "@distilled.cloud/aws/organizations"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeOrganizationsHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { ListParents } from "./ListParents.ts"; |
| 5 | |
| 6 | export const ListParentsHttp = Layer.effect( |
| 7 | ListParents, |
| 8 | makeOrganizationsHttpBinding({ |
| 9 | capability: "ListParents", |
| 10 | iamActions: ["organizations:ListParents"], |
| 11 | operation: organizations.listParents, |
| 12 | }), |
| 13 | ); |