| 1 | import * as inspector2 from "@distilled.cloud/aws/inspector2"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeInspector2AccountHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { EnableDelegatedAdminAccount } from "./EnableDelegatedAdminAccount.ts"; |
| 5 | |
| 6 | export const EnableDelegatedAdminAccountHttp = Layer.effect( |
| 7 | EnableDelegatedAdminAccount, |
| 8 | makeInspector2AccountHttpBinding({ |
| 9 | tag: "AWS.Inspector2.EnableDelegatedAdminAccount", |
| 10 | operation: inspector2.enableDelegatedAdminAccount, |
| 11 | actions: ["inspector2:EnableDelegatedAdminAccount"], |
| 12 | }), |
| 13 | ); |