v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1428150188.6 KB

Updates the MLModelName and the ScoreThreshold of an MLModel.

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

post/#X-Amz-Target=AmazonML_20141212.UpdateMLModel

Headers

X-Amz-Target'AmazonML_20141212.UpdateMLModel' required

Request body

MLModelIdstring required

The ID assigned to the <code>MLModel</code> during creation.

MLModelNamestring

A user-supplied name or description of the <code>MLModel</code>.

ScoreThresholdnumber float
<p>The <code>ScoreThreshold</code> used in binary classification <code>MLModel</code> that marks the boundary between a positive prediction and a negative prediction.</p> <p>Output values greater than or equal to the <code>ScoreThreshold</code> receive a positive result from the <code>MLModel</code>, such as <code>true</code>. Output values less than the <code>ScoreThreshold</code> receive a negative response from the <code>MLModel</code>, such as <code>false</code>.</p>

Response

Success

MLModelIdstring

The ID assigned to the <code>MLModel</code> during creation. This value should be identical to the value of the <code>MLModelID</code> in the request.