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
(* 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_mq
open Awso_async
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_broker ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateBroker input
let create_configuration ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateConfiguration input
let create_tags ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateTags input
let create_user ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateUser input
let delete_broker ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteBroker input
let delete_configuration ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteConfiguration input
let delete_tags ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteTags input
let delete_user ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteUser input
let describe_broker ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeBroker input
let describe_broker_engine_types ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeBrokerEngineTypes input
let describe_broker_instance_options ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeBrokerInstanceOptions input
let describe_configuration ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeConfiguration input
let describe_configuration_revision ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeConfigurationRevision input
let describe_user ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeUser input
let list_brokers ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListBrokers input
let list_configuration_revisions ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListConfigurationRevisions input
let list_configurations ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListConfigurations input
let list_tags ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListTags input
let list_users ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListUsers input
let promote ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.Promote input
let reboot_broker ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.RebootBroker input
let update_broker ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateBroker input
let update_configuration ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateConfiguration input
let update_user ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateUser input