:doc:`MachineLearning <../../machinelearning>` / Client / update_batch_prediction

***********************
update_batch_prediction
***********************



.. py:method:: MachineLearning.Client.update_batch_prediction(**kwargs)

  

  Updates the ``BatchPredictionName`` of a ``BatchPrediction``.

   

  You can use the ``GetBatchPrediction`` operation to view the contents of the updated data element.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/machinelearning-2014-12-12/UpdateBatchPrediction>`_  


  **Request Syntax**
  ::

    response = client.update_batch_prediction(
        BatchPredictionId='string',
        BatchPredictionName='string'
    )
    
  :type BatchPredictionId: string
  :param BatchPredictionId: **[REQUIRED]** 

    The ID assigned to the ``BatchPrediction`` during creation.

    

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

    A new user-supplied name or description of the ``BatchPrediction``.

    

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

    
    ::

      {
          'BatchPredictionId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 

      Represents the output of an ``UpdateBatchPrediction`` operation.

       

      You can see the updated content by using the ``GetBatchPrediction`` operation.

      
      

      - **BatchPredictionId** *(string) --* 

        The ID assigned to the ``BatchPrediction`` during creation. This value should be identical to the value of the ``BatchPredictionId`` in the request.

        
  
  **Exceptions**
  
  *   :py:class:`MachineLearning.Client.exceptions.InvalidInputException`

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

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

  