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
(* 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_events
open Awso_lwt
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 activate_event_source ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ActivateEventSource input
let cancel_replay ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CancelReplay input
let create_api_destination ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateApiDestination input
let create_archive ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateArchive input
let create_connection ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateConnection input
let create_endpoint ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateEndpoint input
let create_event_bus ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateEventBus input
let create_partner_event_source ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreatePartnerEventSource input
let deactivate_event_source ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeactivateEventSource input
let deauthorize_connection ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeauthorizeConnection input
let delete_api_destination ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteApiDestination input
let delete_archive ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteArchive input
let delete_connection ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteConnection input
let delete_endpoint ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteEndpoint input
let delete_event_bus ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteEventBus input
let delete_partner_event_source ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeletePartnerEventSource input
let delete_rule ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteRule input
let describe_api_destination ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeApiDestination input
let describe_archive ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeArchive input
let describe_connection ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeConnection input
let describe_endpoint ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeEndpoint input
let describe_event_bus ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeEventBus input
let describe_event_source ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeEventSource input
let describe_partner_event_source ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribePartnerEventSource input
let describe_replay ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeReplay input
let describe_rule ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeRule input
let disable_rule ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DisableRule input
let enable_rule ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.EnableRule input
let list_api_destinations ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListApiDestinations input
let list_archives ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListArchives input
let list_connections ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListConnections input
let list_endpoints ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListEndpoints input
let list_event_buses ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListEventBuses input
let list_event_sources ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListEventSources input
let list_partner_event_source_accounts ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListPartnerEventSourceAccounts input
let list_partner_event_sources ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListPartnerEventSources input
let list_replays ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListReplays input
let list_rule_names_by_target ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListRuleNamesByTarget input
let list_rules ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListRules input
let list_tags_for_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let list_targets_by_rule ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListTargetsByRule input
let put_events ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PutEvents input
let put_partner_events ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PutPartnerEvents input
let put_permission ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PutPermission input
let put_rule ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PutRule input
let put_targets ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PutTargets input
let remove_permission ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.RemovePermission input
let remove_targets ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.RemoveTargets input
let start_replay ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.StartReplay input
let tag_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.TagResource input
let test_event_pattern ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.TestEventPattern input
let untag_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UntagResource input
let update_api_destination ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateApiDestination input
let update_archive ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateArchive input
let update_connection ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateConnection input
let update_endpoint ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateEndpoint input
let update_event_bus ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateEventBus input