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