Skip to content

DescribeCollection

Source: src/AWS/Rekognition/DescribeCollection.ts

Runtime binding for rekognition:DescribeCollection — describe a face collection — face count, face model version, ARN, and creation time.

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

// init
const describeCollection = yield* AWS.Rekognition.DescribeCollection();
// runtime
const info = yield* describeCollection({ CollectionId: "tenant-42" });
// info.FaceCount, info.FaceModelVersion