1{
2  "version":"2.0",
3  "metadata":{
4    "apiVersion":"2017-08-08",
5    "endpointPrefix":"connect",
6    "jsonVersion":"1.1",
7    "protocol":"rest-json",
8    "serviceAbbreviation":"Amazon Connect",
9    "serviceFullName":"Amazon Connect Service",
10    "serviceId":"Connect",
11    "signatureVersion":"v4",
12    "signingName":"connect",
13    "uid":"connect-2017-08-08"
14  },
15  "operations":{
16    "CreateUser":{
17      "name":"CreateUser",
18      "http":{
19        "method":"PUT",
20        "requestUri":"/users/{InstanceId}"
21      },
22      "input":{"shape":"CreateUserRequest"},
23      "output":{"shape":"CreateUserResponse"},
24      "errors":[
25        {"shape":"InvalidRequestException"},
26        {"shape":"InvalidParameterException"},
27        {"shape":"LimitExceededException"},
28        {"shape":"DuplicateResourceException"},
29        {"shape":"ResourceNotFoundException"},
30        {"shape":"ThrottlingException"},
31        {"shape":"InternalServiceException"}
32      ]
33    },
34    "DeleteUser":{
35      "name":"DeleteUser",
36      "http":{
37        "method":"DELETE",
38        "requestUri":"/users/{InstanceId}/{UserId}"
39      },
40      "input":{"shape":"DeleteUserRequest"},
41      "errors":[
42        {"shape":"InvalidRequestException"},
43        {"shape":"InvalidParameterException"},
44        {"shape":"ResourceNotFoundException"},
45        {"shape":"ThrottlingException"},
46        {"shape":"InternalServiceException"}
47      ]
48    },
49    "DescribeUser":{
50      "name":"DescribeUser",
51      "http":{
52        "method":"GET",
53        "requestUri":"/users/{InstanceId}/{UserId}"
54      },
55      "input":{"shape":"DescribeUserRequest"},
56      "output":{"shape":"DescribeUserResponse"},
57      "errors":[
58        {"shape":"InvalidRequestException"},
59        {"shape":"InvalidParameterException"},
60        {"shape":"ResourceNotFoundException"},
61        {"shape":"ThrottlingException"},
62        {"shape":"InternalServiceException"}
63      ]
64    },
65    "DescribeUserHierarchyGroup":{
66      "name":"DescribeUserHierarchyGroup",
67      "http":{
68        "method":"GET",
69        "requestUri":"/user-hierarchy-groups/{InstanceId}/{HierarchyGroupId}"
70      },
71      "input":{"shape":"DescribeUserHierarchyGroupRequest"},
72      "output":{"shape":"DescribeUserHierarchyGroupResponse"},
73      "errors":[
74        {"shape":"InvalidRequestException"},
75        {"shape":"InvalidParameterException"},
76        {"shape":"ResourceNotFoundException"},
77        {"shape":"ThrottlingException"},
78        {"shape":"InternalServiceException"}
79      ]
80    },
81    "DescribeUserHierarchyStructure":{
82      "name":"DescribeUserHierarchyStructure",
83      "http":{
84        "method":"GET",
85        "requestUri":"/user-hierarchy-structure/{InstanceId}"
86      },
87      "input":{"shape":"DescribeUserHierarchyStructureRequest"},
88      "output":{"shape":"DescribeUserHierarchyStructureResponse"},
89      "errors":[
90        {"shape":"InvalidRequestException"},
91        {"shape":"InvalidParameterException"},
92        {"shape":"ResourceNotFoundException"},
93        {"shape":"ThrottlingException"},
94        {"shape":"InternalServiceException"}
95      ]
96    },
97    "GetContactAttributes":{
98      "name":"GetContactAttributes",
99      "http":{
100        "method":"GET",
101        "requestUri":"/contact/attributes/{InstanceId}/{InitialContactId}"
102      },
103      "input":{"shape":"GetContactAttributesRequest"},
104      "output":{"shape":"GetContactAttributesResponse"},
105      "errors":[
106        {"shape":"InvalidRequestException"},
107        {"shape":"ResourceNotFoundException"},
108        {"shape":"InternalServiceException"}
109      ]
110    },
111    "GetCurrentMetricData":{
112      "name":"GetCurrentMetricData",
113      "http":{
114        "method":"POST",
115        "requestUri":"/metrics/current/{InstanceId}"
116      },
117      "input":{"shape":"GetCurrentMetricDataRequest"},
118      "output":{"shape":"GetCurrentMetricDataResponse"},
119      "errors":[
120        {"shape":"InvalidRequestException"},
121        {"shape":"InvalidParameterException"},
122        {"shape":"InternalServiceException"},
123        {"shape":"ThrottlingException"},
124        {"shape":"ResourceNotFoundException"}
125      ]
126    },
127    "GetFederationToken":{
128      "name":"GetFederationToken",
129      "http":{
130        "method":"GET",
131        "requestUri":"/user/federate/{InstanceId}"
132      },
133      "input":{"shape":"GetFederationTokenRequest"},
134      "output":{"shape":"GetFederationTokenResponse"},
135      "errors":[
136        {"shape":"InvalidRequestException"},
137        {"shape":"InvalidParameterException"},
138        {"shape":"ResourceNotFoundException"},
139        {"shape":"UserNotFoundException"},
140        {"shape":"InternalServiceException"},
141        {"shape":"DuplicateResourceException"}
142      ]
143    },
144    "GetMetricData":{
145      "name":"GetMetricData",
146      "http":{
147        "method":"POST",
148        "requestUri":"/metrics/historical/{InstanceId}"
149      },
150      "input":{"shape":"GetMetricDataRequest"},
151      "output":{"shape":"GetMetricDataResponse"},
152      "errors":[
153        {"shape":"InvalidRequestException"},
154        {"shape":"InvalidParameterException"},
155        {"shape":"InternalServiceException"},
156        {"shape":"ThrottlingException"},
157        {"shape":"ResourceNotFoundException"}
158      ]
159    },
160    "ListContactFlows":{
161      "name":"ListContactFlows",
162      "http":{
163        "method":"GET",
164        "requestUri":"/contact-flows-summary/{InstanceId}"
165      },
166      "input":{"shape":"ListContactFlowsRequest"},
167      "output":{"shape":"ListContactFlowsResponse"},
168      "errors":[
169        {"shape":"InvalidRequestException"},
170        {"shape":"InvalidParameterException"},
171        {"shape":"ResourceNotFoundException"},
172        {"shape":"ThrottlingException"},
173        {"shape":"InternalServiceException"}
174      ]
175    },
176    "ListHoursOfOperations":{
177      "name":"ListHoursOfOperations",
178      "http":{
179        "method":"GET",
180        "requestUri":"/hours-of-operations-summary/{InstanceId}"
181      },
182      "input":{"shape":"ListHoursOfOperationsRequest"},
183      "output":{"shape":"ListHoursOfOperationsResponse"},
184      "errors":[
185        {"shape":"InvalidRequestException"},
186        {"shape":"InvalidParameterException"},
187        {"shape":"ResourceNotFoundException"},
188        {"shape":"ThrottlingException"},
189        {"shape":"InternalServiceException"}
190      ]
191    },
192    "ListPhoneNumbers":{
193      "name":"ListPhoneNumbers",
194      "http":{
195        "method":"GET",
196        "requestUri":"/phone-numbers-summary/{InstanceId}"
197      },
198      "input":{"shape":"ListPhoneNumbersRequest"},
199      "output":{"shape":"ListPhoneNumbersResponse"},
200      "errors":[
201        {"shape":"InvalidRequestException"},
202        {"shape":"InvalidParameterException"},
203        {"shape":"ResourceNotFoundException"},
204        {"shape":"ThrottlingException"},
205        {"shape":"InternalServiceException"}
206      ]
207    },
208    "ListQueues":{
209      "name":"ListQueues",
210      "http":{
211        "method":"GET",
212        "requestUri":"/queues-summary/{InstanceId}"
213      },
214      "input":{"shape":"ListQueuesRequest"},
215      "output":{"shape":"ListQueuesResponse"},
216      "errors":[
217        {"shape":"InvalidRequestException"},
218        {"shape":"InvalidParameterException"},
219        {"shape":"ResourceNotFoundException"},
220        {"shape":"ThrottlingException"},
221        {"shape":"InternalServiceException"}
222      ]
223    },
224    "ListRoutingProfiles":{
225      "name":"ListRoutingProfiles",
226      "http":{
227        "method":"GET",
228        "requestUri":"/routing-profiles-summary/{InstanceId}"
229      },
230      "input":{"shape":"ListRoutingProfilesRequest"},
231      "output":{"shape":"ListRoutingProfilesResponse"},
232      "errors":[
233        {"shape":"InvalidRequestException"},
234        {"shape":"InvalidParameterException"},
235        {"shape":"ResourceNotFoundException"},
236        {"shape":"ThrottlingException"},
237        {"shape":"InternalServiceException"}
238      ]
239    },
240    "ListSecurityProfiles":{
241      "name":"ListSecurityProfiles",
242      "http":{
243        "method":"GET",
244        "requestUri":"/security-profiles-summary/{InstanceId}"
245      },
246      "input":{"shape":"ListSecurityProfilesRequest"},
247      "output":{"shape":"ListSecurityProfilesResponse"},
248      "errors":[
249        {"shape":"InvalidRequestException"},
250        {"shape":"InvalidParameterException"},
251        {"shape":"ResourceNotFoundException"},
252        {"shape":"ThrottlingException"},
253        {"shape":"InternalServiceException"}
254      ]
255    },
256    "ListTagsForResource":{
257      "name":"ListTagsForResource",
258      "http":{
259        "method":"GET",
260        "requestUri":"/tags/{resourceArn}"
261      },
262      "input":{"shape":"ListTagsForResourceRequest"},
263      "output":{"shape":"ListTagsForResourceResponse"},
264      "errors":[
265        {"shape":"InvalidRequestException"},
266        {"shape":"InvalidParameterException"},
267        {"shape":"InternalServiceException"},
268        {"shape":"ResourceNotFoundException"},
269        {"shape":"ThrottlingException"}
270      ]
271    },
272    "ListUserHierarchyGroups":{
273      "name":"ListUserHierarchyGroups",
274      "http":{
275        "method":"GET",
276        "requestUri":"/user-hierarchy-groups-summary/{InstanceId}"
277      },
278      "input":{"shape":"ListUserHierarchyGroupsRequest"},
279      "output":{"shape":"ListUserHierarchyGroupsResponse"},
280      "errors":[
281        {"shape":"InvalidRequestException"},
282        {"shape":"InvalidParameterException"},
283        {"shape":"ResourceNotFoundException"},
284        {"shape":"ThrottlingException"},
285        {"shape":"InternalServiceException"}
286      ]
287    },
288    "ListUsers":{
289      "name":"ListUsers",
290      "http":{
291        "method":"GET",
292        "requestUri":"/users-summary/{InstanceId}"
293      },
294      "input":{"shape":"ListUsersRequest"},
295      "output":{"shape":"ListUsersResponse"},
296      "errors":[
297        {"shape":"InvalidRequestException"},
298        {"shape":"InvalidParameterException"},
299        {"shape":"ResourceNotFoundException"},
300        {"shape":"ThrottlingException"},
301        {"shape":"InternalServiceException"}
302      ]
303    },
304    "StartChatContact":{
305      "name":"StartChatContact",
306      "http":{
307        "method":"PUT",
308        "requestUri":"/contact/chat"
309      },
310      "input":{"shape":"StartChatContactRequest"},
311      "output":{"shape":"StartChatContactResponse"},
312      "errors":[
313        {"shape":"InvalidRequestException"},
314        {"shape":"InvalidParameterException"},
315        {"shape":"ResourceNotFoundException"},
316        {"shape":"InternalServiceException"},
317        {"shape":"LimitExceededException"}
318      ]
319    },
320    "StartOutboundVoiceContact":{
321      "name":"StartOutboundVoiceContact",
322      "http":{
323        "method":"PUT",
324        "requestUri":"/contact/outbound-voice"
325      },
326      "input":{"shape":"StartOutboundVoiceContactRequest"},
327      "output":{"shape":"StartOutboundVoiceContactResponse"},
328      "errors":[
329        {"shape":"InvalidRequestException"},
330        {"shape":"InvalidParameterException"},
331        {"shape":"ResourceNotFoundException"},
332        {"shape":"InternalServiceException"},
333        {"shape":"LimitExceededException"},
334        {"shape":"DestinationNotAllowedException"},
335        {"shape":"OutboundContactNotPermittedException"}
336      ]
337    },
338    "StopContact":{
339      "name":"StopContact",
340      "http":{
341        "method":"POST",
342        "requestUri":"/contact/stop"
343      },
344      "input":{"shape":"StopContactRequest"},
345      "output":{"shape":"StopContactResponse"},
346      "errors":[
347        {"shape":"InvalidRequestException"},
348        {"shape":"ContactNotFoundException"},
349        {"shape":"InvalidParameterException"},
350        {"shape":"ResourceNotFoundException"},
351        {"shape":"InternalServiceException"}
352      ]
353    },
354    "TagResource":{
355      "name":"TagResource",
356      "http":{
357        "method":"POST",
358        "requestUri":"/tags/{resourceArn}"
359      },
360      "input":{"shape":"TagResourceRequest"},
361      "errors":[
362        {"shape":"InvalidRequestException"},
363        {"shape":"InvalidParameterException"},
364        {"shape":"InternalServiceException"},
365        {"shape":"ResourceNotFoundException"},
366        {"shape":"ThrottlingException"}
367      ]
368    },
369    "UntagResource":{
370      "name":"UntagResource",
371      "http":{
372        "method":"DELETE",
373        "requestUri":"/tags/{resourceArn}"
374      },
375      "input":{"shape":"UntagResourceRequest"},
376      "errors":[
377        {"shape":"InvalidRequestException"},
378        {"shape":"InvalidParameterException"},
379        {"shape":"InternalServiceException"},
380        {"shape":"ResourceNotFoundException"},
381        {"shape":"ThrottlingException"}
382      ]
383    },
384    "UpdateContactAttributes":{
385      "name":"UpdateContactAttributes",
386      "http":{
387        "method":"POST",
388        "requestUri":"/contact/attributes"
389      },
390      "input":{"shape":"UpdateContactAttributesRequest"},
391      "output":{"shape":"UpdateContactAttributesResponse"},
392      "errors":[
393        {"shape":"InvalidRequestException"},
394        {"shape":"InvalidParameterException"},
395        {"shape":"ResourceNotFoundException"},
396        {"shape":"InternalServiceException"}
397      ]
398    },
399    "UpdateUserHierarchy":{
400      "name":"UpdateUserHierarchy",
401      "http":{
402        "method":"POST",
403        "requestUri":"/users/{InstanceId}/{UserId}/hierarchy"
404      },
405      "input":{"shape":"UpdateUserHierarchyRequest"},
406      "errors":[
407        {"shape":"InvalidRequestException"},
408        {"shape":"InvalidParameterException"},
409        {"shape":"ResourceNotFoundException"},
410        {"shape":"ThrottlingException"},
411        {"shape":"InternalServiceException"}
412      ]
413    },
414    "UpdateUserIdentityInfo":{
415      "name":"UpdateUserIdentityInfo",
416      "http":{
417        "method":"POST",
418        "requestUri":"/users/{InstanceId}/{UserId}/identity-info"
419      },
420      "input":{"shape":"UpdateUserIdentityInfoRequest"},
421      "errors":[
422        {"shape":"InvalidRequestException"},
423        {"shape":"InvalidParameterException"},
424        {"shape":"ResourceNotFoundException"},
425        {"shape":"ThrottlingException"},
426        {"shape":"InternalServiceException"}
427      ]
428    },
429    "UpdateUserPhoneConfig":{
430      "name":"UpdateUserPhoneConfig",
431      "http":{
432        "method":"POST",
433        "requestUri":"/users/{InstanceId}/{UserId}/phone-config"
434      },
435      "input":{"shape":"UpdateUserPhoneConfigRequest"},
436      "errors":[
437        {"shape":"InvalidRequestException"},
438        {"shape":"InvalidParameterException"},
439        {"shape":"ResourceNotFoundException"},
440        {"shape":"ThrottlingException"},
441        {"shape":"InternalServiceException"}
442      ]
443    },
444    "UpdateUserRoutingProfile":{
445      "name":"UpdateUserRoutingProfile",
446      "http":{
447        "method":"POST",
448        "requestUri":"/users/{InstanceId}/{UserId}/routing-profile"
449      },
450      "input":{"shape":"UpdateUserRoutingProfileRequest"},
451      "errors":[
452        {"shape":"InvalidRequestException"},
453        {"shape":"InvalidParameterException"},
454        {"shape":"ResourceNotFoundException"},
455        {"shape":"ThrottlingException"},
456        {"shape":"InternalServiceException"}
457      ]
458    },
459    "UpdateUserSecurityProfiles":{
460      "name":"UpdateUserSecurityProfiles",
461      "http":{
462        "method":"POST",
463        "requestUri":"/users/{InstanceId}/{UserId}/security-profiles"
464      },
465      "input":{"shape":"UpdateUserSecurityProfilesRequest"},
466      "errors":[
467        {"shape":"InvalidRequestException"},
468        {"shape":"InvalidParameterException"},
469        {"shape":"ResourceNotFoundException"},
470        {"shape":"ThrottlingException"},
471        {"shape":"InternalServiceException"}
472      ]
473    }
474  },
475  "shapes":{
476    "ARN":{"type":"string"},
477    "AfterContactWorkTimeLimit":{
478      "type":"integer",
479      "min":0
480    },
481    "AgentFirstName":{
482      "type":"string",
483      "max":100,
484      "min":1
485    },
486    "AgentLastName":{
487      "type":"string",
488      "max":100,
489      "min":1
490    },
491    "AgentUsername":{
492      "type":"string",
493      "max":100,
494      "min":1
495    },
496    "AttributeName":{
497      "type":"string",
498      "max":32767,
499      "min":1
500    },
501    "AttributeValue":{
502      "type":"string",
503      "max":32767,
504      "min":0
505    },
506    "Attributes":{
507      "type":"map",
508      "key":{"shape":"AttributeName"},
509      "value":{"shape":"AttributeValue"}
510    },
511    "AutoAccept":{"type":"boolean"},
512    "Channel":{
513      "type":"string",
514      "enum":[
515        "VOICE",
516        "CHAT"
517      ]
518    },
519    "Channels":{
520      "type":"list",
521      "member":{"shape":"Channel"},
522      "max":1
523    },
524    "ChatContent":{
525      "type":"string",
526      "max":1024,
527      "min":1
528    },
529    "ChatContentType":{
530      "type":"string",
531      "max":100,
532      "min":1
533    },
534    "ChatMessage":{
535      "type":"structure",
536      "required":[
537        "ContentType",
538        "Content"
539      ],
540      "members":{
541        "ContentType":{"shape":"ChatContentType"},
542        "Content":{"shape":"ChatContent"}
543      }
544    },
545    "ClientToken":{
546      "type":"string",
547      "max":500
548    },
549    "Comparison":{
550      "type":"string",
551      "enum":["LT"]
552    },
553    "ContactFlowId":{
554      "type":"string",
555      "max":500
556    },
557    "ContactFlowName":{"type":"string"},
558    "ContactFlowSummary":{
559      "type":"structure",
560      "members":{
561        "Id":{"shape":"ContactFlowId"},
562        "Arn":{"shape":"ARN"},
563        "Name":{"shape":"ContactFlowName"},
564        "ContactFlowType":{"shape":"ContactFlowType"}
565      }
566    },
567    "ContactFlowSummaryList":{
568      "type":"list",
569      "member":{"shape":"ContactFlowSummary"}
570    },
571    "ContactFlowType":{
572      "type":"string",
573      "enum":[
574        "CONTACT_FLOW",
575        "CUSTOMER_QUEUE",
576        "CUSTOMER_HOLD",
577        "CUSTOMER_WHISPER",
578        "AGENT_HOLD",
579        "AGENT_WHISPER",
580        "OUTBOUND_WHISPER",
581        "AGENT_TRANSFER",
582        "QUEUE_TRANSFER"
583      ]
584    },
585    "ContactFlowTypes":{
586      "type":"list",
587      "member":{"shape":"ContactFlowType"},
588      "max":10
589    },
590    "ContactId":{
591      "type":"string",
592      "max":256,
593      "min":1
594    },
595    "ContactNotFoundException":{
596      "type":"structure",
597      "members":{
598        "Message":{"shape":"Message"}
599      },
600      "error":{"httpStatusCode":410},
601      "exception":true
602    },
603    "CreateUserRequest":{
604      "type":"structure",
605      "required":[
606        "Username",
607        "PhoneConfig",
608        "SecurityProfileIds",
609        "RoutingProfileId",
610        "InstanceId"
611      ],
612      "members":{
613        "Username":{"shape":"AgentUsername"},
614        "Password":{"shape":"Password"},
615        "IdentityInfo":{"shape":"UserIdentityInfo"},
616        "PhoneConfig":{"shape":"UserPhoneConfig"},
617        "DirectoryUserId":{"shape":"DirectoryUserId"},
618        "SecurityProfileIds":{"shape":"SecurityProfileIds"},
619        "RoutingProfileId":{"shape":"RoutingProfileId"},
620        "HierarchyGroupId":{"shape":"HierarchyGroupId"},
621        "InstanceId":{
622          "shape":"InstanceId",
623          "location":"uri",
624          "locationName":"InstanceId"
625        },
626        "Tags":{"shape":"TagMap"}
627      }
628    },
629    "CreateUserResponse":{
630      "type":"structure",
631      "members":{
632        "UserId":{"shape":"UserId"},
633        "UserArn":{"shape":"ARN"}
634      }
635    },
636    "Credentials":{
637      "type":"structure",
638      "members":{
639        "AccessToken":{"shape":"SecurityToken"},
640        "AccessTokenExpiration":{"shape":"timestamp"},
641        "RefreshToken":{"shape":"SecurityToken"},
642        "RefreshTokenExpiration":{"shape":"timestamp"}
643      }
644    },
645    "CurrentMetric":{
646      "type":"structure",
647      "members":{
648        "Name":{"shape":"CurrentMetricName"},
649        "Unit":{"shape":"Unit"}
650      }
651    },
652    "CurrentMetricData":{
653      "type":"structure",
654      "members":{
655        "Metric":{"shape":"CurrentMetric"},
656        "Value":{
657          "shape":"Value",
658          "box":true
659        }
660      }
661    },
662    "CurrentMetricDataCollections":{
663      "type":"list",
664      "member":{"shape":"CurrentMetricData"}
665    },
666    "CurrentMetricName":{
667      "type":"string",
668      "enum":[
669        "AGENTS_ONLINE",
670        "AGENTS_AVAILABLE",
671        "AGENTS_ON_CALL",
672        "AGENTS_NON_PRODUCTIVE",
673        "AGENTS_AFTER_CONTACT_WORK",
674        "AGENTS_ERROR",
675        "AGENTS_STAFFED",
676        "CONTACTS_IN_QUEUE",
677        "OLDEST_CONTACT_AGE",
678        "CONTACTS_SCHEDULED",
679        "AGENTS_ON_CONTACT",
680        "SLOTS_ACTIVE",
681        "SLOTS_AVAILABLE"
682      ]
683    },
684    "CurrentMetricResult":{
685      "type":"structure",
686      "members":{
687        "Dimensions":{"shape":"Dimensions"},
688        "Collections":{"shape":"CurrentMetricDataCollections"}
689      }
690    },
691    "CurrentMetricResults":{
692      "type":"list",
693      "member":{"shape":"CurrentMetricResult"}
694    },
695    "CurrentMetrics":{
696      "type":"list",
697      "member":{"shape":"CurrentMetric"}
698    },
699    "DeleteUserRequest":{
700      "type":"structure",
701      "required":[
702        "InstanceId",
703        "UserId"
704      ],
705      "members":{
706        "InstanceId":{
707          "shape":"InstanceId",
708          "location":"uri",
709          "locationName":"InstanceId"
710        },
711        "UserId":{
712          "shape":"UserId",
713          "location":"uri",
714          "locationName":"UserId"
715        }
716      }
717    },
718    "DescribeUserHierarchyGroupRequest":{
719      "type":"structure",
720      "required":[
721        "HierarchyGroupId",
722        "InstanceId"
723      ],
724      "members":{
725        "HierarchyGroupId":{
726          "shape":"HierarchyGroupId",
727          "location":"uri",
728          "locationName":"HierarchyGroupId"
729        },
730        "InstanceId":{
731          "shape":"InstanceId",
732          "location":"uri",
733          "locationName":"InstanceId"
734        }
735      }
736    },
737    "DescribeUserHierarchyGroupResponse":{
738      "type":"structure",
739      "members":{
740        "HierarchyGroup":{"shape":"HierarchyGroup"}
741      }
742    },
743    "DescribeUserHierarchyStructureRequest":{
744      "type":"structure",
745      "required":["InstanceId"],
746      "members":{
747        "InstanceId":{
748          "shape":"InstanceId",
749          "location":"uri",
750          "locationName":"InstanceId"
751        }
752      }
753    },
754    "DescribeUserHierarchyStructureResponse":{
755      "type":"structure",
756      "members":{
757        "HierarchyStructure":{"shape":"HierarchyStructure"}
758      }
759    },
760    "DescribeUserRequest":{
761      "type":"structure",
762      "required":[
763        "UserId",
764        "InstanceId"
765      ],
766      "members":{
767        "UserId":{
768          "shape":"UserId",
769          "location":"uri",
770          "locationName":"UserId"
771        },
772        "InstanceId":{
773          "shape":"InstanceId",
774          "location":"uri",
775          "locationName":"InstanceId"
776        }
777      }
778    },
779    "DescribeUserResponse":{
780      "type":"structure",
781      "members":{
782        "User":{"shape":"User"}
783      }
784    },
785    "DestinationNotAllowedException":{
786      "type":"structure",
787      "members":{
788        "Message":{"shape":"Message"}
789      },
790      "error":{"httpStatusCode":403},
791      "exception":true
792    },
793    "Dimensions":{
794      "type":"structure",
795      "members":{
796        "Queue":{"shape":"QueueReference"},
797        "Channel":{"shape":"Channel"}
798      }
799    },
800    "DirectoryUserId":{"type":"string"},
801    "DisplayName":{
802      "type":"string",
803      "max":256,
804      "min":1
805    },
806    "DuplicateResourceException":{
807      "type":"structure",
808      "members":{
809        "Message":{"shape":"Message"}
810      },
811      "error":{"httpStatusCode":409},
812      "exception":true
813    },
814    "Email":{"type":"string"},
815    "Filters":{
816      "type":"structure",
817      "members":{
818        "Queues":{"shape":"Queues"},
819        "Channels":{"shape":"Channels"}
820      }
821    },
822    "GetContactAttributesRequest":{
823      "type":"structure",
824      "required":[
825        "InstanceId",
826        "InitialContactId"
827      ],
828      "members":{
829        "InstanceId":{
830          "shape":"InstanceId",
831          "location":"uri",
832          "locationName":"InstanceId"
833        },
834        "InitialContactId":{
835          "shape":"ContactId",
836          "location":"uri",
837          "locationName":"InitialContactId"
838        }
839      }
840    },
841    "GetContactAttributesResponse":{
842      "type":"structure",
843      "members":{
844        "Attributes":{"shape":"Attributes"}
845      }
846    },
847    "GetCurrentMetricDataRequest":{
848      "type":"structure",
849      "required":[
850        "InstanceId",
851        "Filters",
852        "CurrentMetrics"
853      ],
854      "members":{
855        "InstanceId":{
856          "shape":"InstanceId",
857          "location":"uri",
858          "locationName":"InstanceId"
859        },
860        "Filters":{"shape":"Filters"},
861        "Groupings":{"shape":"Groupings"},
862        "CurrentMetrics":{"shape":"CurrentMetrics"},
863        "NextToken":{"shape":"NextToken"},
864        "MaxResults":{
865          "shape":"MaxResult100",
866          "box":true
867        }
868      }
869    },
870    "GetCurrentMetricDataResponse":{
871      "type":"structure",
872      "members":{
873        "NextToken":{"shape":"NextToken"},
874        "MetricResults":{"shape":"CurrentMetricResults"},
875        "DataSnapshotTime":{"shape":"timestamp"}
876      }
877    },
878    "GetFederationTokenRequest":{
879      "type":"structure",
880      "required":["InstanceId"],
881      "members":{
882        "InstanceId":{
883          "shape":"InstanceId",
884          "location":"uri",
885          "locationName":"InstanceId"
886        }
887      }
888    },
889    "GetFederationTokenResponse":{
890      "type":"structure",
891      "members":{
892        "Credentials":{"shape":"Credentials"}
893      }
894    },
895    "GetMetricDataRequest":{
896      "type":"structure",
897      "required":[
898        "InstanceId",
899        "StartTime",
900        "EndTime",
901        "Filters",
902        "HistoricalMetrics"
903      ],
904      "members":{
905        "InstanceId":{
906          "shape":"InstanceId",
907          "location":"uri",
908          "locationName":"InstanceId"
909        },
910        "StartTime":{"shape":"timestamp"},
911        "EndTime":{"shape":"timestamp"},
912        "Filters":{"shape":"Filters"},
913        "Groupings":{"shape":"Groupings"},
914        "HistoricalMetrics":{"shape":"HistoricalMetrics"},
915        "NextToken":{"shape":"NextToken"},
916        "MaxResults":{
917          "shape":"MaxResult100",
918          "box":true
919        }
920      }
921    },
922    "GetMetricDataResponse":{
923      "type":"structure",
924      "members":{
925        "NextToken":{"shape":"NextToken"},
926        "MetricResults":{"shape":"HistoricalMetricResults"}
927      }
928    },
929    "Grouping":{
930      "type":"string",
931      "enum":[
932        "QUEUE",
933        "CHANNEL"
934      ]
935    },
936    "Groupings":{
937      "type":"list",
938      "member":{"shape":"Grouping"},
939      "max":2
940    },
941    "HierarchyGroup":{
942      "type":"structure",
943      "members":{
944        "Id":{"shape":"HierarchyGroupId"},
945        "Arn":{"shape":"ARN"},
946        "Name":{"shape":"HierarchyGroupName"},
947        "LevelId":{"shape":"HierarchyLevelId"},
948        "HierarchyPath":{"shape":"HierarchyPath"}
949      }
950    },
951    "HierarchyGroupId":{"type":"string"},
952    "HierarchyGroupName":{"type":"string"},
953    "HierarchyGroupSummary":{
954      "type":"structure",
955      "members":{
956        "Id":{"shape":"HierarchyGroupId"},
957        "Arn":{"shape":"ARN"},
958        "Name":{"shape":"HierarchyGroupName"}
959      }
960    },
961    "HierarchyGroupSummaryList":{
962      "type":"list",
963      "member":{"shape":"HierarchyGroupSummary"}
964    },
965    "HierarchyLevel":{
966      "type":"structure",
967      "members":{
968        "Id":{"shape":"HierarchyLevelId"},
969        "Arn":{"shape":"ARN"},
970        "Name":{"shape":"HierarchyLevelName"}
971      }
972    },
973    "HierarchyLevelId":{"type":"string"},
974    "HierarchyLevelName":{"type":"string"},
975    "HierarchyPath":{
976      "type":"structure",
977      "members":{
978        "LevelOne":{"shape":"HierarchyGroupSummary"},
979        "LevelTwo":{"shape":"HierarchyGroupSummary"},
980        "LevelThree":{"shape":"HierarchyGroupSummary"},
981        "LevelFour":{"shape":"HierarchyGroupSummary"},
982        "LevelFive":{"shape":"HierarchyGroupSummary"}
983      }
984    },
985    "HierarchyStructure":{
986      "type":"structure",
987      "members":{
988        "LevelOne":{"shape":"HierarchyLevel"},
989        "LevelTwo":{"shape":"HierarchyLevel"},
990        "LevelThree":{"shape":"HierarchyLevel"},
991        "LevelFour":{"shape":"HierarchyLevel"},
992        "LevelFive":{"shape":"HierarchyLevel"}
993      }
994    },
995    "HistoricalMetric":{
996      "type":"structure",
997      "members":{
998        "Name":{"shape":"HistoricalMetricName"},
999        "Threshold":{
1000          "shape":"Threshold",
1001          "box":true
1002        },
1003        "Statistic":{"shape":"Statistic"},
1004        "Unit":{"shape":"Unit"}
1005      }
1006    },
1007    "HistoricalMetricData":{
1008      "type":"structure",
1009      "members":{
1010        "Metric":{"shape":"HistoricalMetric"},
1011        "Value":{
1012          "shape":"Value",
1013          "box":true
1014        }
1015      }
1016    },
1017    "HistoricalMetricDataCollections":{
1018      "type":"list",
1019      "member":{"shape":"HistoricalMetricData"}
1020    },
1021    "HistoricalMetricName":{
1022      "type":"string",
1023      "enum":[
1024        "CONTACTS_QUEUED",
1025        "CONTACTS_HANDLED",
1026        "CONTACTS_ABANDONED",
1027        "CONTACTS_CONSULTED",
1028        "CONTACTS_AGENT_HUNG_UP_FIRST",
1029        "CONTACTS_HANDLED_INCOMING",
1030        "CONTACTS_HANDLED_OUTBOUND",
1031        "CONTACTS_HOLD_ABANDONS",
1032        "CONTACTS_TRANSFERRED_IN",
1033        "CONTACTS_TRANSFERRED_OUT",
1034        "CONTACTS_TRANSFERRED_IN_FROM_QUEUE",
1035        "CONTACTS_TRANSFERRED_OUT_FROM_QUEUE",
1036        "CONTACTS_MISSED",
1037        "CALLBACK_CONTACTS_HANDLED",
1038        "API_CONTACTS_HANDLED",
1039        "OCCUPANCY",
1040        "HANDLE_TIME",
1041        "AFTER_CONTACT_WORK_TIME",
1042        "QUEUED_TIME",
1043        "ABANDON_TIME",
1044        "QUEUE_ANSWER_TIME",
1045        "HOLD_TIME",
1046        "INTERACTION_TIME",
1047        "INTERACTION_AND_HOLD_TIME",
1048        "SERVICE_LEVEL"
1049      ]
1050    },
1051    "HistoricalMetricResult":{
1052      "type":"structure",
1053      "members":{
1054        "Dimensions":{"shape":"Dimensions"},
1055        "Collections":{"shape":"HistoricalMetricDataCollections"}
1056      }
1057    },
1058    "HistoricalMetricResults":{
1059      "type":"list",
1060      "member":{"shape":"HistoricalMetricResult"}
1061    },
1062    "HistoricalMetrics":{
1063      "type":"list",
1064      "member":{"shape":"HistoricalMetric"}
1065    },
1066    "HoursOfOperationId":{"type":"string"},
1067    "HoursOfOperationName":{"type":"string"},
1068    "HoursOfOperationSummary":{
1069      "type":"structure",
1070      "members":{
1071        "Id":{"shape":"HoursOfOperationId"},
1072        "Arn":{"shape":"ARN"},
1073        "Name":{"shape":"HoursOfOperationName"}
1074      }
1075    },
1076    "HoursOfOperationSummaryList":{
1077      "type":"list",
1078      "member":{"shape":"HoursOfOperationSummary"}
1079    },
1080    "InstanceId":{
1081      "type":"string",
1082      "max":100,
1083      "min":1
1084    },
1085    "InternalServiceException":{
1086      "type":"structure",
1087      "members":{
1088        "Message":{"shape":"Message"}
1089      },
1090      "error":{"httpStatusCode":500},
1091      "exception":true
1092    },
1093    "InvalidParameterException":{
1094      "type":"structure",
1095      "members":{
1096        "Message":{"shape":"Message"}
1097      },
1098      "error":{"httpStatusCode":400},
1099      "exception":true
1100    },
1101    "InvalidRequestException":{
1102      "type":"structure",
1103      "members":{
1104        "Message":{"shape":"Message"}
1105      },
1106      "error":{"httpStatusCode":400},
1107      "exception":true
1108    },
1109    "LimitExceededException":{
1110      "type":"structure",
1111      "members":{
1112        "Message":{"shape":"Message"}
1113      },
1114      "error":{"httpStatusCode":429},
1115      "exception":true
1116    },
1117    "ListContactFlowsRequest":{
1118      "type":"structure",
1119      "required":["InstanceId"],
1120      "members":{
1121        "InstanceId":{
1122          "shape":"InstanceId",
1123          "location":"uri",
1124          "locationName":"InstanceId"
1125        },
1126        "ContactFlowTypes":{
1127          "shape":"ContactFlowTypes",
1128          "location":"querystring",
1129          "locationName":"contactFlowTypes"
1130        },
1131        "NextToken":{
1132          "shape":"NextToken",
1133          "location":"querystring",
1134          "locationName":"nextToken"
1135        },
1136        "MaxResults":{
1137          "shape":"MaxResult1000",
1138          "location":"querystring",
1139          "locationName":"maxResults"
1140        }
1141      }
1142    },
1143    "ListContactFlowsResponse":{
1144      "type":"structure",
1145      "members":{
1146        "ContactFlowSummaryList":{"shape":"ContactFlowSummaryList"},
1147        "NextToken":{"shape":"NextToken"}
1148      }
1149    },
1150    "ListHoursOfOperationsRequest":{
1151      "type":"structure",
1152      "required":["InstanceId"],
1153      "members":{
1154        "InstanceId":{
1155          "shape":"InstanceId",
1156          "location":"uri",
1157          "locationName":"InstanceId"
1158        },
1159        "NextToken":{
1160          "shape":"NextToken",
1161          "location":"querystring",
1162          "locationName":"nextToken"
1163        },
1164        "MaxResults":{
1165          "shape":"MaxResult1000",
1166          "location":"querystring",
1167          "locationName":"maxResults"
1168        }
1169      }
1170    },
1171    "ListHoursOfOperationsResponse":{
1172      "type":"structure",
1173      "members":{
1174        "HoursOfOperationSummaryList":{"shape":"HoursOfOperationSummaryList"},
1175        "NextToken":{"shape":"NextToken"}
1176      }
1177    },
1178    "ListPhoneNumbersRequest":{
1179      "type":"structure",
1180      "required":["InstanceId"],
1181      "members":{
1182        "InstanceId":{
1183          "shape":"InstanceId",
1184          "location":"uri",
1185          "locationName":"InstanceId"
1186        },
1187        "PhoneNumberTypes":{
1188          "shape":"PhoneNumberTypes",
1189          "location":"querystring",
1190          "locationName":"phoneNumberTypes"
1191        },
1192        "PhoneNumberCountryCodes":{
1193          "shape":"PhoneNumberCountryCodes",
1194          "location":"querystring",
1195          "locationName":"phoneNumberCountryCodes"
1196        },
1197        "NextToken":{
1198          "shape":"NextToken",
1199          "location":"querystring",
1200          "locationName":"nextToken"
1201        },
1202        "MaxResults":{
1203          "shape":"MaxResult1000",
1204          "location":"querystring",
1205          "locationName":"maxResults"
1206        }
1207      }
1208    },
1209    "ListPhoneNumbersResponse":{
1210      "type":"structure",
1211      "members":{
1212        "PhoneNumberSummaryList":{"shape":"PhoneNumberSummaryList"},
1213        "NextToken":{"shape":"NextToken"}
1214      }
1215    },
1216    "ListQueuesRequest":{
1217      "type":"structure",
1218      "required":["InstanceId"],
1219      "members":{
1220        "InstanceId":{
1221          "shape":"InstanceId",
1222          "location":"uri",
1223          "locationName":"InstanceId"
1224        },
1225        "QueueTypes":{
1226          "shape":"QueueTypes",
1227          "location":"querystring",
1228          "locationName":"queueTypes"
1229        },
1230        "NextToken":{
1231          "shape":"NextToken",
1232          "location":"querystring",
1233          "locationName":"nextToken"
1234        },
1235        "MaxResults":{
1236          "shape":"MaxResult1000",
1237          "location":"querystring",
1238          "locationName":"maxResults"
1239        }
1240      }
1241    },
1242    "ListQueuesResponse":{
1243      "type":"structure",
1244      "members":{
1245        "QueueSummaryList":{"shape":"QueueSummaryList"},
1246        "NextToken":{"shape":"NextToken"}
1247      }
1248    },
1249    "ListRoutingProfilesRequest":{
1250      "type":"structure",
1251      "required":["InstanceId"],
1252      "members":{
1253        "InstanceId":{
1254          "shape":"InstanceId",
1255          "location":"uri",
1256          "locationName":"InstanceId"
1257        },
1258        "NextToken":{
1259          "shape":"NextToken",
1260          "location":"querystring",
1261          "locationName":"nextToken"
1262        },
1263        "MaxResults":{
1264          "shape":"MaxResult1000",
1265          "box":true,
1266          "location":"querystring",
1267          "locationName":"maxResults"
1268        }
1269      }
1270    },
1271    "ListRoutingProfilesResponse":{
1272      "type":"structure",
1273      "members":{
1274        "RoutingProfileSummaryList":{"shape":"RoutingProfileSummaryList"},
1275        "NextToken":{"shape":"NextToken"}
1276      }
1277    },
1278    "ListSecurityProfilesRequest":{
1279      "type":"structure",
1280      "required":["InstanceId"],
1281      "members":{
1282        "InstanceId":{
1283          "shape":"InstanceId",
1284          "location":"uri",
1285          "locationName":"InstanceId"
1286        },
1287        "NextToken":{
1288          "shape":"NextToken",
1289          "location":"querystring",
1290          "locationName":"nextToken"
1291        },
1292        "MaxResults":{
1293          "shape":"MaxResult1000",
1294          "box":true,
1295          "location":"querystring",
1296          "locationName":"maxResults"
1297        }
1298      }
1299    },
1300    "ListSecurityProfilesResponse":{
1301      "type":"structure",
1302      "members":{
1303        "SecurityProfileSummaryList":{"shape":"SecurityProfileSummaryList"},
1304        "NextToken":{"shape":"NextToken"}
1305      }
1306    },
1307    "ListTagsForResourceRequest":{
1308      "type":"structure",
1309      "required":["resourceArn"],
1310      "members":{
1311        "resourceArn":{
1312          "shape":"ARN",
1313          "location":"uri",
1314          "locationName":"resourceArn"
1315        }
1316      }
1317    },
1318    "ListTagsForResourceResponse":{
1319      "type":"structure",
1320      "members":{
1321        "tags":{"shape":"TagMap"}
1322      }
1323    },
1324    "ListUserHierarchyGroupsRequest":{
1325      "type":"structure",
1326      "required":["InstanceId"],
1327      "members":{
1328        "InstanceId":{
1329          "shape":"InstanceId",
1330          "location":"uri",
1331          "locationName":"InstanceId"
1332        },
1333        "NextToken":{
1334          "shape":"NextToken",
1335          "location":"querystring",
1336          "locationName":"nextToken"
1337        },
1338        "MaxResults":{
1339          "shape":"MaxResult1000",
1340          "box":true,
1341          "location":"querystring",
1342          "locationName":"maxResults"
1343        }
1344      }
1345    },
1346    "ListUserHierarchyGroupsResponse":{
1347      "type":"structure",
1348      "members":{
1349        "UserHierarchyGroupSummaryList":{"shape":"HierarchyGroupSummaryList"},
1350        "NextToken":{"shape":"NextToken"}
1351      }
1352    },
1353    "ListUsersRequest":{
1354      "type":"structure",
1355      "required":["InstanceId"],
1356      "members":{
1357        "InstanceId":{
1358          "shape":"InstanceId",
1359          "location":"uri",
1360          "locationName":"InstanceId"
1361        },
1362        "NextToken":{
1363          "shape":"NextToken",
1364          "location":"querystring",
1365          "locationName":"nextToken"
1366        },
1367        "MaxResults":{
1368          "shape":"MaxResult1000",
1369          "box":true,
1370          "location":"querystring",
1371          "locationName":"maxResults"
1372        }
1373      }
1374    },
1375    "ListUsersResponse":{
1376      "type":"structure",
1377      "members":{
1378        "UserSummaryList":{"shape":"UserSummaryList"},
1379        "NextToken":{"shape":"NextToken"}
1380      }
1381    },
1382    "MaxResult100":{
1383      "type":"integer",
1384      "max":100,
1385      "min":1
1386    },
1387    "MaxResult1000":{
1388      "type":"integer",
1389      "max":1000,
1390      "min":1
1391    },
1392    "Message":{"type":"string"},
1393    "NextToken":{"type":"string"},
1394    "OutboundContactNotPermittedException":{
1395      "type":"structure",
1396      "members":{
1397        "Message":{"shape":"Message"}
1398      },
1399      "error":{"httpStatusCode":403},
1400      "exception":true
1401    },
1402    "ParticipantDetails":{
1403      "type":"structure",
1404      "required":["DisplayName"],
1405      "members":{
1406        "DisplayName":{"shape":"DisplayName"}
1407      }
1408    },
1409    "ParticipantId":{
1410      "type":"string",
1411      "max":256,
1412      "min":1
1413    },
1414    "ParticipantToken":{
1415      "type":"string",
1416      "max":1000,
1417      "min":1
1418    },
1419    "Password":{
1420      "type":"string",
1421      "pattern":"/^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)[a-zA-Z\\d\\S]{8,64}$/"
1422    },
1423    "PhoneNumber":{"type":"string"},
1424    "PhoneNumberCountryCode":{
1425      "type":"string",
1426      "enum":[
1427        "AF",
1428        "AL",
1429        "DZ",
1430        "AS",
1431        "AD",
1432        "AO",
1433        "AI",
1434        "AQ",
1435        "AG",
1436        "AR",
1437        "AM",
1438        "AW",
1439        "AU",
1440        "AT",
1441        "AZ",
1442        "BS",
1443        "BH",
1444        "BD",
1445        "BB",
1446        "BY",
1447        "BE",
1448        "BZ",
1449        "BJ",
1450        "BM",
1451        "BT",
1452        "BO",
1453        "BA",
1454        "BW",
1455        "BR",
1456        "IO",
1457        "VG",
1458        "BN",
1459        "BG",
1460        "BF",
1461        "BI",
1462        "KH",
1463        "CM",
1464        "CA",
1465        "CV",
1466        "KY",
1467        "CF",
1468        "TD",
1469        "CL",
1470        "CN",
1471        "CX",
1472        "CC",
1473        "CO",
1474        "KM",
1475        "CK",
1476        "CR",
1477        "HR",
1478        "CU",
1479        "CW",
1480        "CY",
1481        "CZ",
1482        "CD",
1483        "DK",
1484        "DJ",
1485        "DM",
1486        "DO",
1487        "TL",
1488        "EC",
1489        "EG",
1490        "SV",
1491        "GQ",
1492        "ER",
1493        "EE",
1494        "ET",
1495        "FK",
1496        "FO",
1497        "FJ",
1498        "FI",
1499        "FR",
1500        "PF",
1501        "GA",
1502        "GM",
1503        "GE",
1504        "DE",
1505        "GH",
1506        "GI",
1507        "GR",
1508        "GL",
1509        "GD",
1510        "GU",
1511        "GT",
1512        "GG",
1513        "GN",
1514        "GW",
1515        "GY",
1516        "HT",
1517        "HN",
1518        "HK",
1519        "HU",
1520        "IS",
1521        "IN",
1522        "ID",
1523        "IR",
1524        "IQ",
1525        "IE",
1526        "IM",
1527        "IL",
1528        "IT",
1529        "CI",
1530        "JM",
1531        "JP",
1532        "JE",
1533        "JO",
1534        "KZ",
1535        "KE",
1536        "KI",
1537        "KW",
1538        "KG",
1539        "LA",
1540        "LV",
1541        "LB",
1542        "LS",
1543        "LR",
1544        "LY",
1545        "LI",
1546        "LT",
1547        "LU",
1548        "MO",
1549        "MK",
1550        "MG",
1551        "MW",
1552        "MY",
1553        "MV",
1554        "ML",
1555        "MT",
1556        "MH",
1557        "MR",
1558        "MU",
1559        "YT",
1560        "MX",
1561        "FM",
1562        "MD",
1563        "MC",
1564        "MN",
1565        "ME",
1566        "MS",
1567        "MA",
1568        "MZ",
1569        "MM",
1570        "NA",
1571        "NR",
1572        "NP",
1573        "NL",
1574        "AN",
1575        "NC",
1576        "NZ",
1577        "NI",
1578        "NE",
1579        "NG",
1580        "NU",
1581        "KP",
1582        "MP",
1583        "NO",
1584        "OM",
1585        "PK",
1586        "PW",
1587        "PA",
1588        "PG",
1589        "PY",
1590        "PE",
1591        "PH",
1592        "PN",
1593        "PL",
1594        "PT",
1595        "PR",
1596        "QA",
1597        "CG",
1598        "RE",
1599        "RO",
1600        "RU",
1601        "RW",
1602        "BL",
1603        "SH",
1604        "KN",
1605        "LC",
1606        "MF",
1607        "PM",
1608        "VC",
1609        "WS",
1610        "SM",
1611        "ST",
1612        "SA",
1613        "SN",
1614        "RS",
1615        "SC",
1616        "SL",
1617        "SG",
1618        "SX",
1619        "SK",
1620        "SI",
1621        "SB",
1622        "SO",
1623        "ZA",
1624        "KR",
1625        "ES",
1626        "LK",
1627        "SD",
1628        "SR",
1629        "SJ",
1630        "SZ",
1631        "SE",
1632        "CH",
1633        "SY",
1634        "TW",
1635        "TJ",
1636        "TZ",
1637        "TH",
1638        "TG",
1639        "TK",
1640        "TO",
1641        "TT",
1642        "TN",
1643        "TR",
1644        "TM",
1645        "TC",
1646        "TV",
1647        "VI",
1648        "UG",
1649        "UA",
1650        "AE",
1651        "GB",
1652        "US",
1653        "UY",
1654        "UZ",
1655        "VU",
1656        "VA",
1657        "VE",
1658        "VN",
1659        "WF",
1660        "EH",
1661        "YE",
1662        "ZM",
1663        "ZW"
1664      ]
1665    },
1666    "PhoneNumberCountryCodes":{
1667      "type":"list",
1668      "member":{"shape":"PhoneNumberCountryCode"},
1669      "max":10
1670    },
1671    "PhoneNumberId":{"type":"string"},
1672    "PhoneNumberSummary":{
1673      "type":"structure",
1674      "members":{
1675        "Id":{"shape":"PhoneNumberId"},
1676        "Arn":{"shape":"ARN"},
1677        "PhoneNumber":{"shape":"PhoneNumber"},
1678        "PhoneNumberType":{"shape":"PhoneNumberType"},
1679        "PhoneNumberCountryCode":{"shape":"PhoneNumberCountryCode"}
1680      }
1681    },
1682    "PhoneNumberSummaryList":{
1683      "type":"list",
1684      "member":{"shape":"PhoneNumberSummary"}
1685    },
1686    "PhoneNumberType":{
1687      "type":"string",
1688      "enum":[
1689        "TOLL_FREE",
1690        "DID"
1691      ]
1692    },
1693    "PhoneNumberTypes":{
1694      "type":"list",
1695      "member":{"shape":"PhoneNumberType"},
1696      "max":2
1697    },
1698    "PhoneType":{
1699      "type":"string",
1700      "enum":[
1701        "SOFT_PHONE",
1702        "DESK_PHONE"
1703      ]
1704    },
1705    "QueueId":{"type":"string"},
1706    "QueueName":{
1707      "type":"string",
1708      "max":256,
1709      "min":1
1710    },
1711    "QueueReference":{
1712      "type":"structure",
1713      "members":{
1714        "Id":{"shape":"QueueId"},
1715        "Arn":{"shape":"ARN"}
1716      }
1717    },
1718    "QueueSummary":{
1719      "type":"structure",
1720      "members":{
1721        "Id":{"shape":"QueueId"},
1722        "Arn":{"shape":"ARN"},
1723        "Name":{"shape":"QueueName"},
1724        "QueueType":{"shape":"QueueType"}
1725      }
1726    },
1727    "QueueSummaryList":{
1728      "type":"list",
1729      "member":{"shape":"QueueSummary"}
1730    },
1731    "QueueType":{
1732      "type":"string",
1733      "enum":[
1734        "STANDARD",
1735        "AGENT"
1736      ]
1737    },
1738    "QueueTypes":{
1739      "type":"list",
1740      "member":{"shape":"QueueType"},
1741      "max":2
1742    },
1743    "Queues":{
1744      "type":"list",
1745      "member":{"shape":"QueueId"},
1746      "max":100,
1747      "min":1
1748    },
1749    "ResourceNotFoundException":{
1750      "type":"structure",
1751      "members":{
1752        "Message":{"shape":"Message"}
1753      },
1754      "error":{"httpStatusCode":404},
1755      "exception":true
1756    },
1757    "RoutingProfileId":{"type":"string"},
1758    "RoutingProfileName":{
1759      "type":"string",
1760      "max":100,
1761      "min":1
1762    },
1763    "RoutingProfileSummary":{
1764      "type":"structure",
1765      "members":{
1766        "Id":{"shape":"RoutingProfileId"},
1767        "Arn":{"shape":"ARN"},
1768        "Name":{"shape":"RoutingProfileName"}
1769      }
1770    },
1771    "RoutingProfileSummaryList":{
1772      "type":"list",
1773      "member":{"shape":"RoutingProfileSummary"}
1774    },
1775    "SecurityProfileId":{"type":"string"},
1776    "SecurityProfileIds":{
1777      "type":"list",
1778      "member":{"shape":"SecurityProfileId"},
1779      "max":10,
1780      "min":1
1781    },
1782    "SecurityProfileName":{"type":"string"},
1783    "SecurityProfileSummary":{
1784      "type":"structure",
1785      "members":{
1786        "Id":{"shape":"SecurityProfileId"},
1787        "Arn":{"shape":"ARN"},
1788        "Name":{"shape":"SecurityProfileName"}
1789      }
1790    },
1791    "SecurityProfileSummaryList":{
1792      "type":"list",
1793      "member":{"shape":"SecurityProfileSummary"}
1794    },
1795    "SecurityToken":{
1796      "type":"string",
1797      "sensitive":true
1798    },
1799    "StartChatContactRequest":{
1800      "type":"structure",
1801      "required":[
1802        "InstanceId",
1803        "ContactFlowId",
1804        "ParticipantDetails"
1805      ],
1806      "members":{
1807        "InstanceId":{"shape":"InstanceId"},
1808        "ContactFlowId":{"shape":"ContactFlowId"},
1809        "Attributes":{"shape":"Attributes"},
1810        "ParticipantDetails":{"shape":"ParticipantDetails"},
1811        "InitialMessage":{"shape":"ChatMessage"},
1812        "ClientToken":{
1813          "shape":"ClientToken",
1814          "idempotencyToken":true
1815        }
1816      }
1817    },
1818    "StartChatContactResponse":{
1819      "type":"structure",
1820      "members":{
1821        "ContactId":{"shape":"ContactId"},
1822        "ParticipantId":{"shape":"ParticipantId"},
1823        "ParticipantToken":{"shape":"ParticipantToken"}
1824      }
1825    },
1826    "StartOutboundVoiceContactRequest":{
1827      "type":"structure",
1828      "required":[
1829        "DestinationPhoneNumber",
1830        "ContactFlowId",
1831        "InstanceId"
1832      ],
1833      "members":{
1834        "DestinationPhoneNumber":{"shape":"PhoneNumber"},
1835        "ContactFlowId":{"shape":"ContactFlowId"},
1836        "InstanceId":{"shape":"InstanceId"},
1837        "ClientToken":{
1838          "shape":"ClientToken",
1839          "idempotencyToken":true
1840        },
1841        "SourcePhoneNumber":{"shape":"PhoneNumber"},
1842        "QueueId":{"shape":"QueueId"},
1843        "Attributes":{"shape":"Attributes"}
1844      }
1845    },
1846    "StartOutboundVoiceContactResponse":{
1847      "type":"structure",
1848      "members":{
1849        "ContactId":{"shape":"ContactId"}
1850      }
1851    },
1852    "Statistic":{
1853      "type":"string",
1854      "enum":[
1855        "SUM",
1856        "MAX",
1857        "AVG"
1858      ]
1859    },
1860    "StopContactRequest":{
1861      "type":"structure",
1862      "required":[
1863        "ContactId",
1864        "InstanceId"
1865      ],
1866      "members":{
1867        "ContactId":{"shape":"ContactId"},
1868        "InstanceId":{"shape":"InstanceId"}
1869      }
1870    },
1871    "StopContactResponse":{
1872      "type":"structure",
1873      "members":{
1874      }
1875    },
1876    "TagKey":{
1877      "type":"string",
1878      "max":128,
1879      "min":1,
1880      "pattern":"^(?!aws:)[a-zA-Z+-=._:/]+$"
1881    },
1882    "TagKeyList":{
1883      "type":"list",
1884      "member":{"shape":"TagKey"},
1885      "max":50,
1886      "min":1
1887    },
1888    "TagMap":{
1889      "type":"map",
1890      "key":{"shape":"TagKey"},
1891      "value":{"shape":"TagValue"},
1892      "max":50,
1893      "min":1
1894    },
1895    "TagResourceRequest":{
1896      "type":"structure",
1897      "required":[
1898        "resourceArn",
1899        "tags"
1900      ],
1901      "members":{
1902        "resourceArn":{
1903          "shape":"ARN",
1904          "location":"uri",
1905          "locationName":"resourceArn"
1906        },
1907        "tags":{"shape":"TagMap"}
1908      }
1909    },
1910    "TagValue":{
1911      "type":"string",
1912      "max":256
1913    },
1914    "Threshold":{
1915      "type":"structure",
1916      "members":{
1917        "Comparison":{"shape":"Comparison"},
1918        "ThresholdValue":{
1919          "shape":"ThresholdValue",
1920          "box":true
1921        }
1922      }
1923    },
1924    "ThresholdValue":{"type":"double"},
1925    "ThrottlingException":{
1926      "type":"structure",
1927      "members":{
1928        "Message":{"shape":"Message"}
1929      },
1930      "error":{"httpStatusCode":429},
1931      "exception":true
1932    },
1933    "Unit":{
1934      "type":"string",
1935      "enum":[
1936        "SECONDS",
1937        "COUNT",
1938        "PERCENT"
1939      ]
1940    },
1941    "UntagResourceRequest":{
1942      "type":"structure",
1943      "required":[
1944        "resourceArn",
1945        "tagKeys"
1946      ],
1947      "members":{
1948        "resourceArn":{
1949          "shape":"ARN",
1950          "location":"uri",
1951          "locationName":"resourceArn"
1952        },
1953        "tagKeys":{
1954          "shape":"TagKeyList",
1955          "location":"querystring",
1956          "locationName":"tagKeys"
1957        }
1958      }
1959    },
1960    "UpdateContactAttributesRequest":{
1961      "type":"structure",
1962      "required":[
1963        "InitialContactId",
1964        "InstanceId",
1965        "Attributes"
1966      ],
1967      "members":{
1968        "InitialContactId":{"shape":"ContactId"},
1969        "InstanceId":{"shape":"InstanceId"},
1970        "Attributes":{"shape":"Attributes"}
1971      }
1972    },
1973    "UpdateContactAttributesResponse":{
1974      "type":"structure",
1975      "members":{
1976      }
1977    },
1978    "UpdateUserHierarchyRequest":{
1979      "type":"structure",
1980      "required":[
1981        "UserId",
1982        "InstanceId"
1983      ],
1984      "members":{
1985        "HierarchyGroupId":{"shape":"HierarchyGroupId"},
1986        "UserId":{
1987          "shape":"UserId",
1988          "location":"uri",
1989          "locationName":"UserId"
1990        },
1991        "InstanceId":{
1992          "shape":"InstanceId",
1993          "location":"uri",
1994          "locationName":"InstanceId"
1995        }
1996      }
1997    },
1998    "UpdateUserIdentityInfoRequest":{
1999      "type":"structure",
2000      "required":[
2001        "IdentityInfo",
2002        "UserId",
2003        "InstanceId"
2004      ],
2005      "members":{
2006        "IdentityInfo":{"shape":"UserIdentityInfo"},
2007        "UserId":{
2008          "shape":"UserId",
2009          "location":"uri",
2010          "locationName":"UserId"
2011        },
2012        "InstanceId":{
2013          "shape":"InstanceId",
2014          "location":"uri",
2015          "locationName":"InstanceId"
2016        }
2017      }
2018    },
2019    "UpdateUserPhoneConfigRequest":{
2020      "type":"structure",
2021      "required":[
2022        "PhoneConfig",
2023        "UserId",
2024        "InstanceId"
2025      ],
2026      "members":{
2027        "PhoneConfig":{"shape":"UserPhoneConfig"},
2028        "UserId":{
2029          "shape":"UserId",
2030          "location":"uri",
2031          "locationName":"UserId"
2032        },
2033        "InstanceId":{
2034          "shape":"InstanceId",
2035          "location":"uri",
2036          "locationName":"InstanceId"
2037        }
2038      }
2039    },
2040    "UpdateUserRoutingProfileRequest":{
2041      "type":"structure",
2042      "required":[
2043        "RoutingProfileId",
2044        "UserId",
2045        "InstanceId"
2046      ],
2047      "members":{
2048        "RoutingProfileId":{"shape":"RoutingProfileId"},
2049        "UserId":{
2050          "shape":"UserId",
2051          "location":"uri",
2052          "locationName":"UserId"
2053        },
2054        "InstanceId":{
2055          "shape":"InstanceId",
2056          "location":"uri",
2057          "locationName":"InstanceId"
2058        }
2059      }
2060    },
2061    "UpdateUserSecurityProfilesRequest":{
2062      "type":"structure",
2063      "required":[
2064        "SecurityProfileIds",
2065        "UserId",
2066        "InstanceId"
2067      ],
2068      "members":{
2069        "SecurityProfileIds":{"shape":"SecurityProfileIds"},
2070        "UserId":{
2071          "shape":"UserId",
2072          "location":"uri",
2073          "locationName":"UserId"
2074        },
2075        "InstanceId":{
2076          "shape":"InstanceId",
2077          "location":"uri",
2078          "locationName":"InstanceId"
2079        }
2080      }
2081    },
2082    "User":{
2083      "type":"structure",
2084      "members":{
2085        "Id":{"shape":"UserId"},
2086        "Arn":{"shape":"ARN"},
2087        "Username":{"shape":"AgentUsername"},
2088        "IdentityInfo":{"shape":"UserIdentityInfo"},
2089        "PhoneConfig":{"shape":"UserPhoneConfig"},
2090        "DirectoryUserId":{"shape":"DirectoryUserId"},
2091        "SecurityProfileIds":{"shape":"SecurityProfileIds"},
2092        "RoutingProfileId":{"shape":"RoutingProfileId"},
2093        "HierarchyGroupId":{"shape":"HierarchyGroupId"},
2094        "Tags":{"shape":"TagMap"}
2095      }
2096    },
2097    "UserId":{"type":"string"},
2098    "UserIdentityInfo":{
2099      "type":"structure",
2100      "members":{
2101        "FirstName":{"shape":"AgentFirstName"},
2102        "LastName":{"shape":"AgentLastName"},
2103        "Email":{"shape":"Email"}
2104      }
2105    },
2106    "UserNotFoundException":{
2107      "type":"structure",
2108      "members":{
2109        "Message":{"shape":"Message"}
2110      },
2111      "error":{"httpStatusCode":404},
2112      "exception":true
2113    },
2114    "UserPhoneConfig":{
2115      "type":"structure",
2116      "required":["PhoneType"],
2117      "members":{
2118        "PhoneType":{"shape":"PhoneType"},
2119        "AutoAccept":{"shape":"AutoAccept"},
2120        "AfterContactWorkTimeLimit":{"shape":"AfterContactWorkTimeLimit"},
2121        "DeskPhoneNumber":{"shape":"PhoneNumber"}
2122      }
2123    },
2124    "UserSummary":{
2125      "type":"structure",
2126      "members":{
2127        "Id":{"shape":"UserId"},
2128        "Arn":{"shape":"ARN"},
2129        "Username":{"shape":"AgentUsername"}
2130      }
2131    },
2132    "UserSummaryList":{
2133      "type":"list",
2134      "member":{"shape":"UserSummary"}
2135    },
2136    "Value":{"type":"double"},
2137    "timestamp":{"type":"timestamp"}
2138  }
2139}
2140