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
open Awso_cloudsearch
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 build_suggesters ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.BuildSuggesters input
let create_domain ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateDomain input
let define_analysis_scheme ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DefineAnalysisScheme input
let define_expression ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DefineExpression input
let define_index_field ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DefineIndexField input
let define_suggester ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DefineSuggester input
let delete_analysis_scheme ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteAnalysisScheme input
let delete_domain ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteDomain input
let delete_expression ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteExpression input
let delete_index_field ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteIndexField input
let delete_suggester ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteSuggester input
let describe_analysis_schemes ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeAnalysisSchemes input
let describe_availability_options ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeAvailabilityOptions input
let describe_domain_endpoint_options ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeDomainEndpointOptions input
let describe_domains ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeDomains input
let describe_expressions ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeExpressions input
let describe_index_fields ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeIndexFields input
let describe_scaling_parameters ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeScalingParameters input
let describe_service_access_policies ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeServiceAccessPolicies input
let describe_suggesters ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeSuggesters input
let index_documents ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.IndexDocuments input
let list_domain_names ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListDomainNames input
let update_availability_options ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateAvailabilityOptions input
let update_domain_endpoint_options ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateDomainEndpointOptions input
let update_scaling_parameters ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateScalingParameters input
let update_service_access_policies ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateServiceAccessPolicies input