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
open Awso_arc_zonal_shift
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 cancel_practice_run ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CancelPracticeRun input
let cancel_zonal_shift ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CancelZonalShift input
let create_practice_run_configuration ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreatePracticeRunConfiguration input
let delete_practice_run_configuration ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeletePracticeRunConfiguration input
let get_autoshift_observer_notification_status ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetAutoshiftObserverNotificationStatus
input
let get_managed_resource ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetManagedResource input
let list_autoshifts ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListAutoshifts input
let list_managed_resources ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListManagedResources input
let list_zonal_shifts ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListZonalShifts input
let start_practice_run ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StartPracticeRun input
let start_zonal_shift ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StartZonalShift input
let update_autoshift_observer_notification_status ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateAutoshiftObserverNotificationStatus
input
let update_practice_run_configuration ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdatePracticeRunConfiguration input
let update_zonal_autoshift_configuration ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateZonalAutoshiftConfiguration input
let update_zonal_shift ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateZonalShift input