Skip to content

DisassociateFaces

Source: src/AWS/Rekognition/DisassociateFaces.ts

Runtime binding for rekognition:DisassociateFaces — remove the association between face IDs and a user.

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

// init
const disassociateFaces = yield* AWS.Rekognition.DisassociateFaces();
// runtime
const result = yield* disassociateFaces({
CollectionId: "tenant-42",
UserId: userId,
FaceIds: [faceId],
});