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
open Awso_rolesanywhere
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 create_profile ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateProfile input
let create_trust_anchor ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateTrustAnchor input
let delete_attribute_mapping ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteAttributeMapping input
let delete_crl ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteCrl input
let delete_profile ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteProfile input
let delete_trust_anchor ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteTrustAnchor input
let disable_crl ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DisableCrl input
let disable_profile ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DisableProfile input
let disable_trust_anchor ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DisableTrustAnchor input
let enable_crl ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.EnableCrl input
let enable_profile ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.EnableProfile input
let enable_trust_anchor ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.EnableTrustAnchor input
let get_crl ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetCrl input
let get_profile ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetProfile input
let get_subject ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetSubject input
let get_trust_anchor ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetTrustAnchor input
let import_crl ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ImportCrl input
let list_crls ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListCrls input
let list_profiles ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListProfiles input
let list_subjects ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListSubjects input
let list_tags_for_resource ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let list_trust_anchors ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListTrustAnchors input
let put_attribute_mapping ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutAttributeMapping input
let put_notification_settings ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutNotificationSettings input
let reset_notification_settings ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ResetNotificationSettings 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_crl ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateCrl input
let update_profile ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateProfile input
let update_trust_anchor ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateTrustAnchor input