2020/03/31 - Amazon Rekognition - 2 new api methods
Changes Update rekognition client to latest version
Deletes a version of a model.
You must first stop the model before you can delete it. To check if a model is running, use the Status field returned from DescribeProjectVersions. To stop a running model call StopProjectVersion.
This operation requires permissions to perform the rekognition:DeleteProjectVersion action.
See also: AWS API Documentation
Request Syntax
client.delete_project_version( ProjectVersionArn='string' )
string
[REQUIRED]
The Amazon Resource Name (ARN) of the model version that you want to delete.
dict
Response Syntax
{ 'Status': 'TRAINING_IN_PROGRESS'|'TRAINING_COMPLETED'|'TRAINING_FAILED'|'STARTING'|'RUNNING'|'FAILED'|'STOPPING'|'STOPPED'|'DELETING' }
Response Structure
(dict) --
Status (string) --
The status of the deletion operation.
Deletes an Amazon Rekognition Custom Labels project. To delete a project you must first delete all versions of the model associated with the project. To delete a version of a model, see DeleteProjectVersion.
This operation requires permissions to perform the rekognition:DeleteProject action.
See also: AWS API Documentation
Request Syntax
client.delete_project( ProjectArn='string' )
string
[REQUIRED]
The Amazon Resource Name (ARN) of the project that you want to delete.
dict
Response Syntax
{ 'Status': 'CREATING'|'CREATED'|'DELETING' }
Response Structure
(dict) --
Status (string) --
The current status of the delete project operation.