:doc:`KendraRanking <../../kendra-ranking>` / Client / update_rescore_execution_plan

*****************************
update_rescore_execution_plan
*****************************



.. py:method:: KendraRanking.Client.update_rescore_execution_plan(**kwargs)

  

  Updates a rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking resource used for provisioning the ``Rescore`` API. You can update the number of capacity units you require for Amazon Kendra Intelligent Ranking to rescore or re-rank a search service's results.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/kendra-ranking-2022-10-19/UpdateRescoreExecutionPlan>`_  


  **Request Syntax**
  ::

    response = client.update_rescore_execution_plan(
        Id='string',
        Name='string',
        Description='string',
        CapacityUnits={
            'RescoreCapacityUnits': 123
        }
    )
    
  :type Id: string
  :param Id: **[REQUIRED]** 

    The identifier of the rescore execution plan that you want to update.

    

  
  :type Name: string
  :param Name: 

    A new name for the rescore execution plan.

    

  
  :type Description: string
  :param Description: 

    A new description for the rescore execution plan.

    

  
  :type CapacityUnits: dict
  :param CapacityUnits: 

    You can set additional capacity units to meet the needs of your rescore execution plan. You are given a single capacity unit by default. If you want to use the default capacity, you don't set additional capacity units. For more information on the default capacity and additional capacity units, see `Adjusting capacity <https://docs.aws.amazon.com/kendra/latest/dg/adjusting-capacity.html>`__.

    

  
    - **RescoreCapacityUnits** *(integer) --* **[REQUIRED]** 

      The amount of extra capacity for your rescore execution plan.

       

      A single extra capacity unit for a rescore execution plan provides 0.01 rescore requests per second. You can add up to 1000 extra capacity units.

      

    
  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`KendraRanking.Client.exceptions.ValidationException`

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

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

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

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

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

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

  