Amazon MediaTailor · Schema

CreatePrefetchScheduleRequest

CreatePrefetchScheduleRequest schema from Amazon MediaTailor API

BroadcastingMedia ProcessingMedia

Properties

Name Type Description
Consumption object
Retrieval object
StreamId object
View JSON Schema on GitHub

JSON Schema

mediatailor-api-create-prefetch-schedule-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-mediatailor/refs/heads/main/json-schema/mediatailor-api-create-prefetch-schedule-request-schema.json",
  "title": "CreatePrefetchScheduleRequest",
  "description": "CreatePrefetchScheduleRequest schema from Amazon MediaTailor API",
  "type": "object",
  "properties": {
    "Consumption": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PrefetchConsumption"
        },
        {
          "description": "The configuration settings for MediaTailor's <i>consumption</i> of the prefetched ads from the ad decision server. Each consumption configuration contains an end time and an optional start time that define the <i>consumption window</i>. Prefetch schedules automatically expire no earlier than seven days after the end time."
        }
      ]
    },
    "Retrieval": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PrefetchRetrieval"
        },
        {
          "description": "The configuration settings for retrieval of prefetched ads from the ad decision server. Only one set of prefetched ads will be retrieved and subsequently consumed for each ad break."
        }
      ]
    },
    "StreamId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__string"
        },
        {
          "description": "An optional stream identifier that MediaTailor uses to prefetch ads for multiple streams that use the same playback configuration. If <code>StreamId</code> is specified, MediaTailor returns all of the prefetch schedules with an exact match on <code>StreamId</code>. If not specified, MediaTailor returns all of the prefetch schedules for the playback configuration, regardless of <code>StreamId</code>."
        }
      ]
    }
  },
  "required": [
    "Consumption",
    "Retrieval"
  ]
}