AWS SDK Version 3 for .NET
API Reference

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 DescribeProjectVersions operation. Lists and describes the versions of an Amazon Rekognition project. You can specify up to 10 model or adapter versions in ProjectVersionArns. If you don't specify a value, descriptions for all model/adapter versions in the project are returned.

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

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Rekognition.AmazonRekognitionRequest
      Amazon.Rekognition.Model.DescribeProjectVersionsRequest

Namespace: Amazon.Rekognition.Model
Assembly: AWSSDK.Rekognition.dll
Version: 3.x.y.z

Syntax

C#
public class DescribeProjectVersionsRequest : AmazonRekognitionRequest
         IAmazonWebServiceRequest

The DescribeProjectVersionsRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property MaxResults System.Int32

Gets and sets the property MaxResults.

The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.

Public Property NextToken System.String

Gets and sets the property NextToken.

If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

Public Property ProjectArn System.String

Gets and sets the property ProjectArn.

The Amazon Resource Name (ARN) of the project that contains the model/adapter you want to describe.

Public Property VersionNames System.Collections.Generic.List<System.String>

Gets and sets the property VersionNames.

A list of model or project version names that you want to describe. You can add up to 10 model or project version names to the list. If you don't specify a value, all project version descriptions are returned. A version name is part of a project version ARN. For example, my-model.2020-01-21T09.10.15 is the version name in the following ARN. arn:aws:rekognition:us-east-1:123456789012:project/getting-started/version/my-model.2020-01-21T09.10.15/1234567890123.

Examples

Describes a version of an Amazon Rekognition Custom Labels model.

To describe an Amazon Rekognition Custom Labels model


var client = new AmazonRekognitionClient();
var response = client.DescribeProjectVersions(new DescribeProjectVersionsRequest 
{
    ProjectArn = "arn:aws:rekognition:us-east-1:111122223333:project/my-project/1690474772815",
    VersionNames = new List<string> {
        "1"
    }
});

string nextToken = response.NextToken;
List<ProjectVersionDescription> projectVersionDescriptions = response.ProjectVersionDescriptions;

            

Version Information

.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