| 1 | import * as grafana from "@distilled.cloud/aws/grafana"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeGrafanaWorkspaceHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { DeleteWorkspaceServiceAccountToken } from "./DeleteWorkspaceServiceAccountToken.ts"; |
| 5 | |
| 6 | export const DeleteWorkspaceServiceAccountTokenHttp = Layer.effect( |
| 7 | DeleteWorkspaceServiceAccountToken, |
| 8 | makeGrafanaWorkspaceHttpBinding({ |
| 9 | tag: "AWS.Grafana.DeleteWorkspaceServiceAccountToken", |
| 10 | operation: grafana.deleteWorkspaceServiceAccountToken, |
| 11 | actions: ["grafana:DeleteWorkspaceServiceAccountToken"], |
| 12 | }), |
| 13 | ); |