@aws-sdk/client-connect 3.190.0 → 3.192.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (705) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +11 -9
  3. package/dist-cjs/Connect.js +105 -0
  4. package/dist-cjs/ConnectClient.js +11 -8
  5. package/dist-cjs/commands/AssociateApprovedOriginCommand.js +10 -0
  6. package/dist-cjs/commands/AssociateBotCommand.js +10 -0
  7. package/dist-cjs/commands/AssociateDefaultVocabularyCommand.js +10 -0
  8. package/dist-cjs/commands/AssociateInstanceStorageConfigCommand.js +10 -0
  9. package/dist-cjs/commands/AssociateLambdaFunctionCommand.js +10 -0
  10. package/dist-cjs/commands/AssociateLexBotCommand.js +10 -0
  11. package/dist-cjs/commands/AssociatePhoneNumberContactFlowCommand.js +10 -0
  12. package/dist-cjs/commands/AssociateQueueQuickConnectsCommand.js +10 -0
  13. package/dist-cjs/commands/AssociateRoutingProfileQueuesCommand.js +10 -0
  14. package/dist-cjs/commands/AssociateSecurityKeyCommand.js +10 -0
  15. package/dist-cjs/commands/ClaimPhoneNumberCommand.js +10 -0
  16. package/dist-cjs/commands/CreateAgentStatusCommand.js +10 -0
  17. package/dist-cjs/commands/CreateContactFlowCommand.js +10 -0
  18. package/dist-cjs/commands/CreateContactFlowModuleCommand.js +10 -0
  19. package/dist-cjs/commands/CreateHoursOfOperationCommand.js +10 -0
  20. package/dist-cjs/commands/CreateInstanceCommand.js +10 -0
  21. package/dist-cjs/commands/CreateIntegrationAssociationCommand.js +10 -0
  22. package/dist-cjs/commands/CreateQueueCommand.js +10 -0
  23. package/dist-cjs/commands/CreateQuickConnectCommand.js +10 -0
  24. package/dist-cjs/commands/CreateRoutingProfileCommand.js +10 -0
  25. package/dist-cjs/commands/CreateSecurityProfileCommand.js +10 -0
  26. package/dist-cjs/commands/CreateTaskTemplateCommand.js +10 -0
  27. package/dist-cjs/commands/CreateTrafficDistributionGroupCommand.js +46 -0
  28. package/dist-cjs/commands/CreateUseCaseCommand.js +10 -0
  29. package/dist-cjs/commands/CreateUserCommand.js +10 -0
  30. package/dist-cjs/commands/CreateUserHierarchyGroupCommand.js +10 -0
  31. package/dist-cjs/commands/CreateVocabularyCommand.js +10 -0
  32. package/dist-cjs/commands/DeleteContactFlowCommand.js +10 -0
  33. package/dist-cjs/commands/DeleteContactFlowModuleCommand.js +10 -0
  34. package/dist-cjs/commands/DeleteHoursOfOperationCommand.js +10 -0
  35. package/dist-cjs/commands/DeleteInstanceCommand.js +10 -0
  36. package/dist-cjs/commands/DeleteIntegrationAssociationCommand.js +10 -0
  37. package/dist-cjs/commands/DeleteQuickConnectCommand.js +10 -0
  38. package/dist-cjs/commands/DeleteSecurityProfileCommand.js +10 -0
  39. package/dist-cjs/commands/DeleteTaskTemplateCommand.js +10 -0
  40. package/dist-cjs/commands/DeleteTrafficDistributionGroupCommand.js +46 -0
  41. package/dist-cjs/commands/DeleteUseCaseCommand.js +10 -0
  42. package/dist-cjs/commands/DeleteUserCommand.js +10 -0
  43. package/dist-cjs/commands/DeleteUserHierarchyGroupCommand.js +10 -0
  44. package/dist-cjs/commands/DeleteVocabularyCommand.js +10 -0
  45. package/dist-cjs/commands/DescribeAgentStatusCommand.js +10 -0
  46. package/dist-cjs/commands/DescribeContactCommand.js +10 -0
  47. package/dist-cjs/commands/DescribeContactFlowCommand.js +10 -0
  48. package/dist-cjs/commands/DescribeContactFlowModuleCommand.js +10 -0
  49. package/dist-cjs/commands/DescribeHoursOfOperationCommand.js +10 -0
  50. package/dist-cjs/commands/DescribeInstanceAttributeCommand.js +10 -0
  51. package/dist-cjs/commands/DescribeInstanceCommand.js +10 -0
  52. package/dist-cjs/commands/DescribeInstanceStorageConfigCommand.js +10 -0
  53. package/dist-cjs/commands/DescribePhoneNumberCommand.js +10 -0
  54. package/dist-cjs/commands/DescribeQueueCommand.js +10 -0
  55. package/dist-cjs/commands/DescribeQuickConnectCommand.js +10 -0
  56. package/dist-cjs/commands/DescribeRoutingProfileCommand.js +10 -0
  57. package/dist-cjs/commands/DescribeSecurityProfileCommand.js +10 -0
  58. package/dist-cjs/commands/DescribeTrafficDistributionGroupCommand.js +46 -0
  59. package/dist-cjs/commands/DescribeUserCommand.js +10 -0
  60. package/dist-cjs/commands/DescribeUserHierarchyGroupCommand.js +10 -0
  61. package/dist-cjs/commands/DescribeUserHierarchyStructureCommand.js +10 -0
  62. package/dist-cjs/commands/DescribeVocabularyCommand.js +10 -0
  63. package/dist-cjs/commands/DisassociateApprovedOriginCommand.js +10 -0
  64. package/dist-cjs/commands/DisassociateBotCommand.js +10 -0
  65. package/dist-cjs/commands/DisassociateInstanceStorageConfigCommand.js +10 -0
  66. package/dist-cjs/commands/DisassociateLambdaFunctionCommand.js +10 -0
  67. package/dist-cjs/commands/DisassociateLexBotCommand.js +10 -0
  68. package/dist-cjs/commands/DisassociatePhoneNumberContactFlowCommand.js +10 -0
  69. package/dist-cjs/commands/DisassociateQueueQuickConnectsCommand.js +10 -0
  70. package/dist-cjs/commands/DisassociateRoutingProfileQueuesCommand.js +10 -0
  71. package/dist-cjs/commands/DisassociateSecurityKeyCommand.js +10 -0
  72. package/dist-cjs/commands/GetContactAttributesCommand.js +10 -0
  73. package/dist-cjs/commands/GetCurrentMetricDataCommand.js +10 -0
  74. package/dist-cjs/commands/GetCurrentUserDataCommand.js +10 -0
  75. package/dist-cjs/commands/GetFederationTokenCommand.js +10 -0
  76. package/dist-cjs/commands/GetMetricDataCommand.js +10 -0
  77. package/dist-cjs/commands/GetTaskTemplateCommand.js +10 -0
  78. package/dist-cjs/commands/GetTrafficDistributionCommand.js +46 -0
  79. package/dist-cjs/commands/ListAgentStatusesCommand.js +10 -0
  80. package/dist-cjs/commands/ListApprovedOriginsCommand.js +10 -0
  81. package/dist-cjs/commands/ListBotsCommand.js +10 -0
  82. package/dist-cjs/commands/ListContactFlowModulesCommand.js +10 -0
  83. package/dist-cjs/commands/ListContactFlowsCommand.js +10 -0
  84. package/dist-cjs/commands/ListContactReferencesCommand.js +10 -0
  85. package/dist-cjs/commands/ListDefaultVocabulariesCommand.js +10 -0
  86. package/dist-cjs/commands/ListHoursOfOperationsCommand.js +10 -0
  87. package/dist-cjs/commands/ListInstanceAttributesCommand.js +10 -0
  88. package/dist-cjs/commands/ListInstanceStorageConfigsCommand.js +10 -0
  89. package/dist-cjs/commands/ListInstancesCommand.js +10 -0
  90. package/dist-cjs/commands/ListIntegrationAssociationsCommand.js +10 -0
  91. package/dist-cjs/commands/ListLambdaFunctionsCommand.js +10 -0
  92. package/dist-cjs/commands/ListLexBotsCommand.js +12 -1
  93. package/dist-cjs/commands/ListPhoneNumbersCommand.js +13 -3
  94. package/dist-cjs/commands/ListPhoneNumbersV2Command.js +13 -3
  95. package/dist-cjs/commands/ListPromptsCommand.js +13 -3
  96. package/dist-cjs/commands/ListQueueQuickConnectsCommand.js +13 -3
  97. package/dist-cjs/commands/ListQueuesCommand.js +10 -0
  98. package/dist-cjs/commands/ListQuickConnectsCommand.js +10 -0
  99. package/dist-cjs/commands/ListRoutingProfileQueuesCommand.js +10 -0
  100. package/dist-cjs/commands/ListRoutingProfilesCommand.js +10 -0
  101. package/dist-cjs/commands/ListSecurityKeysCommand.js +10 -0
  102. package/dist-cjs/commands/ListSecurityProfilePermissionsCommand.js +10 -0
  103. package/dist-cjs/commands/ListSecurityProfilesCommand.js +10 -0
  104. package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
  105. package/dist-cjs/commands/ListTaskTemplatesCommand.js +10 -0
  106. package/dist-cjs/commands/ListTrafficDistributionGroupsCommand.js +46 -0
  107. package/dist-cjs/commands/ListUseCasesCommand.js +10 -0
  108. package/dist-cjs/commands/ListUserHierarchyGroupsCommand.js +10 -0
  109. package/dist-cjs/commands/ListUsersCommand.js +10 -0
  110. package/dist-cjs/commands/PutUserStatusCommand.js +10 -0
  111. package/dist-cjs/commands/ReleasePhoneNumberCommand.js +10 -0
  112. package/dist-cjs/commands/ReplicateInstanceCommand.js +46 -0
  113. package/dist-cjs/commands/ResumeContactRecordingCommand.js +10 -0
  114. package/dist-cjs/commands/SearchAvailablePhoneNumbersCommand.js +10 -0
  115. package/dist-cjs/commands/SearchQueuesCommand.js +10 -0
  116. package/dist-cjs/commands/SearchRoutingProfilesCommand.js +10 -0
  117. package/dist-cjs/commands/SearchSecurityProfilesCommand.js +10 -0
  118. package/dist-cjs/commands/SearchUsersCommand.js +10 -0
  119. package/dist-cjs/commands/SearchVocabulariesCommand.js +10 -0
  120. package/dist-cjs/commands/StartChatContactCommand.js +10 -0
  121. package/dist-cjs/commands/StartContactRecordingCommand.js +10 -0
  122. package/dist-cjs/commands/StartContactStreamingCommand.js +10 -0
  123. package/dist-cjs/commands/StartOutboundVoiceContactCommand.js +10 -0
  124. package/dist-cjs/commands/StartTaskContactCommand.js +10 -0
  125. package/dist-cjs/commands/StopContactCommand.js +10 -0
  126. package/dist-cjs/commands/StopContactRecordingCommand.js +10 -0
  127. package/dist-cjs/commands/StopContactStreamingCommand.js +10 -0
  128. package/dist-cjs/commands/SuspendContactRecordingCommand.js +10 -0
  129. package/dist-cjs/commands/TagResourceCommand.js +10 -0
  130. package/dist-cjs/commands/TransferContactCommand.js +10 -0
  131. package/dist-cjs/commands/UntagResourceCommand.js +10 -0
  132. package/dist-cjs/commands/UpdateAgentStatusCommand.js +10 -0
  133. package/dist-cjs/commands/UpdateContactAttributesCommand.js +10 -0
  134. package/dist-cjs/commands/UpdateContactCommand.js +10 -0
  135. package/dist-cjs/commands/UpdateContactFlowContentCommand.js +10 -0
  136. package/dist-cjs/commands/UpdateContactFlowMetadataCommand.js +10 -0
  137. package/dist-cjs/commands/UpdateContactFlowModuleContentCommand.js +10 -0
  138. package/dist-cjs/commands/UpdateContactFlowModuleMetadataCommand.js +10 -0
  139. package/dist-cjs/commands/UpdateContactFlowNameCommand.js +10 -0
  140. package/dist-cjs/commands/UpdateContactScheduleCommand.js +10 -0
  141. package/dist-cjs/commands/UpdateHoursOfOperationCommand.js +10 -0
  142. package/dist-cjs/commands/UpdateInstanceAttributeCommand.js +10 -0
  143. package/dist-cjs/commands/UpdateInstanceStorageConfigCommand.js +10 -0
  144. package/dist-cjs/commands/UpdatePhoneNumberCommand.js +10 -0
  145. package/dist-cjs/commands/UpdateQueueHoursOfOperationCommand.js +10 -0
  146. package/dist-cjs/commands/UpdateQueueMaxContactsCommand.js +10 -0
  147. package/dist-cjs/commands/UpdateQueueNameCommand.js +10 -0
  148. package/dist-cjs/commands/UpdateQueueOutboundCallerConfigCommand.js +10 -0
  149. package/dist-cjs/commands/UpdateQueueStatusCommand.js +10 -0
  150. package/dist-cjs/commands/UpdateQuickConnectConfigCommand.js +10 -0
  151. package/dist-cjs/commands/UpdateQuickConnectNameCommand.js +10 -0
  152. package/dist-cjs/commands/UpdateRoutingProfileConcurrencyCommand.js +10 -0
  153. package/dist-cjs/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.js +10 -0
  154. package/dist-cjs/commands/UpdateRoutingProfileNameCommand.js +10 -0
  155. package/dist-cjs/commands/UpdateRoutingProfileQueuesCommand.js +10 -0
  156. package/dist-cjs/commands/UpdateSecurityProfileCommand.js +10 -0
  157. package/dist-cjs/commands/UpdateTaskTemplateCommand.js +10 -0
  158. package/dist-cjs/commands/UpdateTrafficDistributionCommand.js +46 -0
  159. package/dist-cjs/commands/UpdateUserHierarchyCommand.js +10 -0
  160. package/dist-cjs/commands/UpdateUserHierarchyGroupNameCommand.js +10 -0
  161. package/dist-cjs/commands/UpdateUserHierarchyStructureCommand.js +10 -0
  162. package/dist-cjs/commands/UpdateUserIdentityInfoCommand.js +10 -0
  163. package/dist-cjs/commands/UpdateUserPhoneConfigCommand.js +10 -0
  164. package/dist-cjs/commands/UpdateUserRoutingProfileCommand.js +10 -0
  165. package/dist-cjs/commands/UpdateUserSecurityProfilesCommand.js +10 -0
  166. package/dist-cjs/commands/index.js +7 -0
  167. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  168. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  169. package/dist-cjs/endpoint/ruleset.js +318 -0
  170. package/dist-cjs/models/models_0.js +74 -59
  171. package/dist-cjs/models/models_1.js +86 -3
  172. package/dist-cjs/pagination/ListTrafficDistributionGroupsPaginator.js +36 -0
  173. package/dist-cjs/pagination/index.js +1 -0
  174. package/dist-cjs/protocols/Aws_restJson1.js +593 -7
  175. package/dist-cjs/runtimeConfig.shared.js +3 -3
  176. package/dist-es/Connect.js +105 -0
  177. package/dist-es/ConnectClient.js +12 -9
  178. package/dist-es/commands/AssociateApprovedOriginCommand.js +10 -0
  179. package/dist-es/commands/AssociateBotCommand.js +10 -0
  180. package/dist-es/commands/AssociateDefaultVocabularyCommand.js +10 -0
  181. package/dist-es/commands/AssociateInstanceStorageConfigCommand.js +10 -0
  182. package/dist-es/commands/AssociateLambdaFunctionCommand.js +10 -0
  183. package/dist-es/commands/AssociateLexBotCommand.js +10 -0
  184. package/dist-es/commands/AssociatePhoneNumberContactFlowCommand.js +10 -0
  185. package/dist-es/commands/AssociateQueueQuickConnectsCommand.js +10 -0
  186. package/dist-es/commands/AssociateRoutingProfileQueuesCommand.js +10 -0
  187. package/dist-es/commands/AssociateSecurityKeyCommand.js +10 -0
  188. package/dist-es/commands/ClaimPhoneNumberCommand.js +10 -0
  189. package/dist-es/commands/CreateAgentStatusCommand.js +10 -0
  190. package/dist-es/commands/CreateContactFlowCommand.js +10 -0
  191. package/dist-es/commands/CreateContactFlowModuleCommand.js +10 -0
  192. package/dist-es/commands/CreateHoursOfOperationCommand.js +10 -0
  193. package/dist-es/commands/CreateInstanceCommand.js +10 -0
  194. package/dist-es/commands/CreateIntegrationAssociationCommand.js +10 -0
  195. package/dist-es/commands/CreateQueueCommand.js +10 -0
  196. package/dist-es/commands/CreateQuickConnectCommand.js +10 -0
  197. package/dist-es/commands/CreateRoutingProfileCommand.js +10 -0
  198. package/dist-es/commands/CreateSecurityProfileCommand.js +10 -0
  199. package/dist-es/commands/CreateTaskTemplateCommand.js +10 -0
  200. package/dist-es/commands/CreateTrafficDistributionGroupCommand.js +42 -0
  201. package/dist-es/commands/CreateUseCaseCommand.js +10 -0
  202. package/dist-es/commands/CreateUserCommand.js +10 -0
  203. package/dist-es/commands/CreateUserHierarchyGroupCommand.js +10 -0
  204. package/dist-es/commands/CreateVocabularyCommand.js +10 -0
  205. package/dist-es/commands/DeleteContactFlowCommand.js +10 -0
  206. package/dist-es/commands/DeleteContactFlowModuleCommand.js +10 -0
  207. package/dist-es/commands/DeleteHoursOfOperationCommand.js +10 -0
  208. package/dist-es/commands/DeleteInstanceCommand.js +10 -0
  209. package/dist-es/commands/DeleteIntegrationAssociationCommand.js +10 -0
  210. package/dist-es/commands/DeleteQuickConnectCommand.js +10 -0
  211. package/dist-es/commands/DeleteSecurityProfileCommand.js +10 -0
  212. package/dist-es/commands/DeleteTaskTemplateCommand.js +10 -0
  213. package/dist-es/commands/DeleteTrafficDistributionGroupCommand.js +42 -0
  214. package/dist-es/commands/DeleteUseCaseCommand.js +10 -0
  215. package/dist-es/commands/DeleteUserCommand.js +10 -0
  216. package/dist-es/commands/DeleteUserHierarchyGroupCommand.js +10 -0
  217. package/dist-es/commands/DeleteVocabularyCommand.js +10 -0
  218. package/dist-es/commands/DescribeAgentStatusCommand.js +10 -0
  219. package/dist-es/commands/DescribeContactCommand.js +10 -0
  220. package/dist-es/commands/DescribeContactFlowCommand.js +10 -0
  221. package/dist-es/commands/DescribeContactFlowModuleCommand.js +10 -0
  222. package/dist-es/commands/DescribeHoursOfOperationCommand.js +10 -0
  223. package/dist-es/commands/DescribeInstanceAttributeCommand.js +10 -0
  224. package/dist-es/commands/DescribeInstanceCommand.js +10 -0
  225. package/dist-es/commands/DescribeInstanceStorageConfigCommand.js +10 -0
  226. package/dist-es/commands/DescribePhoneNumberCommand.js +10 -0
  227. package/dist-es/commands/DescribeQueueCommand.js +10 -0
  228. package/dist-es/commands/DescribeQuickConnectCommand.js +10 -0
  229. package/dist-es/commands/DescribeRoutingProfileCommand.js +10 -0
  230. package/dist-es/commands/DescribeSecurityProfileCommand.js +10 -0
  231. package/dist-es/commands/DescribeTrafficDistributionGroupCommand.js +42 -0
  232. package/dist-es/commands/DescribeUserCommand.js +10 -0
  233. package/dist-es/commands/DescribeUserHierarchyGroupCommand.js +10 -0
  234. package/dist-es/commands/DescribeUserHierarchyStructureCommand.js +10 -0
  235. package/dist-es/commands/DescribeVocabularyCommand.js +10 -0
  236. package/dist-es/commands/DisassociateApprovedOriginCommand.js +10 -0
  237. package/dist-es/commands/DisassociateBotCommand.js +10 -0
  238. package/dist-es/commands/DisassociateInstanceStorageConfigCommand.js +10 -0
  239. package/dist-es/commands/DisassociateLambdaFunctionCommand.js +10 -0
  240. package/dist-es/commands/DisassociateLexBotCommand.js +10 -0
  241. package/dist-es/commands/DisassociatePhoneNumberContactFlowCommand.js +10 -0
  242. package/dist-es/commands/DisassociateQueueQuickConnectsCommand.js +10 -0
  243. package/dist-es/commands/DisassociateRoutingProfileQueuesCommand.js +10 -0
  244. package/dist-es/commands/DisassociateSecurityKeyCommand.js +10 -0
  245. package/dist-es/commands/GetContactAttributesCommand.js +10 -0
  246. package/dist-es/commands/GetCurrentMetricDataCommand.js +10 -0
  247. package/dist-es/commands/GetCurrentUserDataCommand.js +10 -0
  248. package/dist-es/commands/GetFederationTokenCommand.js +10 -0
  249. package/dist-es/commands/GetMetricDataCommand.js +10 -0
  250. package/dist-es/commands/GetTaskTemplateCommand.js +10 -0
  251. package/dist-es/commands/GetTrafficDistributionCommand.js +42 -0
  252. package/dist-es/commands/ListAgentStatusesCommand.js +10 -0
  253. package/dist-es/commands/ListApprovedOriginsCommand.js +10 -0
  254. package/dist-es/commands/ListBotsCommand.js +10 -0
  255. package/dist-es/commands/ListContactFlowModulesCommand.js +10 -0
  256. package/dist-es/commands/ListContactFlowsCommand.js +10 -0
  257. package/dist-es/commands/ListContactReferencesCommand.js +10 -0
  258. package/dist-es/commands/ListDefaultVocabulariesCommand.js +10 -0
  259. package/dist-es/commands/ListHoursOfOperationsCommand.js +10 -0
  260. package/dist-es/commands/ListInstanceAttributesCommand.js +10 -0
  261. package/dist-es/commands/ListInstanceStorageConfigsCommand.js +10 -0
  262. package/dist-es/commands/ListInstancesCommand.js +10 -0
  263. package/dist-es/commands/ListIntegrationAssociationsCommand.js +10 -0
  264. package/dist-es/commands/ListLambdaFunctionsCommand.js +10 -0
  265. package/dist-es/commands/ListLexBotsCommand.js +12 -1
  266. package/dist-es/commands/ListPhoneNumbersCommand.js +11 -1
  267. package/dist-es/commands/ListPhoneNumbersV2Command.js +11 -1
  268. package/dist-es/commands/ListPromptsCommand.js +11 -1
  269. package/dist-es/commands/ListQueueQuickConnectsCommand.js +11 -1
  270. package/dist-es/commands/ListQueuesCommand.js +10 -0
  271. package/dist-es/commands/ListQuickConnectsCommand.js +10 -0
  272. package/dist-es/commands/ListRoutingProfileQueuesCommand.js +10 -0
  273. package/dist-es/commands/ListRoutingProfilesCommand.js +10 -0
  274. package/dist-es/commands/ListSecurityKeysCommand.js +10 -0
  275. package/dist-es/commands/ListSecurityProfilePermissionsCommand.js +10 -0
  276. package/dist-es/commands/ListSecurityProfilesCommand.js +10 -0
  277. package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
  278. package/dist-es/commands/ListTaskTemplatesCommand.js +10 -0
  279. package/dist-es/commands/ListTrafficDistributionGroupsCommand.js +42 -0
  280. package/dist-es/commands/ListUseCasesCommand.js +10 -0
  281. package/dist-es/commands/ListUserHierarchyGroupsCommand.js +10 -0
  282. package/dist-es/commands/ListUsersCommand.js +10 -0
  283. package/dist-es/commands/PutUserStatusCommand.js +10 -0
  284. package/dist-es/commands/ReleasePhoneNumberCommand.js +10 -0
  285. package/dist-es/commands/ReplicateInstanceCommand.js +42 -0
  286. package/dist-es/commands/ResumeContactRecordingCommand.js +10 -0
  287. package/dist-es/commands/SearchAvailablePhoneNumbersCommand.js +10 -0
  288. package/dist-es/commands/SearchQueuesCommand.js +10 -0
  289. package/dist-es/commands/SearchRoutingProfilesCommand.js +10 -0
  290. package/dist-es/commands/SearchSecurityProfilesCommand.js +10 -0
  291. package/dist-es/commands/SearchUsersCommand.js +10 -0
  292. package/dist-es/commands/SearchVocabulariesCommand.js +10 -0
  293. package/dist-es/commands/StartChatContactCommand.js +10 -0
  294. package/dist-es/commands/StartContactRecordingCommand.js +10 -0
  295. package/dist-es/commands/StartContactStreamingCommand.js +10 -0
  296. package/dist-es/commands/StartOutboundVoiceContactCommand.js +10 -0
  297. package/dist-es/commands/StartTaskContactCommand.js +10 -0
  298. package/dist-es/commands/StopContactCommand.js +10 -0
  299. package/dist-es/commands/StopContactRecordingCommand.js +10 -0
  300. package/dist-es/commands/StopContactStreamingCommand.js +10 -0
  301. package/dist-es/commands/SuspendContactRecordingCommand.js +10 -0
  302. package/dist-es/commands/TagResourceCommand.js +10 -0
  303. package/dist-es/commands/TransferContactCommand.js +10 -0
  304. package/dist-es/commands/UntagResourceCommand.js +10 -0
  305. package/dist-es/commands/UpdateAgentStatusCommand.js +10 -0
  306. package/dist-es/commands/UpdateContactAttributesCommand.js +10 -0
  307. package/dist-es/commands/UpdateContactCommand.js +10 -0
  308. package/dist-es/commands/UpdateContactFlowContentCommand.js +10 -0
  309. package/dist-es/commands/UpdateContactFlowMetadataCommand.js +10 -0
  310. package/dist-es/commands/UpdateContactFlowModuleContentCommand.js +10 -0
  311. package/dist-es/commands/UpdateContactFlowModuleMetadataCommand.js +10 -0
  312. package/dist-es/commands/UpdateContactFlowNameCommand.js +10 -0
  313. package/dist-es/commands/UpdateContactScheduleCommand.js +10 -0
  314. package/dist-es/commands/UpdateHoursOfOperationCommand.js +10 -0
  315. package/dist-es/commands/UpdateInstanceAttributeCommand.js +10 -0
  316. package/dist-es/commands/UpdateInstanceStorageConfigCommand.js +10 -0
  317. package/dist-es/commands/UpdatePhoneNumberCommand.js +10 -0
  318. package/dist-es/commands/UpdateQueueHoursOfOperationCommand.js +10 -0
  319. package/dist-es/commands/UpdateQueueMaxContactsCommand.js +10 -0
  320. package/dist-es/commands/UpdateQueueNameCommand.js +10 -0
  321. package/dist-es/commands/UpdateQueueOutboundCallerConfigCommand.js +10 -0
  322. package/dist-es/commands/UpdateQueueStatusCommand.js +10 -0
  323. package/dist-es/commands/UpdateQuickConnectConfigCommand.js +10 -0
  324. package/dist-es/commands/UpdateQuickConnectNameCommand.js +10 -0
  325. package/dist-es/commands/UpdateRoutingProfileConcurrencyCommand.js +10 -0
  326. package/dist-es/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.js +10 -0
  327. package/dist-es/commands/UpdateRoutingProfileNameCommand.js +10 -0
  328. package/dist-es/commands/UpdateRoutingProfileQueuesCommand.js +10 -0
  329. package/dist-es/commands/UpdateSecurityProfileCommand.js +10 -0
  330. package/dist-es/commands/UpdateTaskTemplateCommand.js +10 -0
  331. package/dist-es/commands/UpdateTrafficDistributionCommand.js +42 -0
  332. package/dist-es/commands/UpdateUserHierarchyCommand.js +10 -0
  333. package/dist-es/commands/UpdateUserHierarchyGroupNameCommand.js +10 -0
  334. package/dist-es/commands/UpdateUserHierarchyStructureCommand.js +10 -0
  335. package/dist-es/commands/UpdateUserIdentityInfoCommand.js +10 -0
  336. package/dist-es/commands/UpdateUserPhoneConfigCommand.js +10 -0
  337. package/dist-es/commands/UpdateUserRoutingProfileCommand.js +10 -0
  338. package/dist-es/commands/UpdateUserSecurityProfilesCommand.js +10 -0
  339. package/dist-es/commands/index.js +7 -0
  340. package/dist-es/endpoint/EndpointParameters.js +8 -0
  341. package/dist-es/endpoint/endpointResolver.js +8 -0
  342. package/dist-es/endpoint/ruleset.js +315 -0
  343. package/dist-es/models/models_0.js +55 -39
  344. package/dist-es/models/models_1.js +62 -0
  345. package/dist-es/pagination/ListTrafficDistributionGroupsPaginator.js +32 -0
  346. package/dist-es/pagination/index.js +1 -0
  347. package/dist-es/protocols/Aws_restJson1.js +571 -1
  348. package/dist-es/runtimeConfig.shared.js +2 -2
  349. package/dist-types/Connect.d.ts +234 -65
  350. package/dist-types/ConnectClient.d.ts +26 -20
  351. package/dist-types/commands/AssociateApprovedOriginCommand.d.ts +2 -0
  352. package/dist-types/commands/AssociateBotCommand.d.ts +4 -1
  353. package/dist-types/commands/AssociateDefaultVocabularyCommand.d.ts +2 -0
  354. package/dist-types/commands/AssociateInstanceStorageConfigCommand.d.ts +2 -0
  355. package/dist-types/commands/AssociateLambdaFunctionCommand.d.ts +4 -1
  356. package/dist-types/commands/AssociateLexBotCommand.d.ts +2 -0
  357. package/dist-types/commands/AssociatePhoneNumberContactFlowCommand.d.ts +13 -0
  358. package/dist-types/commands/AssociateQueueQuickConnectsCommand.d.ts +2 -0
  359. package/dist-types/commands/AssociateRoutingProfileQueuesCommand.d.ts +2 -0
  360. package/dist-types/commands/AssociateSecurityKeyCommand.d.ts +2 -0
  361. package/dist-types/commands/ClaimPhoneNumberCommand.d.ts +9 -1
  362. package/dist-types/commands/CreateAgentStatusCommand.d.ts +2 -0
  363. package/dist-types/commands/CreateContactFlowCommand.d.ts +2 -0
  364. package/dist-types/commands/CreateContactFlowModuleCommand.d.ts +2 -0
  365. package/dist-types/commands/CreateHoursOfOperationCommand.d.ts +2 -0
  366. package/dist-types/commands/CreateInstanceCommand.d.ts +5 -3
  367. package/dist-types/commands/CreateIntegrationAssociationCommand.d.ts +4 -1
  368. package/dist-types/commands/CreateQueueCommand.d.ts +13 -0
  369. package/dist-types/commands/CreateQuickConnectCommand.d.ts +2 -0
  370. package/dist-types/commands/CreateRoutingProfileCommand.d.ts +2 -0
  371. package/dist-types/commands/CreateSecurityProfileCommand.d.ts +2 -0
  372. package/dist-types/commands/CreateTaskTemplateCommand.d.ts +2 -0
  373. package/dist-types/commands/CreateTrafficDistributionGroupCommand.d.ts +40 -0
  374. package/dist-types/commands/CreateUseCaseCommand.d.ts +2 -0
  375. package/dist-types/commands/CreateUserCommand.d.ts +5 -2
  376. package/dist-types/commands/CreateUserHierarchyGroupCommand.d.ts +2 -0
  377. package/dist-types/commands/CreateVocabularyCommand.d.ts +4 -2
  378. package/dist-types/commands/DeleteContactFlowCommand.d.ts +2 -0
  379. package/dist-types/commands/DeleteContactFlowModuleCommand.d.ts +2 -0
  380. package/dist-types/commands/DeleteHoursOfOperationCommand.d.ts +2 -0
  381. package/dist-types/commands/DeleteInstanceCommand.d.ts +2 -0
  382. package/dist-types/commands/DeleteIntegrationAssociationCommand.d.ts +4 -2
  383. package/dist-types/commands/DeleteQuickConnectCommand.d.ts +2 -0
  384. package/dist-types/commands/DeleteSecurityProfileCommand.d.ts +2 -0
  385. package/dist-types/commands/DeleteTaskTemplateCommand.d.ts +2 -0
  386. package/dist-types/commands/DeleteTrafficDistributionGroupCommand.d.ts +41 -0
  387. package/dist-types/commands/DeleteUseCaseCommand.d.ts +2 -0
  388. package/dist-types/commands/DeleteUserCommand.d.ts +4 -1
  389. package/dist-types/commands/DeleteUserHierarchyGroupCommand.d.ts +2 -0
  390. package/dist-types/commands/DeleteVocabularyCommand.d.ts +2 -0
  391. package/dist-types/commands/DescribeAgentStatusCommand.d.ts +2 -0
  392. package/dist-types/commands/DescribeContactCommand.d.ts +2 -0
  393. package/dist-types/commands/DescribeContactFlowCommand.d.ts +2 -0
  394. package/dist-types/commands/DescribeContactFlowModuleCommand.d.ts +2 -0
  395. package/dist-types/commands/DescribeHoursOfOperationCommand.d.ts +2 -0
  396. package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +2 -0
  397. package/dist-types/commands/DescribeInstanceCommand.d.ts +2 -0
  398. package/dist-types/commands/DescribeInstanceStorageConfigCommand.d.ts +2 -0
  399. package/dist-types/commands/DescribePhoneNumberCommand.d.ts +14 -1
  400. package/dist-types/commands/DescribeQueueCommand.d.ts +2 -0
  401. package/dist-types/commands/DescribeQuickConnectCommand.d.ts +2 -0
  402. package/dist-types/commands/DescribeRoutingProfileCommand.d.ts +2 -0
  403. package/dist-types/commands/DescribeSecurityProfileCommand.d.ts +2 -0
  404. package/dist-types/commands/DescribeTrafficDistributionGroupCommand.d.ts +37 -0
  405. package/dist-types/commands/DescribeUserCommand.d.ts +2 -0
  406. package/dist-types/commands/DescribeUserHierarchyGroupCommand.d.ts +2 -0
  407. package/dist-types/commands/DescribeUserHierarchyStructureCommand.d.ts +2 -0
  408. package/dist-types/commands/DescribeVocabularyCommand.d.ts +2 -0
  409. package/dist-types/commands/DisassociateApprovedOriginCommand.d.ts +2 -0
  410. package/dist-types/commands/DisassociateBotCommand.d.ts +2 -0
  411. package/dist-types/commands/DisassociateInstanceStorageConfigCommand.d.ts +2 -0
  412. package/dist-types/commands/DisassociateLambdaFunctionCommand.d.ts +2 -0
  413. package/dist-types/commands/DisassociateLexBotCommand.d.ts +2 -0
  414. package/dist-types/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +13 -2
  415. package/dist-types/commands/DisassociateQueueQuickConnectsCommand.d.ts +2 -0
  416. package/dist-types/commands/DisassociateRoutingProfileQueuesCommand.d.ts +2 -0
  417. package/dist-types/commands/DisassociateSecurityKeyCommand.d.ts +2 -0
  418. package/dist-types/commands/GetContactAttributesCommand.d.ts +2 -0
  419. package/dist-types/commands/GetCurrentMetricDataCommand.d.ts +2 -0
  420. package/dist-types/commands/GetCurrentUserDataCommand.d.ts +2 -0
  421. package/dist-types/commands/GetFederationTokenCommand.d.ts +3 -1
  422. package/dist-types/commands/GetMetricDataCommand.d.ts +2 -0
  423. package/dist-types/commands/GetTaskTemplateCommand.d.ts +4 -1
  424. package/dist-types/commands/GetTrafficDistributionCommand.d.ts +37 -0
  425. package/dist-types/commands/ListAgentStatusesCommand.d.ts +2 -0
  426. package/dist-types/commands/ListApprovedOriginsCommand.d.ts +2 -0
  427. package/dist-types/commands/ListBotsCommand.d.ts +2 -0
  428. package/dist-types/commands/ListContactFlowModulesCommand.d.ts +4 -1
  429. package/dist-types/commands/ListContactFlowsCommand.d.ts +4 -2
  430. package/dist-types/commands/ListContactReferencesCommand.d.ts +2 -0
  431. package/dist-types/commands/ListDefaultVocabulariesCommand.d.ts +2 -0
  432. package/dist-types/commands/ListHoursOfOperationsCommand.d.ts +4 -1
  433. package/dist-types/commands/ListInstanceAttributesCommand.d.ts +2 -0
  434. package/dist-types/commands/ListInstanceStorageConfigsCommand.d.ts +2 -0
  435. package/dist-types/commands/ListInstancesCommand.d.ts +2 -0
  436. package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +2 -0
  437. package/dist-types/commands/ListLambdaFunctionsCommand.d.ts +2 -0
  438. package/dist-types/commands/ListLexBotsCommand.d.ts +4 -1
  439. package/dist-types/commands/ListPhoneNumbersCommand.d.ts +12 -2
  440. package/dist-types/commands/ListPhoneNumbersV2Command.d.ts +8 -3
  441. package/dist-types/commands/ListPromptsCommand.d.ts +3 -1
  442. package/dist-types/commands/ListQueueQuickConnectsCommand.d.ts +3 -1
  443. package/dist-types/commands/ListQueuesCommand.d.ts +2 -0
  444. package/dist-types/commands/ListQuickConnectsCommand.d.ts +4 -1
  445. package/dist-types/commands/ListRoutingProfileQueuesCommand.d.ts +2 -0
  446. package/dist-types/commands/ListRoutingProfilesCommand.d.ts +2 -0
  447. package/dist-types/commands/ListSecurityKeysCommand.d.ts +2 -0
  448. package/dist-types/commands/ListSecurityProfilePermissionsCommand.d.ts +2 -0
  449. package/dist-types/commands/ListSecurityProfilesCommand.d.ts +4 -3
  450. package/dist-types/commands/ListTagsForResourceCommand.d.ts +5 -2
  451. package/dist-types/commands/ListTaskTemplatesCommand.d.ts +2 -0
  452. package/dist-types/commands/ListTrafficDistributionGroupsCommand.d.ts +37 -0
  453. package/dist-types/commands/ListUseCasesCommand.d.ts +2 -0
  454. package/dist-types/commands/ListUserHierarchyGroupsCommand.d.ts +3 -1
  455. package/dist-types/commands/ListUsersCommand.d.ts +4 -1
  456. package/dist-types/commands/PutUserStatusCommand.d.ts +4 -2
  457. package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +10 -1
  458. package/dist-types/commands/ReplicateInstanceCommand.d.ts +40 -0
  459. package/dist-types/commands/ResumeContactRecordingCommand.d.ts +2 -0
  460. package/dist-types/commands/SearchAvailablePhoneNumbersCommand.d.ts +5 -1
  461. package/dist-types/commands/SearchQueuesCommand.d.ts +2 -0
  462. package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +2 -0
  463. package/dist-types/commands/SearchSecurityProfilesCommand.d.ts +4 -1
  464. package/dist-types/commands/SearchUsersCommand.d.ts +7 -0
  465. package/dist-types/commands/SearchVocabulariesCommand.d.ts +4 -2
  466. package/dist-types/commands/StartChatContactCommand.d.ts +4 -2
  467. package/dist-types/commands/StartContactRecordingCommand.d.ts +2 -0
  468. package/dist-types/commands/StartContactStreamingCommand.d.ts +2 -0
  469. package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +4 -1
  470. package/dist-types/commands/StartTaskContactCommand.d.ts +2 -0
  471. package/dist-types/commands/StopContactCommand.d.ts +2 -0
  472. package/dist-types/commands/StopContactRecordingCommand.d.ts +2 -0
  473. package/dist-types/commands/StopContactStreamingCommand.d.ts +2 -0
  474. package/dist-types/commands/SuspendContactRecordingCommand.d.ts +2 -0
  475. package/dist-types/commands/TagResourceCommand.d.ts +5 -2
  476. package/dist-types/commands/TransferContactCommand.d.ts +2 -0
  477. package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
  478. package/dist-types/commands/UpdateAgentStatusCommand.d.ts +2 -0
  479. package/dist-types/commands/UpdateContactAttributesCommand.d.ts +8 -5
  480. package/dist-types/commands/UpdateContactCommand.d.ts +2 -0
  481. package/dist-types/commands/UpdateContactFlowContentCommand.d.ts +2 -0
  482. package/dist-types/commands/UpdateContactFlowMetadataCommand.d.ts +2 -0
  483. package/dist-types/commands/UpdateContactFlowModuleContentCommand.d.ts +2 -0
  484. package/dist-types/commands/UpdateContactFlowModuleMetadataCommand.d.ts +2 -0
  485. package/dist-types/commands/UpdateContactFlowNameCommand.d.ts +2 -0
  486. package/dist-types/commands/UpdateContactScheduleCommand.d.ts +2 -0
  487. package/dist-types/commands/UpdateHoursOfOperationCommand.d.ts +2 -0
  488. package/dist-types/commands/UpdateInstanceAttributeCommand.d.ts +2 -0
  489. package/dist-types/commands/UpdateInstanceStorageConfigCommand.d.ts +2 -0
  490. package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +9 -2
  491. package/dist-types/commands/UpdateQueueHoursOfOperationCommand.d.ts +2 -0
  492. package/dist-types/commands/UpdateQueueMaxContactsCommand.d.ts +2 -0
  493. package/dist-types/commands/UpdateQueueNameCommand.d.ts +2 -0
  494. package/dist-types/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +13 -0
  495. package/dist-types/commands/UpdateQueueStatusCommand.d.ts +2 -0
  496. package/dist-types/commands/UpdateQuickConnectConfigCommand.d.ts +2 -0
  497. package/dist-types/commands/UpdateQuickConnectNameCommand.d.ts +2 -0
  498. package/dist-types/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +2 -0
  499. package/dist-types/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.d.ts +2 -0
  500. package/dist-types/commands/UpdateRoutingProfileNameCommand.d.ts +2 -0
  501. package/dist-types/commands/UpdateRoutingProfileQueuesCommand.d.ts +2 -0
  502. package/dist-types/commands/UpdateSecurityProfileCommand.d.ts +2 -0
  503. package/dist-types/commands/UpdateTaskTemplateCommand.d.ts +4 -2
  504. package/dist-types/commands/UpdateTrafficDistributionCommand.d.ts +41 -0
  505. package/dist-types/commands/UpdateUserHierarchyCommand.d.ts +2 -0
  506. package/dist-types/commands/UpdateUserHierarchyGroupNameCommand.d.ts +2 -0
  507. package/dist-types/commands/UpdateUserHierarchyStructureCommand.d.ts +2 -0
  508. package/dist-types/commands/UpdateUserIdentityInfoCommand.d.ts +4 -1
  509. package/dist-types/commands/UpdateUserPhoneConfigCommand.d.ts +2 -0
  510. package/dist-types/commands/UpdateUserRoutingProfileCommand.d.ts +2 -0
  511. package/dist-types/commands/UpdateUserSecurityProfilesCommand.d.ts +2 -0
  512. package/dist-types/commands/index.d.ts +7 -0
  513. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  514. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  515. package/dist-types/endpoint/ruleset.d.ts +2 -0
  516. package/dist-types/models/models_0.d.ts +336 -314
  517. package/dist-types/models/models_1.d.ts +522 -50
  518. package/dist-types/pagination/ListTrafficDistributionGroupsPaginator.d.ts +4 -0
  519. package/dist-types/pagination/index.d.ts +1 -0
  520. package/dist-types/protocols/Aws_restJson1.d.ts +21 -0
  521. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  522. package/dist-types/runtimeConfig.d.ts +4 -2
  523. package/dist-types/runtimeConfig.native.d.ts +4 -2
  524. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  525. package/dist-types/ts3.4/Connect.d.ts +119 -0
  526. package/dist-types/ts3.4/ConnectClient.d.ts +57 -8
  527. package/dist-types/ts3.4/commands/AssociateApprovedOriginCommand.d.ts +2 -0
  528. package/dist-types/ts3.4/commands/AssociateBotCommand.d.ts +2 -0
  529. package/dist-types/ts3.4/commands/AssociateDefaultVocabularyCommand.d.ts +2 -0
  530. package/dist-types/ts3.4/commands/AssociateInstanceStorageConfigCommand.d.ts +2 -0
  531. package/dist-types/ts3.4/commands/AssociateLambdaFunctionCommand.d.ts +2 -0
  532. package/dist-types/ts3.4/commands/AssociateLexBotCommand.d.ts +2 -0
  533. package/dist-types/ts3.4/commands/AssociatePhoneNumberContactFlowCommand.d.ts +2 -0
  534. package/dist-types/ts3.4/commands/AssociateQueueQuickConnectsCommand.d.ts +2 -0
  535. package/dist-types/ts3.4/commands/AssociateRoutingProfileQueuesCommand.d.ts +2 -0
  536. package/dist-types/ts3.4/commands/AssociateSecurityKeyCommand.d.ts +2 -0
  537. package/dist-types/ts3.4/commands/ClaimPhoneNumberCommand.d.ts +2 -0
  538. package/dist-types/ts3.4/commands/CreateAgentStatusCommand.d.ts +2 -0
  539. package/dist-types/ts3.4/commands/CreateContactFlowCommand.d.ts +2 -0
  540. package/dist-types/ts3.4/commands/CreateContactFlowModuleCommand.d.ts +2 -0
  541. package/dist-types/ts3.4/commands/CreateHoursOfOperationCommand.d.ts +2 -0
  542. package/dist-types/ts3.4/commands/CreateInstanceCommand.d.ts +2 -0
  543. package/dist-types/ts3.4/commands/CreateIntegrationAssociationCommand.d.ts +2 -0
  544. package/dist-types/ts3.4/commands/CreateQueueCommand.d.ts +2 -0
  545. package/dist-types/ts3.4/commands/CreateQuickConnectCommand.d.ts +2 -0
  546. package/dist-types/ts3.4/commands/CreateRoutingProfileCommand.d.ts +2 -0
  547. package/dist-types/ts3.4/commands/CreateSecurityProfileCommand.d.ts +2 -0
  548. package/dist-types/ts3.4/commands/CreateTaskTemplateCommand.d.ts +2 -0
  549. package/dist-types/ts3.4/commands/CreateTrafficDistributionGroupCommand.d.ts +41 -0
  550. package/dist-types/ts3.4/commands/CreateUseCaseCommand.d.ts +2 -0
  551. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +2 -0
  552. package/dist-types/ts3.4/commands/CreateUserHierarchyGroupCommand.d.ts +2 -0
  553. package/dist-types/ts3.4/commands/CreateVocabularyCommand.d.ts +2 -0
  554. package/dist-types/ts3.4/commands/DeleteContactFlowCommand.d.ts +2 -0
  555. package/dist-types/ts3.4/commands/DeleteContactFlowModuleCommand.d.ts +2 -0
  556. package/dist-types/ts3.4/commands/DeleteHoursOfOperationCommand.d.ts +2 -0
  557. package/dist-types/ts3.4/commands/DeleteInstanceCommand.d.ts +2 -0
  558. package/dist-types/ts3.4/commands/DeleteIntegrationAssociationCommand.d.ts +2 -0
  559. package/dist-types/ts3.4/commands/DeleteQuickConnectCommand.d.ts +2 -0
  560. package/dist-types/ts3.4/commands/DeleteSecurityProfileCommand.d.ts +2 -0
  561. package/dist-types/ts3.4/commands/DeleteTaskTemplateCommand.d.ts +2 -0
  562. package/dist-types/ts3.4/commands/DeleteTrafficDistributionGroupCommand.d.ts +41 -0
  563. package/dist-types/ts3.4/commands/DeleteUseCaseCommand.d.ts +2 -0
  564. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +2 -0
  565. package/dist-types/ts3.4/commands/DeleteUserHierarchyGroupCommand.d.ts +2 -0
  566. package/dist-types/ts3.4/commands/DeleteVocabularyCommand.d.ts +2 -0
  567. package/dist-types/ts3.4/commands/DescribeAgentStatusCommand.d.ts +2 -0
  568. package/dist-types/ts3.4/commands/DescribeContactCommand.d.ts +2 -0
  569. package/dist-types/ts3.4/commands/DescribeContactFlowCommand.d.ts +2 -0
  570. package/dist-types/ts3.4/commands/DescribeContactFlowModuleCommand.d.ts +2 -0
  571. package/dist-types/ts3.4/commands/DescribeHoursOfOperationCommand.d.ts +2 -0
  572. package/dist-types/ts3.4/commands/DescribeInstanceAttributeCommand.d.ts +2 -0
  573. package/dist-types/ts3.4/commands/DescribeInstanceCommand.d.ts +2 -0
  574. package/dist-types/ts3.4/commands/DescribeInstanceStorageConfigCommand.d.ts +2 -0
  575. package/dist-types/ts3.4/commands/DescribePhoneNumberCommand.d.ts +2 -0
  576. package/dist-types/ts3.4/commands/DescribeQueueCommand.d.ts +2 -0
  577. package/dist-types/ts3.4/commands/DescribeQuickConnectCommand.d.ts +2 -0
  578. package/dist-types/ts3.4/commands/DescribeRoutingProfileCommand.d.ts +2 -0
  579. package/dist-types/ts3.4/commands/DescribeSecurityProfileCommand.d.ts +2 -0
  580. package/dist-types/ts3.4/commands/DescribeTrafficDistributionGroupCommand.d.ts +41 -0
  581. package/dist-types/ts3.4/commands/DescribeUserCommand.d.ts +2 -0
  582. package/dist-types/ts3.4/commands/DescribeUserHierarchyGroupCommand.d.ts +2 -0
  583. package/dist-types/ts3.4/commands/DescribeUserHierarchyStructureCommand.d.ts +2 -0
  584. package/dist-types/ts3.4/commands/DescribeVocabularyCommand.d.ts +2 -0
  585. package/dist-types/ts3.4/commands/DisassociateApprovedOriginCommand.d.ts +2 -0
  586. package/dist-types/ts3.4/commands/DisassociateBotCommand.d.ts +2 -0
  587. package/dist-types/ts3.4/commands/DisassociateInstanceStorageConfigCommand.d.ts +2 -0
  588. package/dist-types/ts3.4/commands/DisassociateLambdaFunctionCommand.d.ts +2 -0
  589. package/dist-types/ts3.4/commands/DisassociateLexBotCommand.d.ts +2 -0
  590. package/dist-types/ts3.4/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +2 -0
  591. package/dist-types/ts3.4/commands/DisassociateQueueQuickConnectsCommand.d.ts +2 -0
  592. package/dist-types/ts3.4/commands/DisassociateRoutingProfileQueuesCommand.d.ts +2 -0
  593. package/dist-types/ts3.4/commands/DisassociateSecurityKeyCommand.d.ts +2 -0
  594. package/dist-types/ts3.4/commands/GetContactAttributesCommand.d.ts +2 -0
  595. package/dist-types/ts3.4/commands/GetCurrentMetricDataCommand.d.ts +2 -0
  596. package/dist-types/ts3.4/commands/GetCurrentUserDataCommand.d.ts +2 -0
  597. package/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +2 -0
  598. package/dist-types/ts3.4/commands/GetMetricDataCommand.d.ts +2 -0
  599. package/dist-types/ts3.4/commands/GetTaskTemplateCommand.d.ts +2 -0
  600. package/dist-types/ts3.4/commands/GetTrafficDistributionCommand.d.ts +41 -0
  601. package/dist-types/ts3.4/commands/ListAgentStatusesCommand.d.ts +2 -0
  602. package/dist-types/ts3.4/commands/ListApprovedOriginsCommand.d.ts +2 -0
  603. package/dist-types/ts3.4/commands/ListBotsCommand.d.ts +2 -0
  604. package/dist-types/ts3.4/commands/ListContactFlowModulesCommand.d.ts +2 -0
  605. package/dist-types/ts3.4/commands/ListContactFlowsCommand.d.ts +2 -0
  606. package/dist-types/ts3.4/commands/ListContactReferencesCommand.d.ts +2 -0
  607. package/dist-types/ts3.4/commands/ListDefaultVocabulariesCommand.d.ts +2 -0
  608. package/dist-types/ts3.4/commands/ListHoursOfOperationsCommand.d.ts +2 -0
  609. package/dist-types/ts3.4/commands/ListInstanceAttributesCommand.d.ts +2 -0
  610. package/dist-types/ts3.4/commands/ListInstanceStorageConfigsCommand.d.ts +2 -0
  611. package/dist-types/ts3.4/commands/ListInstancesCommand.d.ts +2 -0
  612. package/dist-types/ts3.4/commands/ListIntegrationAssociationsCommand.d.ts +2 -0
  613. package/dist-types/ts3.4/commands/ListLambdaFunctionsCommand.d.ts +2 -0
  614. package/dist-types/ts3.4/commands/ListLexBotsCommand.d.ts +4 -1
  615. package/dist-types/ts3.4/commands/ListPhoneNumbersCommand.d.ts +3 -1
  616. package/dist-types/ts3.4/commands/ListPhoneNumbersV2Command.d.ts +3 -1
  617. package/dist-types/ts3.4/commands/ListPromptsCommand.d.ts +3 -1
  618. package/dist-types/ts3.4/commands/ListQueueQuickConnectsCommand.d.ts +3 -1
  619. package/dist-types/ts3.4/commands/ListQueuesCommand.d.ts +2 -0
  620. package/dist-types/ts3.4/commands/ListQuickConnectsCommand.d.ts +2 -0
  621. package/dist-types/ts3.4/commands/ListRoutingProfileQueuesCommand.d.ts +2 -0
  622. package/dist-types/ts3.4/commands/ListRoutingProfilesCommand.d.ts +2 -0
  623. package/dist-types/ts3.4/commands/ListSecurityKeysCommand.d.ts +2 -0
  624. package/dist-types/ts3.4/commands/ListSecurityProfilePermissionsCommand.d.ts +2 -0
  625. package/dist-types/ts3.4/commands/ListSecurityProfilesCommand.d.ts +2 -0
  626. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
  627. package/dist-types/ts3.4/commands/ListTaskTemplatesCommand.d.ts +2 -0
  628. package/dist-types/ts3.4/commands/ListTrafficDistributionGroupsCommand.d.ts +41 -0
  629. package/dist-types/ts3.4/commands/ListUseCasesCommand.d.ts +2 -0
  630. package/dist-types/ts3.4/commands/ListUserHierarchyGroupsCommand.d.ts +2 -0
  631. package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +2 -0
  632. package/dist-types/ts3.4/commands/PutUserStatusCommand.d.ts +2 -0
  633. package/dist-types/ts3.4/commands/ReleasePhoneNumberCommand.d.ts +2 -0
  634. package/dist-types/ts3.4/commands/ReplicateInstanceCommand.d.ts +38 -0
  635. package/dist-types/ts3.4/commands/ResumeContactRecordingCommand.d.ts +2 -0
  636. package/dist-types/ts3.4/commands/SearchAvailablePhoneNumbersCommand.d.ts +2 -0
  637. package/dist-types/ts3.4/commands/SearchQueuesCommand.d.ts +2 -0
  638. package/dist-types/ts3.4/commands/SearchRoutingProfilesCommand.d.ts +2 -0
  639. package/dist-types/ts3.4/commands/SearchSecurityProfilesCommand.d.ts +2 -0
  640. package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +2 -0
  641. package/dist-types/ts3.4/commands/SearchVocabulariesCommand.d.ts +2 -0
  642. package/dist-types/ts3.4/commands/StartChatContactCommand.d.ts +2 -0
  643. package/dist-types/ts3.4/commands/StartContactRecordingCommand.d.ts +2 -0
  644. package/dist-types/ts3.4/commands/StartContactStreamingCommand.d.ts +2 -0
  645. package/dist-types/ts3.4/commands/StartOutboundVoiceContactCommand.d.ts +2 -0
  646. package/dist-types/ts3.4/commands/StartTaskContactCommand.d.ts +2 -0
  647. package/dist-types/ts3.4/commands/StopContactCommand.d.ts +2 -0
  648. package/dist-types/ts3.4/commands/StopContactRecordingCommand.d.ts +2 -0
  649. package/dist-types/ts3.4/commands/StopContactStreamingCommand.d.ts +2 -0
  650. package/dist-types/ts3.4/commands/SuspendContactRecordingCommand.d.ts +2 -0
  651. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
  652. package/dist-types/ts3.4/commands/TransferContactCommand.d.ts +2 -0
  653. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
  654. package/dist-types/ts3.4/commands/UpdateAgentStatusCommand.d.ts +2 -0
  655. package/dist-types/ts3.4/commands/UpdateContactAttributesCommand.d.ts +2 -0
  656. package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +2 -0
  657. package/dist-types/ts3.4/commands/UpdateContactFlowContentCommand.d.ts +2 -0
  658. package/dist-types/ts3.4/commands/UpdateContactFlowMetadataCommand.d.ts +2 -0
  659. package/dist-types/ts3.4/commands/UpdateContactFlowModuleContentCommand.d.ts +2 -0
  660. package/dist-types/ts3.4/commands/UpdateContactFlowModuleMetadataCommand.d.ts +2 -0
  661. package/dist-types/ts3.4/commands/UpdateContactFlowNameCommand.d.ts +2 -0
  662. package/dist-types/ts3.4/commands/UpdateContactScheduleCommand.d.ts +2 -0
  663. package/dist-types/ts3.4/commands/UpdateHoursOfOperationCommand.d.ts +2 -0
  664. package/dist-types/ts3.4/commands/UpdateInstanceAttributeCommand.d.ts +2 -0
  665. package/dist-types/ts3.4/commands/UpdateInstanceStorageConfigCommand.d.ts +2 -0
  666. package/dist-types/ts3.4/commands/UpdatePhoneNumberCommand.d.ts +2 -0
  667. package/dist-types/ts3.4/commands/UpdateQueueHoursOfOperationCommand.d.ts +2 -0
  668. package/dist-types/ts3.4/commands/UpdateQueueMaxContactsCommand.d.ts +2 -0
  669. package/dist-types/ts3.4/commands/UpdateQueueNameCommand.d.ts +2 -0
  670. package/dist-types/ts3.4/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +2 -0
  671. package/dist-types/ts3.4/commands/UpdateQueueStatusCommand.d.ts +2 -0
  672. package/dist-types/ts3.4/commands/UpdateQuickConnectConfigCommand.d.ts +2 -0
  673. package/dist-types/ts3.4/commands/UpdateQuickConnectNameCommand.d.ts +2 -0
  674. package/dist-types/ts3.4/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +2 -0
  675. package/dist-types/ts3.4/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.d.ts +2 -0
  676. package/dist-types/ts3.4/commands/UpdateRoutingProfileNameCommand.d.ts +2 -0
  677. package/dist-types/ts3.4/commands/UpdateRoutingProfileQueuesCommand.d.ts +2 -0
  678. package/dist-types/ts3.4/commands/UpdateSecurityProfileCommand.d.ts +2 -0
  679. package/dist-types/ts3.4/commands/UpdateTaskTemplateCommand.d.ts +2 -0
  680. package/dist-types/ts3.4/commands/UpdateTrafficDistributionCommand.d.ts +41 -0
  681. package/dist-types/ts3.4/commands/UpdateUserHierarchyCommand.d.ts +2 -0
  682. package/dist-types/ts3.4/commands/UpdateUserHierarchyGroupNameCommand.d.ts +2 -0
  683. package/dist-types/ts3.4/commands/UpdateUserHierarchyStructureCommand.d.ts +2 -0
  684. package/dist-types/ts3.4/commands/UpdateUserIdentityInfoCommand.d.ts +2 -0
  685. package/dist-types/ts3.4/commands/UpdateUserPhoneConfigCommand.d.ts +2 -0
  686. package/dist-types/ts3.4/commands/UpdateUserRoutingProfileCommand.d.ts +2 -0
  687. package/dist-types/ts3.4/commands/UpdateUserSecurityProfilesCommand.d.ts +2 -0
  688. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  689. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  690. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  691. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  692. package/dist-types/ts3.4/models/models_0.d.ts +92 -111
  693. package/dist-types/ts3.4/models/models_1.d.ts +166 -1
  694. package/dist-types/ts3.4/pagination/ListTrafficDistributionGroupsPaginator.d.ts +11 -0
  695. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  696. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
  697. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  698. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  699. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  700. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  701. package/package.json +4 -3
  702. package/dist-cjs/endpoints.js +0 -132
  703. package/dist-es/endpoints.js +0 -128
  704. package/dist-types/endpoints.d.ts +0 -2
  705. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.serializeAws_restJson1DescribeRoutingProfileCommand = exports.serializeAws_restJson1DescribeQuickConnectCommand = exports.serializeAws_restJson1DescribeQueueCommand = exports.serializeAws_restJson1DescribePhoneNumberCommand = exports.serializeAws_restJson1DescribeInstanceStorageConfigCommand = exports.serializeAws_restJson1DescribeInstanceAttributeCommand = exports.serializeAws_restJson1DescribeInstanceCommand = exports.serializeAws_restJson1DescribeHoursOfOperationCommand = exports.serializeAws_restJson1DescribeContactFlowModuleCommand = exports.serializeAws_restJson1DescribeContactFlowCommand = exports.serializeAws_restJson1DescribeContactCommand = exports.serializeAws_restJson1DescribeAgentStatusCommand = exports.serializeAws_restJson1DeleteVocabularyCommand = exports.serializeAws_restJson1DeleteUserHierarchyGroupCommand = exports.serializeAws_restJson1DeleteUserCommand = exports.serializeAws_restJson1DeleteUseCaseCommand = exports.serializeAws_restJson1DeleteTaskTemplateCommand = exports.serializeAws_restJson1DeleteSecurityProfileCommand = exports.serializeAws_restJson1DeleteQuickConnectCommand = exports.serializeAws_restJson1DeleteIntegrationAssociationCommand = exports.serializeAws_restJson1DeleteInstanceCommand = exports.serializeAws_restJson1DeleteHoursOfOperationCommand = exports.serializeAws_restJson1DeleteContactFlowModuleCommand = exports.serializeAws_restJson1DeleteContactFlowCommand = exports.serializeAws_restJson1CreateVocabularyCommand = exports.serializeAws_restJson1CreateUserHierarchyGroupCommand = exports.serializeAws_restJson1CreateUserCommand = exports.serializeAws_restJson1CreateUseCaseCommand = exports.serializeAws_restJson1CreateTaskTemplateCommand = exports.serializeAws_restJson1CreateSecurityProfileCommand = exports.serializeAws_restJson1CreateRoutingProfileCommand = exports.serializeAws_restJson1CreateQuickConnectCommand = exports.serializeAws_restJson1CreateQueueCommand = exports.serializeAws_restJson1CreateIntegrationAssociationCommand = exports.serializeAws_restJson1CreateInstanceCommand = exports.serializeAws_restJson1CreateHoursOfOperationCommand = exports.serializeAws_restJson1CreateContactFlowModuleCommand = exports.serializeAws_restJson1CreateContactFlowCommand = exports.serializeAws_restJson1CreateAgentStatusCommand = exports.serializeAws_restJson1ClaimPhoneNumberCommand = exports.serializeAws_restJson1AssociateSecurityKeyCommand = exports.serializeAws_restJson1AssociateRoutingProfileQueuesCommand = exports.serializeAws_restJson1AssociateQueueQuickConnectsCommand = exports.serializeAws_restJson1AssociatePhoneNumberContactFlowCommand = exports.serializeAws_restJson1AssociateLexBotCommand = exports.serializeAws_restJson1AssociateLambdaFunctionCommand = exports.serializeAws_restJson1AssociateInstanceStorageConfigCommand = exports.serializeAws_restJson1AssociateDefaultVocabularyCommand = exports.serializeAws_restJson1AssociateBotCommand = exports.serializeAws_restJson1AssociateApprovedOriginCommand = void 0;
4
- exports.serializeAws_restJson1ListUsersCommand = exports.serializeAws_restJson1ListUserHierarchyGroupsCommand = exports.serializeAws_restJson1ListUseCasesCommand = exports.serializeAws_restJson1ListTaskTemplatesCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListSecurityProfilesCommand = exports.serializeAws_restJson1ListSecurityProfilePermissionsCommand = exports.serializeAws_restJson1ListSecurityKeysCommand = exports.serializeAws_restJson1ListRoutingProfilesCommand = exports.serializeAws_restJson1ListRoutingProfileQueuesCommand = exports.serializeAws_restJson1ListQuickConnectsCommand = exports.serializeAws_restJson1ListQueuesCommand = exports.serializeAws_restJson1ListQueueQuickConnectsCommand = exports.serializeAws_restJson1ListPromptsCommand = exports.serializeAws_restJson1ListPhoneNumbersV2Command = exports.serializeAws_restJson1ListPhoneNumbersCommand = exports.serializeAws_restJson1ListLexBotsCommand = exports.serializeAws_restJson1ListLambdaFunctionsCommand = exports.serializeAws_restJson1ListIntegrationAssociationsCommand = exports.serializeAws_restJson1ListInstanceStorageConfigsCommand = exports.serializeAws_restJson1ListInstancesCommand = exports.serializeAws_restJson1ListInstanceAttributesCommand = exports.serializeAws_restJson1ListHoursOfOperationsCommand = exports.serializeAws_restJson1ListDefaultVocabulariesCommand = exports.serializeAws_restJson1ListContactReferencesCommand = exports.serializeAws_restJson1ListContactFlowsCommand = exports.serializeAws_restJson1ListContactFlowModulesCommand = exports.serializeAws_restJson1ListBotsCommand = exports.serializeAws_restJson1ListApprovedOriginsCommand = exports.serializeAws_restJson1ListAgentStatusesCommand = exports.serializeAws_restJson1GetTaskTemplateCommand = exports.serializeAws_restJson1GetMetricDataCommand = exports.serializeAws_restJson1GetFederationTokenCommand = exports.serializeAws_restJson1GetCurrentUserDataCommand = exports.serializeAws_restJson1GetCurrentMetricDataCommand = exports.serializeAws_restJson1GetContactAttributesCommand = exports.serializeAws_restJson1DisassociateSecurityKeyCommand = exports.serializeAws_restJson1DisassociateRoutingProfileQueuesCommand = exports.serializeAws_restJson1DisassociateQueueQuickConnectsCommand = exports.serializeAws_restJson1DisassociatePhoneNumberContactFlowCommand = exports.serializeAws_restJson1DisassociateLexBotCommand = exports.serializeAws_restJson1DisassociateLambdaFunctionCommand = exports.serializeAws_restJson1DisassociateInstanceStorageConfigCommand = exports.serializeAws_restJson1DisassociateBotCommand = exports.serializeAws_restJson1DisassociateApprovedOriginCommand = exports.serializeAws_restJson1DescribeVocabularyCommand = exports.serializeAws_restJson1DescribeUserHierarchyStructureCommand = exports.serializeAws_restJson1DescribeUserHierarchyGroupCommand = exports.serializeAws_restJson1DescribeUserCommand = exports.serializeAws_restJson1DescribeSecurityProfileCommand = void 0;
5
- exports.serializeAws_restJson1UpdateUserHierarchyStructureCommand = exports.serializeAws_restJson1UpdateUserHierarchyGroupNameCommand = exports.serializeAws_restJson1UpdateUserHierarchyCommand = exports.serializeAws_restJson1UpdateTaskTemplateCommand = exports.serializeAws_restJson1UpdateSecurityProfileCommand = exports.serializeAws_restJson1UpdateRoutingProfileQueuesCommand = exports.serializeAws_restJson1UpdateRoutingProfileNameCommand = exports.serializeAws_restJson1UpdateRoutingProfileDefaultOutboundQueueCommand = exports.serializeAws_restJson1UpdateRoutingProfileConcurrencyCommand = exports.serializeAws_restJson1UpdateQuickConnectNameCommand = exports.serializeAws_restJson1UpdateQuickConnectConfigCommand = exports.serializeAws_restJson1UpdateQueueStatusCommand = exports.serializeAws_restJson1UpdateQueueOutboundCallerConfigCommand = exports.serializeAws_restJson1UpdateQueueNameCommand = exports.serializeAws_restJson1UpdateQueueMaxContactsCommand = exports.serializeAws_restJson1UpdateQueueHoursOfOperationCommand = exports.serializeAws_restJson1UpdatePhoneNumberCommand = exports.serializeAws_restJson1UpdateInstanceStorageConfigCommand = exports.serializeAws_restJson1UpdateInstanceAttributeCommand = exports.serializeAws_restJson1UpdateHoursOfOperationCommand = exports.serializeAws_restJson1UpdateContactScheduleCommand = exports.serializeAws_restJson1UpdateContactFlowNameCommand = exports.serializeAws_restJson1UpdateContactFlowModuleMetadataCommand = exports.serializeAws_restJson1UpdateContactFlowModuleContentCommand = exports.serializeAws_restJson1UpdateContactFlowMetadataCommand = exports.serializeAws_restJson1UpdateContactFlowContentCommand = exports.serializeAws_restJson1UpdateContactAttributesCommand = exports.serializeAws_restJson1UpdateContactCommand = exports.serializeAws_restJson1UpdateAgentStatusCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TransferContactCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1SuspendContactRecordingCommand = exports.serializeAws_restJson1StopContactStreamingCommand = exports.serializeAws_restJson1StopContactRecordingCommand = exports.serializeAws_restJson1StopContactCommand = exports.serializeAws_restJson1StartTaskContactCommand = exports.serializeAws_restJson1StartOutboundVoiceContactCommand = exports.serializeAws_restJson1StartContactStreamingCommand = exports.serializeAws_restJson1StartContactRecordingCommand = exports.serializeAws_restJson1StartChatContactCommand = exports.serializeAws_restJson1SearchVocabulariesCommand = exports.serializeAws_restJson1SearchUsersCommand = exports.serializeAws_restJson1SearchSecurityProfilesCommand = exports.serializeAws_restJson1SearchRoutingProfilesCommand = exports.serializeAws_restJson1SearchQueuesCommand = exports.serializeAws_restJson1SearchAvailablePhoneNumbersCommand = exports.serializeAws_restJson1ResumeContactRecordingCommand = exports.serializeAws_restJson1ReleasePhoneNumberCommand = exports.serializeAws_restJson1PutUserStatusCommand = void 0;
6
- exports.deserializeAws_restJson1DescribeInstanceStorageConfigCommand = exports.deserializeAws_restJson1DescribeInstanceAttributeCommand = exports.deserializeAws_restJson1DescribeInstanceCommand = exports.deserializeAws_restJson1DescribeHoursOfOperationCommand = exports.deserializeAws_restJson1DescribeContactFlowModuleCommand = exports.deserializeAws_restJson1DescribeContactFlowCommand = exports.deserializeAws_restJson1DescribeContactCommand = exports.deserializeAws_restJson1DescribeAgentStatusCommand = exports.deserializeAws_restJson1DeleteVocabularyCommand = exports.deserializeAws_restJson1DeleteUserHierarchyGroupCommand = exports.deserializeAws_restJson1DeleteUserCommand = exports.deserializeAws_restJson1DeleteUseCaseCommand = exports.deserializeAws_restJson1DeleteTaskTemplateCommand = exports.deserializeAws_restJson1DeleteSecurityProfileCommand = exports.deserializeAws_restJson1DeleteQuickConnectCommand = exports.deserializeAws_restJson1DeleteIntegrationAssociationCommand = exports.deserializeAws_restJson1DeleteInstanceCommand = exports.deserializeAws_restJson1DeleteHoursOfOperationCommand = exports.deserializeAws_restJson1DeleteContactFlowModuleCommand = exports.deserializeAws_restJson1DeleteContactFlowCommand = exports.deserializeAws_restJson1CreateVocabularyCommand = exports.deserializeAws_restJson1CreateUserHierarchyGroupCommand = exports.deserializeAws_restJson1CreateUserCommand = exports.deserializeAws_restJson1CreateUseCaseCommand = exports.deserializeAws_restJson1CreateTaskTemplateCommand = exports.deserializeAws_restJson1CreateSecurityProfileCommand = exports.deserializeAws_restJson1CreateRoutingProfileCommand = exports.deserializeAws_restJson1CreateQuickConnectCommand = exports.deserializeAws_restJson1CreateQueueCommand = exports.deserializeAws_restJson1CreateIntegrationAssociationCommand = exports.deserializeAws_restJson1CreateInstanceCommand = exports.deserializeAws_restJson1CreateHoursOfOperationCommand = exports.deserializeAws_restJson1CreateContactFlowModuleCommand = exports.deserializeAws_restJson1CreateContactFlowCommand = exports.deserializeAws_restJson1CreateAgentStatusCommand = exports.deserializeAws_restJson1ClaimPhoneNumberCommand = exports.deserializeAws_restJson1AssociateSecurityKeyCommand = exports.deserializeAws_restJson1AssociateRoutingProfileQueuesCommand = exports.deserializeAws_restJson1AssociateQueueQuickConnectsCommand = exports.deserializeAws_restJson1AssociatePhoneNumberContactFlowCommand = exports.deserializeAws_restJson1AssociateLexBotCommand = exports.deserializeAws_restJson1AssociateLambdaFunctionCommand = exports.deserializeAws_restJson1AssociateInstanceStorageConfigCommand = exports.deserializeAws_restJson1AssociateDefaultVocabularyCommand = exports.deserializeAws_restJson1AssociateBotCommand = exports.deserializeAws_restJson1AssociateApprovedOriginCommand = exports.serializeAws_restJson1UpdateUserSecurityProfilesCommand = exports.serializeAws_restJson1UpdateUserRoutingProfileCommand = exports.serializeAws_restJson1UpdateUserPhoneConfigCommand = exports.serializeAws_restJson1UpdateUserIdentityInfoCommand = void 0;
7
- exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListSecurityProfilesCommand = exports.deserializeAws_restJson1ListSecurityProfilePermissionsCommand = exports.deserializeAws_restJson1ListSecurityKeysCommand = exports.deserializeAws_restJson1ListRoutingProfilesCommand = exports.deserializeAws_restJson1ListRoutingProfileQueuesCommand = exports.deserializeAws_restJson1ListQuickConnectsCommand = exports.deserializeAws_restJson1ListQueuesCommand = exports.deserializeAws_restJson1ListQueueQuickConnectsCommand = exports.deserializeAws_restJson1ListPromptsCommand = exports.deserializeAws_restJson1ListPhoneNumbersV2Command = exports.deserializeAws_restJson1ListPhoneNumbersCommand = exports.deserializeAws_restJson1ListLexBotsCommand = exports.deserializeAws_restJson1ListLambdaFunctionsCommand = exports.deserializeAws_restJson1ListIntegrationAssociationsCommand = exports.deserializeAws_restJson1ListInstanceStorageConfigsCommand = exports.deserializeAws_restJson1ListInstancesCommand = exports.deserializeAws_restJson1ListInstanceAttributesCommand = exports.deserializeAws_restJson1ListHoursOfOperationsCommand = exports.deserializeAws_restJson1ListDefaultVocabulariesCommand = exports.deserializeAws_restJson1ListContactReferencesCommand = exports.deserializeAws_restJson1ListContactFlowsCommand = exports.deserializeAws_restJson1ListContactFlowModulesCommand = exports.deserializeAws_restJson1ListBotsCommand = exports.deserializeAws_restJson1ListApprovedOriginsCommand = exports.deserializeAws_restJson1ListAgentStatusesCommand = exports.deserializeAws_restJson1GetTaskTemplateCommand = exports.deserializeAws_restJson1GetMetricDataCommand = exports.deserializeAws_restJson1GetFederationTokenCommand = exports.deserializeAws_restJson1GetCurrentUserDataCommand = exports.deserializeAws_restJson1GetCurrentMetricDataCommand = exports.deserializeAws_restJson1GetContactAttributesCommand = exports.deserializeAws_restJson1DisassociateSecurityKeyCommand = exports.deserializeAws_restJson1DisassociateRoutingProfileQueuesCommand = exports.deserializeAws_restJson1DisassociateQueueQuickConnectsCommand = exports.deserializeAws_restJson1DisassociatePhoneNumberContactFlowCommand = exports.deserializeAws_restJson1DisassociateLexBotCommand = exports.deserializeAws_restJson1DisassociateLambdaFunctionCommand = exports.deserializeAws_restJson1DisassociateInstanceStorageConfigCommand = exports.deserializeAws_restJson1DisassociateBotCommand = exports.deserializeAws_restJson1DisassociateApprovedOriginCommand = exports.deserializeAws_restJson1DescribeVocabularyCommand = exports.deserializeAws_restJson1DescribeUserHierarchyStructureCommand = exports.deserializeAws_restJson1DescribeUserHierarchyGroupCommand = exports.deserializeAws_restJson1DescribeUserCommand = exports.deserializeAws_restJson1DescribeSecurityProfileCommand = exports.deserializeAws_restJson1DescribeRoutingProfileCommand = exports.deserializeAws_restJson1DescribeQuickConnectCommand = exports.deserializeAws_restJson1DescribeQueueCommand = exports.deserializeAws_restJson1DescribePhoneNumberCommand = void 0;
8
- exports.deserializeAws_restJson1UpdateSecurityProfileCommand = exports.deserializeAws_restJson1UpdateRoutingProfileQueuesCommand = exports.deserializeAws_restJson1UpdateRoutingProfileNameCommand = exports.deserializeAws_restJson1UpdateRoutingProfileDefaultOutboundQueueCommand = exports.deserializeAws_restJson1UpdateRoutingProfileConcurrencyCommand = exports.deserializeAws_restJson1UpdateQuickConnectNameCommand = exports.deserializeAws_restJson1UpdateQuickConnectConfigCommand = exports.deserializeAws_restJson1UpdateQueueStatusCommand = exports.deserializeAws_restJson1UpdateQueueOutboundCallerConfigCommand = exports.deserializeAws_restJson1UpdateQueueNameCommand = exports.deserializeAws_restJson1UpdateQueueMaxContactsCommand = exports.deserializeAws_restJson1UpdateQueueHoursOfOperationCommand = exports.deserializeAws_restJson1UpdatePhoneNumberCommand = exports.deserializeAws_restJson1UpdateInstanceStorageConfigCommand = exports.deserializeAws_restJson1UpdateInstanceAttributeCommand = exports.deserializeAws_restJson1UpdateHoursOfOperationCommand = exports.deserializeAws_restJson1UpdateContactScheduleCommand = exports.deserializeAws_restJson1UpdateContactFlowNameCommand = exports.deserializeAws_restJson1UpdateContactFlowModuleMetadataCommand = exports.deserializeAws_restJson1UpdateContactFlowModuleContentCommand = exports.deserializeAws_restJson1UpdateContactFlowMetadataCommand = exports.deserializeAws_restJson1UpdateContactFlowContentCommand = exports.deserializeAws_restJson1UpdateContactAttributesCommand = exports.deserializeAws_restJson1UpdateContactCommand = exports.deserializeAws_restJson1UpdateAgentStatusCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TransferContactCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1SuspendContactRecordingCommand = exports.deserializeAws_restJson1StopContactStreamingCommand = exports.deserializeAws_restJson1StopContactRecordingCommand = exports.deserializeAws_restJson1StopContactCommand = exports.deserializeAws_restJson1StartTaskContactCommand = exports.deserializeAws_restJson1StartOutboundVoiceContactCommand = exports.deserializeAws_restJson1StartContactStreamingCommand = exports.deserializeAws_restJson1StartContactRecordingCommand = exports.deserializeAws_restJson1StartChatContactCommand = exports.deserializeAws_restJson1SearchVocabulariesCommand = exports.deserializeAws_restJson1SearchUsersCommand = exports.deserializeAws_restJson1SearchSecurityProfilesCommand = exports.deserializeAws_restJson1SearchRoutingProfilesCommand = exports.deserializeAws_restJson1SearchQueuesCommand = exports.deserializeAws_restJson1SearchAvailablePhoneNumbersCommand = exports.deserializeAws_restJson1ResumeContactRecordingCommand = exports.deserializeAws_restJson1ReleasePhoneNumberCommand = exports.deserializeAws_restJson1PutUserStatusCommand = exports.deserializeAws_restJson1ListUsersCommand = exports.deserializeAws_restJson1ListUserHierarchyGroupsCommand = exports.deserializeAws_restJson1ListUseCasesCommand = exports.deserializeAws_restJson1ListTaskTemplatesCommand = void 0;
9
- exports.deserializeAws_restJson1UpdateUserSecurityProfilesCommand = exports.deserializeAws_restJson1UpdateUserRoutingProfileCommand = exports.deserializeAws_restJson1UpdateUserPhoneConfigCommand = exports.deserializeAws_restJson1UpdateUserIdentityInfoCommand = exports.deserializeAws_restJson1UpdateUserHierarchyStructureCommand = exports.deserializeAws_restJson1UpdateUserHierarchyGroupNameCommand = exports.deserializeAws_restJson1UpdateUserHierarchyCommand = exports.deserializeAws_restJson1UpdateTaskTemplateCommand = void 0;
3
+ exports.serializeAws_restJson1DescribeQueueCommand = exports.serializeAws_restJson1DescribePhoneNumberCommand = exports.serializeAws_restJson1DescribeInstanceStorageConfigCommand = exports.serializeAws_restJson1DescribeInstanceAttributeCommand = exports.serializeAws_restJson1DescribeInstanceCommand = exports.serializeAws_restJson1DescribeHoursOfOperationCommand = exports.serializeAws_restJson1DescribeContactFlowModuleCommand = exports.serializeAws_restJson1DescribeContactFlowCommand = exports.serializeAws_restJson1DescribeContactCommand = exports.serializeAws_restJson1DescribeAgentStatusCommand = exports.serializeAws_restJson1DeleteVocabularyCommand = exports.serializeAws_restJson1DeleteUserHierarchyGroupCommand = exports.serializeAws_restJson1DeleteUserCommand = exports.serializeAws_restJson1DeleteUseCaseCommand = exports.serializeAws_restJson1DeleteTrafficDistributionGroupCommand = exports.serializeAws_restJson1DeleteTaskTemplateCommand = exports.serializeAws_restJson1DeleteSecurityProfileCommand = exports.serializeAws_restJson1DeleteQuickConnectCommand = exports.serializeAws_restJson1DeleteIntegrationAssociationCommand = exports.serializeAws_restJson1DeleteInstanceCommand = exports.serializeAws_restJson1DeleteHoursOfOperationCommand = exports.serializeAws_restJson1DeleteContactFlowModuleCommand = exports.serializeAws_restJson1DeleteContactFlowCommand = exports.serializeAws_restJson1CreateVocabularyCommand = exports.serializeAws_restJson1CreateUserHierarchyGroupCommand = exports.serializeAws_restJson1CreateUserCommand = exports.serializeAws_restJson1CreateUseCaseCommand = exports.serializeAws_restJson1CreateTrafficDistributionGroupCommand = exports.serializeAws_restJson1CreateTaskTemplateCommand = exports.serializeAws_restJson1CreateSecurityProfileCommand = exports.serializeAws_restJson1CreateRoutingProfileCommand = exports.serializeAws_restJson1CreateQuickConnectCommand = exports.serializeAws_restJson1CreateQueueCommand = exports.serializeAws_restJson1CreateIntegrationAssociationCommand = exports.serializeAws_restJson1CreateInstanceCommand = exports.serializeAws_restJson1CreateHoursOfOperationCommand = exports.serializeAws_restJson1CreateContactFlowModuleCommand = exports.serializeAws_restJson1CreateContactFlowCommand = exports.serializeAws_restJson1CreateAgentStatusCommand = exports.serializeAws_restJson1ClaimPhoneNumberCommand = exports.serializeAws_restJson1AssociateSecurityKeyCommand = exports.serializeAws_restJson1AssociateRoutingProfileQueuesCommand = exports.serializeAws_restJson1AssociateQueueQuickConnectsCommand = exports.serializeAws_restJson1AssociatePhoneNumberContactFlowCommand = exports.serializeAws_restJson1AssociateLexBotCommand = exports.serializeAws_restJson1AssociateLambdaFunctionCommand = exports.serializeAws_restJson1AssociateInstanceStorageConfigCommand = exports.serializeAws_restJson1AssociateDefaultVocabularyCommand = exports.serializeAws_restJson1AssociateBotCommand = exports.serializeAws_restJson1AssociateApprovedOriginCommand = void 0;
4
+ exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListSecurityProfilesCommand = exports.serializeAws_restJson1ListSecurityProfilePermissionsCommand = exports.serializeAws_restJson1ListSecurityKeysCommand = exports.serializeAws_restJson1ListRoutingProfilesCommand = exports.serializeAws_restJson1ListRoutingProfileQueuesCommand = exports.serializeAws_restJson1ListQuickConnectsCommand = exports.serializeAws_restJson1ListQueuesCommand = exports.serializeAws_restJson1ListQueueQuickConnectsCommand = exports.serializeAws_restJson1ListPromptsCommand = exports.serializeAws_restJson1ListPhoneNumbersV2Command = exports.serializeAws_restJson1ListPhoneNumbersCommand = exports.serializeAws_restJson1ListLexBotsCommand = exports.serializeAws_restJson1ListLambdaFunctionsCommand = exports.serializeAws_restJson1ListIntegrationAssociationsCommand = exports.serializeAws_restJson1ListInstanceStorageConfigsCommand = exports.serializeAws_restJson1ListInstancesCommand = exports.serializeAws_restJson1ListInstanceAttributesCommand = exports.serializeAws_restJson1ListHoursOfOperationsCommand = exports.serializeAws_restJson1ListDefaultVocabulariesCommand = exports.serializeAws_restJson1ListContactReferencesCommand = exports.serializeAws_restJson1ListContactFlowsCommand = exports.serializeAws_restJson1ListContactFlowModulesCommand = exports.serializeAws_restJson1ListBotsCommand = exports.serializeAws_restJson1ListApprovedOriginsCommand = exports.serializeAws_restJson1ListAgentStatusesCommand = exports.serializeAws_restJson1GetTrafficDistributionCommand = exports.serializeAws_restJson1GetTaskTemplateCommand = exports.serializeAws_restJson1GetMetricDataCommand = exports.serializeAws_restJson1GetFederationTokenCommand = exports.serializeAws_restJson1GetCurrentUserDataCommand = exports.serializeAws_restJson1GetCurrentMetricDataCommand = exports.serializeAws_restJson1GetContactAttributesCommand = exports.serializeAws_restJson1DisassociateSecurityKeyCommand = exports.serializeAws_restJson1DisassociateRoutingProfileQueuesCommand = exports.serializeAws_restJson1DisassociateQueueQuickConnectsCommand = exports.serializeAws_restJson1DisassociatePhoneNumberContactFlowCommand = exports.serializeAws_restJson1DisassociateLexBotCommand = exports.serializeAws_restJson1DisassociateLambdaFunctionCommand = exports.serializeAws_restJson1DisassociateInstanceStorageConfigCommand = exports.serializeAws_restJson1DisassociateBotCommand = exports.serializeAws_restJson1DisassociateApprovedOriginCommand = exports.serializeAws_restJson1DescribeVocabularyCommand = exports.serializeAws_restJson1DescribeUserHierarchyStructureCommand = exports.serializeAws_restJson1DescribeUserHierarchyGroupCommand = exports.serializeAws_restJson1DescribeUserCommand = exports.serializeAws_restJson1DescribeTrafficDistributionGroupCommand = exports.serializeAws_restJson1DescribeSecurityProfileCommand = exports.serializeAws_restJson1DescribeRoutingProfileCommand = exports.serializeAws_restJson1DescribeQuickConnectCommand = void 0;
5
+ exports.serializeAws_restJson1UpdateRoutingProfileNameCommand = exports.serializeAws_restJson1UpdateRoutingProfileDefaultOutboundQueueCommand = exports.serializeAws_restJson1UpdateRoutingProfileConcurrencyCommand = exports.serializeAws_restJson1UpdateQuickConnectNameCommand = exports.serializeAws_restJson1UpdateQuickConnectConfigCommand = exports.serializeAws_restJson1UpdateQueueStatusCommand = exports.serializeAws_restJson1UpdateQueueOutboundCallerConfigCommand = exports.serializeAws_restJson1UpdateQueueNameCommand = exports.serializeAws_restJson1UpdateQueueMaxContactsCommand = exports.serializeAws_restJson1UpdateQueueHoursOfOperationCommand = exports.serializeAws_restJson1UpdatePhoneNumberCommand = exports.serializeAws_restJson1UpdateInstanceStorageConfigCommand = exports.serializeAws_restJson1UpdateInstanceAttributeCommand = exports.serializeAws_restJson1UpdateHoursOfOperationCommand = exports.serializeAws_restJson1UpdateContactScheduleCommand = exports.serializeAws_restJson1UpdateContactFlowNameCommand = exports.serializeAws_restJson1UpdateContactFlowModuleMetadataCommand = exports.serializeAws_restJson1UpdateContactFlowModuleContentCommand = exports.serializeAws_restJson1UpdateContactFlowMetadataCommand = exports.serializeAws_restJson1UpdateContactFlowContentCommand = exports.serializeAws_restJson1UpdateContactAttributesCommand = exports.serializeAws_restJson1UpdateContactCommand = exports.serializeAws_restJson1UpdateAgentStatusCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TransferContactCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1SuspendContactRecordingCommand = exports.serializeAws_restJson1StopContactStreamingCommand = exports.serializeAws_restJson1StopContactRecordingCommand = exports.serializeAws_restJson1StopContactCommand = exports.serializeAws_restJson1StartTaskContactCommand = exports.serializeAws_restJson1StartOutboundVoiceContactCommand = exports.serializeAws_restJson1StartContactStreamingCommand = exports.serializeAws_restJson1StartContactRecordingCommand = exports.serializeAws_restJson1StartChatContactCommand = exports.serializeAws_restJson1SearchVocabulariesCommand = exports.serializeAws_restJson1SearchUsersCommand = exports.serializeAws_restJson1SearchSecurityProfilesCommand = exports.serializeAws_restJson1SearchRoutingProfilesCommand = exports.serializeAws_restJson1SearchQueuesCommand = exports.serializeAws_restJson1SearchAvailablePhoneNumbersCommand = exports.serializeAws_restJson1ResumeContactRecordingCommand = exports.serializeAws_restJson1ReplicateInstanceCommand = exports.serializeAws_restJson1ReleasePhoneNumberCommand = exports.serializeAws_restJson1PutUserStatusCommand = exports.serializeAws_restJson1ListUsersCommand = exports.serializeAws_restJson1ListUserHierarchyGroupsCommand = exports.serializeAws_restJson1ListUseCasesCommand = exports.serializeAws_restJson1ListTrafficDistributionGroupsCommand = exports.serializeAws_restJson1ListTaskTemplatesCommand = void 0;
6
+ exports.deserializeAws_restJson1DeleteUserHierarchyGroupCommand = exports.deserializeAws_restJson1DeleteUserCommand = exports.deserializeAws_restJson1DeleteUseCaseCommand = exports.deserializeAws_restJson1DeleteTrafficDistributionGroupCommand = exports.deserializeAws_restJson1DeleteTaskTemplateCommand = exports.deserializeAws_restJson1DeleteSecurityProfileCommand = exports.deserializeAws_restJson1DeleteQuickConnectCommand = exports.deserializeAws_restJson1DeleteIntegrationAssociationCommand = exports.deserializeAws_restJson1DeleteInstanceCommand = exports.deserializeAws_restJson1DeleteHoursOfOperationCommand = exports.deserializeAws_restJson1DeleteContactFlowModuleCommand = exports.deserializeAws_restJson1DeleteContactFlowCommand = exports.deserializeAws_restJson1CreateVocabularyCommand = exports.deserializeAws_restJson1CreateUserHierarchyGroupCommand = exports.deserializeAws_restJson1CreateUserCommand = exports.deserializeAws_restJson1CreateUseCaseCommand = exports.deserializeAws_restJson1CreateTrafficDistributionGroupCommand = exports.deserializeAws_restJson1CreateTaskTemplateCommand = exports.deserializeAws_restJson1CreateSecurityProfileCommand = exports.deserializeAws_restJson1CreateRoutingProfileCommand = exports.deserializeAws_restJson1CreateQuickConnectCommand = exports.deserializeAws_restJson1CreateQueueCommand = exports.deserializeAws_restJson1CreateIntegrationAssociationCommand = exports.deserializeAws_restJson1CreateInstanceCommand = exports.deserializeAws_restJson1CreateHoursOfOperationCommand = exports.deserializeAws_restJson1CreateContactFlowModuleCommand = exports.deserializeAws_restJson1CreateContactFlowCommand = exports.deserializeAws_restJson1CreateAgentStatusCommand = exports.deserializeAws_restJson1ClaimPhoneNumberCommand = exports.deserializeAws_restJson1AssociateSecurityKeyCommand = exports.deserializeAws_restJson1AssociateRoutingProfileQueuesCommand = exports.deserializeAws_restJson1AssociateQueueQuickConnectsCommand = exports.deserializeAws_restJson1AssociatePhoneNumberContactFlowCommand = exports.deserializeAws_restJson1AssociateLexBotCommand = exports.deserializeAws_restJson1AssociateLambdaFunctionCommand = exports.deserializeAws_restJson1AssociateInstanceStorageConfigCommand = exports.deserializeAws_restJson1AssociateDefaultVocabularyCommand = exports.deserializeAws_restJson1AssociateBotCommand = exports.deserializeAws_restJson1AssociateApprovedOriginCommand = exports.serializeAws_restJson1UpdateUserSecurityProfilesCommand = exports.serializeAws_restJson1UpdateUserRoutingProfileCommand = exports.serializeAws_restJson1UpdateUserPhoneConfigCommand = exports.serializeAws_restJson1UpdateUserIdentityInfoCommand = exports.serializeAws_restJson1UpdateUserHierarchyStructureCommand = exports.serializeAws_restJson1UpdateUserHierarchyGroupNameCommand = exports.serializeAws_restJson1UpdateUserHierarchyCommand = exports.serializeAws_restJson1UpdateTrafficDistributionCommand = exports.serializeAws_restJson1UpdateTaskTemplateCommand = exports.serializeAws_restJson1UpdateSecurityProfileCommand = exports.serializeAws_restJson1UpdateRoutingProfileQueuesCommand = void 0;
7
+ exports.deserializeAws_restJson1ListPhoneNumbersCommand = exports.deserializeAws_restJson1ListLexBotsCommand = exports.deserializeAws_restJson1ListLambdaFunctionsCommand = exports.deserializeAws_restJson1ListIntegrationAssociationsCommand = exports.deserializeAws_restJson1ListInstanceStorageConfigsCommand = exports.deserializeAws_restJson1ListInstancesCommand = exports.deserializeAws_restJson1ListInstanceAttributesCommand = exports.deserializeAws_restJson1ListHoursOfOperationsCommand = exports.deserializeAws_restJson1ListDefaultVocabulariesCommand = exports.deserializeAws_restJson1ListContactReferencesCommand = exports.deserializeAws_restJson1ListContactFlowsCommand = exports.deserializeAws_restJson1ListContactFlowModulesCommand = exports.deserializeAws_restJson1ListBotsCommand = exports.deserializeAws_restJson1ListApprovedOriginsCommand = exports.deserializeAws_restJson1ListAgentStatusesCommand = exports.deserializeAws_restJson1GetTrafficDistributionCommand = exports.deserializeAws_restJson1GetTaskTemplateCommand = exports.deserializeAws_restJson1GetMetricDataCommand = exports.deserializeAws_restJson1GetFederationTokenCommand = exports.deserializeAws_restJson1GetCurrentUserDataCommand = exports.deserializeAws_restJson1GetCurrentMetricDataCommand = exports.deserializeAws_restJson1GetContactAttributesCommand = exports.deserializeAws_restJson1DisassociateSecurityKeyCommand = exports.deserializeAws_restJson1DisassociateRoutingProfileQueuesCommand = exports.deserializeAws_restJson1DisassociateQueueQuickConnectsCommand = exports.deserializeAws_restJson1DisassociatePhoneNumberContactFlowCommand = exports.deserializeAws_restJson1DisassociateLexBotCommand = exports.deserializeAws_restJson1DisassociateLambdaFunctionCommand = exports.deserializeAws_restJson1DisassociateInstanceStorageConfigCommand = exports.deserializeAws_restJson1DisassociateBotCommand = exports.deserializeAws_restJson1DisassociateApprovedOriginCommand = exports.deserializeAws_restJson1DescribeVocabularyCommand = exports.deserializeAws_restJson1DescribeUserHierarchyStructureCommand = exports.deserializeAws_restJson1DescribeUserHierarchyGroupCommand = exports.deserializeAws_restJson1DescribeUserCommand = exports.deserializeAws_restJson1DescribeTrafficDistributionGroupCommand = exports.deserializeAws_restJson1DescribeSecurityProfileCommand = exports.deserializeAws_restJson1DescribeRoutingProfileCommand = exports.deserializeAws_restJson1DescribeQuickConnectCommand = exports.deserializeAws_restJson1DescribeQueueCommand = exports.deserializeAws_restJson1DescribePhoneNumberCommand = exports.deserializeAws_restJson1DescribeInstanceStorageConfigCommand = exports.deserializeAws_restJson1DescribeInstanceAttributeCommand = exports.deserializeAws_restJson1DescribeInstanceCommand = exports.deserializeAws_restJson1DescribeHoursOfOperationCommand = exports.deserializeAws_restJson1DescribeContactFlowModuleCommand = exports.deserializeAws_restJson1DescribeContactFlowCommand = exports.deserializeAws_restJson1DescribeContactCommand = exports.deserializeAws_restJson1DescribeAgentStatusCommand = exports.deserializeAws_restJson1DeleteVocabularyCommand = void 0;
8
+ exports.deserializeAws_restJson1UpdateInstanceStorageConfigCommand = exports.deserializeAws_restJson1UpdateInstanceAttributeCommand = exports.deserializeAws_restJson1UpdateHoursOfOperationCommand = exports.deserializeAws_restJson1UpdateContactScheduleCommand = exports.deserializeAws_restJson1UpdateContactFlowNameCommand = exports.deserializeAws_restJson1UpdateContactFlowModuleMetadataCommand = exports.deserializeAws_restJson1UpdateContactFlowModuleContentCommand = exports.deserializeAws_restJson1UpdateContactFlowMetadataCommand = exports.deserializeAws_restJson1UpdateContactFlowContentCommand = exports.deserializeAws_restJson1UpdateContactAttributesCommand = exports.deserializeAws_restJson1UpdateContactCommand = exports.deserializeAws_restJson1UpdateAgentStatusCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TransferContactCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1SuspendContactRecordingCommand = exports.deserializeAws_restJson1StopContactStreamingCommand = exports.deserializeAws_restJson1StopContactRecordingCommand = exports.deserializeAws_restJson1StopContactCommand = exports.deserializeAws_restJson1StartTaskContactCommand = exports.deserializeAws_restJson1StartOutboundVoiceContactCommand = exports.deserializeAws_restJson1StartContactStreamingCommand = exports.deserializeAws_restJson1StartContactRecordingCommand = exports.deserializeAws_restJson1StartChatContactCommand = exports.deserializeAws_restJson1SearchVocabulariesCommand = exports.deserializeAws_restJson1SearchUsersCommand = exports.deserializeAws_restJson1SearchSecurityProfilesCommand = exports.deserializeAws_restJson1SearchRoutingProfilesCommand = exports.deserializeAws_restJson1SearchQueuesCommand = exports.deserializeAws_restJson1SearchAvailablePhoneNumbersCommand = exports.deserializeAws_restJson1ResumeContactRecordingCommand = exports.deserializeAws_restJson1ReplicateInstanceCommand = exports.deserializeAws_restJson1ReleasePhoneNumberCommand = exports.deserializeAws_restJson1PutUserStatusCommand = exports.deserializeAws_restJson1ListUsersCommand = exports.deserializeAws_restJson1ListUserHierarchyGroupsCommand = exports.deserializeAws_restJson1ListUseCasesCommand = exports.deserializeAws_restJson1ListTrafficDistributionGroupsCommand = exports.deserializeAws_restJson1ListTaskTemplatesCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListSecurityProfilesCommand = exports.deserializeAws_restJson1ListSecurityProfilePermissionsCommand = exports.deserializeAws_restJson1ListSecurityKeysCommand = exports.deserializeAws_restJson1ListRoutingProfilesCommand = exports.deserializeAws_restJson1ListRoutingProfileQueuesCommand = exports.deserializeAws_restJson1ListQuickConnectsCommand = exports.deserializeAws_restJson1ListQueuesCommand = exports.deserializeAws_restJson1ListQueueQuickConnectsCommand = exports.deserializeAws_restJson1ListPromptsCommand = exports.deserializeAws_restJson1ListPhoneNumbersV2Command = void 0;
9
+ exports.deserializeAws_restJson1UpdateUserSecurityProfilesCommand = exports.deserializeAws_restJson1UpdateUserRoutingProfileCommand = exports.deserializeAws_restJson1UpdateUserPhoneConfigCommand = exports.deserializeAws_restJson1UpdateUserIdentityInfoCommand = exports.deserializeAws_restJson1UpdateUserHierarchyStructureCommand = exports.deserializeAws_restJson1UpdateUserHierarchyGroupNameCommand = exports.deserializeAws_restJson1UpdateUserHierarchyCommand = exports.deserializeAws_restJson1UpdateTrafficDistributionCommand = exports.deserializeAws_restJson1UpdateTaskTemplateCommand = exports.deserializeAws_restJson1UpdateSecurityProfileCommand = exports.deserializeAws_restJson1UpdateRoutingProfileQueuesCommand = exports.deserializeAws_restJson1UpdateRoutingProfileNameCommand = exports.deserializeAws_restJson1UpdateRoutingProfileDefaultOutboundQueueCommand = exports.deserializeAws_restJson1UpdateRoutingProfileConcurrencyCommand = exports.deserializeAws_restJson1UpdateQuickConnectNameCommand = exports.deserializeAws_restJson1UpdateQuickConnectConfigCommand = exports.deserializeAws_restJson1UpdateQueueStatusCommand = exports.deserializeAws_restJson1UpdateQueueOutboundCallerConfigCommand = exports.deserializeAws_restJson1UpdateQueueNameCommand = exports.deserializeAws_restJson1UpdateQueueMaxContactsCommand = exports.deserializeAws_restJson1UpdateQueueHoursOfOperationCommand = exports.deserializeAws_restJson1UpdatePhoneNumberCommand = void 0;
10
10
  const protocol_http_1 = require("@aws-sdk/protocol-http");
11
11
  const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const uuid_1 = require("uuid");
@@ -583,6 +583,32 @@ const serializeAws_restJson1CreateTaskTemplateCommand = async (input, context) =
583
583
  });
584
584
  };
585
585
  exports.serializeAws_restJson1CreateTaskTemplateCommand = serializeAws_restJson1CreateTaskTemplateCommand;
586
+ const serializeAws_restJson1CreateTrafficDistributionGroupCommand = async (input, context) => {
587
+ var _a;
588
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
589
+ const headers = {
590
+ "content-type": "application/json",
591
+ };
592
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/traffic-distribution-group";
593
+ let body;
594
+ body = JSON.stringify({
595
+ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
596
+ ...(input.Description != null && { Description: input.Description }),
597
+ ...(input.InstanceId != null && { InstanceId: input.InstanceId }),
598
+ ...(input.Name != null && { Name: input.Name }),
599
+ ...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
600
+ });
601
+ return new protocol_http_1.HttpRequest({
602
+ protocol,
603
+ hostname,
604
+ port,
605
+ method: "PUT",
606
+ headers,
607
+ path: resolvedPath,
608
+ body,
609
+ });
610
+ };
611
+ exports.serializeAws_restJson1CreateTrafficDistributionGroupCommand = serializeAws_restJson1CreateTrafficDistributionGroupCommand;
586
612
  const serializeAws_restJson1CreateUseCaseCommand = async (input, context) => {
587
613
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
588
614
  const headers = {
@@ -845,6 +871,24 @@ const serializeAws_restJson1DeleteTaskTemplateCommand = async (input, context) =
845
871
  });
846
872
  };
847
873
  exports.serializeAws_restJson1DeleteTaskTemplateCommand = serializeAws_restJson1DeleteTaskTemplateCommand;
874
+ const serializeAws_restJson1DeleteTrafficDistributionGroupCommand = async (input, context) => {
875
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
876
+ const headers = {};
877
+ let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
878
+ "/traffic-distribution-group/{TrafficDistributionGroupId}";
879
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "TrafficDistributionGroupId", () => input.TrafficDistributionGroupId, "{TrafficDistributionGroupId}", false);
880
+ let body;
881
+ return new protocol_http_1.HttpRequest({
882
+ protocol,
883
+ hostname,
884
+ port,
885
+ method: "DELETE",
886
+ headers,
887
+ path: resolvedPath,
888
+ body,
889
+ });
890
+ };
891
+ exports.serializeAws_restJson1DeleteTrafficDistributionGroupCommand = serializeAws_restJson1DeleteTrafficDistributionGroupCommand;
848
892
  const serializeAws_restJson1DeleteUseCaseCommand = async (input, context) => {
849
893
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
850
894
  const headers = {};
@@ -1166,6 +1210,24 @@ const serializeAws_restJson1DescribeSecurityProfileCommand = async (input, conte
1166
1210
  });
1167
1211
  };
1168
1212
  exports.serializeAws_restJson1DescribeSecurityProfileCommand = serializeAws_restJson1DescribeSecurityProfileCommand;
1213
+ const serializeAws_restJson1DescribeTrafficDistributionGroupCommand = async (input, context) => {
1214
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1215
+ const headers = {};
1216
+ let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
1217
+ "/traffic-distribution-group/{TrafficDistributionGroupId}";
1218
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "TrafficDistributionGroupId", () => input.TrafficDistributionGroupId, "{TrafficDistributionGroupId}", false);
1219
+ let body;
1220
+ return new protocol_http_1.HttpRequest({
1221
+ protocol,
1222
+ hostname,
1223
+ port,
1224
+ method: "GET",
1225
+ headers,
1226
+ path: resolvedPath,
1227
+ body,
1228
+ });
1229
+ };
1230
+ exports.serializeAws_restJson1DescribeTrafficDistributionGroupCommand = serializeAws_restJson1DescribeTrafficDistributionGroupCommand;
1169
1231
  const serializeAws_restJson1DescribeUserCommand = async (input, context) => {
1170
1232
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1171
1233
  const headers = {};
@@ -1582,6 +1644,23 @@ const serializeAws_restJson1GetTaskTemplateCommand = async (input, context) => {
1582
1644
  });
1583
1645
  };
1584
1646
  exports.serializeAws_restJson1GetTaskTemplateCommand = serializeAws_restJson1GetTaskTemplateCommand;
1647
+ const serializeAws_restJson1GetTrafficDistributionCommand = async (input, context) => {
1648
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1649
+ const headers = {};
1650
+ let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/traffic-distribution/{Id}";
1651
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Id", () => input.Id, "{Id}", false);
1652
+ let body;
1653
+ return new protocol_http_1.HttpRequest({
1654
+ protocol,
1655
+ hostname,
1656
+ port,
1657
+ method: "GET",
1658
+ headers,
1659
+ path: resolvedPath,
1660
+ body,
1661
+ });
1662
+ };
1663
+ exports.serializeAws_restJson1GetTrafficDistributionCommand = serializeAws_restJson1GetTrafficDistributionCommand;
1585
1664
  const serializeAws_restJson1ListAgentStatusesCommand = async (input, context) => {
1586
1665
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1587
1666
  const headers = {};
@@ -2220,6 +2299,28 @@ const serializeAws_restJson1ListTaskTemplatesCommand = async (input, context) =>
2220
2299
  });
2221
2300
  };
2222
2301
  exports.serializeAws_restJson1ListTaskTemplatesCommand = serializeAws_restJson1ListTaskTemplatesCommand;
2302
+ const serializeAws_restJson1ListTrafficDistributionGroupsCommand = async (input, context) => {
2303
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2304
+ const headers = {};
2305
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/traffic-distribution-groups";
2306
+ const query = map({
2307
+ maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
2308
+ nextToken: [, input.NextToken],
2309
+ instanceId: [, input.InstanceId],
2310
+ });
2311
+ let body;
2312
+ return new protocol_http_1.HttpRequest({
2313
+ protocol,
2314
+ hostname,
2315
+ port,
2316
+ method: "GET",
2317
+ headers,
2318
+ path: resolvedPath,
2319
+ query,
2320
+ body,
2321
+ });
2322
+ };
2323
+ exports.serializeAws_restJson1ListTrafficDistributionGroupsCommand = serializeAws_restJson1ListTrafficDistributionGroupsCommand;
2223
2324
  const serializeAws_restJson1ListUseCasesCommand = async (input, context) => {
2224
2325
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2225
2326
  const headers = {};
@@ -2333,6 +2434,31 @@ const serializeAws_restJson1ReleasePhoneNumberCommand = async (input, context) =
2333
2434
  });
2334
2435
  };
2335
2436
  exports.serializeAws_restJson1ReleasePhoneNumberCommand = serializeAws_restJson1ReleasePhoneNumberCommand;
2437
+ const serializeAws_restJson1ReplicateInstanceCommand = async (input, context) => {
2438
+ var _a;
2439
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2440
+ const headers = {
2441
+ "content-type": "application/json",
2442
+ };
2443
+ let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/instance/{InstanceId}/replicate";
2444
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "InstanceId", () => input.InstanceId, "{InstanceId}", false);
2445
+ let body;
2446
+ body = JSON.stringify({
2447
+ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
2448
+ ...(input.ReplicaAlias != null && { ReplicaAlias: input.ReplicaAlias }),
2449
+ ...(input.ReplicaRegion != null && { ReplicaRegion: input.ReplicaRegion }),
2450
+ });
2451
+ return new protocol_http_1.HttpRequest({
2452
+ protocol,
2453
+ hostname,
2454
+ port,
2455
+ method: "POST",
2456
+ headers,
2457
+ path: resolvedPath,
2458
+ body,
2459
+ });
2460
+ };
2461
+ exports.serializeAws_restJson1ReplicateInstanceCommand = serializeAws_restJson1ReplicateInstanceCommand;
2336
2462
  const serializeAws_restJson1ResumeContactRecordingCommand = async (input, context) => {
2337
2463
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2338
2464
  const headers = {
@@ -3499,6 +3625,30 @@ const serializeAws_restJson1UpdateTaskTemplateCommand = async (input, context) =
3499
3625
  });
3500
3626
  };
3501
3627
  exports.serializeAws_restJson1UpdateTaskTemplateCommand = serializeAws_restJson1UpdateTaskTemplateCommand;
3628
+ const serializeAws_restJson1UpdateTrafficDistributionCommand = async (input, context) => {
3629
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3630
+ const headers = {
3631
+ "content-type": "application/json",
3632
+ };
3633
+ let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/traffic-distribution/{Id}";
3634
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Id", () => input.Id, "{Id}", false);
3635
+ let body;
3636
+ body = JSON.stringify({
3637
+ ...(input.TelephonyConfig != null && {
3638
+ TelephonyConfig: serializeAws_restJson1TelephonyConfig(input.TelephonyConfig, context),
3639
+ }),
3640
+ });
3641
+ return new protocol_http_1.HttpRequest({
3642
+ protocol,
3643
+ hostname,
3644
+ port,
3645
+ method: "PUT",
3646
+ headers,
3647
+ path: resolvedPath,
3648
+ body,
3649
+ });
3650
+ };
3651
+ exports.serializeAws_restJson1UpdateTrafficDistributionCommand = serializeAws_restJson1UpdateTrafficDistributionCommand;
3502
3652
  const serializeAws_restJson1UpdateUserHierarchyCommand = async (input, context) => {
3503
3653
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3504
3654
  const headers = {
@@ -4797,6 +4947,64 @@ const deserializeAws_restJson1CreateTaskTemplateCommandError = async (output, co
4797
4947
  });
4798
4948
  }
4799
4949
  };
4950
+ const deserializeAws_restJson1CreateTrafficDistributionGroupCommand = async (output, context) => {
4951
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
4952
+ return deserializeAws_restJson1CreateTrafficDistributionGroupCommandError(output, context);
4953
+ }
4954
+ const contents = map({
4955
+ $metadata: deserializeMetadata(output),
4956
+ });
4957
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4958
+ if (data.Arn != null) {
4959
+ contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
4960
+ }
4961
+ if (data.Id != null) {
4962
+ contents.Id = (0, smithy_client_1.expectString)(data.Id);
4963
+ }
4964
+ return contents;
4965
+ };
4966
+ exports.deserializeAws_restJson1CreateTrafficDistributionGroupCommand = deserializeAws_restJson1CreateTrafficDistributionGroupCommand;
4967
+ const deserializeAws_restJson1CreateTrafficDistributionGroupCommandError = async (output, context) => {
4968
+ const parsedOutput = {
4969
+ ...output,
4970
+ body: await parseErrorBody(output.body, context),
4971
+ };
4972
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4973
+ switch (errorCode) {
4974
+ case "AccessDeniedException":
4975
+ case "com.amazonaws.connect#AccessDeniedException":
4976
+ throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
4977
+ case "InternalServiceException":
4978
+ case "com.amazonaws.connect#InternalServiceException":
4979
+ throw await deserializeAws_restJson1InternalServiceExceptionResponse(parsedOutput, context);
4980
+ case "InvalidRequestException":
4981
+ case "com.amazonaws.connect#InvalidRequestException":
4982
+ throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
4983
+ case "ResourceConflictException":
4984
+ case "com.amazonaws.connect#ResourceConflictException":
4985
+ throw await deserializeAws_restJson1ResourceConflictExceptionResponse(parsedOutput, context);
4986
+ case "ResourceNotFoundException":
4987
+ case "com.amazonaws.connect#ResourceNotFoundException":
4988
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
4989
+ case "ResourceNotReadyException":
4990
+ case "com.amazonaws.connect#ResourceNotReadyException":
4991
+ throw await deserializeAws_restJson1ResourceNotReadyExceptionResponse(parsedOutput, context);
4992
+ case "ServiceQuotaExceededException":
4993
+ case "com.amazonaws.connect#ServiceQuotaExceededException":
4994
+ throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
4995
+ case "ThrottlingException":
4996
+ case "com.amazonaws.connect#ThrottlingException":
4997
+ throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
4998
+ default:
4999
+ const parsedBody = parsedOutput.body;
5000
+ (0, smithy_client_1.throwDefaultError)({
5001
+ output,
5002
+ parsedBody,
5003
+ exceptionCtor: ConnectServiceException_1.ConnectServiceException,
5004
+ errorCode,
5005
+ });
5006
+ }
5007
+ };
4800
5008
  const deserializeAws_restJson1CreateUseCaseCommand = async (output, context) => {
4801
5009
  if (output.statusCode !== 200 && output.statusCode >= 300) {
4802
5010
  return deserializeAws_restJson1CreateUseCaseCommandError(output, context);
@@ -5361,6 +5569,49 @@ const deserializeAws_restJson1DeleteTaskTemplateCommandError = async (output, co
5361
5569
  });
5362
5570
  }
5363
5571
  };
5572
+ const deserializeAws_restJson1DeleteTrafficDistributionGroupCommand = async (output, context) => {
5573
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
5574
+ return deserializeAws_restJson1DeleteTrafficDistributionGroupCommandError(output, context);
5575
+ }
5576
+ const contents = map({
5577
+ $metadata: deserializeMetadata(output),
5578
+ });
5579
+ await collectBody(output.body, context);
5580
+ return contents;
5581
+ };
5582
+ exports.deserializeAws_restJson1DeleteTrafficDistributionGroupCommand = deserializeAws_restJson1DeleteTrafficDistributionGroupCommand;
5583
+ const deserializeAws_restJson1DeleteTrafficDistributionGroupCommandError = async (output, context) => {
5584
+ const parsedOutput = {
5585
+ ...output,
5586
+ body: await parseErrorBody(output.body, context),
5587
+ };
5588
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
5589
+ switch (errorCode) {
5590
+ case "AccessDeniedException":
5591
+ case "com.amazonaws.connect#AccessDeniedException":
5592
+ throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
5593
+ case "InternalServiceException":
5594
+ case "com.amazonaws.connect#InternalServiceException":
5595
+ throw await deserializeAws_restJson1InternalServiceExceptionResponse(parsedOutput, context);
5596
+ case "InvalidRequestException":
5597
+ case "com.amazonaws.connect#InvalidRequestException":
5598
+ throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
5599
+ case "ResourceInUseException":
5600
+ case "com.amazonaws.connect#ResourceInUseException":
5601
+ throw await deserializeAws_restJson1ResourceInUseExceptionResponse(parsedOutput, context);
5602
+ case "ThrottlingException":
5603
+ case "com.amazonaws.connect#ThrottlingException":
5604
+ throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
5605
+ default:
5606
+ const parsedBody = parsedOutput.body;
5607
+ (0, smithy_client_1.throwDefaultError)({
5608
+ output,
5609
+ parsedBody,
5610
+ exceptionCtor: ConnectServiceException_1.ConnectServiceException,
5611
+ errorCode,
5612
+ });
5613
+ }
5614
+ };
5364
5615
  const deserializeAws_restJson1DeleteUseCaseCommand = async (output, context) => {
5365
5616
  if (output.statusCode !== 200 && output.statusCode >= 300) {
5366
5617
  return deserializeAws_restJson1DeleteUseCaseCommandError(output, context);
@@ -6143,6 +6394,52 @@ const deserializeAws_restJson1DescribeSecurityProfileCommandError = async (outpu
6143
6394
  });
6144
6395
  }
6145
6396
  };
6397
+ const deserializeAws_restJson1DescribeTrafficDistributionGroupCommand = async (output, context) => {
6398
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
6399
+ return deserializeAws_restJson1DescribeTrafficDistributionGroupCommandError(output, context);
6400
+ }
6401
+ const contents = map({
6402
+ $metadata: deserializeMetadata(output),
6403
+ });
6404
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6405
+ if (data.TrafficDistributionGroup != null) {
6406
+ contents.TrafficDistributionGroup = deserializeAws_restJson1TrafficDistributionGroup(data.TrafficDistributionGroup, context);
6407
+ }
6408
+ return contents;
6409
+ };
6410
+ exports.deserializeAws_restJson1DescribeTrafficDistributionGroupCommand = deserializeAws_restJson1DescribeTrafficDistributionGroupCommand;
6411
+ const deserializeAws_restJson1DescribeTrafficDistributionGroupCommandError = async (output, context) => {
6412
+ const parsedOutput = {
6413
+ ...output,
6414
+ body: await parseErrorBody(output.body, context),
6415
+ };
6416
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
6417
+ switch (errorCode) {
6418
+ case "AccessDeniedException":
6419
+ case "com.amazonaws.connect#AccessDeniedException":
6420
+ throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
6421
+ case "InternalServiceException":
6422
+ case "com.amazonaws.connect#InternalServiceException":
6423
+ throw await deserializeAws_restJson1InternalServiceExceptionResponse(parsedOutput, context);
6424
+ case "InvalidRequestException":
6425
+ case "com.amazonaws.connect#InvalidRequestException":
6426
+ throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
6427
+ case "ResourceNotFoundException":
6428
+ case "com.amazonaws.connect#ResourceNotFoundException":
6429
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
6430
+ case "ThrottlingException":
6431
+ case "com.amazonaws.connect#ThrottlingException":
6432
+ throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
6433
+ default:
6434
+ const parsedBody = parsedOutput.body;
6435
+ (0, smithy_client_1.throwDefaultError)({
6436
+ output,
6437
+ parsedBody,
6438
+ exceptionCtor: ConnectServiceException_1.ConnectServiceException,
6439
+ errorCode,
6440
+ });
6441
+ }
6442
+ };
6146
6443
  const deserializeAws_restJson1DescribeUserCommand = async (output, context) => {
6147
6444
  if (output.statusCode !== 200 && output.statusCode >= 300) {
6148
6445
  return deserializeAws_restJson1DescribeUserCommandError(output, context);
@@ -7032,6 +7329,58 @@ const deserializeAws_restJson1GetTaskTemplateCommandError = async (output, conte
7032
7329
  });
7033
7330
  }
7034
7331
  };
7332
+ const deserializeAws_restJson1GetTrafficDistributionCommand = async (output, context) => {
7333
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
7334
+ return deserializeAws_restJson1GetTrafficDistributionCommandError(output, context);
7335
+ }
7336
+ const contents = map({
7337
+ $metadata: deserializeMetadata(output),
7338
+ });
7339
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
7340
+ if (data.Arn != null) {
7341
+ contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
7342
+ }
7343
+ if (data.Id != null) {
7344
+ contents.Id = (0, smithy_client_1.expectString)(data.Id);
7345
+ }
7346
+ if (data.TelephonyConfig != null) {
7347
+ contents.TelephonyConfig = deserializeAws_restJson1TelephonyConfig(data.TelephonyConfig, context);
7348
+ }
7349
+ return contents;
7350
+ };
7351
+ exports.deserializeAws_restJson1GetTrafficDistributionCommand = deserializeAws_restJson1GetTrafficDistributionCommand;
7352
+ const deserializeAws_restJson1GetTrafficDistributionCommandError = async (output, context) => {
7353
+ const parsedOutput = {
7354
+ ...output,
7355
+ body: await parseErrorBody(output.body, context),
7356
+ };
7357
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
7358
+ switch (errorCode) {
7359
+ case "AccessDeniedException":
7360
+ case "com.amazonaws.connect#AccessDeniedException":
7361
+ throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
7362
+ case "InternalServiceException":
7363
+ case "com.amazonaws.connect#InternalServiceException":
7364
+ throw await deserializeAws_restJson1InternalServiceExceptionResponse(parsedOutput, context);
7365
+ case "InvalidRequestException":
7366
+ case "com.amazonaws.connect#InvalidRequestException":
7367
+ throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
7368
+ case "ResourceNotFoundException":
7369
+ case "com.amazonaws.connect#ResourceNotFoundException":
7370
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
7371
+ case "ThrottlingException":
7372
+ case "com.amazonaws.connect#ThrottlingException":
7373
+ throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
7374
+ default:
7375
+ const parsedBody = parsedOutput.body;
7376
+ (0, smithy_client_1.throwDefaultError)({
7377
+ output,
7378
+ parsedBody,
7379
+ exceptionCtor: ConnectServiceException_1.ConnectServiceException,
7380
+ errorCode,
7381
+ });
7382
+ }
7383
+ };
7035
7384
  const deserializeAws_restJson1ListAgentStatusesCommand = async (output, context) => {
7036
7385
  if (output.statusCode !== 200 && output.statusCode >= 300) {
7037
7386
  return deserializeAws_restJson1ListAgentStatusesCommandError(output, context);
@@ -8337,6 +8686,52 @@ const deserializeAws_restJson1ListTaskTemplatesCommandError = async (output, con
8337
8686
  });
8338
8687
  }
8339
8688
  };
8689
+ const deserializeAws_restJson1ListTrafficDistributionGroupsCommand = async (output, context) => {
8690
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
8691
+ return deserializeAws_restJson1ListTrafficDistributionGroupsCommandError(output, context);
8692
+ }
8693
+ const contents = map({
8694
+ $metadata: deserializeMetadata(output),
8695
+ });
8696
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
8697
+ if (data.NextToken != null) {
8698
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
8699
+ }
8700
+ if (data.TrafficDistributionGroupSummaryList != null) {
8701
+ contents.TrafficDistributionGroupSummaryList = deserializeAws_restJson1TrafficDistributionGroupSummaryList(data.TrafficDistributionGroupSummaryList, context);
8702
+ }
8703
+ return contents;
8704
+ };
8705
+ exports.deserializeAws_restJson1ListTrafficDistributionGroupsCommand = deserializeAws_restJson1ListTrafficDistributionGroupsCommand;
8706
+ const deserializeAws_restJson1ListTrafficDistributionGroupsCommandError = async (output, context) => {
8707
+ const parsedOutput = {
8708
+ ...output,
8709
+ body: await parseErrorBody(output.body, context),
8710
+ };
8711
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
8712
+ switch (errorCode) {
8713
+ case "AccessDeniedException":
8714
+ case "com.amazonaws.connect#AccessDeniedException":
8715
+ throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
8716
+ case "InternalServiceException":
8717
+ case "com.amazonaws.connect#InternalServiceException":
8718
+ throw await deserializeAws_restJson1InternalServiceExceptionResponse(parsedOutput, context);
8719
+ case "InvalidRequestException":
8720
+ case "com.amazonaws.connect#InvalidRequestException":
8721
+ throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
8722
+ case "ThrottlingException":
8723
+ case "com.amazonaws.connect#ThrottlingException":
8724
+ throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
8725
+ default:
8726
+ const parsedBody = parsedOutput.body;
8727
+ (0, smithy_client_1.throwDefaultError)({
8728
+ output,
8729
+ parsedBody,
8730
+ exceptionCtor: ConnectServiceException_1.ConnectServiceException,
8731
+ errorCode,
8732
+ });
8733
+ }
8734
+ };
8340
8735
  const deserializeAws_restJson1ListUseCasesCommand = async (output, context) => {
8341
8736
  if (output.statusCode !== 200 && output.statusCode >= 300) {
8342
8737
  return deserializeAws_restJson1ListUseCasesCommandError(output, context);
@@ -8576,6 +8971,64 @@ const deserializeAws_restJson1ReleasePhoneNumberCommandError = async (output, co
8576
8971
  });
8577
8972
  }
8578
8973
  };
8974
+ const deserializeAws_restJson1ReplicateInstanceCommand = async (output, context) => {
8975
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
8976
+ return deserializeAws_restJson1ReplicateInstanceCommandError(output, context);
8977
+ }
8978
+ const contents = map({
8979
+ $metadata: deserializeMetadata(output),
8980
+ });
8981
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
8982
+ if (data.Arn != null) {
8983
+ contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
8984
+ }
8985
+ if (data.Id != null) {
8986
+ contents.Id = (0, smithy_client_1.expectString)(data.Id);
8987
+ }
8988
+ return contents;
8989
+ };
8990
+ exports.deserializeAws_restJson1ReplicateInstanceCommand = deserializeAws_restJson1ReplicateInstanceCommand;
8991
+ const deserializeAws_restJson1ReplicateInstanceCommandError = async (output, context) => {
8992
+ const parsedOutput = {
8993
+ ...output,
8994
+ body: await parseErrorBody(output.body, context),
8995
+ };
8996
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
8997
+ switch (errorCode) {
8998
+ case "AccessDeniedException":
8999
+ case "com.amazonaws.connect#AccessDeniedException":
9000
+ throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
9001
+ case "InternalServiceException":
9002
+ case "com.amazonaws.connect#InternalServiceException":
9003
+ throw await deserializeAws_restJson1InternalServiceExceptionResponse(parsedOutput, context);
9004
+ case "InvalidRequestException":
9005
+ case "com.amazonaws.connect#InvalidRequestException":
9006
+ throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
9007
+ case "ResourceConflictException":
9008
+ case "com.amazonaws.connect#ResourceConflictException":
9009
+ throw await deserializeAws_restJson1ResourceConflictExceptionResponse(parsedOutput, context);
9010
+ case "ResourceNotFoundException":
9011
+ case "com.amazonaws.connect#ResourceNotFoundException":
9012
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
9013
+ case "ResourceNotReadyException":
9014
+ case "com.amazonaws.connect#ResourceNotReadyException":
9015
+ throw await deserializeAws_restJson1ResourceNotReadyExceptionResponse(parsedOutput, context);
9016
+ case "ServiceQuotaExceededException":
9017
+ case "com.amazonaws.connect#ServiceQuotaExceededException":
9018
+ throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
9019
+ case "ThrottlingException":
9020
+ case "com.amazonaws.connect#ThrottlingException":
9021
+ throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
9022
+ default:
9023
+ const parsedBody = parsedOutput.body;
9024
+ (0, smithy_client_1.throwDefaultError)({
9025
+ output,
9026
+ parsedBody,
9027
+ exceptionCtor: ConnectServiceException_1.ConnectServiceException,
9028
+ errorCode,
9029
+ });
9030
+ }
9031
+ };
8579
9032
  const deserializeAws_restJson1ResumeContactRecordingCommand = async (output, context) => {
8580
9033
  if (output.statusCode !== 200 && output.statusCode >= 300) {
8581
9034
  return deserializeAws_restJson1ResumeContactRecordingCommandError(output, context);
@@ -10652,6 +11105,52 @@ const deserializeAws_restJson1UpdateTaskTemplateCommandError = async (output, co
10652
11105
  });
10653
11106
  }
10654
11107
  };
11108
+ const deserializeAws_restJson1UpdateTrafficDistributionCommand = async (output, context) => {
11109
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
11110
+ return deserializeAws_restJson1UpdateTrafficDistributionCommandError(output, context);
11111
+ }
11112
+ const contents = map({
11113
+ $metadata: deserializeMetadata(output),
11114
+ });
11115
+ await collectBody(output.body, context);
11116
+ return contents;
11117
+ };
11118
+ exports.deserializeAws_restJson1UpdateTrafficDistributionCommand = deserializeAws_restJson1UpdateTrafficDistributionCommand;
11119
+ const deserializeAws_restJson1UpdateTrafficDistributionCommandError = async (output, context) => {
11120
+ const parsedOutput = {
11121
+ ...output,
11122
+ body: await parseErrorBody(output.body, context),
11123
+ };
11124
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
11125
+ switch (errorCode) {
11126
+ case "AccessDeniedException":
11127
+ case "com.amazonaws.connect#AccessDeniedException":
11128
+ throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
11129
+ case "InternalServiceException":
11130
+ case "com.amazonaws.connect#InternalServiceException":
11131
+ throw await deserializeAws_restJson1InternalServiceExceptionResponse(parsedOutput, context);
11132
+ case "InvalidRequestException":
11133
+ case "com.amazonaws.connect#InvalidRequestException":
11134
+ throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
11135
+ case "ResourceConflictException":
11136
+ case "com.amazonaws.connect#ResourceConflictException":
11137
+ throw await deserializeAws_restJson1ResourceConflictExceptionResponse(parsedOutput, context);
11138
+ case "ResourceNotFoundException":
11139
+ case "com.amazonaws.connect#ResourceNotFoundException":
11140
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
11141
+ case "ThrottlingException":
11142
+ case "com.amazonaws.connect#ThrottlingException":
11143
+ throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
11144
+ default:
11145
+ const parsedBody = parsedOutput.body;
11146
+ (0, smithy_client_1.throwDefaultError)({
11147
+ output,
11148
+ parsedBody,
11149
+ exceptionCtor: ConnectServiceException_1.ConnectServiceException,
11150
+ errorCode,
11151
+ });
11152
+ }
11153
+ };
10655
11154
  const deserializeAws_restJson1UpdateUserHierarchyCommand = async (output, context) => {
10656
11155
  if (output.statusCode !== 200 && output.statusCode >= 300) {
10657
11156
  return deserializeAws_restJson1UpdateUserHierarchyCommandError(output, context);
@@ -11173,6 +11672,18 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
11173
11672
  });
11174
11673
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
11175
11674
  };
11675
+ const deserializeAws_restJson1ResourceNotReadyExceptionResponse = async (parsedOutput, context) => {
11676
+ const contents = map({});
11677
+ const data = parsedOutput.body;
11678
+ if (data.Message != null) {
11679
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
11680
+ }
11681
+ const exception = new models_0_1.ResourceNotReadyException({
11682
+ $metadata: deserializeMetadata(parsedOutput),
11683
+ ...contents,
11684
+ });
11685
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
11686
+ };
11176
11687
  const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
11177
11688
  const contents = map({});
11178
11689
  const data = parsedOutput.body;
@@ -11297,6 +11808,19 @@ const serializeAws_restJson1CurrentMetrics = (input, context) => {
11297
11808
  return serializeAws_restJson1CurrentMetric(entry, context);
11298
11809
  });
11299
11810
  };
11811
+ const serializeAws_restJson1Distribution = (input, context) => {
11812
+ return {
11813
+ ...(input.Percentage != null && { Percentage: input.Percentage }),
11814
+ ...(input.Region != null && { Region: input.Region }),
11815
+ };
11816
+ };
11817
+ const serializeAws_restJson1DistributionList = (input, context) => {
11818
+ return input
11819
+ .filter((e) => e != null)
11820
+ .map((entry) => {
11821
+ return serializeAws_restJson1Distribution(entry, context);
11822
+ });
11823
+ };
11300
11824
  const serializeAws_restJson1EncryptionConfig = (input, context) => {
11301
11825
  return {
11302
11826
  ...(input.EncryptionType != null && { EncryptionType: input.EncryptionType }),
@@ -11782,6 +12306,13 @@ const serializeAws_restJson1TaskTemplateFields = (input, context) => {
11782
12306
  return serializeAws_restJson1TaskTemplateField(entry, context);
11783
12307
  });
11784
12308
  };
12309
+ const serializeAws_restJson1TelephonyConfig = (input, context) => {
12310
+ return {
12311
+ ...(input.Distributions != null && {
12312
+ Distributions: serializeAws_restJson1DistributionList(input.Distributions, context),
12313
+ }),
12314
+ };
12315
+ };
11785
12316
  const serializeAws_restJson1Threshold = (input, context) => {
11786
12317
  return {
11787
12318
  ...(input.Comparison != null && { Comparison: input.Comparison }),
@@ -12180,6 +12711,23 @@ const deserializeAws_restJson1Dimensions = (output, context) => {
12180
12711
  Queue: output.Queue != null ? deserializeAws_restJson1QueueReference(output.Queue, context) : undefined,
12181
12712
  };
12182
12713
  };
12714
+ const deserializeAws_restJson1Distribution = (output, context) => {
12715
+ return {
12716
+ Percentage: (0, smithy_client_1.expectInt32)(output.Percentage),
12717
+ Region: (0, smithy_client_1.expectString)(output.Region),
12718
+ };
12719
+ };
12720
+ const deserializeAws_restJson1DistributionList = (output, context) => {
12721
+ const retVal = (output || [])
12722
+ .filter((e) => e != null)
12723
+ .map((entry) => {
12724
+ if (entry === null) {
12725
+ return null;
12726
+ }
12727
+ return deserializeAws_restJson1Distribution(entry, context);
12728
+ });
12729
+ return retVal;
12730
+ };
12183
12731
  const deserializeAws_restJson1EmailReference = (output, context) => {
12184
12732
  return {
12185
12733
  Name: (0, smithy_client_1.expectString)(output.Name),
@@ -13173,12 +13721,50 @@ const deserializeAws_restJson1TaskTemplateMetadata = (output, context) => {
13173
13721
  Status: (0, smithy_client_1.expectString)(output.Status),
13174
13722
  };
13175
13723
  };
13724
+ const deserializeAws_restJson1TelephonyConfig = (output, context) => {
13725
+ return {
13726
+ Distributions: output.Distributions != null
13727
+ ? deserializeAws_restJson1DistributionList(output.Distributions, context)
13728
+ : undefined,
13729
+ };
13730
+ };
13176
13731
  const deserializeAws_restJson1Threshold = (output, context) => {
13177
13732
  return {
13178
13733
  Comparison: (0, smithy_client_1.expectString)(output.Comparison),
13179
13734
  ThresholdValue: (0, smithy_client_1.limitedParseDouble)(output.ThresholdValue),
13180
13735
  };
13181
13736
  };
13737
+ const deserializeAws_restJson1TrafficDistributionGroup = (output, context) => {
13738
+ return {
13739
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
13740
+ Description: (0, smithy_client_1.expectString)(output.Description),
13741
+ Id: (0, smithy_client_1.expectString)(output.Id),
13742
+ InstanceArn: (0, smithy_client_1.expectString)(output.InstanceArn),
13743
+ Name: (0, smithy_client_1.expectString)(output.Name),
13744
+ Status: (0, smithy_client_1.expectString)(output.Status),
13745
+ Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
13746
+ };
13747
+ };
13748
+ const deserializeAws_restJson1TrafficDistributionGroupSummary = (output, context) => {
13749
+ return {
13750
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
13751
+ Id: (0, smithy_client_1.expectString)(output.Id),
13752
+ InstanceArn: (0, smithy_client_1.expectString)(output.InstanceArn),
13753
+ Name: (0, smithy_client_1.expectString)(output.Name),
13754
+ Status: (0, smithy_client_1.expectString)(output.Status),
13755
+ };
13756
+ };
13757
+ const deserializeAws_restJson1TrafficDistributionGroupSummaryList = (output, context) => {
13758
+ const retVal = (output || [])
13759
+ .filter((e) => e != null)
13760
+ .map((entry) => {
13761
+ if (entry === null) {
13762
+ return null;
13763
+ }
13764
+ return deserializeAws_restJson1TrafficDistributionGroupSummary(entry, context);
13765
+ });
13766
+ return retVal;
13767
+ };
13182
13768
  const deserializeAws_restJson1UrlReference = (output, context) => {
13183
13769
  return {
13184
13770
  Name: (0, smithy_client_1.expectString)(output.Name),