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
open Awso_cloudhsm
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 add_tags_to_resource ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.AddTagsToResource input
let create_hapg ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateHapg input
let create_hsm ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateHsm input
let create_luna_client ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateLunaClient input
let delete_hapg ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteHapg input
let delete_hsm ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteHsm input
let delete_luna_client ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteLunaClient input
let describe_hapg ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeHapg input
let describe_hsm ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeHsm input
let describe_luna_client ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeLunaClient input
let get_config ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetConfig input
let list_available_zones ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListAvailableZones input
let list_hapgs ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListHapgs input
let list_hsms ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListHsms input
let list_luna_clients ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListLunaClients input
let list_tags_for_resource ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let modify_hapg ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ModifyHapg input
let modify_hsm ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ModifyHsm input
let modify_luna_client ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ModifyLunaClient input
let remove_tags_from_resource ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.RemoveTagsFromResource input