Skip to content

PrefetchConsumption

Source code in docs_src/capo_mediatailor/types/prefetch_consumption.py
class PrefetchConsumption(TypedDict, closed=True):
    avail_matching_criteria: NotRequired[
        "capo_mediatailor.types.__list_of_avail_matching_criteria.__listOfAvailMatchingCriteria"
    ]
    """<p>If you only want MediaTailor to insert prefetched ads into avails (ad breaks) that match specific dynamic variables, such as <code>scte.event_id</code>, set the avail matching criteria.</p>"""
    end_time: "capo_mediatailor.types.__timestamp_unix.__timestampUnix"
    """<p>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 <code>DeletePrefetchSchedule</code>.</p>"""
    start_time: NotRequired["capo_mediatailor.types.__timestamp_unix.__timestampUnix"]
    """<p>The time when prefetched ads are considered for use in an ad break. If you don't specify <code>StartTime</code>, the prefetched ads are available after MediaTailor retrieves them from the ad decision server.</p>"""

avail_matching_criteria instance-attribute

avail_matching_criteria: NotRequired[__listOfAvailMatchingCriteria]

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.

end_time instance-attribute

end_time: __timestampUnix

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.

start_time instance-attribute

start_time: NotRequired[__timestampUnix]

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 retrieves them from the ad decision server.