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
(* 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_rtbfabric
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 accept_link ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.AcceptLink input
let associate_certificate ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.AssociateCertificate input
let create_inbound_external_link ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateInboundExternalLink input
let create_link ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateLink input
let create_link_routing_rule ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateLinkRoutingRule input
let create_outbound_external_link ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateOutboundExternalLink input
let create_requester_gateway ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateRequesterGateway input
let create_responder_gateway ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateResponderGateway input
let delete_inbound_external_link ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteInboundExternalLink input
let delete_link ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteLink input
let delete_link_routing_rule ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteLinkRoutingRule input
let delete_outbound_external_link ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteOutboundExternalLink input
let delete_requester_gateway ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteRequesterGateway input
let delete_responder_gateway ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteResponderGateway input
let disassociate_certificate ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DisassociateCertificate input
let get_certificate_association ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetCertificateAssociation input
let get_inbound_external_link ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetInboundExternalLink input
let get_link ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetLink input
let get_link_routing_rule ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetLinkRoutingRule input
let get_outbound_external_link ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetOutboundExternalLink input
let get_requester_gateway ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetRequesterGateway input
let get_responder_gateway ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetResponderGateway input
let list_certificate_associations ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListCertificateAssociations input
let list_link_routing_rules ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListLinkRoutingRules input
let list_links ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListLinks input
let list_requester_gateways ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListRequesterGateways input
let list_responder_gateways ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListResponderGateways input
let list_tags_for_resource ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let reject_link ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.RejectLink 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_link ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateLink input
let update_link_module_flow ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateLinkModuleFlow input
let update_link_routing_rule ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateLinkRoutingRule input
let update_requester_gateway ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateRequesterGateway input
let update_responder_gateway ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateResponderGateway input