Skip to content

StopProjectVersion

Source: src/AWS/Rekognition/StopProjectVersion.ts

Runtime binding for rekognition:StopProjectVersion — stop hosting a Custom Labels model version to stop incurring inference-unit charges.

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

// init
const stopProjectVersion = yield* AWS.Rekognition.StopProjectVersion();
// runtime
const stopped = yield* stopProjectVersion({ ProjectVersionArn: modelArn });
// stopped.Status