@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 15 lines 662 Bytes
Raw
1 import * as ga from "@distilled.cloud/aws/global-accelerator";
2 import * as Layer from "effect/Layer";
3 import { makeGaEndpointGroupHttpBinding } from "./BindingHttp.ts";
4 import { RemoveEndpoints } from "./RemoveEndpoints.ts";
5
6 export const RemoveEndpointsHttp = Layer.effect(
7 RemoveEndpoints,
8 makeGaEndpointGroupHttpBinding({
9 tag: "AWS.GlobalAccelerator.RemoveEndpoints",
10 operation: ga.removeEndpoints,
11 // Like AddEndpoints, Global Accelerator authorizes endpoint removal as
12 // an update to the endpoint group, so both actions are required.
13 actions: ["globalaccelerator:RemoveEndpoints", "globalaccelerator:UpdateEndpointGroup"],
14 }),
15 );