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
open Awso_finspace_data
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_user_to_permission_group ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.AssociateUserToPermissionGroup input
let create_changeset ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateChangeset input
let create_data_view ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateDataView input
let create_dataset ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateDataset input
let create_permission_group ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreatePermissionGroup input
let create_user ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateUser input
let delete_dataset ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteDataset input
let delete_permission_group ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeletePermissionGroup input
let disable_user ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DisableUser input
let disassociate_user_from_permission_group ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DisassociateUserFromPermissionGroup input
let enable_user ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.EnableUser input
let get_changeset ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetChangeset input
let get_data_view ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetDataView input
let get_dataset ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetDataset input
let get_external_data_view_access_details ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetExternalDataViewAccessDetails input
let get_permission_group ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetPermissionGroup input
let get_programmatic_access_credentials ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetProgrammaticAccessCredentials input
let get_user ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetUser input
let get_working_location ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetWorkingLocation input
let list_changesets ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListChangesets input
let list_data_views ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListDataViews input
let list_datasets ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListDatasets input
let list_permission_groups ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListPermissionGroups input
let list_permission_groups_by_user ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListPermissionGroupsByUser input
let list_users ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListUsers input
let list_users_by_permission_group ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListUsersByPermissionGroup input
let reset_user_password ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ResetUserPassword input
let update_changeset ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateChangeset input
let update_dataset ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateDataset input
let update_permission_group ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdatePermissionGroup input
let update_user ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateUser input