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

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

export const DeleteWorkspaceServiceAccountHttp = Layer.effect(
  DeleteWorkspaceServiceAccount,
  makeGrafanaWorkspaceHttpBinding({
    tag: "AWS.Grafana.DeleteWorkspaceServiceAccount",
    operation: grafana.deleteWorkspaceServiceAccount,
    actions: ["grafana:DeleteWorkspaceServiceAccount"],
  }),
);