PrefetchRetrieval
¶
Used by
-
AsyncMediaTailorClient Operationscreate_prefetch_schedule -
MediaTailorClient Operationscreate_prefetch_schedule
Source code in docs_src/capo_mediatailor/types/prefetch_retrieval.py
dynamic_variables
instance-attribute
¶
dynamic_variables: NotRequired[__mapOf__string]
The dynamic variables to use for substitution during prefetch requests to the ad decision server (ADS).
You initially configure dynamic variables for the ADS URL when you set up your playback configuration. When you specify DynamicVariables for prefetch retrieval, MediaTailor includes the dynamic variables in the request to the ADS.
end_time
instance-attribute
¶
end_time: __timestampUnix
The time when prefetch retrieval ends for the ad break. Prefetching will be attempted for manifest requests that occur at or before this time.
start_time
instance-attribute
¶
start_time: NotRequired[__timestampUnix]
The time when prefetch retrievals can start for this break. Ad prefetching will be attempted for manifest requests that occur at or after this time. Defaults to the current time. If not specified, the prefetch retrieval starts as soon as possible.
traffic_shaping_retrieval_window
instance-attribute
¶
traffic_shaping_retrieval_window: NotRequired[TrafficShapingRetrievalWindow]
The configuration that tells Elemental MediaTailor how many seconds to spread out requests to the ad decision server (ADS). Instead of sending ADS requests for all sessions at the same time, MediaTailor spreads the requests across the amount of time specified in the retrieval window.
traffic_shaping_tps_configuration
instance-attribute
¶
traffic_shaping_tps_configuration: NotRequired[TrafficShapingTpsConfiguration]
The configuration for TPS-based traffic shaping. This approach limits requests to the ad decision server (ADS) based on transactions per second and concurrent users.
traffic_shaping_type
instance-attribute
¶
traffic_shaping_type: NotRequired[TrafficShapingType]
Indicates the type of traffic shaping used to limit the number of requests to the ADS at one time.