DeleteFaces
Source:
src/AWS/Rekognition/DeleteFaces.ts
Runtime binding for rekognition:DeleteFaces — delete faces from a face collection by face ID.
The binding takes no arguments and grants the function
rekognition:DeleteFaces 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.DeleteFacesHttp).
Face Collections
Section titled “Face Collections”// initconst deleteFaces = yield* AWS.Rekognition.DeleteFaces();
// runtimeconst result = yield* deleteFaces({ CollectionId: "tenant-42", FaceIds: [faceId],});// result.DeletedFaces, result.UnsuccessfulFaceDeletions