Skip to content

/AWS1/CL_REK=>LISTCOLLECTIONS()

About ListCollections

Returns list of collection IDs in your account. If the result is truncated, the response also provides a NextToken that you can use in the subsequent request to fetch the next set of collection IDs.

For an example, see Listing collections in the Amazon Rekognition Developer Guide.

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

Method Signature

IMPORTING

Optional arguments:

IV_NEXTTOKEN TYPE /AWS1/REKPAGINATIONTOKEN /AWS1/REKPAGINATIONTOKEN

Pagination token from the previous response.

IV_MAXRESULTS TYPE /AWS1/REKPAGESIZE /AWS1/REKPAGESIZE

Maximum number of collection IDs to return.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_REKLISTCOLLSRESPONSE /AWS1/CL_REKLISTCOLLSRESPONSE