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
(* 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_route53_recovery_control_config
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_cluster ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateCluster input
let create_control_panel ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateControlPanel input
let create_routing_control ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateRoutingControl input
let create_safety_rule ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateSafetyRule input
let delete_cluster ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteCluster input
let delete_control_panel ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteControlPanel input
let delete_routing_control ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteRoutingControl input
let delete_safety_rule ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteSafetyRule input
let describe_cluster ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeCluster input
let describe_control_panel ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeControlPanel input
let describe_routing_control ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeRoutingControl input
let describe_safety_rule ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeSafetyRule input
let get_resource_policy ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetResourcePolicy input
let list_associated_route53_health_checks ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListAssociatedRoute53HealthChecks input
let list_clusters ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListClusters input
let list_control_panels ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListControlPanels input
let list_routing_controls ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListRoutingControls input
let list_safety_rules ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListSafetyRules input
let list_tags_for_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListTagsForResource 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_cluster ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateCluster input
let update_control_panel ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateControlPanel input
let update_routing_control ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateRoutingControl input
let update_safety_rule ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateSafetyRule input