MediaTailor / Client / configure_logs_for_playback_configuration

configure_logs_for_playback_configuration#

MediaTailor.Client.configure_logs_for_playback_configuration(**kwargs)#

Amazon CloudWatch log settings for a playback configuration.

See also: AWS API Documentation

Request Syntax

response = client.configure_logs_for_playback_configuration(
    PercentEnabled=123,
    PlaybackConfigurationName='string'
)
Parameters:
  • PercentEnabled (integer) –

    [REQUIRED]

    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 (string) –

    [REQUIRED]

    The name of the playback configuration.

Return type:

dict

Returns:

Response Syntax

{
    'PercentEnabled': 123,
    'PlaybackConfigurationName': 'string'
}

Response Structure

  • (dict) –

    • PercentEnabled (integer) –

      The percentage of session logs that MediaTailor sends to your Cloudwatch Logs account.

    • PlaybackConfigurationName (string) –

      The name of the playback configuration.