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.

delete_log_stream

delete_log_stream(**kwargs)

Deletes the specified log stream and permanently deletes all the archived log events associated with the log stream.

See also: AWS API Documentation

Request Syntax

response = client.delete_log_stream(
    logGroupName='string',
    logStreamName='string'
)
Parameters
  • logGroupName (string) --

    [REQUIRED]

    The name of the log group.

  • logStreamName (string) --

    [REQUIRED]

    The name of the log stream.

Returns

None

Exceptions

  • CloudWatchLogs.Client.exceptions.InvalidParameterException
  • CloudWatchLogs.Client.exceptions.ResourceNotFoundException
  • CloudWatchLogs.Client.exceptions.OperationAbortedException
  • CloudWatchLogs.Client.exceptions.ServiceUnavailableException