:doc:`TimestreamQuery <../../timestream-query>` / Client / update_scheduled_query

**********************
update_scheduled_query
**********************



.. py:method:: TimestreamQuery.Client.update_scheduled_query(**kwargs)

  

  Update a scheduled query.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/UpdateScheduledQuery>`_  


  **Request Syntax**
  ::

    response = client.update_scheduled_query(
        ScheduledQueryArn='string',
        State='ENABLED'|'DISABLED'
    )
    
  :type ScheduledQueryArn: string
  :param ScheduledQueryArn: **[REQUIRED]** 

    ARN of the scheuled query.

    

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

    State of the scheduled query.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`TimestreamQuery.Client.exceptions.AccessDeniedException`

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

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

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

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

  
  *   :py:class:`TimestreamQuery.Client.exceptions.InvalidEndpointException`

  