sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ Detective/ ListOrganizationAdminAccountsHttp.ts

import * as detective from "@distilled.cloud/aws/detective";
import * as Layer from "effect/Layer";
import { makeDetectiveAccountHttpBinding } from "./BindingHttp.ts";
import { ListOrganizationAdminAccounts } from "./ListOrganizationAdminAccounts.ts";

export const ListOrganizationAdminAccountsHttp = Layer.effect(
  ListOrganizationAdminAccounts,
  makeDetectiveAccountHttpBinding({
    tag: "AWS.Detective.ListOrganizationAdminAccounts",
    operation: detective.listOrganizationAdminAccounts,
    actions: ["detective:ListOrganizationAdminAccounts"],
  }),
);