Module Values.CreateProjectVersionResponseSource

Creates a new version of Amazon Rekognition project (like a Custom Labels model or a custom adapter) and begins training. Models and adapters are managed as part of a Rekognition project. The response from CreateProjectVersion is an Amazon Resource Name (ARN) for the project version. The FeatureConfig operation argument allows you to configure specific model or adapter settings. You can provide a description to the project version by using the VersionDescription argment. Training can take a while to complete. You can get the current status by calling DescribeProjectVersions. Training completed successfully if the value of the Status field is TRAINING_COMPLETED. Once training has successfully completed, call DescribeProjectVersions to get the training results and evaluate the model. This operation requires permissions to perform the rekognition:CreateProjectVersion action. The following applies only to projects with Amazon Rekognition Custom Labels as the chosen feature: You can train a model in a project that doesn't have associated datasets by specifying manifest files in the TrainingData and TestingData fields. If you open the console after training a model with manifest files, Amazon Rekognition Custom Labels creates the datasets for you using the most recent manifest files. You can no longer train a model version for the project by specifying manifest files. Instead of training with a project without associated datasets, we recommend that you use the manifest files to create training and test datasets for the project.

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

    The ARN of the model or the project version that was created. Use DescribeProjectVersion to get the current status of the training operation.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InternalServerError of InternalServerError.t
  3. | `InvalidParameterException of InvalidParameterException.t
  4. | `LimitExceededException of LimitExceededException.t
  5. | `ProvisionedThroughputExceededException of ProvisionedThroughputExceededException.t
  6. | `ResourceInUseException of ResourceInUseException.t
  7. | `ResourceNotFoundException of ResourceNotFoundException.t
  8. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  9. | `ThrottlingException of ThrottlingException.t
  10. | `Unknown_operation_error of string * string option
]
Sourceval make : ?projectVersionArn:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of unit | `InternalServerError of unit | `InvalidParameterException of unit | `LimitExceededException of unit | `ProvisionedThroughputExceededException of unit | `ResourceInUseException of unit | `ResourceNotFoundException of unit | `ServiceQuotaExceededException of unit | `ThrottlingException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of unit | `InternalServerError of unit | `InvalidParameterException of unit | `LimitExceededException of unit | `ProvisionedThroughputExceededException of unit | `ResourceInUseException of unit | `ResourceNotFoundException of unit | `ServiceQuotaExceededException of unit | `ThrottlingException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `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