@aws-sdk/client-connect 3.477.0 → 3.479.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 (337) hide show
  1. package/README.md +96 -0
  2. package/dist-cjs/Connect.js +24 -0
  3. package/dist-cjs/commands/AssociateUserProficienciesCommand.js +51 -0
  4. package/dist-cjs/commands/CreatePredefinedAttributeCommand.js +51 -0
  5. package/dist-cjs/commands/DeletePredefinedAttributeCommand.js +51 -0
  6. package/dist-cjs/commands/DescribePredefinedAttributeCommand.js +51 -0
  7. package/dist-cjs/commands/DisassociateUserProficienciesCommand.js +51 -0
  8. package/dist-cjs/commands/ListPredefinedAttributesCommand.js +51 -0
  9. package/dist-cjs/commands/ListUserProficienciesCommand.js +51 -0
  10. package/dist-cjs/commands/SearchContactsCommand.js +52 -0
  11. package/dist-cjs/commands/SearchPredefinedAttributesCommand.js +51 -0
  12. package/dist-cjs/commands/UpdateContactRoutingDataCommand.js +51 -0
  13. package/dist-cjs/commands/UpdatePredefinedAttributeCommand.js +51 -0
  14. package/dist-cjs/commands/UpdateUserProficienciesCommand.js +51 -0
  15. package/dist-cjs/commands/index.js +12 -0
  16. package/dist-cjs/models/models_0.js +10 -16
  17. package/dist-cjs/models/models_1.js +62 -25
  18. package/dist-cjs/models/models_2.js +39 -1
  19. package/dist-cjs/pagination/GetCurrentMetricDataPaginator.js +2 -24
  20. package/dist-cjs/pagination/GetCurrentUserDataPaginator.js +2 -24
  21. package/dist-cjs/pagination/GetMetricDataPaginator.js +2 -24
  22. package/dist-cjs/pagination/GetMetricDataV2Paginator.js +2 -24
  23. package/dist-cjs/pagination/ListAgentStatusesPaginator.js +2 -24
  24. package/dist-cjs/pagination/ListApprovedOriginsPaginator.js +2 -24
  25. package/dist-cjs/pagination/ListBotsPaginator.js +2 -24
  26. package/dist-cjs/pagination/ListContactEvaluationsPaginator.js +2 -23
  27. package/dist-cjs/pagination/ListContactFlowModulesPaginator.js +2 -24
  28. package/dist-cjs/pagination/ListContactFlowsPaginator.js +2 -24
  29. package/dist-cjs/pagination/ListContactReferencesPaginator.js +2 -23
  30. package/dist-cjs/pagination/ListDefaultVocabulariesPaginator.js +2 -24
  31. package/dist-cjs/pagination/ListEvaluationFormVersionsPaginator.js +2 -24
  32. package/dist-cjs/pagination/ListEvaluationFormsPaginator.js +2 -24
  33. package/dist-cjs/pagination/ListFlowAssociationsPaginator.js +2 -24
  34. package/dist-cjs/pagination/ListHoursOfOperationsPaginator.js +2 -24
  35. package/dist-cjs/pagination/ListInstanceAttributesPaginator.js +2 -24
  36. package/dist-cjs/pagination/ListInstanceStorageConfigsPaginator.js +2 -24
  37. package/dist-cjs/pagination/ListInstancesPaginator.js +2 -24
  38. package/dist-cjs/pagination/ListIntegrationAssociationsPaginator.js +2 -24
  39. package/dist-cjs/pagination/ListLambdaFunctionsPaginator.js +2 -24
  40. package/dist-cjs/pagination/ListLexBotsPaginator.js +2 -24
  41. package/dist-cjs/pagination/ListPhoneNumbersPaginator.js +2 -24
  42. package/dist-cjs/pagination/ListPhoneNumbersV2Paginator.js +2 -24
  43. package/dist-cjs/pagination/ListPredefinedAttributesPaginator.js +7 -0
  44. package/dist-cjs/pagination/ListPromptsPaginator.js +2 -24
  45. package/dist-cjs/pagination/ListQueueQuickConnectsPaginator.js +2 -24
  46. package/dist-cjs/pagination/ListQueuesPaginator.js +2 -24
  47. package/dist-cjs/pagination/ListQuickConnectsPaginator.js +2 -24
  48. package/dist-cjs/pagination/ListRealtimeContactAnalysisSegmentsV2Paginator.js +2 -24
  49. package/dist-cjs/pagination/ListRoutingProfileQueuesPaginator.js +2 -24
  50. package/dist-cjs/pagination/ListRoutingProfilesPaginator.js +2 -24
  51. package/dist-cjs/pagination/ListRulesPaginator.js +2 -24
  52. package/dist-cjs/pagination/ListSecurityKeysPaginator.js +2 -24
  53. package/dist-cjs/pagination/ListSecurityProfileApplicationsPaginator.js +2 -24
  54. package/dist-cjs/pagination/ListSecurityProfilePermissionsPaginator.js +2 -24
  55. package/dist-cjs/pagination/ListSecurityProfilesPaginator.js +2 -24
  56. package/dist-cjs/pagination/ListTaskTemplatesPaginator.js +2 -24
  57. package/dist-cjs/pagination/ListTrafficDistributionGroupUsersPaginator.js +2 -24
  58. package/dist-cjs/pagination/ListTrafficDistributionGroupsPaginator.js +2 -24
  59. package/dist-cjs/pagination/ListUseCasesPaginator.js +2 -24
  60. package/dist-cjs/pagination/ListUserHierarchyGroupsPaginator.js +2 -24
  61. package/dist-cjs/pagination/ListUserProficienciesPaginator.js +7 -0
  62. package/dist-cjs/pagination/ListUsersPaginator.js +2 -24
  63. package/dist-cjs/pagination/ListViewVersionsPaginator.js +2 -24
  64. package/dist-cjs/pagination/ListViewsPaginator.js +2 -24
  65. package/dist-cjs/pagination/SearchAvailablePhoneNumbersPaginator.js +2 -24
  66. package/dist-cjs/pagination/SearchContactsPaginator.js +7 -0
  67. package/dist-cjs/pagination/SearchHoursOfOperationsPaginator.js +2 -24
  68. package/dist-cjs/pagination/SearchPredefinedAttributesPaginator.js +7 -0
  69. package/dist-cjs/pagination/SearchPromptsPaginator.js +2 -24
  70. package/dist-cjs/pagination/SearchQueuesPaginator.js +2 -24
  71. package/dist-cjs/pagination/SearchQuickConnectsPaginator.js +2 -24
  72. package/dist-cjs/pagination/SearchResourceTagsPaginator.js +2 -24
  73. package/dist-cjs/pagination/SearchRoutingProfilesPaginator.js +2 -24
  74. package/dist-cjs/pagination/SearchSecurityProfilesPaginator.js +2 -24
  75. package/dist-cjs/pagination/SearchUsersPaginator.js +2 -24
  76. package/dist-cjs/pagination/SearchVocabulariesPaginator.js +2 -24
  77. package/dist-cjs/pagination/index.js +4 -0
  78. package/dist-cjs/protocols/Aws_restJson1.js +878 -32
  79. package/dist-es/Connect.js +24 -0
  80. package/dist-es/commands/AssociateUserProficienciesCommand.js +47 -0
  81. package/dist-es/commands/CreatePredefinedAttributeCommand.js +47 -0
  82. package/dist-es/commands/DeletePredefinedAttributeCommand.js +47 -0
  83. package/dist-es/commands/DescribePredefinedAttributeCommand.js +47 -0
  84. package/dist-es/commands/DisassociateUserProficienciesCommand.js +47 -0
  85. package/dist-es/commands/ListPredefinedAttributesCommand.js +47 -0
  86. package/dist-es/commands/ListUserProficienciesCommand.js +47 -0
  87. package/dist-es/commands/SearchContactsCommand.js +48 -0
  88. package/dist-es/commands/SearchPredefinedAttributesCommand.js +47 -0
  89. package/dist-es/commands/UpdateContactRoutingDataCommand.js +47 -0
  90. package/dist-es/commands/UpdatePredefinedAttributeCommand.js +47 -0
  91. package/dist-es/commands/UpdateUserProficienciesCommand.js +47 -0
  92. package/dist-es/commands/index.js +12 -0
  93. package/dist-es/models/models_0.js +8 -14
  94. package/dist-es/models/models_1.js +55 -23
  95. package/dist-es/models/models_2.js +36 -0
  96. package/dist-es/pagination/GetCurrentMetricDataPaginator.js +2 -23
  97. package/dist-es/pagination/GetCurrentUserDataPaginator.js +2 -23
  98. package/dist-es/pagination/GetMetricDataPaginator.js +2 -23
  99. package/dist-es/pagination/GetMetricDataV2Paginator.js +2 -23
  100. package/dist-es/pagination/ListAgentStatusesPaginator.js +2 -23
  101. package/dist-es/pagination/ListApprovedOriginsPaginator.js +2 -23
  102. package/dist-es/pagination/ListBotsPaginator.js +2 -23
  103. package/dist-es/pagination/ListContactEvaluationsPaginator.js +2 -22
  104. package/dist-es/pagination/ListContactFlowModulesPaginator.js +2 -23
  105. package/dist-es/pagination/ListContactFlowsPaginator.js +2 -23
  106. package/dist-es/pagination/ListContactReferencesPaginator.js +2 -22
  107. package/dist-es/pagination/ListDefaultVocabulariesPaginator.js +2 -23
  108. package/dist-es/pagination/ListEvaluationFormVersionsPaginator.js +2 -23
  109. package/dist-es/pagination/ListEvaluationFormsPaginator.js +2 -23
  110. package/dist-es/pagination/ListFlowAssociationsPaginator.js +2 -23
  111. package/dist-es/pagination/ListHoursOfOperationsPaginator.js +2 -23
  112. package/dist-es/pagination/ListInstanceAttributesPaginator.js +2 -23
  113. package/dist-es/pagination/ListInstanceStorageConfigsPaginator.js +2 -23
  114. package/dist-es/pagination/ListInstancesPaginator.js +2 -23
  115. package/dist-es/pagination/ListIntegrationAssociationsPaginator.js +2 -23
  116. package/dist-es/pagination/ListLambdaFunctionsPaginator.js +2 -23
  117. package/dist-es/pagination/ListLexBotsPaginator.js +2 -23
  118. package/dist-es/pagination/ListPhoneNumbersPaginator.js +2 -23
  119. package/dist-es/pagination/ListPhoneNumbersV2Paginator.js +2 -23
  120. package/dist-es/pagination/ListPredefinedAttributesPaginator.js +4 -0
  121. package/dist-es/pagination/ListPromptsPaginator.js +2 -23
  122. package/dist-es/pagination/ListQueueQuickConnectsPaginator.js +2 -23
  123. package/dist-es/pagination/ListQueuesPaginator.js +2 -23
  124. package/dist-es/pagination/ListQuickConnectsPaginator.js +2 -23
  125. package/dist-es/pagination/ListRealtimeContactAnalysisSegmentsV2Paginator.js +2 -23
  126. package/dist-es/pagination/ListRoutingProfileQueuesPaginator.js +2 -23
  127. package/dist-es/pagination/ListRoutingProfilesPaginator.js +2 -23
  128. package/dist-es/pagination/ListRulesPaginator.js +2 -23
  129. package/dist-es/pagination/ListSecurityKeysPaginator.js +2 -23
  130. package/dist-es/pagination/ListSecurityProfileApplicationsPaginator.js +2 -23
  131. package/dist-es/pagination/ListSecurityProfilePermissionsPaginator.js +2 -23
  132. package/dist-es/pagination/ListSecurityProfilesPaginator.js +2 -23
  133. package/dist-es/pagination/ListTaskTemplatesPaginator.js +2 -23
  134. package/dist-es/pagination/ListTrafficDistributionGroupUsersPaginator.js +2 -23
  135. package/dist-es/pagination/ListTrafficDistributionGroupsPaginator.js +2 -23
  136. package/dist-es/pagination/ListUseCasesPaginator.js +2 -23
  137. package/dist-es/pagination/ListUserHierarchyGroupsPaginator.js +2 -23
  138. package/dist-es/pagination/ListUserProficienciesPaginator.js +4 -0
  139. package/dist-es/pagination/ListUsersPaginator.js +2 -23
  140. package/dist-es/pagination/ListViewVersionsPaginator.js +2 -23
  141. package/dist-es/pagination/ListViewsPaginator.js +2 -23
  142. package/dist-es/pagination/SearchAvailablePhoneNumbersPaginator.js +2 -23
  143. package/dist-es/pagination/SearchContactsPaginator.js +4 -0
  144. package/dist-es/pagination/SearchHoursOfOperationsPaginator.js +2 -23
  145. package/dist-es/pagination/SearchPredefinedAttributesPaginator.js +4 -0
  146. package/dist-es/pagination/SearchPromptsPaginator.js +2 -23
  147. package/dist-es/pagination/SearchQueuesPaginator.js +2 -23
  148. package/dist-es/pagination/SearchQuickConnectsPaginator.js +2 -23
  149. package/dist-es/pagination/SearchResourceTagsPaginator.js +2 -23
  150. package/dist-es/pagination/SearchRoutingProfilesPaginator.js +2 -23
  151. package/dist-es/pagination/SearchSecurityProfilesPaginator.js +2 -23
  152. package/dist-es/pagination/SearchUsersPaginator.js +2 -23
  153. package/dist-es/pagination/SearchVocabulariesPaginator.js +2 -23
  154. package/dist-es/pagination/index.js +4 -0
  155. package/dist-es/protocols/Aws_restJson1.js +846 -24
  156. package/dist-types/Connect.d.ts +84 -0
  157. package/dist-types/ConnectClient.d.ts +14 -2
  158. package/dist-types/commands/AssociateUserProficienciesCommand.d.ts +94 -0
  159. package/dist-types/commands/CreatePredefinedAttributeCommand.d.ts +98 -0
  160. package/dist-types/commands/DeletePredefinedAttributeCommand.d.ts +90 -0
  161. package/dist-types/commands/DescribeContactCommand.d.ts +2 -0
  162. package/dist-types/commands/DescribePhoneNumberCommand.d.ts +2 -1
  163. package/dist-types/commands/DescribePredefinedAttributeCommand.d.ts +98 -0
  164. package/dist-types/commands/DescribePromptCommand.d.ts +1 -2
  165. package/dist-types/commands/DisassociateUserProficienciesCommand.d.ts +93 -0
  166. package/dist-types/commands/GetCurrentMetricDataCommand.d.ts +5 -1
  167. package/dist-types/commands/GetMetricDataCommand.d.ts +5 -1
  168. package/dist-types/commands/ListPredefinedAttributesCommand.d.ts +97 -0
  169. package/dist-types/commands/ListUserProficienciesCommand.d.ts +100 -0
  170. package/dist-types/commands/PauseContactCommand.d.ts +2 -1
  171. package/dist-types/commands/ResumeContactCommand.d.ts +2 -1
  172. package/dist-types/commands/SearchContactsCommand.d.ts +177 -0
  173. package/dist-types/commands/SearchHoursOfOperationsCommand.d.ts +1 -2
  174. package/dist-types/commands/SearchPredefinedAttributesCommand.d.ts +128 -0
  175. package/dist-types/commands/SearchPromptsCommand.d.ts +1 -2
  176. package/dist-types/commands/SearchQueuesCommand.d.ts +1 -2
  177. package/dist-types/commands/SearchQuickConnectsCommand.d.ts +1 -2
  178. package/dist-types/commands/SearchResourceTagsCommand.d.ts +1 -1
  179. package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +1 -2
  180. package/dist-types/commands/SearchSecurityProfilesCommand.d.ts +1 -2
  181. package/dist-types/commands/TagContactCommand.d.ts +3 -3
  182. package/dist-types/commands/UntagContactCommand.d.ts +3 -2
  183. package/dist-types/commands/UpdateContactRoutingDataCommand.d.ts +101 -0
  184. package/dist-types/commands/UpdatePredefinedAttributeCommand.d.ts +92 -0
  185. package/dist-types/commands/UpdateUserProficienciesCommand.d.ts +94 -0
  186. package/dist-types/commands/index.d.ts +12 -0
  187. package/dist-types/models/models_0.d.ts +159 -185
  188. package/dist-types/models/models_1.d.ts +495 -423
  189. package/dist-types/models/models_2.d.ts +875 -12
  190. package/dist-types/pagination/GetCurrentMetricDataPaginator.d.ts +1 -1
  191. package/dist-types/pagination/GetCurrentUserDataPaginator.d.ts +1 -1
  192. package/dist-types/pagination/GetMetricDataPaginator.d.ts +1 -1
  193. package/dist-types/pagination/GetMetricDataV2Paginator.d.ts +1 -1
  194. package/dist-types/pagination/ListAgentStatusesPaginator.d.ts +1 -1
  195. package/dist-types/pagination/ListApprovedOriginsPaginator.d.ts +1 -1
  196. package/dist-types/pagination/ListBotsPaginator.d.ts +1 -1
  197. package/dist-types/pagination/ListContactEvaluationsPaginator.d.ts +1 -1
  198. package/dist-types/pagination/ListContactFlowModulesPaginator.d.ts +1 -1
  199. package/dist-types/pagination/ListContactFlowsPaginator.d.ts +1 -1
  200. package/dist-types/pagination/ListContactReferencesPaginator.d.ts +1 -1
  201. package/dist-types/pagination/ListDefaultVocabulariesPaginator.d.ts +1 -1
  202. package/dist-types/pagination/ListEvaluationFormVersionsPaginator.d.ts +1 -1
  203. package/dist-types/pagination/ListEvaluationFormsPaginator.d.ts +1 -1
  204. package/dist-types/pagination/ListFlowAssociationsPaginator.d.ts +1 -1
  205. package/dist-types/pagination/ListHoursOfOperationsPaginator.d.ts +1 -1
  206. package/dist-types/pagination/ListInstanceAttributesPaginator.d.ts +1 -1
  207. package/dist-types/pagination/ListInstanceStorageConfigsPaginator.d.ts +1 -1
  208. package/dist-types/pagination/ListInstancesPaginator.d.ts +1 -1
  209. package/dist-types/pagination/ListIntegrationAssociationsPaginator.d.ts +1 -1
  210. package/dist-types/pagination/ListLambdaFunctionsPaginator.d.ts +1 -1
  211. package/dist-types/pagination/ListLexBotsPaginator.d.ts +1 -1
  212. package/dist-types/pagination/ListPhoneNumbersPaginator.d.ts +1 -1
  213. package/dist-types/pagination/ListPhoneNumbersV2Paginator.d.ts +1 -1
  214. package/dist-types/pagination/ListPredefinedAttributesPaginator.d.ts +7 -0
  215. package/dist-types/pagination/ListPromptsPaginator.d.ts +1 -1
  216. package/dist-types/pagination/ListQueueQuickConnectsPaginator.d.ts +1 -1
  217. package/dist-types/pagination/ListQueuesPaginator.d.ts +1 -1
  218. package/dist-types/pagination/ListQuickConnectsPaginator.d.ts +1 -1
  219. package/dist-types/pagination/ListRealtimeContactAnalysisSegmentsV2Paginator.d.ts +1 -1
  220. package/dist-types/pagination/ListRoutingProfileQueuesPaginator.d.ts +1 -1
  221. package/dist-types/pagination/ListRoutingProfilesPaginator.d.ts +1 -1
  222. package/dist-types/pagination/ListRulesPaginator.d.ts +1 -1
  223. package/dist-types/pagination/ListSecurityKeysPaginator.d.ts +1 -1
  224. package/dist-types/pagination/ListSecurityProfileApplicationsPaginator.d.ts +1 -1
  225. package/dist-types/pagination/ListSecurityProfilePermissionsPaginator.d.ts +1 -1
  226. package/dist-types/pagination/ListSecurityProfilesPaginator.d.ts +1 -1
  227. package/dist-types/pagination/ListTaskTemplatesPaginator.d.ts +1 -1
  228. package/dist-types/pagination/ListTrafficDistributionGroupUsersPaginator.d.ts +1 -1
  229. package/dist-types/pagination/ListTrafficDistributionGroupsPaginator.d.ts +1 -1
  230. package/dist-types/pagination/ListUseCasesPaginator.d.ts +1 -1
  231. package/dist-types/pagination/ListUserHierarchyGroupsPaginator.d.ts +1 -1
  232. package/dist-types/pagination/ListUserProficienciesPaginator.d.ts +7 -0
  233. package/dist-types/pagination/ListUsersPaginator.d.ts +1 -1
  234. package/dist-types/pagination/ListViewVersionsPaginator.d.ts +1 -1
  235. package/dist-types/pagination/ListViewsPaginator.d.ts +1 -1
  236. package/dist-types/pagination/SearchAvailablePhoneNumbersPaginator.d.ts +1 -1
  237. package/dist-types/pagination/SearchContactsPaginator.d.ts +7 -0
  238. package/dist-types/pagination/SearchHoursOfOperationsPaginator.d.ts +1 -1
  239. package/dist-types/pagination/SearchPredefinedAttributesPaginator.d.ts +7 -0
  240. package/dist-types/pagination/SearchPromptsPaginator.d.ts +1 -1
  241. package/dist-types/pagination/SearchQueuesPaginator.d.ts +1 -1
  242. package/dist-types/pagination/SearchQuickConnectsPaginator.d.ts +1 -1
  243. package/dist-types/pagination/SearchResourceTagsPaginator.d.ts +1 -1
  244. package/dist-types/pagination/SearchRoutingProfilesPaginator.d.ts +1 -1
  245. package/dist-types/pagination/SearchSecurityProfilesPaginator.d.ts +1 -1
  246. package/dist-types/pagination/SearchUsersPaginator.d.ts +1 -1
  247. package/dist-types/pagination/SearchVocabulariesPaginator.d.ts +1 -1
  248. package/dist-types/pagination/index.d.ts +4 -0
  249. package/dist-types/protocols/Aws_restJson1.d.ts +108 -0
  250. package/dist-types/ts3.4/Connect.d.ts +204 -0
  251. package/dist-types/ts3.4/ConnectClient.d.ts +72 -0
  252. package/dist-types/ts3.4/commands/AssociateUserProficienciesCommand.d.ts +38 -0
  253. package/dist-types/ts3.4/commands/CreatePredefinedAttributeCommand.d.ts +38 -0
  254. package/dist-types/ts3.4/commands/DeletePredefinedAttributeCommand.d.ts +38 -0
  255. package/dist-types/ts3.4/commands/DescribePhoneNumberCommand.d.ts +2 -4
  256. package/dist-types/ts3.4/commands/DescribePredefinedAttributeCommand.d.ts +42 -0
  257. package/dist-types/ts3.4/commands/DescribePromptCommand.d.ts +4 -2
  258. package/dist-types/ts3.4/commands/DisassociateUserProficienciesCommand.d.ts +38 -0
  259. package/dist-types/ts3.4/commands/ListPredefinedAttributesCommand.d.ts +42 -0
  260. package/dist-types/ts3.4/commands/ListUserProficienciesCommand.d.ts +42 -0
  261. package/dist-types/ts3.4/commands/SearchContactsCommand.d.ts +38 -0
  262. package/dist-types/ts3.4/commands/SearchHoursOfOperationsCommand.d.ts +4 -2
  263. package/dist-types/ts3.4/commands/SearchPredefinedAttributesCommand.d.ts +42 -0
  264. package/dist-types/ts3.4/commands/SearchPromptsCommand.d.ts +4 -2
  265. package/dist-types/ts3.4/commands/SearchQueuesCommand.d.ts +1 -2
  266. package/dist-types/ts3.4/commands/SearchQuickConnectsCommand.d.ts +4 -2
  267. package/dist-types/ts3.4/commands/SearchResourceTagsCommand.d.ts +1 -1
  268. package/dist-types/ts3.4/commands/SearchRoutingProfilesCommand.d.ts +4 -2
  269. package/dist-types/ts3.4/commands/SearchSecurityProfilesCommand.d.ts +4 -2
  270. package/dist-types/ts3.4/commands/UpdateContactRoutingDataCommand.d.ts +42 -0
  271. package/dist-types/ts3.4/commands/UpdatePredefinedAttributeCommand.d.ts +38 -0
  272. package/dist-types/ts3.4/commands/UpdateUserProficienciesCommand.d.ts +38 -0
  273. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  274. package/dist-types/ts3.4/models/models_0.d.ts +46 -42
  275. package/dist-types/ts3.4/models/models_1.d.ts +153 -113
  276. package/dist-types/ts3.4/models/models_2.d.ts +215 -10
  277. package/dist-types/ts3.4/pagination/GetCurrentMetricDataPaginator.d.ts +3 -3
  278. package/dist-types/ts3.4/pagination/GetCurrentUserDataPaginator.d.ts +3 -3
  279. package/dist-types/ts3.4/pagination/GetMetricDataPaginator.d.ts +3 -3
  280. package/dist-types/ts3.4/pagination/GetMetricDataV2Paginator.d.ts +3 -3
  281. package/dist-types/ts3.4/pagination/ListAgentStatusesPaginator.d.ts +3 -3
  282. package/dist-types/ts3.4/pagination/ListApprovedOriginsPaginator.d.ts +3 -3
  283. package/dist-types/ts3.4/pagination/ListBotsPaginator.d.ts +3 -3
  284. package/dist-types/ts3.4/pagination/ListContactEvaluationsPaginator.d.ts +3 -3
  285. package/dist-types/ts3.4/pagination/ListContactFlowModulesPaginator.d.ts +3 -3
  286. package/dist-types/ts3.4/pagination/ListContactFlowsPaginator.d.ts +3 -3
  287. package/dist-types/ts3.4/pagination/ListContactReferencesPaginator.d.ts +3 -3
  288. package/dist-types/ts3.4/pagination/ListDefaultVocabulariesPaginator.d.ts +3 -3
  289. package/dist-types/ts3.4/pagination/ListEvaluationFormVersionsPaginator.d.ts +3 -3
  290. package/dist-types/ts3.4/pagination/ListEvaluationFormsPaginator.d.ts +3 -3
  291. package/dist-types/ts3.4/pagination/ListFlowAssociationsPaginator.d.ts +3 -3
  292. package/dist-types/ts3.4/pagination/ListHoursOfOperationsPaginator.d.ts +3 -3
  293. package/dist-types/ts3.4/pagination/ListInstanceAttributesPaginator.d.ts +3 -3
  294. package/dist-types/ts3.4/pagination/ListInstanceStorageConfigsPaginator.d.ts +3 -3
  295. package/dist-types/ts3.4/pagination/ListInstancesPaginator.d.ts +3 -3
  296. package/dist-types/ts3.4/pagination/ListIntegrationAssociationsPaginator.d.ts +3 -3
  297. package/dist-types/ts3.4/pagination/ListLambdaFunctionsPaginator.d.ts +3 -3
  298. package/dist-types/ts3.4/pagination/ListLexBotsPaginator.d.ts +3 -3
  299. package/dist-types/ts3.4/pagination/ListPhoneNumbersPaginator.d.ts +3 -3
  300. package/dist-types/ts3.4/pagination/ListPhoneNumbersV2Paginator.d.ts +3 -3
  301. package/dist-types/ts3.4/pagination/ListPredefinedAttributesPaginator.d.ts +11 -0
  302. package/dist-types/ts3.4/pagination/ListPromptsPaginator.d.ts +3 -3
  303. package/dist-types/ts3.4/pagination/ListQueueQuickConnectsPaginator.d.ts +3 -3
  304. package/dist-types/ts3.4/pagination/ListQueuesPaginator.d.ts +3 -3
  305. package/dist-types/ts3.4/pagination/ListQuickConnectsPaginator.d.ts +3 -3
  306. package/dist-types/ts3.4/pagination/ListRealtimeContactAnalysisSegmentsV2Paginator.d.ts +3 -3
  307. package/dist-types/ts3.4/pagination/ListRoutingProfileQueuesPaginator.d.ts +3 -3
  308. package/dist-types/ts3.4/pagination/ListRoutingProfilesPaginator.d.ts +3 -3
  309. package/dist-types/ts3.4/pagination/ListRulesPaginator.d.ts +3 -3
  310. package/dist-types/ts3.4/pagination/ListSecurityKeysPaginator.d.ts +3 -3
  311. package/dist-types/ts3.4/pagination/ListSecurityProfileApplicationsPaginator.d.ts +3 -3
  312. package/dist-types/ts3.4/pagination/ListSecurityProfilePermissionsPaginator.d.ts +3 -3
  313. package/dist-types/ts3.4/pagination/ListSecurityProfilesPaginator.d.ts +3 -3
  314. package/dist-types/ts3.4/pagination/ListTaskTemplatesPaginator.d.ts +3 -3
  315. package/dist-types/ts3.4/pagination/ListTrafficDistributionGroupUsersPaginator.d.ts +3 -3
  316. package/dist-types/ts3.4/pagination/ListTrafficDistributionGroupsPaginator.d.ts +3 -3
  317. package/dist-types/ts3.4/pagination/ListUseCasesPaginator.d.ts +3 -3
  318. package/dist-types/ts3.4/pagination/ListUserHierarchyGroupsPaginator.d.ts +3 -3
  319. package/dist-types/ts3.4/pagination/ListUserProficienciesPaginator.d.ts +11 -0
  320. package/dist-types/ts3.4/pagination/ListUsersPaginator.d.ts +3 -3
  321. package/dist-types/ts3.4/pagination/ListViewVersionsPaginator.d.ts +3 -3
  322. package/dist-types/ts3.4/pagination/ListViewsPaginator.d.ts +3 -3
  323. package/dist-types/ts3.4/pagination/SearchAvailablePhoneNumbersPaginator.d.ts +3 -3
  324. package/dist-types/ts3.4/pagination/SearchContactsPaginator.d.ts +11 -0
  325. package/dist-types/ts3.4/pagination/SearchHoursOfOperationsPaginator.d.ts +3 -3
  326. package/dist-types/ts3.4/pagination/SearchPredefinedAttributesPaginator.d.ts +11 -0
  327. package/dist-types/ts3.4/pagination/SearchPromptsPaginator.d.ts +3 -3
  328. package/dist-types/ts3.4/pagination/SearchQueuesPaginator.d.ts +3 -3
  329. package/dist-types/ts3.4/pagination/SearchQuickConnectsPaginator.d.ts +3 -3
  330. package/dist-types/ts3.4/pagination/SearchResourceTagsPaginator.d.ts +3 -3
  331. package/dist-types/ts3.4/pagination/SearchRoutingProfilesPaginator.d.ts +3 -3
  332. package/dist-types/ts3.4/pagination/SearchSecurityProfilesPaginator.d.ts +3 -3
  333. package/dist-types/ts3.4/pagination/SearchUsersPaginator.d.ts +3 -3
  334. package/dist-types/ts3.4/pagination/SearchVocabulariesPaginator.d.ts +3 -3
  335. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  336. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +144 -0
  337. package/package.json +5 -5
@@ -0,0 +1,47 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_UpdatePredefinedAttributeCommand, se_UpdatePredefinedAttributeCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdatePredefinedAttributeCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdatePredefinedAttributeCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "ConnectClient";
26
+ const commandName = "UpdatePredefinedAttributeCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonConnectService",
35
+ operation: "UpdatePredefinedAttribute",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_UpdatePredefinedAttributeCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_UpdatePredefinedAttributeCommand(output, context);
46
+ }
47
+ }
@@ -0,0 +1,47 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_UpdateUserProficienciesCommand, se_UpdateUserProficienciesCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateUserProficienciesCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateUserProficienciesCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "ConnectClient";
26
+ const commandName = "UpdateUserProficienciesCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonConnectService",
35
+ operation: "UpdateUserProficiencies",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_UpdateUserProficienciesCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_UpdateUserProficienciesCommand(output, context);
46
+ }
47
+ }
@@ -12,6 +12,7 @@ export * from "./AssociateQueueQuickConnectsCommand";
12
12
  export * from "./AssociateRoutingProfileQueuesCommand";
13
13
  export * from "./AssociateSecurityKeyCommand";
14
14
  export * from "./AssociateTrafficDistributionGroupUserCommand";
15
+ export * from "./AssociateUserProficienciesCommand";
15
16
  export * from "./BatchAssociateAnalyticsDataSetCommand";
16
17
  export * from "./BatchDisassociateAnalyticsDataSetCommand";
17
18
  export * from "./BatchGetFlowAssociationCommand";
@@ -26,6 +27,7 @@ export * from "./CreateInstanceCommand";
26
27
  export * from "./CreateIntegrationAssociationCommand";
27
28
  export * from "./CreateParticipantCommand";
28
29
  export * from "./CreatePersistentContactAssociationCommand";
30
+ export * from "./CreatePredefinedAttributeCommand";
29
31
  export * from "./CreatePromptCommand";
30
32
  export * from "./CreateQueueCommand";
31
33
  export * from "./CreateQuickConnectCommand";
@@ -48,6 +50,7 @@ export * from "./DeleteEvaluationFormCommand";
48
50
  export * from "./DeleteHoursOfOperationCommand";
49
51
  export * from "./DeleteInstanceCommand";
50
52
  export * from "./DeleteIntegrationAssociationCommand";
53
+ export * from "./DeletePredefinedAttributeCommand";
51
54
  export * from "./DeletePromptCommand";
52
55
  export * from "./DeleteQueueCommand";
53
56
  export * from "./DeleteQuickConnectCommand";
@@ -73,6 +76,7 @@ export * from "./DescribeInstanceAttributeCommand";
73
76
  export * from "./DescribeInstanceCommand";
74
77
  export * from "./DescribeInstanceStorageConfigCommand";
75
78
  export * from "./DescribePhoneNumberCommand";
79
+ export * from "./DescribePredefinedAttributeCommand";
76
80
  export * from "./DescribePromptCommand";
77
81
  export * from "./DescribeQueueCommand";
78
82
  export * from "./DescribeQuickConnectCommand";
@@ -97,6 +101,7 @@ export * from "./DisassociateQueueQuickConnectsCommand";
97
101
  export * from "./DisassociateRoutingProfileQueuesCommand";
98
102
  export * from "./DisassociateSecurityKeyCommand";
99
103
  export * from "./DisassociateTrafficDistributionGroupUserCommand";
104
+ export * from "./DisassociateUserProficienciesCommand";
100
105
  export * from "./DismissUserContactCommand";
101
106
  export * from "./GetContactAttributesCommand";
102
107
  export * from "./GetCurrentMetricDataCommand";
@@ -130,6 +135,7 @@ export * from "./ListLambdaFunctionsCommand";
130
135
  export * from "./ListLexBotsCommand";
131
136
  export * from "./ListPhoneNumbersCommand";
132
137
  export * from "./ListPhoneNumbersV2Command";
138
+ export * from "./ListPredefinedAttributesCommand";
133
139
  export * from "./ListPromptsCommand";
134
140
  export * from "./ListQueueQuickConnectsCommand";
135
141
  export * from "./ListQueuesCommand";
@@ -148,6 +154,7 @@ export * from "./ListTrafficDistributionGroupUsersCommand";
148
154
  export * from "./ListTrafficDistributionGroupsCommand";
149
155
  export * from "./ListUseCasesCommand";
150
156
  export * from "./ListUserHierarchyGroupsCommand";
157
+ export * from "./ListUserProficienciesCommand";
151
158
  export * from "./ListUsersCommand";
152
159
  export * from "./ListViewVersionsCommand";
153
160
  export * from "./ListViewsCommand";
@@ -159,7 +166,9 @@ export * from "./ReplicateInstanceCommand";
159
166
  export * from "./ResumeContactCommand";
160
167
  export * from "./ResumeContactRecordingCommand";
161
168
  export * from "./SearchAvailablePhoneNumbersCommand";
169
+ export * from "./SearchContactsCommand";
162
170
  export * from "./SearchHoursOfOperationsCommand";
171
+ export * from "./SearchPredefinedAttributesCommand";
163
172
  export * from "./SearchPromptsCommand";
164
173
  export * from "./SearchQueuesCommand";
165
174
  export * from "./SearchQuickConnectsCommand";
@@ -195,6 +204,7 @@ export * from "./UpdateContactFlowMetadataCommand";
195
204
  export * from "./UpdateContactFlowModuleContentCommand";
196
205
  export * from "./UpdateContactFlowModuleMetadataCommand";
197
206
  export * from "./UpdateContactFlowNameCommand";
207
+ export * from "./UpdateContactRoutingDataCommand";
198
208
  export * from "./UpdateContactScheduleCommand";
199
209
  export * from "./UpdateEvaluationFormCommand";
200
210
  export * from "./UpdateHoursOfOperationCommand";
@@ -203,6 +213,7 @@ export * from "./UpdateInstanceStorageConfigCommand";
203
213
  export * from "./UpdateParticipantRoleConfigCommand";
204
214
  export * from "./UpdatePhoneNumberCommand";
205
215
  export * from "./UpdatePhoneNumberMetadataCommand";
216
+ export * from "./UpdatePredefinedAttributeCommand";
206
217
  export * from "./UpdatePromptCommand";
207
218
  export * from "./UpdateQueueHoursOfOperationCommand";
208
219
  export * from "./UpdateQueueMaxContactsCommand";
@@ -225,6 +236,7 @@ export * from "./UpdateUserHierarchyGroupNameCommand";
225
236
  export * from "./UpdateUserHierarchyStructureCommand";
226
237
  export * from "./UpdateUserIdentityInfoCommand";
227
238
  export * from "./UpdateUserPhoneConfigCommand";
239
+ export * from "./UpdateUserProficienciesCommand";
228
240
  export * from "./UpdateUserRoutingProfileCommand";
229
241
  export * from "./UpdateUserSecurityProfilesCommand";
230
242
  export * from "./UpdateViewContentCommand";
@@ -402,6 +402,14 @@ export const RehydrationType = {
402
402
  ENTIRE_PAST_SESSION: "ENTIRE_PAST_SESSION",
403
403
  FROM_SEGMENT: "FROM_SEGMENT",
404
404
  };
405
+ export var PredefinedAttributeValues;
406
+ (function (PredefinedAttributeValues) {
407
+ PredefinedAttributeValues.visit = (value, visitor) => {
408
+ if (value.StringList !== undefined)
409
+ return visitor.StringList(value.StringList);
410
+ return visitor._(value.$unknown[0], value.$unknown[1]);
411
+ };
412
+ })(PredefinedAttributeValues || (PredefinedAttributeValues = {}));
405
413
  export const QuickConnectType = {
406
414
  PHONE_NUMBER: "PHONE_NUMBER",
407
415
  QUEUE: "QUEUE",
@@ -856,20 +864,6 @@ export const PhoneNumberCountryCode = {
856
864
  ZM: "ZM",
857
865
  ZW: "ZW",
858
866
  };
859
- export const PhoneNumberWorkflowStatus = {
860
- Claimed: "CLAIMED",
861
- Failed: "FAILED",
862
- InProgress: "IN_PROGRESS",
863
- };
864
- export const PhoneNumberType = {
865
- DID: "DID",
866
- SHARED: "SHARED",
867
- SHORT_CODE: "SHORT_CODE",
868
- THIRD_PARTY_DID: "THIRD_PARTY_DID",
869
- THIRD_PARTY_TF: "THIRD_PARTY_TF",
870
- TOLL_FREE: "TOLL_FREE",
871
- UIFN: "UIFN",
872
- };
873
867
  export const CreateInstanceRequestFilterSensitiveLog = (obj) => ({
874
868
  ...obj,
875
869
  ...(obj.InstanceAlias && { InstanceAlias: SENSITIVE_STRING }),
@@ -1,6 +1,20 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
3
  import { ViewFilterSensitiveLog, } from "./models_0";
4
+ export const PhoneNumberWorkflowStatus = {
5
+ Claimed: "CLAIMED",
6
+ Failed: "FAILED",
7
+ InProgress: "IN_PROGRESS",
8
+ };
9
+ export const PhoneNumberType = {
10
+ DID: "DID",
11
+ SHARED: "SHARED",
12
+ SHORT_CODE: "SHORT_CODE",
13
+ THIRD_PARTY_DID: "THIRD_PARTY_DID",
14
+ THIRD_PARTY_TF: "THIRD_PARTY_TF",
15
+ TOLL_FREE: "TOLL_FREE",
16
+ UIFN: "UIFN",
17
+ };
4
18
  export const QueueStatus = {
5
19
  DISABLED: "DISABLED",
6
20
  ENABLED: "ENABLED",
@@ -37,6 +51,7 @@ export const Grouping = {
37
51
  CHANNEL: "CHANNEL",
38
52
  QUEUE: "QUEUE",
39
53
  ROUTING_PROFILE: "ROUTING_PROFILE",
54
+ ROUTING_STEP_EXPRESSION: "ROUTING_STEP_EXPRESSION",
40
55
  };
41
56
  export const SortOrder = {
42
57
  ASCENDING: "ASCENDING",
@@ -208,30 +223,17 @@ export class ConflictException extends __BaseException {
208
223
  this.Message = opts.Message;
209
224
  }
210
225
  }
211
- export const StringComparisonType = {
212
- CONTAINS: "CONTAINS",
213
- EXACT: "EXACT",
214
- STARTS_WITH: "STARTS_WITH",
215
- };
216
- export const SearchableQueueType = {
217
- STANDARD: "STANDARD",
226
+ export const SearchContactsMatchType = {
227
+ MATCH_ALL: "MATCH_ALL",
228
+ MATCH_ANY: "MATCH_ANY",
218
229
  };
219
- export class MaximumResultReturnedException extends __BaseException {
220
- constructor(opts) {
221
- super({
222
- name: "MaximumResultReturnedException",
223
- $fault: "client",
224
- ...opts,
225
- });
226
- this.name = "MaximumResultReturnedException";
227
- this.$fault = "client";
228
- Object.setPrototypeOf(this, MaximumResultReturnedException.prototype);
229
- this.Message = opts.Message;
230
- }
231
- }
232
- export const HierarchyGroupMatchType = {
233
- EXACT: "EXACT",
234
- WITH_CHILD_GROUPS: "WITH_CHILD_GROUPS",
230
+ export const SortableFieldName = {
231
+ CHANNEL: "CHANNEL",
232
+ CONNECTED_TO_AGENT_TIMESTAMP: "CONNECTED_TO_AGENT_TIMESTAMP",
233
+ DISCONNECT_TIMESTAMP: "DISCONNECT_TIMESTAMP",
234
+ INITIATION_METHOD: "INITIATION_METHOD",
235
+ INITIATION_TIMESTAMP: "INITIATION_TIMESTAMP",
236
+ SCHEDULED_TIMESTAMP: "SCHEDULED_TIMESTAMP",
235
237
  };
236
238
  export const DescribeViewResponseFilterSensitiveLog = (obj) => ({
237
239
  ...obj,
@@ -280,3 +282,33 @@ export const ReplicateInstanceRequestFilterSensitiveLog = (obj) => ({
280
282
  ...obj,
281
283
  ...(obj.ReplicaAlias && { ReplicaAlias: SENSITIVE_STRING }),
282
284
  });
285
+ export const TranscriptCriteriaFilterSensitiveLog = (obj) => ({
286
+ ...obj,
287
+ ...(obj.SearchText && { SearchText: SENSITIVE_STRING }),
288
+ });
289
+ export const TranscriptFilterSensitiveLog = (obj) => ({
290
+ ...obj,
291
+ ...(obj.Criteria && { Criteria: obj.Criteria.map((item) => TranscriptCriteriaFilterSensitiveLog(item)) }),
292
+ });
293
+ export const ContactAnalysisFilterSensitiveLog = (obj) => ({
294
+ ...obj,
295
+ ...(obj.Transcript && { Transcript: TranscriptFilterSensitiveLog(obj.Transcript) }),
296
+ });
297
+ export const SearchableContactAttributesCriteriaFilterSensitiveLog = (obj) => ({
298
+ ...obj,
299
+ ...(obj.Key && { Key: SENSITIVE_STRING }),
300
+ ...(obj.Values && { Values: SENSITIVE_STRING }),
301
+ });
302
+ export const SearchableContactAttributesFilterSensitiveLog = (obj) => ({
303
+ ...obj,
304
+ ...(obj.Criteria && {
305
+ Criteria: obj.Criteria.map((item) => SearchableContactAttributesCriteriaFilterSensitiveLog(item)),
306
+ }),
307
+ });
308
+ export const SearchCriteriaFilterSensitiveLog = (obj) => ({
309
+ ...obj,
310
+ ...(obj.ContactAnalysis && { ContactAnalysis: ContactAnalysisFilterSensitiveLog(obj.ContactAnalysis) }),
311
+ ...(obj.SearchableContactAttributes && {
312
+ SearchableContactAttributes: SearchableContactAttributesFilterSensitiveLog(obj.SearchableContactAttributes),
313
+ }),
314
+ });
@@ -1,6 +1,38 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
3
  import { ViewFilterSensitiveLog, ViewInputContentFilterSensitiveLog, } from "./models_0";
4
+ import { SearchCriteriaFilterSensitiveLog, } from "./models_1";
5
+ export const SearchContactsTimeRangeType = {
6
+ CONNECTED_TO_AGENT_TIMESTAMP: "CONNECTED_TO_AGENT_TIMESTAMP",
7
+ DISCONNECT_TIMESTAMP: "DISCONNECT_TIMESTAMP",
8
+ INITIATION_TIMESTAMP: "INITIATION_TIMESTAMP",
9
+ SCHEDULED_TIMESTAMP: "SCHEDULED_TIMESTAMP",
10
+ };
11
+ export const StringComparisonType = {
12
+ CONTAINS: "CONTAINS",
13
+ EXACT: "EXACT",
14
+ STARTS_WITH: "STARTS_WITH",
15
+ };
16
+ export const SearchableQueueType = {
17
+ STANDARD: "STANDARD",
18
+ };
19
+ export class MaximumResultReturnedException extends __BaseException {
20
+ constructor(opts) {
21
+ super({
22
+ name: "MaximumResultReturnedException",
23
+ $fault: "client",
24
+ ...opts,
25
+ });
26
+ this.name = "MaximumResultReturnedException";
27
+ this.$fault = "client";
28
+ Object.setPrototypeOf(this, MaximumResultReturnedException.prototype);
29
+ this.Message = opts.Message;
30
+ }
31
+ }
32
+ export const HierarchyGroupMatchType = {
33
+ EXACT: "EXACT",
34
+ WITH_CHILD_GROUPS: "WITH_CHILD_GROUPS",
35
+ };
4
36
  export const ChatEventType = {
5
37
  DISCONNECT: "DISCONNECT",
6
38
  EVENT: "EVENT",
@@ -97,6 +129,10 @@ export var EvaluationFormItem;
97
129
  return visitor._(value.$unknown[0], value.$unknown[1]);
98
130
  };
99
131
  })(EvaluationFormItem || (EvaluationFormItem = {}));
132
+ export const SearchContactsRequestFilterSensitiveLog = (obj) => ({
133
+ ...obj,
134
+ ...(obj.SearchCriteria && { SearchCriteria: SearchCriteriaFilterSensitiveLog(obj.SearchCriteria) }),
135
+ });
100
136
  export const AttendeeFilterSensitiveLog = (obj) => ({
101
137
  ...obj,
102
138
  ...(obj.JoinToken && { JoinToken: SENSITIVE_STRING }),
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetCurrentMetricDataCommand, } from "../commands/GetCurrentMetricDataCommand";
2
3
  import { ConnectClient } from "../ConnectClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetCurrentMetricDataCommand(input), ...args);
5
- };
6
- export async function* paginateGetCurrentMetricData(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof ConnectClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Connect | ConnectClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateGetCurrentMetricData = createPaginator(ConnectClient, GetCurrentMetricDataCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetCurrentUserDataCommand, } from "../commands/GetCurrentUserDataCommand";
2
3
  import { ConnectClient } from "../ConnectClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetCurrentUserDataCommand(input), ...args);
5
- };
6
- export async function* paginateGetCurrentUserData(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof ConnectClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Connect | ConnectClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateGetCurrentUserData = createPaginator(ConnectClient, GetCurrentUserDataCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetMetricDataCommand, } from "../commands/GetMetricDataCommand";
2
3
  import { ConnectClient } from "../ConnectClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetMetricDataCommand(input), ...args);
5
- };
6
- export async function* paginateGetMetricData(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof ConnectClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Connect | ConnectClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateGetMetricData = createPaginator(ConnectClient, GetMetricDataCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetMetricDataV2Command, } from "../commands/GetMetricDataV2Command";
2
3
  import { ConnectClient } from "../ConnectClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetMetricDataV2Command(input), ...args);
5
- };
6
- export async function* paginateGetMetricDataV2(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof ConnectClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Connect | ConnectClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateGetMetricDataV2 = createPaginator(ConnectClient, GetMetricDataV2Command, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListAgentStatusesCommand, } from "../commands/ListAgentStatusesCommand";
2
3
  import { ConnectClient } from "../ConnectClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListAgentStatusesCommand(input), ...args);
5
- };
6
- export async function* paginateListAgentStatuses(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof ConnectClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Connect | ConnectClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListAgentStatuses = createPaginator(ConnectClient, ListAgentStatusesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListApprovedOriginsCommand, } from "../commands/ListApprovedOriginsCommand";
2
3
  import { ConnectClient } from "../ConnectClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListApprovedOriginsCommand(input), ...args);
5
- };
6
- export async function* paginateListApprovedOrigins(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof ConnectClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Connect | ConnectClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListApprovedOrigins = createPaginator(ConnectClient, ListApprovedOriginsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListBotsCommand } from "../commands/ListBotsCommand";
2
3
  import { ConnectClient } from "../ConnectClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListBotsCommand(input), ...args);
5
- };
6
- export async function* paginateListBots(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof ConnectClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Connect | ConnectClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListBots = createPaginator(ConnectClient, ListBotsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,24 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListContactEvaluationsCommand, } from "../commands/ListContactEvaluationsCommand";
2
3
  import { ConnectClient } from "../ConnectClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListContactEvaluationsCommand(input), ...args);
5
- };
6
- export async function* paginateListContactEvaluations(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- if (config.client instanceof ConnectClient) {
13
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
14
- }
15
- else {
16
- throw new Error("Invalid client, expected Connect | ConnectClient");
17
- }
18
- yield page;
19
- const prevToken = token;
20
- token = page.NextToken;
21
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
22
- }
23
- return undefined;
24
- }
4
+ export const paginateListContactEvaluations = createPaginator(ConnectClient, ListContactEvaluationsCommand, "NextToken", "NextToken", "");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListContactFlowModulesCommand, } from "../commands/ListContactFlowModulesCommand";
2
3
  import { ConnectClient } from "../ConnectClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListContactFlowModulesCommand(input), ...args);
5
- };
6
- export async function* paginateListContactFlowModules(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof ConnectClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Connect | ConnectClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListContactFlowModules = createPaginator(ConnectClient, ListContactFlowModulesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListContactFlowsCommand, } from "../commands/ListContactFlowsCommand";
2
3
  import { ConnectClient } from "../ConnectClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListContactFlowsCommand(input), ...args);
5
- };
6
- export async function* paginateListContactFlows(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof ConnectClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Connect | ConnectClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListContactFlows = createPaginator(ConnectClient, ListContactFlowsCommand, "NextToken", "NextToken", "MaxResults");