:doc:`CloudWatchInternetMonitor <../../internetmonitor>` / Client / stop_query

**********
stop_query
**********



.. py:method:: CloudWatchInternetMonitor.Client.stop_query(**kwargs)

  

  Stop a query that is progress for a specific monitor.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/StopQuery>`_  


  **Request Syntax**
  ::

    response = client.stop_query(
        MonitorName='string',
        QueryId='string'
    )
    
  :type MonitorName: string
  :param MonitorName: **[REQUIRED]** 

    The name of the monitor.

    

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

    The ID of the query that you want to stop. A ``QueryId`` is an internally-generated identifier for a specific query.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`CloudWatchInternetMonitor.Client.exceptions.InternalServerException`

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

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

  
  *   :py:class:`CloudWatchInternetMonitor.Client.exceptions.LimitExceededException`

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

  