Module Values.StartProjectVersionRequestSource

This operation applies only to Amazon Rekognition Custom Labels. Starts the running of the version of a model. Starting a model takes a while to complete. To check the current state of the model, use DescribeProjectVersions. Once the model is running, you can detect custom labels in new images by calling DetectCustomLabels. You are charged for the amount of time that the model is running. To stop a running model, call StopProjectVersion. This operation requires permissions to perform the rekognition:StartProjectVersion action.

Sourcetype nonrec t = {
  1. projectVersionArn : ProjectVersionArn.t;
    (*

    The Amazon Resource Name(ARN) of the model version that you want to start.

    *)
  2. minInferenceUnits : InferenceUnits.t;
    (*

    The minimum number of inference units to use. A single inference unit represents 1 hour of processing. Use a higher number to increase the TPS throughput of your model. You are charged for the number of inference units that you use.

    *)
  3. maxInferenceUnits : InferenceUnits.t option;
    (*

    The maximum number of inference units to use for auto-scaling the model. If you don't specify a value, Amazon Rekognition Custom Labels doesn't auto-scale the model.

    *)
}
Sourceval context_ : string
Sourceval make : ?maxInferenceUnits:??? -> projectVersionArn:ProjectVersionArn.t -> minInferenceUnits:InferenceUnits.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of InferenceUnits.t | `String of ProjectVersionArn.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t