1{
2  "version":"2.0",
3  "metadata":{
4    "apiVersion":"2018-05-01",
5    "endpointPrefix":"chime",
6    "protocol":"rest-json",
7    "serviceFullName":"Amazon Chime",
8    "serviceId":"Chime",
9    "signatureVersion":"v4",
10    "uid":"chime-2018-05-01"
11  },
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    },
70    "BatchSuspendUser":{
71      "name":"BatchSuspendUser",
72      "http":{
73        "method":"POST",
74        "requestUri":"/accounts/{accountId}/users?operation=suspend",
75        "responseCode":200
76      },
77      "input":{"shape":"BatchSuspendUserRequest"},
78      "output":{"shape":"BatchSuspendUserResponse"},
79      "errors":[
80        {"shape":"UnauthorizedClientException"},
81        {"shape":"NotFoundException"},
82        {"shape":"ForbiddenException"},
83        {"shape":"BadRequestException"},
84        {"shape":"ThrottledClientException"},
85        {"shape":"ServiceUnavailableException"},
86        {"shape":"ServiceFailureException"}
87      ]
88    },
89    "BatchUnsuspendUser":{
90      "name":"BatchUnsuspendUser",
91      "http":{
92        "method":"POST",
93        "requestUri":"/accounts/{accountId}/users?operation=unsuspend",
94        "responseCode":200
95      },
96      "input":{"shape":"BatchUnsuspendUserRequest"},
97      "output":{"shape":"BatchUnsuspendUserResponse"},
98      "errors":[
99        {"shape":"UnauthorizedClientException"},
100        {"shape":"NotFoundException"},
101        {"shape":"ForbiddenException"},
102        {"shape":"BadRequestException"},
103        {"shape":"ThrottledClientException"},
104        {"shape":"ServiceUnavailableException"},
105        {"shape":"ServiceFailureException"}
106      ]
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    },
127    "BatchUpdateUser":{
128      "name":"BatchUpdateUser",
129      "http":{
130        "method":"POST",
131        "requestUri":"/accounts/{accountId}/users",
132        "responseCode":200
133      },
134      "input":{"shape":"BatchUpdateUserRequest"},
135      "output":{"shape":"BatchUpdateUserResponse"},
136      "errors":[
137        {"shape":"UnauthorizedClientException"},
138        {"shape":"NotFoundException"},
139        {"shape":"ForbiddenException"},
140        {"shape":"BadRequestException"},
141        {"shape":"ThrottledClientException"},
142        {"shape":"ServiceUnavailableException"},
143        {"shape":"ServiceFailureException"}
144      ]
145    },
146    "CreateAccount":{
147      "name":"CreateAccount",
148      "http":{
149        "method":"POST",
150        "requestUri":"/accounts",
151        "responseCode":201
152      },
153      "input":{"shape":"CreateAccountRequest"},
154      "output":{"shape":"CreateAccountResponse"},
155      "errors":[
156        {"shape":"UnauthorizedClientException"},
157        {"shape":"NotFoundException"},
158        {"shape":"ForbiddenException"},
159        {"shape":"BadRequestException"},
160        {"shape":"ThrottledClientException"},
161        {"shape":"ServiceUnavailableException"},
162        {"shape":"ServiceFailureException"}
163      ]
164    },
165    "CreateBot":{
166      "name":"CreateBot",
167      "http":{
168        "method":"POST",
169        "requestUri":"/accounts/{accountId}/bots",
170        "responseCode":201
171      },
172      "input":{"shape":"CreateBotRequest"},
173      "output":{"shape":"CreateBotResponse"},
174      "errors":[
175        {"shape":"ServiceUnavailableException"},
176        {"shape":"ServiceFailureException"},
177        {"shape":"ForbiddenException"},
178        {"shape":"BadRequestException"},
179        {"shape":"UnauthorizedClientException"},
180        {"shape":"ResourceLimitExceededException"},
181        {"shape":"NotFoundException"}
182      ]
183    },
184    "CreatePhoneNumberOrder":{
185      "name":"CreatePhoneNumberOrder",
186      "http":{
187        "method":"POST",
188        "requestUri":"/phone-number-orders",
189        "responseCode":201
190      },
191      "input":{"shape":"CreatePhoneNumberOrderRequest"},
192      "output":{"shape":"CreatePhoneNumberOrderResponse"},
193      "errors":[
194        {"shape":"UnauthorizedClientException"},
195        {"shape":"ForbiddenException"},
196        {"shape":"BadRequestException"},
197        {"shape":"ThrottledClientException"},
198        {"shape":"ServiceUnavailableException"},
199        {"shape":"ServiceFailureException"}
200      ]
201    },
202    "CreateVoiceConnector":{
203      "name":"CreateVoiceConnector",
204      "http":{
205        "method":"POST",
206        "requestUri":"/voice-connectors",
207        "responseCode":201
208      },
209      "input":{"shape":"CreateVoiceConnectorRequest"},
210      "output":{"shape":"CreateVoiceConnectorResponse"},
211      "errors":[
212        {"shape":"UnauthorizedClientException"},
213        {"shape":"ForbiddenException"},
214        {"shape":"BadRequestException"},
215        {"shape":"ThrottledClientException"},
216        {"shape":"ServiceUnavailableException"},
217        {"shape":"ServiceFailureException"}
218      ]
219    },
220    "DeleteAccount":{
221      "name":"DeleteAccount",
222      "http":{
223        "method":"DELETE",
224        "requestUri":"/accounts/{accountId}",
225        "responseCode":204
226      },
227      "input":{"shape":"DeleteAccountRequest"},
228      "output":{"shape":"DeleteAccountResponse"},
229      "errors":[
230        {"shape":"UnauthorizedClientException"},
231        {"shape":"NotFoundException"},
232        {"shape":"ForbiddenException"},
233        {"shape":"BadRequestException"},
234        {"shape":"ThrottledClientException"},
235        {"shape":"UnprocessableEntityException"},
236        {"shape":"ServiceUnavailableException"},
237        {"shape":"ServiceFailureException"}
238      ]
239    },
240    "DeleteEventsConfiguration":{
241      "name":"DeleteEventsConfiguration",
242      "http":{
243        "method":"DELETE",
244        "requestUri":"/accounts/{accountId}/bots/{botId}/events-configuration",
245        "responseCode":204
246      },
247      "input":{"shape":"DeleteEventsConfigurationRequest"},
248      "errors":[
249        {"shape":"ServiceUnavailableException"},
250        {"shape":"ServiceFailureException"},
251        {"shape":"ForbiddenException"},
252        {"shape":"BadRequestException"},
253        {"shape":"UnauthorizedClientException"},
254        {"shape":"ResourceLimitExceededException"}
255      ]
256    },
257    "DeletePhoneNumber":{
258      "name":"DeletePhoneNumber",
259      "http":{
260        "method":"DELETE",
261        "requestUri":"/phone-numbers/{phoneNumberId}",
262        "responseCode":204
263      },
264      "input":{"shape":"DeletePhoneNumberRequest"},
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    "DeleteVoiceConnector":{
276      "name":"DeleteVoiceConnector",
277      "http":{
278        "method":"DELETE",
279        "requestUri":"/voice-connectors/{voiceConnectorId}",
280        "responseCode":204
281      },
282      "input":{"shape":"DeleteVoiceConnectorRequest"},
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    "DeleteVoiceConnectorOrigination":{
294      "name":"DeleteVoiceConnectorOrigination",
295      "http":{
296        "method":"DELETE",
297        "requestUri":"/voice-connectors/{voiceConnectorId}/origination",
298        "responseCode":204
299      },
300      "input":{"shape":"DeleteVoiceConnectorOriginationRequest"},
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    "DeleteVoiceConnectorTermination":{
312      "name":"DeleteVoiceConnectorTermination",
313      "http":{
314        "method":"DELETE",
315        "requestUri":"/voice-connectors/{voiceConnectorId}/termination",
316        "responseCode":204
317      },
318      "input":{"shape":"DeleteVoiceConnectorTerminationRequest"},
319      "errors":[
320        {"shape":"UnauthorizedClientException"},
321        {"shape":"NotFoundException"},
322        {"shape":"ForbiddenException"},
323        {"shape":"BadRequestException"},
324        {"shape":"ThrottledClientException"},
325        {"shape":"ServiceUnavailableException"},
326        {"shape":"ServiceFailureException"}
327      ]
328    },
329    "DeleteVoiceConnectorTerminationCredentials":{
330      "name":"DeleteVoiceConnectorTerminationCredentials",
331      "http":{
332        "method":"POST",
333        "requestUri":"/voice-connectors/{voiceConnectorId}/termination/credentials?operation=delete",
334        "responseCode":204
335      },
336      "input":{"shape":"DeleteVoiceConnectorTerminationCredentialsRequest"},
337      "errors":[
338        {"shape":"UnauthorizedClientException"},
339        {"shape":"NotFoundException"},
340        {"shape":"ForbiddenException"},
341        {"shape":"BadRequestException"},
342        {"shape":"ThrottledClientException"},
343        {"shape":"ServiceUnavailableException"},
344        {"shape":"ServiceFailureException"}
345      ]
346    },
347    "DisassociatePhoneNumberFromUser":{
348      "name":"DisassociatePhoneNumberFromUser",
349      "http":{
350        "method":"POST",
351        "requestUri":"/accounts/{accountId}/users/{userId}?operation=disassociate-phone-number",
352        "responseCode":200
353      },
354      "input":{"shape":"DisassociatePhoneNumberFromUserRequest"},
355      "output":{"shape":"DisassociatePhoneNumberFromUserResponse"},
356      "errors":[
357        {"shape":"UnauthorizedClientException"},
358        {"shape":"NotFoundException"},
359        {"shape":"ForbiddenException"},
360        {"shape":"BadRequestException"},
361        {"shape":"ThrottledClientException"},
362        {"shape":"ServiceUnavailableException"},
363        {"shape":"ServiceFailureException"}
364      ]
365    },
366    "DisassociatePhoneNumbersFromVoiceConnector":{
367      "name":"DisassociatePhoneNumbersFromVoiceConnector",
368      "http":{
369        "method":"POST",
370        "requestUri":"/voice-connectors/{voiceConnectorId}?operation=disassociate-phone-numbers",
371        "responseCode":200
372      },
373      "input":{"shape":"DisassociatePhoneNumbersFromVoiceConnectorRequest"},
374      "output":{"shape":"DisassociatePhoneNumbersFromVoiceConnectorResponse"},
375      "errors":[
376        {"shape":"UnauthorizedClientException"},
377        {"shape":"NotFoundException"},
378        {"shape":"ForbiddenException"},
379        {"shape":"BadRequestException"},
380        {"shape":"ThrottledClientException"},
381        {"shape":"ServiceUnavailableException"},
382        {"shape":"ServiceFailureException"}
383      ]
384    },
385    "GetAccount":{
386      "name":"GetAccount",
387      "http":{
388        "method":"GET",
389        "requestUri":"/accounts/{accountId}"
390      },
391      "input":{"shape":"GetAccountRequest"},
392      "output":{"shape":"GetAccountResponse"},
393      "errors":[
394        {"shape":"UnauthorizedClientException"},
395        {"shape":"NotFoundException"},
396        {"shape":"ForbiddenException"},
397        {"shape":"BadRequestException"},
398        {"shape":"ThrottledClientException"},
399        {"shape":"ServiceUnavailableException"},
400        {"shape":"ServiceFailureException"}
401      ]
402    },
403    "GetAccountSettings":{
404      "name":"GetAccountSettings",
405      "http":{
406        "method":"GET",
407        "requestUri":"/accounts/{accountId}/settings"
408      },
409      "input":{"shape":"GetAccountSettingsRequest"},
410      "output":{"shape":"GetAccountSettingsResponse"},
411      "errors":[
412        {"shape":"UnauthorizedClientException"},
413        {"shape":"NotFoundException"},
414        {"shape":"BadRequestException"},
415        {"shape":"ForbiddenException"},
416        {"shape":"ThrottledClientException"},
417        {"shape":"ServiceUnavailableException"},
418        {"shape":"ServiceFailureException"}
419      ]
420    },
421    "GetBot":{
422      "name":"GetBot",
423      "http":{
424        "method":"GET",
425        "requestUri":"/accounts/{accountId}/bots/{botId}",
426        "responseCode":200
427      },
428      "input":{"shape":"GetBotRequest"},
429      "output":{"shape":"GetBotResponse"},
430      "errors":[
431        {"shape":"ServiceUnavailableException"},
432        {"shape":"ServiceFailureException"},
433        {"shape":"ForbiddenException"},
434        {"shape":"UnauthorizedClientException"},
435        {"shape":"NotFoundException"},
436        {"shape":"BadRequestException"}
437      ]
438    },
439    "GetEventsConfiguration":{
440      "name":"GetEventsConfiguration",
441      "http":{
442        "method":"GET",
443        "requestUri":"/accounts/{accountId}/bots/{botId}/events-configuration",
444        "responseCode":200
445      },
446      "input":{"shape":"GetEventsConfigurationRequest"},
447      "output":{"shape":"GetEventsConfigurationResponse"},
448      "errors":[
449        {"shape":"ServiceUnavailableException"},
450        {"shape":"ServiceFailureException"},
451        {"shape":"ForbiddenException"},
452        {"shape":"BadRequestException"},
453        {"shape":"UnauthorizedClientException"},
454        {"shape":"ResourceLimitExceededException"},
455        {"shape":"NotFoundException"}
456      ]
457    },
458    "GetGlobalSettings":{
459      "name":"GetGlobalSettings",
460      "http":{
461        "method":"GET",
462        "requestUri":"/settings",
463        "responseCode":200
464      },
465      "output":{"shape":"GetGlobalSettingsResponse"},
466      "errors":[
467        {"shape":"UnauthorizedClientException"},
468        {"shape":"ForbiddenException"},
469        {"shape":"BadRequestException"},
470        {"shape":"ThrottledClientException"},
471        {"shape":"ServiceUnavailableException"},
472        {"shape":"ServiceFailureException"}
473      ]
474    },
475    "GetPhoneNumber":{
476      "name":"GetPhoneNumber",
477      "http":{
478        "method":"GET",
479        "requestUri":"/phone-numbers/{phoneNumberId}"
480      },
481      "input":{"shape":"GetPhoneNumberRequest"},
482      "output":{"shape":"GetPhoneNumberResponse"},
483      "errors":[
484        {"shape":"UnauthorizedClientException"},
485        {"shape":"NotFoundException"},
486        {"shape":"ForbiddenException"},
487        {"shape":"BadRequestException"},
488        {"shape":"ThrottledClientException"},
489        {"shape":"ServiceUnavailableException"},
490        {"shape":"ServiceFailureException"}
491      ]
492    },
493    "GetPhoneNumberOrder":{
494      "name":"GetPhoneNumberOrder",
495      "http":{
496        "method":"GET",
497        "requestUri":"/phone-number-orders/{phoneNumberOrderId}",
498        "responseCode":200
499      },
500      "input":{"shape":"GetPhoneNumberOrderRequest"},
501      "output":{"shape":"GetPhoneNumberOrderResponse"},
502      "errors":[
503        {"shape":"UnauthorizedClientException"},
504        {"shape":"NotFoundException"},
505        {"shape":"ForbiddenException"},
506        {"shape":"BadRequestException"},
507        {"shape":"ThrottledClientException"},
508        {"shape":"ServiceUnavailableException"},
509        {"shape":"ServiceFailureException"}
510      ]
511    },
512    "GetUser":{
513      "name":"GetUser",
514      "http":{
515        "method":"GET",
516        "requestUri":"/accounts/{accountId}/users/{userId}",
517        "responseCode":200
518      },
519      "input":{"shape":"GetUserRequest"},
520      "output":{"shape":"GetUserResponse"},
521      "errors":[
522        {"shape":"UnauthorizedClientException"},
523        {"shape":"NotFoundException"},
524        {"shape":"ForbiddenException"},
525        {"shape":"BadRequestException"},
526        {"shape":"ThrottledClientException"},
527        {"shape":"ServiceUnavailableException"},
528        {"shape":"ServiceFailureException"}
529      ]
530    },
531    "GetUserSettings":{
532      "name":"GetUserSettings",
533      "http":{
534        "method":"GET",
535        "requestUri":"/accounts/{accountId}/users/{userId}/settings",
536        "responseCode":200
537      },
538      "input":{"shape":"GetUserSettingsRequest"},
539      "output":{"shape":"GetUserSettingsResponse"},
540      "errors":[
541        {"shape":"UnauthorizedClientException"},
542        {"shape":"NotFoundException"},
543        {"shape":"ForbiddenException"},
544        {"shape":"BadRequestException"},
545        {"shape":"ThrottledClientException"},
546        {"shape":"ServiceUnavailableException"},
547        {"shape":"ServiceFailureException"}
548      ]
549    },
550    "GetVoiceConnector":{
551      "name":"GetVoiceConnector",
552      "http":{
553        "method":"GET",
554        "requestUri":"/voice-connectors/{voiceConnectorId}",
555        "responseCode":200
556      },
557      "input":{"shape":"GetVoiceConnectorRequest"},
558      "output":{"shape":"GetVoiceConnectorResponse"},
559      "errors":[
560        {"shape":"UnauthorizedClientException"},
561        {"shape":"NotFoundException"},
562        {"shape":"ForbiddenException"},
563        {"shape":"BadRequestException"},
564        {"shape":"ThrottledClientException"},
565        {"shape":"ServiceUnavailableException"},
566        {"shape":"ServiceFailureException"}
567      ]
568    },
569    "GetVoiceConnectorOrigination":{
570      "name":"GetVoiceConnectorOrigination",
571      "http":{
572        "method":"GET",
573        "requestUri":"/voice-connectors/{voiceConnectorId}/origination",
574        "responseCode":200
575      },
576      "input":{"shape":"GetVoiceConnectorOriginationRequest"},
577      "output":{"shape":"GetVoiceConnectorOriginationResponse"},
578      "errors":[
579        {"shape":"UnauthorizedClientException"},
580        {"shape":"NotFoundException"},
581        {"shape":"ForbiddenException"},
582        {"shape":"BadRequestException"},
583        {"shape":"ThrottledClientException"},
584        {"shape":"ServiceUnavailableException"},
585        {"shape":"ServiceFailureException"}
586      ]
587    },
588    "GetVoiceConnectorTermination":{
589      "name":"GetVoiceConnectorTermination",
590      "http":{
591        "method":"GET",
592        "requestUri":"/voice-connectors/{voiceConnectorId}/termination",
593        "responseCode":200
594      },
595      "input":{"shape":"GetVoiceConnectorTerminationRequest"},
596      "output":{"shape":"GetVoiceConnectorTerminationResponse"},
597      "errors":[
598        {"shape":"UnauthorizedClientException"},
599        {"shape":"NotFoundException"},
600        {"shape":"ForbiddenException"},
601        {"shape":"BadRequestException"},
602        {"shape":"ThrottledClientException"},
603        {"shape":"ServiceUnavailableException"},
604        {"shape":"ServiceFailureException"}
605      ]
606    },
607    "GetVoiceConnectorTerminationHealth":{
608      "name":"GetVoiceConnectorTerminationHealth",
609      "http":{
610        "method":"GET",
611        "requestUri":"/voice-connectors/{voiceConnectorId}/termination/health",
612        "responseCode":200
613      },
614      "input":{"shape":"GetVoiceConnectorTerminationHealthRequest"},
615      "output":{"shape":"GetVoiceConnectorTerminationHealthResponse"},
616      "errors":[
617        {"shape":"UnauthorizedClientException"},
618        {"shape":"NotFoundException"},
619        {"shape":"ForbiddenException"},
620        {"shape":"BadRequestException"},
621        {"shape":"ThrottledClientException"},
622        {"shape":"ServiceUnavailableException"},
623        {"shape":"ServiceFailureException"}
624      ]
625    },
626    "InviteUsers":{
627      "name":"InviteUsers",
628      "http":{
629        "method":"POST",
630        "requestUri":"/accounts/{accountId}/users?operation=add",
631        "responseCode":201
632      },
633      "input":{"shape":"InviteUsersRequest"},
634      "output":{"shape":"InviteUsersResponse"},
635      "errors":[
636        {"shape":"UnauthorizedClientException"},
637        {"shape":"NotFoundException"},
638        {"shape":"ForbiddenException"},
639        {"shape":"BadRequestException"},
640        {"shape":"ThrottledClientException"},
641        {"shape":"ServiceUnavailableException"},
642        {"shape":"ServiceFailureException"}
643      ]
644    },
645    "ListAccounts":{
646      "name":"ListAccounts",
647      "http":{
648        "method":"GET",
649        "requestUri":"/accounts"
650      },
651      "input":{"shape":"ListAccountsRequest"},
652      "output":{"shape":"ListAccountsResponse"},
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    "ListBots":{
664      "name":"ListBots",
665      "http":{
666        "method":"GET",
667        "requestUri":"/accounts/{accountId}/bots",
668        "responseCode":200
669      },
670      "input":{"shape":"ListBotsRequest"},
671      "output":{"shape":"ListBotsResponse"},
672      "errors":[
673        {"shape":"ServiceUnavailableException"},
674        {"shape":"ServiceFailureException"},
675        {"shape":"ForbiddenException"},
676        {"shape":"UnauthorizedClientException"},
677        {"shape":"BadRequestException"},
678        {"shape":"NotFoundException"}
679      ]
680    },
681    "ListPhoneNumberOrders":{
682      "name":"ListPhoneNumberOrders",
683      "http":{
684        "method":"GET",
685        "requestUri":"/phone-number-orders",
686        "responseCode":200
687      },
688      "input":{"shape":"ListPhoneNumberOrdersRequest"},
689      "output":{"shape":"ListPhoneNumberOrdersResponse"},
690      "errors":[
691        {"shape":"UnauthorizedClientException"},
692        {"shape":"ForbiddenException"},
693        {"shape":"BadRequestException"},
694        {"shape":"ThrottledClientException"},
695        {"shape":"ServiceUnavailableException"},
696        {"shape":"ServiceFailureException"}
697      ]
698    },
699    "ListPhoneNumbers":{
700      "name":"ListPhoneNumbers",
701      "http":{
702        "method":"GET",
703        "requestUri":"/phone-numbers"
704      },
705      "input":{"shape":"ListPhoneNumbersRequest"},
706      "output":{"shape":"ListPhoneNumbersResponse"},
707      "errors":[
708        {"shape":"UnauthorizedClientException"},
709        {"shape":"ForbiddenException"},
710        {"shape":"BadRequestException"},
711        {"shape":"ThrottledClientException"},
712        {"shape":"ServiceUnavailableException"},
713        {"shape":"ServiceFailureException"}
714      ]
715    },
716    "ListUsers":{
717      "name":"ListUsers",
718      "http":{
719        "method":"GET",
720        "requestUri":"/accounts/{accountId}/users",
721        "responseCode":200
722      },
723      "input":{"shape":"ListUsersRequest"},
724      "output":{"shape":"ListUsersResponse"},
725      "errors":[
726        {"shape":"UnauthorizedClientException"},
727        {"shape":"NotFoundException"},
728        {"shape":"ForbiddenException"},
729        {"shape":"BadRequestException"},
730        {"shape":"ThrottledClientException"},
731        {"shape":"ServiceUnavailableException"},
732        {"shape":"ServiceFailureException"}
733      ]
734    },
735    "ListVoiceConnectorTerminationCredentials":{
736      "name":"ListVoiceConnectorTerminationCredentials",
737      "http":{
738        "method":"GET",
739        "requestUri":"/voice-connectors/{voiceConnectorId}/termination/credentials",
740        "responseCode":200
741      },
742      "input":{"shape":"ListVoiceConnectorTerminationCredentialsRequest"},
743      "output":{"shape":"ListVoiceConnectorTerminationCredentialsResponse"},
744      "errors":[
745        {"shape":"UnauthorizedClientException"},
746        {"shape":"NotFoundException"},
747        {"shape":"ForbiddenException"},
748        {"shape":"BadRequestException"},
749        {"shape":"ThrottledClientException"},
750        {"shape":"ServiceUnavailableException"},
751        {"shape":"ServiceFailureException"}
752      ]
753    },
754    "ListVoiceConnectors":{
755      "name":"ListVoiceConnectors",
756      "http":{
757        "method":"GET",
758        "requestUri":"/voice-connectors",
759        "responseCode":200
760      },
761      "input":{"shape":"ListVoiceConnectorsRequest"},
762      "output":{"shape":"ListVoiceConnectorsResponse"},
763      "errors":[
764        {"shape":"UnauthorizedClientException"},
765        {"shape":"ForbiddenException"},
766        {"shape":"BadRequestException"},
767        {"shape":"ThrottledClientException"},
768        {"shape":"ServiceUnavailableException"},
769        {"shape":"ServiceFailureException"}
770      ]
771    },
772    "LogoutUser":{
773      "name":"LogoutUser",
774      "http":{
775        "method":"POST",
776        "requestUri":"/accounts/{accountId}/users/{userId}?operation=logout",
777        "responseCode":204
778      },
779      "input":{"shape":"LogoutUserRequest"},
780      "output":{"shape":"LogoutUserResponse"},
781      "errors":[
782        {"shape":"UnauthorizedClientException"},
783        {"shape":"NotFoundException"},
784        {"shape":"ForbiddenException"},
785        {"shape":"BadRequestException"},
786        {"shape":"ThrottledClientException"},
787        {"shape":"ServiceUnavailableException"},
788        {"shape":"ServiceFailureException"}
789      ]
790    },
791    "PutEventsConfiguration":{
792      "name":"PutEventsConfiguration",
793      "http":{
794        "method":"PUT",
795        "requestUri":"/accounts/{accountId}/bots/{botId}/events-configuration",
796        "responseCode":201
797      },
798      "input":{"shape":"PutEventsConfigurationRequest"},
799      "output":{"shape":"PutEventsConfigurationResponse"},
800      "errors":[
801        {"shape":"ServiceUnavailableException"},
802        {"shape":"ServiceFailureException"},
803        {"shape":"ForbiddenException"},
804        {"shape":"BadRequestException"},
805        {"shape":"UnauthorizedClientException"},
806        {"shape":"ResourceLimitExceededException"},
807        {"shape":"NotFoundException"}
808      ]
809    },
810    "PutVoiceConnectorOrigination":{
811      "name":"PutVoiceConnectorOrigination",
812      "http":{
813        "method":"PUT",
814        "requestUri":"/voice-connectors/{voiceConnectorId}/origination",
815        "responseCode":200
816      },
817      "input":{"shape":"PutVoiceConnectorOriginationRequest"},
818      "output":{"shape":"PutVoiceConnectorOriginationResponse"},
819      "errors":[
820        {"shape":"UnauthorizedClientException"},
821        {"shape":"NotFoundException"},
822        {"shape":"ForbiddenException"},
823        {"shape":"BadRequestException"},
824        {"shape":"ThrottledClientException"},
825        {"shape":"ServiceUnavailableException"},
826        {"shape":"ServiceFailureException"}
827      ]
828    },
829    "PutVoiceConnectorTermination":{
830      "name":"PutVoiceConnectorTermination",
831      "http":{
832        "method":"PUT",
833        "requestUri":"/voice-connectors/{voiceConnectorId}/termination",
834        "responseCode":200
835      },
836      "input":{"shape":"PutVoiceConnectorTerminationRequest"},
837      "output":{"shape":"PutVoiceConnectorTerminationResponse"},
838      "errors":[
839        {"shape":"UnauthorizedClientException"},
840        {"shape":"NotFoundException"},
841        {"shape":"ForbiddenException"},
842        {"shape":"BadRequestException"},
843        {"shape":"ThrottledClientException"},
844        {"shape":"ServiceUnavailableException"},
845        {"shape":"ServiceFailureException"}
846      ]
847    },
848    "PutVoiceConnectorTerminationCredentials":{
849      "name":"PutVoiceConnectorTerminationCredentials",
850      "http":{
851        "method":"POST",
852        "requestUri":"/voice-connectors/{voiceConnectorId}/termination/credentials?operation=put",
853        "responseCode":204
854      },
855      "input":{"shape":"PutVoiceConnectorTerminationCredentialsRequest"},
856      "errors":[
857        {"shape":"UnauthorizedClientException"},
858        {"shape":"NotFoundException"},
859        {"shape":"ForbiddenException"},
860        {"shape":"BadRequestException"},
861        {"shape":"ThrottledClientException"},
862        {"shape":"ServiceUnavailableException"},
863        {"shape":"ServiceFailureException"}
864      ]
865    },
866    "RegenerateSecurityToken":{
867      "name":"RegenerateSecurityToken",
868      "http":{
869        "method":"POST",
870        "requestUri":"/accounts/{accountId}/bots/{botId}?operation=regenerate-security-token",
871        "responseCode":200
872      },
873      "input":{"shape":"RegenerateSecurityTokenRequest"},
874      "output":{"shape":"RegenerateSecurityTokenResponse"},
875      "errors":[
876        {"shape":"ServiceUnavailableException"},
877        {"shape":"ServiceFailureException"},
878        {"shape":"ForbiddenException"},
879        {"shape":"BadRequestException"},
880        {"shape":"UnauthorizedClientException"},
881        {"shape":"NotFoundException"}
882      ]
883    },
884    "ResetPersonalPIN":{
885      "name":"ResetPersonalPIN",
886      "http":{
887        "method":"POST",
888        "requestUri":"/accounts/{accountId}/users/{userId}?operation=reset-personal-pin",
889        "responseCode":200
890      },
891      "input":{"shape":"ResetPersonalPINRequest"},
892      "output":{"shape":"ResetPersonalPINResponse"},
893      "errors":[
894        {"shape":"UnauthorizedClientException"},
895        {"shape":"NotFoundException"},
896        {"shape":"ForbiddenException"},
897        {"shape":"BadRequestException"},
898        {"shape":"ThrottledClientException"},
899        {"shape":"ServiceUnavailableException"},
900        {"shape":"ServiceFailureException"}
901      ]
902    },
903    "RestorePhoneNumber":{
904      "name":"RestorePhoneNumber",
905      "http":{
906        "method":"POST",
907        "requestUri":"/phone-numbers/{phoneNumberId}?operation=restore",
908        "responseCode":200
909      },
910      "input":{"shape":"RestorePhoneNumberRequest"},
911      "output":{"shape":"RestorePhoneNumberResponse"},
912      "errors":[
913        {"shape":"UnauthorizedClientException"},
914        {"shape":"NotFoundException"},
915        {"shape":"ForbiddenException"},
916        {"shape":"BadRequestException"},
917        {"shape":"ThrottledClientException"},
918        {"shape":"ServiceUnavailableException"},
919        {"shape":"ServiceFailureException"}
920      ]
921    },
922    "SearchAvailablePhoneNumbers":{
923      "name":"SearchAvailablePhoneNumbers",
924      "http":{
925        "method":"GET",
926        "requestUri":"/search?type=phone-numbers"
927      },
928      "input":{"shape":"SearchAvailablePhoneNumbersRequest"},
929      "output":{"shape":"SearchAvailablePhoneNumbersResponse"},
930      "errors":[
931        {"shape":"UnauthorizedClientException"},
932        {"shape":"ForbiddenException"},
933        {"shape":"BadRequestException"},
934        {"shape":"ThrottledClientException"},
935        {"shape":"ServiceUnavailableException"},
936        {"shape":"ServiceFailureException"}
937      ]
938    },
939    "UpdateAccount":{
940      "name":"UpdateAccount",
941      "http":{
942        "method":"POST",
943        "requestUri":"/accounts/{accountId}",
944        "responseCode":200
945      },
946      "input":{"shape":"UpdateAccountRequest"},
947      "output":{"shape":"UpdateAccountResponse"},
948      "errors":[
949        {"shape":"UnauthorizedClientException"},
950        {"shape":"NotFoundException"},
951        {"shape":"ForbiddenException"},
952        {"shape":"BadRequestException"},
953        {"shape":"ThrottledClientException"},
954        {"shape":"ServiceUnavailableException"},
955        {"shape":"ServiceFailureException"}
956      ]
957    },
958    "UpdateAccountSettings":{
959      "name":"UpdateAccountSettings",
960      "http":{
961        "method":"PUT",
962        "requestUri":"/accounts/{accountId}/settings",
963        "responseCode":204
964      },
965      "input":{"shape":"UpdateAccountSettingsRequest"},
966      "output":{"shape":"UpdateAccountSettingsResponse"},
967      "errors":[
968        {"shape":"UnauthorizedClientException"},
969        {"shape":"NotFoundException"},
970        {"shape":"BadRequestException"},
971        {"shape":"ForbiddenException"},
972        {"shape":"ConflictException"},
973        {"shape":"ThrottledClientException"},
974        {"shape":"ServiceUnavailableException"},
975        {"shape":"ServiceFailureException"}
976      ]
977    },
978    "UpdateBot":{
979      "name":"UpdateBot",
980      "http":{
981        "method":"POST",
982        "requestUri":"/accounts/{accountId}/bots/{botId}",
983        "responseCode":200
984      },
985      "input":{"shape":"UpdateBotRequest"},
986      "output":{"shape":"UpdateBotResponse"},
987      "errors":[
988        {"shape":"ServiceUnavailableException"},
989        {"shape":"ServiceFailureException"},
990        {"shape":"ForbiddenException"},
991        {"shape":"BadRequestException"},
992        {"shape":"UnauthorizedClientException"},
993        {"shape":"NotFoundException"}
994      ]
995    },
996    "UpdateGlobalSettings":{
997      "name":"UpdateGlobalSettings",
998      "http":{
999        "method":"PUT",
1000        "requestUri":"/settings",
1001        "responseCode":204
1002      },
1003      "input":{"shape":"UpdateGlobalSettingsRequest"},
1004      "errors":[
1005        {"shape":"UnauthorizedClientException"},
1006        {"shape":"ForbiddenException"},
1007        {"shape":"BadRequestException"},
1008        {"shape":"ThrottledClientException"},
1009        {"shape":"ServiceUnavailableException"},
1010        {"shape":"ServiceFailureException"}
1011      ]
1012    },
1013    "UpdatePhoneNumber":{
1014      "name":"UpdatePhoneNumber",
1015      "http":{
1016        "method":"POST",
1017        "requestUri":"/phone-numbers/{phoneNumberId}",
1018        "responseCode":200
1019      },
1020      "input":{"shape":"UpdatePhoneNumberRequest"},
1021      "output":{"shape":"UpdatePhoneNumberResponse"},
1022      "errors":[
1023        {"shape":"UnauthorizedClientException"},
1024        {"shape":"NotFoundException"},
1025        {"shape":"ForbiddenException"},
1026        {"shape":"BadRequestException"},
1027        {"shape":"ThrottledClientException"},
1028        {"shape":"ServiceUnavailableException"},
1029        {"shape":"ServiceFailureException"}
1030      ]
1031    },
1032    "UpdateUser":{
1033      "name":"UpdateUser",
1034      "http":{
1035        "method":"POST",
1036        "requestUri":"/accounts/{accountId}/users/{userId}",
1037        "responseCode":200
1038      },
1039      "input":{"shape":"UpdateUserRequest"},
1040      "output":{"shape":"UpdateUserResponse"},
1041      "errors":[
1042        {"shape":"UnauthorizedClientException"},
1043        {"shape":"NotFoundException"},
1044        {"shape":"ForbiddenException"},
1045        {"shape":"BadRequestException"},
1046        {"shape":"ThrottledClientException"},
1047        {"shape":"ServiceUnavailableException"},
1048        {"shape":"ServiceFailureException"}
1049      ]
1050    },
1051    "UpdateUserSettings":{
1052      "name":"UpdateUserSettings",
1053      "http":{
1054        "method":"PUT",
1055        "requestUri":"/accounts/{accountId}/users/{userId}/settings",
1056        "responseCode":204
1057      },
1058      "input":{"shape":"UpdateUserSettingsRequest"},
1059      "errors":[
1060        {"shape":"UnauthorizedClientException"},
1061        {"shape":"NotFoundException"},
1062        {"shape":"ForbiddenException"},
1063        {"shape":"BadRequestException"},
1064        {"shape":"ThrottledClientException"},
1065        {"shape":"ServiceUnavailableException"},
1066        {"shape":"ServiceFailureException"}
1067      ]
1068    },
1069    "UpdateVoiceConnector":{
1070      "name":"UpdateVoiceConnector",
1071      "http":{
1072        "method":"PUT",
1073        "requestUri":"/voice-connectors/{voiceConnectorId}",
1074        "responseCode":200
1075      },
1076      "input":{"shape":"UpdateVoiceConnectorRequest"},
1077      "output":{"shape":"UpdateVoiceConnectorResponse"},
1078      "errors":[
1079        {"shape":"UnauthorizedClientException"},
1080        {"shape":"NotFoundException"},
1081        {"shape":"ForbiddenException"},
1082        {"shape":"BadRequestException"},
1083        {"shape":"ThrottledClientException"},
1084        {"shape":"ServiceUnavailableException"},
1085        {"shape":"ServiceFailureException"}
1086      ]
1087    }
1088  },
1089  "shapes":{
1090    "Account":{
1091      "type":"structure",
1092      "required":[
1093        "AwsAccountId",
1094        "AccountId",
1095        "Name"
1096      ],
1097      "members":{
1098        "AwsAccountId":{"shape":"String"},
1099        "AccountId":{"shape":"String"},
1100        "Name":{"shape":"String"},
1101        "AccountType":{"shape":"AccountType"},
1102        "CreatedTimestamp":{"shape":"Iso8601Timestamp"},
1103        "DefaultLicense":{"shape":"License"},
1104        "SupportedLicenses":{"shape":"LicenseList"}
1105      }
1106    },
1107    "AccountList":{
1108      "type":"list",
1109      "member":{"shape":"Account"}
1110    },
1111    "AccountName":{
1112      "type":"string",
1113      "max":100,
1114      "min":1,
1115      "pattern":".*\\S.*"
1116    },
1117    "AccountSettings":{
1118      "type":"structure",
1119      "members":{
1120        "DisableRemoteControl":{"shape":"Boolean"},
1121        "EnableDialOut":{"shape":"Boolean"}
1122      }
1123    },
1124    "AccountType":{
1125      "type":"string",
1126      "enum":[
1127        "Team",
1128        "EnterpriseDirectory",
1129        "EnterpriseLWA",
1130        "EnterpriseOIDC"
1131      ]
1132    },
1133    "AssociatePhoneNumberWithUserRequest":{
1134      "type":"structure",
1135      "required":[
1136        "AccountId",
1137        "UserId",
1138        "E164PhoneNumber"
1139      ],
1140      "members":{
1141        "AccountId":{
1142          "shape":"String",
1143          "location":"uri",
1144          "locationName":"accountId"
1145        },
1146        "UserId":{
1147          "shape":"String",
1148          "location":"uri",
1149          "locationName":"userId"
1150        },
1151        "E164PhoneNumber":{"shape":"E164PhoneNumber"}
1152      }
1153    },
1154    "AssociatePhoneNumberWithUserResponse":{
1155      "type":"structure",
1156      "members":{
1157      }
1158    },
1159    "AssociatePhoneNumbersWithVoiceConnectorRequest":{
1160      "type":"structure",
1161      "required":["VoiceConnectorId"],
1162      "members":{
1163        "VoiceConnectorId":{
1164          "shape":"NonEmptyString",
1165          "location":"uri",
1166          "locationName":"voiceConnectorId"
1167        },
1168        "E164PhoneNumbers":{"shape":"E164PhoneNumberList"}
1169      }
1170    },
1171    "AssociatePhoneNumbersWithVoiceConnectorResponse":{
1172      "type":"structure",
1173      "members":{
1174        "PhoneNumberErrors":{"shape":"PhoneNumberErrorList"}
1175      }
1176    },
1177    "BadRequestException":{
1178      "type":"structure",
1179      "members":{
1180        "Code":{"shape":"ErrorCode"},
1181        "Message":{"shape":"String"}
1182      },
1183      "error":{"httpStatusCode":400},
1184      "exception":true
1185    },
1186    "BatchDeletePhoneNumberRequest":{
1187      "type":"structure",
1188      "required":["PhoneNumberIds"],
1189      "members":{
1190        "PhoneNumberIds":{"shape":"NonEmptyStringList"}
1191      }
1192    },
1193    "BatchDeletePhoneNumberResponse":{
1194      "type":"structure",
1195      "members":{
1196        "PhoneNumberErrors":{"shape":"PhoneNumberErrorList"}
1197      }
1198    },
1199    "BatchSuspendUserRequest":{
1200      "type":"structure",
1201      "required":[
1202        "AccountId",
1203        "UserIdList"
1204      ],
1205      "members":{
1206        "AccountId":{
1207          "shape":"NonEmptyString",
1208          "location":"uri",
1209          "locationName":"accountId"
1210        },
1211        "UserIdList":{"shape":"UserIdList"}
1212      }
1213    },
1214    "BatchSuspendUserResponse":{
1215      "type":"structure",
1216      "members":{
1217        "UserErrors":{"shape":"UserErrorList"}
1218      }
1219    },
1220    "BatchUnsuspendUserRequest":{
1221      "type":"structure",
1222      "required":[
1223        "AccountId",
1224        "UserIdList"
1225      ],
1226      "members":{
1227        "AccountId":{
1228          "shape":"NonEmptyString",
1229          "location":"uri",
1230          "locationName":"accountId"
1231        },
1232        "UserIdList":{"shape":"UserIdList"}
1233      }
1234    },
1235    "BatchUnsuspendUserResponse":{
1236      "type":"structure",
1237      "members":{
1238        "UserErrors":{"shape":"UserErrorList"}
1239      }
1240    },
1241    "BatchUpdatePhoneNumberRequest":{
1242      "type":"structure",
1243      "required":["UpdatePhoneNumberRequestItems"],
1244      "members":{
1245        "UpdatePhoneNumberRequestItems":{"shape":"UpdatePhoneNumberRequestItemList"}
1246      }
1247    },
1248    "BatchUpdatePhoneNumberResponse":{
1249      "type":"structure",
1250      "members":{
1251        "PhoneNumberErrors":{"shape":"PhoneNumberErrorList"}
1252      }
1253    },
1254    "BatchUpdateUserRequest":{
1255      "type":"structure",
1256      "required":[
1257        "AccountId",
1258        "UpdateUserRequestItems"
1259      ],
1260      "members":{
1261        "AccountId":{
1262          "shape":"NonEmptyString",
1263          "location":"uri",
1264          "locationName":"accountId"
1265        },
1266        "UpdateUserRequestItems":{"shape":"UpdateUserRequestItemList"}
1267      }
1268    },
1269    "BatchUpdateUserResponse":{
1270      "type":"structure",
1271      "members":{
1272        "UserErrors":{"shape":"UserErrorList"}
1273      }
1274    },
1275    "Boolean":{"type":"boolean"},
1276    "Bot":{
1277      "type":"structure",
1278      "members":{
1279        "BotId":{"shape":"String"},
1280        "UserId":{"shape":"String"},
1281        "DisplayName":{"shape":"SensitiveString"},
1282        "BotType":{"shape":"BotType"},
1283        "Disabled":{"shape":"NullableBoolean"},
1284        "CreatedTimestamp":{"shape":"Iso8601Timestamp"},
1285        "UpdatedTimestamp":{"shape":"Iso8601Timestamp"},
1286        "BotEmail":{"shape":"SensitiveString"},
1287        "SecurityToken":{"shape":"SensitiveString"}
1288      }
1289    },
1290    "BotList":{
1291      "type":"list",
1292      "member":{"shape":"Bot"}
1293    },
1294    "BotType":{
1295      "type":"string",
1296      "enum":["ChatBot"]
1297    },
1298    "BusinessCallingSettings":{
1299      "type":"structure",
1300      "members":{
1301        "CdrBucket":{
1302          "shape":"String",
1303          "box":true
1304        }
1305      }
1306    },
1307    "CallingRegion":{"type":"string"},
1308    "CallingRegionList":{
1309      "type":"list",
1310      "member":{"shape":"CallingRegion"}
1311    },
1312    "ConflictException":{
1313      "type":"structure",
1314      "members":{
1315        "Code":{"shape":"ErrorCode"},
1316        "Message":{"shape":"String"}
1317      },
1318      "error":{"httpStatusCode":409},
1319      "exception":true
1320    },
1321    "CpsLimit":{
1322      "type":"integer",
1323      "min":1
1324    },
1325    "CreateAccountRequest":{
1326      "type":"structure",
1327      "required":["Name"],
1328      "members":{
1329        "Name":{"shape":"AccountName"}
1330      }
1331    },
1332    "CreateAccountResponse":{
1333      "type":"structure",
1334      "members":{
1335        "Account":{"shape":"Account"}
1336      }
1337    },
1338    "CreateBotRequest":{
1339      "type":"structure",
1340      "required":[
1341        "DisplayName",
1342        "AccountId"
1343      ],
1344      "members":{
1345        "AccountId":{
1346          "shape":"NonEmptyString",
1347          "location":"uri",
1348          "locationName":"accountId"
1349        },
1350        "DisplayName":{"shape":"SensitiveString"},
1351        "Domain":{"shape":"NonEmptyString"}
1352      }
1353    },
1354    "CreateBotResponse":{
1355      "type":"structure",
1356      "members":{
1357        "Bot":{"shape":"Bot"}
1358      }
1359    },
1360    "CreatePhoneNumberOrderRequest":{
1361      "type":"structure",
1362      "required":[
1363        "ProductType",
1364        "E164PhoneNumbers"
1365      ],
1366      "members":{
1367        "ProductType":{"shape":"PhoneNumberProductType"},
1368        "E164PhoneNumbers":{"shape":"E164PhoneNumberList"}
1369      }
1370    },
1371    "CreatePhoneNumberOrderResponse":{
1372      "type":"structure",
1373      "members":{
1374        "PhoneNumberOrder":{"shape":"PhoneNumberOrder"}
1375      }
1376    },
1377    "CreateVoiceConnectorRequest":{
1378      "type":"structure",
1379      "required":[
1380        "Name",
1381        "RequireEncryption"
1382      ],
1383      "members":{
1384        "Name":{"shape":"VoiceConnectorName"},
1385        "RequireEncryption":{"shape":"Boolean"}
1386      }
1387    },
1388    "CreateVoiceConnectorResponse":{
1389      "type":"structure",
1390      "members":{
1391        "VoiceConnector":{"shape":"VoiceConnector"}
1392      }
1393    },
1394    "Credential":{
1395      "type":"structure",
1396      "members":{
1397        "Username":{"shape":"SensitiveString"},
1398        "Password":{"shape":"SensitiveString"}
1399      }
1400    },
1401    "CredentialList":{
1402      "type":"list",
1403      "member":{"shape":"Credential"}
1404    },
1405    "DeleteAccountRequest":{
1406      "type":"structure",
1407      "required":["AccountId"],
1408      "members":{
1409        "AccountId":{
1410          "shape":"NonEmptyString",
1411          "location":"uri",
1412          "locationName":"accountId"
1413        }
1414      }
1415    },
1416    "DeleteAccountResponse":{
1417      "type":"structure",
1418      "members":{
1419      }
1420    },
1421    "DeleteEventsConfigurationRequest":{
1422      "type":"structure",
1423      "required":[
1424        "AccountId",
1425        "BotId"
1426      ],
1427      "members":{
1428        "AccountId":{
1429          "shape":"NonEmptyString",
1430          "location":"uri",
1431          "locationName":"accountId"
1432        },
1433        "BotId":{
1434          "shape":"NonEmptyString",
1435          "location":"uri",
1436          "locationName":"botId"
1437        }
1438      }
1439    },
1440    "DeletePhoneNumberRequest":{
1441      "type":"structure",
1442      "required":["PhoneNumberId"],
1443      "members":{
1444        "PhoneNumberId":{
1445          "shape":"String",
1446          "location":"uri",
1447          "locationName":"phoneNumberId"
1448        }
1449      }
1450    },
1451    "DeleteVoiceConnectorOriginationRequest":{
1452      "type":"structure",
1453      "required":["VoiceConnectorId"],
1454      "members":{
1455        "VoiceConnectorId":{
1456          "shape":"NonEmptyString",
1457          "location":"uri",
1458          "locationName":"voiceConnectorId"
1459        }
1460      }
1461    },
1462    "DeleteVoiceConnectorRequest":{
1463      "type":"structure",
1464      "required":["VoiceConnectorId"],
1465      "members":{
1466        "VoiceConnectorId":{
1467          "shape":"NonEmptyString",
1468          "location":"uri",
1469          "locationName":"voiceConnectorId"
1470        }
1471      }
1472    },
1473    "DeleteVoiceConnectorTerminationCredentialsRequest":{
1474      "type":"structure",
1475      "required":["VoiceConnectorId"],
1476      "members":{
1477        "VoiceConnectorId":{
1478          "shape":"NonEmptyString",
1479          "location":"uri",
1480          "locationName":"voiceConnectorId"
1481        },
1482        "Usernames":{"shape":"SensitiveStringList"}
1483      }
1484    },
1485    "DeleteVoiceConnectorTerminationRequest":{
1486      "type":"structure",
1487      "required":["VoiceConnectorId"],
1488      "members":{
1489        "VoiceConnectorId":{
1490          "shape":"NonEmptyString",
1491          "location":"uri",
1492          "locationName":"voiceConnectorId"
1493        }
1494      }
1495    },
1496    "DisassociatePhoneNumberFromUserRequest":{
1497      "type":"structure",
1498      "required":[
1499        "AccountId",
1500        "UserId"
1501      ],
1502      "members":{
1503        "AccountId":{
1504          "shape":"String",
1505          "location":"uri",
1506          "locationName":"accountId"
1507        },
1508        "UserId":{
1509          "shape":"String",
1510          "location":"uri",
1511          "locationName":"userId"
1512        }
1513      }
1514    },
1515    "DisassociatePhoneNumberFromUserResponse":{
1516      "type":"structure",
1517      "members":{
1518      }
1519    },
1520    "DisassociatePhoneNumbersFromVoiceConnectorRequest":{
1521      "type":"structure",
1522      "required":["VoiceConnectorId"],
1523      "members":{
1524        "VoiceConnectorId":{
1525          "shape":"NonEmptyString",
1526          "location":"uri",
1527          "locationName":"voiceConnectorId"
1528        },
1529        "E164PhoneNumbers":{"shape":"E164PhoneNumberList"}
1530      }
1531    },
1532    "DisassociatePhoneNumbersFromVoiceConnectorResponse":{
1533      "type":"structure",
1534      "members":{
1535        "PhoneNumberErrors":{"shape":"PhoneNumberErrorList"}
1536      }
1537    },
1538    "E164PhoneNumber":{
1539      "type":"string",
1540      "pattern":"^\\+?[1-9]\\d{1,14}$",
1541      "sensitive":true
1542    },
1543    "E164PhoneNumberList":{
1544      "type":"list",
1545      "member":{"shape":"E164PhoneNumber"}
1546    },
1547    "EmailAddress":{
1548      "type":"string",
1549      "pattern":".+@.+\\..+",
1550      "sensitive":true
1551    },
1552    "EmailStatus":{
1553      "type":"string",
1554      "enum":[
1555        "NotSent",
1556        "Sent",
1557        "Failed"
1558      ]
1559    },
1560    "ErrorCode":{
1561      "type":"string",
1562      "enum":[
1563        "Unauthorized",
1564        "Forbidden",
1565        "NotFound",
1566        "BadRequest",
1567        "Conflict",
1568        "ServiceFailure",
1569        "ServiceUnavailable",
1570        "Unprocessable",
1571        "Throttled",
1572        "PreconditionFailed"
1573      ]
1574    },
1575    "EventsConfiguration":{
1576      "type":"structure",
1577      "members":{
1578        "BotId":{"shape":"String"},
1579        "OutboundEventsHTTPSEndpoint":{"shape":"SensitiveString"},
1580        "LambdaFunctionArn":{"shape":"SensitiveString"}
1581      }
1582    },
1583    "ForbiddenException":{
1584      "type":"structure",
1585      "members":{
1586        "Code":{"shape":"ErrorCode"},
1587        "Message":{"shape":"String"}
1588      },
1589      "error":{"httpStatusCode":403},
1590      "exception":true
1591    },
1592    "GetAccountRequest":{
1593      "type":"structure",
1594      "required":["AccountId"],
1595      "members":{
1596        "AccountId":{
1597          "shape":"NonEmptyString",
1598          "location":"uri",
1599          "locationName":"accountId"
1600        }
1601      }
1602    },
1603    "GetAccountResponse":{
1604      "type":"structure",
1605      "members":{
1606        "Account":{"shape":"Account"}
1607      }
1608    },
1609    "GetAccountSettingsRequest":{
1610      "type":"structure",
1611      "required":["AccountId"],
1612      "members":{
1613        "AccountId":{
1614          "shape":"NonEmptyString",
1615          "location":"uri",
1616          "locationName":"accountId"
1617        }
1618      }
1619    },
1620    "GetAccountSettingsResponse":{
1621      "type":"structure",
1622      "members":{
1623        "AccountSettings":{"shape":"AccountSettings"}
1624      }
1625    },
1626    "GetBotRequest":{
1627      "type":"structure",
1628      "required":[
1629        "AccountId",
1630        "BotId"
1631      ],
1632      "members":{
1633        "AccountId":{
1634          "shape":"NonEmptyString",
1635          "location":"uri",
1636          "locationName":"accountId"
1637        },
1638        "BotId":{
1639          "shape":"NonEmptyString",
1640          "location":"uri",
1641          "locationName":"botId"
1642        }
1643      }
1644    },
1645    "GetBotResponse":{
1646      "type":"structure",
1647      "members":{
1648        "Bot":{"shape":"Bot"}
1649      }
1650    },
1651    "GetEventsConfigurationRequest":{
1652      "type":"structure",
1653      "required":[
1654        "AccountId",
1655        "BotId"
1656      ],
1657      "members":{
1658        "AccountId":{
1659          "shape":"NonEmptyString",
1660          "location":"uri",
1661          "locationName":"accountId"
1662        },
1663        "BotId":{
1664          "shape":"NonEmptyString",
1665          "location":"uri",
1666          "locationName":"botId"
1667        }
1668      }
1669    },
1670    "GetEventsConfigurationResponse":{
1671      "type":"structure",
1672      "members":{
1673        "EventsConfiguration":{"shape":"EventsConfiguration"}
1674      }
1675    },
1676    "GetGlobalSettingsResponse":{
1677      "type":"structure",
1678      "members":{
1679        "BusinessCalling":{"shape":"BusinessCallingSettings"},
1680        "VoiceConnector":{"shape":"VoiceConnectorSettings"}
1681      }
1682    },
1683    "GetPhoneNumberOrderRequest":{
1684      "type":"structure",
1685      "required":["PhoneNumberOrderId"],
1686      "members":{
1687        "PhoneNumberOrderId":{
1688          "shape":"GuidString",
1689          "location":"uri",
1690          "locationName":"phoneNumberOrderId"
1691        }
1692      }
1693    },
1694    "GetPhoneNumberOrderResponse":{
1695      "type":"structure",
1696      "members":{
1697        "PhoneNumberOrder":{"shape":"PhoneNumberOrder"}
1698      }
1699    },
1700    "GetPhoneNumberRequest":{
1701      "type":"structure",
1702      "required":["PhoneNumberId"],
1703      "members":{
1704        "PhoneNumberId":{
1705          "shape":"String",
1706          "location":"uri",
1707          "locationName":"phoneNumberId"
1708        }
1709      }
1710    },
1711    "GetPhoneNumberResponse":{
1712      "type":"structure",
1713      "members":{
1714        "PhoneNumber":{"shape":"PhoneNumber"}
1715      }
1716    },
1717    "GetUserRequest":{
1718      "type":"structure",
1719      "required":[
1720        "AccountId",
1721        "UserId"
1722      ],
1723      "members":{
1724        "AccountId":{
1725          "shape":"NonEmptyString",
1726          "location":"uri",
1727          "locationName":"accountId"
1728        },
1729        "UserId":{
1730          "shape":"NonEmptyString",
1731          "location":"uri",
1732          "locationName":"userId"
1733        }
1734      }
1735    },
1736    "GetUserResponse":{
1737      "type":"structure",
1738      "members":{
1739        "User":{"shape":"User"}
1740      }
1741    },
1742    "GetUserSettingsRequest":{
1743      "type":"structure",
1744      "required":[
1745        "AccountId",
1746        "UserId"
1747      ],
1748      "members":{
1749        "AccountId":{
1750          "shape":"String",
1751          "location":"uri",
1752          "locationName":"accountId"
1753        },
1754        "UserId":{
1755          "shape":"String",
1756          "location":"uri",
1757          "locationName":"userId"
1758        }
1759      }
1760    },
1761    "GetUserSettingsResponse":{
1762      "type":"structure",
1763      "members":{
1764        "UserSettings":{"shape":"UserSettings"}
1765      }
1766    },
1767    "GetVoiceConnectorOriginationRequest":{
1768      "type":"structure",
1769      "required":["VoiceConnectorId"],
1770      "members":{
1771        "VoiceConnectorId":{
1772          "shape":"NonEmptyString",
1773          "location":"uri",
1774          "locationName":"voiceConnectorId"
1775        }
1776      }
1777    },
1778    "GetVoiceConnectorOriginationResponse":{
1779      "type":"structure",
1780      "members":{
1781        "Origination":{"shape":"Origination"}
1782      }
1783    },
1784    "GetVoiceConnectorRequest":{
1785      "type":"structure",
1786      "required":["VoiceConnectorId"],
1787      "members":{
1788        "VoiceConnectorId":{
1789          "shape":"NonEmptyString",
1790          "location":"uri",
1791          "locationName":"voiceConnectorId"
1792        }
1793      }
1794    },
1795    "GetVoiceConnectorResponse":{
1796      "type":"structure",
1797      "members":{
1798        "VoiceConnector":{"shape":"VoiceConnector"}
1799      }
1800    },
1801    "GetVoiceConnectorTerminationHealthRequest":{
1802      "type":"structure",
1803      "required":["VoiceConnectorId"],
1804      "members":{
1805        "VoiceConnectorId":{
1806          "shape":"NonEmptyString",
1807          "location":"uri",
1808          "locationName":"voiceConnectorId"
1809        }
1810      }
1811    },
1812    "GetVoiceConnectorTerminationHealthResponse":{
1813      "type":"structure",
1814      "members":{
1815        "TerminationHealth":{"shape":"TerminationHealth"}
1816      }
1817    },
1818    "GetVoiceConnectorTerminationRequest":{
1819      "type":"structure",
1820      "required":["VoiceConnectorId"],
1821      "members":{
1822        "VoiceConnectorId":{
1823          "shape":"NonEmptyString",
1824          "location":"uri",
1825          "locationName":"voiceConnectorId"
1826        }
1827      }
1828    },
1829    "GetVoiceConnectorTerminationResponse":{
1830      "type":"structure",
1831      "members":{
1832        "Termination":{"shape":"Termination"}
1833      }
1834    },
1835    "GuidString":{
1836      "type":"string",
1837      "pattern":"[a-fA-F0-9]{8}(?:-[a-fA-F0-9]{4}){3}-[a-fA-F0-9]{12}"
1838    },
1839    "Invite":{
1840      "type":"structure",
1841      "members":{
1842        "InviteId":{"shape":"String"},
1843        "Status":{"shape":"InviteStatus"},
1844        "EmailAddress":{"shape":"EmailAddress"},
1845        "EmailStatus":{"shape":"EmailStatus"}
1846      }
1847    },
1848    "InviteList":{
1849      "type":"list",
1850      "member":{"shape":"Invite"}
1851    },
1852    "InviteStatus":{
1853      "type":"string",
1854      "enum":[
1855        "Pending",
1856        "Accepted",
1857        "Failed"
1858      ]
1859    },
1860    "InviteUsersRequest":{
1861      "type":"structure",
1862      "required":[
1863        "AccountId",
1864        "UserEmailList"
1865      ],
1866      "members":{
1867        "AccountId":{
1868          "shape":"NonEmptyString",
1869          "location":"uri",
1870          "locationName":"accountId"
1871        },
1872        "UserEmailList":{"shape":"UserEmailList"}
1873      }
1874    },
1875    "InviteUsersResponse":{
1876      "type":"structure",
1877      "members":{
1878        "Invites":{"shape":"InviteList"}
1879      }
1880    },
1881    "Iso8601Timestamp":{
1882      "type":"timestamp",
1883      "timestampFormat":"iso8601"
1884    },
1885    "License":{
1886      "type":"string",
1887      "enum":[
1888        "Basic",
1889        "Plus",
1890        "Pro",
1891        "ProTrial"
1892      ]
1893    },
1894    "LicenseList":{
1895      "type":"list",
1896      "member":{"shape":"License"}
1897    },
1898    "ListAccountsRequest":{
1899      "type":"structure",
1900      "members":{
1901        "Name":{
1902          "shape":"AccountName",
1903          "location":"querystring",
1904          "locationName":"name"
1905        },
1906        "UserEmail":{
1907          "shape":"EmailAddress",
1908          "location":"querystring",
1909          "locationName":"user-email"
1910        },
1911        "NextToken":{
1912          "shape":"String",
1913          "location":"querystring",
1914          "locationName":"next-token"
1915        },
1916        "MaxResults":{
1917          "shape":"ProfileServiceMaxResults",
1918          "location":"querystring",
1919          "locationName":"max-results"
1920        }
1921      }
1922    },
1923    "ListAccountsResponse":{
1924      "type":"structure",
1925      "members":{
1926        "Accounts":{"shape":"AccountList"},
1927        "NextToken":{"shape":"String"}
1928      }
1929    },
1930    "ListBotsRequest":{
1931      "type":"structure",
1932      "required":["AccountId"],
1933      "members":{
1934        "AccountId":{
1935          "shape":"NonEmptyString",
1936          "location":"uri",
1937          "locationName":"accountId"
1938        },
1939        "MaxResults":{
1940          "shape":"ResultMax",
1941          "location":"querystring",
1942          "locationName":"max-results"
1943        },
1944        "NextToken":{
1945          "shape":"String",
1946          "location":"querystring",
1947          "locationName":"next-token"
1948        }
1949      }
1950    },
1951    "ListBotsResponse":{
1952      "type":"structure",
1953      "members":{
1954        "Bots":{"shape":"BotList"},
1955        "NextToken":{"shape":"String"}
1956      }
1957    },
1958    "ListPhoneNumberOrdersRequest":{
1959      "type":"structure",
1960      "members":{
1961        "NextToken":{
1962          "shape":"String",
1963          "location":"querystring",
1964          "locationName":"next-token"
1965        },
1966        "MaxResults":{
1967          "shape":"ResultMax",
1968          "location":"querystring",
1969          "locationName":"max-results"
1970        }
1971      }
1972    },
1973    "ListPhoneNumberOrdersResponse":{
1974      "type":"structure",
1975      "members":{
1976        "PhoneNumberOrders":{"shape":"PhoneNumberOrderList"},
1977        "NextToken":{"shape":"String"}
1978      }
1979    },
1980    "ListPhoneNumbersRequest":{
1981      "type":"structure",
1982      "members":{
1983        "Status":{
1984          "shape":"PhoneNumberStatus",
1985          "location":"querystring",
1986          "locationName":"status"
1987        },
1988        "ProductType":{
1989          "shape":"PhoneNumberProductType",
1990          "location":"querystring",
1991          "locationName":"product-type"
1992        },
1993        "FilterName":{
1994          "shape":"PhoneNumberAssociationName",
1995          "location":"querystring",
1996          "locationName":"filter-name"
1997        },
1998        "FilterValue":{
1999          "shape":"String",
2000          "location":"querystring",
2001          "locationName":"filter-value"
2002        },
2003        "MaxResults":{
2004          "shape":"ResultMax",
2005          "location":"querystring",
2006          "locationName":"max-results"
2007        },
2008        "NextToken":{
2009          "shape":"String",
2010          "location":"querystring",
2011          "locationName":"next-token"
2012        }
2013      }
2014    },
2015    "ListPhoneNumbersResponse":{
2016      "type":"structure",
2017      "members":{
2018        "PhoneNumbers":{"shape":"PhoneNumberList"},
2019        "NextToken":{"shape":"String"}
2020      }
2021    },
2022    "ListUsersRequest":{
2023      "type":"structure",
2024      "required":["AccountId"],
2025      "members":{
2026        "AccountId":{
2027          "shape":"NonEmptyString",
2028          "location":"uri",
2029          "locationName":"accountId"
2030        },
2031        "UserEmail":{
2032          "shape":"EmailAddress",
2033          "location":"querystring",
2034          "locationName":"user-email"
2035        },
2036        "MaxResults":{
2037          "shape":"ProfileServiceMaxResults",
2038          "location":"querystring",
2039          "locationName":"max-results"
2040        },
2041        "NextToken":{
2042          "shape":"String",
2043          "location":"querystring",
2044          "locationName":"next-token"
2045        }
2046      }
2047    },
2048    "ListUsersResponse":{
2049      "type":"structure",
2050      "members":{
2051        "Users":{"shape":"UserList"},
2052        "NextToken":{"shape":"String"}
2053      }
2054    },
2055    "ListVoiceConnectorTerminationCredentialsRequest":{
2056      "type":"structure",
2057      "required":["VoiceConnectorId"],
2058      "members":{
2059        "VoiceConnectorId":{
2060          "shape":"NonEmptyString",
2061          "location":"uri",
2062          "locationName":"voiceConnectorId"
2063        }
2064      }
2065    },
2066    "ListVoiceConnectorTerminationCredentialsResponse":{
2067      "type":"structure",
2068      "members":{
2069        "Usernames":{"shape":"SensitiveStringList"}
2070      }
2071    },
2072    "ListVoiceConnectorsRequest":{
2073      "type":"structure",
2074      "members":{
2075        "NextToken":{
2076          "shape":"String",
2077          "location":"querystring",
2078          "locationName":"next-token"
2079        },
2080        "MaxResults":{
2081          "shape":"ResultMax",
2082          "location":"querystring",
2083          "locationName":"max-results"
2084        }
2085      }
2086    },
2087    "ListVoiceConnectorsResponse":{
2088      "type":"structure",
2089      "members":{
2090        "VoiceConnectors":{"shape":"VoiceConnectorList"},
2091        "NextToken":{"shape":"String"}
2092      }
2093    },
2094    "LogoutUserRequest":{
2095      "type":"structure",
2096      "required":[
2097        "AccountId",
2098        "UserId"
2099      ],
2100      "members":{
2101        "AccountId":{
2102          "shape":"NonEmptyString",
2103          "location":"uri",
2104          "locationName":"accountId"
2105        },
2106        "UserId":{
2107          "shape":"NonEmptyString",
2108          "location":"uri",
2109          "locationName":"userId"
2110        }
2111      }
2112    },
2113    "LogoutUserResponse":{
2114      "type":"structure",
2115      "members":{
2116      }
2117    },
2118    "NonEmptyString":{
2119      "type":"string",
2120      "pattern":".*\\S.*"
2121    },
2122    "NonEmptyStringList":{
2123      "type":"list",
2124      "member":{"shape":"String"},
2125      "min":1
2126    },
2127    "NotFoundException":{
2128      "type":"structure",
2129      "members":{
2130        "Code":{"shape":"ErrorCode"},
2131        "Message":{"shape":"String"}
2132      },
2133      "error":{"httpStatusCode":404},
2134      "exception":true
2135    },
2136    "NullableBoolean":{"type":"boolean"},
2137    "OrderedPhoneNumber":{
2138      "type":"structure",
2139      "members":{
2140        "E164PhoneNumber":{"shape":"E164PhoneNumber"},
2141        "Status":{"shape":"OrderedPhoneNumberStatus"}
2142      }
2143    },
2144    "OrderedPhoneNumberList":{
2145      "type":"list",
2146      "member":{"shape":"OrderedPhoneNumber"}
2147    },
2148    "OrderedPhoneNumberStatus":{
2149      "type":"string",
2150      "enum":[
2151        "Processing",
2152        "Acquired",
2153        "Failed"
2154      ]
2155    },
2156    "Origination":{
2157      "type":"structure",
2158      "members":{
2159        "Routes":{"shape":"OriginationRouteList"},
2160        "Disabled":{"shape":"Boolean"}
2161      }
2162    },
2163    "OriginationRoute":{
2164      "type":"structure",
2165      "members":{
2166        "Host":{"shape":"String"},
2167        "Port":{"shape":"Port"},
2168        "Protocol":{"shape":"OriginationRouteProtocol"},
2169        "Priority":{"shape":"OriginationRoutePriority"},
2170        "Weight":{"shape":"OriginationRouteWeight"}
2171      }
2172    },
2173    "OriginationRouteList":{
2174      "type":"list",
2175      "member":{"shape":"OriginationRoute"}
2176    },
2177    "OriginationRoutePriority":{
2178      "type":"integer",
2179      "max":100,
2180      "min":1
2181    },
2182    "OriginationRouteProtocol":{
2183      "type":"string",
2184      "enum":[
2185        "TCP",
2186        "UDP"
2187      ]
2188    },
2189    "OriginationRouteWeight":{
2190      "type":"integer",
2191      "max":100,
2192      "min":1
2193    },
2194    "PhoneNumber":{
2195      "type":"structure",
2196      "members":{
2197        "PhoneNumberId":{"shape":"String"},
2198        "E164PhoneNumber":{"shape":"E164PhoneNumber"},
2199        "Type":{"shape":"PhoneNumberType"},
2200        "ProductType":{"shape":"PhoneNumberProductType"},
2201        "Status":{"shape":"PhoneNumberStatus"},
2202        "Capabilities":{"shape":"PhoneNumberCapabilities"},
2203        "Associations":{"shape":"PhoneNumberAssociationList"},
2204        "CreatedTimestamp":{"shape":"Iso8601Timestamp"},
2205        "UpdatedTimestamp":{"shape":"Iso8601Timestamp"},
2206        "DeletionTimestamp":{"shape":"Iso8601Timestamp"}
2207      }
2208    },
2209    "PhoneNumberAssociation":{
2210      "type":"structure",
2211      "members":{
2212        "Value":{"shape":"String"},
2213        "Name":{"shape":"PhoneNumberAssociationName"},
2214        "AssociatedTimestamp":{"shape":"Iso8601Timestamp"}
2215      }
2216    },
2217    "PhoneNumberAssociationList":{
2218      "type":"list",
2219      "member":{"shape":"PhoneNumberAssociation"}
2220    },
2221    "PhoneNumberAssociationName":{
2222      "type":"string",
2223      "enum":[
2224        "AccountId",
2225        "UserId",
2226        "VoiceConnectorId"
2227      ]
2228    },
2229    "PhoneNumberCapabilities":{
2230      "type":"structure",
2231      "members":{
2232        "InboundCall":{"shape":"NullableBoolean"},
2233        "OutboundCall":{"shape":"NullableBoolean"},
2234        "InboundSMS":{"shape":"NullableBoolean"},
2235        "OutboundSMS":{"shape":"NullableBoolean"},
2236        "InboundMMS":{"shape":"NullableBoolean"},
2237        "OutboundMMS":{"shape":"NullableBoolean"}
2238      }
2239    },
2240    "PhoneNumberError":{
2241      "type":"structure",
2242      "members":{
2243        "PhoneNumberId":{"shape":"NonEmptyString"},
2244        "ErrorCode":{"shape":"ErrorCode"},
2245        "ErrorMessage":{"shape":"String"}
2246      }
2247    },
2248    "PhoneNumberErrorList":{
2249      "type":"list",
2250      "member":{"shape":"PhoneNumberError"}
2251    },
2252    "PhoneNumberList":{
2253      "type":"list",
2254      "member":{"shape":"PhoneNumber"}
2255    },
2256    "PhoneNumberMaxResults":{
2257      "type":"integer",
2258      "max":500,
2259      "min":1
2260    },
2261    "PhoneNumberOrder":{
2262      "type":"structure",
2263      "members":{
2264        "PhoneNumberOrderId":{"shape":"GuidString"},
2265        "ProductType":{"shape":"PhoneNumberProductType"},
2266        "Status":{"shape":"PhoneNumberOrderStatus"},
2267        "OrderedPhoneNumbers":{"shape":"OrderedPhoneNumberList"},
2268        "CreatedTimestamp":{"shape":"Iso8601Timestamp"},
2269        "UpdatedTimestamp":{"shape":"Iso8601Timestamp"}
2270      }
2271    },
2272    "PhoneNumberOrderList":{
2273      "type":"list",
2274      "member":{"shape":"PhoneNumberOrder"}
2275    },
2276    "PhoneNumberOrderStatus":{
2277      "type":"string",
2278      "enum":[
2279        "Processing",
2280        "Successful",
2281        "Failed",
2282        "Partial"
2283      ]
2284    },
2285    "PhoneNumberProductType":{
2286      "type":"string",
2287      "enum":[
2288        "BusinessCalling",
2289        "VoiceConnector"
2290      ]
2291    },
2292    "PhoneNumberStatus":{
2293      "type":"string",
2294      "enum":[
2295        "AcquireInProgress",
2296        "AcquireFailed",
2297        "Unassigned",
2298        "Assigned",
2299        "ReleaseInProgress",
2300        "DeleteInProgress",
2301        "ReleaseFailed",
2302        "DeleteFailed"
2303      ]
2304    },
2305    "PhoneNumberType":{
2306      "type":"string",
2307      "enum":[
2308        "Local",
2309        "TollFree"
2310      ]
2311    },
2312    "Port":{
2313      "type":"integer",
2314      "max":65535,
2315      "min":0
2316    },
2317    "ProfileServiceMaxResults":{
2318      "type":"integer",
2319      "max":200,
2320      "min":1
2321    },
2322    "PutEventsConfigurationRequest":{
2323      "type":"structure",
2324      "required":[
2325        "AccountId",
2326        "BotId"
2327      ],
2328      "members":{
2329        "AccountId":{
2330          "shape":"NonEmptyString",
2331          "location":"uri",
2332          "locationName":"accountId"
2333        },
2334        "BotId":{
2335          "shape":"NonEmptyString",
2336          "location":"uri",
2337          "locationName":"botId"
2338        },
2339        "OutboundEventsHTTPSEndpoint":{"shape":"SensitiveString"},
2340        "LambdaFunctionArn":{"shape":"SensitiveString"}
2341      }
2342    },
2343    "PutEventsConfigurationResponse":{
2344      "type":"structure",
2345      "members":{
2346        "EventsConfiguration":{"shape":"EventsConfiguration"}
2347      }
2348    },
2349    "PutVoiceConnectorOriginationRequest":{
2350      "type":"structure",
2351      "required":[
2352        "VoiceConnectorId",
2353        "Origination"
2354      ],
2355      "members":{
2356        "VoiceConnectorId":{
2357          "shape":"NonEmptyString",
2358          "location":"uri",
2359          "locationName":"voiceConnectorId"
2360        },
2361        "Origination":{"shape":"Origination"}
2362      }
2363    },
2364    "PutVoiceConnectorOriginationResponse":{
2365      "type":"structure",
2366      "members":{
2367        "Origination":{"shape":"Origination"}
2368      }
2369    },
2370    "PutVoiceConnectorTerminationCredentialsRequest":{
2371      "type":"structure",
2372      "required":["VoiceConnectorId"],
2373      "members":{
2374        "VoiceConnectorId":{
2375          "shape":"NonEmptyString",
2376          "location":"uri",
2377          "locationName":"voiceConnectorId"
2378        },
2379        "Credentials":{"shape":"CredentialList"}
2380      }
2381    },
2382    "PutVoiceConnectorTerminationRequest":{
2383      "type":"structure",
2384      "required":[
2385        "VoiceConnectorId",
2386        "Termination"
2387      ],
2388      "members":{
2389        "VoiceConnectorId":{
2390          "shape":"NonEmptyString",
2391          "location":"uri",
2392          "locationName":"voiceConnectorId"
2393        },
2394        "Termination":{"shape":"Termination"}
2395      }
2396    },
2397    "PutVoiceConnectorTerminationResponse":{
2398      "type":"structure",
2399      "members":{
2400        "Termination":{"shape":"Termination"}
2401      }
2402    },
2403    "RegenerateSecurityTokenRequest":{
2404      "type":"structure",
2405      "required":[
2406        "AccountId",
2407        "BotId"
2408      ],
2409      "members":{
2410        "AccountId":{
2411          "shape":"NonEmptyString",
2412          "location":"uri",
2413          "locationName":"accountId"
2414        },
2415        "BotId":{
2416          "shape":"NonEmptyString",
2417          "location":"uri",
2418          "locationName":"botId"
2419        }
2420      }
2421    },
2422    "RegenerateSecurityTokenResponse":{
2423      "type":"structure",
2424      "members":{
2425        "Bot":{"shape":"Bot"}
2426      }
2427    },
2428    "RegistrationStatus":{
2429      "type":"string",
2430      "enum":[
2431        "Unregistered",
2432        "Registered",
2433        "Suspended"
2434      ]
2435    },
2436    "ResetPersonalPINRequest":{
2437      "type":"structure",
2438      "required":[
2439        "AccountId",
2440        "UserId"
2441      ],
2442      "members":{
2443        "AccountId":{
2444          "shape":"NonEmptyString",
2445          "location":"uri",
2446          "locationName":"accountId"
2447        },
2448        "UserId":{
2449          "shape":"NonEmptyString",
2450          "location":"uri",
2451          "locationName":"userId"
2452        }
2453      }
2454    },
2455    "ResetPersonalPINResponse":{
2456      "type":"structure",
2457      "members":{
2458        "User":{"shape":"User"}
2459      }
2460    },
2461    "ResourceLimitExceededException":{
2462      "type":"structure",
2463      "members":{
2464        "Code":{"shape":"ErrorCode"},
2465        "Message":{"shape":"String"}
2466      },
2467      "error":{"httpStatusCode":400},
2468      "exception":true
2469    },
2470    "RestorePhoneNumberRequest":{
2471      "type":"structure",
2472      "required":["PhoneNumberId"],
2473      "members":{
2474        "PhoneNumberId":{
2475          "shape":"NonEmptyString",
2476          "location":"uri",
2477          "locationName":"phoneNumberId"
2478        }
2479      }
2480    },
2481    "RestorePhoneNumberResponse":{
2482      "type":"structure",
2483      "members":{
2484        "PhoneNumber":{"shape":"PhoneNumber"}
2485      }
2486    },
2487    "ResultMax":{
2488      "type":"integer",
2489      "max":99,
2490      "min":1
2491    },
2492    "SearchAvailablePhoneNumbersRequest":{
2493      "type":"structure",
2494      "members":{
2495        "AreaCode":{
2496          "shape":"String",
2497          "location":"querystring",
2498          "locationName":"area-code"
2499        },
2500        "City":{
2501          "shape":"String",
2502          "location":"querystring",
2503          "locationName":"city"
2504        },
2505        "Country":{
2506          "shape":"String",
2507          "location":"querystring",
2508          "locationName":"country"
2509        },
2510        "State":{
2511          "shape":"String",
2512          "location":"querystring",
2513          "locationName":"state"
2514        },
2515        "TollFreePrefix":{
2516          "shape":"TollFreePrefix",
2517          "location":"querystring",
2518          "locationName":"toll-free-prefix"
2519        },
2520        "MaxResults":{
2521          "shape":"PhoneNumberMaxResults",
2522          "location":"querystring",
2523          "locationName":"max-results"
2524        },
2525        "NextToken":{
2526          "shape":"String",
2527          "location":"querystring",
2528          "locationName":"next-token"
2529        }
2530      }
2531    },
2532    "SearchAvailablePhoneNumbersResponse":{
2533      "type":"structure",
2534      "members":{
2535        "E164PhoneNumbers":{"shape":"E164PhoneNumberList"}
2536      }
2537    },
2538    "SensitiveString":{
2539      "type":"string",
2540      "sensitive":true
2541    },
2542    "SensitiveStringList":{
2543      "type":"list",
2544      "member":{"shape":"SensitiveString"}
2545    },
2546    "ServiceFailureException":{
2547      "type":"structure",
2548      "members":{
2549        "Code":{"shape":"ErrorCode"},
2550        "Message":{"shape":"String"}
2551      },
2552      "error":{"httpStatusCode":500},
2553      "exception":true,
2554      "fault":true
2555    },
2556    "ServiceUnavailableException":{
2557      "type":"structure",
2558      "members":{
2559        "Code":{"shape":"ErrorCode"},
2560        "Message":{"shape":"String"}
2561      },
2562      "error":{"httpStatusCode":503},
2563      "exception":true,
2564      "fault":true
2565    },
2566    "String":{"type":"string"},
2567    "StringList":{
2568      "type":"list",
2569      "member":{"shape":"String"}
2570    },
2571    "TelephonySettings":{
2572      "type":"structure",
2573      "required":[
2574        "InboundCalling",
2575        "OutboundCalling",
2576        "SMS"
2577      ],
2578      "members":{
2579        "InboundCalling":{"shape":"Boolean"},
2580        "OutboundCalling":{"shape":"Boolean"},
2581        "SMS":{"shape":"Boolean"}
2582      }
2583    },
2584    "Termination":{
2585      "type":"structure",
2586      "members":{
2587        "CpsLimit":{"shape":"CpsLimit"},
2588        "DefaultPhoneNumber":{"shape":"E164PhoneNumber"},
2589        "CallingRegions":{"shape":"CallingRegionList"},
2590        "CidrAllowedList":{"shape":"StringList"},
2591        "Disabled":{"shape":"Boolean"}
2592      }
2593    },
2594    "TerminationHealth":{
2595      "type":"structure",
2596      "members":{
2597        "Timestamp":{"shape":"Iso8601Timestamp"},
2598        "Source":{"shape":"String"}
2599      }
2600    },
2601    "ThrottledClientException":{
2602      "type":"structure",
2603      "members":{
2604        "Code":{"shape":"ErrorCode"},
2605        "Message":{"shape":"String"}
2606      },
2607      "error":{"httpStatusCode":429},
2608      "exception":true
2609    },
2610    "TollFreePrefix":{
2611      "type":"string",
2612      "max":3,
2613      "min":3,
2614      "pattern":"^8(00|33|44|55|66|77|88)$"
2615    },
2616    "UnauthorizedClientException":{
2617      "type":"structure",
2618      "members":{
2619        "Code":{"shape":"ErrorCode"},
2620        "Message":{"shape":"String"}
2621      },
2622      "error":{"httpStatusCode":401},
2623      "exception":true
2624    },
2625    "UnprocessableEntityException":{
2626      "type":"structure",
2627      "members":{
2628        "Code":{"shape":"ErrorCode"},
2629        "Message":{"shape":"String"}
2630      },
2631      "error":{"httpStatusCode":422},
2632      "exception":true
2633    },
2634    "UpdateAccountRequest":{
2635      "type":"structure",
2636      "required":["AccountId"],
2637      "members":{
2638        "AccountId":{
2639          "shape":"NonEmptyString",
2640          "location":"uri",
2641          "locationName":"accountId"
2642        },
2643        "Name":{"shape":"AccountName"}
2644      }
2645    },
2646    "UpdateAccountResponse":{
2647      "type":"structure",
2648      "members":{
2649        "Account":{"shape":"Account"}
2650      }
2651    },
2652    "UpdateAccountSettingsRequest":{
2653      "type":"structure",
2654      "required":[
2655        "AccountId",
2656        "AccountSettings"
2657      ],
2658      "members":{
2659        "AccountId":{
2660          "shape":"NonEmptyString",
2661          "location":"uri",
2662          "locationName":"accountId"
2663        },
2664        "AccountSettings":{"shape":"AccountSettings"}
2665      }
2666    },
2667    "UpdateAccountSettingsResponse":{
2668      "type":"structure",
2669      "members":{
2670      }
2671    },
2672    "UpdateBotRequest":{
2673      "type":"structure",
2674      "required":[
2675        "AccountId",
2676        "BotId"
2677      ],
2678      "members":{
2679        "AccountId":{
2680          "shape":"NonEmptyString",
2681          "location":"uri",
2682          "locationName":"accountId"
2683        },
2684        "BotId":{
2685          "shape":"NonEmptyString",
2686          "location":"uri",
2687          "locationName":"botId"
2688        },
2689        "Disabled":{"shape":"NullableBoolean"}
2690      }
2691    },
2692    "UpdateBotResponse":{
2693      "type":"structure",
2694      "members":{
2695        "Bot":{"shape":"Bot"}
2696      }
2697    },
2698    "UpdateGlobalSettingsRequest":{
2699      "type":"structure",
2700      "required":[
2701        "BusinessCalling",
2702        "VoiceConnector"
2703      ],
2704      "members":{
2705        "BusinessCalling":{"shape":"BusinessCallingSettings"},
2706        "VoiceConnector":{"shape":"VoiceConnectorSettings"}
2707      }
2708    },
2709    "UpdatePhoneNumberRequest":{
2710      "type":"structure",
2711      "required":["PhoneNumberId"],
2712      "members":{
2713        "PhoneNumberId":{
2714          "shape":"String",
2715          "location":"uri",
2716          "locationName":"phoneNumberId"
2717        },
2718        "ProductType":{"shape":"PhoneNumberProductType"}
2719      }
2720    },
2721    "UpdatePhoneNumberRequestItem":{
2722      "type":"structure",
2723      "required":["PhoneNumberId"],
2724      "members":{
2725        "PhoneNumberId":{"shape":"NonEmptyString"},
2726        "ProductType":{"shape":"PhoneNumberProductType"}
2727      }
2728    },
2729    "UpdatePhoneNumberRequestItemList":{
2730      "type":"list",
2731      "member":{"shape":"UpdatePhoneNumberRequestItem"}
2732    },
2733    "UpdatePhoneNumberResponse":{
2734      "type":"structure",
2735      "members":{
2736        "PhoneNumber":{"shape":"PhoneNumber"}
2737      }
2738    },
2739    "UpdateUserRequest":{
2740      "type":"structure",
2741      "required":[
2742        "AccountId",
2743        "UserId"
2744      ],
2745      "members":{
2746        "AccountId":{
2747          "shape":"NonEmptyString",
2748          "location":"uri",
2749          "locationName":"accountId"
2750        },
2751        "UserId":{
2752          "shape":"NonEmptyString",
2753          "location":"uri",
2754          "locationName":"userId"
2755        },
2756        "LicenseType":{"shape":"License"}
2757      }
2758    },
2759    "UpdateUserRequestItem":{
2760      "type":"structure",
2761      "required":["UserId"],
2762      "members":{
2763        "UserId":{"shape":"NonEmptyString"},
2764        "LicenseType":{"shape":"License"}
2765      }
2766    },
2767    "UpdateUserRequestItemList":{
2768      "type":"list",
2769      "member":{"shape":"UpdateUserRequestItem"},
2770      "max":20
2771    },
2772    "UpdateUserResponse":{
2773      "type":"structure",
2774      "members":{
2775        "User":{"shape":"User"}
2776      }
2777    },
2778    "UpdateUserSettingsRequest":{
2779      "type":"structure",
2780      "required":[
2781        "AccountId",
2782        "UserId",
2783        "UserSettings"
2784      ],
2785      "members":{
2786        "AccountId":{
2787          "shape":"String",
2788          "location":"uri",
2789          "locationName":"accountId"
2790        },
2791        "UserId":{
2792          "shape":"String",
2793          "location":"uri",
2794          "locationName":"userId"
2795        },
2796        "UserSettings":{"shape":"UserSettings"}
2797      }
2798    },
2799    "UpdateVoiceConnectorRequest":{
2800      "type":"structure",
2801      "required":[
2802        "VoiceConnectorId",
2803        "Name",
2804        "RequireEncryption"
2805      ],
2806      "members":{
2807        "VoiceConnectorId":{
2808          "shape":"NonEmptyString",
2809          "location":"uri",
2810          "locationName":"voiceConnectorId"
2811        },
2812        "Name":{"shape":"VoiceConnectorName"},
2813        "RequireEncryption":{"shape":"Boolean"}
2814      }
2815    },
2816    "UpdateVoiceConnectorResponse":{
2817      "type":"structure",
2818      "members":{
2819        "VoiceConnector":{"shape":"VoiceConnector"}
2820      }
2821    },
2822    "User":{
2823      "type":"structure",
2824      "required":["UserId"],
2825      "members":{
2826        "UserId":{"shape":"String"},
2827        "AccountId":{"shape":"String"},
2828        "PrimaryEmail":{"shape":"EmailAddress"},
2829        "PrimaryProvisionedNumber":{"shape":"SensitiveString"},
2830        "DisplayName":{"shape":"SensitiveString"},
2831        "LicenseType":{"shape":"License"},
2832        "UserRegistrationStatus":{"shape":"RegistrationStatus"},
2833        "UserInvitationStatus":{"shape":"InviteStatus"},
2834        "RegisteredOn":{"shape":"Iso8601Timestamp"},
2835        "InvitedOn":{"shape":"Iso8601Timestamp"},
2836        "PersonalPIN":{"shape":"String"}
2837      }
2838    },
2839    "UserEmailList":{
2840      "type":"list",
2841      "member":{"shape":"EmailAddress"},
2842      "max":50
2843    },
2844    "UserError":{
2845      "type":"structure",
2846      "members":{
2847        "UserId":{"shape":"NonEmptyString"},
2848        "ErrorCode":{"shape":"ErrorCode"},
2849        "ErrorMessage":{"shape":"String"}
2850      }
2851    },
2852    "UserErrorList":{
2853      "type":"list",
2854      "member":{"shape":"UserError"}
2855    },
2856    "UserIdList":{
2857      "type":"list",
2858      "member":{"shape":"NonEmptyString"},
2859      "max":50
2860    },
2861    "UserList":{
2862      "type":"list",
2863      "member":{"shape":"User"}
2864    },
2865    "UserSettings":{
2866      "type":"structure",
2867      "required":["Telephony"],
2868      "members":{
2869        "Telephony":{"shape":"TelephonySettings"}
2870      }
2871    },
2872    "VoiceConnector":{
2873      "type":"structure",
2874      "members":{
2875        "VoiceConnectorId":{"shape":"NonEmptyString"},
2876        "Name":{"shape":"VoiceConnectorName"},
2877        "OutboundHostName":{"shape":"String"},
2878        "RequireEncryption":{"shape":"Boolean"},
2879        "CreatedTimestamp":{"shape":"Iso8601Timestamp"},
2880        "UpdatedTimestamp":{"shape":"Iso8601Timestamp"}
2881      }
2882    },
2883    "VoiceConnectorList":{
2884      "type":"list",
2885      "member":{"shape":"VoiceConnector"}
2886    },
2887    "VoiceConnectorName":{
2888      "type":"string",
2889      "max":256,
2890      "min":1
2891    },
2892    "VoiceConnectorSettings":{
2893      "type":"structure",
2894      "members":{
2895        "CdrBucket":{
2896          "shape":"String",
2897          "box":true
2898        }
2899      }
2900    }
2901  }
2902}
2903