Amazon MediaTailor Configure Logs API

The Configure Logs API from Amazon MediaTailor — 2 operation(s) for configure logs.

GitHub OpenAPI

Operations 2

PUT /configureLogs/playbackConfiguration Configure Logs For Playback Configuration #
PUT /configureLogs/channel Configure Logs For Channel #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-mediatailor:amazon-mediatailor-configure-logs-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-mediatailor-configure-logs-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS MediaTailor Configure Logs API
  version: '2018-04-23'
  description: Generated from AWS's published Smithy model for AWS MediaTailor. 2 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://api.mediatailor.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /configureLogs/playbackConfiguration:
    put:
      operationId: ConfigureLogsForPlaybackConfiguration
      summary: Configure Logs For Playback Configuration
      description: Defines where AWS Elemental MediaTailor sends logs for the playback configuration.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConfigureLogsForPlaybackConfigurationResponse'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                PercentEnabled:
                  type: integer
                  description: 'The percentage of session logs that MediaTailor sends to your CloudWatch Logs account. For
                    example, if your playback configuration has 1000 sessions and percentEnabled is set to 60, MediaTailor
                    sends logs for 600 of the sessions to CloudWatch Logs. MediaTailor decides at random which of the playback
                    configuration sessions to send logs for. If you want to view logs for a specific session, you can use
                    the debug log mode. Valid values: 0 - 100'
                PlaybackConfigurationName:
                  type: string
                  description: The name of the playback configuration.
                EnabledLoggingStrategies:
                  type: array
                  items:
                    type: string
                    enum:
                    - VENDED_LOGS
                    - LEGACY_CLOUDWATCH
                  description: The method used for collecting logs from AWS Elemental MediaTailor. To configure MediaTailor
                    to send logs directly to Amazon CloudWatch Logs, choose LEGACY_CLOUDWATCH. To configure MediaTailor to
                    send logs to CloudWatch, which then vends the logs to your destination of choice, choose VENDED_LOGS.
                    Supported destinations are CloudWatch Logs log group, Amazon S3 bucket, and Amazon Data Firehose stream.
                    To use vended logs, you must configure the delivery destination in Amazon CloudWatch, as described in
                    Enable logging from AWS services, Logging that requires additional permissions [V2].
                AdsInteractionLog:
                  $ref: '#/components/schemas/AdsInteractionLog'
                ManifestServiceInteractionLog:
                  $ref: '#/components/schemas/ManifestServiceInteractionLog'
              required:
              - PercentEnabled
              - PlaybackConfigurationName
      tags:
      - Configure Logs
  /configureLogs/channel:
    put:
      operationId: ConfigureLogsForChannel
      summary: Configure Logs For Channel
      description: Configures Amazon CloudWatch log settings for a channel.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConfigureLogsForChannelResponse'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                ChannelName:
                  type: string
                  description: The name of the channel.
                LogTypes:
                  type: array
                  items:
                    type: string
                    enum:
                    - AS_RUN
                  description: The types of logs to collect.
              required:
              - ChannelName
              - LogTypes
      tags:
      - Configure Logs
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: mediatailor
  schemas:
    AdsInteractionLog:
      type: object
      properties:
        PublishOptInEventTypes:
          type: array
          items:
            type: string
            enum:
            - RAW_ADS_RESPONSE
            - RAW_ADS_REQUEST
            - RAW_BID_REQUEST
            - RAW_BID_RESPONSE
            - PRE_ADS_REQUEST_HOOK_SUMMARY
            - PRE_ADS_REQUEST_FUNCTION_COMPLETED
            - POST_ADS_RESPONSE_HOOK_SUMMARY
            - POST_ADS_RESPONSE_FUNCTION_COMPLETED
            - PRE_MANIFEST_INSERTION_HOOK_SUMMARY
            - PRE_MANIFEST_INSERTION_FUNCTION_COMPLETED
          description: Indicates that MediaTailor will emit the selected events in the logs for playback sessions that are
            initialized with this configuration. These events are not emitted by default and must be explicitly opted in.
            For descriptions of each event type, see MediaTailor ADS logs description and event types in Elemental MediaTailor
            User Guide.
        ExcludeEventTypes:
          type: array
          items:
            type: string
            enum:
            - AD_MARKER_FOUND
            - NON_AD_MARKER_FOUND
            - MAKING_ADS_REQUEST
            - MODIFIED_TARGET_URL
            - VAST_REDIRECT
            - EMPTY_VAST_RESPONSE
            - EMPTY_VMAP_RESPONSE
            - VAST_RESPONSE
            - REDIRECTED_VAST_RESPONSE
            - FILLED_AVAIL
            - FILLED_OVERLAY_AVAIL
            - BEACON_FIRED
            - WARNING_NO_ADVERTISEMENTS
            - WARNING_VPAID_AD_DROPPED
            - WARNING_URL_VARIABLE_SUBSTITUTION_FAILED
            - ERROR_UNKNOWN
            - ERROR_UNKNOWN_HOST
            - ERROR_DISALLOWED_HOST
            - ERROR_ADS_IO
            - ERROR_ADS_TIMEOUT
            - ERROR_ADS_RESPONSE_PARSE
            - ERROR_ADS_RESPONSE_UNKNOWN_ROOT_ELEMENT
            - ERROR_ADS_INVALID_RESPONSE
            - ERROR_VAST_REDIRECT_EMPTY_RESPONSE
            - ERROR_VAST_REDIRECT_MULTIPLE_VAST
            - ERROR_VAST_REDIRECT_FAILED
            - ERROR_VAST_MISSING_MEDIAFILES
            - ERROR_VAST_MISSING_CREATIVES
            - ERROR_VAST_MISSING_OVERLAYS
            - ERROR_VAST_MISSING_IMPRESSION
            - ERROR_VAST_INVALID_VAST_AD_TAG_URI
            - ERROR_VAST_MULTIPLE_TRACKING_EVENTS
            - ERROR_VAST_MULTIPLE_LINEAR
            - ERROR_VAST_INVALID_MEDIA_FILE
            - ERROR_FIRING_BEACON_FAILED
            - ERROR_PERSONALIZATION_DISABLED
            - VOD_TIME_BASED_AVAIL_PLAN_VAST_RESPONSE_FOR_OFFSET
            - VOD_TIME_BASED_AVAIL_PLAN_SUCCESS
            - VOD_TIME_BASED_AVAIL_PLAN_WARNING_NO_ADVERTISEMENTS
            - INTERSTITIAL_VOD_SUCCESS
            - INTERSTITIAL_VOD_FAILURE
            - PRE_ADS_REQUEST_HOOK_ERROR
            - PRE_ADS_REQUEST_FUNCTION_ERROR
            - BEACON_RECEIVED
            - POST_ADS_RESPONSE_HOOK_ERROR
            - POST_ADS_RESPONSE_FUNCTION_ERROR
            - PRE_MANIFEST_INSERTION_HOOK_ERROR
            - PRE_MANIFEST_INSERTION_FUNCTION_ERROR
          description: Indicates that MediaTailor won't emit the selected events in the logs for playback sessions that are
            initialized with this configuration.
    ConfigureLogsForChannelResponse:
      type: object
      properties:
        ChannelName:
          type: string
          description: The name of the channel.
        LogTypes:
          type: array
          items:
            type: string
            enum:
            - AS_RUN
          description: The types of logs collected.
    ConfigureLogsForPlaybackConfigurationResponse:
      type: object
      properties:
        PercentEnabled:
          type: integer
          description: The percentage of session logs that MediaTailor sends to your Cloudwatch Logs account.
        PlaybackConfigurationName:
          type: string
          description: The name of the playback configuration.
        EnabledLoggingStrategies:
          type: array
          items:
            type: string
            enum:
            - VENDED_LOGS
            - LEGACY_CLOUDWATCH
          description: The method used for collecting logs from AWS Elemental MediaTailor. LEGACY_CLOUDWATCH indicates that
            MediaTailor is sending logs directly to Amazon CloudWatch Logs. VENDED_LOGS indicates that MediaTailor is sending
            logs to CloudWatch, which then vends the logs to your destination of choice. Supported destinations are CloudWatch
            Logs log group, Amazon S3 bucket, and Amazon Data Firehose stream.
        AdsInteractionLog:
          $ref: '#/components/schemas/AdsInteractionLog'
        ManifestServiceInteractionLog:
          $ref: '#/components/schemas/ManifestServiceInteractionLog'
      required:
      - PercentEnabled
    ManifestServiceInteractionLog:
      type: object
      properties:
        PublishOptInEventTypes:
          type: array
          items:
            type: string
            enum:
            - PRE_SESSION_INIT_HOOK_SUMMARY
            - PRE_SESSION_INIT_FUNCTION_COMPLETED
          description: Indicates that MediaTailor will emit the selected events in the logs for playback sessions that are
            initialized with this configuration. These events are not emitted by default and must be explicitly opted in.
        ExcludeEventTypes:
          type: array
          items:
            type: string
            enum:
            - GENERATED_MANIFEST
            - ORIGIN_MANIFEST
            - SESSION_INITIALIZED
            - TRACKING_RESPONSE
            - CONFIG_SYNTAX_ERROR
            - CONFIG_SECURITY_ERROR
            - UNKNOWN_HOST
            - TIMEOUT_ERROR
            - CONNECTION_ERROR
            - IO_ERROR
            - UNKNOWN_ERROR
            - HOST_DISALLOWED
            - PARSING_ERROR
            - MANIFEST_ERROR
            - NO_MASTER_OR_MEDIA_PLAYLIST
            - NO_MASTER_PLAYLIST
            - NO_MEDIA_PLAYLIST
            - INCOMPATIBLE_HLS_VERSION
            - SCTE35_PARSING_ERROR
            - INVALID_SINGLE_PERIOD_DASH_MANIFEST
            - UNSUPPORTED_SINGLE_PERIOD_DASH_MANIFEST
            - LAST_PERIOD_MISSING_AUDIO
            - LAST_PERIOD_MISSING_AUDIO_WARNING
            - ERROR_ORIGIN_PREFIX_INTERPOLATION
            - ERROR_ADS_INTERPOLATION
            - ERROR_LIVE_PRE_ROLL_ADS_INTERPOLATION
            - ERROR_CDN_AD_SEGMENT_INTERPOLATION
            - ERROR_CDN_CONTENT_SEGMENT_INTERPOLATION
            - ERROR_SLATE_AD_URL_INTERPOLATION
            - ERROR_PROFILE_NAME_INTERPOLATION
            - ERROR_BUMPER_START_INTERPOLATION
            - ERROR_BUMPER_END_INTERPOLATION
            - PRE_SESSION_INIT_HOOK_ERROR
            - PRE_SESSION_INIT_FUNCTION_ERROR
          description: Indicates that MediaTailor won't emit the selected events in the logs for playback sessions that are
            initialized with this configuration.
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/mediatailor/service/2018-04-23/mediatailor-2018-04-23.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)