sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ Grafana/ DeleteWorkspaceServiceAccountTokenHttp.ts

import * as grafana from "@distilled.cloud/aws/grafana";
import * as Layer from "effect/Layer";
import { makeGrafanaWorkspaceHttpBinding } from "./BindingHttp.ts";
import { DeleteWorkspaceServiceAccountToken } from "./DeleteWorkspaceServiceAccountToken.ts";

export const DeleteWorkspaceServiceAccountTokenHttp = Layer.effect(
  DeleteWorkspaceServiceAccountToken,
  makeGrafanaWorkspaceHttpBinding({
    tag: "AWS.Grafana.DeleteWorkspaceServiceAccountToken",
    operation: grafana.deleteWorkspaceServiceAccountToken,
    actions: ["grafana:DeleteWorkspaceServiceAccountToken"],
  }),
);