Skip to content

List Collections

rekognition_list_collections R Documentation

Returns list of collection IDs in your account

Description

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.

Usage

rekognition_list_collections(NextToken, MaxResults)

Arguments

NextToken

Pagination token from the previous response.

MaxResults

Maximum number of collection IDs to return.

Value

A list with the following syntax:

list(
  CollectionIds = list(
    "string"
  ),
  NextToken = "string",
  FaceModelVersions = list(
    "string"
  )
)

Request syntax

svc$list_collections(
  NextToken = "string",
  MaxResults = 123
)

Examples

## Not run: 
# This operation returns a list of Rekognition collections.
svc$list_collections()

## End(Not run)