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.

692 B
Raw Blame
import * as resourcegroups from "@distilled.cloud/aws/resource-groups";
import * as Layer from "effect/Layer";
import { makeResourceGroupsGroupHttpBinding } from "./BindingHttp.ts";
import { UngroupResources } from "./UngroupResources.ts";

export const UngroupResourcesHttp = Layer.effect(
  UngroupResources,
  makeResourceGroupsGroupHttpBinding({
    tag: "AWS.ResourceGroups.UngroupResources",
    operation: resourcegroups.ungroupResources,
    actions: ["resource-groups:UngroupResources"],
    // Application-group membership is removed by untagging the member
    // through the Resource Groups Tagging API.
    supportingActions: ["tag:GetResources", "tag:UntagResources"],
  }),
);