Skip to content

GetPersonTracking

Source: src/AWS/Rekognition/GetPersonTracking.ts

Runtime binding for rekognition:GetPersonTracking — get the results of an asynchronous the path of persons detection job started by StartPersonTracking.

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

// init
const getPersonTracking = yield* AWS.Rekognition.GetPersonTracking();
// runtime
const results = yield* getPersonTracking({ JobId: jobId });
if (results.JobStatus === "SUCCEEDED") {
// consume the detections
}