:doc:`CloudWatchLogs <../../logs>` / Client / delete_log_stream

*****************
delete_log_stream
*****************



.. py:method:: 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 <https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogStream>`_  


  **Request Syntax**
  ::

    response = client.delete_log_stream(
        logGroupName='string',
        logStreamName='string'
    )
    
  :type logGroupName: string
  :param logGroupName: **[REQUIRED]** 

    The name of the log group.

    

  
  :type logStreamName: string
  :param logStreamName: **[REQUIRED]** 

    The name of the log stream.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`CloudWatchLogs.Client.exceptions.InvalidParameterException`

  
  *   :py:class:`CloudWatchLogs.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`CloudWatchLogs.Client.exceptions.OperationAbortedException`

  
  *   :py:class:`CloudWatchLogs.Client.exceptions.ServiceUnavailableException`

  
  *   :py:class:`CloudWatchLogs.Client.exceptions.ValidationException`

  