Skip to content
TypeScript
564 B
Raw Blame
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"],
  }),
);