@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 16 lines 672 Bytes
Raw
1 import * as config from "@distilled.cloud/aws/config-service";
2 import * as Layer from "effect/Layer";
3 import { makeConfigResourceHttpBinding } from "./BindingHttp.ts";
4 import { DeliverConfigSnapshot } from "./DeliverConfigSnapshot.ts";
5 import type { DeliveryChannel } from "./DeliveryChannel.ts";
6
7 export const DeliverConfigSnapshotHttp = Layer.effect(
8 DeliverConfigSnapshot,
9 makeConfigResourceHttpBinding({
10 tag: "AWS.Config.DeliverConfigSnapshot",
11 operation: config.deliverConfigSnapshot,
12 actions: ["config:DeliverConfigSnapshot"],
13 requestKey: "deliveryChannelName",
14 identifier: (channel: DeliveryChannel) => channel.deliveryChannelName,
15 }),
16 );