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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
open Awso_chime
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 associate_phone_number_with_user ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.AssociatePhoneNumberWithUser input
let associate_signin_delegate_groups_with_account ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.AssociateSigninDelegateGroupsWithAccount
input
let batch_create_room_membership ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.BatchCreateRoomMembership input
let batch_delete_phone_number ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.BatchDeletePhoneNumber input
let batch_suspend_user ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.BatchSuspendUser input
let batch_unsuspend_user ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.BatchUnsuspendUser input
let batch_update_phone_number ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.BatchUpdatePhoneNumber input
let batch_update_user ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.BatchUpdateUser input
let create_account ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateAccount input
let create_bot ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateBot input
let create_meeting_dial_out ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateMeetingDialOut input
let create_phone_number_order ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreatePhoneNumberOrder input
let create_room ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateRoom input
let create_room_membership ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateRoomMembership input
let create_user ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateUser input
let delete_account ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteAccount input
let delete_events_configuration ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteEventsConfiguration input
let delete_phone_number ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeletePhoneNumber input
let delete_room ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteRoom input
let delete_room_membership ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteRoomMembership input
let disassociate_phone_number_from_user ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DisassociatePhoneNumberFromUser input
let disassociate_signin_delegate_groups_from_account ?endpoint_url ?cfg input
=
eval ?endpoint_url ?cfg
Endpoints.DisassociateSigninDelegateGroupsFromAccount input
let get_account ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetAccount input
let get_account_settings ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetAccountSettings input
let get_bot ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetBot input
let get_events_configuration ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetEventsConfiguration input
let get_global_settings ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetGlobalSettings input
let get_phone_number ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetPhoneNumber input
let get_phone_number_order ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetPhoneNumberOrder input
let get_phone_number_settings ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetPhoneNumberSettings input
let get_retention_settings ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetRetentionSettings input
let get_room ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetRoom input
let get_user ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetUser input
let get_user_settings ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetUserSettings input
let invite_users ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.InviteUsers input
let list_accounts ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListAccounts input
let list_bots ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListBots input
let list_phone_number_orders ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListPhoneNumberOrders input
let list_phone_numbers ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListPhoneNumbers input
let list_room_memberships ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListRoomMemberships input
let list_rooms ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListRooms input
let list_supported_phone_number_countries ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListSupportedPhoneNumberCountries input
let list_users ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListUsers input
let logout_user ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.LogoutUser input
let put_events_configuration ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutEventsConfiguration input
let put_retention_settings ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutRetentionSettings input
let redact_conversation_message ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.RedactConversationMessage input
let redact_room_message ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.RedactRoomMessage input
let regenerate_security_token ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.RegenerateSecurityToken input
let reset_personal_p_i_n ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ResetPersonalPIN input
let restore_phone_number ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.RestorePhoneNumber input
let search_available_phone_numbers ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.SearchAvailablePhoneNumbers input
let update_account ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateAccount input
let update_account_settings ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateAccountSettings input
let update_bot ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateBot input
let update_global_settings ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateGlobalSettings input
let update_phone_number ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdatePhoneNumber input
let update_phone_number_settings ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdatePhoneNumberSettings input
let update_room ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateRoom input
let update_room_membership ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateRoomMembership input
let update_user ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateUser input
let update_user_settings ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateUserSettings input