Rekognition / Client / stop_project_version
stop_project_version¶
- Rekognition.Client.stop_project_version(**kwargs)¶
Note
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:StopProjectVersionaction.See also: AWS API Documentation
Request Syntax
response = client.stop_project_version( ProjectVersionArn='string' )
- Parameters:
ProjectVersionArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the model version that you want to stop.
This operation requires permissions to perform the
rekognition:StopProjectVersionaction.- Return type:
dict
- Returns:
Response Syntax
{ 'Status': 'TRAINING_IN_PROGRESS'|'TRAINING_COMPLETED'|'TRAINING_FAILED'|'STARTING'|'RUNNING'|'FAILED'|'STOPPING'|'STOPPED'|'DELETING'|'COPYING_IN_PROGRESS'|'COPYING_COMPLETED'|'COPYING_FAILED'|'DEPRECATED'|'EXPIRED' }
Response Structure
(dict) –
Status (string) –
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