MachineLearning / Client / update_batch_prediction

update_batch_prediction#

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

Request Syntax

response = client.update_batch_prediction(
    BatchPredictionId='string',
    BatchPredictionName='string'
)
Parameters:
  • BatchPredictionId (string) –

    [REQUIRED]

    The ID assigned to the BatchPrediction during creation.

  • BatchPredictionName (string) –

    [REQUIRED]

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

Return type:

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