package awso-async
Source file io.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138(* generated by: awso-codegen generate-all --botocore-data vendor/botocore/botocore/data -o aws --runtime-dir lib/runtime/awso --cli-dir awso-cli *) open Awso_forecast open Awso_async module Io = Http.Io let eval ?endpoint_url ?cfg endpoint input = Io.bind (Io.resolve_cfg cfg) (fun cfg -> let meth = Endpoints.method_of_endpoint endpoint in let uri = Endpoints.uri_of_endpoint endpoint input in Io.map (Io.call ?endpoint_url ~cfg ~service:Values.service meth (Endpoints.to_request endpoint input) uri) (fun resp_result -> Endpoints.of_response endpoint resp_result)) let create_auto_predictor ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateAutoPredictor input let create_dataset ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateDataset input let create_dataset_group ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateDatasetGroup input let create_dataset_import_job ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateDatasetImportJob input let create_explainability ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateExplainability input let create_explainability_export ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateExplainabilityExport input let create_forecast ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateForecast input let create_forecast_export_job ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateForecastExportJob input let create_monitor ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateMonitor input let create_predictor ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreatePredictor input let create_predictor_backtest_export_job ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreatePredictorBacktestExportJob input let create_what_if_analysis ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateWhatIfAnalysis input let create_what_if_forecast ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateWhatIfForecast input let create_what_if_forecast_export ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateWhatIfForecastExport input let delete_dataset ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteDataset input let delete_dataset_group ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteDatasetGroup input let delete_dataset_import_job ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteDatasetImportJob input let delete_explainability ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteExplainability input let delete_explainability_export ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteExplainabilityExport input let delete_forecast ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteForecast input let delete_forecast_export_job ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteForecastExportJob input let delete_monitor ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteMonitor input let delete_predictor ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeletePredictor input let delete_predictor_backtest_export_job ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeletePredictorBacktestExportJob input let delete_resource_tree ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteResourceTree input let delete_what_if_analysis ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteWhatIfAnalysis input let delete_what_if_forecast ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteWhatIfForecast input let delete_what_if_forecast_export ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteWhatIfForecastExport input let describe_auto_predictor ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeAutoPredictor input let describe_dataset ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeDataset input let describe_dataset_group ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeDatasetGroup input let describe_dataset_import_job ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeDatasetImportJob input let describe_explainability ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeExplainability input let describe_explainability_export ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeExplainabilityExport input let describe_forecast ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeForecast input let describe_forecast_export_job ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeForecastExportJob input let describe_monitor ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeMonitor input let describe_predictor ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribePredictor input let describe_predictor_backtest_export_job ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribePredictorBacktestExportJob input let describe_what_if_analysis ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeWhatIfAnalysis input let describe_what_if_forecast ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeWhatIfForecast input let describe_what_if_forecast_export ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeWhatIfForecastExport input let get_accuracy_metrics ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetAccuracyMetrics input let list_dataset_groups ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListDatasetGroups input let list_dataset_import_jobs ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListDatasetImportJobs input let list_datasets ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListDatasets input let list_explainabilities ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListExplainabilities input let list_explainability_exports ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListExplainabilityExports input let list_forecast_export_jobs ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListForecastExportJobs input let list_forecasts ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListForecasts input let list_monitor_evaluations ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListMonitorEvaluations input let list_monitors ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListMonitors input let list_predictor_backtest_export_jobs ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListPredictorBacktestExportJobs input let list_predictors ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListPredictors input let ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input let list_what_if_analyses ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListWhatIfAnalyses input let list_what_if_forecast_exports ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListWhatIfForecastExports input let list_what_if_forecasts ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListWhatIfForecasts input let resume_resource ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ResumeResource input let stop_resource ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.StopResource input let tag_resource ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.TagResource input let untag_resource ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UntagResource input let update_dataset_group ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateDatasetGroup input