@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 32 lines 1.03 KB
Raw
1 import type * as mediatailor from "@distilled.cloud/aws/mediatailor";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Runtime binding for `mediatailor:StopChannel` — stop a running
7 * channel-assembly channel.
8 *
9 * Channel names are runtime parameters, so the binding is account-level and
10 * grants `mediatailor:StopChannel` on `*`. Provide the implementation with
11 * `Effect.provide(AWS.MediaTailor.StopChannelHttp)`.
12 *
13 * ### Channel Assembly
14 * **Example:** Stop a channel
15 * ```typescript
16 * const stopChannel = yield* AWS.MediaTailor.StopChannel();
17 *
18 * yield* stopChannel({ ChannelName: "my-channel" });
19 * ```
20 *
21 * @binding
22 */
23 export interface StopChannel extends Binding.Service<
24 StopChannel,
25 "AWS.MediaTailor.StopChannel",
26 () => Effect.Effect<
27 (
28 request: mediatailor.StopChannelRequest,
29 ) => Effect.Effect<mediatailor.StopChannelResponse, mediatailor.StopChannelError>
30 >
31 > {}
32 export const StopChannel = Binding.Service<StopChannel>("AWS.MediaTailor.StopChannel");