LookoutforVision / Paginator / ListDatasetEntries
ListDatasetEntries#
- class LookoutforVision.Paginator.ListDatasetEntries#
paginator = client.get_paginator('list_dataset_entries')
- paginate(**kwargs)#
Creates an iterator that will paginate through responses from
LookoutforVision.Client.list_dataset_entries()
.See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( ProjectName='string', DatasetType='string', Labeled=True|False, AnomalyClass='string', BeforeCreationDate=datetime(2015, 1, 1), AfterCreationDate=datetime(2015, 1, 1), SourceRefContains='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
ProjectName (string) –
[REQUIRED]
The name of the project that contains the dataset that you want to list.
DatasetType (string) –
[REQUIRED]
The type of the dataset that you want to list. Specify
train
to list the training dataset. Specifytest
to list the test dataset. If you have a single dataset project, specifytrain
.Labeled (boolean) – Specify
true
to include labeled entries, otherwise specifyfalse
. If you don’t specify a value, Lookout for Vision returns all entries.AnomalyClass (string) – Specify
normal
to include only normal images. Specifyanomaly
to only include anomalous entries. If you don’t specify a value, Amazon Lookout for Vision returns normal and anomalous images.BeforeCreationDate (datetime) – Only includes entries before the specified date in the response. For example,
2020-06-23T00:00:00
.AfterCreationDate (datetime) – Only includes entries after the specified date in the response. For example,
2020-06-23T00:00:00
.SourceRefContains (string) – Perform a “contains” search on the values of the
source-ref
key within the dataset. For example a value of “IMG_17” returns all JSON Lines where thesource-ref
key value matches IMG_17.PaginationConfig (dict) –
A dictionary that provides parameters to control pagination.
MaxItems (integer) –
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
NextToken
will be provided in the output that you can use to resume pagination.PageSize (integer) –
The size of each page.
StartingToken (string) –
A token to specify where to start paginating. This is the
NextToken
from a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'DatasetEntries': [ 'string', ], }
Response Structure
(dict) –
DatasetEntries (list) –
A list of the entries (JSON Lines) within the dataset.
(string) –