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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
open Awso_wafv2
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 associate_web_a_c_l ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.AssociateWebACL input
let check_capacity ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CheckCapacity input
let create_a_p_i_key ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateAPIKey input
let create_i_p_set ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateIPSet input
let create_regex_pattern_set ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateRegexPatternSet input
let create_rule_group ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateRuleGroup input
let create_web_a_c_l ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateWebACL input
let delete_a_p_i_key ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteAPIKey input
let delete_firewall_manager_rule_groups ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteFirewallManagerRuleGroups input
let delete_i_p_set ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteIPSet input
let delete_logging_configuration ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteLoggingConfiguration input
let delete_permission_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeletePermissionPolicy input
let delete_regex_pattern_set ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteRegexPatternSet input
let delete_rule_group ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteRuleGroup input
let delete_web_a_c_l ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteWebACL input
let describe_all_managed_products ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeAllManagedProducts input
let describe_managed_products_by_vendor ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeManagedProductsByVendor input
let describe_managed_rule_group ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeManagedRuleGroup input
let disassociate_web_a_c_l ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DisassociateWebACL input
let generate_mobile_sdk_release_url ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GenerateMobileSdkReleaseUrl input
let get_decrypted_a_p_i_key ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetDecryptedAPIKey input
let get_i_p_set ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetIPSet input
let get_logging_configuration ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetLoggingConfiguration input
let get_managed_rule_set ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetManagedRuleSet input
let get_mobile_sdk_release ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetMobileSdkRelease input
let get_permission_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetPermissionPolicy input
let get_rate_based_statement_managed_keys ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetRateBasedStatementManagedKeys input
let get_regex_pattern_set ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetRegexPatternSet input
let get_rule_group ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetRuleGroup input
let get_sampled_requests ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetSampledRequests input
let get_top_path_statistics_by_traffic ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetTopPathStatisticsByTraffic input
let get_web_a_c_l ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetWebACL input
let get_web_a_c_l_for_resource ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetWebACLForResource input
let list_a_p_i_keys ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListAPIKeys input
let list_available_managed_rule_group_versions ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListAvailableManagedRuleGroupVersions
input
let list_available_managed_rule_groups ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListAvailableManagedRuleGroups input
let list_i_p_sets ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListIPSets input
let list_logging_configurations ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListLoggingConfigurations input
let list_managed_rule_sets ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListManagedRuleSets input
let list_mobile_sdk_releases ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListMobileSdkReleases input
let list_regex_pattern_sets ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListRegexPatternSets input
let list_resources_for_web_a_c_l ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListResourcesForWebACL input
let list_rule_groups ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListRuleGroups input
let list_tags_for_resource ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let list_web_a_c_ls ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListWebACLs input
let put_logging_configuration ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutLoggingConfiguration input
let put_managed_rule_set_versions ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutManagedRuleSetVersions input
let put_permission_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutPermissionPolicy 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_i_p_set ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateIPSet input
let update_managed_rule_set_version_expiry_date ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateManagedRuleSetVersionExpiryDate
input
let update_regex_pattern_set ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateRegexPatternSet input
let update_rule_group ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateRuleGroup input
let update_web_a_c_l ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateWebACL input