@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
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
+ const config_resolver_1 = require("@aws-sdk/config-resolver");
7
8
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
8
9
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
9
10
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
@@ -13,7 +14,7 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
13
14
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
14
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
15
16
  const getRuntimeConfig = (config) => {
16
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
17
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
17
18
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
18
19
  return {
19
20
  ...clientSharedValues,
@@ -30,8 +31,10 @@ const getRuntimeConfig = (config) => {
30
31
  retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
31
32
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
32
33
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
33
- utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : util_utf8_browser_1.fromUtf8,
34
- utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : util_utf8_browser_1.toUtf8,
34
+ useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
35
+ useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
36
+ utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_browser_1.fromUtf8,
37
+ utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_browser_1.toUtf8,
35
38
  };
36
39
  };
37
40
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -17,7 +17,7 @@ const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
19
  const getRuntimeConfig = (config) => {
20
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
20
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
21
21
  smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
22
22
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
23
23
  return {
@@ -35,8 +35,10 @@ const getRuntimeConfig = (config) => {
35
35
  retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
36
36
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
37
37
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
38
- utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : util_utf8_node_1.fromUtf8,
39
- utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : util_utf8_node_1.toUtf8,
38
+ useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
39
+ useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
40
+ utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
41
+ utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
40
42
  };
41
43
  };
42
44
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -9,24 +9,31 @@ import { AssociateRoutingProfileQueuesCommand, } from "./commands/AssociateRouti
9
9
  import { AssociateSecurityKeyCommand, } from "./commands/AssociateSecurityKeyCommand";
10
10
  import { CreateAgentStatusCommand, } from "./commands/CreateAgentStatusCommand";
11
11
  import { CreateContactFlowCommand, } from "./commands/CreateContactFlowCommand";
12
+ import { CreateContactFlowModuleCommand, } from "./commands/CreateContactFlowModuleCommand";
12
13
  import { CreateHoursOfOperationCommand, } from "./commands/CreateHoursOfOperationCommand";
13
14
  import { CreateInstanceCommand, } from "./commands/CreateInstanceCommand";
14
15
  import { CreateIntegrationAssociationCommand, } from "./commands/CreateIntegrationAssociationCommand";
15
16
  import { CreateQueueCommand } from "./commands/CreateQueueCommand";
16
17
  import { CreateQuickConnectCommand, } from "./commands/CreateQuickConnectCommand";
17
18
  import { CreateRoutingProfileCommand, } from "./commands/CreateRoutingProfileCommand";
19
+ import { CreateSecurityProfileCommand, } from "./commands/CreateSecurityProfileCommand";
18
20
  import { CreateUseCaseCommand, } from "./commands/CreateUseCaseCommand";
19
21
  import { CreateUserCommand } from "./commands/CreateUserCommand";
20
22
  import { CreateUserHierarchyGroupCommand, } from "./commands/CreateUserHierarchyGroupCommand";
23
+ import { DeleteContactFlowCommand, } from "./commands/DeleteContactFlowCommand";
24
+ import { DeleteContactFlowModuleCommand, } from "./commands/DeleteContactFlowModuleCommand";
21
25
  import { DeleteHoursOfOperationCommand, } from "./commands/DeleteHoursOfOperationCommand";
22
26
  import { DeleteInstanceCommand, } from "./commands/DeleteInstanceCommand";
23
27
  import { DeleteIntegrationAssociationCommand, } from "./commands/DeleteIntegrationAssociationCommand";
24
28
  import { DeleteQuickConnectCommand, } from "./commands/DeleteQuickConnectCommand";
29
+ import { DeleteSecurityProfileCommand, } from "./commands/DeleteSecurityProfileCommand";
25
30
  import { DeleteUseCaseCommand, } from "./commands/DeleteUseCaseCommand";
26
31
  import { DeleteUserCommand } from "./commands/DeleteUserCommand";
27
32
  import { DeleteUserHierarchyGroupCommand, } from "./commands/DeleteUserHierarchyGroupCommand";
28
33
  import { DescribeAgentStatusCommand, } from "./commands/DescribeAgentStatusCommand";
34
+ import { DescribeContactCommand, } from "./commands/DescribeContactCommand";
29
35
  import { DescribeContactFlowCommand, } from "./commands/DescribeContactFlowCommand";
36
+ import { DescribeContactFlowModuleCommand, } from "./commands/DescribeContactFlowModuleCommand";
30
37
  import { DescribeHoursOfOperationCommand, } from "./commands/DescribeHoursOfOperationCommand";
31
38
  import { DescribeInstanceAttributeCommand, } from "./commands/DescribeInstanceAttributeCommand";
32
39
  import { DescribeInstanceCommand, } from "./commands/DescribeInstanceCommand";
@@ -34,6 +41,7 @@ import { DescribeInstanceStorageConfigCommand, } from "./commands/DescribeInstan
34
41
  import { DescribeQueueCommand, } from "./commands/DescribeQueueCommand";
35
42
  import { DescribeQuickConnectCommand, } from "./commands/DescribeQuickConnectCommand";
36
43
  import { DescribeRoutingProfileCommand, } from "./commands/DescribeRoutingProfileCommand";
44
+ import { DescribeSecurityProfileCommand, } from "./commands/DescribeSecurityProfileCommand";
37
45
  import { DescribeUserCommand, } from "./commands/DescribeUserCommand";
38
46
  import { DescribeUserHierarchyGroupCommand, } from "./commands/DescribeUserHierarchyGroupCommand";
39
47
  import { DescribeUserHierarchyStructureCommand, } from "./commands/DescribeUserHierarchyStructureCommand";
@@ -52,7 +60,9 @@ import { GetMetricDataCommand, } from "./commands/GetMetricDataCommand";
52
60
  import { ListAgentStatusesCommand, } from "./commands/ListAgentStatusesCommand";
53
61
  import { ListApprovedOriginsCommand, } from "./commands/ListApprovedOriginsCommand";
54
62
  import { ListBotsCommand } from "./commands/ListBotsCommand";
63
+ import { ListContactFlowModulesCommand, } from "./commands/ListContactFlowModulesCommand";
55
64
  import { ListContactFlowsCommand, } from "./commands/ListContactFlowsCommand";
65
+ import { ListContactReferencesCommand, } from "./commands/ListContactReferencesCommand";
56
66
  import { ListHoursOfOperationsCommand, } from "./commands/ListHoursOfOperationsCommand";
57
67
  import { ListInstanceAttributesCommand, } from "./commands/ListInstanceAttributesCommand";
58
68
  import { ListInstancesCommand, } from "./commands/ListInstancesCommand";
@@ -68,6 +78,7 @@ import { ListQuickConnectsCommand, } from "./commands/ListQuickConnectsCommand";
68
78
  import { ListRoutingProfileQueuesCommand, } from "./commands/ListRoutingProfileQueuesCommand";
69
79
  import { ListRoutingProfilesCommand, } from "./commands/ListRoutingProfilesCommand";
70
80
  import { ListSecurityKeysCommand, } from "./commands/ListSecurityKeysCommand";
81
+ import { ListSecurityProfilePermissionsCommand, } from "./commands/ListSecurityProfilePermissionsCommand";
71
82
  import { ListSecurityProfilesCommand, } from "./commands/ListSecurityProfilesCommand";
72
83
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
73
84
  import { ListUseCasesCommand, } from "./commands/ListUseCasesCommand";
@@ -76,17 +87,24 @@ import { ListUsersCommand } from "./commands/ListUsersCommand";
76
87
  import { ResumeContactRecordingCommand, } from "./commands/ResumeContactRecordingCommand";
77
88
  import { StartChatContactCommand, } from "./commands/StartChatContactCommand";
78
89
  import { StartContactRecordingCommand, } from "./commands/StartContactRecordingCommand";
90
+ import { StartContactStreamingCommand, } from "./commands/StartContactStreamingCommand";
79
91
  import { StartOutboundVoiceContactCommand, } from "./commands/StartOutboundVoiceContactCommand";
80
92
  import { StartTaskContactCommand, } from "./commands/StartTaskContactCommand";
81
93
  import { StopContactCommand } from "./commands/StopContactCommand";
82
94
  import { StopContactRecordingCommand, } from "./commands/StopContactRecordingCommand";
95
+ import { StopContactStreamingCommand, } from "./commands/StopContactStreamingCommand";
83
96
  import { SuspendContactRecordingCommand, } from "./commands/SuspendContactRecordingCommand";
84
97
  import { TagResourceCommand } from "./commands/TagResourceCommand";
85
98
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
86
99
  import { UpdateAgentStatusCommand, } from "./commands/UpdateAgentStatusCommand";
87
100
  import { UpdateContactAttributesCommand, } from "./commands/UpdateContactAttributesCommand";
101
+ import { UpdateContactCommand, } from "./commands/UpdateContactCommand";
88
102
  import { UpdateContactFlowContentCommand, } from "./commands/UpdateContactFlowContentCommand";
103
+ import { UpdateContactFlowMetadataCommand, } from "./commands/UpdateContactFlowMetadataCommand";
104
+ import { UpdateContactFlowModuleContentCommand, } from "./commands/UpdateContactFlowModuleContentCommand";
105
+ import { UpdateContactFlowModuleMetadataCommand, } from "./commands/UpdateContactFlowModuleMetadataCommand";
89
106
  import { UpdateContactFlowNameCommand, } from "./commands/UpdateContactFlowNameCommand";
107
+ import { UpdateContactScheduleCommand, } from "./commands/UpdateContactScheduleCommand";
90
108
  import { UpdateHoursOfOperationCommand, } from "./commands/UpdateHoursOfOperationCommand";
91
109
  import { UpdateInstanceAttributeCommand, } from "./commands/UpdateInstanceAttributeCommand";
92
110
  import { UpdateInstanceStorageConfigCommand, } from "./commands/UpdateInstanceStorageConfigCommand";
@@ -101,6 +119,7 @@ import { UpdateRoutingProfileConcurrencyCommand, } from "./commands/UpdateRoutin
101
119
  import { UpdateRoutingProfileDefaultOutboundQueueCommand, } from "./commands/UpdateRoutingProfileDefaultOutboundQueueCommand";
102
120
  import { UpdateRoutingProfileNameCommand, } from "./commands/UpdateRoutingProfileNameCommand";
103
121
  import { UpdateRoutingProfileQueuesCommand, } from "./commands/UpdateRoutingProfileQueuesCommand";
122
+ import { UpdateSecurityProfileCommand, } from "./commands/UpdateSecurityProfileCommand";
104
123
  import { UpdateUserHierarchyCommand, } from "./commands/UpdateUserHierarchyCommand";
105
124
  import { UpdateUserHierarchyGroupNameCommand, } from "./commands/UpdateUserHierarchyGroupNameCommand";
106
125
  import { UpdateUserHierarchyStructureCommand, } from "./commands/UpdateUserHierarchyStructureCommand";
@@ -254,6 +273,20 @@ var Connect = (function (_super) {
254
273
  return this.send(command, optionsOrCb);
255
274
  }
256
275
  };
276
+ Connect.prototype.createContactFlowModule = function (args, optionsOrCb, cb) {
277
+ var command = new CreateContactFlowModuleCommand(args);
278
+ if (typeof optionsOrCb === "function") {
279
+ this.send(command, optionsOrCb);
280
+ }
281
+ else if (typeof cb === "function") {
282
+ if (typeof optionsOrCb !== "object")
283
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
284
+ this.send(command, optionsOrCb || {}, cb);
285
+ }
286
+ else {
287
+ return this.send(command, optionsOrCb);
288
+ }
289
+ };
257
290
  Connect.prototype.createHoursOfOperation = function (args, optionsOrCb, cb) {
258
291
  var command = new CreateHoursOfOperationCommand(args);
259
292
  if (typeof optionsOrCb === "function") {
@@ -338,6 +371,20 @@ var Connect = (function (_super) {
338
371
  return this.send(command, optionsOrCb);
339
372
  }
340
373
  };
374
+ Connect.prototype.createSecurityProfile = function (args, optionsOrCb, cb) {
375
+ var command = new CreateSecurityProfileCommand(args);
376
+ if (typeof optionsOrCb === "function") {
377
+ this.send(command, optionsOrCb);
378
+ }
379
+ else if (typeof cb === "function") {
380
+ if (typeof optionsOrCb !== "object")
381
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
382
+ this.send(command, optionsOrCb || {}, cb);
383
+ }
384
+ else {
385
+ return this.send(command, optionsOrCb);
386
+ }
387
+ };
341
388
  Connect.prototype.createUseCase = function (args, optionsOrCb, cb) {
342
389
  var command = new CreateUseCaseCommand(args);
343
390
  if (typeof optionsOrCb === "function") {
@@ -380,6 +427,34 @@ var Connect = (function (_super) {
380
427
  return this.send(command, optionsOrCb);
381
428
  }
382
429
  };
430
+ Connect.prototype.deleteContactFlow = function (args, optionsOrCb, cb) {
431
+ var command = new DeleteContactFlowCommand(args);
432
+ if (typeof optionsOrCb === "function") {
433
+ this.send(command, optionsOrCb);
434
+ }
435
+ else if (typeof cb === "function") {
436
+ if (typeof optionsOrCb !== "object")
437
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
438
+ this.send(command, optionsOrCb || {}, cb);
439
+ }
440
+ else {
441
+ return this.send(command, optionsOrCb);
442
+ }
443
+ };
444
+ Connect.prototype.deleteContactFlowModule = function (args, optionsOrCb, cb) {
445
+ var command = new DeleteContactFlowModuleCommand(args);
446
+ if (typeof optionsOrCb === "function") {
447
+ this.send(command, optionsOrCb);
448
+ }
449
+ else if (typeof cb === "function") {
450
+ if (typeof optionsOrCb !== "object")
451
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
452
+ this.send(command, optionsOrCb || {}, cb);
453
+ }
454
+ else {
455
+ return this.send(command, optionsOrCb);
456
+ }
457
+ };
383
458
  Connect.prototype.deleteHoursOfOperation = function (args, optionsOrCb, cb) {
384
459
  var command = new DeleteHoursOfOperationCommand(args);
385
460
  if (typeof optionsOrCb === "function") {
@@ -436,6 +511,20 @@ var Connect = (function (_super) {
436
511
  return this.send(command, optionsOrCb);
437
512
  }
438
513
  };
514
+ Connect.prototype.deleteSecurityProfile = function (args, optionsOrCb, cb) {
515
+ var command = new DeleteSecurityProfileCommand(args);
516
+ if (typeof optionsOrCb === "function") {
517
+ this.send(command, optionsOrCb);
518
+ }
519
+ else if (typeof cb === "function") {
520
+ if (typeof optionsOrCb !== "object")
521
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
522
+ this.send(command, optionsOrCb || {}, cb);
523
+ }
524
+ else {
525
+ return this.send(command, optionsOrCb);
526
+ }
527
+ };
439
528
  Connect.prototype.deleteUseCase = function (args, optionsOrCb, cb) {
440
529
  var command = new DeleteUseCaseCommand(args);
441
530
  if (typeof optionsOrCb === "function") {
@@ -492,6 +581,20 @@ var Connect = (function (_super) {
492
581
  return this.send(command, optionsOrCb);
493
582
  }
494
583
  };
584
+ Connect.prototype.describeContact = function (args, optionsOrCb, cb) {
585
+ var command = new DescribeContactCommand(args);
586
+ if (typeof optionsOrCb === "function") {
587
+ this.send(command, optionsOrCb);
588
+ }
589
+ else if (typeof cb === "function") {
590
+ if (typeof optionsOrCb !== "object")
591
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
592
+ this.send(command, optionsOrCb || {}, cb);
593
+ }
594
+ else {
595
+ return this.send(command, optionsOrCb);
596
+ }
597
+ };
495
598
  Connect.prototype.describeContactFlow = function (args, optionsOrCb, cb) {
496
599
  var command = new DescribeContactFlowCommand(args);
497
600
  if (typeof optionsOrCb === "function") {
@@ -506,6 +609,20 @@ var Connect = (function (_super) {
506
609
  return this.send(command, optionsOrCb);
507
610
  }
508
611
  };
612
+ Connect.prototype.describeContactFlowModule = function (args, optionsOrCb, cb) {
613
+ var command = new DescribeContactFlowModuleCommand(args);
614
+ if (typeof optionsOrCb === "function") {
615
+ this.send(command, optionsOrCb);
616
+ }
617
+ else if (typeof cb === "function") {
618
+ if (typeof optionsOrCb !== "object")
619
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
620
+ this.send(command, optionsOrCb || {}, cb);
621
+ }
622
+ else {
623
+ return this.send(command, optionsOrCb);
624
+ }
625
+ };
509
626
  Connect.prototype.describeHoursOfOperation = function (args, optionsOrCb, cb) {
510
627
  var command = new DescribeHoursOfOperationCommand(args);
511
628
  if (typeof optionsOrCb === "function") {
@@ -604,6 +721,20 @@ var Connect = (function (_super) {
604
721
  return this.send(command, optionsOrCb);
605
722
  }
606
723
  };
724
+ Connect.prototype.describeSecurityProfile = function (args, optionsOrCb, cb) {
725
+ var command = new DescribeSecurityProfileCommand(args);
726
+ if (typeof optionsOrCb === "function") {
727
+ this.send(command, optionsOrCb);
728
+ }
729
+ else if (typeof cb === "function") {
730
+ if (typeof optionsOrCb !== "object")
731
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
732
+ this.send(command, optionsOrCb || {}, cb);
733
+ }
734
+ else {
735
+ return this.send(command, optionsOrCb);
736
+ }
737
+ };
607
738
  Connect.prototype.describeUser = function (args, optionsOrCb, cb) {
608
739
  var command = new DescribeUserCommand(args);
609
740
  if (typeof optionsOrCb === "function") {
@@ -856,6 +987,20 @@ var Connect = (function (_super) {
856
987
  return this.send(command, optionsOrCb);
857
988
  }
858
989
  };
990
+ Connect.prototype.listContactFlowModules = function (args, optionsOrCb, cb) {
991
+ var command = new ListContactFlowModulesCommand(args);
992
+ if (typeof optionsOrCb === "function") {
993
+ this.send(command, optionsOrCb);
994
+ }
995
+ else if (typeof cb === "function") {
996
+ if (typeof optionsOrCb !== "object")
997
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
998
+ this.send(command, optionsOrCb || {}, cb);
999
+ }
1000
+ else {
1001
+ return this.send(command, optionsOrCb);
1002
+ }
1003
+ };
859
1004
  Connect.prototype.listContactFlows = function (args, optionsOrCb, cb) {
860
1005
  var command = new ListContactFlowsCommand(args);
861
1006
  if (typeof optionsOrCb === "function") {
@@ -870,6 +1015,20 @@ var Connect = (function (_super) {
870
1015
  return this.send(command, optionsOrCb);
871
1016
  }
872
1017
  };
1018
+ Connect.prototype.listContactReferences = function (args, optionsOrCb, cb) {
1019
+ var command = new ListContactReferencesCommand(args);
1020
+ if (typeof optionsOrCb === "function") {
1021
+ this.send(command, optionsOrCb);
1022
+ }
1023
+ else if (typeof cb === "function") {
1024
+ if (typeof optionsOrCb !== "object")
1025
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
1026
+ this.send(command, optionsOrCb || {}, cb);
1027
+ }
1028
+ else {
1029
+ return this.send(command, optionsOrCb);
1030
+ }
1031
+ };
873
1032
  Connect.prototype.listHoursOfOperations = function (args, optionsOrCb, cb) {
874
1033
  var command = new ListHoursOfOperationsCommand(args);
875
1034
  if (typeof optionsOrCb === "function") {
@@ -1080,6 +1239,20 @@ var Connect = (function (_super) {
1080
1239
  return this.send(command, optionsOrCb);
1081
1240
  }
1082
1241
  };
1242
+ Connect.prototype.listSecurityProfilePermissions = function (args, optionsOrCb, cb) {
1243
+ var command = new ListSecurityProfilePermissionsCommand(args);
1244
+ if (typeof optionsOrCb === "function") {
1245
+ this.send(command, optionsOrCb);
1246
+ }
1247
+ else if (typeof cb === "function") {
1248
+ if (typeof optionsOrCb !== "object")
1249
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
1250
+ this.send(command, optionsOrCb || {}, cb);
1251
+ }
1252
+ else {
1253
+ return this.send(command, optionsOrCb);
1254
+ }
1255
+ };
1083
1256
  Connect.prototype.listSecurityProfiles = function (args, optionsOrCb, cb) {
1084
1257
  var command = new ListSecurityProfilesCommand(args);
1085
1258
  if (typeof optionsOrCb === "function") {
@@ -1192,6 +1365,20 @@ var Connect = (function (_super) {
1192
1365
  return this.send(command, optionsOrCb);
1193
1366
  }
1194
1367
  };
1368
+ Connect.prototype.startContactStreaming = function (args, optionsOrCb, cb) {
1369
+ var command = new StartContactStreamingCommand(args);
1370
+ if (typeof optionsOrCb === "function") {
1371
+ this.send(command, optionsOrCb);
1372
+ }
1373
+ else if (typeof cb === "function") {
1374
+ if (typeof optionsOrCb !== "object")
1375
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
1376
+ this.send(command, optionsOrCb || {}, cb);
1377
+ }
1378
+ else {
1379
+ return this.send(command, optionsOrCb);
1380
+ }
1381
+ };
1195
1382
  Connect.prototype.startOutboundVoiceContact = function (args, optionsOrCb, cb) {
1196
1383
  var command = new StartOutboundVoiceContactCommand(args);
1197
1384
  if (typeof optionsOrCb === "function") {
@@ -1248,6 +1435,20 @@ var Connect = (function (_super) {
1248
1435
  return this.send(command, optionsOrCb);
1249
1436
  }
1250
1437
  };
1438
+ Connect.prototype.stopContactStreaming = function (args, optionsOrCb, cb) {
1439
+ var command = new StopContactStreamingCommand(args);
1440
+ if (typeof optionsOrCb === "function") {
1441
+ this.send(command, optionsOrCb);
1442
+ }
1443
+ else if (typeof cb === "function") {
1444
+ if (typeof optionsOrCb !== "object")
1445
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
1446
+ this.send(command, optionsOrCb || {}, cb);
1447
+ }
1448
+ else {
1449
+ return this.send(command, optionsOrCb);
1450
+ }
1451
+ };
1251
1452
  Connect.prototype.suspendContactRecording = function (args, optionsOrCb, cb) {
1252
1453
  var command = new SuspendContactRecordingCommand(args);
1253
1454
  if (typeof optionsOrCb === "function") {
@@ -1304,6 +1505,20 @@ var Connect = (function (_super) {
1304
1505
  return this.send(command, optionsOrCb);
1305
1506
  }
1306
1507
  };
1508
+ Connect.prototype.updateContact = function (args, optionsOrCb, cb) {
1509
+ var command = new UpdateContactCommand(args);
1510
+ if (typeof optionsOrCb === "function") {
1511
+ this.send(command, optionsOrCb);
1512
+ }
1513
+ else if (typeof cb === "function") {
1514
+ if (typeof optionsOrCb !== "object")
1515
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
1516
+ this.send(command, optionsOrCb || {}, cb);
1517
+ }
1518
+ else {
1519
+ return this.send(command, optionsOrCb);
1520
+ }
1521
+ };
1307
1522
  Connect.prototype.updateContactAttributes = function (args, optionsOrCb, cb) {
1308
1523
  var command = new UpdateContactAttributesCommand(args);
1309
1524
  if (typeof optionsOrCb === "function") {
@@ -1332,6 +1547,48 @@ var Connect = (function (_super) {
1332
1547
  return this.send(command, optionsOrCb);
1333
1548
  }
1334
1549
  };
1550
+ Connect.prototype.updateContactFlowMetadata = function (args, optionsOrCb, cb) {
1551
+ var command = new UpdateContactFlowMetadataCommand(args);
1552
+ if (typeof optionsOrCb === "function") {
1553
+ this.send(command, optionsOrCb);
1554
+ }
1555
+ else if (typeof cb === "function") {
1556
+ if (typeof optionsOrCb !== "object")
1557
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
1558
+ this.send(command, optionsOrCb || {}, cb);
1559
+ }
1560
+ else {
1561
+ return this.send(command, optionsOrCb);
1562
+ }
1563
+ };
1564
+ Connect.prototype.updateContactFlowModuleContent = function (args, optionsOrCb, cb) {
1565
+ var command = new UpdateContactFlowModuleContentCommand(args);
1566
+ if (typeof optionsOrCb === "function") {
1567
+ this.send(command, optionsOrCb);
1568
+ }
1569
+ else if (typeof cb === "function") {
1570
+ if (typeof optionsOrCb !== "object")
1571
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
1572
+ this.send(command, optionsOrCb || {}, cb);
1573
+ }
1574
+ else {
1575
+ return this.send(command, optionsOrCb);
1576
+ }
1577
+ };
1578
+ Connect.prototype.updateContactFlowModuleMetadata = function (args, optionsOrCb, cb) {
1579
+ var command = new UpdateContactFlowModuleMetadataCommand(args);
1580
+ if (typeof optionsOrCb === "function") {
1581
+ this.send(command, optionsOrCb);
1582
+ }
1583
+ else if (typeof cb === "function") {
1584
+ if (typeof optionsOrCb !== "object")
1585
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
1586
+ this.send(command, optionsOrCb || {}, cb);
1587
+ }
1588
+ else {
1589
+ return this.send(command, optionsOrCb);
1590
+ }
1591
+ };
1335
1592
  Connect.prototype.updateContactFlowName = function (args, optionsOrCb, cb) {
1336
1593
  var command = new UpdateContactFlowNameCommand(args);
1337
1594
  if (typeof optionsOrCb === "function") {
@@ -1346,6 +1603,20 @@ var Connect = (function (_super) {
1346
1603
  return this.send(command, optionsOrCb);
1347
1604
  }
1348
1605
  };
1606
+ Connect.prototype.updateContactSchedule = function (args, optionsOrCb, cb) {
1607
+ var command = new UpdateContactScheduleCommand(args);
1608
+ if (typeof optionsOrCb === "function") {
1609
+ this.send(command, optionsOrCb);
1610
+ }
1611
+ else if (typeof cb === "function") {
1612
+ if (typeof optionsOrCb !== "object")
1613
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
1614
+ this.send(command, optionsOrCb || {}, cb);
1615
+ }
1616
+ else {
1617
+ return this.send(command, optionsOrCb);
1618
+ }
1619
+ };
1349
1620
  Connect.prototype.updateHoursOfOperation = function (args, optionsOrCb, cb) {
1350
1621
  var command = new UpdateHoursOfOperationCommand(args);
1351
1622
  if (typeof optionsOrCb === "function") {
@@ -1542,6 +1813,20 @@ var Connect = (function (_super) {
1542
1813
  return this.send(command, optionsOrCb);
1543
1814
  }
1544
1815
  };
1816
+ Connect.prototype.updateSecurityProfile = function (args, optionsOrCb, cb) {
1817
+ var command = new UpdateSecurityProfileCommand(args);
1818
+ if (typeof optionsOrCb === "function") {
1819
+ this.send(command, optionsOrCb);
1820
+ }
1821
+ else if (typeof cb === "function") {
1822
+ if (typeof optionsOrCb !== "object")
1823
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
1824
+ this.send(command, optionsOrCb || {}, cb);
1825
+ }
1826
+ else {
1827
+ return this.send(command, optionsOrCb);
1828
+ }
1829
+ };
1545
1830
  Connect.prototype.updateUserHierarchy = function (args, optionsOrCb, cb) {
1546
1831
  var command = new UpdateUserHierarchyCommand(args);
1547
1832
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreateContactFlowModuleRequest, CreateContactFlowModuleResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1CreateContactFlowModuleCommand, serializeAws_restJson1CreateContactFlowModuleCommand, } from "../protocols/Aws_restJson1";
6
+ var CreateContactFlowModuleCommand = (function (_super) {
7
+ __extends(CreateContactFlowModuleCommand, _super);
8
+ function CreateContactFlowModuleCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ CreateContactFlowModuleCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ConnectClient";
18
+ var commandName = "CreateContactFlowModuleCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: CreateContactFlowModuleRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: CreateContactFlowModuleResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateContactFlowModuleCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1CreateContactFlowModuleCommand(input, context);
33
+ };
34
+ CreateContactFlowModuleCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1CreateContactFlowModuleCommand(output, context);
36
+ };
37
+ return CreateContactFlowModuleCommand;
38
+ }($Command));
39
+ export { CreateContactFlowModuleCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreateSecurityProfileRequest, CreateSecurityProfileResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1CreateSecurityProfileCommand, serializeAws_restJson1CreateSecurityProfileCommand, } from "../protocols/Aws_restJson1";
6
+ var CreateSecurityProfileCommand = (function (_super) {
7
+ __extends(CreateSecurityProfileCommand, _super);
8
+ function CreateSecurityProfileCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ CreateSecurityProfileCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ConnectClient";
18
+ var commandName = "CreateSecurityProfileCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: CreateSecurityProfileRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: CreateSecurityProfileResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateSecurityProfileCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1CreateSecurityProfileCommand(input, context);
33
+ };
34
+ CreateSecurityProfileCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1CreateSecurityProfileCommand(output, context);
36
+ };
37
+ return CreateSecurityProfileCommand;
38
+ }($Command));
39
+ export { CreateSecurityProfileCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DeleteContactFlowRequest } from "../models/models_0";
5
+ import { deserializeAws_restJson1DeleteContactFlowCommand, serializeAws_restJson1DeleteContactFlowCommand, } from "../protocols/Aws_restJson1";
6
+ var DeleteContactFlowCommand = (function (_super) {
7
+ __extends(DeleteContactFlowCommand, _super);
8
+ function DeleteContactFlowCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DeleteContactFlowCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ConnectClient";
18
+ var commandName = "DeleteContactFlowCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DeleteContactFlowRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: function (output) { return output; },
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteContactFlowCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1DeleteContactFlowCommand(input, context);
33
+ };
34
+ DeleteContactFlowCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1DeleteContactFlowCommand(output, context);
36
+ };
37
+ return DeleteContactFlowCommand;
38
+ }($Command));
39
+ export { DeleteContactFlowCommand };