Skip to content

ListFaces

Source: src/AWS/Rekognition/ListFaces.ts

Runtime binding for rekognition:ListFaces — list the metadata of faces stored in a face collection.

The binding takes no arguments and grants the function rekognition:ListFaces 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.ListFacesHttp).

// init
const listFaces = yield* AWS.Rekognition.ListFaces();
// runtime
const page = yield* listFaces({ CollectionId: "tenant-42", MaxResults: 100 });
// page.Faces, page.NextToken