Amazon MediaTailor · JSON Structure

Mediatailor Api Configure Logs For Playback Configuration Request Structure

Configures Amazon CloudWatch log settings for a playback configuration.

Type: object Properties: 2 Required: 2
BroadcastingMedia ProcessingMedia

ConfigureLogsForPlaybackConfigurationRequest is a JSON Structure definition published by Amazon MediaTailor, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

PercentEnabled PlaybackConfigurationName

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-mediatailor/refs/heads/main/json-structure/mediatailor-api-configure-logs-for-playback-configuration-request-structure.json",
  "name": "ConfigureLogsForPlaybackConfigurationRequest",
  "type": "object",
  "description": "Configures Amazon CloudWatch log settings for a playback configuration.",
  "properties": {
    "PercentEnabled": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__integer"
        },
        {
          "description": "<p>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 <code>60</code>, 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 <a href=\"https://docs.aws.amazon.com/mediatailor/latest/ug/debug-log-mode.html\">debug log mode</a>.</p> <p>Valid values: <code>0</code> - <code>100</code> </p>"
        }
      ]
    },
    "PlaybackConfigurationName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__string"
        },
        {
          "description": "The name of the playback configuration."
        }
      ]
    }
  },
  "required": [
    "PercentEnabled",
    "PlaybackConfigurationName"
  ]
}