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
open Awso_iotevents
open Awso_sync
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_alarm_model ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateAlarmModel input
let create_detector_model ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateDetectorModel input
let create_input ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateInput input
let delete_alarm_model ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteAlarmModel input
let delete_detector_model ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteDetectorModel input
let delete_input ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteInput input
let describe_alarm_model ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeAlarmModel input
let describe_detector_model ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeDetectorModel input
let describe_detector_model_analysis ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeDetectorModelAnalysis input
let describe_input ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeInput input
let describe_logging_options ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeLoggingOptions input
let get_detector_model_analysis_results ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetDetectorModelAnalysisResults input
let list_alarm_model_versions ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListAlarmModelVersions input
let list_alarm_models ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListAlarmModels input
let list_detector_model_versions ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListDetectorModelVersions input
let list_detector_models ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListDetectorModels input
let list_input_routings ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListInputRoutings input
let list_inputs ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListInputs input
let list_tags_for_resource ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let put_logging_options ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutLoggingOptions input
let start_detector_model_analysis ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StartDetectorModelAnalysis 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_alarm_model ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateAlarmModel input
let update_detector_model ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateDetectorModel input
let update_input ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateInput input