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.
post/#X-Amz-Target=RekognitionService.ListCollections
Query parameters
MaxResultsstring
Pagination limit
NextTokenstring
Pagination token
Headers
X-Amz-Target'RekognitionService.ListCollections' required
Request body
Response
Success
Example response
{
"CollectionIds": [
"myphotos"
]
}