:doc:`Omics <../../omics>` / Client / update_run_cache

****************
update_run_cache
****************



.. py:method:: Omics.Client.update_run_cache(**kwargs)

  

  Updates a run cache using its ID and returns a response with no body if the operation is successful. You can update the run cache description, name, or the default run cache behavior with ``CACHE_ON_FAILURE`` or ``CACHE_ALWAYS``. To confirm that your run cache settings have been properly updated, use the ``GetRunCache`` API operation.

   

  For more information, see `How call caching works <https://docs.aws.amazon.com/omics/latest/dev/how-run-cache.html>`__ in the *Amazon Web Services HealthOmics User Guide*.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/UpdateRunCache>`_  


  **Request Syntax**
  ::

    response = client.update_run_cache(
        cacheBehavior='CACHE_ON_FAILURE'|'CACHE_ALWAYS',
        description='string',
        id='string',
        name='string'
    )
    
  :type cacheBehavior: string
  :param cacheBehavior: 

    Update the default run cache behavior.

    

  
  :type description: string
  :param description: 

    Update the run cache description.

    

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

    The identifier of the run cache you want to update.

    

  
  :type name: string
  :param name: 

    Update the name of the run cache.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`Omics.Client.exceptions.InternalServerException`

  
  *   :py:class:`Omics.Client.exceptions.ServiceQuotaExceededException`

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

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

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

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

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

  
  *   :py:class:`Omics.Client.exceptions.RequestTimeoutException`

  