Module Smaws_Client_MachineLearning

Machine Learning client library built on EIO.

Types

module Types : sig ... end

Builders

val make_update_ml_model_output : ?ml_model_id:Types.entity_id -> unit -> Types.update_ml_model_output
val make_update_ml_model_input : ?score_threshold:Types.score_threshold -> ?ml_model_name:Types.entity_name -> ml_model_id:Types.entity_id -> unit -> Types.update_ml_model_input
val make_update_evaluation_output : ?evaluation_id:Types.entity_id -> unit -> Types.update_evaluation_output
val make_update_evaluation_input : evaluation_name:Types.entity_name -> evaluation_id:Types.entity_id -> unit -> Types.update_evaluation_input
val make_update_data_source_output : ?data_source_id:Types.entity_id -> unit -> Types.update_data_source_output
val make_update_data_source_input : data_source_name:Types.entity_name -> data_source_id:Types.entity_id -> unit -> Types.update_data_source_input
val make_update_batch_prediction_output : ?batch_prediction_id:Types.entity_id -> unit -> Types.update_batch_prediction_output
val make_update_batch_prediction_input : batch_prediction_name:Types.entity_name -> batch_prediction_id:Types.entity_id -> unit -> Types.update_batch_prediction_input
val make_tag : ?value:Types.tag_value -> ?key:Types.tag_key -> unit -> Types.tag
val make_s3_data_spec : ?data_schema_location_s3:Types.s3_url -> ?data_schema:Types.data_schema -> ?data_rearrangement:Types.data_rearrangement -> data_location_s3:Types.s3_url -> unit -> Types.s3_data_spec
val make_redshift_database : cluster_identifier:Types.redshift_cluster_identifier -> database_name:Types.redshift_database_name -> unit -> Types.redshift_database
val make_redshift_metadata : ?select_sql_query:Types.redshift_select_sql_query -> ?database_user_name:Types.redshift_database_username -> ?redshift_database:Types.redshift_database -> unit -> Types.redshift_metadata
val make_redshift_database_credentials : password:Types.redshift_database_password -> username:Types.redshift_database_username -> unit -> Types.redshift_database_credentials
val make_redshift_data_spec : ?data_schema_uri:Types.s3_url -> ?data_schema:Types.data_schema -> ?data_rearrangement:Types.data_rearrangement -> s3_staging_location:Types.s3_url -> database_credentials:Types.redshift_database_credentials -> select_sql_query:Types.redshift_select_sql_query -> database_information:Types.redshift_database -> unit -> Types.redshift_data_spec
val make_realtime_endpoint_info : ?endpoint_status:Types.realtime_endpoint_status -> ?endpoint_url:Types.vip_ur_l -> ?created_at:Types.epoch_time -> ?peak_requests_per_second:Types.integer_type -> unit -> Types.realtime_endpoint_info
val make_rds_database : database_name:Types.rds_database_name -> instance_identifier:Types.rds_instance_identifier -> unit -> Types.rds_database
val make_rds_metadata : ?data_pipeline_id:Types.edp_pipeline_id -> ?service_role:Types.edp_service_role -> ?resource_role:Types.edp_resource_role -> ?select_sql_query:Types.rds_select_sql_query -> ?database_user_name:Types.rds_database_username -> ?database:Types.rds_database -> unit -> Types.rds_metadata
val make_rds_database_credentials : password:Types.rds_database_password -> username:Types.rds_database_username -> unit -> Types.rds_database_credentials
val make_rds_data_spec : ?data_schema_uri:Types.s3_url -> ?data_schema:Types.data_schema -> ?data_rearrangement:Types.data_rearrangement -> security_group_ids:Types.edp_security_group_ids -> subnet_id:Types.edp_subnet_id -> service_role:Types.edp_service_role -> resource_role:Types.edp_resource_role -> s3_staging_location:Types.s3_url -> database_credentials:Types.rds_database_credentials -> select_sql_query:Types.rds_select_sql_query -> database_information:Types.rds_database -> unit -> Types.rds_data_spec
val make_prediction : ?details:Types.details_map -> ?predicted_scores:Types.score_value_per_label_map -> ?predicted_value:Types.float_label -> ?predicted_label:Types.label -> unit -> Types.prediction
val make_predict_output : ?prediction:Types.prediction -> unit -> Types.predict_output
val make_predict_input : predict_endpoint:Types.vip_ur_l -> record:Types.record -> ml_model_id:Types.entity_id -> unit -> Types.predict_input
val make_performance_metrics : ?properties:Types.performance_metrics_properties -> unit -> Types.performance_metrics
val make_ml_model : ?started_at:Types.epoch_time -> ?finished_at:Types.epoch_time -> ?compute_time:Types.long_type -> ?message:Types.message -> ?score_threshold_last_updated_at:Types.epoch_time -> ?score_threshold:Types.score_threshold -> ?ml_model_type:Types.ml_model_type -> ?algorithm:Types.algorithm -> ?input_data_location_s3:Types.s3_url -> ?training_parameters:Types.training_parameters -> ?endpoint_info:Types.realtime_endpoint_info -> ?size_in_bytes:Types.long_type -> ?status:Types.entity_status -> ?name:Types.ml_model_name -> ?last_updated_at:Types.epoch_time -> ?created_at:Types.epoch_time -> ?created_by_iam_user:Types.aws_user_arn -> ?training_data_source_id:Types.entity_id -> ?ml_model_id:Types.entity_id -> unit -> Types.ml_model
val make_get_ml_model_output : ?schema:Types.data_schema -> ?recipe:Types.recipe -> ?started_at:Types.epoch_time -> ?finished_at:Types.epoch_time -> ?compute_time:Types.long_type -> ?message:Types.message -> ?log_uri:Types.presigned_s3_url -> ?score_threshold_last_updated_at:Types.epoch_time -> ?score_threshold:Types.score_threshold -> ?ml_model_type:Types.ml_model_type -> ?input_data_location_s3:Types.s3_url -> ?training_parameters:Types.training_parameters -> ?endpoint_info:Types.realtime_endpoint_info -> ?size_in_bytes:Types.long_type -> ?status:Types.entity_status -> ?name:Types.ml_model_name -> ?last_updated_at:Types.epoch_time -> ?created_at:Types.epoch_time -> ?created_by_iam_user:Types.aws_user_arn -> ?training_data_source_id:Types.entity_id -> ?ml_model_id:Types.entity_id -> unit -> Types.get_ml_model_output
val make_get_ml_model_input : ?verbose:Types.verbose -> ml_model_id:Types.entity_id -> unit -> Types.get_ml_model_input
val make_get_evaluation_output : ?started_at:Types.epoch_time -> ?finished_at:Types.epoch_time -> ?compute_time:Types.long_type -> ?message:Types.message -> ?log_uri:Types.presigned_s3_url -> ?performance_metrics:Types.performance_metrics -> ?status:Types.entity_status -> ?name:Types.entity_name -> ?last_updated_at:Types.epoch_time -> ?created_at:Types.epoch_time -> ?created_by_iam_user:Types.aws_user_arn -> ?input_data_location_s3:Types.s3_url -> ?evaluation_data_source_id:Types.entity_id -> ?ml_model_id:Types.entity_id -> ?evaluation_id:Types.entity_id -> unit -> Types.get_evaluation_output
val make_get_evaluation_input : evaluation_id:Types.entity_id -> unit -> Types.get_evaluation_input
val make_get_data_source_output : ?data_source_schema:Types.data_schema -> ?started_at:Types.epoch_time -> ?finished_at:Types.epoch_time -> ?compute_time:Types.long_type -> ?compute_statistics:Types.compute_statistics -> ?role_ar_n:Types.role_ar_n -> ?rds_metadata:Types.rds_metadata -> ?redshift_metadata:Types.redshift_metadata -> ?message:Types.message -> ?log_uri:Types.presigned_s3_url -> ?status:Types.entity_status -> ?name:Types.entity_name -> ?number_of_files:Types.long_type -> ?data_size_in_bytes:Types.long_type -> ?last_updated_at:Types.epoch_time -> ?created_at:Types.epoch_time -> ?created_by_iam_user:Types.aws_user_arn -> ?data_rearrangement:Types.data_rearrangement -> ?data_location_s3:Types.s3_url -> ?data_source_id:Types.entity_id -> unit -> Types.get_data_source_output
val make_get_data_source_input : ?verbose:Types.verbose -> data_source_id:Types.entity_id -> unit -> Types.get_data_source_input
val make_get_batch_prediction_output : ?invalid_record_count:Types.long_type -> ?total_record_count:Types.long_type -> ?started_at:Types.epoch_time -> ?finished_at:Types.epoch_time -> ?compute_time:Types.long_type -> ?message:Types.message -> ?log_uri:Types.presigned_s3_url -> ?output_uri:Types.s3_url -> ?status:Types.entity_status -> ?name:Types.entity_name -> ?last_updated_at:Types.epoch_time -> ?created_at:Types.epoch_time -> ?created_by_iam_user:Types.aws_user_arn -> ?input_data_location_s3:Types.s3_url -> ?batch_prediction_data_source_id:Types.entity_id -> ?ml_model_id:Types.entity_id -> ?batch_prediction_id:Types.entity_id -> unit -> Types.get_batch_prediction_output
val make_get_batch_prediction_input : batch_prediction_id:Types.entity_id -> unit -> Types.get_batch_prediction_input
val make_evaluation : ?started_at:Types.epoch_time -> ?finished_at:Types.epoch_time -> ?compute_time:Types.long_type -> ?message:Types.message -> ?performance_metrics:Types.performance_metrics -> ?status:Types.entity_status -> ?name:Types.entity_name -> ?last_updated_at:Types.epoch_time -> ?created_at:Types.epoch_time -> ?created_by_iam_user:Types.aws_user_arn -> ?input_data_location_s3:Types.s3_url -> ?evaluation_data_source_id:Types.entity_id -> ?ml_model_id:Types.entity_id -> ?evaluation_id:Types.entity_id -> unit -> Types.evaluation
val make_describe_tags_output : ?tags:Types.tag_list -> ?resource_type:Types.taggable_resource_type -> ?resource_id:Types.entity_id -> unit -> Types.describe_tags_output
val make_describe_tags_input : resource_type:Types.taggable_resource_type -> resource_id:Types.entity_id -> unit -> Types.describe_tags_input
val make_describe_ml_models_output : ?next_token:Types.string_type -> ?results:Types.ml_models -> unit -> Types.describe_ml_models_output
val make_describe_evaluations_output : ?next_token:Types.string_type -> ?results:Types.evaluations -> unit -> Types.describe_evaluations_output
val make_data_source : ?started_at:Types.epoch_time -> ?finished_at:Types.epoch_time -> ?compute_time:Types.long_type -> ?compute_statistics:Types.compute_statistics -> ?role_ar_n:Types.role_ar_n -> ?rds_metadata:Types.rds_metadata -> ?redshift_metadata:Types.redshift_metadata -> ?message:Types.message -> ?status:Types.entity_status -> ?name:Types.entity_name -> ?number_of_files:Types.long_type -> ?data_size_in_bytes:Types.long_type -> ?last_updated_at:Types.epoch_time -> ?created_at:Types.epoch_time -> ?created_by_iam_user:Types.aws_user_arn -> ?data_rearrangement:Types.data_rearrangement -> ?data_location_s3:Types.s3_url -> ?data_source_id:Types.entity_id -> unit -> Types.data_source
val make_describe_data_sources_output : ?next_token:Types.string_type -> ?results:Types.data_sources -> unit -> Types.describe_data_sources_output
val make_batch_prediction : ?invalid_record_count:Types.long_type -> ?total_record_count:Types.long_type -> ?started_at:Types.epoch_time -> ?finished_at:Types.epoch_time -> ?compute_time:Types.long_type -> ?message:Types.message -> ?output_uri:Types.s3_url -> ?status:Types.entity_status -> ?name:Types.entity_name -> ?last_updated_at:Types.epoch_time -> ?created_at:Types.epoch_time -> ?created_by_iam_user:Types.aws_user_arn -> ?input_data_location_s3:Types.s3_url -> ?batch_prediction_data_source_id:Types.entity_id -> ?ml_model_id:Types.entity_id -> ?batch_prediction_id:Types.entity_id -> unit -> Types.batch_prediction
val make_describe_batch_predictions_output : ?next_token:Types.string_type -> ?results:Types.batch_predictions -> unit -> Types.describe_batch_predictions_output
val make_delete_tags_output : ?resource_type:Types.taggable_resource_type -> ?resource_id:Types.entity_id -> unit -> Types.delete_tags_output
val make_delete_tags_input : resource_type:Types.taggable_resource_type -> resource_id:Types.entity_id -> tag_keys:Types.tag_key_list -> unit -> Types.delete_tags_input
val make_delete_realtime_endpoint_output : ?realtime_endpoint_info:Types.realtime_endpoint_info -> ?ml_model_id:Types.entity_id -> unit -> Types.delete_realtime_endpoint_output
val make_delete_realtime_endpoint_input : ml_model_id:Types.entity_id -> unit -> Types.delete_realtime_endpoint_input
val make_delete_ml_model_output : ?ml_model_id:Types.entity_id -> unit -> Types.delete_ml_model_output
val make_delete_ml_model_input : ml_model_id:Types.entity_id -> unit -> Types.delete_ml_model_input
val make_delete_evaluation_output : ?evaluation_id:Types.entity_id -> unit -> Types.delete_evaluation_output
val make_delete_evaluation_input : evaluation_id:Types.entity_id -> unit -> Types.delete_evaluation_input
val make_delete_data_source_output : ?data_source_id:Types.entity_id -> unit -> Types.delete_data_source_output
val make_delete_data_source_input : data_source_id:Types.entity_id -> unit -> Types.delete_data_source_input
val make_delete_batch_prediction_output : ?batch_prediction_id:Types.entity_id -> unit -> Types.delete_batch_prediction_output
val make_delete_batch_prediction_input : batch_prediction_id:Types.entity_id -> unit -> Types.delete_batch_prediction_input
val make_create_realtime_endpoint_output : ?realtime_endpoint_info:Types.realtime_endpoint_info -> ?ml_model_id:Types.entity_id -> unit -> Types.create_realtime_endpoint_output
val make_create_realtime_endpoint_input : ml_model_id:Types.entity_id -> unit -> Types.create_realtime_endpoint_input
val make_create_ml_model_output : ?ml_model_id:Types.entity_id -> unit -> Types.create_ml_model_output
val make_create_ml_model_input : ?recipe_uri:Types.s3_url -> ?recipe:Types.recipe -> ?parameters:Types.training_parameters -> ?ml_model_name:Types.entity_name -> training_data_source_id:Types.entity_id -> ml_model_type:Types.ml_model_type -> ml_model_id:Types.entity_id -> unit -> Types.create_ml_model_input
val make_create_evaluation_output : ?evaluation_id:Types.entity_id -> unit -> Types.create_evaluation_output
val make_create_evaluation_input : ?evaluation_name:Types.entity_name -> evaluation_data_source_id:Types.entity_id -> ml_model_id:Types.entity_id -> evaluation_id:Types.entity_id -> unit -> Types.create_evaluation_input
val make_create_data_source_from_s3_output : ?data_source_id:Types.entity_id -> unit -> Types.create_data_source_from_s3_output
val make_create_data_source_from_s3_input : ?compute_statistics:Types.compute_statistics -> ?data_source_name:Types.entity_name -> data_spec:Types.s3_data_spec -> data_source_id:Types.entity_id -> unit -> Types.create_data_source_from_s3_input
val make_create_data_source_from_redshift_output : ?data_source_id:Types.entity_id -> unit -> Types.create_data_source_from_redshift_output
val make_create_data_source_from_redshift_input : ?compute_statistics:Types.compute_statistics -> ?data_source_name:Types.entity_name -> role_ar_n:Types.role_ar_n -> data_spec:Types.redshift_data_spec -> data_source_id:Types.entity_id -> unit -> Types.create_data_source_from_redshift_input
val make_create_data_source_from_rds_output : ?data_source_id:Types.entity_id -> unit -> Types.create_data_source_from_rds_output
val make_create_data_source_from_rds_input : ?compute_statistics:Types.compute_statistics -> ?data_source_name:Types.entity_name -> role_ar_n:Types.role_ar_n -> rds_data:Types.rds_data_spec -> data_source_id:Types.entity_id -> unit -> Types.create_data_source_from_rds_input
val make_create_batch_prediction_output : ?batch_prediction_id:Types.entity_id -> unit -> Types.create_batch_prediction_output
val make_create_batch_prediction_input : ?batch_prediction_name:Types.entity_name -> output_uri:Types.s3_url -> batch_prediction_data_source_id:Types.entity_id -> ml_model_id:Types.entity_id -> batch_prediction_id:Types.entity_id -> unit -> Types.create_batch_prediction_input
val make_add_tags_output : ?resource_type:Types.taggable_resource_type -> ?resource_id:Types.entity_id -> unit -> Types.add_tags_output
val make_add_tags_input : resource_type:Types.taggable_resource_type -> resource_id:Types.entity_id -> tags:Types.tag_list -> unit -> Types.add_tags_input

Operations

module AddTags : sig ... end

Adds one or more tags to an object, up to a limit of 10. Each tag consists of a key and an optional value. If you add a tag using a key that is already associated with the ML object, AddTags updates the tag's value.

module CreateBatchPrediction : sig ... end

Generates predictions for a group of observations. The observations to process exist in one or more data files referenced by a DataSource. This operation creates a new BatchPrediction, and uses an MLModel and the data files referenced by the DataSource as information sources.

module CreateDataSourceFromRDS : sig ... end

Creates a DataSource object from an Amazon Relational Database Service (Amazon RDS). A DataSource references data that can be used to perform CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations.

module CreateDataSourceFromRedshift : sig ... end

Creates a DataSource from a database hosted on an Amazon Redshift cluster. A DataSource references data that can be used to perform either CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations.

module CreateDataSourceFromS3 : sig ... end

Creates a DataSource object. A DataSource references data that can be used to perform CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations.

module CreateEvaluation : sig ... end

Creates a new Evaluation of an MLModel. An MLModel is evaluated on a set of observations associated to a DataSource. Like a DataSource for an MLModel, the DataSource for an Evaluation contains values for the Target Variable. The Evaluation compares the predicted result for each observation to the actual outcome and provides a summary so that you know how effective the MLModel functions on the test data. Evaluation generates a relevant performance metric, such as BinaryAUC, RegressionRMSE or MulticlassAvgFScore based on the corresponding MLModelType: BINARY, REGRESSION or MULTICLASS.

module CreateMLModel : sig ... end

Creates a new MLModel using the DataSource and the recipe as information sources.

module CreateRealtimeEndpoint : sig ... end

Creates a real-time endpoint for the MLModel. The endpoint contains the URI of the MLModel; that is, the location to send real-time prediction requests for the specified MLModel.

module DeleteBatchPrediction : sig ... end

Assigns the DELETED status to a BatchPrediction, rendering it unusable.

module DeleteDataSource : sig ... end

Assigns the DELETED status to a DataSource, rendering it unusable.

module DeleteEvaluation : sig ... end

Assigns the DELETED status to an Evaluation, rendering it unusable.

module DeleteMLModel : sig ... end

Assigns the DELETED status to an MLModel, rendering it unusable.

module DeleteRealtimeEndpoint : sig ... end

Deletes a real time endpoint of an MLModel.

module DeleteTags : sig ... end

Deletes the specified tags associated with an ML object. After this operation is complete, you can't recover deleted tags.

module DescribeBatchPredictions : sig ... end

Returns a list of BatchPrediction operations that match the search criteria in the request.

module DescribeDataSources : sig ... end

Returns a list of DataSource that match the search criteria in the request.

module DescribeEvaluations : sig ... end

Returns a list of DescribeEvaluations that match the search criteria in the request.

module DescribeMLModels : sig ... end

Returns a list of MLModel that match the search criteria in the request.

module DescribeTags : sig ... end

Describes one or more of the tags for your Amazon ML object.

module GetBatchPrediction : sig ... end

Returns a BatchPrediction that includes detailed metadata, status, and data file information for a Batch Prediction request.

module GetDataSource : sig ... end

Returns a DataSource that includes metadata and data file information, as well as the current status of the DataSource.

module GetEvaluation : sig ... end

Returns an Evaluation that includes metadata as well as the current status of the Evaluation.

module GetMLModel : sig ... end

Returns an MLModel that includes detailed metadata, data source information, and the current status of the MLModel.

module Predict : sig ... end

Generates a prediction for the observation using the specified ML Model.

module UpdateBatchPrediction : sig ... end

Updates the BatchPredictionName of a BatchPrediction.

module UpdateDataSource : sig ... end

Updates the DataSourceName of a DataSource.

module UpdateEvaluation : sig ... end

Updates the EvaluationName of an Evaluation.

module UpdateMLModel : sig ... end
module Json_serializers : sig ... end
module Json_deserializers : sig ... end