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
open Awso_grafana
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 associate_license ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.AssociateLicense input
let create_workspace ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateWorkspace input
let create_workspace_api_key ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateWorkspaceApiKey input
let create_workspace_service_account ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateWorkspaceServiceAccount input
let create_workspace_service_account_token ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateWorkspaceServiceAccountToken input
let delete_workspace ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteWorkspace input
let delete_workspace_api_key ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteWorkspaceApiKey input
let delete_workspace_service_account ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteWorkspaceServiceAccount input
let delete_workspace_service_account_token ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteWorkspaceServiceAccountToken input
let describe_workspace ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeWorkspace input
let describe_workspace_authentication ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeWorkspaceAuthentication input
let describe_workspace_configuration ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeWorkspaceConfiguration input
let disassociate_license ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DisassociateLicense input
let list_permissions ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListPermissions input
let list_tags_for_resource ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let list_versions ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListVersions input
let list_workspace_service_account_tokens ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListWorkspaceServiceAccountTokens input
let list_workspace_service_accounts ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListWorkspaceServiceAccounts input
let list_workspaces ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListWorkspaces 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_permissions ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdatePermissions input
let update_workspace ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateWorkspace input
let update_workspace_authentication ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateWorkspaceAuthentication input
let update_workspace_configuration ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateWorkspaceConfiguration input