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_ssm_sap
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 delete_resource_permission ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteResourcePermission input
let deregister_application ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeregisterApplication input
let get_application ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetApplication input
let get_component ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetComponent input
let get_configuration_check_operation ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetConfigurationCheckOperation input
let get_database ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetDatabase input
let get_operation ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetOperation input
let get_resource_permission ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetResourcePermission input
let list_applications ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListApplications input
let list_components ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListComponents input
let list_configuration_check_definitions ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListConfigurationCheckDefinitions input
let list_configuration_check_operations ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListConfigurationCheckOperations input
let list_databases ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListDatabases input
let list_operation_events ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListOperationEvents input
let list_operations ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListOperations input
let list_sub_check_results ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListSubCheckResults input
let list_sub_check_rule_results ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListSubCheckRuleResults input
let list_tags_for_resource ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let put_resource_permission ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutResourcePermission input
let register_application ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.RegisterApplication input
let start_application ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StartApplication input
let start_application_refresh ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StartApplicationRefresh input
let start_configuration_checks ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StartConfigurationChecks input
let stop_application ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StopApplication 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_application_settings ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateApplicationSettings input