

# RecurringRetrieval
<a name="API_RecurringRetrieval"></a>

With recurring prefetch, MediaTailor automatically prefetches ads for every avail that occurs during the retrieval window. The following configurations describe the MediaTailor behavior when prefetching ads for a live event.

## Contents
<a name="API_RecurringRetrieval_Contents"></a>

 ** DelayAfterAvailEndSeconds **   <a name="mediatailor-Type-RecurringRetrieval-DelayAfterAvailEndSeconds"></a>
The number of seconds that MediaTailor waits after an ad avail before prefetching ads for the next avail. If not set, the default is 0 (no delay).  
Type: Integer  
Required: No

 ** DynamicVariables **   <a name="mediatailor-Type-RecurringRetrieval-DynamicVariables"></a>
The dynamic variables to use for substitution during prefetch requests to the ADS.  
Type: String to string map  
Required: No

 ** TrafficShapingRetrievalWindow **   <a name="mediatailor-Type-RecurringRetrieval-TrafficShapingRetrievalWindow"></a>
Configuration for spreading ADS traffic across a set window instead of sending ADS requests for all sessions at the same time.  
Type: [TrafficShapingRetrievalWindow](API_TrafficShapingRetrievalWindow.md) object  
Required: No

 ** TrafficShapingType **   <a name="mediatailor-Type-RecurringRetrieval-TrafficShapingType"></a>
Indicates if this configuration uses a retrieval window for traffic shaping and limiting the number of requests to the ADS at one time.  
Type: String  
Valid Values: `RETRIEVAL_WINDOW`   
Required: No

## See Also
<a name="API_RecurringRetrieval_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/mediatailor-2018-04-23/RecurringRetrieval) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/mediatailor-2018-04-23/RecurringRetrieval) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/mediatailor-2018-04-23/RecurringRetrieval) 