1import type * as rekognition from "@distilled.cloud/aws/rekognition";
2import type * as Effect from "effect/Effect";
3import * as Binding from "../../Binding.ts";
4
5/**
6 * Runtime binding for `rekognition:StopStreamProcessor` — stop a running stream processor.
7 *
8 * The binding takes no arguments and grants the function
9 * `rekognition:StopStreamProcessor` 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.StopStreamProcessorHttp)`.
13 *
14 * ### Stream Processors
15 * **Example:** Stop a Stream Processor
16 * ```typescript
17 * // init
18 * const stopStreamProcessor = yield* AWS.Rekognition.StopStreamProcessor();
19 *
20 * // runtime
21 * yield* stopStreamProcessor({ Name: "lobby-camera" });
22 * ```
23 *
24 * @binding
25 */
26export interface StopStreamProcessor extends Binding.Service<
27 StopStreamProcessor,
28 "AWS.Rekognition.StopStreamProcessor",
29 () => Effect.Effect<
30 (
31 request: rekognition.StopStreamProcessorRequest,
32 ) => Effect.Effect<
33 rekognition.StopStreamProcessorResponse,
34 rekognition.StopStreamProcessorError
35 >
36 >
37> {}
38export const StopStreamProcessor = Binding.Service<StopStreamProcessor>(
39 "AWS.Rekognition.StopStreamProcessor",
40);