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

main
ts 14 lines 465 Bytes
Raw
1 import * as Kinesis from "@distilled.cloud/aws/kinesis";
2 import * as Layer from "effect/Layer";
3 import { makeStreamHttpBinding } from "./BindingHttp.ts";
4 import { GetShardIterator } from "./GetShardIterator.ts";
5
6 export const GetShardIteratorHttp = Layer.effect(
7 GetShardIterator,
8 makeStreamHttpBinding({
9 tag: "AWS.Kinesis.GetShardIterator",
10 operation: Kinesis.getShardIterator,
11 actions: ["kinesis:GetShardIterator"],
12 key: "StreamARN",
13 }),
14 );