:doc:`MediaTailor <../../mediatailor>` / Client / delete_prefetch_schedule

************************
delete_prefetch_schedule
************************



.. py:method:: MediaTailor.Client.delete_prefetch_schedule(**kwargs)

  

  Deletes a prefetch schedule for a specific playback configuration. If you call ``DeletePrefetchSchedule`` on an expired prefetch schedule, MediaTailor returns an HTTP 404 status code. For more information about ad prefetching, see `Using ad prefetching <https://docs.aws.amazon.com/mediatailor/latest/ug/prefetching-ads.html>`__ in the *MediaTailor User Guide*.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeletePrefetchSchedule>`_  


  **Request Syntax**
  ::

    response = client.delete_prefetch_schedule(
        Name='string',
        PlaybackConfigurationName='string'
    )
    
  :type Name: string
  :param Name: **[REQUIRED]** 

    The name of the prefetch schedule. If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

    

  
  :type PlaybackConfigurationName: string
  :param PlaybackConfigurationName: **[REQUIRED]** 

    The name of the playback configuration for this prefetch schedule.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  