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
(* 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_lookoutequipment
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_dataset ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateDataset input
let create_inference_scheduler ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateInferenceScheduler input
let create_label ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateLabel input
let create_label_group ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateLabelGroup input
let create_model ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateModel input
let create_retraining_scheduler ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateRetrainingScheduler input
let delete_dataset ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteDataset input
let delete_inference_scheduler ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteInferenceScheduler input
let delete_label ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteLabel input
let delete_label_group ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteLabelGroup input
let delete_model ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteModel input
let delete_resource_policy ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteResourcePolicy input
let delete_retraining_scheduler ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteRetrainingScheduler input
let describe_data_ingestion_job ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeDataIngestionJob input
let describe_dataset ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeDataset input
let describe_inference_scheduler ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeInferenceScheduler input
let describe_label ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeLabel input
let describe_label_group ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeLabelGroup input
let describe_model ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeModel input
let describe_model_version ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeModelVersion input
let describe_resource_policy ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeResourcePolicy input
let describe_retraining_scheduler ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeRetrainingScheduler input
let import_dataset ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ImportDataset input
let import_model_version ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ImportModelVersion input
let list_data_ingestion_jobs ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListDataIngestionJobs input
let list_datasets ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListDatasets input
let list_inference_events ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListInferenceEvents input
let list_inference_executions ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListInferenceExecutions input
let list_inference_schedulers ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListInferenceSchedulers input
let list_label_groups ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListLabelGroups input
let list_labels ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListLabels input
let list_model_versions ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListModelVersions input
let list_models ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListModels input
let list_retraining_schedulers ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListRetrainingSchedulers input
let list_sensor_statistics ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListSensorStatistics input
let list_tags_for_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let put_resource_policy ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PutResourcePolicy input
let start_data_ingestion_job ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StartDataIngestionJob input
let start_inference_scheduler ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StartInferenceScheduler input
let start_retraining_scheduler ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StartRetrainingScheduler input
let stop_inference_scheduler ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StopInferenceScheduler input
let stop_retraining_scheduler ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StopRetrainingScheduler 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_active_model_version ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateActiveModelVersion input
let update_inference_scheduler ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateInferenceScheduler input
let update_label_group ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateLabelGroup input
let update_model ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateModel input
let update_retraining_scheduler ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateRetrainingScheduler input