stop_project_version(**kwargs)¶Stops a running model. The operation might take a while to complete. To check the current status, call DescribeProjectVersions.
See also: AWS API Documentation
Request Syntax
response = client.stop_project_version(
ProjectVersionArn='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the model version that you want to delete.
This operation requires permissions to perform the rekognition:StopProjectVersion action.
{
'Status': 'TRAINING_IN_PROGRESS'|'TRAINING_COMPLETED'|'TRAINING_FAILED'|'STARTING'|'RUNNING'|'FAILED'|'STOPPING'|'STOPPED'|'DELETING'|'COPYING_IN_PROGRESS'|'COPYING_COMPLETED'|'COPYING_FAILED'
}
Response Structure
The current status of the stop operation.
Exceptions
Rekognition.Client.exceptions.ResourceNotFoundExceptionRekognition.Client.exceptions.ResourceInUseExceptionRekognition.Client.exceptions.InvalidParameterExceptionRekognition.Client.exceptions.AccessDeniedExceptionRekognition.Client.exceptions.InternalServerErrorRekognition.Client.exceptions.ThrottlingExceptionRekognition.Client.exceptions.ProvisionedThroughputExceededException