Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GetPrefetchScheduleCommand

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.

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);
see

GetPrefetchScheduleCommandInput for command's input shape.

see

GetPrefetchScheduleCommandOutput for command's response shape.

see

config for MediaTailorClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: GetPrefetchScheduleCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions