v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1465453454.1 KB

Deletes an Amazon Rekognition Custom Labels model.

You can't delete a model if it is running or if it is training. To check the status of a model, use the Status field returned from DescribeProjectVersions. To stop a running model call StopProjectVersion. If the model is training, wait until it finishes.

This operation requires permissions to perform the rekognition:DeleteProjectVersion action.

post/#X-Amz-Target=RekognitionService.DeleteProjectVersion

Headers

X-Amz-Target'RekognitionService.DeleteProjectVersion' required

Request body

ProjectVersionArnstring required

The Amazon Resource Name (ARN) of the model version that you want to delete.

Response

Success

Status'TRAINING_IN_PROGRESS' | 'TRAINING_COMPLETED' | 'TRAINING_FAILED' | 'STARTING' | 'RUNNING' | 'FAILED' | 'STOPPING' | 'STOPPED' | 'DELETING' | 'COPYING_IN_PROGRESS' | 'COPYING_COMPLETED' | 'COPYING_FAILED'

The status of the deletion operation.