import type * as mediatailor from "@distilled.cloud/aws/mediatailor";
import * as Binding from "alchemy/Binding";
import type * as Effect from "effect/Effect";
/**
* Runtime binding for `mediatailor:GetChannelSchedule` — read the current
* schedule (programs + ad breaks) of a channel-assembly channel.
*
* Channel names are runtime parameters, so the binding is account-level and
* grants `mediatailor:GetChannelSchedule` on `*`. Provide the implementation
* with `Effect.provide(AWS.MediaTailor.GetChannelScheduleHttp)`.
*
* ### Channel Assembly
* **Example:** Read a channel's schedule
* ```typescript
* const getChannelSchedule = yield* AWS.MediaTailor.GetChannelSchedule();
*
* const { Items } = yield* getChannelSchedule({ ChannelName: "my-channel" });
* ```
*
* @binding
*/
export interface GetChannelSchedule extends Binding.Service<
GetChannelSchedule,
"AWS.MediaTailor.GetChannelSchedule",
() => Effect.Effect<
(
request: mediatailor.GetChannelScheduleRequest,
) => Effect.Effect<mediatailor.GetChannelScheduleResponse, mediatailor.GetChannelScheduleError>
>
> {}
export const GetChannelSchedule = Binding.Service<GetChannelSchedule>(
"AWS.MediaTailor.GetChannelSchedule",
);