Retrieves a prefetch schedule for a playback configuration. A prefetch schedule allows you to tell MediaTailor to fetch and prepare certain ads before an ad break happens. For more information about ad prefetching, see Using ad prefetching in the MediaTailor User Guide.
example
Use a bare-bones client and the command you need to make an API call.
Retrieves a prefetch schedule for a playback configuration. A prefetch schedule allows you to tell MediaTailor to fetch and prepare certain ads before an ad break happens. For more information about ad prefetching, see Using ad prefetching in the MediaTailor User Guide.
Use a bare-bones client and the command you need to make an API call.
import { MediaTailorClient, GetPrefetchScheduleCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import // const { MediaTailorClient, GetPrefetchScheduleCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import const client = new MediaTailorClient(config); const command = new GetPrefetchScheduleCommand(input); const response = await client.send(command);
GetPrefetchScheduleCommandInput for command's
input
shape.GetPrefetchScheduleCommandOutput for command's
response
shape.config for MediaTailorClient's
config
shape.