stopProjectVersion
abstract suspend fun stopProjectVersion(input: StopProjectVersionRequest): StopProjectVersionResponse
This operation applies only to Amazon Rekognition Custom Labels.
Stops a running model. The operation might take a while to complete. To check the current status, call DescribeProjectVersions. Only applies to Custom Labels projects.
This operation requires permissions to perform the rekognition:StopProjectVersion
action.
Samples
fun main() {
//sampleStart
// Stops a version of an Amazon Rekognition Custom Labels model.
val resp = rekognitionClient.stopProjectVersion {
projectVersionArn = "arn:aws:rekognition:us-east-1:111122223333:project/my-project/version/1/1690556751958"
}
//sampleEnd
}