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

**********************
delete_scheduled_query
**********************



.. py:method:: CloudWatchLogs.Client.delete_scheduled_query(**kwargs)

  

  Deletes a scheduled query and stops all future executions. This operation also removes any configured actions and associated resources.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteScheduledQuery>`_  


  **Request Syntax**
  ::

    response = client.delete_scheduled_query(
        identifier='string'
    )
    
  :type identifier: string
  :param identifier: **[REQUIRED]** 

    The ARN or name of the scheduled query to delete.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`CloudWatchLogs.Client.exceptions.ValidationException`

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

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

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

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

  