@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 626 Bytes
Raw
1 import * as appflow from "@distilled.cloud/aws/appflow";
2 import * as Layer from "effect/Layer";
3 import { makeAppFlowHttpBinding } from "./BindingHttp.ts";
4 import { DescribeFlowExecutionRecords } from "./DescribeFlowExecutionRecords.ts";
5 import type { Flow } from "./Flow.ts";
6
7 export const DescribeFlowExecutionRecordsHttp = Layer.effect(
8 DescribeFlowExecutionRecords,
9 makeAppFlowHttpBinding({
10 action: "DescribeFlowExecutionRecords",
11 operation: appflow.describeFlowExecutionRecords,
12 identifier: (flow: Flow) => flow.flowName,
13 requestKey: "flowName",
14 resources: (flow: Flow) => [flow.flowArn],
15 }),
16 );