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