ListCollections
Source:
src/AWS/Rekognition/ListCollections.ts
Runtime binding for rekognition:ListCollections — list the face collection IDs in the account.
The binding takes no arguments and grants the function
rekognition:ListCollections on * (Rekognition data-plane resources such
as collections, users, and jobs are routinely created at runtime, so
their identifiers are unknown at deploy time). Provide the
implementation with Effect.provide(AWS.Rekognition.ListCollectionsHttp).
Face Collections
Section titled “Face Collections”// initconst listCollections = yield* AWS.Rekognition.ListCollections();
// runtimeconst page = yield* listCollections({ MaxResults: 20 });// page.CollectionIds, page.NextToken