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
open Awso_cognito_identity
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 create_identity_pool ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateIdentityPool input
let delete_identities ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteIdentities input
let delete_identity_pool ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteIdentityPool input
let describe_identity ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeIdentity input
let describe_identity_pool ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DescribeIdentityPool input
let get_credentials_for_identity ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetCredentialsForIdentity input
let get_id ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetId input
let get_identity_pool_roles ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetIdentityPoolRoles input
let get_open_id_token ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetOpenIdToken input
let get_open_id_token_for_developer_identity ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetOpenIdTokenForDeveloperIdentity input
let get_principal_tag_attribute_map ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetPrincipalTagAttributeMap input
let list_identities ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListIdentities input
let list_identity_pools ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListIdentityPools input
let list_tags_for_resource ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let lookup_developer_identity ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.LookupDeveloperIdentity input
let merge_developer_identities ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.MergeDeveloperIdentities input
let set_identity_pool_roles ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.SetIdentityPoolRoles input
let set_principal_tag_attribute_map ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.SetPrincipalTagAttributeMap input
let tag_resource ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.TagResource input
let unlink_developer_identity ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UnlinkDeveloperIdentity input
let unlink_identity ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UnlinkIdentity input
let untag_resource ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UntagResource input
let update_identity_pool ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateIdentityPool input