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
open Awso_opensearchserverless
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 batch_get_collection ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.BatchGetCollection input
let batch_get_collection_group ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.BatchGetCollectionGroup input
let batch_get_effective_lifecycle_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.BatchGetEffectiveLifecyclePolicy input
let batch_get_lifecycle_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.BatchGetLifecyclePolicy input
let batch_get_vpc_endpoint ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.BatchGetVpcEndpoint input
let create_access_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateAccessPolicy input
let create_collection ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateCollection input
let create_collection_group ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateCollectionGroup input
let create_index ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateIndex input
let create_lifecycle_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateLifecyclePolicy input
let create_security_config ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateSecurityConfig input
let create_security_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateSecurityPolicy input
let create_vpc_endpoint ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateVpcEndpoint input
let delete_access_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteAccessPolicy input
let delete_collection ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteCollection input
let delete_collection_group ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteCollectionGroup input
let delete_index ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteIndex input
let delete_lifecycle_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteLifecyclePolicy input
let delete_security_config ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteSecurityConfig input
let delete_security_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteSecurityPolicy input
let delete_vpc_endpoint ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteVpcEndpoint input
let get_access_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetAccessPolicy input
let get_account_settings ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetAccountSettings input
let get_index ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetIndex input
let get_policies_stats ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetPoliciesStats input
let get_security_config ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetSecurityConfig input
let get_security_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetSecurityPolicy input
let list_access_policies ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListAccessPolicies input
let list_collection_groups ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListCollectionGroups input
let list_collections ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListCollections input
let list_lifecycle_policies ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListLifecyclePolicies input
let list_security_configs ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListSecurityConfigs input
let list_security_policies ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListSecurityPolicies input
let list_tags_for_resource ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let list_vpc_endpoints ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListVpcEndpoints 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_access_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateAccessPolicy input
let update_account_settings ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateAccountSettings input
let update_collection ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateCollection input
let update_collection_group ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateCollectionGroup input
let update_index ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateIndex input
let update_lifecycle_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateLifecyclePolicy input
let update_security_config ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateSecurityConfig input
let update_security_policy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateSecurityPolicy input
let update_vpc_endpoint ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateVpcEndpoint input