@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 14 lines 446 Bytes
Raw
1 import * as ec2 from "@distilled.cloud/aws/ec2";
2 import * as Layer from "effect/Layer";
3 import { makeInstanceHttpBinding } from "./BindingHttp.ts";
4 import { RebootInstance } from "./RebootInstance.ts";
5
6 export const RebootInstanceHttp = Layer.effect(
7 RebootInstance,
8 makeInstanceHttpBinding({
9 tag: "AWS.EC2.RebootInstance",
10 operation: ec2.rebootInstances,
11 actions: ["ec2:RebootInstances"],
12 requestKey: "InstanceIds",
13 }),
14 );