awscdk-construct-scte-scheduler
Version:
AWS CDK Construct for scheduling SCTE-35 events using the MediaLive schedule API
5 lines (4 loc) • 305 B
JavaScript
import { createPaginator } from "@smithy/core";
import { ListChannelsCommand, } from "../commands/ListChannelsCommand";
import { MediaLiveClient } from "../MediaLiveClient";
export const paginateListChannels = createPaginator(MediaLiveClient, ListChannelsCommand, "NextToken", "NextToken", "MaxResults");