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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
open Awso_chime_sdk_voice
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_numbers_with_voice_connector ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.AssociatePhoneNumbersWithVoiceConnector
input
let associate_phone_numbers_with_voice_connector_group ?endpoint_url ?cfg
input =
eval ?endpoint_url ?cfg
Endpoints.AssociatePhoneNumbersWithVoiceConnectorGroup input
let batch_delete_phone_number ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.BatchDeletePhoneNumber input
let batch_update_phone_number ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.BatchUpdatePhoneNumber input
let create_phone_number_order ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreatePhoneNumberOrder input
let create_proxy_session ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateProxySession input
let create_sip_media_application ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateSipMediaApplication input
let create_sip_media_application_call ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateSipMediaApplicationCall input
let create_sip_rule ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateSipRule input
let create_voice_connector ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateVoiceConnector input
let create_voice_connector_group ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateVoiceConnectorGroup input
let create_voice_profile ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateVoiceProfile input
let create_voice_profile_domain ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateVoiceProfileDomain input
let delete_phone_number ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeletePhoneNumber input
let delete_proxy_session ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteProxySession input
let delete_sip_media_application ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteSipMediaApplication input
let delete_sip_rule ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteSipRule input
let delete_voice_connector ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteVoiceConnector input
let delete_voice_connector_emergency_calling_configuration ?endpoint_url ?cfg
input =
eval ?endpoint_url ?cfg
Endpoints.DeleteVoiceConnectorEmergencyCallingConfiguration input
let delete_voice_connector_external_systems_configuration ?endpoint_url ?cfg
input =
eval ?endpoint_url ?cfg
Endpoints.DeleteVoiceConnectorExternalSystemsConfiguration input
let delete_voice_connector_group ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteVoiceConnectorGroup input
let delete_voice_connector_origination ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteVoiceConnectorOrigination input
let delete_voice_connector_proxy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteVoiceConnectorProxy input
let delete_voice_connector_streaming_configuration ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg
Endpoints.DeleteVoiceConnectorStreamingConfiguration input
let delete_voice_connector_termination ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteVoiceConnectorTermination input
let delete_voice_connector_termination_credentials ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg
Endpoints.DeleteVoiceConnectorTerminationCredentials input
let delete_voice_profile ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteVoiceProfile input
let delete_voice_profile_domain ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteVoiceProfileDomain input
let disassociate_phone_numbers_from_voice_connector ?endpoint_url ?cfg input
=
eval ?endpoint_url ?cfg
Endpoints.DisassociatePhoneNumbersFromVoiceConnector input
let disassociate_phone_numbers_from_voice_connector_group ?endpoint_url ?cfg
input =
eval ?endpoint_url ?cfg
Endpoints.DisassociatePhoneNumbersFromVoiceConnectorGroup 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_proxy_session ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetProxySession input
let get_sip_media_application ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetSipMediaApplication input
let get_sip_media_application_alexa_skill_configuration ?endpoint_url ?cfg
input =
eval ?endpoint_url ?cfg
Endpoints.GetSipMediaApplicationAlexaSkillConfiguration input
let get_sip_media_application_logging_configuration ?endpoint_url ?cfg input
=
eval ?endpoint_url ?cfg
Endpoints.GetSipMediaApplicationLoggingConfiguration input
let get_sip_rule ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetSipRule input
let get_speaker_search_task ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetSpeakerSearchTask input
let get_voice_connector ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetVoiceConnector input
let get_voice_connector_emergency_calling_configuration ?endpoint_url ?cfg
input =
eval ?endpoint_url ?cfg
Endpoints.GetVoiceConnectorEmergencyCallingConfiguration input
let get_voice_connector_external_systems_configuration ?endpoint_url ?cfg
input =
eval ?endpoint_url ?cfg
Endpoints.GetVoiceConnectorExternalSystemsConfiguration input
let get_voice_connector_group ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetVoiceConnectorGroup input
let get_voice_connector_logging_configuration ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetVoiceConnectorLoggingConfiguration
input
let get_voice_connector_origination ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetVoiceConnectorOrigination input
let get_voice_connector_proxy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetVoiceConnectorProxy input
let get_voice_connector_streaming_configuration ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetVoiceConnectorStreamingConfiguration
input
let get_voice_connector_termination ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetVoiceConnectorTermination input
let get_voice_connector_termination_health ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetVoiceConnectorTerminationHealth input
let get_voice_profile ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetVoiceProfile input
let get_voice_profile_domain ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetVoiceProfileDomain input
let get_voice_tone_analysis_task ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetVoiceToneAnalysisTask input
let list_available_voice_connector_regions ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListAvailableVoiceConnectorRegions 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_proxy_sessions ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListProxySessions input
let list_sip_media_applications ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListSipMediaApplications input
let list_sip_rules ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListSipRules input
let list_supported_phone_number_countries ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListSupportedPhoneNumberCountries input
let list_tags_for_resource ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input
let list_voice_connector_groups ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListVoiceConnectorGroups input
let list_voice_connector_termination_credentials ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListVoiceConnectorTerminationCredentials
input
let list_voice_connectors ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListVoiceConnectors input
let list_voice_profile_domains ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListVoiceProfileDomains input
let list_voice_profiles ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListVoiceProfiles input
let put_sip_media_application_alexa_skill_configuration ?endpoint_url ?cfg
input =
eval ?endpoint_url ?cfg
Endpoints.PutSipMediaApplicationAlexaSkillConfiguration input
let put_sip_media_application_logging_configuration ?endpoint_url ?cfg input
=
eval ?endpoint_url ?cfg
Endpoints.PutSipMediaApplicationLoggingConfiguration input
let put_voice_connector_emergency_calling_configuration ?endpoint_url ?cfg
input =
eval ?endpoint_url ?cfg
Endpoints.PutVoiceConnectorEmergencyCallingConfiguration input
let put_voice_connector_external_systems_configuration ?endpoint_url ?cfg
input =
eval ?endpoint_url ?cfg
Endpoints.PutVoiceConnectorExternalSystemsConfiguration input
let put_voice_connector_logging_configuration ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutVoiceConnectorLoggingConfiguration
input
let put_voice_connector_origination ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutVoiceConnectorOrigination input
let put_voice_connector_proxy ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutVoiceConnectorProxy input
let put_voice_connector_streaming_configuration ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutVoiceConnectorStreamingConfiguration
input
let put_voice_connector_termination ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutVoiceConnectorTermination input
let put_voice_connector_termination_credentials ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.PutVoiceConnectorTerminationCredentials
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 start_speaker_search_task ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StartSpeakerSearchTask input
let start_voice_tone_analysis_task ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StartVoiceToneAnalysisTask input
let stop_speaker_search_task ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StopSpeakerSearchTask input
let stop_voice_tone_analysis_task ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StopVoiceToneAnalysisTask 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_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_proxy_session ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateProxySession input
let update_sip_media_application ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateSipMediaApplication input
let update_sip_media_application_call ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateSipMediaApplicationCall input
let update_sip_rule ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateSipRule input
let update_voice_connector ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateVoiceConnector input
let update_voice_connector_group ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateVoiceConnectorGroup input
let update_voice_profile ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateVoiceProfile input
let update_voice_profile_domain ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateVoiceProfileDomain input
let validate_e911_address ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ValidateE911Address input