| 1 | import * as guardduty from "@distilled.cloud/aws/guardduty"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeGuardDutyAccountHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { ListOrganizationAdminAccounts } from "./ListOrganizationAdminAccounts.ts"; |
| 5 | |
| 6 | export const ListOrganizationAdminAccountsHttp = Layer.effect( |
| 7 | ListOrganizationAdminAccounts, |
| 8 | makeGuardDutyAccountHttpBinding({ |
| 9 | tag: "AWS.GuardDuty.ListOrganizationAdminAccounts", |
| 10 | operation: guardduty.listOrganizationAdminAccounts, |
| 11 | actions: ["guardduty:ListOrganizationAdminAccounts"], |
| 12 | }), |
| 13 | ); |