sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ OpenSearchServerless/ GetPoliciesStatsHttp.ts

import * as aoss from "@distilled.cloud/aws/opensearchserverless";
import * as Layer from "effect/Layer";
import { makeAossAccountHttpBinding } from "./BindingHttp.ts";
import { GetPoliciesStats } from "./GetPoliciesStats.ts";

export const GetPoliciesStatsHttp = Layer.effect(
  GetPoliciesStats,
  makeAossAccountHttpBinding({
    tag: "AWS.OpenSearchServerless.GetPoliciesStats",
    operation: aoss.getPoliciesStats,
    actions: ["aoss:GetPoliciesStats"],
  }),
);