@aws-sdk/client-connect 3.39.0 → 3.43.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 (323) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/README.md +2 -4
  3. package/dist-cjs/Connect.js +285 -0
  4. package/dist-cjs/commands/CreateContactFlowModuleCommand.js +36 -0
  5. package/dist-cjs/commands/CreateSecurityProfileCommand.js +36 -0
  6. package/dist-cjs/commands/DeleteContactFlowCommand.js +36 -0
  7. package/dist-cjs/commands/DeleteContactFlowModuleCommand.js +36 -0
  8. package/dist-cjs/commands/DeleteSecurityProfileCommand.js +36 -0
  9. package/dist-cjs/commands/DescribeContactCommand.js +36 -0
  10. package/dist-cjs/commands/DescribeContactFlowModuleCommand.js +36 -0
  11. package/dist-cjs/commands/DescribeSecurityProfileCommand.js +36 -0
  12. package/dist-cjs/commands/ListContactFlowModulesCommand.js +36 -0
  13. package/dist-cjs/commands/ListContactReferencesCommand.js +36 -0
  14. package/dist-cjs/commands/ListSecurityProfilePermissionsCommand.js +36 -0
  15. package/dist-cjs/commands/StartContactStreamingCommand.js +36 -0
  16. package/dist-cjs/commands/StopContactStreamingCommand.js +36 -0
  17. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  18. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  19. package/dist-cjs/commands/UpdateAgentStatusCommand.js +2 -2
  20. package/dist-cjs/commands/UpdateContactAttributesCommand.js +3 -3
  21. package/dist-cjs/commands/UpdateContactCommand.js +36 -0
  22. package/dist-cjs/commands/UpdateContactFlowContentCommand.js +2 -2
  23. package/dist-cjs/commands/UpdateContactFlowMetadataCommand.js +36 -0
  24. package/dist-cjs/commands/UpdateContactFlowModuleContentCommand.js +36 -0
  25. package/dist-cjs/commands/UpdateContactFlowModuleMetadataCommand.js +36 -0
  26. package/dist-cjs/commands/UpdateContactFlowNameCommand.js +2 -2
  27. package/dist-cjs/commands/UpdateContactScheduleCommand.js +36 -0
  28. package/dist-cjs/commands/UpdateHoursOfOperationCommand.js +2 -2
  29. package/dist-cjs/commands/UpdateInstanceAttributeCommand.js +2 -2
  30. package/dist-cjs/commands/UpdateInstanceStorageConfigCommand.js +2 -2
  31. package/dist-cjs/commands/UpdateQueueHoursOfOperationCommand.js +2 -2
  32. package/dist-cjs/commands/UpdateQueueMaxContactsCommand.js +2 -2
  33. package/dist-cjs/commands/UpdateQueueNameCommand.js +2 -2
  34. package/dist-cjs/commands/UpdateQueueOutboundCallerConfigCommand.js +2 -2
  35. package/dist-cjs/commands/UpdateQueueStatusCommand.js +2 -2
  36. package/dist-cjs/commands/UpdateQuickConnectConfigCommand.js +2 -2
  37. package/dist-cjs/commands/UpdateQuickConnectNameCommand.js +2 -2
  38. package/dist-cjs/commands/UpdateRoutingProfileConcurrencyCommand.js +2 -2
  39. package/dist-cjs/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.js +2 -2
  40. package/dist-cjs/commands/UpdateRoutingProfileNameCommand.js +2 -2
  41. package/dist-cjs/commands/UpdateRoutingProfileQueuesCommand.js +2 -2
  42. package/dist-cjs/commands/UpdateSecurityProfileCommand.js +36 -0
  43. package/dist-cjs/commands/UpdateUserHierarchyCommand.js +2 -2
  44. package/dist-cjs/commands/UpdateUserHierarchyGroupNameCommand.js +2 -2
  45. package/dist-cjs/commands/UpdateUserHierarchyStructureCommand.js +2 -2
  46. package/dist-cjs/commands/UpdateUserIdentityInfoCommand.js +2 -2
  47. package/dist-cjs/commands/UpdateUserPhoneConfigCommand.js +2 -2
  48. package/dist-cjs/commands/UpdateUserRoutingProfileCommand.js +2 -2
  49. package/dist-cjs/commands/UpdateUserSecurityProfilesCommand.js +2 -2
  50. package/dist-cjs/commands/index.js +19 -0
  51. package/dist-cjs/endpoints.js +74 -5
  52. package/dist-cjs/models/index.js +1 -0
  53. package/dist-cjs/models/models_0.js +293 -206
  54. package/dist-cjs/models/models_1.js +243 -0
  55. package/dist-cjs/pagination/ListContactFlowModulesPaginator.js +35 -0
  56. package/dist-cjs/pagination/ListContactReferencesPaginator.js +34 -0
  57. package/dist-cjs/pagination/ListSecurityProfilePermissionsPaginator.js +35 -0
  58. package/dist-cjs/pagination/index.js +3 -0
  59. package/dist-cjs/protocols/Aws_restJson1.js +3268 -730
  60. package/dist-cjs/runtimeConfig.browser.js +6 -3
  61. package/dist-cjs/runtimeConfig.js +5 -3
  62. package/dist-es/Connect.js +285 -0
  63. package/dist-es/commands/CreateContactFlowModuleCommand.js +39 -0
  64. package/dist-es/commands/CreateSecurityProfileCommand.js +39 -0
  65. package/dist-es/commands/DeleteContactFlowCommand.js +39 -0
  66. package/dist-es/commands/DeleteContactFlowModuleCommand.js +39 -0
  67. package/dist-es/commands/DeleteSecurityProfileCommand.js +39 -0
  68. package/dist-es/commands/DescribeContactCommand.js +39 -0
  69. package/dist-es/commands/DescribeContactFlowModuleCommand.js +39 -0
  70. package/dist-es/commands/DescribeSecurityProfileCommand.js +39 -0
  71. package/dist-es/commands/ListContactFlowModulesCommand.js +39 -0
  72. package/dist-es/commands/ListContactReferencesCommand.js +39 -0
  73. package/dist-es/commands/ListSecurityProfilePermissionsCommand.js +39 -0
  74. package/dist-es/commands/StartContactStreamingCommand.js +39 -0
  75. package/dist-es/commands/StopContactStreamingCommand.js +39 -0
  76. package/dist-es/commands/TagResourceCommand.js +1 -1
  77. package/dist-es/commands/UntagResourceCommand.js +1 -1
  78. package/dist-es/commands/UpdateAgentStatusCommand.js +1 -1
  79. package/dist-es/commands/UpdateContactAttributesCommand.js +1 -1
  80. package/dist-es/commands/UpdateContactCommand.js +39 -0
  81. package/dist-es/commands/UpdateContactFlowContentCommand.js +1 -1
  82. package/dist-es/commands/UpdateContactFlowMetadataCommand.js +39 -0
  83. package/dist-es/commands/UpdateContactFlowModuleContentCommand.js +39 -0
  84. package/dist-es/commands/UpdateContactFlowModuleMetadataCommand.js +39 -0
  85. package/dist-es/commands/UpdateContactFlowNameCommand.js +1 -1
  86. package/dist-es/commands/UpdateContactScheduleCommand.js +39 -0
  87. package/dist-es/commands/UpdateHoursOfOperationCommand.js +1 -1
  88. package/dist-es/commands/UpdateInstanceAttributeCommand.js +1 -1
  89. package/dist-es/commands/UpdateInstanceStorageConfigCommand.js +1 -1
  90. package/dist-es/commands/UpdateQueueHoursOfOperationCommand.js +1 -1
  91. package/dist-es/commands/UpdateQueueMaxContactsCommand.js +1 -1
  92. package/dist-es/commands/UpdateQueueNameCommand.js +1 -1
  93. package/dist-es/commands/UpdateQueueOutboundCallerConfigCommand.js +1 -1
  94. package/dist-es/commands/UpdateQueueStatusCommand.js +1 -1
  95. package/dist-es/commands/UpdateQuickConnectConfigCommand.js +1 -1
  96. package/dist-es/commands/UpdateQuickConnectNameCommand.js +1 -1
  97. package/dist-es/commands/UpdateRoutingProfileConcurrencyCommand.js +1 -1
  98. package/dist-es/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.js +1 -1
  99. package/dist-es/commands/UpdateRoutingProfileNameCommand.js +1 -1
  100. package/dist-es/commands/UpdateRoutingProfileQueuesCommand.js +1 -1
  101. package/dist-es/commands/UpdateSecurityProfileCommand.js +39 -0
  102. package/dist-es/commands/UpdateUserHierarchyCommand.js +1 -1
  103. package/dist-es/commands/UpdateUserHierarchyGroupNameCommand.js +1 -1
  104. package/dist-es/commands/UpdateUserHierarchyStructureCommand.js +1 -1
  105. package/dist-es/commands/UpdateUserIdentityInfoCommand.js +1 -1
  106. package/dist-es/commands/UpdateUserPhoneConfigCommand.js +1 -1
  107. package/dist-es/commands/UpdateUserRoutingProfileCommand.js +1 -1
  108. package/dist-es/commands/UpdateUserSecurityProfilesCommand.js +1 -1
  109. package/dist-es/commands/index.js +19 -0
  110. package/dist-es/endpoints.js +74 -5
  111. package/dist-es/models/index.js +1 -0
  112. package/dist-es/models/models_0.js +211 -136
  113. package/dist-es/models/models_1.js +161 -0
  114. package/dist-es/pagination/ListContactFlowModulesPaginator.js +74 -0
  115. package/dist-es/pagination/ListContactReferencesPaginator.js +73 -0
  116. package/dist-es/pagination/ListSecurityProfilePermissionsPaginator.js +74 -0
  117. package/dist-es/pagination/index.js +3 -0
  118. package/dist-es/protocols/Aws_restJson1.js +3135 -302
  119. package/dist-es/runtimeConfig.browser.js +3 -2
  120. package/dist-es/runtimeConfig.js +3 -3
  121. package/dist-types/Connect.d.ts +166 -9
  122. package/dist-types/ConnectClient.d.ts +32 -7
  123. package/dist-types/commands/AssociateApprovedOriginCommand.d.ts +1 -1
  124. package/dist-types/commands/AssociateBotCommand.d.ts +1 -1
  125. package/dist-types/commands/AssociateInstanceStorageConfigCommand.d.ts +1 -1
  126. package/dist-types/commands/AssociateLambdaFunctionCommand.d.ts +1 -1
  127. package/dist-types/commands/AssociateLexBotCommand.d.ts +1 -1
  128. package/dist-types/commands/AssociateQueueQuickConnectsCommand.d.ts +1 -1
  129. package/dist-types/commands/AssociateRoutingProfileQueuesCommand.d.ts +1 -1
  130. package/dist-types/commands/AssociateSecurityKeyCommand.d.ts +1 -1
  131. package/dist-types/commands/CreateAgentStatusCommand.d.ts +1 -1
  132. package/dist-types/commands/CreateContactFlowCommand.d.ts +1 -1
  133. package/dist-types/commands/CreateContactFlowModuleCommand.d.ts +35 -0
  134. package/dist-types/commands/CreateHoursOfOperationCommand.d.ts +3 -2
  135. package/dist-types/commands/CreateInstanceCommand.d.ts +1 -1
  136. package/dist-types/commands/CreateIntegrationAssociationCommand.d.ts +1 -1
  137. package/dist-types/commands/CreateQueueCommand.d.ts +1 -1
  138. package/dist-types/commands/CreateQuickConnectCommand.d.ts +1 -1
  139. package/dist-types/commands/CreateRoutingProfileCommand.d.ts +1 -1
  140. package/dist-types/commands/CreateSecurityProfileCommand.d.ts +36 -0
  141. package/dist-types/commands/CreateUseCaseCommand.d.ts +1 -1
  142. package/dist-types/commands/CreateUserCommand.d.ts +1 -1
  143. package/dist-types/commands/CreateUserHierarchyGroupCommand.d.ts +1 -1
  144. package/dist-types/commands/DeleteContactFlowCommand.d.ts +35 -0
  145. package/dist-types/commands/DeleteContactFlowModuleCommand.d.ts +35 -0
  146. package/dist-types/commands/DeleteHoursOfOperationCommand.d.ts +3 -2
  147. package/dist-types/commands/DeleteInstanceCommand.d.ts +1 -1
  148. package/dist-types/commands/DeleteIntegrationAssociationCommand.d.ts +1 -1
  149. package/dist-types/commands/DeleteQuickConnectCommand.d.ts +1 -1
  150. package/dist-types/commands/DeleteSecurityProfileCommand.d.ts +36 -0
  151. package/dist-types/commands/DeleteUseCaseCommand.d.ts +1 -1
  152. package/dist-types/commands/DeleteUserCommand.d.ts +1 -1
  153. package/dist-types/commands/DeleteUserHierarchyGroupCommand.d.ts +1 -1
  154. package/dist-types/commands/DescribeAgentStatusCommand.d.ts +1 -1
  155. package/dist-types/commands/DescribeContactCommand.d.ts +40 -0
  156. package/dist-types/commands/DescribeContactFlowCommand.d.ts +1 -1
  157. package/dist-types/commands/DescribeContactFlowModuleCommand.d.ts +35 -0
  158. package/dist-types/commands/DescribeHoursOfOperationCommand.d.ts +3 -2
  159. package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +1 -1
  160. package/dist-types/commands/DescribeInstanceCommand.d.ts +1 -1
  161. package/dist-types/commands/DescribeInstanceStorageConfigCommand.d.ts +1 -1
  162. package/dist-types/commands/DescribeQueueCommand.d.ts +1 -1
  163. package/dist-types/commands/DescribeQuickConnectCommand.d.ts +1 -1
  164. package/dist-types/commands/DescribeRoutingProfileCommand.d.ts +1 -1
  165. package/dist-types/commands/DescribeSecurityProfileCommand.d.ts +36 -0
  166. package/dist-types/commands/DescribeUserCommand.d.ts +1 -1
  167. package/dist-types/commands/DescribeUserHierarchyGroupCommand.d.ts +1 -1
  168. package/dist-types/commands/DescribeUserHierarchyStructureCommand.d.ts +1 -1
  169. package/dist-types/commands/DisassociateApprovedOriginCommand.d.ts +1 -1
  170. package/dist-types/commands/DisassociateBotCommand.d.ts +1 -1
  171. package/dist-types/commands/DisassociateInstanceStorageConfigCommand.d.ts +1 -1
  172. package/dist-types/commands/DisassociateLambdaFunctionCommand.d.ts +1 -1
  173. package/dist-types/commands/DisassociateLexBotCommand.d.ts +1 -1
  174. package/dist-types/commands/DisassociateQueueQuickConnectsCommand.d.ts +1 -1
  175. package/dist-types/commands/DisassociateRoutingProfileQueuesCommand.d.ts +1 -1
  176. package/dist-types/commands/DisassociateSecurityKeyCommand.d.ts +1 -1
  177. package/dist-types/commands/GetContactAttributesCommand.d.ts +1 -1
  178. package/dist-types/commands/GetCurrentMetricDataCommand.d.ts +1 -1
  179. package/dist-types/commands/GetFederationTokenCommand.d.ts +1 -1
  180. package/dist-types/commands/GetMetricDataCommand.d.ts +1 -1
  181. package/dist-types/commands/ListAgentStatusesCommand.d.ts +1 -1
  182. package/dist-types/commands/ListApprovedOriginsCommand.d.ts +1 -1
  183. package/dist-types/commands/ListBotsCommand.d.ts +1 -1
  184. package/dist-types/commands/ListContactFlowModulesCommand.d.ts +35 -0
  185. package/dist-types/commands/ListContactFlowsCommand.d.ts +1 -1
  186. package/dist-types/commands/ListContactReferencesCommand.d.ts +37 -0
  187. package/dist-types/commands/ListHoursOfOperationsCommand.d.ts +1 -1
  188. package/dist-types/commands/ListInstanceAttributesCommand.d.ts +1 -1
  189. package/dist-types/commands/ListInstanceStorageConfigsCommand.d.ts +1 -1
  190. package/dist-types/commands/ListInstancesCommand.d.ts +1 -1
  191. package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +1 -1
  192. package/dist-types/commands/ListLambdaFunctionsCommand.d.ts +1 -1
  193. package/dist-types/commands/ListLexBotsCommand.d.ts +1 -1
  194. package/dist-types/commands/ListPhoneNumbersCommand.d.ts +1 -1
  195. package/dist-types/commands/ListPromptsCommand.d.ts +1 -1
  196. package/dist-types/commands/ListQueueQuickConnectsCommand.d.ts +1 -1
  197. package/dist-types/commands/ListQueuesCommand.d.ts +1 -1
  198. package/dist-types/commands/ListQuickConnectsCommand.d.ts +1 -1
  199. package/dist-types/commands/ListRoutingProfileQueuesCommand.d.ts +1 -1
  200. package/dist-types/commands/ListRoutingProfilesCommand.d.ts +1 -1
  201. package/dist-types/commands/ListSecurityKeysCommand.d.ts +1 -1
  202. package/dist-types/commands/ListSecurityProfilePermissionsCommand.d.ts +36 -0
  203. package/dist-types/commands/ListSecurityProfilesCommand.d.ts +1 -1
  204. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  205. package/dist-types/commands/ListUseCasesCommand.d.ts +1 -1
  206. package/dist-types/commands/ListUserHierarchyGroupsCommand.d.ts +1 -1
  207. package/dist-types/commands/ListUsersCommand.d.ts +1 -1
  208. package/dist-types/commands/ResumeContactRecordingCommand.d.ts +1 -1
  209. package/dist-types/commands/StartChatContactCommand.d.ts +1 -1
  210. package/dist-types/commands/StartContactRecordingCommand.d.ts +1 -1
  211. package/dist-types/commands/StartContactStreamingCommand.d.ts +37 -0
  212. package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +1 -1
  213. package/dist-types/commands/StartTaskContactCommand.d.ts +1 -1
  214. package/dist-types/commands/StopContactCommand.d.ts +1 -1
  215. package/dist-types/commands/StopContactRecordingCommand.d.ts +1 -1
  216. package/dist-types/commands/StopContactStreamingCommand.d.ts +37 -0
  217. package/dist-types/commands/SuspendContactRecordingCommand.d.ts +1 -1
  218. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  219. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  220. package/dist-types/commands/UpdateAgentStatusCommand.d.ts +2 -2
  221. package/dist-types/commands/UpdateContactAttributesCommand.d.ts +2 -2
  222. package/dist-types/commands/UpdateContactCommand.d.ts +41 -0
  223. package/dist-types/commands/UpdateContactFlowContentCommand.d.ts +2 -2
  224. package/dist-types/commands/UpdateContactFlowMetadataCommand.d.ts +35 -0
  225. package/dist-types/commands/UpdateContactFlowModuleContentCommand.d.ts +35 -0
  226. package/dist-types/commands/UpdateContactFlowModuleMetadataCommand.d.ts +35 -0
  227. package/dist-types/commands/UpdateContactFlowNameCommand.d.ts +2 -2
  228. package/dist-types/commands/UpdateContactScheduleCommand.d.ts +35 -0
  229. package/dist-types/commands/UpdateHoursOfOperationCommand.d.ts +4 -3
  230. package/dist-types/commands/UpdateInstanceAttributeCommand.d.ts +2 -2
  231. package/dist-types/commands/UpdateInstanceStorageConfigCommand.d.ts +2 -2
  232. package/dist-types/commands/UpdateQueueHoursOfOperationCommand.d.ts +2 -2
  233. package/dist-types/commands/UpdateQueueMaxContactsCommand.d.ts +2 -2
  234. package/dist-types/commands/UpdateQueueNameCommand.d.ts +2 -2
  235. package/dist-types/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +2 -2
  236. package/dist-types/commands/UpdateQueueStatusCommand.d.ts +2 -2
  237. package/dist-types/commands/UpdateQuickConnectConfigCommand.d.ts +2 -2
  238. package/dist-types/commands/UpdateQuickConnectNameCommand.d.ts +2 -2
  239. package/dist-types/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +2 -2
  240. package/dist-types/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.d.ts +2 -2
  241. package/dist-types/commands/UpdateRoutingProfileNameCommand.d.ts +2 -2
  242. package/dist-types/commands/UpdateRoutingProfileQueuesCommand.d.ts +2 -2
  243. package/dist-types/commands/UpdateSecurityProfileCommand.d.ts +36 -0
  244. package/dist-types/commands/UpdateUserHierarchyCommand.d.ts +2 -2
  245. package/dist-types/commands/UpdateUserHierarchyGroupNameCommand.d.ts +2 -2
  246. package/dist-types/commands/UpdateUserHierarchyStructureCommand.d.ts +2 -2
  247. package/dist-types/commands/UpdateUserIdentityInfoCommand.d.ts +2 -2
  248. package/dist-types/commands/UpdateUserPhoneConfigCommand.d.ts +2 -2
  249. package/dist-types/commands/UpdateUserRoutingProfileCommand.d.ts +2 -2
  250. package/dist-types/commands/UpdateUserSecurityProfilesCommand.d.ts +2 -2
  251. package/dist-types/commands/index.d.ts +19 -0
  252. package/dist-types/models/index.d.ts +1 -0
  253. package/dist-types/models/models_0.d.ts +932 -754
  254. package/dist-types/models/models_1.d.ts +831 -0
  255. package/dist-types/pagination/ListContactFlowModulesPaginator.d.ts +4 -0
  256. package/dist-types/pagination/ListContactReferencesPaginator.d.ts +4 -0
  257. package/dist-types/pagination/ListSecurityProfilePermissionsPaginator.d.ts +4 -0
  258. package/dist-types/pagination/index.d.ts +3 -0
  259. package/dist-types/protocols/Aws_restJson1.d.ts +57 -0
  260. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  261. package/dist-types/runtimeConfig.d.ts +2 -0
  262. package/dist-types/runtimeConfig.native.d.ts +2 -0
  263. package/dist-types/ts3.4/Connect.d.ts +95 -0
  264. package/dist-types/ts3.4/ConnectClient.d.ts +25 -2
  265. package/dist-types/ts3.4/commands/CreateContactFlowModuleCommand.d.ts +17 -0
  266. package/dist-types/ts3.4/commands/CreateSecurityProfileCommand.d.ts +17 -0
  267. package/dist-types/ts3.4/commands/DeleteContactFlowCommand.d.ts +17 -0
  268. package/dist-types/ts3.4/commands/DeleteContactFlowModuleCommand.d.ts +17 -0
  269. package/dist-types/ts3.4/commands/DeleteSecurityProfileCommand.d.ts +17 -0
  270. package/dist-types/ts3.4/commands/DescribeContactCommand.d.ts +17 -0
  271. package/dist-types/ts3.4/commands/DescribeContactFlowModuleCommand.d.ts +17 -0
  272. package/dist-types/ts3.4/commands/DescribeSecurityProfileCommand.d.ts +17 -0
  273. package/dist-types/ts3.4/commands/ListContactFlowModulesCommand.d.ts +17 -0
  274. package/dist-types/ts3.4/commands/ListContactReferencesCommand.d.ts +17 -0
  275. package/dist-types/ts3.4/commands/ListSecurityProfilePermissionsCommand.d.ts +17 -0
  276. package/dist-types/ts3.4/commands/StartContactStreamingCommand.d.ts +17 -0
  277. package/dist-types/ts3.4/commands/StopContactStreamingCommand.d.ts +17 -0
  278. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  279. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  280. package/dist-types/ts3.4/commands/UpdateAgentStatusCommand.d.ts +1 -1
  281. package/dist-types/ts3.4/commands/UpdateContactAttributesCommand.d.ts +1 -1
  282. package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +17 -0
  283. package/dist-types/ts3.4/commands/UpdateContactFlowContentCommand.d.ts +1 -1
  284. package/dist-types/ts3.4/commands/UpdateContactFlowMetadataCommand.d.ts +17 -0
  285. package/dist-types/ts3.4/commands/UpdateContactFlowModuleContentCommand.d.ts +17 -0
  286. package/dist-types/ts3.4/commands/UpdateContactFlowModuleMetadataCommand.d.ts +17 -0
  287. package/dist-types/ts3.4/commands/UpdateContactFlowNameCommand.d.ts +1 -1
  288. package/dist-types/ts3.4/commands/UpdateContactScheduleCommand.d.ts +17 -0
  289. package/dist-types/ts3.4/commands/UpdateHoursOfOperationCommand.d.ts +1 -1
  290. package/dist-types/ts3.4/commands/UpdateInstanceAttributeCommand.d.ts +1 -1
  291. package/dist-types/ts3.4/commands/UpdateInstanceStorageConfigCommand.d.ts +1 -1
  292. package/dist-types/ts3.4/commands/UpdateQueueHoursOfOperationCommand.d.ts +1 -1
  293. package/dist-types/ts3.4/commands/UpdateQueueMaxContactsCommand.d.ts +1 -1
  294. package/dist-types/ts3.4/commands/UpdateQueueNameCommand.d.ts +1 -1
  295. package/dist-types/ts3.4/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +1 -1
  296. package/dist-types/ts3.4/commands/UpdateQueueStatusCommand.d.ts +1 -1
  297. package/dist-types/ts3.4/commands/UpdateQuickConnectConfigCommand.d.ts +1 -1
  298. package/dist-types/ts3.4/commands/UpdateQuickConnectNameCommand.d.ts +1 -1
  299. package/dist-types/ts3.4/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +1 -1
  300. package/dist-types/ts3.4/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.d.ts +1 -1
  301. package/dist-types/ts3.4/commands/UpdateRoutingProfileNameCommand.d.ts +1 -1
  302. package/dist-types/ts3.4/commands/UpdateRoutingProfileQueuesCommand.d.ts +1 -1
  303. package/dist-types/ts3.4/commands/UpdateSecurityProfileCommand.d.ts +17 -0
  304. package/dist-types/ts3.4/commands/UpdateUserHierarchyCommand.d.ts +1 -1
  305. package/dist-types/ts3.4/commands/UpdateUserHierarchyGroupNameCommand.d.ts +1 -1
  306. package/dist-types/ts3.4/commands/UpdateUserHierarchyStructureCommand.d.ts +1 -1
  307. package/dist-types/ts3.4/commands/UpdateUserIdentityInfoCommand.d.ts +1 -1
  308. package/dist-types/ts3.4/commands/UpdateUserPhoneConfigCommand.d.ts +1 -1
  309. package/dist-types/ts3.4/commands/UpdateUserRoutingProfileCommand.d.ts +1 -1
  310. package/dist-types/ts3.4/commands/UpdateUserSecurityProfilesCommand.d.ts +1 -1
  311. package/dist-types/ts3.4/commands/index.d.ts +19 -0
  312. package/dist-types/ts3.4/models/index.d.ts +1 -0
  313. package/dist-types/ts3.4/models/models_0.d.ts +541 -415
  314. package/dist-types/ts3.4/models/models_1.d.ts +491 -0
  315. package/dist-types/ts3.4/pagination/ListContactFlowModulesPaginator.d.ts +4 -0
  316. package/dist-types/ts3.4/pagination/ListContactReferencesPaginator.d.ts +4 -0
  317. package/dist-types/ts3.4/pagination/ListSecurityProfilePermissionsPaginator.d.ts +4 -0
  318. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  319. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +57 -0
  320. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  321. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  322. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  323. package/package.json +23 -23
package/CHANGELOG.md CHANGED
@@ -3,6 +3,51 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 11/28/2021 ([#3072](https://github.com/aws/aws-sdk-js-v3/issues/3072)) ([2ad1622](https://github.com/aws/aws-sdk-js-v3/commit/2ad1622ba8586b926fe508055211803bb29e3976))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
18
+
19
+
20
+ ### Features
21
+
22
+ * **clients:** update clients as of 11/18/2021 ([#3039](https://github.com/aws/aws-sdk-js-v3/issues/3039)) ([d2b2c45](https://github.com/aws/aws-sdk-js-v3/commit/d2b2c453315fc7bff798c1fb97c792e59274b4d6))
23
+
24
+
25
+
26
+
27
+
28
+ # [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
29
+
30
+
31
+ ### Features
32
+
33
+ * **clients:** update clients as of 2021/11/11 ([#3015](https://github.com/aws/aws-sdk-js-v3/issues/3015)) ([3d82c4e](https://github.com/aws/aws-sdk-js-v3/commit/3d82c4e3c4d174533f46ce35495cf5cffabdb35a))
34
+
35
+
36
+
37
+
38
+
39
+ # [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
40
+
41
+
42
+ ### Features
43
+
44
+ * **clients:** populate variants in endpoints hashes ([#2974](https://github.com/aws/aws-sdk-js-v3/issues/2974)) ([0dd68ef](https://github.com/aws/aws-sdk-js-v3/commit/0dd68ef8b04ea0e96e43b05a9a10221e433fdf86))
45
+ * **clients:** update clients as of 2021/11/05 ([#2994](https://github.com/aws/aws-sdk-js-v3/issues/2994)) ([f5ecc31](https://github.com/aws/aws-sdk-js-v3/commit/f5ecc3147035a1f3d2d74cfed147999927ea8256))
46
+
47
+
48
+
49
+
50
+
6
51
  # [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
7
52
 
8
53
  **Note:** Version bump only for package @aws-sdk/client-connect
package/README.md CHANGED
@@ -15,10 +15,8 @@ appropriate agents.</p>
15
15
  <p>There are limits to the number of Amazon Connect resources that you can create. There are also limits
16
16
  to the number of requests that you can make per second. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html">Amazon Connect
17
17
  Service Quotas</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
18
- <p>You can
19
- connect
20
- programmatically to an AWS service by using an endpoint. For a list of Amazon Connect endpoints, see
21
- <a href="https://docs.aws.amazon.com/general/latest/gr/connect_region.html">Amazon Connect
18
+ <p>You can connect programmatically to an AWS service by using an endpoint. For a list of Amazon Connect
19
+ endpoints, see <a href="https://docs.aws.amazon.com/general/latest/gr/connect_region.html">Amazon Connect
22
20
  Endpoints</a>.</p>
23
21
  <note>
24
22
  <p>Working with contact flows? Check out the <a href="https://docs.aws.amazon.com/connect/latest/adminguide/flow-language.html">Amazon Connect Flow language</a>.</p>
@@ -11,24 +11,31 @@ const AssociateRoutingProfileQueuesCommand_1 = require("./commands/AssociateRout
11
11
  const AssociateSecurityKeyCommand_1 = require("./commands/AssociateSecurityKeyCommand");
12
12
  const CreateAgentStatusCommand_1 = require("./commands/CreateAgentStatusCommand");
13
13
  const CreateContactFlowCommand_1 = require("./commands/CreateContactFlowCommand");
14
+ const CreateContactFlowModuleCommand_1 = require("./commands/CreateContactFlowModuleCommand");
14
15
  const CreateHoursOfOperationCommand_1 = require("./commands/CreateHoursOfOperationCommand");
15
16
  const CreateInstanceCommand_1 = require("./commands/CreateInstanceCommand");
16
17
  const CreateIntegrationAssociationCommand_1 = require("./commands/CreateIntegrationAssociationCommand");
17
18
  const CreateQueueCommand_1 = require("./commands/CreateQueueCommand");
18
19
  const CreateQuickConnectCommand_1 = require("./commands/CreateQuickConnectCommand");
19
20
  const CreateRoutingProfileCommand_1 = require("./commands/CreateRoutingProfileCommand");
21
+ const CreateSecurityProfileCommand_1 = require("./commands/CreateSecurityProfileCommand");
20
22
  const CreateUseCaseCommand_1 = require("./commands/CreateUseCaseCommand");
21
23
  const CreateUserCommand_1 = require("./commands/CreateUserCommand");
22
24
  const CreateUserHierarchyGroupCommand_1 = require("./commands/CreateUserHierarchyGroupCommand");
25
+ const DeleteContactFlowCommand_1 = require("./commands/DeleteContactFlowCommand");
26
+ const DeleteContactFlowModuleCommand_1 = require("./commands/DeleteContactFlowModuleCommand");
23
27
  const DeleteHoursOfOperationCommand_1 = require("./commands/DeleteHoursOfOperationCommand");
24
28
  const DeleteInstanceCommand_1 = require("./commands/DeleteInstanceCommand");
25
29
  const DeleteIntegrationAssociationCommand_1 = require("./commands/DeleteIntegrationAssociationCommand");
26
30
  const DeleteQuickConnectCommand_1 = require("./commands/DeleteQuickConnectCommand");
31
+ const DeleteSecurityProfileCommand_1 = require("./commands/DeleteSecurityProfileCommand");
27
32
  const DeleteUseCaseCommand_1 = require("./commands/DeleteUseCaseCommand");
28
33
  const DeleteUserCommand_1 = require("./commands/DeleteUserCommand");
29
34
  const DeleteUserHierarchyGroupCommand_1 = require("./commands/DeleteUserHierarchyGroupCommand");
30
35
  const DescribeAgentStatusCommand_1 = require("./commands/DescribeAgentStatusCommand");
36
+ const DescribeContactCommand_1 = require("./commands/DescribeContactCommand");
31
37
  const DescribeContactFlowCommand_1 = require("./commands/DescribeContactFlowCommand");
38
+ const DescribeContactFlowModuleCommand_1 = require("./commands/DescribeContactFlowModuleCommand");
32
39
  const DescribeHoursOfOperationCommand_1 = require("./commands/DescribeHoursOfOperationCommand");
33
40
  const DescribeInstanceAttributeCommand_1 = require("./commands/DescribeInstanceAttributeCommand");
34
41
  const DescribeInstanceCommand_1 = require("./commands/DescribeInstanceCommand");
@@ -36,6 +43,7 @@ const DescribeInstanceStorageConfigCommand_1 = require("./commands/DescribeInsta
36
43
  const DescribeQueueCommand_1 = require("./commands/DescribeQueueCommand");
37
44
  const DescribeQuickConnectCommand_1 = require("./commands/DescribeQuickConnectCommand");
38
45
  const DescribeRoutingProfileCommand_1 = require("./commands/DescribeRoutingProfileCommand");
46
+ const DescribeSecurityProfileCommand_1 = require("./commands/DescribeSecurityProfileCommand");
39
47
  const DescribeUserCommand_1 = require("./commands/DescribeUserCommand");
40
48
  const DescribeUserHierarchyGroupCommand_1 = require("./commands/DescribeUserHierarchyGroupCommand");
41
49
  const DescribeUserHierarchyStructureCommand_1 = require("./commands/DescribeUserHierarchyStructureCommand");
@@ -54,7 +62,9 @@ const GetMetricDataCommand_1 = require("./commands/GetMetricDataCommand");
54
62
  const ListAgentStatusesCommand_1 = require("./commands/ListAgentStatusesCommand");
55
63
  const ListApprovedOriginsCommand_1 = require("./commands/ListApprovedOriginsCommand");
56
64
  const ListBotsCommand_1 = require("./commands/ListBotsCommand");
65
+ const ListContactFlowModulesCommand_1 = require("./commands/ListContactFlowModulesCommand");
57
66
  const ListContactFlowsCommand_1 = require("./commands/ListContactFlowsCommand");
67
+ const ListContactReferencesCommand_1 = require("./commands/ListContactReferencesCommand");
58
68
  const ListHoursOfOperationsCommand_1 = require("./commands/ListHoursOfOperationsCommand");
59
69
  const ListInstanceAttributesCommand_1 = require("./commands/ListInstanceAttributesCommand");
60
70
  const ListInstancesCommand_1 = require("./commands/ListInstancesCommand");
@@ -70,6 +80,7 @@ const ListQuickConnectsCommand_1 = require("./commands/ListQuickConnectsCommand"
70
80
  const ListRoutingProfileQueuesCommand_1 = require("./commands/ListRoutingProfileQueuesCommand");
71
81
  const ListRoutingProfilesCommand_1 = require("./commands/ListRoutingProfilesCommand");
72
82
  const ListSecurityKeysCommand_1 = require("./commands/ListSecurityKeysCommand");
83
+ const ListSecurityProfilePermissionsCommand_1 = require("./commands/ListSecurityProfilePermissionsCommand");
73
84
  const ListSecurityProfilesCommand_1 = require("./commands/ListSecurityProfilesCommand");
74
85
  const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
75
86
  const ListUseCasesCommand_1 = require("./commands/ListUseCasesCommand");
@@ -78,17 +89,24 @@ const ListUsersCommand_1 = require("./commands/ListUsersCommand");
78
89
  const ResumeContactRecordingCommand_1 = require("./commands/ResumeContactRecordingCommand");
79
90
  const StartChatContactCommand_1 = require("./commands/StartChatContactCommand");
80
91
  const StartContactRecordingCommand_1 = require("./commands/StartContactRecordingCommand");
92
+ const StartContactStreamingCommand_1 = require("./commands/StartContactStreamingCommand");
81
93
  const StartOutboundVoiceContactCommand_1 = require("./commands/StartOutboundVoiceContactCommand");
82
94
  const StartTaskContactCommand_1 = require("./commands/StartTaskContactCommand");
83
95
  const StopContactCommand_1 = require("./commands/StopContactCommand");
84
96
  const StopContactRecordingCommand_1 = require("./commands/StopContactRecordingCommand");
97
+ const StopContactStreamingCommand_1 = require("./commands/StopContactStreamingCommand");
85
98
  const SuspendContactRecordingCommand_1 = require("./commands/SuspendContactRecordingCommand");
86
99
  const TagResourceCommand_1 = require("./commands/TagResourceCommand");
87
100
  const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
88
101
  const UpdateAgentStatusCommand_1 = require("./commands/UpdateAgentStatusCommand");
89
102
  const UpdateContactAttributesCommand_1 = require("./commands/UpdateContactAttributesCommand");
103
+ const UpdateContactCommand_1 = require("./commands/UpdateContactCommand");
90
104
  const UpdateContactFlowContentCommand_1 = require("./commands/UpdateContactFlowContentCommand");
105
+ const UpdateContactFlowMetadataCommand_1 = require("./commands/UpdateContactFlowMetadataCommand");
106
+ const UpdateContactFlowModuleContentCommand_1 = require("./commands/UpdateContactFlowModuleContentCommand");
107
+ const UpdateContactFlowModuleMetadataCommand_1 = require("./commands/UpdateContactFlowModuleMetadataCommand");
91
108
  const UpdateContactFlowNameCommand_1 = require("./commands/UpdateContactFlowNameCommand");
109
+ const UpdateContactScheduleCommand_1 = require("./commands/UpdateContactScheduleCommand");
92
110
  const UpdateHoursOfOperationCommand_1 = require("./commands/UpdateHoursOfOperationCommand");
93
111
  const UpdateInstanceAttributeCommand_1 = require("./commands/UpdateInstanceAttributeCommand");
94
112
  const UpdateInstanceStorageConfigCommand_1 = require("./commands/UpdateInstanceStorageConfigCommand");
@@ -103,6 +121,7 @@ const UpdateRoutingProfileConcurrencyCommand_1 = require("./commands/UpdateRouti
103
121
  const UpdateRoutingProfileDefaultOutboundQueueCommand_1 = require("./commands/UpdateRoutingProfileDefaultOutboundQueueCommand");
104
122
  const UpdateRoutingProfileNameCommand_1 = require("./commands/UpdateRoutingProfileNameCommand");
105
123
  const UpdateRoutingProfileQueuesCommand_1 = require("./commands/UpdateRoutingProfileQueuesCommand");
124
+ const UpdateSecurityProfileCommand_1 = require("./commands/UpdateSecurityProfileCommand");
106
125
  const UpdateUserHierarchyCommand_1 = require("./commands/UpdateUserHierarchyCommand");
107
126
  const UpdateUserHierarchyGroupNameCommand_1 = require("./commands/UpdateUserHierarchyGroupNameCommand");
108
127
  const UpdateUserHierarchyStructureCommand_1 = require("./commands/UpdateUserHierarchyStructureCommand");
@@ -252,6 +271,20 @@ class Connect extends ConnectClient_1.ConnectClient {
252
271
  return this.send(command, optionsOrCb);
253
272
  }
254
273
  }
274
+ createContactFlowModule(args, optionsOrCb, cb) {
275
+ const command = new CreateContactFlowModuleCommand_1.CreateContactFlowModuleCommand(args);
276
+ if (typeof optionsOrCb === "function") {
277
+ this.send(command, optionsOrCb);
278
+ }
279
+ else if (typeof cb === "function") {
280
+ if (typeof optionsOrCb !== "object")
281
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
282
+ this.send(command, optionsOrCb || {}, cb);
283
+ }
284
+ else {
285
+ return this.send(command, optionsOrCb);
286
+ }
287
+ }
255
288
  createHoursOfOperation(args, optionsOrCb, cb) {
256
289
  const command = new CreateHoursOfOperationCommand_1.CreateHoursOfOperationCommand(args);
257
290
  if (typeof optionsOrCb === "function") {
@@ -336,6 +369,20 @@ class Connect extends ConnectClient_1.ConnectClient {
336
369
  return this.send(command, optionsOrCb);
337
370
  }
338
371
  }
372
+ createSecurityProfile(args, optionsOrCb, cb) {
373
+ const command = new CreateSecurityProfileCommand_1.CreateSecurityProfileCommand(args);
374
+ if (typeof optionsOrCb === "function") {
375
+ this.send(command, optionsOrCb);
376
+ }
377
+ else if (typeof cb === "function") {
378
+ if (typeof optionsOrCb !== "object")
379
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
380
+ this.send(command, optionsOrCb || {}, cb);
381
+ }
382
+ else {
383
+ return this.send(command, optionsOrCb);
384
+ }
385
+ }
339
386
  createUseCase(args, optionsOrCb, cb) {
340
387
  const command = new CreateUseCaseCommand_1.CreateUseCaseCommand(args);
341
388
  if (typeof optionsOrCb === "function") {
@@ -378,6 +425,34 @@ class Connect extends ConnectClient_1.ConnectClient {
378
425
  return this.send(command, optionsOrCb);
379
426
  }
380
427
  }
428
+ deleteContactFlow(args, optionsOrCb, cb) {
429
+ const command = new DeleteContactFlowCommand_1.DeleteContactFlowCommand(args);
430
+ if (typeof optionsOrCb === "function") {
431
+ this.send(command, optionsOrCb);
432
+ }
433
+ else if (typeof cb === "function") {
434
+ if (typeof optionsOrCb !== "object")
435
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
436
+ this.send(command, optionsOrCb || {}, cb);
437
+ }
438
+ else {
439
+ return this.send(command, optionsOrCb);
440
+ }
441
+ }
442
+ deleteContactFlowModule(args, optionsOrCb, cb) {
443
+ const command = new DeleteContactFlowModuleCommand_1.DeleteContactFlowModuleCommand(args);
444
+ if (typeof optionsOrCb === "function") {
445
+ this.send(command, optionsOrCb);
446
+ }
447
+ else if (typeof cb === "function") {
448
+ if (typeof optionsOrCb !== "object")
449
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
450
+ this.send(command, optionsOrCb || {}, cb);
451
+ }
452
+ else {
453
+ return this.send(command, optionsOrCb);
454
+ }
455
+ }
381
456
  deleteHoursOfOperation(args, optionsOrCb, cb) {
382
457
  const command = new DeleteHoursOfOperationCommand_1.DeleteHoursOfOperationCommand(args);
383
458
  if (typeof optionsOrCb === "function") {
@@ -434,6 +509,20 @@ class Connect extends ConnectClient_1.ConnectClient {
434
509
  return this.send(command, optionsOrCb);
435
510
  }
436
511
  }
512
+ deleteSecurityProfile(args, optionsOrCb, cb) {
513
+ const command = new DeleteSecurityProfileCommand_1.DeleteSecurityProfileCommand(args);
514
+ if (typeof optionsOrCb === "function") {
515
+ this.send(command, optionsOrCb);
516
+ }
517
+ else if (typeof cb === "function") {
518
+ if (typeof optionsOrCb !== "object")
519
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
520
+ this.send(command, optionsOrCb || {}, cb);
521
+ }
522
+ else {
523
+ return this.send(command, optionsOrCb);
524
+ }
525
+ }
437
526
  deleteUseCase(args, optionsOrCb, cb) {
438
527
  const command = new DeleteUseCaseCommand_1.DeleteUseCaseCommand(args);
439
528
  if (typeof optionsOrCb === "function") {
@@ -490,6 +579,20 @@ class Connect extends ConnectClient_1.ConnectClient {
490
579
  return this.send(command, optionsOrCb);
491
580
  }
492
581
  }
582
+ describeContact(args, optionsOrCb, cb) {
583
+ const command = new DescribeContactCommand_1.DescribeContactCommand(args);
584
+ if (typeof optionsOrCb === "function") {
585
+ this.send(command, optionsOrCb);
586
+ }
587
+ else if (typeof cb === "function") {
588
+ if (typeof optionsOrCb !== "object")
589
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
590
+ this.send(command, optionsOrCb || {}, cb);
591
+ }
592
+ else {
593
+ return this.send(command, optionsOrCb);
594
+ }
595
+ }
493
596
  describeContactFlow(args, optionsOrCb, cb) {
494
597
  const command = new DescribeContactFlowCommand_1.DescribeContactFlowCommand(args);
495
598
  if (typeof optionsOrCb === "function") {
@@ -504,6 +607,20 @@ class Connect extends ConnectClient_1.ConnectClient {
504
607
  return this.send(command, optionsOrCb);
505
608
  }
506
609
  }
610
+ describeContactFlowModule(args, optionsOrCb, cb) {
611
+ const command = new DescribeContactFlowModuleCommand_1.DescribeContactFlowModuleCommand(args);
612
+ if (typeof optionsOrCb === "function") {
613
+ this.send(command, optionsOrCb);
614
+ }
615
+ else if (typeof cb === "function") {
616
+ if (typeof optionsOrCb !== "object")
617
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
618
+ this.send(command, optionsOrCb || {}, cb);
619
+ }
620
+ else {
621
+ return this.send(command, optionsOrCb);
622
+ }
623
+ }
507
624
  describeHoursOfOperation(args, optionsOrCb, cb) {
508
625
  const command = new DescribeHoursOfOperationCommand_1.DescribeHoursOfOperationCommand(args);
509
626
  if (typeof optionsOrCb === "function") {
@@ -602,6 +719,20 @@ class Connect extends ConnectClient_1.ConnectClient {
602
719
  return this.send(command, optionsOrCb);
603
720
  }
604
721
  }
722
+ describeSecurityProfile(args, optionsOrCb, cb) {
723
+ const command = new DescribeSecurityProfileCommand_1.DescribeSecurityProfileCommand(args);
724
+ if (typeof optionsOrCb === "function") {
725
+ this.send(command, optionsOrCb);
726
+ }
727
+ else if (typeof cb === "function") {
728
+ if (typeof optionsOrCb !== "object")
729
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
730
+ this.send(command, optionsOrCb || {}, cb);
731
+ }
732
+ else {
733
+ return this.send(command, optionsOrCb);
734
+ }
735
+ }
605
736
  describeUser(args, optionsOrCb, cb) {
606
737
  const command = new DescribeUserCommand_1.DescribeUserCommand(args);
607
738
  if (typeof optionsOrCb === "function") {
@@ -854,6 +985,20 @@ class Connect extends ConnectClient_1.ConnectClient {
854
985
  return this.send(command, optionsOrCb);
855
986
  }
856
987
  }
988
+ listContactFlowModules(args, optionsOrCb, cb) {
989
+ const command = new ListContactFlowModulesCommand_1.ListContactFlowModulesCommand(args);
990
+ if (typeof optionsOrCb === "function") {
991
+ this.send(command, optionsOrCb);
992
+ }
993
+ else if (typeof cb === "function") {
994
+ if (typeof optionsOrCb !== "object")
995
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
996
+ this.send(command, optionsOrCb || {}, cb);
997
+ }
998
+ else {
999
+ return this.send(command, optionsOrCb);
1000
+ }
1001
+ }
857
1002
  listContactFlows(args, optionsOrCb, cb) {
858
1003
  const command = new ListContactFlowsCommand_1.ListContactFlowsCommand(args);
859
1004
  if (typeof optionsOrCb === "function") {
@@ -868,6 +1013,20 @@ class Connect extends ConnectClient_1.ConnectClient {
868
1013
  return this.send(command, optionsOrCb);
869
1014
  }
870
1015
  }
1016
+ listContactReferences(args, optionsOrCb, cb) {
1017
+ const command = new ListContactReferencesCommand_1.ListContactReferencesCommand(args);
1018
+ if (typeof optionsOrCb === "function") {
1019
+ this.send(command, optionsOrCb);
1020
+ }
1021
+ else if (typeof cb === "function") {
1022
+ if (typeof optionsOrCb !== "object")
1023
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1024
+ this.send(command, optionsOrCb || {}, cb);
1025
+ }
1026
+ else {
1027
+ return this.send(command, optionsOrCb);
1028
+ }
1029
+ }
871
1030
  listHoursOfOperations(args, optionsOrCb, cb) {
872
1031
  const command = new ListHoursOfOperationsCommand_1.ListHoursOfOperationsCommand(args);
873
1032
  if (typeof optionsOrCb === "function") {
@@ -1078,6 +1237,20 @@ class Connect extends ConnectClient_1.ConnectClient {
1078
1237
  return this.send(command, optionsOrCb);
1079
1238
  }
1080
1239
  }
1240
+ listSecurityProfilePermissions(args, optionsOrCb, cb) {
1241
+ const command = new ListSecurityProfilePermissionsCommand_1.ListSecurityProfilePermissionsCommand(args);
1242
+ if (typeof optionsOrCb === "function") {
1243
+ this.send(command, optionsOrCb);
1244
+ }
1245
+ else if (typeof cb === "function") {
1246
+ if (typeof optionsOrCb !== "object")
1247
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1248
+ this.send(command, optionsOrCb || {}, cb);
1249
+ }
1250
+ else {
1251
+ return this.send(command, optionsOrCb);
1252
+ }
1253
+ }
1081
1254
  listSecurityProfiles(args, optionsOrCb, cb) {
1082
1255
  const command = new ListSecurityProfilesCommand_1.ListSecurityProfilesCommand(args);
1083
1256
  if (typeof optionsOrCb === "function") {
@@ -1190,6 +1363,20 @@ class Connect extends ConnectClient_1.ConnectClient {
1190
1363
  return this.send(command, optionsOrCb);
1191
1364
  }
1192
1365
  }
1366
+ startContactStreaming(args, optionsOrCb, cb) {
1367
+ const command = new StartContactStreamingCommand_1.StartContactStreamingCommand(args);
1368
+ if (typeof optionsOrCb === "function") {
1369
+ this.send(command, optionsOrCb);
1370
+ }
1371
+ else if (typeof cb === "function") {
1372
+ if (typeof optionsOrCb !== "object")
1373
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1374
+ this.send(command, optionsOrCb || {}, cb);
1375
+ }
1376
+ else {
1377
+ return this.send(command, optionsOrCb);
1378
+ }
1379
+ }
1193
1380
  startOutboundVoiceContact(args, optionsOrCb, cb) {
1194
1381
  const command = new StartOutboundVoiceContactCommand_1.StartOutboundVoiceContactCommand(args);
1195
1382
  if (typeof optionsOrCb === "function") {
@@ -1246,6 +1433,20 @@ class Connect extends ConnectClient_1.ConnectClient {
1246
1433
  return this.send(command, optionsOrCb);
1247
1434
  }
1248
1435
  }
1436
+ stopContactStreaming(args, optionsOrCb, cb) {
1437
+ const command = new StopContactStreamingCommand_1.StopContactStreamingCommand(args);
1438
+ if (typeof optionsOrCb === "function") {
1439
+ this.send(command, optionsOrCb);
1440
+ }
1441
+ else if (typeof cb === "function") {
1442
+ if (typeof optionsOrCb !== "object")
1443
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1444
+ this.send(command, optionsOrCb || {}, cb);
1445
+ }
1446
+ else {
1447
+ return this.send(command, optionsOrCb);
1448
+ }
1449
+ }
1249
1450
  suspendContactRecording(args, optionsOrCb, cb) {
1250
1451
  const command = new SuspendContactRecordingCommand_1.SuspendContactRecordingCommand(args);
1251
1452
  if (typeof optionsOrCb === "function") {
@@ -1302,6 +1503,20 @@ class Connect extends ConnectClient_1.ConnectClient {
1302
1503
  return this.send(command, optionsOrCb);
1303
1504
  }
1304
1505
  }
1506
+ updateContact(args, optionsOrCb, cb) {
1507
+ const command = new UpdateContactCommand_1.UpdateContactCommand(args);
1508
+ if (typeof optionsOrCb === "function") {
1509
+ this.send(command, optionsOrCb);
1510
+ }
1511
+ else if (typeof cb === "function") {
1512
+ if (typeof optionsOrCb !== "object")
1513
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1514
+ this.send(command, optionsOrCb || {}, cb);
1515
+ }
1516
+ else {
1517
+ return this.send(command, optionsOrCb);
1518
+ }
1519
+ }
1305
1520
  updateContactAttributes(args, optionsOrCb, cb) {
1306
1521
  const command = new UpdateContactAttributesCommand_1.UpdateContactAttributesCommand(args);
1307
1522
  if (typeof optionsOrCb === "function") {
@@ -1330,6 +1545,48 @@ class Connect extends ConnectClient_1.ConnectClient {
1330
1545
  return this.send(command, optionsOrCb);
1331
1546
  }
1332
1547
  }
1548
+ updateContactFlowMetadata(args, optionsOrCb, cb) {
1549
+ const command = new UpdateContactFlowMetadataCommand_1.UpdateContactFlowMetadataCommand(args);
1550
+ if (typeof optionsOrCb === "function") {
1551
+ this.send(command, optionsOrCb);
1552
+ }
1553
+ else if (typeof cb === "function") {
1554
+ if (typeof optionsOrCb !== "object")
1555
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1556
+ this.send(command, optionsOrCb || {}, cb);
1557
+ }
1558
+ else {
1559
+ return this.send(command, optionsOrCb);
1560
+ }
1561
+ }
1562
+ updateContactFlowModuleContent(args, optionsOrCb, cb) {
1563
+ const command = new UpdateContactFlowModuleContentCommand_1.UpdateContactFlowModuleContentCommand(args);
1564
+ if (typeof optionsOrCb === "function") {
1565
+ this.send(command, optionsOrCb);
1566
+ }
1567
+ else if (typeof cb === "function") {
1568
+ if (typeof optionsOrCb !== "object")
1569
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1570
+ this.send(command, optionsOrCb || {}, cb);
1571
+ }
1572
+ else {
1573
+ return this.send(command, optionsOrCb);
1574
+ }
1575
+ }
1576
+ updateContactFlowModuleMetadata(args, optionsOrCb, cb) {
1577
+ const command = new UpdateContactFlowModuleMetadataCommand_1.UpdateContactFlowModuleMetadataCommand(args);
1578
+ if (typeof optionsOrCb === "function") {
1579
+ this.send(command, optionsOrCb);
1580
+ }
1581
+ else if (typeof cb === "function") {
1582
+ if (typeof optionsOrCb !== "object")
1583
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1584
+ this.send(command, optionsOrCb || {}, cb);
1585
+ }
1586
+ else {
1587
+ return this.send(command, optionsOrCb);
1588
+ }
1589
+ }
1333
1590
  updateContactFlowName(args, optionsOrCb, cb) {
1334
1591
  const command = new UpdateContactFlowNameCommand_1.UpdateContactFlowNameCommand(args);
1335
1592
  if (typeof optionsOrCb === "function") {
@@ -1344,6 +1601,20 @@ class Connect extends ConnectClient_1.ConnectClient {
1344
1601
  return this.send(command, optionsOrCb);
1345
1602
  }
1346
1603
  }
1604
+ updateContactSchedule(args, optionsOrCb, cb) {
1605
+ const command = new UpdateContactScheduleCommand_1.UpdateContactScheduleCommand(args);
1606
+ if (typeof optionsOrCb === "function") {
1607
+ this.send(command, optionsOrCb);
1608
+ }
1609
+ else if (typeof cb === "function") {
1610
+ if (typeof optionsOrCb !== "object")
1611
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1612
+ this.send(command, optionsOrCb || {}, cb);
1613
+ }
1614
+ else {
1615
+ return this.send(command, optionsOrCb);
1616
+ }
1617
+ }
1347
1618
  updateHoursOfOperation(args, optionsOrCb, cb) {
1348
1619
  const command = new UpdateHoursOfOperationCommand_1.UpdateHoursOfOperationCommand(args);
1349
1620
  if (typeof optionsOrCb === "function") {
@@ -1540,6 +1811,20 @@ class Connect extends ConnectClient_1.ConnectClient {
1540
1811
  return this.send(command, optionsOrCb);
1541
1812
  }
1542
1813
  }
1814
+ updateSecurityProfile(args, optionsOrCb, cb) {
1815
+ const command = new UpdateSecurityProfileCommand_1.UpdateSecurityProfileCommand(args);
1816
+ if (typeof optionsOrCb === "function") {
1817
+ this.send(command, optionsOrCb);
1818
+ }
1819
+ else if (typeof cb === "function") {
1820
+ if (typeof optionsOrCb !== "object")
1821
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1822
+ this.send(command, optionsOrCb || {}, cb);
1823
+ }
1824
+ else {
1825
+ return this.send(command, optionsOrCb);
1826
+ }
1827
+ }
1543
1828
  updateUserHierarchy(args, optionsOrCb, cb) {
1544
1829
  const command = new UpdateUserHierarchyCommand_1.UpdateUserHierarchyCommand(args);
1545
1830
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateContactFlowModuleCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class CreateContactFlowModuleCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ConnectClient";
18
+ const commandName = "CreateContactFlowModuleCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.CreateContactFlowModuleRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.CreateContactFlowModuleResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1CreateContactFlowModuleCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1CreateContactFlowModuleCommand(output, context);
34
+ }
35
+ }
36
+ exports.CreateContactFlowModuleCommand = CreateContactFlowModuleCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateSecurityProfileCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class CreateSecurityProfileCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ConnectClient";
18
+ const commandName = "CreateSecurityProfileCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.CreateSecurityProfileRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.CreateSecurityProfileResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1CreateSecurityProfileCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1CreateSecurityProfileCommand(output, context);
34
+ }
35
+ }
36
+ exports.CreateSecurityProfileCommand = CreateSecurityProfileCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteContactFlowCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class DeleteContactFlowCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ConnectClient";
18
+ const commandName = "DeleteContactFlowCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DeleteContactFlowRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: (output) => output,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1DeleteContactFlowCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1DeleteContactFlowCommand(output, context);
34
+ }
35
+ }
36
+ exports.DeleteContactFlowCommand = DeleteContactFlowCommand;