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
open Awso_resource_groups
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 cancel_tag_sync_task ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CancelTagSyncTask input
let create_group ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateGroup input
let delete_group ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteGroup input
let get_account_settings ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetAccountSettings input
let get_group ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetGroup input
let get_group_configuration ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetGroupConfiguration input
let get_group_query ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetGroupQuery input
let get_tag_sync_task ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetTagSyncTask input
let get_tags ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetTags input
let group_resources ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GroupResources input
let list_group_resources ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListGroupResources input
let list_grouping_statuses ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListGroupingStatuses input
let list_groups ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListGroups input
let list_tag_sync_tasks ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListTagSyncTasks input
let put_group_configuration ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutGroupConfiguration input
let search_resources ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.SearchResources input
let start_tag_sync_task ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StartTagSyncTask input
let tag ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.Tag input
let ungroup_resources ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UngroupResources input
let untag ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.Untag input
let update_account_settings ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateAccountSettings input
let update_group ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateGroup input
let update_group_query ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateGroupQuery input