@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,94 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
+ import { UpdateUserProficienciesRequest } from "../models/models_2";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateUserProficienciesCommand}.
14
+ */
15
+ export interface UpdateUserProficienciesCommandInput extends UpdateUserProficienciesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateUserProficienciesCommand}.
21
+ */
22
+ export interface UpdateUserProficienciesCommandOutput extends __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Updates the properties associated with the proficiencies of a user.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { ConnectClient, UpdateUserProficienciesCommand } from "@aws-sdk/client-connect"; // ES Modules import
31
+ * // const { ConnectClient, UpdateUserProficienciesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
32
+ * const client = new ConnectClient(config);
33
+ * const input = { // UpdateUserProficienciesRequest
34
+ * InstanceId: "STRING_VALUE", // required
35
+ * UserId: "STRING_VALUE", // required
36
+ * UserProficiencies: [ // UserProficiencyList // required
37
+ * { // UserProficiency
38
+ * AttributeName: "STRING_VALUE", // required
39
+ * AttributeValue: "STRING_VALUE", // required
40
+ * Level: Number("float"), // required
41
+ * },
42
+ * ],
43
+ * };
44
+ * const command = new UpdateUserProficienciesCommand(input);
45
+ * const response = await client.send(command);
46
+ * // {};
47
+ *
48
+ * ```
49
+ *
50
+ * @param UpdateUserProficienciesCommandInput - {@link UpdateUserProficienciesCommandInput}
51
+ * @returns {@link UpdateUserProficienciesCommandOutput}
52
+ * @see {@link UpdateUserProficienciesCommandInput} for command's `input` shape.
53
+ * @see {@link UpdateUserProficienciesCommandOutput} for command's `response` shape.
54
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
55
+ *
56
+ * @throws {@link InternalServiceException} (server fault)
57
+ * <p>Request processing failed because of an error or failure with the service.</p>
58
+ *
59
+ * @throws {@link InvalidParameterException} (client fault)
60
+ * <p>One or more of the specified parameters are not valid.</p>
61
+ *
62
+ * @throws {@link InvalidRequestException} (client fault)
63
+ * <p>The request is not valid.</p>
64
+ *
65
+ * @throws {@link ResourceNotFoundException} (client fault)
66
+ * <p>The specified resource was not found.</p>
67
+ *
68
+ * @throws {@link ThrottlingException} (client fault)
69
+ * <p>The throttling limit has been exceeded.</p>
70
+ *
71
+ * @throws {@link ConnectServiceException}
72
+ * <p>Base exception class for all service exceptions from Connect service.</p>
73
+ *
74
+ */
75
+ export declare class UpdateUserProficienciesCommand extends $Command<UpdateUserProficienciesCommandInput, UpdateUserProficienciesCommandOutput, ConnectClientResolvedConfig> {
76
+ readonly input: UpdateUserProficienciesCommandInput;
77
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
78
+ /**
79
+ * @public
80
+ */
81
+ constructor(input: UpdateUserProficienciesCommandInput);
82
+ /**
83
+ * @internal
84
+ */
85
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateUserProficienciesCommandInput, UpdateUserProficienciesCommandOutput>;
86
+ /**
87
+ * @internal
88
+ */
89
+ private serialize;
90
+ /**
91
+ * @internal
92
+ */
93
+ private deserialize;
94
+ }
@@ -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";
@@ -307,6 +307,37 @@ export interface AgentContactReference {
307
307
  */
308
308
  Queue?: QueueReference;
309
309
  }
310
+ /**
311
+ * @public
312
+ * <p>A structure that defines agent hierarchy group levels which can be used to filter search results. Important: Agent hierarchy group level information in search result is a snapshot, it does not represent current agent hierarchy who handled the contact.</p>
313
+ */
314
+ export interface AgentHierarchyGroups {
315
+ /**
316
+ * @public
317
+ * <p>The identifiers for level 1 hierarchy groups.</p>
318
+ */
319
+ L1Ids?: string[];
320
+ /**
321
+ * @public
322
+ * <p>The identifiers for level 2 hierarchy groups.</p>
323
+ */
324
+ L2Ids?: string[];
325
+ /**
326
+ * @public
327
+ * <p>The identifiers for level 3 hierarchy groups.</p>
328
+ */
329
+ L3Ids?: string[];
330
+ /**
331
+ * @public
332
+ * <p>The identifiers for level 4 hierarchy groups.</p>
333
+ */
334
+ L4Ids?: string[];
335
+ /**
336
+ * @public
337
+ * <p>The identifiers for level 5 hierarchy groups.</p>
338
+ */
339
+ L5Ids?: string[];
340
+ }
310
341
  /**
311
342
  * @public
312
343
  * <p>Information about the agent who accepted the contact.</p>
@@ -1161,6 +1192,50 @@ export interface AssociateTrafficDistributionGroupUserRequest {
1161
1192
  */
1162
1193
  export interface AssociateTrafficDistributionGroupUserResponse {
1163
1194
  }
1195
+ /**
1196
+ * @public
1197
+ * <p>Information about proficiency of a user.</p>
1198
+ */
1199
+ export interface UserProficiency {
1200
+ /**
1201
+ * @public
1202
+ * <p>The name of user's proficiency. You must use name of predefined attribute present in the
1203
+ * Amazon Connect instance.</p>
1204
+ */
1205
+ AttributeName: string | undefined;
1206
+ /**
1207
+ * @public
1208
+ * <p>The value of user's proficiency. You must use value of predefined attribute present in the
1209
+ * Amazon Connect instance.</p>
1210
+ */
1211
+ AttributeValue: string | undefined;
1212
+ /**
1213
+ * @public
1214
+ * <p>The level of the proficiency. The valid values are 1, 2, 3, 4 and 5.</p>
1215
+ */
1216
+ Level: number | undefined;
1217
+ }
1218
+ /**
1219
+ * @public
1220
+ */
1221
+ export interface AssociateUserProficienciesRequest {
1222
+ /**
1223
+ * @public
1224
+ * <p>The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource
1225
+ * Name (ARN of the instance).</p>
1226
+ */
1227
+ InstanceId: string | undefined;
1228
+ /**
1229
+ * @public
1230
+ * <p>The identifier of the user account.</p>
1231
+ */
1232
+ UserId: string | undefined;
1233
+ /**
1234
+ * @public
1235
+ * <p>The proficiencies to associate with the user.</p>
1236
+ */
1237
+ UserProficiencies: UserProficiency[] | undefined;
1238
+ }
1164
1239
  /**
1165
1240
  * @public
1166
1241
  */
@@ -2763,6 +2838,57 @@ export interface CreatePersistentContactAssociationResponse {
2763
2838
  */
2764
2839
  ContinuedFromContactId?: string;
2765
2840
  }
2841
+ /**
2842
+ * @public
2843
+ * <p>Information about values of a predefined attribute.</p>
2844
+ */
2845
+ export type PredefinedAttributeValues = PredefinedAttributeValues.StringListMember | PredefinedAttributeValues.$UnknownMember;
2846
+ /**
2847
+ * @public
2848
+ */
2849
+ export declare namespace PredefinedAttributeValues {
2850
+ /**
2851
+ * @public
2852
+ * <p>Predefined attribute values of type string list.</p>
2853
+ */
2854
+ interface StringListMember {
2855
+ StringList: string[];
2856
+ $unknown?: never;
2857
+ }
2858
+ /**
2859
+ * @public
2860
+ */
2861
+ interface $UnknownMember {
2862
+ StringList?: never;
2863
+ $unknown: [string, any];
2864
+ }
2865
+ interface Visitor<T> {
2866
+ StringList: (value: string[]) => T;
2867
+ _: (name: string, value: any) => T;
2868
+ }
2869
+ const visit: <T>(value: PredefinedAttributeValues, visitor: Visitor<T>) => T;
2870
+ }
2871
+ /**
2872
+ * @public
2873
+ */
2874
+ export interface CreatePredefinedAttributeRequest {
2875
+ /**
2876
+ * @public
2877
+ * <p>The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource
2878
+ * Name (ARN) of the instance.</p>
2879
+ */
2880
+ InstanceId: string | undefined;
2881
+ /**
2882
+ * @public
2883
+ * <p> The name of the predefined attribute. </p>
2884
+ */
2885
+ Name: string | undefined;
2886
+ /**
2887
+ * @public
2888
+ * <p> The values of the predefined attribute. </p>
2889
+ */
2890
+ Values: PredefinedAttributeValues | undefined;
2891
+ }
2766
2892
  /**
2767
2893
  * @public
2768
2894
  */
@@ -4756,6 +4882,22 @@ export interface DeleteIntegrationAssociationRequest {
4756
4882
  */
4757
4883
  IntegrationAssociationId: string | undefined;
4758
4884
  }
4885
+ /**
4886
+ * @public
4887
+ */
4888
+ export interface DeletePredefinedAttributeRequest {
4889
+ /**
4890
+ * @public
4891
+ * <p> The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource
4892
+ * Name (ARN) of the instance.</p>
4893
+ */
4894
+ InstanceId: string | undefined;
4895
+ /**
4896
+ * @public
4897
+ * <p> The name of the predefined attribute.</p>
4898
+ */
4899
+ Name: string | undefined;
4900
+ }
4759
4901
  /**
4760
4902
  * @public
4761
4903
  */
@@ -5199,7 +5341,23 @@ export interface Contact {
5199
5341
  WisdomInfo?: WisdomInfo;
5200
5342
  /**
5201
5343
  * @public
5202
- * <p>Tags associated with the contact. This contains both Amazon Web Services generated and user-defined tags.</p>
5344
+ * <p>An integer that represents the queue time adjust to be applied to the contact, in seconds
5345
+ * (longer / larger queue time are routed preferentially). Cannot be specified if the QueuePriority
5346
+ * is specified. Must be statically defined and a valid integer value.</p>
5347
+ */
5348
+ QueueTimeAdjustmentSeconds?: number;
5349
+ /**
5350
+ * @public
5351
+ * <p>An integer that represents the queue priority to be applied to the contact (lower priorities
5352
+ * are routed preferentially). Cannot be specified if the QueueTimeAdjustmentSeconds is specified.
5353
+ * Must be statically defined, must be larger than zero, and a valid integer value. Default Value is
5354
+ * 5.</p>
5355
+ */
5356
+ QueuePriority?: number;
5357
+ /**
5358
+ * @public
5359
+ * <p>Tags associated with the contact. This contains both Amazon Web Services generated and
5360
+ * user-defined tags.</p>
5203
5361
  */
5204
5362
  Tags?: Record<string, string>;
5205
5363
  }
@@ -6193,190 +6351,6 @@ export declare const PhoneNumberCountryCode: {
6193
6351
  * @public
6194
6352
  */
6195
6353
  export type PhoneNumberCountryCode = (typeof PhoneNumberCountryCode)[keyof typeof PhoneNumberCountryCode];
6196
- /**
6197
- * @public
6198
- * @enum
6199
- */
6200
- export declare const PhoneNumberWorkflowStatus: {
6201
- readonly Claimed: "CLAIMED";
6202
- readonly Failed: "FAILED";
6203
- readonly InProgress: "IN_PROGRESS";
6204
- };
6205
- /**
6206
- * @public
6207
- */
6208
- export type PhoneNumberWorkflowStatus = (typeof PhoneNumberWorkflowStatus)[keyof typeof PhoneNumberWorkflowStatus];
6209
- /**
6210
- * @public
6211
- * <p>The status of the phone number.</p>
6212
- * <ul>
6213
- * <li>
6214
- * <p>
6215
- * <code>CLAIMED</code> means the previous <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_ClaimPhoneNumber.html">ClaimPhoneNumber</a> or <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdatePhoneNumber.html">UpdatePhoneNumber</a> operation succeeded.</p>
6216
- * </li>
6217
- * <li>
6218
- * <p>
6219
- * <code>IN_PROGRESS</code> means a <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_ClaimPhoneNumber.html">ClaimPhoneNumber</a>, <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdatePhoneNumber.html">UpdatePhoneNumber</a>, or <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdatePhoneNumberMetadata.html">UpdatePhoneNumberMetadata</a> operation is still in progress and has not yet completed.
6220
- * You can call <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribePhoneNumber.html">DescribePhoneNumber</a> at
6221
- * a later time to verify if the previous operation has completed.</p>
6222
- * </li>
6223
- * <li>
6224
- * <p>
6225
- * <code>FAILED</code> indicates that the previous <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_ClaimPhoneNumber.html">ClaimPhoneNumber</a> or <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdatePhoneNumber.html">UpdatePhoneNumber</a> operation has failed. It will include a message indicating the
6226
- * failure reason. A common reason for a failure may be that the <code>TargetArn</code> value you
6227
- * are claiming or updating a phone number to has reached its limit of total claimed numbers. If
6228
- * you received a <code>FAILED</code> status from a <code>ClaimPhoneNumber</code> API call, you
6229
- * have one day to retry claiming the phone number before the number is released back to the
6230
- * inventory for other customers to claim.</p>
6231
- * </li>
6232
- * </ul>
6233
- */
6234
- export interface PhoneNumberStatus {
6235
- /**
6236
- * @public
6237
- * <p>The status.</p>
6238
- */
6239
- Status?: PhoneNumberWorkflowStatus;
6240
- /**
6241
- * @public
6242
- * <p>The status message.</p>
6243
- */
6244
- Message?: string;
6245
- }
6246
- /**
6247
- * @public
6248
- * @enum
6249
- */
6250
- export declare const PhoneNumberType: {
6251
- readonly DID: "DID";
6252
- readonly SHARED: "SHARED";
6253
- readonly SHORT_CODE: "SHORT_CODE";
6254
- readonly THIRD_PARTY_DID: "THIRD_PARTY_DID";
6255
- readonly THIRD_PARTY_TF: "THIRD_PARTY_TF";
6256
- readonly TOLL_FREE: "TOLL_FREE";
6257
- readonly UIFN: "UIFN";
6258
- };
6259
- /**
6260
- * @public
6261
- */
6262
- export type PhoneNumberType = (typeof PhoneNumberType)[keyof typeof PhoneNumberType];
6263
- /**
6264
- * @public
6265
- * <p>Information about a phone number that has been claimed to your Amazon Connect instance
6266
- * or traffic distribution group.</p>
6267
- */
6268
- export interface ClaimedPhoneNumberSummary {
6269
- /**
6270
- * @public
6271
- * <p>A unique identifier for the phone number.</p>
6272
- */
6273
- PhoneNumberId?: string;
6274
- /**
6275
- * @public
6276
- * <p>The Amazon Resource Name (ARN) of the phone number.</p>
6277
- */
6278
- PhoneNumberArn?: string;
6279
- /**
6280
- * @public
6281
- * <p>The phone number. Phone numbers are formatted <code>[+] [country code] [subscriber number including area code]</code>.</p>
6282
- */
6283
- PhoneNumber?: string;
6284
- /**
6285
- * @public
6286
- * <p>The ISO country code.</p>
6287
- */
6288
- PhoneNumberCountryCode?: PhoneNumberCountryCode;
6289
- /**
6290
- * @public
6291
- * <p>The type of phone number.</p>
6292
- */
6293
- PhoneNumberType?: PhoneNumberType;
6294
- /**
6295
- * @public
6296
- * <p>The description of the phone number.</p>
6297
- */
6298
- PhoneNumberDescription?: string;
6299
- /**
6300
- * @public
6301
- * <p>The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number inbound traffic is routed through.</p>
6302
- */
6303
- TargetArn?: string;
6304
- /**
6305
- * @public
6306
- * <p>The identifier of the Amazon Connect instance that phone numbers are claimed to. You
6307
- * can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the
6308
- * instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
6309
- */
6310
- InstanceId?: string;
6311
- /**
6312
- * @public
6313
- * <p>The tags used to organize, track, or control access for this resource. For example, \{ "Tags": \{"key1":"value1", "key2":"value2"\} \}.</p>
6314
- */
6315
- Tags?: Record<string, string>;
6316
- /**
6317
- * @public
6318
- * <p>The status of the phone number.</p>
6319
- * <ul>
6320
- * <li>
6321
- * <p>
6322
- * <code>CLAIMED</code> means the previous <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_ClaimPhoneNumber.html">ClaimPhoneNumber</a> or <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdatePhoneNumber.html">UpdatePhoneNumber</a> operation succeeded.</p>
6323
- * </li>
6324
- * <li>
6325
- * <p>
6326
- * <code>IN_PROGRESS</code> means a <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_ClaimPhoneNumber.html">ClaimPhoneNumber</a>, <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdatePhoneNumber.html">UpdatePhoneNumber</a>, or <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdatePhoneNumberMetadata.html">UpdatePhoneNumberMetadata</a> operation is still in progress and has not yet completed.
6327
- * You can call <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribePhoneNumber.html">DescribePhoneNumber</a> at
6328
- * a later time to verify if the previous operation has completed.</p>
6329
- * </li>
6330
- * <li>
6331
- * <p>
6332
- * <code>FAILED</code> indicates that the previous <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_ClaimPhoneNumber.html">ClaimPhoneNumber</a> or <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdatePhoneNumber.html">UpdatePhoneNumber</a> operation has failed. It will include a message indicating the
6333
- * failure reason. A common reason for a failure may be that the <code>TargetArn</code> value you
6334
- * are claiming or updating a phone number to has reached its limit of total claimed numbers. If
6335
- * you received a <code>FAILED</code> status from a <code>ClaimPhoneNumber</code> API call, you
6336
- * have one day to retry claiming the phone number before the number is released back to the
6337
- * inventory for other customers to claim.</p>
6338
- * </li>
6339
- * </ul>
6340
- * <note>
6341
- * <p>You will not be billed for the phone number during the 1-day period if number claiming
6342
- * fails. </p>
6343
- * </note>
6344
- */
6345
- PhoneNumberStatus?: PhoneNumberStatus;
6346
- /**
6347
- * @public
6348
- * <p>The claimed phone number ARN that was previously imported from the external service, such as
6349
- * Amazon Pinpoint. If it is from Amazon Pinpoint, it looks like the ARN of the phone number
6350
- * that was imported from Amazon Pinpoint.</p>
6351
- */
6352
- SourcePhoneNumberArn?: string;
6353
- }
6354
- /**
6355
- * @public
6356
- */
6357
- export interface DescribePhoneNumberResponse {
6358
- /**
6359
- * @public
6360
- * <p>Information about a phone number that's been claimed to your Amazon Connect instance or
6361
- * traffic distribution group.</p>
6362
- */
6363
- ClaimedPhoneNumberSummary?: ClaimedPhoneNumberSummary;
6364
- }
6365
- /**
6366
- * @public
6367
- */
6368
- export interface DescribePromptRequest {
6369
- /**
6370
- * @public
6371
- * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
6372
- */
6373
- InstanceId: string | undefined;
6374
- /**
6375
- * @public
6376
- * <p>A unique identifier for the prompt.</p>
6377
- */
6378
- PromptId: string | undefined;
6379
- }
6380
6354
  /**
6381
6355
  * @internal
6382
6356
  */