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
open Awso_pca_connector_ad
open Awso_sync
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 create_connector ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateConnector input
let create_directory_registration ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateDirectoryRegistration input
let create_service_principal_name ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateServicePrincipalName input
let create_template ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateTemplate input
let create_template_group_access_control_entry ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateTemplateGroupAccessControlEntry
input
let delete_connector ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteConnector input
let delete_directory_registration ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteDirectoryRegistration input
let delete_service_principal_name ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteServicePrincipalName input
let delete_template ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteTemplate input
let delete_template_group_access_control_entry ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteTemplateGroupAccessControlEntry
input
let get_connector ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetConnector input
let get_directory_registration ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetDirectoryRegistration input
let get_service_principal_name ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetServicePrincipalName input
let get_template ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetTemplate input
let get_template_group_access_control_entry ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetTemplateGroupAccessControlEntry input
let list_connectors ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListConnectors input
let list_directory_registrations ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListDirectoryRegistrations input
let list_service_principal_names ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListServicePrincipalNames input
let list_tags_for_resource ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let list_template_group_access_control_entries ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListTemplateGroupAccessControlEntries
input
let list_templates ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListTemplates 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_template ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateTemplate input
let update_template_group_access_control_entry ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateTemplateGroupAccessControlEntry
input