Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

configure_logs_for_channel

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) --