@aws-sdk/client-chime-sdk-voice 3.313.0 → 3.316.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ChimeSDKVoice = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
4
5
  const ChimeSDKVoiceClient_1 = require("./ChimeSDKVoiceClient");
5
6
  const AssociatePhoneNumbersWithVoiceConnectorCommand_1 = require("./commands/AssociatePhoneNumbersWithVoiceConnectorCommand");
6
7
  const AssociatePhoneNumbersWithVoiceConnectorGroupCommand_1 = require("./commands/AssociatePhoneNumbersWithVoiceConnectorGroupCommand");
@@ -95,1308 +96,102 @@ const UpdateVoiceConnectorGroupCommand_1 = require("./commands/UpdateVoiceConnec
95
96
  const UpdateVoiceProfileCommand_1 = require("./commands/UpdateVoiceProfileCommand");
96
97
  const UpdateVoiceProfileDomainCommand_1 = require("./commands/UpdateVoiceProfileDomainCommand");
97
98
  const ValidateE911AddressCommand_1 = require("./commands/ValidateE911AddressCommand");
99
+ const commands = {
100
+ AssociatePhoneNumbersWithVoiceConnectorCommand: AssociatePhoneNumbersWithVoiceConnectorCommand_1.AssociatePhoneNumbersWithVoiceConnectorCommand,
101
+ AssociatePhoneNumbersWithVoiceConnectorGroupCommand: AssociatePhoneNumbersWithVoiceConnectorGroupCommand_1.AssociatePhoneNumbersWithVoiceConnectorGroupCommand,
102
+ BatchDeletePhoneNumberCommand: BatchDeletePhoneNumberCommand_1.BatchDeletePhoneNumberCommand,
103
+ BatchUpdatePhoneNumberCommand: BatchUpdatePhoneNumberCommand_1.BatchUpdatePhoneNumberCommand,
104
+ CreatePhoneNumberOrderCommand: CreatePhoneNumberOrderCommand_1.CreatePhoneNumberOrderCommand,
105
+ CreateProxySessionCommand: CreateProxySessionCommand_1.CreateProxySessionCommand,
106
+ CreateSipMediaApplicationCommand: CreateSipMediaApplicationCommand_1.CreateSipMediaApplicationCommand,
107
+ CreateSipMediaApplicationCallCommand: CreateSipMediaApplicationCallCommand_1.CreateSipMediaApplicationCallCommand,
108
+ CreateSipRuleCommand: CreateSipRuleCommand_1.CreateSipRuleCommand,
109
+ CreateVoiceConnectorCommand: CreateVoiceConnectorCommand_1.CreateVoiceConnectorCommand,
110
+ CreateVoiceConnectorGroupCommand: CreateVoiceConnectorGroupCommand_1.CreateVoiceConnectorGroupCommand,
111
+ CreateVoiceProfileCommand: CreateVoiceProfileCommand_1.CreateVoiceProfileCommand,
112
+ CreateVoiceProfileDomainCommand: CreateVoiceProfileDomainCommand_1.CreateVoiceProfileDomainCommand,
113
+ DeletePhoneNumberCommand: DeletePhoneNumberCommand_1.DeletePhoneNumberCommand,
114
+ DeleteProxySessionCommand: DeleteProxySessionCommand_1.DeleteProxySessionCommand,
115
+ DeleteSipMediaApplicationCommand: DeleteSipMediaApplicationCommand_1.DeleteSipMediaApplicationCommand,
116
+ DeleteSipRuleCommand: DeleteSipRuleCommand_1.DeleteSipRuleCommand,
117
+ DeleteVoiceConnectorCommand: DeleteVoiceConnectorCommand_1.DeleteVoiceConnectorCommand,
118
+ DeleteVoiceConnectorEmergencyCallingConfigurationCommand: DeleteVoiceConnectorEmergencyCallingConfigurationCommand_1.DeleteVoiceConnectorEmergencyCallingConfigurationCommand,
119
+ DeleteVoiceConnectorGroupCommand: DeleteVoiceConnectorGroupCommand_1.DeleteVoiceConnectorGroupCommand,
120
+ DeleteVoiceConnectorOriginationCommand: DeleteVoiceConnectorOriginationCommand_1.DeleteVoiceConnectorOriginationCommand,
121
+ DeleteVoiceConnectorProxyCommand: DeleteVoiceConnectorProxyCommand_1.DeleteVoiceConnectorProxyCommand,
122
+ DeleteVoiceConnectorStreamingConfigurationCommand: DeleteVoiceConnectorStreamingConfigurationCommand_1.DeleteVoiceConnectorStreamingConfigurationCommand,
123
+ DeleteVoiceConnectorTerminationCommand: DeleteVoiceConnectorTerminationCommand_1.DeleteVoiceConnectorTerminationCommand,
124
+ DeleteVoiceConnectorTerminationCredentialsCommand: DeleteVoiceConnectorTerminationCredentialsCommand_1.DeleteVoiceConnectorTerminationCredentialsCommand,
125
+ DeleteVoiceProfileCommand: DeleteVoiceProfileCommand_1.DeleteVoiceProfileCommand,
126
+ DeleteVoiceProfileDomainCommand: DeleteVoiceProfileDomainCommand_1.DeleteVoiceProfileDomainCommand,
127
+ DisassociatePhoneNumbersFromVoiceConnectorCommand: DisassociatePhoneNumbersFromVoiceConnectorCommand_1.DisassociatePhoneNumbersFromVoiceConnectorCommand,
128
+ DisassociatePhoneNumbersFromVoiceConnectorGroupCommand: DisassociatePhoneNumbersFromVoiceConnectorGroupCommand_1.DisassociatePhoneNumbersFromVoiceConnectorGroupCommand,
129
+ GetGlobalSettingsCommand: GetGlobalSettingsCommand_1.GetGlobalSettingsCommand,
130
+ GetPhoneNumberCommand: GetPhoneNumberCommand_1.GetPhoneNumberCommand,
131
+ GetPhoneNumberOrderCommand: GetPhoneNumberOrderCommand_1.GetPhoneNumberOrderCommand,
132
+ GetPhoneNumberSettingsCommand: GetPhoneNumberSettingsCommand_1.GetPhoneNumberSettingsCommand,
133
+ GetProxySessionCommand: GetProxySessionCommand_1.GetProxySessionCommand,
134
+ GetSipMediaApplicationCommand: GetSipMediaApplicationCommand_1.GetSipMediaApplicationCommand,
135
+ GetSipMediaApplicationAlexaSkillConfigurationCommand: GetSipMediaApplicationAlexaSkillConfigurationCommand_1.GetSipMediaApplicationAlexaSkillConfigurationCommand,
136
+ GetSipMediaApplicationLoggingConfigurationCommand: GetSipMediaApplicationLoggingConfigurationCommand_1.GetSipMediaApplicationLoggingConfigurationCommand,
137
+ GetSipRuleCommand: GetSipRuleCommand_1.GetSipRuleCommand,
138
+ GetSpeakerSearchTaskCommand: GetSpeakerSearchTaskCommand_1.GetSpeakerSearchTaskCommand,
139
+ GetVoiceConnectorCommand: GetVoiceConnectorCommand_1.GetVoiceConnectorCommand,
140
+ GetVoiceConnectorEmergencyCallingConfigurationCommand: GetVoiceConnectorEmergencyCallingConfigurationCommand_1.GetVoiceConnectorEmergencyCallingConfigurationCommand,
141
+ GetVoiceConnectorGroupCommand: GetVoiceConnectorGroupCommand_1.GetVoiceConnectorGroupCommand,
142
+ GetVoiceConnectorLoggingConfigurationCommand: GetVoiceConnectorLoggingConfigurationCommand_1.GetVoiceConnectorLoggingConfigurationCommand,
143
+ GetVoiceConnectorOriginationCommand: GetVoiceConnectorOriginationCommand_1.GetVoiceConnectorOriginationCommand,
144
+ GetVoiceConnectorProxyCommand: GetVoiceConnectorProxyCommand_1.GetVoiceConnectorProxyCommand,
145
+ GetVoiceConnectorStreamingConfigurationCommand: GetVoiceConnectorStreamingConfigurationCommand_1.GetVoiceConnectorStreamingConfigurationCommand,
146
+ GetVoiceConnectorTerminationCommand: GetVoiceConnectorTerminationCommand_1.GetVoiceConnectorTerminationCommand,
147
+ GetVoiceConnectorTerminationHealthCommand: GetVoiceConnectorTerminationHealthCommand_1.GetVoiceConnectorTerminationHealthCommand,
148
+ GetVoiceProfileCommand: GetVoiceProfileCommand_1.GetVoiceProfileCommand,
149
+ GetVoiceProfileDomainCommand: GetVoiceProfileDomainCommand_1.GetVoiceProfileDomainCommand,
150
+ GetVoiceToneAnalysisTaskCommand: GetVoiceToneAnalysisTaskCommand_1.GetVoiceToneAnalysisTaskCommand,
151
+ ListAvailableVoiceConnectorRegionsCommand: ListAvailableVoiceConnectorRegionsCommand_1.ListAvailableVoiceConnectorRegionsCommand,
152
+ ListPhoneNumberOrdersCommand: ListPhoneNumberOrdersCommand_1.ListPhoneNumberOrdersCommand,
153
+ ListPhoneNumbersCommand: ListPhoneNumbersCommand_1.ListPhoneNumbersCommand,
154
+ ListProxySessionsCommand: ListProxySessionsCommand_1.ListProxySessionsCommand,
155
+ ListSipMediaApplicationsCommand: ListSipMediaApplicationsCommand_1.ListSipMediaApplicationsCommand,
156
+ ListSipRulesCommand: ListSipRulesCommand_1.ListSipRulesCommand,
157
+ ListSupportedPhoneNumberCountriesCommand: ListSupportedPhoneNumberCountriesCommand_1.ListSupportedPhoneNumberCountriesCommand,
158
+ ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
159
+ ListVoiceConnectorGroupsCommand: ListVoiceConnectorGroupsCommand_1.ListVoiceConnectorGroupsCommand,
160
+ ListVoiceConnectorsCommand: ListVoiceConnectorsCommand_1.ListVoiceConnectorsCommand,
161
+ ListVoiceConnectorTerminationCredentialsCommand: ListVoiceConnectorTerminationCredentialsCommand_1.ListVoiceConnectorTerminationCredentialsCommand,
162
+ ListVoiceProfileDomainsCommand: ListVoiceProfileDomainsCommand_1.ListVoiceProfileDomainsCommand,
163
+ ListVoiceProfilesCommand: ListVoiceProfilesCommand_1.ListVoiceProfilesCommand,
164
+ PutSipMediaApplicationAlexaSkillConfigurationCommand: PutSipMediaApplicationAlexaSkillConfigurationCommand_1.PutSipMediaApplicationAlexaSkillConfigurationCommand,
165
+ PutSipMediaApplicationLoggingConfigurationCommand: PutSipMediaApplicationLoggingConfigurationCommand_1.PutSipMediaApplicationLoggingConfigurationCommand,
166
+ PutVoiceConnectorEmergencyCallingConfigurationCommand: PutVoiceConnectorEmergencyCallingConfigurationCommand_1.PutVoiceConnectorEmergencyCallingConfigurationCommand,
167
+ PutVoiceConnectorLoggingConfigurationCommand: PutVoiceConnectorLoggingConfigurationCommand_1.PutVoiceConnectorLoggingConfigurationCommand,
168
+ PutVoiceConnectorOriginationCommand: PutVoiceConnectorOriginationCommand_1.PutVoiceConnectorOriginationCommand,
169
+ PutVoiceConnectorProxyCommand: PutVoiceConnectorProxyCommand_1.PutVoiceConnectorProxyCommand,
170
+ PutVoiceConnectorStreamingConfigurationCommand: PutVoiceConnectorStreamingConfigurationCommand_1.PutVoiceConnectorStreamingConfigurationCommand,
171
+ PutVoiceConnectorTerminationCommand: PutVoiceConnectorTerminationCommand_1.PutVoiceConnectorTerminationCommand,
172
+ PutVoiceConnectorTerminationCredentialsCommand: PutVoiceConnectorTerminationCredentialsCommand_1.PutVoiceConnectorTerminationCredentialsCommand,
173
+ RestorePhoneNumberCommand: RestorePhoneNumberCommand_1.RestorePhoneNumberCommand,
174
+ SearchAvailablePhoneNumbersCommand: SearchAvailablePhoneNumbersCommand_1.SearchAvailablePhoneNumbersCommand,
175
+ StartSpeakerSearchTaskCommand: StartSpeakerSearchTaskCommand_1.StartSpeakerSearchTaskCommand,
176
+ StartVoiceToneAnalysisTaskCommand: StartVoiceToneAnalysisTaskCommand_1.StartVoiceToneAnalysisTaskCommand,
177
+ StopSpeakerSearchTaskCommand: StopSpeakerSearchTaskCommand_1.StopSpeakerSearchTaskCommand,
178
+ StopVoiceToneAnalysisTaskCommand: StopVoiceToneAnalysisTaskCommand_1.StopVoiceToneAnalysisTaskCommand,
179
+ TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
180
+ UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
181
+ UpdateGlobalSettingsCommand: UpdateGlobalSettingsCommand_1.UpdateGlobalSettingsCommand,
182
+ UpdatePhoneNumberCommand: UpdatePhoneNumberCommand_1.UpdatePhoneNumberCommand,
183
+ UpdatePhoneNumberSettingsCommand: UpdatePhoneNumberSettingsCommand_1.UpdatePhoneNumberSettingsCommand,
184
+ UpdateProxySessionCommand: UpdateProxySessionCommand_1.UpdateProxySessionCommand,
185
+ UpdateSipMediaApplicationCommand: UpdateSipMediaApplicationCommand_1.UpdateSipMediaApplicationCommand,
186
+ UpdateSipMediaApplicationCallCommand: UpdateSipMediaApplicationCallCommand_1.UpdateSipMediaApplicationCallCommand,
187
+ UpdateSipRuleCommand: UpdateSipRuleCommand_1.UpdateSipRuleCommand,
188
+ UpdateVoiceConnectorCommand: UpdateVoiceConnectorCommand_1.UpdateVoiceConnectorCommand,
189
+ UpdateVoiceConnectorGroupCommand: UpdateVoiceConnectorGroupCommand_1.UpdateVoiceConnectorGroupCommand,
190
+ UpdateVoiceProfileCommand: UpdateVoiceProfileCommand_1.UpdateVoiceProfileCommand,
191
+ UpdateVoiceProfileDomainCommand: UpdateVoiceProfileDomainCommand_1.UpdateVoiceProfileDomainCommand,
192
+ ValidateE911AddressCommand: ValidateE911AddressCommand_1.ValidateE911AddressCommand,
193
+ };
98
194
  class ChimeSDKVoice extends ChimeSDKVoiceClient_1.ChimeSDKVoiceClient {
99
- associatePhoneNumbersWithVoiceConnector(args, optionsOrCb, cb) {
100
- const command = new AssociatePhoneNumbersWithVoiceConnectorCommand_1.AssociatePhoneNumbersWithVoiceConnectorCommand(args);
101
- if (typeof optionsOrCb === "function") {
102
- this.send(command, optionsOrCb);
103
- }
104
- else if (typeof cb === "function") {
105
- if (typeof optionsOrCb !== "object")
106
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
107
- this.send(command, optionsOrCb || {}, cb);
108
- }
109
- else {
110
- return this.send(command, optionsOrCb);
111
- }
112
- }
113
- associatePhoneNumbersWithVoiceConnectorGroup(args, optionsOrCb, cb) {
114
- const command = new AssociatePhoneNumbersWithVoiceConnectorGroupCommand_1.AssociatePhoneNumbersWithVoiceConnectorGroupCommand(args);
115
- if (typeof optionsOrCb === "function") {
116
- this.send(command, optionsOrCb);
117
- }
118
- else if (typeof cb === "function") {
119
- if (typeof optionsOrCb !== "object")
120
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
121
- this.send(command, optionsOrCb || {}, cb);
122
- }
123
- else {
124
- return this.send(command, optionsOrCb);
125
- }
126
- }
127
- batchDeletePhoneNumber(args, optionsOrCb, cb) {
128
- const command = new BatchDeletePhoneNumberCommand_1.BatchDeletePhoneNumberCommand(args);
129
- if (typeof optionsOrCb === "function") {
130
- this.send(command, optionsOrCb);
131
- }
132
- else if (typeof cb === "function") {
133
- if (typeof optionsOrCb !== "object")
134
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
135
- this.send(command, optionsOrCb || {}, cb);
136
- }
137
- else {
138
- return this.send(command, optionsOrCb);
139
- }
140
- }
141
- batchUpdatePhoneNumber(args, optionsOrCb, cb) {
142
- const command = new BatchUpdatePhoneNumberCommand_1.BatchUpdatePhoneNumberCommand(args);
143
- if (typeof optionsOrCb === "function") {
144
- this.send(command, optionsOrCb);
145
- }
146
- else if (typeof cb === "function") {
147
- if (typeof optionsOrCb !== "object")
148
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
149
- this.send(command, optionsOrCb || {}, cb);
150
- }
151
- else {
152
- return this.send(command, optionsOrCb);
153
- }
154
- }
155
- createPhoneNumberOrder(args, optionsOrCb, cb) {
156
- const command = new CreatePhoneNumberOrderCommand_1.CreatePhoneNumberOrderCommand(args);
157
- if (typeof optionsOrCb === "function") {
158
- this.send(command, optionsOrCb);
159
- }
160
- else if (typeof cb === "function") {
161
- if (typeof optionsOrCb !== "object")
162
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
163
- this.send(command, optionsOrCb || {}, cb);
164
- }
165
- else {
166
- return this.send(command, optionsOrCb);
167
- }
168
- }
169
- createProxySession(args, optionsOrCb, cb) {
170
- const command = new CreateProxySessionCommand_1.CreateProxySessionCommand(args);
171
- if (typeof optionsOrCb === "function") {
172
- this.send(command, optionsOrCb);
173
- }
174
- else if (typeof cb === "function") {
175
- if (typeof optionsOrCb !== "object")
176
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
177
- this.send(command, optionsOrCb || {}, cb);
178
- }
179
- else {
180
- return this.send(command, optionsOrCb);
181
- }
182
- }
183
- createSipMediaApplication(args, optionsOrCb, cb) {
184
- const command = new CreateSipMediaApplicationCommand_1.CreateSipMediaApplicationCommand(args);
185
- if (typeof optionsOrCb === "function") {
186
- this.send(command, optionsOrCb);
187
- }
188
- else if (typeof cb === "function") {
189
- if (typeof optionsOrCb !== "object")
190
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
191
- this.send(command, optionsOrCb || {}, cb);
192
- }
193
- else {
194
- return this.send(command, optionsOrCb);
195
- }
196
- }
197
- createSipMediaApplicationCall(args, optionsOrCb, cb) {
198
- const command = new CreateSipMediaApplicationCallCommand_1.CreateSipMediaApplicationCallCommand(args);
199
- if (typeof optionsOrCb === "function") {
200
- this.send(command, optionsOrCb);
201
- }
202
- else if (typeof cb === "function") {
203
- if (typeof optionsOrCb !== "object")
204
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
205
- this.send(command, optionsOrCb || {}, cb);
206
- }
207
- else {
208
- return this.send(command, optionsOrCb);
209
- }
210
- }
211
- createSipRule(args, optionsOrCb, cb) {
212
- const command = new CreateSipRuleCommand_1.CreateSipRuleCommand(args);
213
- if (typeof optionsOrCb === "function") {
214
- this.send(command, optionsOrCb);
215
- }
216
- else if (typeof cb === "function") {
217
- if (typeof optionsOrCb !== "object")
218
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
219
- this.send(command, optionsOrCb || {}, cb);
220
- }
221
- else {
222
- return this.send(command, optionsOrCb);
223
- }
224
- }
225
- createVoiceConnector(args, optionsOrCb, cb) {
226
- const command = new CreateVoiceConnectorCommand_1.CreateVoiceConnectorCommand(args);
227
- if (typeof optionsOrCb === "function") {
228
- this.send(command, optionsOrCb);
229
- }
230
- else if (typeof cb === "function") {
231
- if (typeof optionsOrCb !== "object")
232
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
233
- this.send(command, optionsOrCb || {}, cb);
234
- }
235
- else {
236
- return this.send(command, optionsOrCb);
237
- }
238
- }
239
- createVoiceConnectorGroup(args, optionsOrCb, cb) {
240
- const command = new CreateVoiceConnectorGroupCommand_1.CreateVoiceConnectorGroupCommand(args);
241
- if (typeof optionsOrCb === "function") {
242
- this.send(command, optionsOrCb);
243
- }
244
- else if (typeof cb === "function") {
245
- if (typeof optionsOrCb !== "object")
246
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
247
- this.send(command, optionsOrCb || {}, cb);
248
- }
249
- else {
250
- return this.send(command, optionsOrCb);
251
- }
252
- }
253
- createVoiceProfile(args, optionsOrCb, cb) {
254
- const command = new CreateVoiceProfileCommand_1.CreateVoiceProfileCommand(args);
255
- if (typeof optionsOrCb === "function") {
256
- this.send(command, optionsOrCb);
257
- }
258
- else if (typeof cb === "function") {
259
- if (typeof optionsOrCb !== "object")
260
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
261
- this.send(command, optionsOrCb || {}, cb);
262
- }
263
- else {
264
- return this.send(command, optionsOrCb);
265
- }
266
- }
267
- createVoiceProfileDomain(args, optionsOrCb, cb) {
268
- const command = new CreateVoiceProfileDomainCommand_1.CreateVoiceProfileDomainCommand(args);
269
- if (typeof optionsOrCb === "function") {
270
- this.send(command, optionsOrCb);
271
- }
272
- else if (typeof cb === "function") {
273
- if (typeof optionsOrCb !== "object")
274
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
275
- this.send(command, optionsOrCb || {}, cb);
276
- }
277
- else {
278
- return this.send(command, optionsOrCb);
279
- }
280
- }
281
- deletePhoneNumber(args, optionsOrCb, cb) {
282
- const command = new DeletePhoneNumberCommand_1.DeletePhoneNumberCommand(args);
283
- if (typeof optionsOrCb === "function") {
284
- this.send(command, optionsOrCb);
285
- }
286
- else if (typeof cb === "function") {
287
- if (typeof optionsOrCb !== "object")
288
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
289
- this.send(command, optionsOrCb || {}, cb);
290
- }
291
- else {
292
- return this.send(command, optionsOrCb);
293
- }
294
- }
295
- deleteProxySession(args, optionsOrCb, cb) {
296
- const command = new DeleteProxySessionCommand_1.DeleteProxySessionCommand(args);
297
- if (typeof optionsOrCb === "function") {
298
- this.send(command, optionsOrCb);
299
- }
300
- else if (typeof cb === "function") {
301
- if (typeof optionsOrCb !== "object")
302
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
303
- this.send(command, optionsOrCb || {}, cb);
304
- }
305
- else {
306
- return this.send(command, optionsOrCb);
307
- }
308
- }
309
- deleteSipMediaApplication(args, optionsOrCb, cb) {
310
- const command = new DeleteSipMediaApplicationCommand_1.DeleteSipMediaApplicationCommand(args);
311
- if (typeof optionsOrCb === "function") {
312
- this.send(command, optionsOrCb);
313
- }
314
- else if (typeof cb === "function") {
315
- if (typeof optionsOrCb !== "object")
316
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
317
- this.send(command, optionsOrCb || {}, cb);
318
- }
319
- else {
320
- return this.send(command, optionsOrCb);
321
- }
322
- }
323
- deleteSipRule(args, optionsOrCb, cb) {
324
- const command = new DeleteSipRuleCommand_1.DeleteSipRuleCommand(args);
325
- if (typeof optionsOrCb === "function") {
326
- this.send(command, optionsOrCb);
327
- }
328
- else if (typeof cb === "function") {
329
- if (typeof optionsOrCb !== "object")
330
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
331
- this.send(command, optionsOrCb || {}, cb);
332
- }
333
- else {
334
- return this.send(command, optionsOrCb);
335
- }
336
- }
337
- deleteVoiceConnector(args, optionsOrCb, cb) {
338
- const command = new DeleteVoiceConnectorCommand_1.DeleteVoiceConnectorCommand(args);
339
- if (typeof optionsOrCb === "function") {
340
- this.send(command, optionsOrCb);
341
- }
342
- else if (typeof cb === "function") {
343
- if (typeof optionsOrCb !== "object")
344
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
345
- this.send(command, optionsOrCb || {}, cb);
346
- }
347
- else {
348
- return this.send(command, optionsOrCb);
349
- }
350
- }
351
- deleteVoiceConnectorEmergencyCallingConfiguration(args, optionsOrCb, cb) {
352
- const command = new DeleteVoiceConnectorEmergencyCallingConfigurationCommand_1.DeleteVoiceConnectorEmergencyCallingConfigurationCommand(args);
353
- if (typeof optionsOrCb === "function") {
354
- this.send(command, optionsOrCb);
355
- }
356
- else if (typeof cb === "function") {
357
- if (typeof optionsOrCb !== "object")
358
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
359
- this.send(command, optionsOrCb || {}, cb);
360
- }
361
- else {
362
- return this.send(command, optionsOrCb);
363
- }
364
- }
365
- deleteVoiceConnectorGroup(args, optionsOrCb, cb) {
366
- const command = new DeleteVoiceConnectorGroupCommand_1.DeleteVoiceConnectorGroupCommand(args);
367
- if (typeof optionsOrCb === "function") {
368
- this.send(command, optionsOrCb);
369
- }
370
- else if (typeof cb === "function") {
371
- if (typeof optionsOrCb !== "object")
372
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
373
- this.send(command, optionsOrCb || {}, cb);
374
- }
375
- else {
376
- return this.send(command, optionsOrCb);
377
- }
378
- }
379
- deleteVoiceConnectorOrigination(args, optionsOrCb, cb) {
380
- const command = new DeleteVoiceConnectorOriginationCommand_1.DeleteVoiceConnectorOriginationCommand(args);
381
- if (typeof optionsOrCb === "function") {
382
- this.send(command, optionsOrCb);
383
- }
384
- else if (typeof cb === "function") {
385
- if (typeof optionsOrCb !== "object")
386
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
387
- this.send(command, optionsOrCb || {}, cb);
388
- }
389
- else {
390
- return this.send(command, optionsOrCb);
391
- }
392
- }
393
- deleteVoiceConnectorProxy(args, optionsOrCb, cb) {
394
- const command = new DeleteVoiceConnectorProxyCommand_1.DeleteVoiceConnectorProxyCommand(args);
395
- if (typeof optionsOrCb === "function") {
396
- this.send(command, optionsOrCb);
397
- }
398
- else if (typeof cb === "function") {
399
- if (typeof optionsOrCb !== "object")
400
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
401
- this.send(command, optionsOrCb || {}, cb);
402
- }
403
- else {
404
- return this.send(command, optionsOrCb);
405
- }
406
- }
407
- deleteVoiceConnectorStreamingConfiguration(args, optionsOrCb, cb) {
408
- const command = new DeleteVoiceConnectorStreamingConfigurationCommand_1.DeleteVoiceConnectorStreamingConfigurationCommand(args);
409
- if (typeof optionsOrCb === "function") {
410
- this.send(command, optionsOrCb);
411
- }
412
- else if (typeof cb === "function") {
413
- if (typeof optionsOrCb !== "object")
414
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
415
- this.send(command, optionsOrCb || {}, cb);
416
- }
417
- else {
418
- return this.send(command, optionsOrCb);
419
- }
420
- }
421
- deleteVoiceConnectorTermination(args, optionsOrCb, cb) {
422
- const command = new DeleteVoiceConnectorTerminationCommand_1.DeleteVoiceConnectorTerminationCommand(args);
423
- if (typeof optionsOrCb === "function") {
424
- this.send(command, optionsOrCb);
425
- }
426
- else if (typeof cb === "function") {
427
- if (typeof optionsOrCb !== "object")
428
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
429
- this.send(command, optionsOrCb || {}, cb);
430
- }
431
- else {
432
- return this.send(command, optionsOrCb);
433
- }
434
- }
435
- deleteVoiceConnectorTerminationCredentials(args, optionsOrCb, cb) {
436
- const command = new DeleteVoiceConnectorTerminationCredentialsCommand_1.DeleteVoiceConnectorTerminationCredentialsCommand(args);
437
- if (typeof optionsOrCb === "function") {
438
- this.send(command, optionsOrCb);
439
- }
440
- else if (typeof cb === "function") {
441
- if (typeof optionsOrCb !== "object")
442
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
443
- this.send(command, optionsOrCb || {}, cb);
444
- }
445
- else {
446
- return this.send(command, optionsOrCb);
447
- }
448
- }
449
- deleteVoiceProfile(args, optionsOrCb, cb) {
450
- const command = new DeleteVoiceProfileCommand_1.DeleteVoiceProfileCommand(args);
451
- if (typeof optionsOrCb === "function") {
452
- this.send(command, optionsOrCb);
453
- }
454
- else if (typeof cb === "function") {
455
- if (typeof optionsOrCb !== "object")
456
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
457
- this.send(command, optionsOrCb || {}, cb);
458
- }
459
- else {
460
- return this.send(command, optionsOrCb);
461
- }
462
- }
463
- deleteVoiceProfileDomain(args, optionsOrCb, cb) {
464
- const command = new DeleteVoiceProfileDomainCommand_1.DeleteVoiceProfileDomainCommand(args);
465
- if (typeof optionsOrCb === "function") {
466
- this.send(command, optionsOrCb);
467
- }
468
- else if (typeof cb === "function") {
469
- if (typeof optionsOrCb !== "object")
470
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
471
- this.send(command, optionsOrCb || {}, cb);
472
- }
473
- else {
474
- return this.send(command, optionsOrCb);
475
- }
476
- }
477
- disassociatePhoneNumbersFromVoiceConnector(args, optionsOrCb, cb) {
478
- const command = new DisassociatePhoneNumbersFromVoiceConnectorCommand_1.DisassociatePhoneNumbersFromVoiceConnectorCommand(args);
479
- if (typeof optionsOrCb === "function") {
480
- this.send(command, optionsOrCb);
481
- }
482
- else if (typeof cb === "function") {
483
- if (typeof optionsOrCb !== "object")
484
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
485
- this.send(command, optionsOrCb || {}, cb);
486
- }
487
- else {
488
- return this.send(command, optionsOrCb);
489
- }
490
- }
491
- disassociatePhoneNumbersFromVoiceConnectorGroup(args, optionsOrCb, cb) {
492
- const command = new DisassociatePhoneNumbersFromVoiceConnectorGroupCommand_1.DisassociatePhoneNumbersFromVoiceConnectorGroupCommand(args);
493
- if (typeof optionsOrCb === "function") {
494
- this.send(command, optionsOrCb);
495
- }
496
- else if (typeof cb === "function") {
497
- if (typeof optionsOrCb !== "object")
498
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
499
- this.send(command, optionsOrCb || {}, cb);
500
- }
501
- else {
502
- return this.send(command, optionsOrCb);
503
- }
504
- }
505
- getGlobalSettings(args, optionsOrCb, cb) {
506
- const command = new GetGlobalSettingsCommand_1.GetGlobalSettingsCommand(args);
507
- if (typeof optionsOrCb === "function") {
508
- this.send(command, optionsOrCb);
509
- }
510
- else if (typeof cb === "function") {
511
- if (typeof optionsOrCb !== "object")
512
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
513
- this.send(command, optionsOrCb || {}, cb);
514
- }
515
- else {
516
- return this.send(command, optionsOrCb);
517
- }
518
- }
519
- getPhoneNumber(args, optionsOrCb, cb) {
520
- const command = new GetPhoneNumberCommand_1.GetPhoneNumberCommand(args);
521
- if (typeof optionsOrCb === "function") {
522
- this.send(command, optionsOrCb);
523
- }
524
- else if (typeof cb === "function") {
525
- if (typeof optionsOrCb !== "object")
526
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
527
- this.send(command, optionsOrCb || {}, cb);
528
- }
529
- else {
530
- return this.send(command, optionsOrCb);
531
- }
532
- }
533
- getPhoneNumberOrder(args, optionsOrCb, cb) {
534
- const command = new GetPhoneNumberOrderCommand_1.GetPhoneNumberOrderCommand(args);
535
- if (typeof optionsOrCb === "function") {
536
- this.send(command, optionsOrCb);
537
- }
538
- else if (typeof cb === "function") {
539
- if (typeof optionsOrCb !== "object")
540
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
541
- this.send(command, optionsOrCb || {}, cb);
542
- }
543
- else {
544
- return this.send(command, optionsOrCb);
545
- }
546
- }
547
- getPhoneNumberSettings(args, optionsOrCb, cb) {
548
- const command = new GetPhoneNumberSettingsCommand_1.GetPhoneNumberSettingsCommand(args);
549
- if (typeof optionsOrCb === "function") {
550
- this.send(command, optionsOrCb);
551
- }
552
- else if (typeof cb === "function") {
553
- if (typeof optionsOrCb !== "object")
554
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
555
- this.send(command, optionsOrCb || {}, cb);
556
- }
557
- else {
558
- return this.send(command, optionsOrCb);
559
- }
560
- }
561
- getProxySession(args, optionsOrCb, cb) {
562
- const command = new GetProxySessionCommand_1.GetProxySessionCommand(args);
563
- if (typeof optionsOrCb === "function") {
564
- this.send(command, optionsOrCb);
565
- }
566
- else if (typeof cb === "function") {
567
- if (typeof optionsOrCb !== "object")
568
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
569
- this.send(command, optionsOrCb || {}, cb);
570
- }
571
- else {
572
- return this.send(command, optionsOrCb);
573
- }
574
- }
575
- getSipMediaApplication(args, optionsOrCb, cb) {
576
- const command = new GetSipMediaApplicationCommand_1.GetSipMediaApplicationCommand(args);
577
- if (typeof optionsOrCb === "function") {
578
- this.send(command, optionsOrCb);
579
- }
580
- else if (typeof cb === "function") {
581
- if (typeof optionsOrCb !== "object")
582
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
583
- this.send(command, optionsOrCb || {}, cb);
584
- }
585
- else {
586
- return this.send(command, optionsOrCb);
587
- }
588
- }
589
- getSipMediaApplicationAlexaSkillConfiguration(args, optionsOrCb, cb) {
590
- const command = new GetSipMediaApplicationAlexaSkillConfigurationCommand_1.GetSipMediaApplicationAlexaSkillConfigurationCommand(args);
591
- if (typeof optionsOrCb === "function") {
592
- this.send(command, optionsOrCb);
593
- }
594
- else if (typeof cb === "function") {
595
- if (typeof optionsOrCb !== "object")
596
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
597
- this.send(command, optionsOrCb || {}, cb);
598
- }
599
- else {
600
- return this.send(command, optionsOrCb);
601
- }
602
- }
603
- getSipMediaApplicationLoggingConfiguration(args, optionsOrCb, cb) {
604
- const command = new GetSipMediaApplicationLoggingConfigurationCommand_1.GetSipMediaApplicationLoggingConfigurationCommand(args);
605
- if (typeof optionsOrCb === "function") {
606
- this.send(command, optionsOrCb);
607
- }
608
- else if (typeof cb === "function") {
609
- if (typeof optionsOrCb !== "object")
610
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
611
- this.send(command, optionsOrCb || {}, cb);
612
- }
613
- else {
614
- return this.send(command, optionsOrCb);
615
- }
616
- }
617
- getSipRule(args, optionsOrCb, cb) {
618
- const command = new GetSipRuleCommand_1.GetSipRuleCommand(args);
619
- if (typeof optionsOrCb === "function") {
620
- this.send(command, optionsOrCb);
621
- }
622
- else if (typeof cb === "function") {
623
- if (typeof optionsOrCb !== "object")
624
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
625
- this.send(command, optionsOrCb || {}, cb);
626
- }
627
- else {
628
- return this.send(command, optionsOrCb);
629
- }
630
- }
631
- getSpeakerSearchTask(args, optionsOrCb, cb) {
632
- const command = new GetSpeakerSearchTaskCommand_1.GetSpeakerSearchTaskCommand(args);
633
- if (typeof optionsOrCb === "function") {
634
- this.send(command, optionsOrCb);
635
- }
636
- else if (typeof cb === "function") {
637
- if (typeof optionsOrCb !== "object")
638
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
639
- this.send(command, optionsOrCb || {}, cb);
640
- }
641
- else {
642
- return this.send(command, optionsOrCb);
643
- }
644
- }
645
- getVoiceConnector(args, optionsOrCb, cb) {
646
- const command = new GetVoiceConnectorCommand_1.GetVoiceConnectorCommand(args);
647
- if (typeof optionsOrCb === "function") {
648
- this.send(command, optionsOrCb);
649
- }
650
- else if (typeof cb === "function") {
651
- if (typeof optionsOrCb !== "object")
652
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
653
- this.send(command, optionsOrCb || {}, cb);
654
- }
655
- else {
656
- return this.send(command, optionsOrCb);
657
- }
658
- }
659
- getVoiceConnectorEmergencyCallingConfiguration(args, optionsOrCb, cb) {
660
- const command = new GetVoiceConnectorEmergencyCallingConfigurationCommand_1.GetVoiceConnectorEmergencyCallingConfigurationCommand(args);
661
- if (typeof optionsOrCb === "function") {
662
- this.send(command, optionsOrCb);
663
- }
664
- else if (typeof cb === "function") {
665
- if (typeof optionsOrCb !== "object")
666
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
667
- this.send(command, optionsOrCb || {}, cb);
668
- }
669
- else {
670
- return this.send(command, optionsOrCb);
671
- }
672
- }
673
- getVoiceConnectorGroup(args, optionsOrCb, cb) {
674
- const command = new GetVoiceConnectorGroupCommand_1.GetVoiceConnectorGroupCommand(args);
675
- if (typeof optionsOrCb === "function") {
676
- this.send(command, optionsOrCb);
677
- }
678
- else if (typeof cb === "function") {
679
- if (typeof optionsOrCb !== "object")
680
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
681
- this.send(command, optionsOrCb || {}, cb);
682
- }
683
- else {
684
- return this.send(command, optionsOrCb);
685
- }
686
- }
687
- getVoiceConnectorLoggingConfiguration(args, optionsOrCb, cb) {
688
- const command = new GetVoiceConnectorLoggingConfigurationCommand_1.GetVoiceConnectorLoggingConfigurationCommand(args);
689
- if (typeof optionsOrCb === "function") {
690
- this.send(command, optionsOrCb);
691
- }
692
- else if (typeof cb === "function") {
693
- if (typeof optionsOrCb !== "object")
694
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
695
- this.send(command, optionsOrCb || {}, cb);
696
- }
697
- else {
698
- return this.send(command, optionsOrCb);
699
- }
700
- }
701
- getVoiceConnectorOrigination(args, optionsOrCb, cb) {
702
- const command = new GetVoiceConnectorOriginationCommand_1.GetVoiceConnectorOriginationCommand(args);
703
- if (typeof optionsOrCb === "function") {
704
- this.send(command, optionsOrCb);
705
- }
706
- else if (typeof cb === "function") {
707
- if (typeof optionsOrCb !== "object")
708
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
709
- this.send(command, optionsOrCb || {}, cb);
710
- }
711
- else {
712
- return this.send(command, optionsOrCb);
713
- }
714
- }
715
- getVoiceConnectorProxy(args, optionsOrCb, cb) {
716
- const command = new GetVoiceConnectorProxyCommand_1.GetVoiceConnectorProxyCommand(args);
717
- if (typeof optionsOrCb === "function") {
718
- this.send(command, optionsOrCb);
719
- }
720
- else if (typeof cb === "function") {
721
- if (typeof optionsOrCb !== "object")
722
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
723
- this.send(command, optionsOrCb || {}, cb);
724
- }
725
- else {
726
- return this.send(command, optionsOrCb);
727
- }
728
- }
729
- getVoiceConnectorStreamingConfiguration(args, optionsOrCb, cb) {
730
- const command = new GetVoiceConnectorStreamingConfigurationCommand_1.GetVoiceConnectorStreamingConfigurationCommand(args);
731
- if (typeof optionsOrCb === "function") {
732
- this.send(command, optionsOrCb);
733
- }
734
- else if (typeof cb === "function") {
735
- if (typeof optionsOrCb !== "object")
736
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
737
- this.send(command, optionsOrCb || {}, cb);
738
- }
739
- else {
740
- return this.send(command, optionsOrCb);
741
- }
742
- }
743
- getVoiceConnectorTermination(args, optionsOrCb, cb) {
744
- const command = new GetVoiceConnectorTerminationCommand_1.GetVoiceConnectorTerminationCommand(args);
745
- if (typeof optionsOrCb === "function") {
746
- this.send(command, optionsOrCb);
747
- }
748
- else if (typeof cb === "function") {
749
- if (typeof optionsOrCb !== "object")
750
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
751
- this.send(command, optionsOrCb || {}, cb);
752
- }
753
- else {
754
- return this.send(command, optionsOrCb);
755
- }
756
- }
757
- getVoiceConnectorTerminationHealth(args, optionsOrCb, cb) {
758
- const command = new GetVoiceConnectorTerminationHealthCommand_1.GetVoiceConnectorTerminationHealthCommand(args);
759
- if (typeof optionsOrCb === "function") {
760
- this.send(command, optionsOrCb);
761
- }
762
- else if (typeof cb === "function") {
763
- if (typeof optionsOrCb !== "object")
764
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
765
- this.send(command, optionsOrCb || {}, cb);
766
- }
767
- else {
768
- return this.send(command, optionsOrCb);
769
- }
770
- }
771
- getVoiceProfile(args, optionsOrCb, cb) {
772
- const command = new GetVoiceProfileCommand_1.GetVoiceProfileCommand(args);
773
- if (typeof optionsOrCb === "function") {
774
- this.send(command, optionsOrCb);
775
- }
776
- else if (typeof cb === "function") {
777
- if (typeof optionsOrCb !== "object")
778
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
779
- this.send(command, optionsOrCb || {}, cb);
780
- }
781
- else {
782
- return this.send(command, optionsOrCb);
783
- }
784
- }
785
- getVoiceProfileDomain(args, optionsOrCb, cb) {
786
- const command = new GetVoiceProfileDomainCommand_1.GetVoiceProfileDomainCommand(args);
787
- if (typeof optionsOrCb === "function") {
788
- this.send(command, optionsOrCb);
789
- }
790
- else if (typeof cb === "function") {
791
- if (typeof optionsOrCb !== "object")
792
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
793
- this.send(command, optionsOrCb || {}, cb);
794
- }
795
- else {
796
- return this.send(command, optionsOrCb);
797
- }
798
- }
799
- getVoiceToneAnalysisTask(args, optionsOrCb, cb) {
800
- const command = new GetVoiceToneAnalysisTaskCommand_1.GetVoiceToneAnalysisTaskCommand(args);
801
- if (typeof optionsOrCb === "function") {
802
- this.send(command, optionsOrCb);
803
- }
804
- else if (typeof cb === "function") {
805
- if (typeof optionsOrCb !== "object")
806
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
807
- this.send(command, optionsOrCb || {}, cb);
808
- }
809
- else {
810
- return this.send(command, optionsOrCb);
811
- }
812
- }
813
- listAvailableVoiceConnectorRegions(args, optionsOrCb, cb) {
814
- const command = new ListAvailableVoiceConnectorRegionsCommand_1.ListAvailableVoiceConnectorRegionsCommand(args);
815
- if (typeof optionsOrCb === "function") {
816
- this.send(command, optionsOrCb);
817
- }
818
- else if (typeof cb === "function") {
819
- if (typeof optionsOrCb !== "object")
820
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
821
- this.send(command, optionsOrCb || {}, cb);
822
- }
823
- else {
824
- return this.send(command, optionsOrCb);
825
- }
826
- }
827
- listPhoneNumberOrders(args, optionsOrCb, cb) {
828
- const command = new ListPhoneNumberOrdersCommand_1.ListPhoneNumberOrdersCommand(args);
829
- if (typeof optionsOrCb === "function") {
830
- this.send(command, optionsOrCb);
831
- }
832
- else if (typeof cb === "function") {
833
- if (typeof optionsOrCb !== "object")
834
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
835
- this.send(command, optionsOrCb || {}, cb);
836
- }
837
- else {
838
- return this.send(command, optionsOrCb);
839
- }
840
- }
841
- listPhoneNumbers(args, optionsOrCb, cb) {
842
- const command = new ListPhoneNumbersCommand_1.ListPhoneNumbersCommand(args);
843
- if (typeof optionsOrCb === "function") {
844
- this.send(command, optionsOrCb);
845
- }
846
- else if (typeof cb === "function") {
847
- if (typeof optionsOrCb !== "object")
848
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
849
- this.send(command, optionsOrCb || {}, cb);
850
- }
851
- else {
852
- return this.send(command, optionsOrCb);
853
- }
854
- }
855
- listProxySessions(args, optionsOrCb, cb) {
856
- const command = new ListProxySessionsCommand_1.ListProxySessionsCommand(args);
857
- if (typeof optionsOrCb === "function") {
858
- this.send(command, optionsOrCb);
859
- }
860
- else if (typeof cb === "function") {
861
- if (typeof optionsOrCb !== "object")
862
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
863
- this.send(command, optionsOrCb || {}, cb);
864
- }
865
- else {
866
- return this.send(command, optionsOrCb);
867
- }
868
- }
869
- listSipMediaApplications(args, optionsOrCb, cb) {
870
- const command = new ListSipMediaApplicationsCommand_1.ListSipMediaApplicationsCommand(args);
871
- if (typeof optionsOrCb === "function") {
872
- this.send(command, optionsOrCb);
873
- }
874
- else if (typeof cb === "function") {
875
- if (typeof optionsOrCb !== "object")
876
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
877
- this.send(command, optionsOrCb || {}, cb);
878
- }
879
- else {
880
- return this.send(command, optionsOrCb);
881
- }
882
- }
883
- listSipRules(args, optionsOrCb, cb) {
884
- const command = new ListSipRulesCommand_1.ListSipRulesCommand(args);
885
- if (typeof optionsOrCb === "function") {
886
- this.send(command, optionsOrCb);
887
- }
888
- else if (typeof cb === "function") {
889
- if (typeof optionsOrCb !== "object")
890
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
891
- this.send(command, optionsOrCb || {}, cb);
892
- }
893
- else {
894
- return this.send(command, optionsOrCb);
895
- }
896
- }
897
- listSupportedPhoneNumberCountries(args, optionsOrCb, cb) {
898
- const command = new ListSupportedPhoneNumberCountriesCommand_1.ListSupportedPhoneNumberCountriesCommand(args);
899
- if (typeof optionsOrCb === "function") {
900
- this.send(command, optionsOrCb);
901
- }
902
- else if (typeof cb === "function") {
903
- if (typeof optionsOrCb !== "object")
904
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
905
- this.send(command, optionsOrCb || {}, cb);
906
- }
907
- else {
908
- return this.send(command, optionsOrCb);
909
- }
910
- }
911
- listTagsForResource(args, optionsOrCb, cb) {
912
- const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
913
- if (typeof optionsOrCb === "function") {
914
- this.send(command, optionsOrCb);
915
- }
916
- else if (typeof cb === "function") {
917
- if (typeof optionsOrCb !== "object")
918
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
919
- this.send(command, optionsOrCb || {}, cb);
920
- }
921
- else {
922
- return this.send(command, optionsOrCb);
923
- }
924
- }
925
- listVoiceConnectorGroups(args, optionsOrCb, cb) {
926
- const command = new ListVoiceConnectorGroupsCommand_1.ListVoiceConnectorGroupsCommand(args);
927
- if (typeof optionsOrCb === "function") {
928
- this.send(command, optionsOrCb);
929
- }
930
- else if (typeof cb === "function") {
931
- if (typeof optionsOrCb !== "object")
932
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
933
- this.send(command, optionsOrCb || {}, cb);
934
- }
935
- else {
936
- return this.send(command, optionsOrCb);
937
- }
938
- }
939
- listVoiceConnectors(args, optionsOrCb, cb) {
940
- const command = new ListVoiceConnectorsCommand_1.ListVoiceConnectorsCommand(args);
941
- if (typeof optionsOrCb === "function") {
942
- this.send(command, optionsOrCb);
943
- }
944
- else if (typeof cb === "function") {
945
- if (typeof optionsOrCb !== "object")
946
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
947
- this.send(command, optionsOrCb || {}, cb);
948
- }
949
- else {
950
- return this.send(command, optionsOrCb);
951
- }
952
- }
953
- listVoiceConnectorTerminationCredentials(args, optionsOrCb, cb) {
954
- const command = new ListVoiceConnectorTerminationCredentialsCommand_1.ListVoiceConnectorTerminationCredentialsCommand(args);
955
- if (typeof optionsOrCb === "function") {
956
- this.send(command, optionsOrCb);
957
- }
958
- else if (typeof cb === "function") {
959
- if (typeof optionsOrCb !== "object")
960
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
961
- this.send(command, optionsOrCb || {}, cb);
962
- }
963
- else {
964
- return this.send(command, optionsOrCb);
965
- }
966
- }
967
- listVoiceProfileDomains(args, optionsOrCb, cb) {
968
- const command = new ListVoiceProfileDomainsCommand_1.ListVoiceProfileDomainsCommand(args);
969
- if (typeof optionsOrCb === "function") {
970
- this.send(command, optionsOrCb);
971
- }
972
- else if (typeof cb === "function") {
973
- if (typeof optionsOrCb !== "object")
974
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
975
- this.send(command, optionsOrCb || {}, cb);
976
- }
977
- else {
978
- return this.send(command, optionsOrCb);
979
- }
980
- }
981
- listVoiceProfiles(args, optionsOrCb, cb) {
982
- const command = new ListVoiceProfilesCommand_1.ListVoiceProfilesCommand(args);
983
- if (typeof optionsOrCb === "function") {
984
- this.send(command, optionsOrCb);
985
- }
986
- else if (typeof cb === "function") {
987
- if (typeof optionsOrCb !== "object")
988
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
989
- this.send(command, optionsOrCb || {}, cb);
990
- }
991
- else {
992
- return this.send(command, optionsOrCb);
993
- }
994
- }
995
- putSipMediaApplicationAlexaSkillConfiguration(args, optionsOrCb, cb) {
996
- const command = new PutSipMediaApplicationAlexaSkillConfigurationCommand_1.PutSipMediaApplicationAlexaSkillConfigurationCommand(args);
997
- if (typeof optionsOrCb === "function") {
998
- this.send(command, optionsOrCb);
999
- }
1000
- else if (typeof cb === "function") {
1001
- if (typeof optionsOrCb !== "object")
1002
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1003
- this.send(command, optionsOrCb || {}, cb);
1004
- }
1005
- else {
1006
- return this.send(command, optionsOrCb);
1007
- }
1008
- }
1009
- putSipMediaApplicationLoggingConfiguration(args, optionsOrCb, cb) {
1010
- const command = new PutSipMediaApplicationLoggingConfigurationCommand_1.PutSipMediaApplicationLoggingConfigurationCommand(args);
1011
- if (typeof optionsOrCb === "function") {
1012
- this.send(command, optionsOrCb);
1013
- }
1014
- else if (typeof cb === "function") {
1015
- if (typeof optionsOrCb !== "object")
1016
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1017
- this.send(command, optionsOrCb || {}, cb);
1018
- }
1019
- else {
1020
- return this.send(command, optionsOrCb);
1021
- }
1022
- }
1023
- putVoiceConnectorEmergencyCallingConfiguration(args, optionsOrCb, cb) {
1024
- const command = new PutVoiceConnectorEmergencyCallingConfigurationCommand_1.PutVoiceConnectorEmergencyCallingConfigurationCommand(args);
1025
- if (typeof optionsOrCb === "function") {
1026
- this.send(command, optionsOrCb);
1027
- }
1028
- else if (typeof cb === "function") {
1029
- if (typeof optionsOrCb !== "object")
1030
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1031
- this.send(command, optionsOrCb || {}, cb);
1032
- }
1033
- else {
1034
- return this.send(command, optionsOrCb);
1035
- }
1036
- }
1037
- putVoiceConnectorLoggingConfiguration(args, optionsOrCb, cb) {
1038
- const command = new PutVoiceConnectorLoggingConfigurationCommand_1.PutVoiceConnectorLoggingConfigurationCommand(args);
1039
- if (typeof optionsOrCb === "function") {
1040
- this.send(command, optionsOrCb);
1041
- }
1042
- else if (typeof cb === "function") {
1043
- if (typeof optionsOrCb !== "object")
1044
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1045
- this.send(command, optionsOrCb || {}, cb);
1046
- }
1047
- else {
1048
- return this.send(command, optionsOrCb);
1049
- }
1050
- }
1051
- putVoiceConnectorOrigination(args, optionsOrCb, cb) {
1052
- const command = new PutVoiceConnectorOriginationCommand_1.PutVoiceConnectorOriginationCommand(args);
1053
- if (typeof optionsOrCb === "function") {
1054
- this.send(command, optionsOrCb);
1055
- }
1056
- else if (typeof cb === "function") {
1057
- if (typeof optionsOrCb !== "object")
1058
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1059
- this.send(command, optionsOrCb || {}, cb);
1060
- }
1061
- else {
1062
- return this.send(command, optionsOrCb);
1063
- }
1064
- }
1065
- putVoiceConnectorProxy(args, optionsOrCb, cb) {
1066
- const command = new PutVoiceConnectorProxyCommand_1.PutVoiceConnectorProxyCommand(args);
1067
- if (typeof optionsOrCb === "function") {
1068
- this.send(command, optionsOrCb);
1069
- }
1070
- else if (typeof cb === "function") {
1071
- if (typeof optionsOrCb !== "object")
1072
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1073
- this.send(command, optionsOrCb || {}, cb);
1074
- }
1075
- else {
1076
- return this.send(command, optionsOrCb);
1077
- }
1078
- }
1079
- putVoiceConnectorStreamingConfiguration(args, optionsOrCb, cb) {
1080
- const command = new PutVoiceConnectorStreamingConfigurationCommand_1.PutVoiceConnectorStreamingConfigurationCommand(args);
1081
- if (typeof optionsOrCb === "function") {
1082
- this.send(command, optionsOrCb);
1083
- }
1084
- else if (typeof cb === "function") {
1085
- if (typeof optionsOrCb !== "object")
1086
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1087
- this.send(command, optionsOrCb || {}, cb);
1088
- }
1089
- else {
1090
- return this.send(command, optionsOrCb);
1091
- }
1092
- }
1093
- putVoiceConnectorTermination(args, optionsOrCb, cb) {
1094
- const command = new PutVoiceConnectorTerminationCommand_1.PutVoiceConnectorTerminationCommand(args);
1095
- if (typeof optionsOrCb === "function") {
1096
- this.send(command, optionsOrCb);
1097
- }
1098
- else if (typeof cb === "function") {
1099
- if (typeof optionsOrCb !== "object")
1100
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1101
- this.send(command, optionsOrCb || {}, cb);
1102
- }
1103
- else {
1104
- return this.send(command, optionsOrCb);
1105
- }
1106
- }
1107
- putVoiceConnectorTerminationCredentials(args, optionsOrCb, cb) {
1108
- const command = new PutVoiceConnectorTerminationCredentialsCommand_1.PutVoiceConnectorTerminationCredentialsCommand(args);
1109
- if (typeof optionsOrCb === "function") {
1110
- this.send(command, optionsOrCb);
1111
- }
1112
- else if (typeof cb === "function") {
1113
- if (typeof optionsOrCb !== "object")
1114
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1115
- this.send(command, optionsOrCb || {}, cb);
1116
- }
1117
- else {
1118
- return this.send(command, optionsOrCb);
1119
- }
1120
- }
1121
- restorePhoneNumber(args, optionsOrCb, cb) {
1122
- const command = new RestorePhoneNumberCommand_1.RestorePhoneNumberCommand(args);
1123
- if (typeof optionsOrCb === "function") {
1124
- this.send(command, optionsOrCb);
1125
- }
1126
- else if (typeof cb === "function") {
1127
- if (typeof optionsOrCb !== "object")
1128
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1129
- this.send(command, optionsOrCb || {}, cb);
1130
- }
1131
- else {
1132
- return this.send(command, optionsOrCb);
1133
- }
1134
- }
1135
- searchAvailablePhoneNumbers(args, optionsOrCb, cb) {
1136
- const command = new SearchAvailablePhoneNumbersCommand_1.SearchAvailablePhoneNumbersCommand(args);
1137
- if (typeof optionsOrCb === "function") {
1138
- this.send(command, optionsOrCb);
1139
- }
1140
- else if (typeof cb === "function") {
1141
- if (typeof optionsOrCb !== "object")
1142
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1143
- this.send(command, optionsOrCb || {}, cb);
1144
- }
1145
- else {
1146
- return this.send(command, optionsOrCb);
1147
- }
1148
- }
1149
- startSpeakerSearchTask(args, optionsOrCb, cb) {
1150
- const command = new StartSpeakerSearchTaskCommand_1.StartSpeakerSearchTaskCommand(args);
1151
- if (typeof optionsOrCb === "function") {
1152
- this.send(command, optionsOrCb);
1153
- }
1154
- else if (typeof cb === "function") {
1155
- if (typeof optionsOrCb !== "object")
1156
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1157
- this.send(command, optionsOrCb || {}, cb);
1158
- }
1159
- else {
1160
- return this.send(command, optionsOrCb);
1161
- }
1162
- }
1163
- startVoiceToneAnalysisTask(args, optionsOrCb, cb) {
1164
- const command = new StartVoiceToneAnalysisTaskCommand_1.StartVoiceToneAnalysisTaskCommand(args);
1165
- if (typeof optionsOrCb === "function") {
1166
- this.send(command, optionsOrCb);
1167
- }
1168
- else if (typeof cb === "function") {
1169
- if (typeof optionsOrCb !== "object")
1170
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1171
- this.send(command, optionsOrCb || {}, cb);
1172
- }
1173
- else {
1174
- return this.send(command, optionsOrCb);
1175
- }
1176
- }
1177
- stopSpeakerSearchTask(args, optionsOrCb, cb) {
1178
- const command = new StopSpeakerSearchTaskCommand_1.StopSpeakerSearchTaskCommand(args);
1179
- if (typeof optionsOrCb === "function") {
1180
- this.send(command, optionsOrCb);
1181
- }
1182
- else if (typeof cb === "function") {
1183
- if (typeof optionsOrCb !== "object")
1184
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1185
- this.send(command, optionsOrCb || {}, cb);
1186
- }
1187
- else {
1188
- return this.send(command, optionsOrCb);
1189
- }
1190
- }
1191
- stopVoiceToneAnalysisTask(args, optionsOrCb, cb) {
1192
- const command = new StopVoiceToneAnalysisTaskCommand_1.StopVoiceToneAnalysisTaskCommand(args);
1193
- if (typeof optionsOrCb === "function") {
1194
- this.send(command, optionsOrCb);
1195
- }
1196
- else if (typeof cb === "function") {
1197
- if (typeof optionsOrCb !== "object")
1198
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1199
- this.send(command, optionsOrCb || {}, cb);
1200
- }
1201
- else {
1202
- return this.send(command, optionsOrCb);
1203
- }
1204
- }
1205
- tagResource(args, optionsOrCb, cb) {
1206
- const command = new TagResourceCommand_1.TagResourceCommand(args);
1207
- if (typeof optionsOrCb === "function") {
1208
- this.send(command, optionsOrCb);
1209
- }
1210
- else if (typeof cb === "function") {
1211
- if (typeof optionsOrCb !== "object")
1212
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1213
- this.send(command, optionsOrCb || {}, cb);
1214
- }
1215
- else {
1216
- return this.send(command, optionsOrCb);
1217
- }
1218
- }
1219
- untagResource(args, optionsOrCb, cb) {
1220
- const command = new UntagResourceCommand_1.UntagResourceCommand(args);
1221
- if (typeof optionsOrCb === "function") {
1222
- this.send(command, optionsOrCb);
1223
- }
1224
- else if (typeof cb === "function") {
1225
- if (typeof optionsOrCb !== "object")
1226
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1227
- this.send(command, optionsOrCb || {}, cb);
1228
- }
1229
- else {
1230
- return this.send(command, optionsOrCb);
1231
- }
1232
- }
1233
- updateGlobalSettings(args, optionsOrCb, cb) {
1234
- const command = new UpdateGlobalSettingsCommand_1.UpdateGlobalSettingsCommand(args);
1235
- if (typeof optionsOrCb === "function") {
1236
- this.send(command, optionsOrCb);
1237
- }
1238
- else if (typeof cb === "function") {
1239
- if (typeof optionsOrCb !== "object")
1240
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1241
- this.send(command, optionsOrCb || {}, cb);
1242
- }
1243
- else {
1244
- return this.send(command, optionsOrCb);
1245
- }
1246
- }
1247
- updatePhoneNumber(args, optionsOrCb, cb) {
1248
- const command = new UpdatePhoneNumberCommand_1.UpdatePhoneNumberCommand(args);
1249
- if (typeof optionsOrCb === "function") {
1250
- this.send(command, optionsOrCb);
1251
- }
1252
- else if (typeof cb === "function") {
1253
- if (typeof optionsOrCb !== "object")
1254
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1255
- this.send(command, optionsOrCb || {}, cb);
1256
- }
1257
- else {
1258
- return this.send(command, optionsOrCb);
1259
- }
1260
- }
1261
- updatePhoneNumberSettings(args, optionsOrCb, cb) {
1262
- const command = new UpdatePhoneNumberSettingsCommand_1.UpdatePhoneNumberSettingsCommand(args);
1263
- if (typeof optionsOrCb === "function") {
1264
- this.send(command, optionsOrCb);
1265
- }
1266
- else if (typeof cb === "function") {
1267
- if (typeof optionsOrCb !== "object")
1268
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1269
- this.send(command, optionsOrCb || {}, cb);
1270
- }
1271
- else {
1272
- return this.send(command, optionsOrCb);
1273
- }
1274
- }
1275
- updateProxySession(args, optionsOrCb, cb) {
1276
- const command = new UpdateProxySessionCommand_1.UpdateProxySessionCommand(args);
1277
- if (typeof optionsOrCb === "function") {
1278
- this.send(command, optionsOrCb);
1279
- }
1280
- else if (typeof cb === "function") {
1281
- if (typeof optionsOrCb !== "object")
1282
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1283
- this.send(command, optionsOrCb || {}, cb);
1284
- }
1285
- else {
1286
- return this.send(command, optionsOrCb);
1287
- }
1288
- }
1289
- updateSipMediaApplication(args, optionsOrCb, cb) {
1290
- const command = new UpdateSipMediaApplicationCommand_1.UpdateSipMediaApplicationCommand(args);
1291
- if (typeof optionsOrCb === "function") {
1292
- this.send(command, optionsOrCb);
1293
- }
1294
- else if (typeof cb === "function") {
1295
- if (typeof optionsOrCb !== "object")
1296
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1297
- this.send(command, optionsOrCb || {}, cb);
1298
- }
1299
- else {
1300
- return this.send(command, optionsOrCb);
1301
- }
1302
- }
1303
- updateSipMediaApplicationCall(args, optionsOrCb, cb) {
1304
- const command = new UpdateSipMediaApplicationCallCommand_1.UpdateSipMediaApplicationCallCommand(args);
1305
- if (typeof optionsOrCb === "function") {
1306
- this.send(command, optionsOrCb);
1307
- }
1308
- else if (typeof cb === "function") {
1309
- if (typeof optionsOrCb !== "object")
1310
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1311
- this.send(command, optionsOrCb || {}, cb);
1312
- }
1313
- else {
1314
- return this.send(command, optionsOrCb);
1315
- }
1316
- }
1317
- updateSipRule(args, optionsOrCb, cb) {
1318
- const command = new UpdateSipRuleCommand_1.UpdateSipRuleCommand(args);
1319
- if (typeof optionsOrCb === "function") {
1320
- this.send(command, optionsOrCb);
1321
- }
1322
- else if (typeof cb === "function") {
1323
- if (typeof optionsOrCb !== "object")
1324
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1325
- this.send(command, optionsOrCb || {}, cb);
1326
- }
1327
- else {
1328
- return this.send(command, optionsOrCb);
1329
- }
1330
- }
1331
- updateVoiceConnector(args, optionsOrCb, cb) {
1332
- const command = new UpdateVoiceConnectorCommand_1.UpdateVoiceConnectorCommand(args);
1333
- if (typeof optionsOrCb === "function") {
1334
- this.send(command, optionsOrCb);
1335
- }
1336
- else if (typeof cb === "function") {
1337
- if (typeof optionsOrCb !== "object")
1338
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1339
- this.send(command, optionsOrCb || {}, cb);
1340
- }
1341
- else {
1342
- return this.send(command, optionsOrCb);
1343
- }
1344
- }
1345
- updateVoiceConnectorGroup(args, optionsOrCb, cb) {
1346
- const command = new UpdateVoiceConnectorGroupCommand_1.UpdateVoiceConnectorGroupCommand(args);
1347
- if (typeof optionsOrCb === "function") {
1348
- this.send(command, optionsOrCb);
1349
- }
1350
- else if (typeof cb === "function") {
1351
- if (typeof optionsOrCb !== "object")
1352
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1353
- this.send(command, optionsOrCb || {}, cb);
1354
- }
1355
- else {
1356
- return this.send(command, optionsOrCb);
1357
- }
1358
- }
1359
- updateVoiceProfile(args, optionsOrCb, cb) {
1360
- const command = new UpdateVoiceProfileCommand_1.UpdateVoiceProfileCommand(args);
1361
- if (typeof optionsOrCb === "function") {
1362
- this.send(command, optionsOrCb);
1363
- }
1364
- else if (typeof cb === "function") {
1365
- if (typeof optionsOrCb !== "object")
1366
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1367
- this.send(command, optionsOrCb || {}, cb);
1368
- }
1369
- else {
1370
- return this.send(command, optionsOrCb);
1371
- }
1372
- }
1373
- updateVoiceProfileDomain(args, optionsOrCb, cb) {
1374
- const command = new UpdateVoiceProfileDomainCommand_1.UpdateVoiceProfileDomainCommand(args);
1375
- if (typeof optionsOrCb === "function") {
1376
- this.send(command, optionsOrCb);
1377
- }
1378
- else if (typeof cb === "function") {
1379
- if (typeof optionsOrCb !== "object")
1380
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1381
- this.send(command, optionsOrCb || {}, cb);
1382
- }
1383
- else {
1384
- return this.send(command, optionsOrCb);
1385
- }
1386
- }
1387
- validateE911Address(args, optionsOrCb, cb) {
1388
- const command = new ValidateE911AddressCommand_1.ValidateE911AddressCommand(args);
1389
- if (typeof optionsOrCb === "function") {
1390
- this.send(command, optionsOrCb);
1391
- }
1392
- else if (typeof cb === "function") {
1393
- if (typeof optionsOrCb !== "object")
1394
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1395
- this.send(command, optionsOrCb || {}, cb);
1396
- }
1397
- else {
1398
- return this.send(command, optionsOrCb);
1399
- }
1400
- }
1401
195
  }
1402
196
  exports.ChimeSDKVoice = ChimeSDKVoice;
197
+ (0, smithy_client_1.createAggregatedClient)(commands, ChimeSDKVoice);