:doc:`SecurityLake <../../securitylake>` / Client / delete_custom_log_source

************************
delete_custom_log_source
************************



.. py:method:: SecurityLake.Client.delete_custom_log_source(**kwargs)

  

  Removes a custom log source from Amazon Security Lake, to stop sending data from the custom source to Security Lake.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/securitylake-2018-05-10/DeleteCustomLogSource>`_  


  **Request Syntax**
  ::

    response = client.delete_custom_log_source(
        sourceName='string',
        sourceVersion='string'
    )
    
  :type sourceName: string
  :param sourceName: **[REQUIRED]** 

    The source name of custom log source that you want to delete.

    

  
  :type sourceVersion: string
  :param sourceVersion: 

    The source version for the third-party custom source. You can limit the custom source removal to the specified source version.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`SecurityLake.Client.exceptions.BadRequestException`

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

  
  *   :py:class:`SecurityLake.Client.exceptions.InternalServerException`

  
  *   :py:class:`SecurityLake.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`SecurityLake.Client.exceptions.ConflictException`

  
  *   :py:class:`SecurityLake.Client.exceptions.ThrottlingException`

  