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.
Namespace: Amazon.Rekognition.Model
Assembly: AWSSDK.Rekognition.dll
Version: 3.x.y.z
public class DescribeProjectVersionsRequest : AmazonRekognitionRequest IAmazonWebServiceRequest
The DescribeProjectVersionsRequest type exposes the following members
Name | Description | |
---|---|---|
DescribeProjectVersionsRequest() |
Name | Type | Description | |
---|---|---|---|
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. |
|
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. |
|
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. |
|
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, |
Describes a version of 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;
.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