delete_log_stream

CloudWatchLogs.Client.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