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