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.

This is the response object from the ListDatasetEntries operation.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.Rekognition.Model.ListDatasetEntriesResponse

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

Syntax

C#
public class ListDatasetEntriesResponse : AmazonWebServiceResponse

The ListDatasetEntriesResponse type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property DatasetEntries System.Collections.Generic.List<System.String>

Gets and sets the property DatasetEntries.

A list of entries (images) in the dataset.

Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
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 Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.

Examples

Lists the JSON line entries in an Amazon Rekognition Custom Labels dataset.

To list the entries in an Amazon Rekognition Custom Labels dataset


var client = new AmazonRekognitionClient();
var response = client.ListDatasetEntries(new ListDatasetEntriesRequest 
{
    ContainsLabels = new List<string> {
        "camellia"
    },
    DatasetArn = "arn:aws:rekognition:us-east-1:111122223333:project/my-proj-2/dataset/train/1690564858106",
    HasErrors = true,
    Labeled = true,
    MaxResults = 100,
    NextToken = "",
    SourceRefContains = "camellia4.jpg"
});

List<string> datasetEntries = response.DatasetEntries;
string nextToken = response.NextToken;

            

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