Skip to content

LogConfiguration

Source code in docs_src/capo_mediatailor/types/log_configuration.py
class LogConfiguration(TypedDict, closed=True):
    percent_enabled: "capo_mediatailor.types.__integer.__integer"
    """<p>The percentage of session logs that MediaTailor sends to your configured log destination. For example, if your playback configuration has 1000 sessions and <code>percentEnabled</code> 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>"""
    enabled_logging_strategies: NotRequired[
        "capo_mediatailor.types.__list_of_logging_strategies.__listOfLoggingStrategies"
    ]
    """<p>The method used for collecting logs from AWS Elemental MediaTailor. <code>LEGACY_CLOUDWATCH</code> indicates that MediaTailor is sending logs directly to Amazon CloudWatch Logs. <code>VENDED_LOGS</code> 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. </p>"""
    ads_interaction_log: NotRequired[
        "capo_mediatailor.types.ads_interaction_log.AdsInteractionLog"
    ]
    """<p>Settings for customizing what events are included in logs for interactions with the ad decision server (ADS).</p>"""
    manifest_service_interaction_log: NotRequired[
        "capo_mediatailor.types.manifest_service_interaction_log.ManifestServiceInteractionLog"
    ]
    """<p>Settings for customizing what events are included in logs for interactions with the origin server.</p>"""

ads_interaction_log instance-attribute

ads_interaction_log: NotRequired[AdsInteractionLog]

Settings for customizing what events are included in logs for interactions with the ad decision server (ADS).

enabled_logging_strategies instance-attribute

enabled_logging_strategies: NotRequired[__listOfLoggingStrategies]

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.

manifest_service_interaction_log instance-attribute

manifest_service_interaction_log: NotRequired[ManifestServiceInteractionLog]

Settings for customizing what events are included in logs for interactions with the origin server.

percent_enabled instance-attribute

percent_enabled: __integer

The percentage of session logs that MediaTailor sends to your configured log destination. 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