aws-sdk-core 2.11.241 → 2.11.242

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7a77455b93fb2c08c99bf3166c51186c0cdc4de0
4
- data.tar.gz: 7c0633c4f25f206052c0ff3354e0c11ed4a8b7b1
3
+ metadata.gz: 75e15466d98d4308bf649f0b6bdb7fe92b5032cf
4
+ data.tar.gz: 803422873115cdfe464b19f6c90969d7d292ec21
5
5
  SHA512:
6
- metadata.gz: 65425a8a701d33b01400652d90be6721ee3de0c377a0aeeef9e9de7a6660847c67689571cb13f52f719301858409d3757c4800a90d6cfdff74192579209116de
7
- data.tar.gz: 9737731461552510f8be66479569e8d73b5e4c63e1eff0eddf1c36ab494aecde11d200acd550ce87794ec8b905b38c942fffbd97b10ef7d561560219976af85c
6
+ metadata.gz: bbbce8f0be6b464e9fbd9521fa62aa0abd91726ff56144c9573e32a396d6e55d523b62905b94a52aaea1669f0025539c82e2713d7c6abebdff439a6b2f42e029
7
+ data.tar.gz: 61b69d2d51ea84e78199a32dcde36e4d081307cbac4a2d6d41c41442309a60319ab48e485e4665e60d59759e0735ead5356e1a68caadacd116c28c7640c5b316
@@ -10,11 +10,68 @@
10
10
  "uid":"chime-2018-05-01"
11
11
  },
12
12
  "operations":{
13
+ "AssociatePhoneNumberWithUser":{
14
+ "name":"AssociatePhoneNumberWithUser",
15
+ "http":{
16
+ "method":"POST",
17
+ "requestUri":"/accounts/{accountId}/users/{userId}?operation=associate-phone-number",
18
+ "responseCode":200
19
+ },
20
+ "input":{"shape":"AssociatePhoneNumberWithUserRequest"},
21
+ "output":{"shape":"AssociatePhoneNumberWithUserResponse"},
22
+ "errors":[
23
+ {"shape":"UnauthorizedClientException"},
24
+ {"shape":"NotFoundException"},
25
+ {"shape":"ForbiddenException"},
26
+ {"shape":"BadRequestException"},
27
+ {"shape":"ThrottledClientException"},
28
+ {"shape":"ServiceUnavailableException"},
29
+ {"shape":"ServiceFailureException"}
30
+ ]
31
+ },
32
+ "AssociatePhoneNumbersWithVoiceConnector":{
33
+ "name":"AssociatePhoneNumbersWithVoiceConnector",
34
+ "http":{
35
+ "method":"POST",
36
+ "requestUri":"/voice-connectors/{voiceConnectorId}?operation=associate-phone-numbers",
37
+ "responseCode":200
38
+ },
39
+ "input":{"shape":"AssociatePhoneNumbersWithVoiceConnectorRequest"},
40
+ "output":{"shape":"AssociatePhoneNumbersWithVoiceConnectorResponse"},
41
+ "errors":[
42
+ {"shape":"UnauthorizedClientException"},
43
+ {"shape":"NotFoundException"},
44
+ {"shape":"ForbiddenException"},
45
+ {"shape":"BadRequestException"},
46
+ {"shape":"ThrottledClientException"},
47
+ {"shape":"ServiceUnavailableException"},
48
+ {"shape":"ServiceFailureException"}
49
+ ]
50
+ },
51
+ "BatchDeletePhoneNumber":{
52
+ "name":"BatchDeletePhoneNumber",
53
+ "http":{
54
+ "method":"POST",
55
+ "requestUri":"/phone-numbers?operation=batch-delete",
56
+ "responseCode":200
57
+ },
58
+ "input":{"shape":"BatchDeletePhoneNumberRequest"},
59
+ "output":{"shape":"BatchDeletePhoneNumberResponse"},
60
+ "errors":[
61
+ {"shape":"UnauthorizedClientException"},
62
+ {"shape":"NotFoundException"},
63
+ {"shape":"ForbiddenException"},
64
+ {"shape":"BadRequestException"},
65
+ {"shape":"ThrottledClientException"},
66
+ {"shape":"ServiceUnavailableException"},
67
+ {"shape":"ServiceFailureException"}
68
+ ]
69
+ },
13
70
  "BatchSuspendUser":{
14
71
  "name":"BatchSuspendUser",
15
72
  "http":{
16
73
  "method":"POST",
17
- "requestUri":"/console/accounts/{accountId}/users?operation=suspend",
74
+ "requestUri":"/accounts/{accountId}/users?operation=suspend",
18
75
  "responseCode":200
19
76
  },
20
77
  "input":{"shape":"BatchSuspendUserRequest"},
@@ -33,7 +90,7 @@
33
90
  "name":"BatchUnsuspendUser",
34
91
  "http":{
35
92
  "method":"POST",
36
- "requestUri":"/console/accounts/{accountId}/users?operation=unsuspend",
93
+ "requestUri":"/accounts/{accountId}/users?operation=unsuspend",
37
94
  "responseCode":200
38
95
  },
39
96
  "input":{"shape":"BatchUnsuspendUserRequest"},
@@ -48,11 +105,30 @@
48
105
  {"shape":"ServiceFailureException"}
49
106
  ]
50
107
  },
108
+ "BatchUpdatePhoneNumber":{
109
+ "name":"BatchUpdatePhoneNumber",
110
+ "http":{
111
+ "method":"POST",
112
+ "requestUri":"/phone-numbers?operation=batch-update",
113
+ "responseCode":200
114
+ },
115
+ "input":{"shape":"BatchUpdatePhoneNumberRequest"},
116
+ "output":{"shape":"BatchUpdatePhoneNumberResponse"},
117
+ "errors":[
118
+ {"shape":"UnauthorizedClientException"},
119
+ {"shape":"NotFoundException"},
120
+ {"shape":"ForbiddenException"},
121
+ {"shape":"BadRequestException"},
122
+ {"shape":"ThrottledClientException"},
123
+ {"shape":"ServiceUnavailableException"},
124
+ {"shape":"ServiceFailureException"}
125
+ ]
126
+ },
51
127
  "BatchUpdateUser":{
52
128
  "name":"BatchUpdateUser",
53
129
  "http":{
54
130
  "method":"POST",
55
- "requestUri":"/console/accounts/{accountId}/users",
131
+ "requestUri":"/accounts/{accountId}/users",
56
132
  "responseCode":200
57
133
  },
58
134
  "input":{"shape":"BatchUpdateUserRequest"},
@@ -71,7 +147,7 @@
71
147
  "name":"CreateAccount",
72
148
  "http":{
73
149
  "method":"POST",
74
- "requestUri":"/console/accounts",
150
+ "requestUri":"/accounts",
75
151
  "responseCode":201
76
152
  },
77
153
  "input":{"shape":"CreateAccountRequest"},
@@ -86,11 +162,47 @@
86
162
  {"shape":"ServiceFailureException"}
87
163
  ]
88
164
  },
165
+ "CreatePhoneNumberOrder":{
166
+ "name":"CreatePhoneNumberOrder",
167
+ "http":{
168
+ "method":"POST",
169
+ "requestUri":"/phone-number-orders",
170
+ "responseCode":201
171
+ },
172
+ "input":{"shape":"CreatePhoneNumberOrderRequest"},
173
+ "output":{"shape":"CreatePhoneNumberOrderResponse"},
174
+ "errors":[
175
+ {"shape":"UnauthorizedClientException"},
176
+ {"shape":"ForbiddenException"},
177
+ {"shape":"BadRequestException"},
178
+ {"shape":"ThrottledClientException"},
179
+ {"shape":"ServiceUnavailableException"},
180
+ {"shape":"ServiceFailureException"}
181
+ ]
182
+ },
183
+ "CreateVoiceConnector":{
184
+ "name":"CreateVoiceConnector",
185
+ "http":{
186
+ "method":"POST",
187
+ "requestUri":"/voice-connectors",
188
+ "responseCode":201
189
+ },
190
+ "input":{"shape":"CreateVoiceConnectorRequest"},
191
+ "output":{"shape":"CreateVoiceConnectorResponse"},
192
+ "errors":[
193
+ {"shape":"UnauthorizedClientException"},
194
+ {"shape":"ForbiddenException"},
195
+ {"shape":"BadRequestException"},
196
+ {"shape":"ThrottledClientException"},
197
+ {"shape":"ServiceUnavailableException"},
198
+ {"shape":"ServiceFailureException"}
199
+ ]
200
+ },
89
201
  "DeleteAccount":{
90
202
  "name":"DeleteAccount",
91
203
  "http":{
92
204
  "method":"DELETE",
93
- "requestUri":"/console/accounts/{accountId}",
205
+ "requestUri":"/accounts/{accountId}",
94
206
  "responseCode":204
95
207
  },
96
208
  "input":{"shape":"DeleteAccountRequest"},
@@ -106,11 +218,139 @@
106
218
  {"shape":"ServiceFailureException"}
107
219
  ]
108
220
  },
221
+ "DeletePhoneNumber":{
222
+ "name":"DeletePhoneNumber",
223
+ "http":{
224
+ "method":"DELETE",
225
+ "requestUri":"/phone-numbers/{phoneNumberId}",
226
+ "responseCode":204
227
+ },
228
+ "input":{"shape":"DeletePhoneNumberRequest"},
229
+ "errors":[
230
+ {"shape":"UnauthorizedClientException"},
231
+ {"shape":"NotFoundException"},
232
+ {"shape":"ForbiddenException"},
233
+ {"shape":"BadRequestException"},
234
+ {"shape":"ThrottledClientException"},
235
+ {"shape":"ServiceUnavailableException"},
236
+ {"shape":"ServiceFailureException"}
237
+ ]
238
+ },
239
+ "DeleteVoiceConnector":{
240
+ "name":"DeleteVoiceConnector",
241
+ "http":{
242
+ "method":"DELETE",
243
+ "requestUri":"/voice-connectors/{voiceConnectorId}",
244
+ "responseCode":204
245
+ },
246
+ "input":{"shape":"DeleteVoiceConnectorRequest"},
247
+ "errors":[
248
+ {"shape":"UnauthorizedClientException"},
249
+ {"shape":"NotFoundException"},
250
+ {"shape":"ForbiddenException"},
251
+ {"shape":"BadRequestException"},
252
+ {"shape":"ThrottledClientException"},
253
+ {"shape":"ServiceUnavailableException"},
254
+ {"shape":"ServiceFailureException"}
255
+ ]
256
+ },
257
+ "DeleteVoiceConnectorOrigination":{
258
+ "name":"DeleteVoiceConnectorOrigination",
259
+ "http":{
260
+ "method":"DELETE",
261
+ "requestUri":"/voice-connectors/{voiceConnectorId}/origination",
262
+ "responseCode":204
263
+ },
264
+ "input":{"shape":"DeleteVoiceConnectorOriginationRequest"},
265
+ "errors":[
266
+ {"shape":"UnauthorizedClientException"},
267
+ {"shape":"NotFoundException"},
268
+ {"shape":"ForbiddenException"},
269
+ {"shape":"BadRequestException"},
270
+ {"shape":"ThrottledClientException"},
271
+ {"shape":"ServiceUnavailableException"},
272
+ {"shape":"ServiceFailureException"}
273
+ ]
274
+ },
275
+ "DeleteVoiceConnectorTermination":{
276
+ "name":"DeleteVoiceConnectorTermination",
277
+ "http":{
278
+ "method":"DELETE",
279
+ "requestUri":"/voice-connectors/{voiceConnectorId}/termination",
280
+ "responseCode":204
281
+ },
282
+ "input":{"shape":"DeleteVoiceConnectorTerminationRequest"},
283
+ "errors":[
284
+ {"shape":"UnauthorizedClientException"},
285
+ {"shape":"NotFoundException"},
286
+ {"shape":"ForbiddenException"},
287
+ {"shape":"BadRequestException"},
288
+ {"shape":"ThrottledClientException"},
289
+ {"shape":"ServiceUnavailableException"},
290
+ {"shape":"ServiceFailureException"}
291
+ ]
292
+ },
293
+ "DeleteVoiceConnectorTerminationCredentials":{
294
+ "name":"DeleteVoiceConnectorTerminationCredentials",
295
+ "http":{
296
+ "method":"POST",
297
+ "requestUri":"/voice-connectors/{voiceConnectorId}/termination/credentials?operation=delete",
298
+ "responseCode":204
299
+ },
300
+ "input":{"shape":"DeleteVoiceConnectorTerminationCredentialsRequest"},
301
+ "errors":[
302
+ {"shape":"UnauthorizedClientException"},
303
+ {"shape":"NotFoundException"},
304
+ {"shape":"ForbiddenException"},
305
+ {"shape":"BadRequestException"},
306
+ {"shape":"ThrottledClientException"},
307
+ {"shape":"ServiceUnavailableException"},
308
+ {"shape":"ServiceFailureException"}
309
+ ]
310
+ },
311
+ "DisassociatePhoneNumberFromUser":{
312
+ "name":"DisassociatePhoneNumberFromUser",
313
+ "http":{
314
+ "method":"POST",
315
+ "requestUri":"/accounts/{accountId}/users/{userId}?operation=disassociate-phone-number",
316
+ "responseCode":200
317
+ },
318
+ "input":{"shape":"DisassociatePhoneNumberFromUserRequest"},
319
+ "output":{"shape":"DisassociatePhoneNumberFromUserResponse"},
320
+ "errors":[
321
+ {"shape":"UnauthorizedClientException"},
322
+ {"shape":"NotFoundException"},
323
+ {"shape":"ForbiddenException"},
324
+ {"shape":"BadRequestException"},
325
+ {"shape":"ThrottledClientException"},
326
+ {"shape":"ServiceUnavailableException"},
327
+ {"shape":"ServiceFailureException"}
328
+ ]
329
+ },
330
+ "DisassociatePhoneNumbersFromVoiceConnector":{
331
+ "name":"DisassociatePhoneNumbersFromVoiceConnector",
332
+ "http":{
333
+ "method":"POST",
334
+ "requestUri":"/voice-connectors/{voiceConnectorId}?operation=disassociate-phone-numbers",
335
+ "responseCode":200
336
+ },
337
+ "input":{"shape":"DisassociatePhoneNumbersFromVoiceConnectorRequest"},
338
+ "output":{"shape":"DisassociatePhoneNumbersFromVoiceConnectorResponse"},
339
+ "errors":[
340
+ {"shape":"UnauthorizedClientException"},
341
+ {"shape":"NotFoundException"},
342
+ {"shape":"ForbiddenException"},
343
+ {"shape":"BadRequestException"},
344
+ {"shape":"ThrottledClientException"},
345
+ {"shape":"ServiceUnavailableException"},
346
+ {"shape":"ServiceFailureException"}
347
+ ]
348
+ },
109
349
  "GetAccount":{
110
350
  "name":"GetAccount",
111
351
  "http":{
112
352
  "method":"GET",
113
- "requestUri":"/console/accounts/{accountId}"
353
+ "requestUri":"/accounts/{accountId}"
114
354
  },
115
355
  "input":{"shape":"GetAccountRequest"},
116
356
  "output":{"shape":"GetAccountResponse"},
@@ -128,7 +368,7 @@
128
368
  "name":"GetAccountSettings",
129
369
  "http":{
130
370
  "method":"GET",
131
- "requestUri":"/console/accounts/{accountId}/settings"
371
+ "requestUri":"/accounts/{accountId}/settings"
132
372
  },
133
373
  "input":{"shape":"GetAccountSettingsRequest"},
134
374
  "output":{"shape":"GetAccountSettingsResponse"},
@@ -142,18 +382,16 @@
142
382
  {"shape":"ServiceFailureException"}
143
383
  ]
144
384
  },
145
- "GetUser":{
146
- "name":"GetUser",
385
+ "GetGlobalSettings":{
386
+ "name":"GetGlobalSettings",
147
387
  "http":{
148
388
  "method":"GET",
149
- "requestUri":"/console/accounts/{accountId}/users/{userId}",
389
+ "requestUri":"/settings",
150
390
  "responseCode":200
151
391
  },
152
- "input":{"shape":"GetUserRequest"},
153
- "output":{"shape":"GetUserResponse"},
392
+ "output":{"shape":"GetGlobalSettingsResponse"},
154
393
  "errors":[
155
394
  {"shape":"UnauthorizedClientException"},
156
- {"shape":"NotFoundException"},
157
395
  {"shape":"ForbiddenException"},
158
396
  {"shape":"BadRequestException"},
159
397
  {"shape":"ThrottledClientException"},
@@ -161,15 +399,14 @@
161
399
  {"shape":"ServiceFailureException"}
162
400
  ]
163
401
  },
164
- "InviteUsers":{
165
- "name":"InviteUsers",
402
+ "GetPhoneNumber":{
403
+ "name":"GetPhoneNumber",
166
404
  "http":{
167
- "method":"POST",
168
- "requestUri":"/console/accounts/{accountId}/users?operation=add",
169
- "responseCode":201
405
+ "method":"GET",
406
+ "requestUri":"/phone-numbers/{phoneNumberId}"
170
407
  },
171
- "input":{"shape":"InviteUsersRequest"},
172
- "output":{"shape":"InviteUsersResponse"},
408
+ "input":{"shape":"GetPhoneNumberRequest"},
409
+ "output":{"shape":"GetPhoneNumberResponse"},
173
410
  "errors":[
174
411
  {"shape":"UnauthorizedClientException"},
175
412
  {"shape":"NotFoundException"},
@@ -180,14 +417,15 @@
180
417
  {"shape":"ServiceFailureException"}
181
418
  ]
182
419
  },
183
- "ListAccounts":{
184
- "name":"ListAccounts",
420
+ "GetPhoneNumberOrder":{
421
+ "name":"GetPhoneNumberOrder",
185
422
  "http":{
186
423
  "method":"GET",
187
- "requestUri":"/console/accounts"
424
+ "requestUri":"/phone-number-orders/{phoneNumberOrderId}",
425
+ "responseCode":200
188
426
  },
189
- "input":{"shape":"ListAccountsRequest"},
190
- "output":{"shape":"ListAccountsResponse"},
427
+ "input":{"shape":"GetPhoneNumberOrderRequest"},
428
+ "output":{"shape":"GetPhoneNumberOrderResponse"},
191
429
  "errors":[
192
430
  {"shape":"UnauthorizedClientException"},
193
431
  {"shape":"NotFoundException"},
@@ -198,15 +436,15 @@
198
436
  {"shape":"ServiceFailureException"}
199
437
  ]
200
438
  },
201
- "ListUsers":{
202
- "name":"ListUsers",
439
+ "GetUser":{
440
+ "name":"GetUser",
203
441
  "http":{
204
442
  "method":"GET",
205
- "requestUri":"/console/accounts/{accountId}/users",
443
+ "requestUri":"/accounts/{accountId}/users/{userId}",
206
444
  "responseCode":200
207
445
  },
208
- "input":{"shape":"ListUsersRequest"},
209
- "output":{"shape":"ListUsersResponse"},
446
+ "input":{"shape":"GetUserRequest"},
447
+ "output":{"shape":"GetUserResponse"},
210
448
  "errors":[
211
449
  {"shape":"UnauthorizedClientException"},
212
450
  {"shape":"NotFoundException"},
@@ -217,15 +455,15 @@
217
455
  {"shape":"ServiceFailureException"}
218
456
  ]
219
457
  },
220
- "LogoutUser":{
221
- "name":"LogoutUser",
458
+ "GetUserSettings":{
459
+ "name":"GetUserSettings",
222
460
  "http":{
223
- "method":"POST",
224
- "requestUri":"/console/accounts/{accountId}/users/{userId}?operation=logout",
225
- "responseCode":204
461
+ "method":"GET",
462
+ "requestUri":"/accounts/{accountId}/users/{userId}/settings",
463
+ "responseCode":200
226
464
  },
227
- "input":{"shape":"LogoutUserRequest"},
228
- "output":{"shape":"LogoutUserResponse"},
465
+ "input":{"shape":"GetUserSettingsRequest"},
466
+ "output":{"shape":"GetUserSettingsResponse"},
229
467
  "errors":[
230
468
  {"shape":"UnauthorizedClientException"},
231
469
  {"shape":"NotFoundException"},
@@ -236,15 +474,15 @@
236
474
  {"shape":"ServiceFailureException"}
237
475
  ]
238
476
  },
239
- "ResetPersonalPIN":{
240
- "name":"ResetPersonalPIN",
477
+ "GetVoiceConnector":{
478
+ "name":"GetVoiceConnector",
241
479
  "http":{
242
- "method":"POST",
243
- "requestUri":"/console/accounts/{accountId}/users/{userId}?operation=reset-personal-pin",
480
+ "method":"GET",
481
+ "requestUri":"/voice-connectors/{voiceConnectorId}",
244
482
  "responseCode":200
245
483
  },
246
- "input":{"shape":"ResetPersonalPINRequest"},
247
- "output":{"shape":"ResetPersonalPINResponse"},
484
+ "input":{"shape":"GetVoiceConnectorRequest"},
485
+ "output":{"shape":"GetVoiceConnectorResponse"},
248
486
  "errors":[
249
487
  {"shape":"UnauthorizedClientException"},
250
488
  {"shape":"NotFoundException"},
@@ -255,15 +493,15 @@
255
493
  {"shape":"ServiceFailureException"}
256
494
  ]
257
495
  },
258
- "UpdateAccount":{
259
- "name":"UpdateAccount",
496
+ "GetVoiceConnectorOrigination":{
497
+ "name":"GetVoiceConnectorOrigination",
260
498
  "http":{
261
- "method":"POST",
262
- "requestUri":"/console/accounts/{accountId}",
499
+ "method":"GET",
500
+ "requestUri":"/voice-connectors/{voiceConnectorId}/origination",
263
501
  "responseCode":200
264
502
  },
265
- "input":{"shape":"UpdateAccountRequest"},
266
- "output":{"shape":"UpdateAccountResponse"},
503
+ "input":{"shape":"GetVoiceConnectorOriginationRequest"},
504
+ "output":{"shape":"GetVoiceConnectorOriginationResponse"},
267
505
  "errors":[
268
506
  {"shape":"UnauthorizedClientException"},
269
507
  {"shape":"NotFoundException"},
@@ -274,35 +512,34 @@
274
512
  {"shape":"ServiceFailureException"}
275
513
  ]
276
514
  },
277
- "UpdateAccountSettings":{
278
- "name":"UpdateAccountSettings",
515
+ "GetVoiceConnectorTermination":{
516
+ "name":"GetVoiceConnectorTermination",
279
517
  "http":{
280
- "method":"PUT",
281
- "requestUri":"/console/accounts/{accountId}/settings",
282
- "responseCode":204
518
+ "method":"GET",
519
+ "requestUri":"/voice-connectors/{voiceConnectorId}/termination",
520
+ "responseCode":200
283
521
  },
284
- "input":{"shape":"UpdateAccountSettingsRequest"},
285
- "output":{"shape":"UpdateAccountSettingsResponse"},
522
+ "input":{"shape":"GetVoiceConnectorTerminationRequest"},
523
+ "output":{"shape":"GetVoiceConnectorTerminationResponse"},
286
524
  "errors":[
287
525
  {"shape":"UnauthorizedClientException"},
288
526
  {"shape":"NotFoundException"},
289
- {"shape":"BadRequestException"},
290
527
  {"shape":"ForbiddenException"},
291
- {"shape":"ConflictException"},
528
+ {"shape":"BadRequestException"},
292
529
  {"shape":"ThrottledClientException"},
293
530
  {"shape":"ServiceUnavailableException"},
294
531
  {"shape":"ServiceFailureException"}
295
532
  ]
296
533
  },
297
- "UpdateUser":{
298
- "name":"UpdateUser",
534
+ "GetVoiceConnectorTerminationHealth":{
535
+ "name":"GetVoiceConnectorTerminationHealth",
299
536
  "http":{
300
- "method":"POST",
301
- "requestUri":"/console/accounts/{accountId}/users/{userId}",
537
+ "method":"GET",
538
+ "requestUri":"/voice-connectors/{voiceConnectorId}/termination/health",
302
539
  "responseCode":200
303
540
  },
304
- "input":{"shape":"UpdateUserRequest"},
305
- "output":{"shape":"UpdateUserResponse"},
541
+ "input":{"shape":"GetVoiceConnectorTerminationHealthRequest"},
542
+ "output":{"shape":"GetVoiceConnectorTerminationHealthResponse"},
306
543
  "errors":[
307
544
  {"shape":"UnauthorizedClientException"},
308
545
  {"shape":"NotFoundException"},
@@ -312,425 +549,1527 @@
312
549
  {"shape":"ServiceUnavailableException"},
313
550
  {"shape":"ServiceFailureException"}
314
551
  ]
315
- }
316
- },
317
- "shapes":{
318
- "Account":{
319
- "type":"structure",
320
- "required":[
321
- "AwsAccountId",
322
- "AccountId",
323
- "Name"
324
- ],
325
- "members":{
326
- "AwsAccountId":{"shape":"String"},
327
- "AccountId":{"shape":"String"},
328
- "Name":{"shape":"String"},
552
+ },
553
+ "InviteUsers":{
554
+ "name":"InviteUsers",
555
+ "http":{
556
+ "method":"POST",
557
+ "requestUri":"/accounts/{accountId}/users?operation=add",
558
+ "responseCode":201
559
+ },
560
+ "input":{"shape":"InviteUsersRequest"},
561
+ "output":{"shape":"InviteUsersResponse"},
562
+ "errors":[
563
+ {"shape":"UnauthorizedClientException"},
564
+ {"shape":"NotFoundException"},
565
+ {"shape":"ForbiddenException"},
566
+ {"shape":"BadRequestException"},
567
+ {"shape":"ThrottledClientException"},
568
+ {"shape":"ServiceUnavailableException"},
569
+ {"shape":"ServiceFailureException"}
570
+ ]
571
+ },
572
+ "ListAccounts":{
573
+ "name":"ListAccounts",
574
+ "http":{
575
+ "method":"GET",
576
+ "requestUri":"/accounts"
577
+ },
578
+ "input":{"shape":"ListAccountsRequest"},
579
+ "output":{"shape":"ListAccountsResponse"},
580
+ "errors":[
581
+ {"shape":"UnauthorizedClientException"},
582
+ {"shape":"NotFoundException"},
583
+ {"shape":"ForbiddenException"},
584
+ {"shape":"BadRequestException"},
585
+ {"shape":"ThrottledClientException"},
586
+ {"shape":"ServiceUnavailableException"},
587
+ {"shape":"ServiceFailureException"}
588
+ ]
589
+ },
590
+ "ListPhoneNumberOrders":{
591
+ "name":"ListPhoneNumberOrders",
592
+ "http":{
593
+ "method":"GET",
594
+ "requestUri":"/phone-number-orders",
595
+ "responseCode":200
596
+ },
597
+ "input":{"shape":"ListPhoneNumberOrdersRequest"},
598
+ "output":{"shape":"ListPhoneNumberOrdersResponse"},
599
+ "errors":[
600
+ {"shape":"UnauthorizedClientException"},
601
+ {"shape":"ForbiddenException"},
602
+ {"shape":"BadRequestException"},
603
+ {"shape":"ThrottledClientException"},
604
+ {"shape":"ServiceUnavailableException"},
605
+ {"shape":"ServiceFailureException"}
606
+ ]
607
+ },
608
+ "ListPhoneNumbers":{
609
+ "name":"ListPhoneNumbers",
610
+ "http":{
611
+ "method":"GET",
612
+ "requestUri":"/phone-numbers"
613
+ },
614
+ "input":{"shape":"ListPhoneNumbersRequest"},
615
+ "output":{"shape":"ListPhoneNumbersResponse"},
616
+ "errors":[
617
+ {"shape":"UnauthorizedClientException"},
618
+ {"shape":"ForbiddenException"},
619
+ {"shape":"BadRequestException"},
620
+ {"shape":"ThrottledClientException"},
621
+ {"shape":"ServiceUnavailableException"},
622
+ {"shape":"ServiceFailureException"}
623
+ ]
624
+ },
625
+ "ListUsers":{
626
+ "name":"ListUsers",
627
+ "http":{
628
+ "method":"GET",
629
+ "requestUri":"/accounts/{accountId}/users",
630
+ "responseCode":200
631
+ },
632
+ "input":{"shape":"ListUsersRequest"},
633
+ "output":{"shape":"ListUsersResponse"},
634
+ "errors":[
635
+ {"shape":"UnauthorizedClientException"},
636
+ {"shape":"NotFoundException"},
637
+ {"shape":"ForbiddenException"},
638
+ {"shape":"BadRequestException"},
639
+ {"shape":"ThrottledClientException"},
640
+ {"shape":"ServiceUnavailableException"},
641
+ {"shape":"ServiceFailureException"}
642
+ ]
643
+ },
644
+ "ListVoiceConnectorTerminationCredentials":{
645
+ "name":"ListVoiceConnectorTerminationCredentials",
646
+ "http":{
647
+ "method":"GET",
648
+ "requestUri":"/voice-connectors/{voiceConnectorId}/termination/credentials",
649
+ "responseCode":200
650
+ },
651
+ "input":{"shape":"ListVoiceConnectorTerminationCredentialsRequest"},
652
+ "output":{"shape":"ListVoiceConnectorTerminationCredentialsResponse"},
653
+ "errors":[
654
+ {"shape":"UnauthorizedClientException"},
655
+ {"shape":"NotFoundException"},
656
+ {"shape":"ForbiddenException"},
657
+ {"shape":"BadRequestException"},
658
+ {"shape":"ThrottledClientException"},
659
+ {"shape":"ServiceUnavailableException"},
660
+ {"shape":"ServiceFailureException"}
661
+ ]
662
+ },
663
+ "ListVoiceConnectors":{
664
+ "name":"ListVoiceConnectors",
665
+ "http":{
666
+ "method":"GET",
667
+ "requestUri":"/voice-connectors",
668
+ "responseCode":200
669
+ },
670
+ "input":{"shape":"ListVoiceConnectorsRequest"},
671
+ "output":{"shape":"ListVoiceConnectorsResponse"},
672
+ "errors":[
673
+ {"shape":"UnauthorizedClientException"},
674
+ {"shape":"ForbiddenException"},
675
+ {"shape":"BadRequestException"},
676
+ {"shape":"ThrottledClientException"},
677
+ {"shape":"ServiceUnavailableException"},
678
+ {"shape":"ServiceFailureException"}
679
+ ]
680
+ },
681
+ "LogoutUser":{
682
+ "name":"LogoutUser",
683
+ "http":{
684
+ "method":"POST",
685
+ "requestUri":"/accounts/{accountId}/users/{userId}?operation=logout",
686
+ "responseCode":204
687
+ },
688
+ "input":{"shape":"LogoutUserRequest"},
689
+ "output":{"shape":"LogoutUserResponse"},
690
+ "errors":[
691
+ {"shape":"UnauthorizedClientException"},
692
+ {"shape":"NotFoundException"},
693
+ {"shape":"ForbiddenException"},
694
+ {"shape":"BadRequestException"},
695
+ {"shape":"ThrottledClientException"},
696
+ {"shape":"ServiceUnavailableException"},
697
+ {"shape":"ServiceFailureException"}
698
+ ]
699
+ },
700
+ "PutVoiceConnectorOrigination":{
701
+ "name":"PutVoiceConnectorOrigination",
702
+ "http":{
703
+ "method":"PUT",
704
+ "requestUri":"/voice-connectors/{voiceConnectorId}/origination",
705
+ "responseCode":200
706
+ },
707
+ "input":{"shape":"PutVoiceConnectorOriginationRequest"},
708
+ "output":{"shape":"PutVoiceConnectorOriginationResponse"},
709
+ "errors":[
710
+ {"shape":"UnauthorizedClientException"},
711
+ {"shape":"NotFoundException"},
712
+ {"shape":"ForbiddenException"},
713
+ {"shape":"BadRequestException"},
714
+ {"shape":"ThrottledClientException"},
715
+ {"shape":"ServiceUnavailableException"},
716
+ {"shape":"ServiceFailureException"}
717
+ ]
718
+ },
719
+ "PutVoiceConnectorTermination":{
720
+ "name":"PutVoiceConnectorTermination",
721
+ "http":{
722
+ "method":"PUT",
723
+ "requestUri":"/voice-connectors/{voiceConnectorId}/termination",
724
+ "responseCode":200
725
+ },
726
+ "input":{"shape":"PutVoiceConnectorTerminationRequest"},
727
+ "output":{"shape":"PutVoiceConnectorTerminationResponse"},
728
+ "errors":[
729
+ {"shape":"UnauthorizedClientException"},
730
+ {"shape":"NotFoundException"},
731
+ {"shape":"ForbiddenException"},
732
+ {"shape":"BadRequestException"},
733
+ {"shape":"ThrottledClientException"},
734
+ {"shape":"ServiceUnavailableException"},
735
+ {"shape":"ServiceFailureException"}
736
+ ]
737
+ },
738
+ "PutVoiceConnectorTerminationCredentials":{
739
+ "name":"PutVoiceConnectorTerminationCredentials",
740
+ "http":{
741
+ "method":"POST",
742
+ "requestUri":"/voice-connectors/{voiceConnectorId}/termination/credentials?operation=put",
743
+ "responseCode":204
744
+ },
745
+ "input":{"shape":"PutVoiceConnectorTerminationCredentialsRequest"},
746
+ "errors":[
747
+ {"shape":"UnauthorizedClientException"},
748
+ {"shape":"NotFoundException"},
749
+ {"shape":"ForbiddenException"},
750
+ {"shape":"BadRequestException"},
751
+ {"shape":"ThrottledClientException"},
752
+ {"shape":"ServiceUnavailableException"},
753
+ {"shape":"ServiceFailureException"}
754
+ ]
755
+ },
756
+ "ResetPersonalPIN":{
757
+ "name":"ResetPersonalPIN",
758
+ "http":{
759
+ "method":"POST",
760
+ "requestUri":"/accounts/{accountId}/users/{userId}?operation=reset-personal-pin",
761
+ "responseCode":200
762
+ },
763
+ "input":{"shape":"ResetPersonalPINRequest"},
764
+ "output":{"shape":"ResetPersonalPINResponse"},
765
+ "errors":[
766
+ {"shape":"UnauthorizedClientException"},
767
+ {"shape":"NotFoundException"},
768
+ {"shape":"ForbiddenException"},
769
+ {"shape":"BadRequestException"},
770
+ {"shape":"ThrottledClientException"},
771
+ {"shape":"ServiceUnavailableException"},
772
+ {"shape":"ServiceFailureException"}
773
+ ]
774
+ },
775
+ "RestorePhoneNumber":{
776
+ "name":"RestorePhoneNumber",
777
+ "http":{
778
+ "method":"POST",
779
+ "requestUri":"/phone-numbers/{phoneNumberId}?operation=restore",
780
+ "responseCode":200
781
+ },
782
+ "input":{"shape":"RestorePhoneNumberRequest"},
783
+ "output":{"shape":"RestorePhoneNumberResponse"},
784
+ "errors":[
785
+ {"shape":"UnauthorizedClientException"},
786
+ {"shape":"NotFoundException"},
787
+ {"shape":"ForbiddenException"},
788
+ {"shape":"BadRequestException"},
789
+ {"shape":"ThrottledClientException"},
790
+ {"shape":"ServiceUnavailableException"},
791
+ {"shape":"ServiceFailureException"}
792
+ ]
793
+ },
794
+ "SearchAvailablePhoneNumbers":{
795
+ "name":"SearchAvailablePhoneNumbers",
796
+ "http":{
797
+ "method":"GET",
798
+ "requestUri":"/search?type=phone-numbers"
799
+ },
800
+ "input":{"shape":"SearchAvailablePhoneNumbersRequest"},
801
+ "output":{"shape":"SearchAvailablePhoneNumbersResponse"},
802
+ "errors":[
803
+ {"shape":"UnauthorizedClientException"},
804
+ {"shape":"ForbiddenException"},
805
+ {"shape":"BadRequestException"},
806
+ {"shape":"ThrottledClientException"},
807
+ {"shape":"ServiceUnavailableException"},
808
+ {"shape":"ServiceFailureException"}
809
+ ]
810
+ },
811
+ "UpdateAccount":{
812
+ "name":"UpdateAccount",
813
+ "http":{
814
+ "method":"POST",
815
+ "requestUri":"/accounts/{accountId}",
816
+ "responseCode":200
817
+ },
818
+ "input":{"shape":"UpdateAccountRequest"},
819
+ "output":{"shape":"UpdateAccountResponse"},
820
+ "errors":[
821
+ {"shape":"UnauthorizedClientException"},
822
+ {"shape":"NotFoundException"},
823
+ {"shape":"ForbiddenException"},
824
+ {"shape":"BadRequestException"},
825
+ {"shape":"ThrottledClientException"},
826
+ {"shape":"ServiceUnavailableException"},
827
+ {"shape":"ServiceFailureException"}
828
+ ]
829
+ },
830
+ "UpdateAccountSettings":{
831
+ "name":"UpdateAccountSettings",
832
+ "http":{
833
+ "method":"PUT",
834
+ "requestUri":"/accounts/{accountId}/settings",
835
+ "responseCode":204
836
+ },
837
+ "input":{"shape":"UpdateAccountSettingsRequest"},
838
+ "output":{"shape":"UpdateAccountSettingsResponse"},
839
+ "errors":[
840
+ {"shape":"UnauthorizedClientException"},
841
+ {"shape":"NotFoundException"},
842
+ {"shape":"BadRequestException"},
843
+ {"shape":"ForbiddenException"},
844
+ {"shape":"ConflictException"},
845
+ {"shape":"ThrottledClientException"},
846
+ {"shape":"ServiceUnavailableException"},
847
+ {"shape":"ServiceFailureException"}
848
+ ]
849
+ },
850
+ "UpdateGlobalSettings":{
851
+ "name":"UpdateGlobalSettings",
852
+ "http":{
853
+ "method":"PUT",
854
+ "requestUri":"/settings",
855
+ "responseCode":204
856
+ },
857
+ "input":{"shape":"UpdateGlobalSettingsRequest"},
858
+ "errors":[
859
+ {"shape":"UnauthorizedClientException"},
860
+ {"shape":"ForbiddenException"},
861
+ {"shape":"BadRequestException"},
862
+ {"shape":"ThrottledClientException"},
863
+ {"shape":"ServiceUnavailableException"},
864
+ {"shape":"ServiceFailureException"}
865
+ ]
866
+ },
867
+ "UpdatePhoneNumber":{
868
+ "name":"UpdatePhoneNumber",
869
+ "http":{
870
+ "method":"POST",
871
+ "requestUri":"/phone-numbers/{phoneNumberId}",
872
+ "responseCode":200
873
+ },
874
+ "input":{"shape":"UpdatePhoneNumberRequest"},
875
+ "output":{"shape":"UpdatePhoneNumberResponse"},
876
+ "errors":[
877
+ {"shape":"UnauthorizedClientException"},
878
+ {"shape":"NotFoundException"},
879
+ {"shape":"ForbiddenException"},
880
+ {"shape":"BadRequestException"},
881
+ {"shape":"ThrottledClientException"},
882
+ {"shape":"ServiceUnavailableException"},
883
+ {"shape":"ServiceFailureException"}
884
+ ]
885
+ },
886
+ "UpdateUser":{
887
+ "name":"UpdateUser",
888
+ "http":{
889
+ "method":"POST",
890
+ "requestUri":"/accounts/{accountId}/users/{userId}",
891
+ "responseCode":200
892
+ },
893
+ "input":{"shape":"UpdateUserRequest"},
894
+ "output":{"shape":"UpdateUserResponse"},
895
+ "errors":[
896
+ {"shape":"UnauthorizedClientException"},
897
+ {"shape":"NotFoundException"},
898
+ {"shape":"ForbiddenException"},
899
+ {"shape":"BadRequestException"},
900
+ {"shape":"ThrottledClientException"},
901
+ {"shape":"ServiceUnavailableException"},
902
+ {"shape":"ServiceFailureException"}
903
+ ]
904
+ },
905
+ "UpdateUserSettings":{
906
+ "name":"UpdateUserSettings",
907
+ "http":{
908
+ "method":"PUT",
909
+ "requestUri":"/accounts/{accountId}/users/{userId}/settings",
910
+ "responseCode":204
911
+ },
912
+ "input":{"shape":"UpdateUserSettingsRequest"},
913
+ "errors":[
914
+ {"shape":"UnauthorizedClientException"},
915
+ {"shape":"NotFoundException"},
916
+ {"shape":"ForbiddenException"},
917
+ {"shape":"BadRequestException"},
918
+ {"shape":"ThrottledClientException"},
919
+ {"shape":"ServiceUnavailableException"},
920
+ {"shape":"ServiceFailureException"}
921
+ ]
922
+ },
923
+ "UpdateVoiceConnector":{
924
+ "name":"UpdateVoiceConnector",
925
+ "http":{
926
+ "method":"PUT",
927
+ "requestUri":"/voice-connectors/{voiceConnectorId}",
928
+ "responseCode":200
929
+ },
930
+ "input":{"shape":"UpdateVoiceConnectorRequest"},
931
+ "output":{"shape":"UpdateVoiceConnectorResponse"},
932
+ "errors":[
933
+ {"shape":"UnauthorizedClientException"},
934
+ {"shape":"NotFoundException"},
935
+ {"shape":"ForbiddenException"},
936
+ {"shape":"BadRequestException"},
937
+ {"shape":"ThrottledClientException"},
938
+ {"shape":"ServiceUnavailableException"},
939
+ {"shape":"ServiceFailureException"}
940
+ ]
941
+ }
942
+ },
943
+ "shapes":{
944
+ "Account":{
945
+ "type":"structure",
946
+ "required":[
947
+ "AwsAccountId",
948
+ "AccountId",
949
+ "Name"
950
+ ],
951
+ "members":{
952
+ "AwsAccountId":{"shape":"String"},
953
+ "AccountId":{"shape":"String"},
954
+ "Name":{"shape":"String"},
329
955
  "AccountType":{"shape":"AccountType"},
330
956
  "CreatedTimestamp":{"shape":"Iso8601Timestamp"},
331
957
  "DefaultLicense":{"shape":"License"},
332
958
  "SupportedLicenses":{"shape":"LicenseList"}
333
959
  }
334
960
  },
335
- "AccountList":{
961
+ "AccountList":{
962
+ "type":"list",
963
+ "member":{"shape":"Account"}
964
+ },
965
+ "AccountName":{
966
+ "type":"string",
967
+ "max":100,
968
+ "min":1,
969
+ "pattern":".*\\S.*"
970
+ },
971
+ "AccountSettings":{
972
+ "type":"structure",
973
+ "members":{
974
+ "DisableRemoteControl":{"shape":"Boolean"},
975
+ "EnableDialOut":{"shape":"Boolean"}
976
+ }
977
+ },
978
+ "AccountType":{
979
+ "type":"string",
980
+ "enum":[
981
+ "Team",
982
+ "EnterpriseDirectory",
983
+ "EnterpriseLWA",
984
+ "EnterpriseOIDC"
985
+ ]
986
+ },
987
+ "AssociatePhoneNumberWithUserRequest":{
988
+ "type":"structure",
989
+ "required":[
990
+ "AccountId",
991
+ "UserId",
992
+ "E164PhoneNumber"
993
+ ],
994
+ "members":{
995
+ "AccountId":{
996
+ "shape":"String",
997
+ "location":"uri",
998
+ "locationName":"accountId"
999
+ },
1000
+ "UserId":{
1001
+ "shape":"String",
1002
+ "location":"uri",
1003
+ "locationName":"userId"
1004
+ },
1005
+ "E164PhoneNumber":{"shape":"E164PhoneNumber"}
1006
+ }
1007
+ },
1008
+ "AssociatePhoneNumberWithUserResponse":{
1009
+ "type":"structure",
1010
+ "members":{
1011
+ }
1012
+ },
1013
+ "AssociatePhoneNumbersWithVoiceConnectorRequest":{
1014
+ "type":"structure",
1015
+ "required":["VoiceConnectorId"],
1016
+ "members":{
1017
+ "VoiceConnectorId":{
1018
+ "shape":"NonEmptyString",
1019
+ "location":"uri",
1020
+ "locationName":"voiceConnectorId"
1021
+ },
1022
+ "E164PhoneNumbers":{"shape":"E164PhoneNumberList"}
1023
+ }
1024
+ },
1025
+ "AssociatePhoneNumbersWithVoiceConnectorResponse":{
1026
+ "type":"structure",
1027
+ "members":{
1028
+ "PhoneNumberErrors":{"shape":"PhoneNumberErrorList"}
1029
+ }
1030
+ },
1031
+ "BadRequestException":{
1032
+ "type":"structure",
1033
+ "members":{
1034
+ "Code":{"shape":"ErrorCode"},
1035
+ "Message":{"shape":"String"}
1036
+ },
1037
+ "error":{"httpStatusCode":400},
1038
+ "exception":true
1039
+ },
1040
+ "BatchDeletePhoneNumberRequest":{
1041
+ "type":"structure",
1042
+ "required":["PhoneNumberIds"],
1043
+ "members":{
1044
+ "PhoneNumberIds":{"shape":"NonEmptyStringList"}
1045
+ }
1046
+ },
1047
+ "BatchDeletePhoneNumberResponse":{
1048
+ "type":"structure",
1049
+ "members":{
1050
+ "PhoneNumberErrors":{"shape":"PhoneNumberErrorList"}
1051
+ }
1052
+ },
1053
+ "BatchSuspendUserRequest":{
1054
+ "type":"structure",
1055
+ "required":[
1056
+ "AccountId",
1057
+ "UserIdList"
1058
+ ],
1059
+ "members":{
1060
+ "AccountId":{
1061
+ "shape":"NonEmptyString",
1062
+ "location":"uri",
1063
+ "locationName":"accountId"
1064
+ },
1065
+ "UserIdList":{"shape":"UserIdList"}
1066
+ }
1067
+ },
1068
+ "BatchSuspendUserResponse":{
1069
+ "type":"structure",
1070
+ "members":{
1071
+ "UserErrors":{"shape":"UserErrorList"}
1072
+ }
1073
+ },
1074
+ "BatchUnsuspendUserRequest":{
1075
+ "type":"structure",
1076
+ "required":[
1077
+ "AccountId",
1078
+ "UserIdList"
1079
+ ],
1080
+ "members":{
1081
+ "AccountId":{
1082
+ "shape":"NonEmptyString",
1083
+ "location":"uri",
1084
+ "locationName":"accountId"
1085
+ },
1086
+ "UserIdList":{"shape":"UserIdList"}
1087
+ }
1088
+ },
1089
+ "BatchUnsuspendUserResponse":{
1090
+ "type":"structure",
1091
+ "members":{
1092
+ "UserErrors":{"shape":"UserErrorList"}
1093
+ }
1094
+ },
1095
+ "BatchUpdatePhoneNumberRequest":{
1096
+ "type":"structure",
1097
+ "required":["UpdatePhoneNumberRequestItems"],
1098
+ "members":{
1099
+ "UpdatePhoneNumberRequestItems":{"shape":"UpdatePhoneNumberRequestItemList"}
1100
+ }
1101
+ },
1102
+ "BatchUpdatePhoneNumberResponse":{
1103
+ "type":"structure",
1104
+ "members":{
1105
+ "PhoneNumberErrors":{"shape":"PhoneNumberErrorList"}
1106
+ }
1107
+ },
1108
+ "BatchUpdateUserRequest":{
1109
+ "type":"structure",
1110
+ "required":[
1111
+ "AccountId",
1112
+ "UpdateUserRequestItems"
1113
+ ],
1114
+ "members":{
1115
+ "AccountId":{
1116
+ "shape":"NonEmptyString",
1117
+ "location":"uri",
1118
+ "locationName":"accountId"
1119
+ },
1120
+ "UpdateUserRequestItems":{"shape":"UpdateUserRequestItemList"}
1121
+ }
1122
+ },
1123
+ "BatchUpdateUserResponse":{
1124
+ "type":"structure",
1125
+ "members":{
1126
+ "UserErrors":{"shape":"UserErrorList"}
1127
+ }
1128
+ },
1129
+ "Boolean":{"type":"boolean"},
1130
+ "BusinessCallingSettings":{
1131
+ "type":"structure",
1132
+ "members":{
1133
+ "CdrBucket":{
1134
+ "shape":"String",
1135
+ "box":true
1136
+ }
1137
+ }
1138
+ },
1139
+ "CallingRegion":{"type":"string"},
1140
+ "CallingRegionList":{
1141
+ "type":"list",
1142
+ "member":{"shape":"CallingRegion"}
1143
+ },
1144
+ "ConflictException":{
1145
+ "type":"structure",
1146
+ "members":{
1147
+ "Code":{"shape":"ErrorCode"},
1148
+ "Message":{"shape":"String"}
1149
+ },
1150
+ "error":{"httpStatusCode":409},
1151
+ "exception":true
1152
+ },
1153
+ "CpsLimit":{
1154
+ "type":"integer",
1155
+ "min":1
1156
+ },
1157
+ "CreateAccountRequest":{
1158
+ "type":"structure",
1159
+ "required":["Name"],
1160
+ "members":{
1161
+ "Name":{"shape":"AccountName"}
1162
+ }
1163
+ },
1164
+ "CreateAccountResponse":{
1165
+ "type":"structure",
1166
+ "members":{
1167
+ "Account":{"shape":"Account"}
1168
+ }
1169
+ },
1170
+ "CreatePhoneNumberOrderRequest":{
1171
+ "type":"structure",
1172
+ "required":[
1173
+ "ProductType",
1174
+ "E164PhoneNumbers"
1175
+ ],
1176
+ "members":{
1177
+ "ProductType":{"shape":"PhoneNumberProductType"},
1178
+ "E164PhoneNumbers":{"shape":"E164PhoneNumberList"}
1179
+ }
1180
+ },
1181
+ "CreatePhoneNumberOrderResponse":{
1182
+ "type":"structure",
1183
+ "members":{
1184
+ "PhoneNumberOrder":{"shape":"PhoneNumberOrder"}
1185
+ }
1186
+ },
1187
+ "CreateVoiceConnectorRequest":{
1188
+ "type":"structure",
1189
+ "required":[
1190
+ "Name",
1191
+ "RequireEncryption"
1192
+ ],
1193
+ "members":{
1194
+ "Name":{"shape":"VoiceConnectorName"},
1195
+ "RequireEncryption":{"shape":"Boolean"}
1196
+ }
1197
+ },
1198
+ "CreateVoiceConnectorResponse":{
1199
+ "type":"structure",
1200
+ "members":{
1201
+ "VoiceConnector":{"shape":"VoiceConnector"}
1202
+ }
1203
+ },
1204
+ "Credential":{
1205
+ "type":"structure",
1206
+ "members":{
1207
+ "Username":{"shape":"SensitiveString"},
1208
+ "Password":{"shape":"SensitiveString"}
1209
+ }
1210
+ },
1211
+ "CredentialList":{
1212
+ "type":"list",
1213
+ "member":{"shape":"Credential"}
1214
+ },
1215
+ "DeleteAccountRequest":{
1216
+ "type":"structure",
1217
+ "required":["AccountId"],
1218
+ "members":{
1219
+ "AccountId":{
1220
+ "shape":"NonEmptyString",
1221
+ "location":"uri",
1222
+ "locationName":"accountId"
1223
+ }
1224
+ }
1225
+ },
1226
+ "DeleteAccountResponse":{
1227
+ "type":"structure",
1228
+ "members":{
1229
+ }
1230
+ },
1231
+ "DeletePhoneNumberRequest":{
1232
+ "type":"structure",
1233
+ "required":["PhoneNumberId"],
1234
+ "members":{
1235
+ "PhoneNumberId":{
1236
+ "shape":"String",
1237
+ "location":"uri",
1238
+ "locationName":"phoneNumberId"
1239
+ }
1240
+ }
1241
+ },
1242
+ "DeleteVoiceConnectorOriginationRequest":{
1243
+ "type":"structure",
1244
+ "required":["VoiceConnectorId"],
1245
+ "members":{
1246
+ "VoiceConnectorId":{
1247
+ "shape":"NonEmptyString",
1248
+ "location":"uri",
1249
+ "locationName":"voiceConnectorId"
1250
+ }
1251
+ }
1252
+ },
1253
+ "DeleteVoiceConnectorRequest":{
1254
+ "type":"structure",
1255
+ "required":["VoiceConnectorId"],
1256
+ "members":{
1257
+ "VoiceConnectorId":{
1258
+ "shape":"NonEmptyString",
1259
+ "location":"uri",
1260
+ "locationName":"voiceConnectorId"
1261
+ }
1262
+ }
1263
+ },
1264
+ "DeleteVoiceConnectorTerminationCredentialsRequest":{
1265
+ "type":"structure",
1266
+ "required":["VoiceConnectorId"],
1267
+ "members":{
1268
+ "VoiceConnectorId":{
1269
+ "shape":"NonEmptyString",
1270
+ "location":"uri",
1271
+ "locationName":"voiceConnectorId"
1272
+ },
1273
+ "Usernames":{"shape":"SensitiveStringList"}
1274
+ }
1275
+ },
1276
+ "DeleteVoiceConnectorTerminationRequest":{
1277
+ "type":"structure",
1278
+ "required":["VoiceConnectorId"],
1279
+ "members":{
1280
+ "VoiceConnectorId":{
1281
+ "shape":"NonEmptyString",
1282
+ "location":"uri",
1283
+ "locationName":"voiceConnectorId"
1284
+ }
1285
+ }
1286
+ },
1287
+ "DisassociatePhoneNumberFromUserRequest":{
1288
+ "type":"structure",
1289
+ "required":[
1290
+ "AccountId",
1291
+ "UserId"
1292
+ ],
1293
+ "members":{
1294
+ "AccountId":{
1295
+ "shape":"String",
1296
+ "location":"uri",
1297
+ "locationName":"accountId"
1298
+ },
1299
+ "UserId":{
1300
+ "shape":"String",
1301
+ "location":"uri",
1302
+ "locationName":"userId"
1303
+ }
1304
+ }
1305
+ },
1306
+ "DisassociatePhoneNumberFromUserResponse":{
1307
+ "type":"structure",
1308
+ "members":{
1309
+ }
1310
+ },
1311
+ "DisassociatePhoneNumbersFromVoiceConnectorRequest":{
1312
+ "type":"structure",
1313
+ "required":["VoiceConnectorId"],
1314
+ "members":{
1315
+ "VoiceConnectorId":{
1316
+ "shape":"NonEmptyString",
1317
+ "location":"uri",
1318
+ "locationName":"voiceConnectorId"
1319
+ },
1320
+ "E164PhoneNumbers":{"shape":"E164PhoneNumberList"}
1321
+ }
1322
+ },
1323
+ "DisassociatePhoneNumbersFromVoiceConnectorResponse":{
1324
+ "type":"structure",
1325
+ "members":{
1326
+ "PhoneNumberErrors":{"shape":"PhoneNumberErrorList"}
1327
+ }
1328
+ },
1329
+ "E164PhoneNumber":{
1330
+ "type":"string",
1331
+ "pattern":"^\\+?[1-9]\\d{1,14}$",
1332
+ "sensitive":true
1333
+ },
1334
+ "E164PhoneNumberList":{
1335
+ "type":"list",
1336
+ "member":{"shape":"E164PhoneNumber"}
1337
+ },
1338
+ "EmailAddress":{
1339
+ "type":"string",
1340
+ "pattern":".+@.+\\..+",
1341
+ "sensitive":true
1342
+ },
1343
+ "EmailStatus":{
1344
+ "type":"string",
1345
+ "enum":[
1346
+ "NotSent",
1347
+ "Sent",
1348
+ "Failed"
1349
+ ]
1350
+ },
1351
+ "ErrorCode":{
1352
+ "type":"string",
1353
+ "enum":[
1354
+ "Unauthorized",
1355
+ "Forbidden",
1356
+ "NotFound",
1357
+ "BadRequest",
1358
+ "Conflict",
1359
+ "ServiceFailure",
1360
+ "ServiceUnavailable",
1361
+ "Unprocessable",
1362
+ "Throttled",
1363
+ "PreconditionFailed"
1364
+ ]
1365
+ },
1366
+ "ForbiddenException":{
1367
+ "type":"structure",
1368
+ "members":{
1369
+ "Code":{"shape":"ErrorCode"},
1370
+ "Message":{"shape":"String"}
1371
+ },
1372
+ "error":{"httpStatusCode":403},
1373
+ "exception":true
1374
+ },
1375
+ "GetAccountRequest":{
1376
+ "type":"structure",
1377
+ "required":["AccountId"],
1378
+ "members":{
1379
+ "AccountId":{
1380
+ "shape":"NonEmptyString",
1381
+ "location":"uri",
1382
+ "locationName":"accountId"
1383
+ }
1384
+ }
1385
+ },
1386
+ "GetAccountResponse":{
1387
+ "type":"structure",
1388
+ "members":{
1389
+ "Account":{"shape":"Account"}
1390
+ }
1391
+ },
1392
+ "GetAccountSettingsRequest":{
1393
+ "type":"structure",
1394
+ "required":["AccountId"],
1395
+ "members":{
1396
+ "AccountId":{
1397
+ "shape":"NonEmptyString",
1398
+ "location":"uri",
1399
+ "locationName":"accountId"
1400
+ }
1401
+ }
1402
+ },
1403
+ "GetAccountSettingsResponse":{
1404
+ "type":"structure",
1405
+ "members":{
1406
+ "AccountSettings":{"shape":"AccountSettings"}
1407
+ }
1408
+ },
1409
+ "GetGlobalSettingsResponse":{
1410
+ "type":"structure",
1411
+ "members":{
1412
+ "BusinessCalling":{"shape":"BusinessCallingSettings"},
1413
+ "VoiceConnector":{"shape":"VoiceConnectorSettings"}
1414
+ }
1415
+ },
1416
+ "GetPhoneNumberOrderRequest":{
1417
+ "type":"structure",
1418
+ "required":["PhoneNumberOrderId"],
1419
+ "members":{
1420
+ "PhoneNumberOrderId":{
1421
+ "shape":"GuidString",
1422
+ "location":"uri",
1423
+ "locationName":"phoneNumberOrderId"
1424
+ }
1425
+ }
1426
+ },
1427
+ "GetPhoneNumberOrderResponse":{
1428
+ "type":"structure",
1429
+ "members":{
1430
+ "PhoneNumberOrder":{"shape":"PhoneNumberOrder"}
1431
+ }
1432
+ },
1433
+ "GetPhoneNumberRequest":{
1434
+ "type":"structure",
1435
+ "required":["PhoneNumberId"],
1436
+ "members":{
1437
+ "PhoneNumberId":{
1438
+ "shape":"String",
1439
+ "location":"uri",
1440
+ "locationName":"phoneNumberId"
1441
+ }
1442
+ }
1443
+ },
1444
+ "GetPhoneNumberResponse":{
1445
+ "type":"structure",
1446
+ "members":{
1447
+ "PhoneNumber":{"shape":"PhoneNumber"}
1448
+ }
1449
+ },
1450
+ "GetUserRequest":{
1451
+ "type":"structure",
1452
+ "required":[
1453
+ "AccountId",
1454
+ "UserId"
1455
+ ],
1456
+ "members":{
1457
+ "AccountId":{
1458
+ "shape":"NonEmptyString",
1459
+ "location":"uri",
1460
+ "locationName":"accountId"
1461
+ },
1462
+ "UserId":{
1463
+ "shape":"NonEmptyString",
1464
+ "location":"uri",
1465
+ "locationName":"userId"
1466
+ }
1467
+ }
1468
+ },
1469
+ "GetUserResponse":{
1470
+ "type":"structure",
1471
+ "members":{
1472
+ "User":{"shape":"User"}
1473
+ }
1474
+ },
1475
+ "GetUserSettingsRequest":{
1476
+ "type":"structure",
1477
+ "required":[
1478
+ "AccountId",
1479
+ "UserId"
1480
+ ],
1481
+ "members":{
1482
+ "AccountId":{
1483
+ "shape":"String",
1484
+ "location":"uri",
1485
+ "locationName":"accountId"
1486
+ },
1487
+ "UserId":{
1488
+ "shape":"String",
1489
+ "location":"uri",
1490
+ "locationName":"userId"
1491
+ }
1492
+ }
1493
+ },
1494
+ "GetUserSettingsResponse":{
1495
+ "type":"structure",
1496
+ "members":{
1497
+ "UserSettings":{"shape":"UserSettings"}
1498
+ }
1499
+ },
1500
+ "GetVoiceConnectorOriginationRequest":{
1501
+ "type":"structure",
1502
+ "required":["VoiceConnectorId"],
1503
+ "members":{
1504
+ "VoiceConnectorId":{
1505
+ "shape":"NonEmptyString",
1506
+ "location":"uri",
1507
+ "locationName":"voiceConnectorId"
1508
+ }
1509
+ }
1510
+ },
1511
+ "GetVoiceConnectorOriginationResponse":{
1512
+ "type":"structure",
1513
+ "members":{
1514
+ "Origination":{"shape":"Origination"}
1515
+ }
1516
+ },
1517
+ "GetVoiceConnectorRequest":{
1518
+ "type":"structure",
1519
+ "required":["VoiceConnectorId"],
1520
+ "members":{
1521
+ "VoiceConnectorId":{
1522
+ "shape":"NonEmptyString",
1523
+ "location":"uri",
1524
+ "locationName":"voiceConnectorId"
1525
+ }
1526
+ }
1527
+ },
1528
+ "GetVoiceConnectorResponse":{
1529
+ "type":"structure",
1530
+ "members":{
1531
+ "VoiceConnector":{"shape":"VoiceConnector"}
1532
+ }
1533
+ },
1534
+ "GetVoiceConnectorTerminationHealthRequest":{
1535
+ "type":"structure",
1536
+ "required":["VoiceConnectorId"],
1537
+ "members":{
1538
+ "VoiceConnectorId":{
1539
+ "shape":"NonEmptyString",
1540
+ "location":"uri",
1541
+ "locationName":"voiceConnectorId"
1542
+ }
1543
+ }
1544
+ },
1545
+ "GetVoiceConnectorTerminationHealthResponse":{
1546
+ "type":"structure",
1547
+ "members":{
1548
+ "TerminationHealth":{"shape":"TerminationHealth"}
1549
+ }
1550
+ },
1551
+ "GetVoiceConnectorTerminationRequest":{
1552
+ "type":"structure",
1553
+ "required":["VoiceConnectorId"],
1554
+ "members":{
1555
+ "VoiceConnectorId":{
1556
+ "shape":"NonEmptyString",
1557
+ "location":"uri",
1558
+ "locationName":"voiceConnectorId"
1559
+ }
1560
+ }
1561
+ },
1562
+ "GetVoiceConnectorTerminationResponse":{
1563
+ "type":"structure",
1564
+ "members":{
1565
+ "Termination":{"shape":"Termination"}
1566
+ }
1567
+ },
1568
+ "GuidString":{
1569
+ "type":"string",
1570
+ "pattern":"[a-fA-F0-9]{8}(?:-[a-fA-F0-9]{4}){3}-[a-fA-F0-9]{12}"
1571
+ },
1572
+ "Invite":{
1573
+ "type":"structure",
1574
+ "members":{
1575
+ "InviteId":{"shape":"String"},
1576
+ "Status":{"shape":"InviteStatus"},
1577
+ "EmailAddress":{"shape":"EmailAddress"},
1578
+ "EmailStatus":{"shape":"EmailStatus"}
1579
+ }
1580
+ },
1581
+ "InviteList":{
336
1582
  "type":"list",
337
- "member":{"shape":"Account"}
1583
+ "member":{"shape":"Invite"}
338
1584
  },
339
- "AccountName":{
1585
+ "InviteStatus":{
340
1586
  "type":"string",
341
- "max":100,
342
- "min":1,
343
- "pattern":".*\\S.*"
1587
+ "enum":[
1588
+ "Pending",
1589
+ "Accepted",
1590
+ "Failed"
1591
+ ]
344
1592
  },
345
- "AccountSettings":{
1593
+ "InviteUsersRequest":{
1594
+ "type":"structure",
1595
+ "required":[
1596
+ "AccountId",
1597
+ "UserEmailList"
1598
+ ],
1599
+ "members":{
1600
+ "AccountId":{
1601
+ "shape":"NonEmptyString",
1602
+ "location":"uri",
1603
+ "locationName":"accountId"
1604
+ },
1605
+ "UserEmailList":{"shape":"UserEmailList"}
1606
+ }
1607
+ },
1608
+ "InviteUsersResponse":{
1609
+ "type":"structure",
1610
+ "members":{
1611
+ "Invites":{"shape":"InviteList"}
1612
+ }
1613
+ },
1614
+ "Iso8601Timestamp":{
1615
+ "type":"timestamp",
1616
+ "timestampFormat":"iso8601"
1617
+ },
1618
+ "License":{
1619
+ "type":"string",
1620
+ "enum":[
1621
+ "Basic",
1622
+ "Plus",
1623
+ "Pro",
1624
+ "ProTrial"
1625
+ ]
1626
+ },
1627
+ "LicenseList":{
1628
+ "type":"list",
1629
+ "member":{"shape":"License"}
1630
+ },
1631
+ "ListAccountsRequest":{
1632
+ "type":"structure",
1633
+ "members":{
1634
+ "Name":{
1635
+ "shape":"AccountName",
1636
+ "location":"querystring",
1637
+ "locationName":"name"
1638
+ },
1639
+ "UserEmail":{
1640
+ "shape":"EmailAddress",
1641
+ "location":"querystring",
1642
+ "locationName":"user-email"
1643
+ },
1644
+ "NextToken":{
1645
+ "shape":"String",
1646
+ "location":"querystring",
1647
+ "locationName":"next-token"
1648
+ },
1649
+ "MaxResults":{
1650
+ "shape":"ProfileServiceMaxResults",
1651
+ "location":"querystring",
1652
+ "locationName":"max-results"
1653
+ }
1654
+ }
1655
+ },
1656
+ "ListAccountsResponse":{
1657
+ "type":"structure",
1658
+ "members":{
1659
+ "Accounts":{"shape":"AccountList"},
1660
+ "NextToken":{"shape":"String"}
1661
+ }
1662
+ },
1663
+ "ListPhoneNumberOrdersRequest":{
346
1664
  "type":"structure",
347
1665
  "members":{
348
- "DisableRemoteControl":{"shape":"Boolean"},
349
- "EnableDialOut":{"shape":"Boolean"}
1666
+ "NextToken":{
1667
+ "shape":"String",
1668
+ "location":"querystring",
1669
+ "locationName":"next-token"
1670
+ },
1671
+ "MaxResults":{
1672
+ "shape":"ResultMax",
1673
+ "location":"querystring",
1674
+ "locationName":"max-results"
1675
+ }
350
1676
  }
351
1677
  },
352
- "AccountType":{
353
- "type":"string",
354
- "enum":[
355
- "Team",
356
- "EnterpriseDirectory",
357
- "EnterpriseLWA",
358
- "EnterpriseOIDC"
359
- ]
360
- },
361
- "BadRequestException":{
1678
+ "ListPhoneNumberOrdersResponse":{
362
1679
  "type":"structure",
363
1680
  "members":{
364
- "Code":{"shape":"ErrorCode"},
365
- "Message":{"shape":"String"}
366
- },
367
- "error":{"httpStatusCode":400},
368
- "exception":true
1681
+ "PhoneNumberOrders":{"shape":"PhoneNumberOrderList"},
1682
+ "NextToken":{"shape":"String"}
1683
+ }
369
1684
  },
370
- "BatchSuspendUserRequest":{
1685
+ "ListPhoneNumbersRequest":{
371
1686
  "type":"structure",
372
- "required":[
373
- "AccountId",
374
- "UserIdList"
375
- ],
376
1687
  "members":{
377
- "AccountId":{
378
- "shape":"NonEmptyString",
379
- "location":"uri",
380
- "locationName":"accountId"
1688
+ "Status":{
1689
+ "shape":"PhoneNumberStatus",
1690
+ "location":"querystring",
1691
+ "locationName":"status"
381
1692
  },
382
- "UserIdList":{"shape":"UserIdList"}
1693
+ "ProductType":{
1694
+ "shape":"PhoneNumberProductType",
1695
+ "location":"querystring",
1696
+ "locationName":"product-type"
1697
+ },
1698
+ "FilterName":{
1699
+ "shape":"PhoneNumberAssociationName",
1700
+ "location":"querystring",
1701
+ "locationName":"filter-name"
1702
+ },
1703
+ "FilterValue":{
1704
+ "shape":"String",
1705
+ "location":"querystring",
1706
+ "locationName":"filter-value"
1707
+ },
1708
+ "MaxResults":{
1709
+ "shape":"ResultMax",
1710
+ "location":"querystring",
1711
+ "locationName":"max-results"
1712
+ },
1713
+ "NextToken":{
1714
+ "shape":"String",
1715
+ "location":"querystring",
1716
+ "locationName":"next-token"
1717
+ }
383
1718
  }
384
1719
  },
385
- "BatchSuspendUserResponse":{
1720
+ "ListPhoneNumbersResponse":{
386
1721
  "type":"structure",
387
1722
  "members":{
388
- "UserErrors":{"shape":"UserErrorList"}
1723
+ "PhoneNumbers":{"shape":"PhoneNumberList"},
1724
+ "NextToken":{"shape":"String"}
389
1725
  }
390
1726
  },
391
- "BatchUnsuspendUserRequest":{
1727
+ "ListUsersRequest":{
392
1728
  "type":"structure",
393
- "required":[
394
- "AccountId",
395
- "UserIdList"
396
- ],
1729
+ "required":["AccountId"],
397
1730
  "members":{
398
1731
  "AccountId":{
399
1732
  "shape":"NonEmptyString",
400
1733
  "location":"uri",
401
1734
  "locationName":"accountId"
402
1735
  },
403
- "UserIdList":{"shape":"UserIdList"}
1736
+ "UserEmail":{
1737
+ "shape":"EmailAddress",
1738
+ "location":"querystring",
1739
+ "locationName":"user-email"
1740
+ },
1741
+ "MaxResults":{
1742
+ "shape":"ProfileServiceMaxResults",
1743
+ "location":"querystring",
1744
+ "locationName":"max-results"
1745
+ },
1746
+ "NextToken":{
1747
+ "shape":"String",
1748
+ "location":"querystring",
1749
+ "locationName":"next-token"
1750
+ }
404
1751
  }
405
1752
  },
406
- "BatchUnsuspendUserResponse":{
1753
+ "ListUsersResponse":{
407
1754
  "type":"structure",
408
1755
  "members":{
409
- "UserErrors":{"shape":"UserErrorList"}
1756
+ "Users":{"shape":"UserList"},
1757
+ "NextToken":{"shape":"String"}
410
1758
  }
411
1759
  },
412
- "BatchUpdateUserRequest":{
1760
+ "ListVoiceConnectorTerminationCredentialsRequest":{
413
1761
  "type":"structure",
414
- "required":[
415
- "AccountId",
416
- "UpdateUserRequestItems"
417
- ],
1762
+ "required":["VoiceConnectorId"],
418
1763
  "members":{
419
- "AccountId":{
1764
+ "VoiceConnectorId":{
420
1765
  "shape":"NonEmptyString",
421
1766
  "location":"uri",
422
- "locationName":"accountId"
423
- },
424
- "UpdateUserRequestItems":{"shape":"UpdateUserRequestItemList"}
1767
+ "locationName":"voiceConnectorId"
1768
+ }
425
1769
  }
426
1770
  },
427
- "BatchUpdateUserResponse":{
1771
+ "ListVoiceConnectorTerminationCredentialsResponse":{
428
1772
  "type":"structure",
429
1773
  "members":{
430
- "UserErrors":{"shape":"UserErrorList"}
1774
+ "Usernames":{"shape":"SensitiveStringList"}
431
1775
  }
432
1776
  },
433
- "Boolean":{"type":"boolean"},
434
- "ConflictException":{
435
- "type":"structure",
436
- "members":{
437
- "Code":{"shape":"ErrorCode"},
438
- "Message":{"shape":"String"}
439
- },
440
- "error":{"httpStatusCode":409},
441
- "exception":true
442
- },
443
- "CreateAccountRequest":{
1777
+ "ListVoiceConnectorsRequest":{
444
1778
  "type":"structure",
445
- "required":["Name"],
446
1779
  "members":{
447
- "Name":{"shape":"AccountName"}
1780
+ "NextToken":{
1781
+ "shape":"String",
1782
+ "location":"querystring",
1783
+ "locationName":"next-token"
1784
+ },
1785
+ "MaxResults":{
1786
+ "shape":"ResultMax",
1787
+ "location":"querystring",
1788
+ "locationName":"max-results"
1789
+ }
448
1790
  }
449
1791
  },
450
- "CreateAccountResponse":{
1792
+ "ListVoiceConnectorsResponse":{
451
1793
  "type":"structure",
452
1794
  "members":{
453
- "Account":{"shape":"Account"}
1795
+ "VoiceConnectors":{"shape":"VoiceConnectorList"},
1796
+ "NextToken":{"shape":"String"}
454
1797
  }
455
1798
  },
456
- "DeleteAccountRequest":{
1799
+ "LogoutUserRequest":{
457
1800
  "type":"structure",
458
- "required":["AccountId"],
1801
+ "required":[
1802
+ "AccountId",
1803
+ "UserId"
1804
+ ],
459
1805
  "members":{
460
1806
  "AccountId":{
461
1807
  "shape":"NonEmptyString",
462
1808
  "location":"uri",
463
1809
  "locationName":"accountId"
1810
+ },
1811
+ "UserId":{
1812
+ "shape":"NonEmptyString",
1813
+ "location":"uri",
1814
+ "locationName":"userId"
464
1815
  }
465
1816
  }
466
1817
  },
467
- "DeleteAccountResponse":{
1818
+ "LogoutUserResponse":{
468
1819
  "type":"structure",
469
1820
  "members":{
470
1821
  }
471
1822
  },
472
- "EmailAddress":{
473
- "type":"string",
474
- "pattern":".+@.+\\..+",
475
- "sensitive":true
476
- },
477
- "EmailStatus":{
1823
+ "NonEmptyString":{
478
1824
  "type":"string",
479
- "enum":[
480
- "NotSent",
481
- "Sent",
482
- "Failed"
483
- ]
1825
+ "pattern":".*\\S.*"
484
1826
  },
485
- "ErrorCode":{
486
- "type":"string",
487
- "enum":[
488
- "Unauthorized",
489
- "Forbidden",
490
- "NotFound",
491
- "BadRequest",
492
- "Conflict",
493
- "ServiceFailure",
494
- "ServiceUnavailable",
495
- "Unprocessable",
496
- "Throttled",
497
- "PreconditionFailed"
498
- ]
1827
+ "NonEmptyStringList":{
1828
+ "type":"list",
1829
+ "member":{"shape":"String"},
1830
+ "min":1
499
1831
  },
500
- "ForbiddenException":{
1832
+ "NotFoundException":{
501
1833
  "type":"structure",
502
1834
  "members":{
503
1835
  "Code":{"shape":"ErrorCode"},
504
1836
  "Message":{"shape":"String"}
505
1837
  },
506
- "error":{"httpStatusCode":403},
1838
+ "error":{"httpStatusCode":404},
507
1839
  "exception":true
508
1840
  },
509
- "GetAccountRequest":{
1841
+ "NullableBoolean":{"type":"boolean"},
1842
+ "OrderedPhoneNumber":{
510
1843
  "type":"structure",
511
- "required":["AccountId"],
512
1844
  "members":{
513
- "AccountId":{
514
- "shape":"NonEmptyString",
515
- "location":"uri",
516
- "locationName":"accountId"
517
- }
1845
+ "E164PhoneNumber":{"shape":"E164PhoneNumber"},
1846
+ "Status":{"shape":"OrderedPhoneNumberStatus"}
518
1847
  }
519
1848
  },
520
- "GetAccountResponse":{
521
- "type":"structure",
522
- "members":{
523
- "Account":{"shape":"Account"}
524
- }
1849
+ "OrderedPhoneNumberList":{
1850
+ "type":"list",
1851
+ "member":{"shape":"OrderedPhoneNumber"}
525
1852
  },
526
- "GetAccountSettingsRequest":{
527
- "type":"structure",
528
- "required":["AccountId"],
529
- "members":{
530
- "AccountId":{
531
- "shape":"NonEmptyString",
532
- "location":"uri",
533
- "locationName":"accountId"
534
- }
535
- }
1853
+ "OrderedPhoneNumberStatus":{
1854
+ "type":"string",
1855
+ "enum":[
1856
+ "Processing",
1857
+ "Acquired",
1858
+ "Failed"
1859
+ ]
536
1860
  },
537
- "GetAccountSettingsResponse":{
1861
+ "Origination":{
538
1862
  "type":"structure",
539
1863
  "members":{
540
- "AccountSettings":{"shape":"AccountSettings"}
1864
+ "Routes":{"shape":"OriginationRouteList"},
1865
+ "Disabled":{"shape":"Boolean"}
541
1866
  }
542
1867
  },
543
- "GetUserRequest":{
1868
+ "OriginationRoute":{
544
1869
  "type":"structure",
545
- "required":[
546
- "AccountId",
547
- "UserId"
548
- ],
549
1870
  "members":{
550
- "AccountId":{
551
- "shape":"NonEmptyString",
552
- "location":"uri",
553
- "locationName":"accountId"
554
- },
555
- "UserId":{
556
- "shape":"NonEmptyString",
557
- "location":"uri",
558
- "locationName":"userId"
559
- }
1871
+ "Host":{"shape":"String"},
1872
+ "Port":{"shape":"Port"},
1873
+ "Protocol":{"shape":"OriginationRouteProtocol"},
1874
+ "Priority":{"shape":"OriginationRoutePriority"},
1875
+ "Weight":{"shape":"OriginationRouteWeight"}
560
1876
  }
561
1877
  },
562
- "GetUserResponse":{
1878
+ "OriginationRouteList":{
1879
+ "type":"list",
1880
+ "member":{"shape":"OriginationRoute"}
1881
+ },
1882
+ "OriginationRoutePriority":{
1883
+ "type":"integer",
1884
+ "max":100,
1885
+ "min":1
1886
+ },
1887
+ "OriginationRouteProtocol":{
1888
+ "type":"string",
1889
+ "enum":[
1890
+ "TCP",
1891
+ "UDP"
1892
+ ]
1893
+ },
1894
+ "OriginationRouteWeight":{
1895
+ "type":"integer",
1896
+ "max":100,
1897
+ "min":1
1898
+ },
1899
+ "PhoneNumber":{
563
1900
  "type":"structure",
564
1901
  "members":{
565
- "User":{"shape":"User"}
1902
+ "PhoneNumberId":{"shape":"String"},
1903
+ "E164PhoneNumber":{"shape":"E164PhoneNumber"},
1904
+ "ProductType":{"shape":"PhoneNumberProductType"},
1905
+ "Status":{"shape":"PhoneNumberStatus"},
1906
+ "Capabilities":{"shape":"PhoneNumberCapabilities"},
1907
+ "Associations":{"shape":"PhoneNumberAssociationList"},
1908
+ "CreatedTimestamp":{"shape":"Iso8601Timestamp"},
1909
+ "UpdatedTimestamp":{"shape":"Iso8601Timestamp"},
1910
+ "DeletionTimestamp":{"shape":"Iso8601Timestamp"}
566
1911
  }
567
1912
  },
568
- "Invite":{
1913
+ "PhoneNumberAssociation":{
569
1914
  "type":"structure",
570
1915
  "members":{
571
- "InviteId":{"shape":"String"},
572
- "Status":{"shape":"InviteStatus"},
573
- "EmailAddress":{"shape":"EmailAddress"},
574
- "EmailStatus":{"shape":"EmailStatus"}
1916
+ "Value":{"shape":"String"},
1917
+ "Name":{"shape":"PhoneNumberAssociationName"},
1918
+ "AssociatedTimestamp":{"shape":"Iso8601Timestamp"}
575
1919
  }
576
1920
  },
577
- "InviteList":{
1921
+ "PhoneNumberAssociationList":{
578
1922
  "type":"list",
579
- "member":{"shape":"Invite"}
1923
+ "member":{"shape":"PhoneNumberAssociation"}
580
1924
  },
581
- "InviteStatus":{
1925
+ "PhoneNumberAssociationName":{
582
1926
  "type":"string",
583
1927
  "enum":[
584
- "Pending",
585
- "Accepted",
586
- "Failed"
1928
+ "AccountId",
1929
+ "UserId",
1930
+ "VoiceConnectorId"
587
1931
  ]
588
1932
  },
589
- "InviteUsersRequest":{
1933
+ "PhoneNumberCapabilities":{
590
1934
  "type":"structure",
591
- "required":[
592
- "AccountId",
593
- "UserEmailList"
594
- ],
595
1935
  "members":{
596
- "AccountId":{
597
- "shape":"NonEmptyString",
598
- "location":"uri",
599
- "locationName":"accountId"
600
- },
601
- "UserEmailList":{"shape":"UserEmailList"}
1936
+ "InboundCall":{"shape":"NullableBoolean"},
1937
+ "OutboundCall":{"shape":"NullableBoolean"},
1938
+ "InboundSMS":{"shape":"NullableBoolean"},
1939
+ "OutboundSMS":{"shape":"NullableBoolean"},
1940
+ "InboundMMS":{"shape":"NullableBoolean"},
1941
+ "OutboundMMS":{"shape":"NullableBoolean"}
1942
+ }
1943
+ },
1944
+ "PhoneNumberError":{
1945
+ "type":"structure",
1946
+ "members":{
1947
+ "PhoneNumberId":{"shape":"NonEmptyString"},
1948
+ "ErrorCode":{"shape":"ErrorCode"},
1949
+ "ErrorMessage":{"shape":"String"}
602
1950
  }
603
1951
  },
604
- "InviteUsersResponse":{
1952
+ "PhoneNumberErrorList":{
1953
+ "type":"list",
1954
+ "member":{"shape":"PhoneNumberError"}
1955
+ },
1956
+ "PhoneNumberList":{
1957
+ "type":"list",
1958
+ "member":{"shape":"PhoneNumber"}
1959
+ },
1960
+ "PhoneNumberMaxResults":{
1961
+ "type":"integer",
1962
+ "max":500,
1963
+ "min":1
1964
+ },
1965
+ "PhoneNumberOrder":{
605
1966
  "type":"structure",
606
1967
  "members":{
607
- "Invites":{"shape":"InviteList"}
1968
+ "PhoneNumberOrderId":{"shape":"GuidString"},
1969
+ "ProductType":{"shape":"PhoneNumberProductType"},
1970
+ "Status":{"shape":"PhoneNumberOrderStatus"},
1971
+ "OrderedPhoneNumbers":{"shape":"OrderedPhoneNumberList"},
1972
+ "CreatedTimestamp":{"shape":"Iso8601Timestamp"},
1973
+ "UpdatedTimestamp":{"shape":"Iso8601Timestamp"}
608
1974
  }
609
1975
  },
610
- "Iso8601Timestamp":{
611
- "type":"timestamp",
612
- "timestampFormat":"iso8601"
1976
+ "PhoneNumberOrderList":{
1977
+ "type":"list",
1978
+ "member":{"shape":"PhoneNumberOrder"}
613
1979
  },
614
- "License":{
1980
+ "PhoneNumberOrderStatus":{
615
1981
  "type":"string",
616
1982
  "enum":[
617
- "Basic",
618
- "Plus",
619
- "Pro",
620
- "ProTrial"
1983
+ "Processing",
1984
+ "Successful",
1985
+ "Failed",
1986
+ "Partial"
621
1987
  ]
622
1988
  },
623
- "LicenseList":{
624
- "type":"list",
625
- "member":{"shape":"License"}
1989
+ "PhoneNumberProductType":{
1990
+ "type":"string",
1991
+ "enum":[
1992
+ "BusinessCalling",
1993
+ "VoiceConnector"
1994
+ ]
626
1995
  },
627
- "ListAccountsRequest":{
1996
+ "PhoneNumberStatus":{
1997
+ "type":"string",
1998
+ "enum":[
1999
+ "AcquireInProgress",
2000
+ "AcquireFailed",
2001
+ "Unassigned",
2002
+ "Assigned",
2003
+ "ReleaseInProgress",
2004
+ "DeleteInProgress",
2005
+ "ReleaseFailed",
2006
+ "DeleteFailed"
2007
+ ]
2008
+ },
2009
+ "Port":{
2010
+ "type":"integer",
2011
+ "max":65535,
2012
+ "min":0
2013
+ },
2014
+ "ProfileServiceMaxResults":{
2015
+ "type":"integer",
2016
+ "max":200,
2017
+ "min":1
2018
+ },
2019
+ "PutVoiceConnectorOriginationRequest":{
628
2020
  "type":"structure",
2021
+ "required":[
2022
+ "VoiceConnectorId",
2023
+ "Origination"
2024
+ ],
629
2025
  "members":{
630
- "Name":{
631
- "shape":"AccountName",
632
- "location":"querystring",
633
- "locationName":"name"
634
- },
635
- "UserEmail":{
636
- "shape":"EmailAddress",
637
- "location":"querystring",
638
- "locationName":"user-email"
639
- },
640
- "NextToken":{
641
- "shape":"String",
642
- "location":"querystring",
643
- "locationName":"next-token"
2026
+ "VoiceConnectorId":{
2027
+ "shape":"NonEmptyString",
2028
+ "location":"uri",
2029
+ "locationName":"voiceConnectorId"
644
2030
  },
645
- "MaxResults":{
646
- "shape":"ProfileServiceMaxResults",
647
- "location":"querystring",
648
- "locationName":"max-results"
649
- }
2031
+ "Origination":{"shape":"Origination"}
650
2032
  }
651
2033
  },
652
- "ListAccountsResponse":{
2034
+ "PutVoiceConnectorOriginationResponse":{
653
2035
  "type":"structure",
654
2036
  "members":{
655
- "Accounts":{"shape":"AccountList"},
656
- "NextToken":{"shape":"String"}
2037
+ "Origination":{"shape":"Origination"}
657
2038
  }
658
2039
  },
659
- "ListUsersRequest":{
2040
+ "PutVoiceConnectorTerminationCredentialsRequest":{
660
2041
  "type":"structure",
661
- "required":["AccountId"],
2042
+ "required":["VoiceConnectorId"],
662
2043
  "members":{
663
- "AccountId":{
2044
+ "VoiceConnectorId":{
664
2045
  "shape":"NonEmptyString",
665
2046
  "location":"uri",
666
- "locationName":"accountId"
667
- },
668
- "UserEmail":{
669
- "shape":"EmailAddress",
670
- "location":"querystring",
671
- "locationName":"user-email"
672
- },
673
- "MaxResults":{
674
- "shape":"ProfileServiceMaxResults",
675
- "location":"querystring",
676
- "locationName":"max-results"
2047
+ "locationName":"voiceConnectorId"
677
2048
  },
678
- "NextToken":{
679
- "shape":"String",
680
- "location":"querystring",
681
- "locationName":"next-token"
682
- }
683
- }
684
- },
685
- "ListUsersResponse":{
686
- "type":"structure",
687
- "members":{
688
- "Users":{"shape":"UserList"},
689
- "NextToken":{"shape":"String"}
2049
+ "Credentials":{"shape":"CredentialList"}
690
2050
  }
691
2051
  },
692
- "LogoutUserRequest":{
2052
+ "PutVoiceConnectorTerminationRequest":{
693
2053
  "type":"structure",
694
2054
  "required":[
695
- "AccountId",
696
- "UserId"
2055
+ "VoiceConnectorId",
2056
+ "Termination"
697
2057
  ],
698
2058
  "members":{
699
- "AccountId":{
2059
+ "VoiceConnectorId":{
700
2060
  "shape":"NonEmptyString",
701
2061
  "location":"uri",
702
- "locationName":"accountId"
2062
+ "locationName":"voiceConnectorId"
703
2063
  },
704
- "UserId":{
705
- "shape":"NonEmptyString",
706
- "location":"uri",
707
- "locationName":"userId"
708
- }
2064
+ "Termination":{"shape":"Termination"}
709
2065
  }
710
2066
  },
711
- "LogoutUserResponse":{
2067
+ "PutVoiceConnectorTerminationResponse":{
712
2068
  "type":"structure",
713
2069
  "members":{
2070
+ "Termination":{"shape":"Termination"}
714
2071
  }
715
2072
  },
716
- "NonEmptyString":{
717
- "type":"string",
718
- "pattern":".*\\S.*"
719
- },
720
- "NotFoundException":{
721
- "type":"structure",
722
- "members":{
723
- "Code":{"shape":"ErrorCode"},
724
- "Message":{"shape":"String"}
725
- },
726
- "error":{"httpStatusCode":404},
727
- "exception":true
728
- },
729
- "ProfileServiceMaxResults":{
730
- "type":"integer",
731
- "max":200,
732
- "min":1
733
- },
734
2073
  "RegistrationStatus":{
735
2074
  "type":"string",
736
2075
  "enum":[
@@ -764,10 +2103,77 @@
764
2103
  "User":{"shape":"User"}
765
2104
  }
766
2105
  },
2106
+ "RestorePhoneNumberRequest":{
2107
+ "type":"structure",
2108
+ "required":["PhoneNumberId"],
2109
+ "members":{
2110
+ "PhoneNumberId":{
2111
+ "shape":"NonEmptyString",
2112
+ "location":"uri",
2113
+ "locationName":"phoneNumberId"
2114
+ }
2115
+ }
2116
+ },
2117
+ "RestorePhoneNumberResponse":{
2118
+ "type":"structure",
2119
+ "members":{
2120
+ "PhoneNumber":{"shape":"PhoneNumber"}
2121
+ }
2122
+ },
2123
+ "ResultMax":{
2124
+ "type":"integer",
2125
+ "max":99,
2126
+ "min":1
2127
+ },
2128
+ "SearchAvailablePhoneNumbersRequest":{
2129
+ "type":"structure",
2130
+ "members":{
2131
+ "AreaCode":{
2132
+ "shape":"String",
2133
+ "location":"querystring",
2134
+ "locationName":"area-code"
2135
+ },
2136
+ "City":{
2137
+ "shape":"String",
2138
+ "location":"querystring",
2139
+ "locationName":"city"
2140
+ },
2141
+ "Country":{
2142
+ "shape":"String",
2143
+ "location":"querystring",
2144
+ "locationName":"country"
2145
+ },
2146
+ "State":{
2147
+ "shape":"String",
2148
+ "location":"querystring",
2149
+ "locationName":"state"
2150
+ },
2151
+ "MaxResults":{
2152
+ "shape":"PhoneNumberMaxResults",
2153
+ "location":"querystring",
2154
+ "locationName":"max-results"
2155
+ },
2156
+ "NextToken":{
2157
+ "shape":"String",
2158
+ "location":"querystring",
2159
+ "locationName":"next-token"
2160
+ }
2161
+ }
2162
+ },
2163
+ "SearchAvailablePhoneNumbersResponse":{
2164
+ "type":"structure",
2165
+ "members":{
2166
+ "E164PhoneNumbers":{"shape":"E164PhoneNumberList"}
2167
+ }
2168
+ },
767
2169
  "SensitiveString":{
768
2170
  "type":"string",
769
2171
  "sensitive":true
770
2172
  },
2173
+ "SensitiveStringList":{
2174
+ "type":"list",
2175
+ "member":{"shape":"SensitiveString"}
2176
+ },
771
2177
  "ServiceFailureException":{
772
2178
  "type":"structure",
773
2179
  "members":{
@@ -789,6 +2195,40 @@
789
2195
  "fault":true
790
2196
  },
791
2197
  "String":{"type":"string"},
2198
+ "StringList":{
2199
+ "type":"list",
2200
+ "member":{"shape":"String"}
2201
+ },
2202
+ "TelephonySettings":{
2203
+ "type":"structure",
2204
+ "required":[
2205
+ "InboundCalling",
2206
+ "OutboundCalling",
2207
+ "SMS"
2208
+ ],
2209
+ "members":{
2210
+ "InboundCalling":{"shape":"Boolean"},
2211
+ "OutboundCalling":{"shape":"Boolean"},
2212
+ "SMS":{"shape":"Boolean"}
2213
+ }
2214
+ },
2215
+ "Termination":{
2216
+ "type":"structure",
2217
+ "members":{
2218
+ "CpsLimit":{"shape":"CpsLimit"},
2219
+ "DefaultPhoneNumber":{"shape":"E164PhoneNumber"},
2220
+ "CallingRegions":{"shape":"CallingRegionList"},
2221
+ "CidrAllowedList":{"shape":"StringList"},
2222
+ "Disabled":{"shape":"Boolean"}
2223
+ }
2224
+ },
2225
+ "TerminationHealth":{
2226
+ "type":"structure",
2227
+ "members":{
2228
+ "Timestamp":{"shape":"Iso8601Timestamp"},
2229
+ "Source":{"shape":"String"}
2230
+ }
2231
+ },
792
2232
  "ThrottledClientException":{
793
2233
  "type":"structure",
794
2234
  "members":{
@@ -854,6 +2294,47 @@
854
2294
  "members":{
855
2295
  }
856
2296
  },
2297
+ "UpdateGlobalSettingsRequest":{
2298
+ "type":"structure",
2299
+ "required":[
2300
+ "BusinessCalling",
2301
+ "VoiceConnector"
2302
+ ],
2303
+ "members":{
2304
+ "BusinessCalling":{"shape":"BusinessCallingSettings"},
2305
+ "VoiceConnector":{"shape":"VoiceConnectorSettings"}
2306
+ }
2307
+ },
2308
+ "UpdatePhoneNumberRequest":{
2309
+ "type":"structure",
2310
+ "required":["PhoneNumberId"],
2311
+ "members":{
2312
+ "PhoneNumberId":{
2313
+ "shape":"String",
2314
+ "location":"uri",
2315
+ "locationName":"phoneNumberId"
2316
+ },
2317
+ "ProductType":{"shape":"PhoneNumberProductType"}
2318
+ }
2319
+ },
2320
+ "UpdatePhoneNumberRequestItem":{
2321
+ "type":"structure",
2322
+ "required":["PhoneNumberId"],
2323
+ "members":{
2324
+ "PhoneNumberId":{"shape":"NonEmptyString"},
2325
+ "ProductType":{"shape":"PhoneNumberProductType"}
2326
+ }
2327
+ },
2328
+ "UpdatePhoneNumberRequestItemList":{
2329
+ "type":"list",
2330
+ "member":{"shape":"UpdatePhoneNumberRequestItem"}
2331
+ },
2332
+ "UpdatePhoneNumberResponse":{
2333
+ "type":"structure",
2334
+ "members":{
2335
+ "PhoneNumber":{"shape":"PhoneNumber"}
2336
+ }
2337
+ },
857
2338
  "UpdateUserRequest":{
858
2339
  "type":"structure",
859
2340
  "required":[
@@ -893,6 +2374,50 @@
893
2374
  "User":{"shape":"User"}
894
2375
  }
895
2376
  },
2377
+ "UpdateUserSettingsRequest":{
2378
+ "type":"structure",
2379
+ "required":[
2380
+ "AccountId",
2381
+ "UserId",
2382
+ "UserSettings"
2383
+ ],
2384
+ "members":{
2385
+ "AccountId":{
2386
+ "shape":"String",
2387
+ "location":"uri",
2388
+ "locationName":"accountId"
2389
+ },
2390
+ "UserId":{
2391
+ "shape":"String",
2392
+ "location":"uri",
2393
+ "locationName":"userId"
2394
+ },
2395
+ "UserSettings":{"shape":"UserSettings"}
2396
+ }
2397
+ },
2398
+ "UpdateVoiceConnectorRequest":{
2399
+ "type":"structure",
2400
+ "required":[
2401
+ "VoiceConnectorId",
2402
+ "Name",
2403
+ "RequireEncryption"
2404
+ ],
2405
+ "members":{
2406
+ "VoiceConnectorId":{
2407
+ "shape":"NonEmptyString",
2408
+ "location":"uri",
2409
+ "locationName":"voiceConnectorId"
2410
+ },
2411
+ "Name":{"shape":"VoiceConnectorName"},
2412
+ "RequireEncryption":{"shape":"Boolean"}
2413
+ }
2414
+ },
2415
+ "UpdateVoiceConnectorResponse":{
2416
+ "type":"structure",
2417
+ "members":{
2418
+ "VoiceConnector":{"shape":"VoiceConnector"}
2419
+ }
2420
+ },
896
2421
  "User":{
897
2422
  "type":"structure",
898
2423
  "required":["UserId"],
@@ -900,6 +2425,7 @@
900
2425
  "UserId":{"shape":"String"},
901
2426
  "AccountId":{"shape":"String"},
902
2427
  "PrimaryEmail":{"shape":"EmailAddress"},
2428
+ "PrimaryProvisionedNumber":{"shape":"SensitiveString"},
903
2429
  "DisplayName":{"shape":"SensitiveString"},
904
2430
  "LicenseType":{"shape":"License"},
905
2431
  "UserRegistrationStatus":{"shape":"RegistrationStatus"},
@@ -934,6 +2460,42 @@
934
2460
  "UserList":{
935
2461
  "type":"list",
936
2462
  "member":{"shape":"User"}
2463
+ },
2464
+ "UserSettings":{
2465
+ "type":"structure",
2466
+ "required":["Telephony"],
2467
+ "members":{
2468
+ "Telephony":{"shape":"TelephonySettings"}
2469
+ }
2470
+ },
2471
+ "VoiceConnector":{
2472
+ "type":"structure",
2473
+ "members":{
2474
+ "VoiceConnectorId":{"shape":"NonEmptyString"},
2475
+ "Name":{"shape":"VoiceConnectorName"},
2476
+ "OutboundHostName":{"shape":"String"},
2477
+ "RequireEncryption":{"shape":"Boolean"},
2478
+ "CreatedTimestamp":{"shape":"Iso8601Timestamp"},
2479
+ "UpdatedTimestamp":{"shape":"Iso8601Timestamp"}
2480
+ }
2481
+ },
2482
+ "VoiceConnectorList":{
2483
+ "type":"list",
2484
+ "member":{"shape":"VoiceConnector"}
2485
+ },
2486
+ "VoiceConnectorName":{
2487
+ "type":"string",
2488
+ "max":256,
2489
+ "min":1
2490
+ },
2491
+ "VoiceConnectorSettings":{
2492
+ "type":"structure",
2493
+ "members":{
2494
+ "CdrBucket":{
2495
+ "shape":"String",
2496
+ "box":true
2497
+ }
2498
+ }
937
2499
  }
938
2500
  }
939
2501
  }