:doc:`Athena <../../athena>` / Client / update_capacity_reservation

***************************
update_capacity_reservation
***************************



.. py:method:: Athena.Client.update_capacity_reservation(**kwargs)

  

  Updates the number of requested data processing units for the capacity reservation with the specified name.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/UpdateCapacityReservation>`_  


  **Request Syntax**
  ::

    response = client.update_capacity_reservation(
        TargetDpus=123,
        Name='string'
    )
    
  :type TargetDpus: integer
  :param TargetDpus: **[REQUIRED]** 

    The new number of requested data processing units.

    

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

    The name of the capacity reservation.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`Athena.Client.exceptions.InvalidRequestException`

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

  