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
(* 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_schemas
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_discoverer ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateDiscoverer input
let create_registry ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateRegistry input
let create_schema ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateSchema input
let delete_discoverer ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteDiscoverer input
let delete_registry ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteRegistry input
let delete_resource_policy ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteResourcePolicy input
let delete_schema ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteSchema input
let delete_schema_version ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteSchemaVersion input
let describe_code_binding ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeCodeBinding input
let describe_discoverer ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeDiscoverer input
let describe_registry ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeRegistry input
let describe_schema ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeSchema input
let export_schema ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ExportSchema input
let get_code_binding_source ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetCodeBindingSource input
let get_discovered_schema ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetDiscoveredSchema input
let get_resource_policy ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetResourcePolicy input
let list_discoverers ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListDiscoverers input
let list_registries ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListRegistries input
let list_schema_versions ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListSchemaVersions input
let list_schemas ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListSchemas input
let list_tags_for_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let put_code_binding ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PutCodeBinding input
let put_resource_policy ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PutResourcePolicy input
let search_schemas ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.SearchSchemas input
let start_discoverer ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StartDiscoverer input
let stop_discoverer ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StopDiscoverer 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_discoverer ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateDiscoverer input
let update_registry ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateRegistry input
let update_schema ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateSchema input