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
open Awso_backup_gateway
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 associate_gateway_to_server ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.AssociateGatewayToServer input
let create_gateway ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateGateway input
let delete_gateway ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteGateway input
let delete_hypervisor ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteHypervisor input
let disassociate_gateway_from_server ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DisassociateGatewayFromServer input
let get_bandwidth_rate_limit_schedule ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetBandwidthRateLimitSchedule input
let get_gateway ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetGateway input
let get_hypervisor ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetHypervisor input
let get_hypervisor_property_mappings ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetHypervisorPropertyMappings input
let get_virtual_machine ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetVirtualMachine input
let import_hypervisor_configuration ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ImportHypervisorConfiguration input
let list_gateways ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListGateways input
let list_hypervisors ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListHypervisors input
let list_tags_for_resource ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let list_virtual_machines ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListVirtualMachines input
let put_bandwidth_rate_limit_schedule ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutBandwidthRateLimitSchedule input
let put_hypervisor_property_mappings ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutHypervisorPropertyMappings input
let put_maintenance_start_time ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutMaintenanceStartTime input
let start_virtual_machines_metadata_sync ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StartVirtualMachinesMetadataSync input
let tag_resource ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.TagResource input
let test_hypervisor_configuration ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.TestHypervisorConfiguration input
let untag_resource ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UntagResource input
let update_gateway_information ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateGatewayInformation input
let update_gateway_software_now ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateGatewaySoftwareNow input
let update_hypervisor ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateHypervisor input