@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 41 lines 1.48 KB
Raw
1 import type * as rekognition from "@distilled.cloud/aws/rekognition";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Runtime binding for `rekognition:DescribeStreamProcessor` — describe a stream processor — status, input/output configuration, and settings.
7 *
8 * The binding takes no arguments and grants the function
9 * `rekognition:DescribeStreamProcessor` on `*` (Rekognition data-plane resources such
10 * as collections, users, and jobs are routinely created at runtime, so
11 * their identifiers are unknown at deploy time). Provide the
12 * implementation with `Effect.provide(AWS.Rekognition.DescribeStreamProcessorHttp)`.
13 *
14 * ### Stream Processors
15 * **Example:** Describe a Stream Processor
16 * ```typescript
17 * // init
18 * const describeStreamProcessor = yield* AWS.Rekognition.DescribeStreamProcessor();
19 *
20 * // runtime
21 * const info = yield* describeStreamProcessor({ Name: "lobby-camera" });
22 * // info.Status, info.Input, info.Output
23 * ```
24 *
25 * @binding
26 */
27 export interface DescribeStreamProcessor extends Binding.Service<
28 DescribeStreamProcessor,
29 "AWS.Rekognition.DescribeStreamProcessor",
30 () => Effect.Effect<
31 (
32 request: rekognition.DescribeStreamProcessorRequest,
33 ) => Effect.Effect<
34 rekognition.DescribeStreamProcessorResponse,
35 rekognition.DescribeStreamProcessorError
36 >
37 >
38 > {}
39 export const DescribeStreamProcessor = Binding.Service<DescribeStreamProcessor>(
40 "AWS.Rekognition.DescribeStreamProcessor",
41 );