| 1 | import * as fms from "@distilled.cloud/aws/fms"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeFmsHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { GetAdminScope } from "./GetAdminScope.ts"; |
| 5 | |
| 6 | export const GetAdminScopeHttp = Layer.effect( |
| 7 | GetAdminScope, |
| 8 | makeFmsHttpBinding({ |
| 9 | capability: "GetAdminScope", |
| 10 | iamActions: ["fms:GetAdminScope"], |
| 11 | operation: fms.getAdminScope, |
| 12 | pinToAdminRegion: true, |
| 13 | }), |
| 14 | ); |