| 1 | import * as detective from "@distilled.cloud/aws/detective"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeDetectiveAccountHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { DisableOrganizationAdminAccount } from "./DisableOrganizationAdminAccount.ts"; |
| 5 | |
| 6 | export const DisableOrganizationAdminAccountHttp = Layer.effect( |
| 7 | DisableOrganizationAdminAccount, |
| 8 | makeDetectiveAccountHttpBinding({ |
| 9 | tag: "AWS.Detective.DisableOrganizationAdminAccount", |
| 10 | operation: detective.disableOrganizationAdminAccount, |
| 11 | actions: ["detective:DisableOrganizationAdminAccount"], |
| 12 | }), |
| 13 | ); |