AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the DeleteProjectVersion operation. 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 DescribeProjectVersions. To stop a project version call StopProjectVersion. If the project version is training, wait until it finishes.
This operation requires permissions to perform the rekognition:DeleteProjectVersion
action.
Namespace: Amazon.Rekognition.Model
Assembly: AWSSDK.Rekognition.dll
Version: 3.x.y.z
public class DeleteProjectVersionRequest : AmazonRekognitionRequest IAmazonWebServiceRequest
The DeleteProjectVersionRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
DeleteProjectVersionRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
ProjectVersionArn | System.String |
Gets and sets the property ProjectVersionArn. The Amazon Resource Name (ARN) of the project version that you want to delete. |
Deletes a version of an Amazon Rekognition Custom Labels model.
var client = new AmazonRekognitionClient(); var response = client.DeleteProjectVersion(new DeleteProjectVersionRequest { ProjectVersionArn = "arn:aws:rekognition:us-east-1:111122223333:project/my-project/version/1/1690556751958" }); string status = response.Status;
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5