@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, 06:00 UTC

main
ts 17 lines 652 Bytes
Raw
1 import * as iotw from "@distilled.cloud/aws/iot-wireless";
2 import * as Layer from "effect/Layer";
3 import { makeIotWirelessDeviceHttpBinding } from "./BindingHttp.ts";
4 import { ListQueuedMessages, type ListQueuedMessagesRequest } from "./ListQueuedMessages.ts";
5
6 export const ListQueuedMessagesHttp = Layer.effect(
7 ListQueuedMessages,
8 makeIotWirelessDeviceHttpBinding({
9 capability: "ListQueuedMessages",
10 iamActions: ["iotwireless:ListQueuedMessages"],
11 operation: iotw.listQueuedMessages,
12 prepare: (request: ListQueuedMessagesRequest | undefined, wirelessDeviceId) => ({
13 ...request,
14 Id: wirelessDeviceId,
15 }),
16 }),
17 );