Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PrefetchConsumption

import type { PrefetchConsumption } from "https://aws-api.deno.dev/v0.4/services/mediatailor.ts?docs=full";

A complex type that contains settings that determine how and when that MediaTailor places prefetched ads into upcoming ad breaks.

interface PrefetchConsumption {
AvailMatchingCriteria?: AvailMatchingCriteria[] | null;
EndTime: Date | number;
StartTime?: Date | number | null;
}

§Properties

§
AvailMatchingCriteria?: AvailMatchingCriteria[] | null
[src]

If you only want MediaTailor to insert prefetched ads into avails (ad breaks) that match specific dynamic variables, such as scte.event_id, set the avail matching criteria.

§
EndTime: Date | number
[src]

The time when MediaTailor no longer considers the prefetched ads for use in an ad break. MediaTailor automatically deletes prefetch schedules no less than seven days after the end time. If you'd like to manually delete the prefetch schedule, you can call DeletePrefetchSchedule.

§
StartTime?: Date | number | null
[src]

The time when prefetched ads are considered for use in an ad break. If you don't specify StartTime, the prefetched ads are available after MediaTailor retrives them from the ad decision server.