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).
Custom Labels
Section titled “Custom Labels”// initconst stopProjectVersion = yield* AWS.Rekognition.StopProjectVersion();
// runtimeconst stopped = yield* stopProjectVersion({ ProjectVersionArn: modelArn });// stopped.Status