Module Smaws_Client_Comprehend.CreateFlywheel

A flywheel is an Amazon Web Services resource that orchestrates the ongoing training of a model for custom classification or custom entity recognition. You can create a flywheel to start with an existing trained model, or Comprehend can create and train a new model.

When you create the flywheel, Comprehend creates a data lake in your account. The data lake holds the training data and test data for all versions of the model.

To use a flywheel with an existing trained model, you specify the active model version. Comprehend copies the model's training data and test data into the flywheel's data lake.

To use the flywheel with a new model, you need to provide a dataset for training data (and optional test data) when you create the flywheel.

For more information about flywheels, see Flywheel overview in the Amazon Comprehend Developer Guide.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `InternalServerException of Types.internal_server_exception | `InvalidRequestException of Types.invalid_request_exception | `KmsKeyValidationException of Types.kms_key_validation_exception | `ResourceInUseException of Types.resource_in_use_exception | `ResourceLimitExceededException of Types.resource_limit_exceeded_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ResourceUnavailableException of Types.resource_unavailable_exception | `TooManyRequestsException of Types.too_many_requests_exception | `TooManyTagsException of Types.too_many_tags_exception | `UnsupportedLanguageException of Types.unsupported_language_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.create_flywheel_request -> (Types.create_flywheel_response, [> Smaws_Lib.Protocols.AwsJson.error | `InternalServerException of Types.internal_server_exception | `InvalidRequestException of Types.invalid_request_exception | `KmsKeyValidationException of Types.kms_key_validation_exception | `ResourceInUseException of Types.resource_in_use_exception | `ResourceLimitExceededException of Types.resource_limit_exceeded_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ResourceUnavailableException of Types.resource_unavailable_exception | `TooManyRequestsException of Types.too_many_requests_exception | `TooManyTagsException of Types.too_many_tags_exception | `UnsupportedLanguageException of Types.unsupported_language_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.create_flywheel_request -> (Types.create_flywheel_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `InternalServerException of Types.internal_server_exception | `InvalidRequestException of Types.invalid_request_exception | `KmsKeyValidationException of Types.kms_key_validation_exception | `ResourceInUseException of Types.resource_in_use_exception | `ResourceLimitExceededException of Types.resource_limit_exceeded_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ResourceUnavailableException of Types.resource_unavailable_exception | `TooManyRequestsException of Types.too_many_requests_exception | `TooManyTagsException of Types.too_many_tags_exception | `UnsupportedLanguageException of Types.unsupported_language_exception ] * Smaws_Lib.Response.metadata) Stdlib.result