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
(* 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_memorydb
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 batch_update_cluster ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.BatchUpdateCluster input
let copy_snapshot ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CopySnapshot input
let create_a_c_l ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateACL input
let create_cluster ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateCluster input
let create_multi_region_cluster ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateMultiRegionCluster input
let create_parameter_group ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateParameterGroup input
let create_snapshot ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateSnapshot input
let create_subnet_group ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateSubnetGroup input
let create_user ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateUser input
let delete_a_c_l ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteACL input
let delete_cluster ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteCluster input
let delete_multi_region_cluster ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteMultiRegionCluster input
let delete_parameter_group ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteParameterGroup input
let delete_snapshot ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteSnapshot input
let delete_subnet_group ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteSubnetGroup input
let delete_user ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteUser input
let describe_a_c_ls ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeACLs input
let describe_clusters ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeClusters input
let describe_engine_versions ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeEngineVersions input
let describe_events ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeEvents input
let describe_multi_region_clusters ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeMultiRegionClusters input
let describe_multi_region_parameter_groups ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeMultiRegionParameterGroups input
let describe_multi_region_parameters ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeMultiRegionParameters input
let describe_parameter_groups ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeParameterGroups input
let describe_parameters ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeParameters input
let describe_reserved_nodes ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeReservedNodes input
let describe_reserved_nodes_offerings ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeReservedNodesOfferings input
let describe_service_updates ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeServiceUpdates input
let describe_snapshots ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeSnapshots input
let describe_subnet_groups ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeSubnetGroups input
let describe_users ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeUsers input
let failover_shard ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.FailoverShard input
let list_allowed_multi_region_cluster_updates ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListAllowedMultiRegionClusterUpdates
    input
let list_allowed_node_type_updates ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListAllowedNodeTypeUpdates input
let list_tags ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListTags input
let purchase_reserved_nodes_offering ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PurchaseReservedNodesOffering input
let reset_parameter_group ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ResetParameterGroup 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_a_c_l ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateACL input
let update_cluster ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateCluster input
let update_multi_region_cluster ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateMultiRegionCluster input
let update_parameter_group ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateParameterGroup input
let update_subnet_group ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateSubnetGroup input
let update_user ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateUser input