listDatasetEntries

This operation applies only to Amazon Rekognition Custom Labels.

Lists the entries (images) within a dataset. An entry is a JSON Line that contains the information for a single image, including the image location, assigned labels, and object location bounding boxes. For more information, see Creating a manifest file.

JSON Lines in the response include information about non-terminal errors found in the dataset. Non terminal errors are reported in errors lists within each JSON Line. The same information is reported in the training and testing validation result manifests that Amazon Rekognition Custom Labels creates during model training.

You can filter the response in variety of ways, such as choosing which labels to return and returning JSON Lines created after a specific date.

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

Samples


fun main() { 
   //sampleStart 
   // Lists the JSON line entries in an Amazon Rekognition Custom Labels dataset.
val resp = rekognitionClient.listDatasetEntries {
    datasetArn = "arn:aws:rekognition:us-east-1:111122223333:project/my-proj-2/dataset/train/1690564858106"
    containsLabels = listOf<String>(
        "camellia"
    )
    labeled = true
    sourceRefContains = "camellia4.jpg"
    hasErrors = true
    nextToken = ""
    maxResults = 100
} 
   //sampleEnd
}