configure_logs_for_channel

MediaTailor.Client.configure_logs_for_channel(**kwargs)

Configures Amazon CloudWatch log settings for a channel.

See also: AWS API Documentation

Request Syntax

response = client.configure_logs_for_channel(
    ChannelName='string',
    LogTypes=[
        'AS_RUN',
    ]
)
Parameters
  • ChannelName (string) --

    [REQUIRED]

    The name of the channel.

  • LogTypes (list) --

    [REQUIRED]

    The types of logs to collect.

    • (string) --
Return type

dict

Returns

Response Syntax

{
    'ChannelName': 'string',
    'LogTypes': [
        'AS_RUN',
    ]
}

Response Structure

  • (dict) --

    • ChannelName (string) --

      The name of the channel.

    • LogTypes (list) --

      The types of logs collected.

      • (string) --