sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ QBusiness/ ListGroupsHttp.ts

import * as qbusiness from "@distilled.cloud/aws/qbusiness";
import * as Layer from "effect/Layer";
import { makeQBusinessIndexHttpBinding } from "./BindingHttp.ts";
import { ListGroups } from "./ListGroups.ts";

export const ListGroupsHttp = Layer.effect(
  ListGroups,
  makeQBusinessIndexHttpBinding({
    tag: "AWS.QBusiness.ListGroups",
    operation: qbusiness.listGroups,
    actions: ["qbusiness:ListGroups"],
    subResources: ["data-source/*"],
  }),
);