Skip to content

Delete Project Version

rekognition_delete_project_version R Documentation

Deletes a Rekognition project model or project version, like a Amazon Rekognition Custom Labels model or a custom adapter

Description

Deletes a Rekognition project model or project version, like a Amazon Rekognition Custom Labels model or a custom adapter.

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

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

Usage

rekognition_delete_project_version(ProjectVersionArn)

Arguments

ProjectVersionArn

[required] The Amazon Resource Name (ARN) of the project version that you want to delete.

Value

A list with the following syntax:

list(
  Status = "TRAINING_IN_PROGRESS"|"TRAINING_COMPLETED"|"TRAINING_FAILED"|"STARTING"|"RUNNING"|"FAILED"|"STOPPING"|"STOPPED"|"DELETING"|"COPYING_IN_PROGRESS"|"COPYING_COMPLETED"|"COPYING_FAILED"|"DEPRECATED"|"EXPIRED"
)

Request syntax

svc$delete_project_version(
  ProjectVersionArn = "string"
)

Examples

## Not run: 
# Deletes a version of an Amazon Rekognition Custom Labels model.
svc$delete_project_version(
  ProjectVersionArn = "arn:aws:rekognition:us-east-1:111122223333:project/m..."
)

## End(Not run)