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.
import * as ga from "@distilled.cloud/aws/global-accelerator";
import * as Layer from "effect/Layer";
import { makeGaEndpointGroupHttpBinding } from "./BindingHttp.ts";
import { RemoveEndpoints } from "./RemoveEndpoints.ts";
export const RemoveEndpointsHttp = Layer.effect(
RemoveEndpoints,
makeGaEndpointGroupHttpBinding({
tag: "AWS.GlobalAccelerator.RemoveEndpoints",
operation: ga.removeEndpoints,
// Like AddEndpoints, Global Accelerator authorizes endpoint removal as
// an update to the endpoint group, so both actions are required.
actions: [
"globalaccelerator:RemoveEndpoints",
"globalaccelerator:UpdateEndpointGroup",
],
}),
);