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

main
ts 18 lines 722 Bytes
Raw
1 import * as kvs from "@distilled.cloud/aws/kinesis-video-signaling";
2 import * as Layer from "effect/Layer";
3 import { makeChannelSignalingHttpBinding } from "./BindingHttp.ts";
4 import { SendAlexaOfferToMaster } from "./SendAlexaOfferToMaster.ts";
5
6 export const SendAlexaOfferToMasterHttp = Layer.effect(
7 SendAlexaOfferToMaster,
8 makeChannelSignalingHttpBinding({
9 tag: "AWS.KinesisVideo.SendAlexaOfferToMaster",
10 // SendAlexaOfferToMaster is served by the channel's HTTPS signaling
11 // endpoint; the offer is addressed to the MASTER peer.
12 protocol: "HTTPS",
13 role: "MASTER",
14 actions: ["kinesisvideo:SendAlexaOfferToMaster"],
15 key: "ChannelARN",
16 operation: kvs.sendAlexaOfferToMaster,
17 }),
18 );