Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

594 B
Raw Blame
import * as ECS from "@distilled.cloud/aws/ecs";
import * as Layer from "effect/Layer";
import { makeEcsServiceHttpBinding } from "./BindingHttp.ts";
import { ListServiceDeployments } from "./ListServiceDeployments.ts";

export const ListServiceDeploymentsHttp = Layer.effect(
  ListServiceDeployments,
  makeEcsServiceHttpBinding({
    tag: "AWS.ECS.ListServiceDeployments",
    operation: ECS.listServiceDeployments,
    actions: ["ecs:ListServiceDeployments"],
    // `ecs:ListServiceDeployments` authorizes against the service itself.
    resources: ["service"],
    inject: true,
  }),
);