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
open Awso_resource_explorer_2
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 associate_default_view ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.AssociateDefaultView input
let batch_get_view ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.BatchGetView input
let create_index ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateIndex input
let create_resource_explorer_setup ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateResourceExplorerSetup input
let create_view ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateView input
let delete_index ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteIndex input
let delete_resource_explorer_setup ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteResourceExplorerSetup input
let delete_view ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteView input
let disassociate_default_view ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DisassociateDefaultView input
let get_account_level_service_configuration ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetAccountLevelServiceConfiguration input
let get_default_view ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetDefaultView input
let get_index ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetIndex input
let get_managed_view ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetManagedView input
let get_resource_explorer_setup ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetResourceExplorerSetup input
let get_service_index ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetServiceIndex input
let get_service_view ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetServiceView input
let get_view ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetView input
let list_indexes ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListIndexes input
let list_indexes_for_members ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListIndexesForMembers input
let list_managed_views ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListManagedViews input
let list_resources ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListResources input
let list_service_indexes ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListServiceIndexes input
let list_service_views ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListServiceViews input
let list_streaming_access_for_services ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListStreamingAccessForServices input
let list_supported_resource_types ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListSupportedResourceTypes input
let list_tags_for_resource ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let list_views ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListViews input
let search ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.Search 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_index_type ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateIndexType input
let update_view ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateView input