Skip to content
TypeScript
550 B
Raw Blame
import * as inspector2 from "@distilled.cloud/aws/inspector2";
import * as Layer from "effect/Layer";
import { makeInspector2AccountHttpBinding } from "./BindingHttp.ts";
import { ListDelegatedAdminAccounts } from "./ListDelegatedAdminAccounts.ts";

export const ListDelegatedAdminAccountsHttp = Layer.effect(
  ListDelegatedAdminAccounts,
  makeInspector2AccountHttpBinding({
    tag: "AWS.Inspector2.ListDelegatedAdminAccounts",
    operation: inspector2.listDelegatedAdminAccounts,
    actions: ["inspector2:ListDelegatedAdminAccounts"],
  }),
);