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
73
74
open Awso_elb
open Awso_sync
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 ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.AddTags input
let apply_security_groups_to_load_balancer ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ApplySecurityGroupsToLoadBalancer input
let attach_load_balancer_to_subnets ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.AttachLoadBalancerToSubnets input
let configure_health_check ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ConfigureHealthCheck input
let create_app_cookie_stickiness_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateAppCookieStickinessPolicy input
let create_l_b_cookie_stickiness_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateLBCookieStickinessPolicy input
let create_load_balancer ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateLoadBalancer input
let create_load_balancer_listeners ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateLoadBalancerListeners input
let create_load_balancer_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateLoadBalancerPolicy input
let delete_load_balancer ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteLoadBalancer input
let delete_load_balancer_listeners ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteLoadBalancerListeners input
let delete_load_balancer_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteLoadBalancerPolicy input
let deregister_instances_from_load_balancer ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeregisterInstancesFromLoadBalancer input
let describe_account_limits ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeAccountLimits input
let describe_instance_health ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeInstanceHealth input
let describe_load_balancer_attributes ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeLoadBalancerAttributes input
let describe_load_balancer_policies ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeLoadBalancerPolicies input
let describe_load_balancer_policy_types ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeLoadBalancerPolicyTypes input
let describe_load_balancers ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeLoadBalancers input
let describe_tags ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeTags input
let detach_load_balancer_from_subnets ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DetachLoadBalancerFromSubnets input
let disable_availability_zones_for_load_balancer ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DisableAvailabilityZonesForLoadBalancer
input
let enable_availability_zones_for_load_balancer ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.EnableAvailabilityZonesForLoadBalancer
input
let modify_load_balancer_attributes ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ModifyLoadBalancerAttributes input
let register_instances_with_load_balancer ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.RegisterInstancesWithLoadBalancer input
let remove_tags ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.RemoveTags input
let set_load_balancer_listener_s_s_l_certificate ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.SetLoadBalancerListenerSSLCertificate
input
let set_load_balancer_policies_for_backend_server ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.SetLoadBalancerPoliciesForBackendServer
input
let set_load_balancer_policies_of_listener ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.SetLoadBalancerPoliciesOfListener input