@aws-sdk/client-customer-profiles 3.33.0 → 3.36.1

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 (330) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/CustomerProfiles.js +3 -16
  3. package/dist-cjs/CustomerProfilesClient.js +35 -0
  4. package/{dist/cjs → dist-cjs}/commands/AddProfileKeyCommand.js +2 -30
  5. package/dist-cjs/commands/CreateDomainCommand.js +36 -0
  6. package/{dist/cjs → dist-cjs}/commands/CreateProfileCommand.js +2 -29
  7. package/{dist/cjs → dist-cjs}/commands/DeleteDomainCommand.js +2 -28
  8. package/{dist/cjs → dist-cjs}/commands/DeleteIntegrationCommand.js +2 -27
  9. package/{dist/cjs → dist-cjs}/commands/DeleteProfileCommand.js +2 -27
  10. package/{dist/cjs → dist-cjs}/commands/DeleteProfileKeyCommand.js +2 -27
  11. package/{dist/cjs → dist-cjs}/commands/DeleteProfileObjectCommand.js +2 -27
  12. package/{dist/cjs → dist-cjs}/commands/DeleteProfileObjectTypeCommand.js +2 -30
  13. package/{dist/cjs → dist-cjs}/commands/GetDomainCommand.js +2 -27
  14. package/{dist/cjs → dist-cjs}/commands/GetIntegrationCommand.js +2 -27
  15. package/dist-cjs/commands/GetMatchesCommand.js +36 -0
  16. package/{dist/cjs → dist-cjs}/commands/GetProfileObjectTypeCommand.js +2 -27
  17. package/{dist/cjs → dist-cjs}/commands/GetProfileObjectTypeTemplateCommand.js +2 -31
  18. package/{dist/cjs → dist-cjs}/commands/ListAccountIntegrationsCommand.js +2 -27
  19. package/{dist/cjs → dist-cjs}/commands/ListDomainsCommand.js +2 -27
  20. package/{dist/cjs → dist-cjs}/commands/ListIntegrationsCommand.js +2 -27
  21. package/{dist/cjs → dist-cjs}/commands/ListProfileObjectTypeTemplatesCommand.js +2 -27
  22. package/{dist/cjs → dist-cjs}/commands/ListProfileObjectTypesCommand.js +2 -27
  23. package/{dist/cjs → dist-cjs}/commands/ListProfileObjectsCommand.js +2 -27
  24. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -28
  25. package/dist-cjs/commands/MergeProfilesCommand.js +36 -0
  26. package/{dist/cjs → dist-cjs}/commands/PutIntegrationCommand.js +2 -29
  27. package/dist-cjs/commands/PutProfileObjectCommand.js +36 -0
  28. package/{dist/cjs → dist-cjs}/commands/PutProfileObjectTypeCommand.js +2 -27
  29. package/{dist/cjs → dist-cjs}/commands/SearchProfilesCommand.js +2 -28
  30. package/dist-cjs/commands/TagResourceCommand.js +36 -0
  31. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -28
  32. package/{dist/cjs → dist-cjs}/commands/UpdateDomainCommand.js +2 -32
  33. package/{dist/cjs → dist-cjs}/commands/UpdateProfileCommand.js +2 -31
  34. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  35. package/{dist/cjs → dist-cjs}/index.js +0 -1
  36. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  37. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -286
  38. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +3 -9
  39. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  40. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  41. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  42. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  43. package/{dist/es → dist-es}/CustomerProfiles.js +4 -17
  44. package/{dist/es → dist-es}/CustomerProfilesClient.js +2 -20
  45. package/{dist/es → dist-es}/commands/AddProfileKeyCommand.js +4 -33
  46. package/dist-es/commands/CreateDomainCommand.js +39 -0
  47. package/{dist/es → dist-es}/commands/CreateProfileCommand.js +4 -32
  48. package/{dist/es → dist-es}/commands/DeleteDomainCommand.js +4 -31
  49. package/{dist/es → dist-es}/commands/DeleteIntegrationCommand.js +4 -30
  50. package/{dist/es → dist-es}/commands/DeleteProfileCommand.js +4 -30
  51. package/{dist/es → dist-es}/commands/DeleteProfileKeyCommand.js +4 -30
  52. package/{dist/es → dist-es}/commands/DeleteProfileObjectCommand.js +4 -30
  53. package/{dist/es → dist-es}/commands/DeleteProfileObjectTypeCommand.js +4 -33
  54. package/{dist/es → dist-es}/commands/GetDomainCommand.js +4 -30
  55. package/{dist/es → dist-es}/commands/GetIntegrationCommand.js +4 -30
  56. package/dist-es/commands/GetMatchesCommand.js +39 -0
  57. package/{dist/es → dist-es}/commands/GetProfileObjectTypeCommand.js +4 -30
  58. package/{dist/es → dist-es}/commands/GetProfileObjectTypeTemplateCommand.js +4 -34
  59. package/{dist/es → dist-es}/commands/ListAccountIntegrationsCommand.js +4 -30
  60. package/{dist/es → dist-es}/commands/ListDomainsCommand.js +4 -30
  61. package/{dist/es → dist-es}/commands/ListIntegrationsCommand.js +4 -30
  62. package/{dist/es → dist-es}/commands/ListProfileObjectTypeTemplatesCommand.js +4 -30
  63. package/{dist/es → dist-es}/commands/ListProfileObjectTypesCommand.js +4 -30
  64. package/{dist/es → dist-es}/commands/ListProfileObjectsCommand.js +4 -30
  65. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -31
  66. package/dist-es/commands/MergeProfilesCommand.js +39 -0
  67. package/{dist/es → dist-es}/commands/PutIntegrationCommand.js +4 -32
  68. package/dist-es/commands/PutProfileObjectCommand.js +39 -0
  69. package/{dist/es → dist-es}/commands/PutProfileObjectTypeCommand.js +4 -30
  70. package/{dist/es → dist-es}/commands/SearchProfilesCommand.js +4 -31
  71. package/dist-es/commands/TagResourceCommand.js +39 -0
  72. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -31
  73. package/{dist/es → dist-es}/commands/UpdateDomainCommand.js +4 -35
  74. package/{dist/es → dist-es}/commands/UpdateProfileCommand.js +4 -34
  75. package/{dist/es → dist-es}/endpoints.js +1 -2
  76. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  77. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  78. package/{dist/es → dist-es}/models/models_0.js +0 -286
  79. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +847 -853
  80. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  81. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  82. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  83. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  84. package/{dist/types → dist-types}/CustomerProfiles.d.ts +4 -4
  85. package/{dist/types → dist-types}/CustomerProfilesClient.d.ts +10 -10
  86. package/{dist/types → dist-types}/commands/AddProfileKeyCommand.d.ts +2 -2
  87. package/{dist/types → dist-types}/commands/CreateDomainCommand.d.ts +2 -2
  88. package/{dist/types → dist-types}/commands/CreateProfileCommand.d.ts +2 -2
  89. package/{dist/types → dist-types}/commands/DeleteDomainCommand.d.ts +2 -2
  90. package/{dist/types → dist-types}/commands/DeleteIntegrationCommand.d.ts +2 -2
  91. package/{dist/types → dist-types}/commands/DeleteProfileCommand.d.ts +2 -2
  92. package/{dist/types → dist-types}/commands/DeleteProfileKeyCommand.d.ts +2 -2
  93. package/{dist/types → dist-types}/commands/DeleteProfileObjectCommand.d.ts +2 -2
  94. package/{dist/types → dist-types}/commands/DeleteProfileObjectTypeCommand.d.ts +2 -2
  95. package/{dist/types → dist-types}/commands/GetDomainCommand.d.ts +2 -2
  96. package/{dist/types → dist-types}/commands/GetIntegrationCommand.d.ts +2 -2
  97. package/{dist/types → dist-types}/commands/GetMatchesCommand.d.ts +2 -2
  98. package/{dist/types → dist-types}/commands/GetProfileObjectTypeCommand.d.ts +2 -2
  99. package/{dist/types → dist-types}/commands/GetProfileObjectTypeTemplateCommand.d.ts +2 -2
  100. package/{dist/types → dist-types}/commands/ListAccountIntegrationsCommand.d.ts +2 -2
  101. package/{dist/types → dist-types}/commands/ListDomainsCommand.d.ts +2 -2
  102. package/{dist/types → dist-types}/commands/ListIntegrationsCommand.d.ts +2 -2
  103. package/{dist/types → dist-types}/commands/ListProfileObjectTypeTemplatesCommand.d.ts +2 -2
  104. package/{dist/types → dist-types}/commands/ListProfileObjectTypesCommand.d.ts +2 -2
  105. package/{dist/types → dist-types}/commands/ListProfileObjectsCommand.d.ts +2 -2
  106. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  107. package/{dist/types → dist-types}/commands/MergeProfilesCommand.d.ts +2 -2
  108. package/{dist/types → dist-types}/commands/PutIntegrationCommand.d.ts +2 -2
  109. package/{dist/types → dist-types}/commands/PutProfileObjectCommand.d.ts +2 -2
  110. package/{dist/types → dist-types}/commands/PutProfileObjectTypeCommand.d.ts +2 -2
  111. package/{dist/types → dist-types}/commands/SearchProfilesCommand.d.ts +2 -2
  112. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  113. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  114. package/{dist/types → dist-types}/commands/UpdateDomainCommand.d.ts +2 -2
  115. package/{dist/types → dist-types}/commands/UpdateProfileCommand.d.ts +2 -2
  116. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  117. package/{index.ts → dist-types/index.d.ts} +0 -0
  118. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  119. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  120. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +4 -4
  121. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  122. package/{dist/types → dist-types}/runtimeConfig.d.ts +2 -4
  123. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  124. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  125. package/{dist/types → dist-types}/ts3.4/CustomerProfiles.d.ts +35 -248
  126. package/{dist/types → dist-types}/ts3.4/CustomerProfilesClient.d.ts +34 -108
  127. package/dist-types/ts3.4/commands/AddProfileKeyCommand.d.ts +17 -0
  128. package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +17 -0
  129. package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +17 -0
  130. package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +17 -0
  131. package/{dist/types → dist-types}/ts3.4/commands/DeleteIntegrationCommand.d.ts +4 -22
  132. package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +17 -0
  133. package/dist-types/ts3.4/commands/DeleteProfileKeyCommand.d.ts +17 -0
  134. package/dist-types/ts3.4/commands/DeleteProfileObjectCommand.d.ts +17 -0
  135. package/dist-types/ts3.4/commands/DeleteProfileObjectTypeCommand.d.ts +17 -0
  136. package/dist-types/ts3.4/commands/GetDomainCommand.d.ts +17 -0
  137. package/dist-types/ts3.4/commands/GetIntegrationCommand.d.ts +17 -0
  138. package/dist-types/ts3.4/commands/GetMatchesCommand.d.ts +17 -0
  139. package/{dist/types → dist-types}/ts3.4/commands/GetProfileObjectTypeCommand.d.ts +4 -22
  140. package/dist-types/ts3.4/commands/GetProfileObjectTypeTemplateCommand.d.ts +17 -0
  141. package/{dist/types → dist-types}/ts3.4/commands/ListAccountIntegrationsCommand.d.ts +4 -22
  142. package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +17 -0
  143. package/dist-types/ts3.4/commands/ListIntegrationsCommand.d.ts +17 -0
  144. package/{dist/types → dist-types}/ts3.4/commands/ListProfileObjectTypeTemplatesCommand.d.ts +4 -22
  145. package/{dist/types → dist-types}/ts3.4/commands/ListProfileObjectTypesCommand.d.ts +4 -22
  146. package/dist-types/ts3.4/commands/ListProfileObjectsCommand.d.ts +17 -0
  147. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  148. package/dist-types/ts3.4/commands/MergeProfilesCommand.d.ts +17 -0
  149. package/dist-types/ts3.4/commands/PutIntegrationCommand.d.ts +17 -0
  150. package/dist-types/ts3.4/commands/PutProfileObjectCommand.d.ts +17 -0
  151. package/{dist/types → dist-types}/ts3.4/commands/PutProfileObjectTypeCommand.d.ts +4 -22
  152. package/dist-types/ts3.4/commands/SearchProfilesCommand.d.ts +17 -0
  153. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  154. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  155. package/dist-types/ts3.4/commands/UpdateDomainCommand.d.ts +17 -0
  156. package/dist-types/ts3.4/commands/UpdateProfileCommand.d.ts +17 -0
  157. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  158. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  159. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  160. package/dist-types/ts3.4/models/models_0.d.ts +1598 -0
  161. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +4 -4
  162. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  163. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +3 -7
  164. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  165. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  166. package/package.json +52 -49
  167. package/CustomerProfiles.ts +0 -1219
  168. package/CustomerProfilesClient.ts +0 -361
  169. package/commands/AddProfileKeyCommand.ts +0 -97
  170. package/commands/CreateDomainCommand.ts +0 -101
  171. package/commands/CreateProfileCommand.ts +0 -96
  172. package/commands/DeleteDomainCommand.ts +0 -95
  173. package/commands/DeleteIntegrationCommand.ts +0 -94
  174. package/commands/DeleteProfileCommand.ts +0 -94
  175. package/commands/DeleteProfileKeyCommand.ts +0 -94
  176. package/commands/DeleteProfileObjectCommand.ts +0 -94
  177. package/commands/DeleteProfileObjectTypeCommand.ts +0 -97
  178. package/commands/GetDomainCommand.ts +0 -94
  179. package/commands/GetIntegrationCommand.ts +0 -94
  180. package/commands/GetMatchesCommand.ts +0 -138
  181. package/commands/GetProfileObjectTypeCommand.ts +0 -94
  182. package/commands/GetProfileObjectTypeTemplateCommand.ts +0 -103
  183. package/commands/ListAccountIntegrationsCommand.ts +0 -94
  184. package/commands/ListDomainsCommand.ts +0 -94
  185. package/commands/ListIntegrationsCommand.ts +0 -94
  186. package/commands/ListProfileObjectTypeTemplatesCommand.ts +0 -102
  187. package/commands/ListProfileObjectTypesCommand.ts +0 -94
  188. package/commands/ListProfileObjectsCommand.ts +0 -94
  189. package/commands/ListTagsForResourceCommand.ts +0 -95
  190. package/commands/MergeProfilesCommand.ts +0 -138
  191. package/commands/PutIntegrationCommand.ts +0 -96
  192. package/commands/PutProfileObjectCommand.ts +0 -103
  193. package/commands/PutProfileObjectTypeCommand.ts +0 -94
  194. package/commands/SearchProfilesCommand.ts +0 -95
  195. package/commands/TagResourceCommand.ts +0 -105
  196. package/commands/UntagResourceCommand.ts +0 -95
  197. package/commands/UpdateDomainCommand.ts +0 -99
  198. package/commands/UpdateProfileCommand.ts +0 -98
  199. package/dist/cjs/CustomerProfiles.js.map +0 -1
  200. package/dist/cjs/CustomerProfilesClient.js +0 -53
  201. package/dist/cjs/CustomerProfilesClient.js.map +0 -1
  202. package/dist/cjs/commands/AddProfileKeyCommand.js.map +0 -1
  203. package/dist/cjs/commands/CreateDomainCommand.js +0 -68
  204. package/dist/cjs/commands/CreateDomainCommand.js.map +0 -1
  205. package/dist/cjs/commands/CreateProfileCommand.js.map +0 -1
  206. package/dist/cjs/commands/DeleteDomainCommand.js.map +0 -1
  207. package/dist/cjs/commands/DeleteIntegrationCommand.js.map +0 -1
  208. package/dist/cjs/commands/DeleteProfileCommand.js.map +0 -1
  209. package/dist/cjs/commands/DeleteProfileKeyCommand.js.map +0 -1
  210. package/dist/cjs/commands/DeleteProfileObjectCommand.js.map +0 -1
  211. package/dist/cjs/commands/DeleteProfileObjectTypeCommand.js.map +0 -1
  212. package/dist/cjs/commands/GetDomainCommand.js.map +0 -1
  213. package/dist/cjs/commands/GetIntegrationCommand.js.map +0 -1
  214. package/dist/cjs/commands/GetMatchesCommand.js +0 -105
  215. package/dist/cjs/commands/GetMatchesCommand.js.map +0 -1
  216. package/dist/cjs/commands/GetProfileObjectTypeCommand.js.map +0 -1
  217. package/dist/cjs/commands/GetProfileObjectTypeTemplateCommand.js.map +0 -1
  218. package/dist/cjs/commands/ListAccountIntegrationsCommand.js.map +0 -1
  219. package/dist/cjs/commands/ListDomainsCommand.js.map +0 -1
  220. package/dist/cjs/commands/ListIntegrationsCommand.js.map +0 -1
  221. package/dist/cjs/commands/ListProfileObjectTypeTemplatesCommand.js.map +0 -1
  222. package/dist/cjs/commands/ListProfileObjectTypesCommand.js.map +0 -1
  223. package/dist/cjs/commands/ListProfileObjectsCommand.js.map +0 -1
  224. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  225. package/dist/cjs/commands/MergeProfilesCommand.js +0 -105
  226. package/dist/cjs/commands/MergeProfilesCommand.js.map +0 -1
  227. package/dist/cjs/commands/PutIntegrationCommand.js.map +0 -1
  228. package/dist/cjs/commands/PutProfileObjectCommand.js +0 -70
  229. package/dist/cjs/commands/PutProfileObjectCommand.js.map +0 -1
  230. package/dist/cjs/commands/PutProfileObjectTypeCommand.js.map +0 -1
  231. package/dist/cjs/commands/SearchProfilesCommand.js.map +0 -1
  232. package/dist/cjs/commands/TagResourceCommand.js +0 -72
  233. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  234. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  235. package/dist/cjs/commands/UpdateDomainCommand.js.map +0 -1
  236. package/dist/cjs/commands/UpdateProfileCommand.js.map +0 -1
  237. package/dist/cjs/endpoints.js.map +0 -1
  238. package/dist/cjs/index.js.map +0 -1
  239. package/dist/cjs/models/index.js.map +0 -1
  240. package/dist/cjs/models/models_0.js.map +0 -1
  241. package/dist/cjs/package.json +0 -91
  242. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  243. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  244. package/dist/cjs/runtimeConfig.js.map +0 -1
  245. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  246. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  247. package/dist/es/CustomerProfiles.js.map +0 -1
  248. package/dist/es/CustomerProfilesClient.js.map +0 -1
  249. package/dist/es/commands/AddProfileKeyCommand.js.map +0 -1
  250. package/dist/es/commands/CreateDomainCommand.js +0 -72
  251. package/dist/es/commands/CreateDomainCommand.js.map +0 -1
  252. package/dist/es/commands/CreateProfileCommand.js.map +0 -1
  253. package/dist/es/commands/DeleteDomainCommand.js.map +0 -1
  254. package/dist/es/commands/DeleteIntegrationCommand.js.map +0 -1
  255. package/dist/es/commands/DeleteProfileCommand.js.map +0 -1
  256. package/dist/es/commands/DeleteProfileKeyCommand.js.map +0 -1
  257. package/dist/es/commands/DeleteProfileObjectCommand.js.map +0 -1
  258. package/dist/es/commands/DeleteProfileObjectTypeCommand.js.map +0 -1
  259. package/dist/es/commands/GetDomainCommand.js.map +0 -1
  260. package/dist/es/commands/GetIntegrationCommand.js.map +0 -1
  261. package/dist/es/commands/GetMatchesCommand.js +0 -109
  262. package/dist/es/commands/GetMatchesCommand.js.map +0 -1
  263. package/dist/es/commands/GetProfileObjectTypeCommand.js.map +0 -1
  264. package/dist/es/commands/GetProfileObjectTypeTemplateCommand.js.map +0 -1
  265. package/dist/es/commands/ListAccountIntegrationsCommand.js.map +0 -1
  266. package/dist/es/commands/ListDomainsCommand.js.map +0 -1
  267. package/dist/es/commands/ListIntegrationsCommand.js.map +0 -1
  268. package/dist/es/commands/ListProfileObjectTypeTemplatesCommand.js.map +0 -1
  269. package/dist/es/commands/ListProfileObjectTypesCommand.js.map +0 -1
  270. package/dist/es/commands/ListProfileObjectsCommand.js.map +0 -1
  271. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  272. package/dist/es/commands/MergeProfilesCommand.js +0 -109
  273. package/dist/es/commands/MergeProfilesCommand.js.map +0 -1
  274. package/dist/es/commands/PutIntegrationCommand.js.map +0 -1
  275. package/dist/es/commands/PutProfileObjectCommand.js +0 -74
  276. package/dist/es/commands/PutProfileObjectCommand.js.map +0 -1
  277. package/dist/es/commands/PutProfileObjectTypeCommand.js.map +0 -1
  278. package/dist/es/commands/SearchProfilesCommand.js.map +0 -1
  279. package/dist/es/commands/TagResourceCommand.js +0 -76
  280. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  281. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  282. package/dist/es/commands/UpdateDomainCommand.js.map +0 -1
  283. package/dist/es/commands/UpdateProfileCommand.js.map +0 -1
  284. package/dist/es/endpoints.js.map +0 -1
  285. package/dist/es/index.js +0 -34
  286. package/dist/es/index.js.map +0 -1
  287. package/dist/es/models/index.js +0 -2
  288. package/dist/es/models/index.js.map +0 -1
  289. package/dist/es/models/models_0.js.map +0 -1
  290. package/dist/es/package.json +0 -91
  291. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  292. package/dist/es/runtimeConfig.browser.js.map +0 -1
  293. package/dist/es/runtimeConfig.js.map +0 -1
  294. package/dist/es/runtimeConfig.native.js.map +0 -1
  295. package/dist/es/runtimeConfig.shared.js.map +0 -1
  296. package/dist/types/ts3.4/commands/AddProfileKeyCommand.d.ts +0 -38
  297. package/dist/types/ts3.4/commands/CreateDomainCommand.d.ts +0 -42
  298. package/dist/types/ts3.4/commands/CreateProfileCommand.d.ts +0 -37
  299. package/dist/types/ts3.4/commands/DeleteDomainCommand.d.ts +0 -36
  300. package/dist/types/ts3.4/commands/DeleteProfileCommand.d.ts +0 -35
  301. package/dist/types/ts3.4/commands/DeleteProfileKeyCommand.d.ts +0 -35
  302. package/dist/types/ts3.4/commands/DeleteProfileObjectCommand.d.ts +0 -35
  303. package/dist/types/ts3.4/commands/DeleteProfileObjectTypeCommand.d.ts +0 -38
  304. package/dist/types/ts3.4/commands/GetDomainCommand.d.ts +0 -35
  305. package/dist/types/ts3.4/commands/GetIntegrationCommand.d.ts +0 -35
  306. package/dist/types/ts3.4/commands/GetMatchesCommand.d.ts +0 -79
  307. package/dist/types/ts3.4/commands/GetProfileObjectTypeTemplateCommand.d.ts +0 -39
  308. package/dist/types/ts3.4/commands/ListDomainsCommand.d.ts +0 -35
  309. package/dist/types/ts3.4/commands/ListIntegrationsCommand.d.ts +0 -35
  310. package/dist/types/ts3.4/commands/ListProfileObjectsCommand.d.ts +0 -35
  311. package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -36
  312. package/dist/types/ts3.4/commands/MergeProfilesCommand.d.ts +0 -79
  313. package/dist/types/ts3.4/commands/PutIntegrationCommand.d.ts +0 -37
  314. package/dist/types/ts3.4/commands/PutProfileObjectCommand.d.ts +0 -44
  315. package/dist/types/ts3.4/commands/SearchProfilesCommand.d.ts +0 -36
  316. package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -46
  317. package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -36
  318. package/dist/types/ts3.4/commands/UpdateDomainCommand.d.ts +0 -40
  319. package/dist/types/ts3.4/commands/UpdateProfileCommand.d.ts +0 -39
  320. package/dist/types/ts3.4/models/models_0.d.ts +0 -2721
  321. package/endpoints.ts +0 -57
  322. package/jest.config.js +0 -4
  323. package/models/models_0.ts +0 -3342
  324. package/protocols/Aws_restJson1.ts +0 -5042
  325. package/runtimeConfig.browser.ts +0 -40
  326. package/runtimeConfig.native.ts +0 -16
  327. package/runtimeConfig.shared.ts +0 -16
  328. package/runtimeConfig.ts +0 -45
  329. package/tsconfig.es.json +0 -12
  330. package/tsconfig.json +0 -32
@@ -1,1219 +0,0 @@
1
- import { CustomerProfilesClient } from "./CustomerProfilesClient";
2
- import {
3
- AddProfileKeyCommand,
4
- AddProfileKeyCommandInput,
5
- AddProfileKeyCommandOutput,
6
- } from "./commands/AddProfileKeyCommand";
7
- import {
8
- CreateDomainCommand,
9
- CreateDomainCommandInput,
10
- CreateDomainCommandOutput,
11
- } from "./commands/CreateDomainCommand";
12
- import {
13
- CreateProfileCommand,
14
- CreateProfileCommandInput,
15
- CreateProfileCommandOutput,
16
- } from "./commands/CreateProfileCommand";
17
- import {
18
- DeleteDomainCommand,
19
- DeleteDomainCommandInput,
20
- DeleteDomainCommandOutput,
21
- } from "./commands/DeleteDomainCommand";
22
- import {
23
- DeleteIntegrationCommand,
24
- DeleteIntegrationCommandInput,
25
- DeleteIntegrationCommandOutput,
26
- } from "./commands/DeleteIntegrationCommand";
27
- import {
28
- DeleteProfileCommand,
29
- DeleteProfileCommandInput,
30
- DeleteProfileCommandOutput,
31
- } from "./commands/DeleteProfileCommand";
32
- import {
33
- DeleteProfileKeyCommand,
34
- DeleteProfileKeyCommandInput,
35
- DeleteProfileKeyCommandOutput,
36
- } from "./commands/DeleteProfileKeyCommand";
37
- import {
38
- DeleteProfileObjectCommand,
39
- DeleteProfileObjectCommandInput,
40
- DeleteProfileObjectCommandOutput,
41
- } from "./commands/DeleteProfileObjectCommand";
42
- import {
43
- DeleteProfileObjectTypeCommand,
44
- DeleteProfileObjectTypeCommandInput,
45
- DeleteProfileObjectTypeCommandOutput,
46
- } from "./commands/DeleteProfileObjectTypeCommand";
47
- import { GetDomainCommand, GetDomainCommandInput, GetDomainCommandOutput } from "./commands/GetDomainCommand";
48
- import {
49
- GetIntegrationCommand,
50
- GetIntegrationCommandInput,
51
- GetIntegrationCommandOutput,
52
- } from "./commands/GetIntegrationCommand";
53
- import { GetMatchesCommand, GetMatchesCommandInput, GetMatchesCommandOutput } from "./commands/GetMatchesCommand";
54
- import {
55
- GetProfileObjectTypeCommand,
56
- GetProfileObjectTypeCommandInput,
57
- GetProfileObjectTypeCommandOutput,
58
- } from "./commands/GetProfileObjectTypeCommand";
59
- import {
60
- GetProfileObjectTypeTemplateCommand,
61
- GetProfileObjectTypeTemplateCommandInput,
62
- GetProfileObjectTypeTemplateCommandOutput,
63
- } from "./commands/GetProfileObjectTypeTemplateCommand";
64
- import {
65
- ListAccountIntegrationsCommand,
66
- ListAccountIntegrationsCommandInput,
67
- ListAccountIntegrationsCommandOutput,
68
- } from "./commands/ListAccountIntegrationsCommand";
69
- import { ListDomainsCommand, ListDomainsCommandInput, ListDomainsCommandOutput } from "./commands/ListDomainsCommand";
70
- import {
71
- ListIntegrationsCommand,
72
- ListIntegrationsCommandInput,
73
- ListIntegrationsCommandOutput,
74
- } from "./commands/ListIntegrationsCommand";
75
- import {
76
- ListProfileObjectTypeTemplatesCommand,
77
- ListProfileObjectTypeTemplatesCommandInput,
78
- ListProfileObjectTypeTemplatesCommandOutput,
79
- } from "./commands/ListProfileObjectTypeTemplatesCommand";
80
- import {
81
- ListProfileObjectTypesCommand,
82
- ListProfileObjectTypesCommandInput,
83
- ListProfileObjectTypesCommandOutput,
84
- } from "./commands/ListProfileObjectTypesCommand";
85
- import {
86
- ListProfileObjectsCommand,
87
- ListProfileObjectsCommandInput,
88
- ListProfileObjectsCommandOutput,
89
- } from "./commands/ListProfileObjectsCommand";
90
- import {
91
- ListTagsForResourceCommand,
92
- ListTagsForResourceCommandInput,
93
- ListTagsForResourceCommandOutput,
94
- } from "./commands/ListTagsForResourceCommand";
95
- import {
96
- MergeProfilesCommand,
97
- MergeProfilesCommandInput,
98
- MergeProfilesCommandOutput,
99
- } from "./commands/MergeProfilesCommand";
100
- import {
101
- PutIntegrationCommand,
102
- PutIntegrationCommandInput,
103
- PutIntegrationCommandOutput,
104
- } from "./commands/PutIntegrationCommand";
105
- import {
106
- PutProfileObjectCommand,
107
- PutProfileObjectCommandInput,
108
- PutProfileObjectCommandOutput,
109
- } from "./commands/PutProfileObjectCommand";
110
- import {
111
- PutProfileObjectTypeCommand,
112
- PutProfileObjectTypeCommandInput,
113
- PutProfileObjectTypeCommandOutput,
114
- } from "./commands/PutProfileObjectTypeCommand";
115
- import {
116
- SearchProfilesCommand,
117
- SearchProfilesCommandInput,
118
- SearchProfilesCommandOutput,
119
- } from "./commands/SearchProfilesCommand";
120
- import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
121
- import {
122
- UntagResourceCommand,
123
- UntagResourceCommandInput,
124
- UntagResourceCommandOutput,
125
- } from "./commands/UntagResourceCommand";
126
- import {
127
- UpdateDomainCommand,
128
- UpdateDomainCommandInput,
129
- UpdateDomainCommandOutput,
130
- } from "./commands/UpdateDomainCommand";
131
- import {
132
- UpdateProfileCommand,
133
- UpdateProfileCommandInput,
134
- UpdateProfileCommandOutput,
135
- } from "./commands/UpdateProfileCommand";
136
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
137
-
138
- /**
139
- * <fullname>Amazon Connect Customer Profiles</fullname>
140
- * <p>Welcome to the Amazon Connect Customer Profiles API Reference. This guide provides information
141
- * about the Amazon Connect Customer Profiles API, including supported operations, data types,
142
- * parameters, and schemas.</p>
143
- * <p>Amazon Connect Customer Profiles is a unified customer profile for your contact center that has
144
- * pre-built connectors powered by AppFlow that make it easy to combine customer information
145
- * from third party applications, such as Salesforce (CRM), ServiceNow (ITSM), and your
146
- * enterprise resource planning (ERP), with contact history from your Amazon Connect contact
147
- * center.</p>
148
- * <p>If you're new to Amazon Connect , you might find it helpful to also review the <a href="https://docs.aws.amazon.com/connect/latest/adminguide/what-is-amazon-connect.html">Amazon Connect Administrator Guide</a>.</p>
149
- */
150
- export class CustomerProfiles extends CustomerProfilesClient {
151
- /**
152
- * <p>Associates a new key value with a specific profile, such as a Contact Trace Record (CTR)
153
- * ContactId.</p>
154
- * <p>A profile object can have a single unique key and any number of additional keys that can
155
- * be used to identify the profile that it belongs to.</p>
156
- */
157
- public addProfileKey(
158
- args: AddProfileKeyCommandInput,
159
- options?: __HttpHandlerOptions
160
- ): Promise<AddProfileKeyCommandOutput>;
161
- public addProfileKey(
162
- args: AddProfileKeyCommandInput,
163
- cb: (err: any, data?: AddProfileKeyCommandOutput) => void
164
- ): void;
165
- public addProfileKey(
166
- args: AddProfileKeyCommandInput,
167
- options: __HttpHandlerOptions,
168
- cb: (err: any, data?: AddProfileKeyCommandOutput) => void
169
- ): void;
170
- public addProfileKey(
171
- args: AddProfileKeyCommandInput,
172
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AddProfileKeyCommandOutput) => void),
173
- cb?: (err: any, data?: AddProfileKeyCommandOutput) => void
174
- ): Promise<AddProfileKeyCommandOutput> | void {
175
- const command = new AddProfileKeyCommand(args);
176
- if (typeof optionsOrCb === "function") {
177
- this.send(command, optionsOrCb);
178
- } else if (typeof cb === "function") {
179
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
180
- this.send(command, optionsOrCb || {}, cb);
181
- } else {
182
- return this.send(command, optionsOrCb);
183
- }
184
- }
185
-
186
- /**
187
- * <p>Creates a domain, which is a container for all customer data, such as customer profile
188
- * attributes, object types, profile keys, and encryption keys. You can create multiple
189
- * domains, and each domain can have multiple third-party integrations.</p>
190
- * <p>Each Amazon Connect instance can be associated with only one domain. Multiple Amazon Connect instances can
191
- * be associated with one domain.</p>
192
- * <p>Use this API or <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_UpdateDomain.html">UpdateDomain</a> to
193
- * enable <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html">identity
194
- * resolution</a>: set <code>Matching</code> to true. </p>
195
- */
196
- public createDomain(
197
- args: CreateDomainCommandInput,
198
- options?: __HttpHandlerOptions
199
- ): Promise<CreateDomainCommandOutput>;
200
- public createDomain(args: CreateDomainCommandInput, cb: (err: any, data?: CreateDomainCommandOutput) => void): void;
201
- public createDomain(
202
- args: CreateDomainCommandInput,
203
- options: __HttpHandlerOptions,
204
- cb: (err: any, data?: CreateDomainCommandOutput) => void
205
- ): void;
206
- public createDomain(
207
- args: CreateDomainCommandInput,
208
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateDomainCommandOutput) => void),
209
- cb?: (err: any, data?: CreateDomainCommandOutput) => void
210
- ): Promise<CreateDomainCommandOutput> | void {
211
- const command = new CreateDomainCommand(args);
212
- if (typeof optionsOrCb === "function") {
213
- this.send(command, optionsOrCb);
214
- } else if (typeof cb === "function") {
215
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
216
- this.send(command, optionsOrCb || {}, cb);
217
- } else {
218
- return this.send(command, optionsOrCb);
219
- }
220
- }
221
-
222
- /**
223
- * <p>Creates a standard profile.</p>
224
- * <p>A standard profile represents the following attributes for a customer profile in a
225
- * domain.</p>
226
- */
227
- public createProfile(
228
- args: CreateProfileCommandInput,
229
- options?: __HttpHandlerOptions
230
- ): Promise<CreateProfileCommandOutput>;
231
- public createProfile(
232
- args: CreateProfileCommandInput,
233
- cb: (err: any, data?: CreateProfileCommandOutput) => void
234
- ): void;
235
- public createProfile(
236
- args: CreateProfileCommandInput,
237
- options: __HttpHandlerOptions,
238
- cb: (err: any, data?: CreateProfileCommandOutput) => void
239
- ): void;
240
- public createProfile(
241
- args: CreateProfileCommandInput,
242
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateProfileCommandOutput) => void),
243
- cb?: (err: any, data?: CreateProfileCommandOutput) => void
244
- ): Promise<CreateProfileCommandOutput> | void {
245
- const command = new CreateProfileCommand(args);
246
- if (typeof optionsOrCb === "function") {
247
- this.send(command, optionsOrCb);
248
- } else if (typeof cb === "function") {
249
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
250
- this.send(command, optionsOrCb || {}, cb);
251
- } else {
252
- return this.send(command, optionsOrCb);
253
- }
254
- }
255
-
256
- /**
257
- * <p>Deletes a specific domain and all of its customer data, such as customer profile
258
- * attributes and their related objects.</p>
259
- */
260
- public deleteDomain(
261
- args: DeleteDomainCommandInput,
262
- options?: __HttpHandlerOptions
263
- ): Promise<DeleteDomainCommandOutput>;
264
- public deleteDomain(args: DeleteDomainCommandInput, cb: (err: any, data?: DeleteDomainCommandOutput) => void): void;
265
- public deleteDomain(
266
- args: DeleteDomainCommandInput,
267
- options: __HttpHandlerOptions,
268
- cb: (err: any, data?: DeleteDomainCommandOutput) => void
269
- ): void;
270
- public deleteDomain(
271
- args: DeleteDomainCommandInput,
272
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteDomainCommandOutput) => void),
273
- cb?: (err: any, data?: DeleteDomainCommandOutput) => void
274
- ): Promise<DeleteDomainCommandOutput> | void {
275
- const command = new DeleteDomainCommand(args);
276
- if (typeof optionsOrCb === "function") {
277
- this.send(command, optionsOrCb);
278
- } else if (typeof cb === "function") {
279
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
280
- this.send(command, optionsOrCb || {}, cb);
281
- } else {
282
- return this.send(command, optionsOrCb);
283
- }
284
- }
285
-
286
- /**
287
- * <p>Removes an integration from a specific domain.</p>
288
- */
289
- public deleteIntegration(
290
- args: DeleteIntegrationCommandInput,
291
- options?: __HttpHandlerOptions
292
- ): Promise<DeleteIntegrationCommandOutput>;
293
- public deleteIntegration(
294
- args: DeleteIntegrationCommandInput,
295
- cb: (err: any, data?: DeleteIntegrationCommandOutput) => void
296
- ): void;
297
- public deleteIntegration(
298
- args: DeleteIntegrationCommandInput,
299
- options: __HttpHandlerOptions,
300
- cb: (err: any, data?: DeleteIntegrationCommandOutput) => void
301
- ): void;
302
- public deleteIntegration(
303
- args: DeleteIntegrationCommandInput,
304
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteIntegrationCommandOutput) => void),
305
- cb?: (err: any, data?: DeleteIntegrationCommandOutput) => void
306
- ): Promise<DeleteIntegrationCommandOutput> | void {
307
- const command = new DeleteIntegrationCommand(args);
308
- if (typeof optionsOrCb === "function") {
309
- this.send(command, optionsOrCb);
310
- } else if (typeof cb === "function") {
311
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
312
- this.send(command, optionsOrCb || {}, cb);
313
- } else {
314
- return this.send(command, optionsOrCb);
315
- }
316
- }
317
-
318
- /**
319
- * <p>Deletes the standard customer profile and all data pertaining to the profile.</p>
320
- */
321
- public deleteProfile(
322
- args: DeleteProfileCommandInput,
323
- options?: __HttpHandlerOptions
324
- ): Promise<DeleteProfileCommandOutput>;
325
- public deleteProfile(
326
- args: DeleteProfileCommandInput,
327
- cb: (err: any, data?: DeleteProfileCommandOutput) => void
328
- ): void;
329
- public deleteProfile(
330
- args: DeleteProfileCommandInput,
331
- options: __HttpHandlerOptions,
332
- cb: (err: any, data?: DeleteProfileCommandOutput) => void
333
- ): void;
334
- public deleteProfile(
335
- args: DeleteProfileCommandInput,
336
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteProfileCommandOutput) => void),
337
- cb?: (err: any, data?: DeleteProfileCommandOutput) => void
338
- ): Promise<DeleteProfileCommandOutput> | void {
339
- const command = new DeleteProfileCommand(args);
340
- if (typeof optionsOrCb === "function") {
341
- this.send(command, optionsOrCb);
342
- } else if (typeof cb === "function") {
343
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
344
- this.send(command, optionsOrCb || {}, cb);
345
- } else {
346
- return this.send(command, optionsOrCb);
347
- }
348
- }
349
-
350
- /**
351
- * <p>Removes a searchable key from a customer profile.</p>
352
- */
353
- public deleteProfileKey(
354
- args: DeleteProfileKeyCommandInput,
355
- options?: __HttpHandlerOptions
356
- ): Promise<DeleteProfileKeyCommandOutput>;
357
- public deleteProfileKey(
358
- args: DeleteProfileKeyCommandInput,
359
- cb: (err: any, data?: DeleteProfileKeyCommandOutput) => void
360
- ): void;
361
- public deleteProfileKey(
362
- args: DeleteProfileKeyCommandInput,
363
- options: __HttpHandlerOptions,
364
- cb: (err: any, data?: DeleteProfileKeyCommandOutput) => void
365
- ): void;
366
- public deleteProfileKey(
367
- args: DeleteProfileKeyCommandInput,
368
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteProfileKeyCommandOutput) => void),
369
- cb?: (err: any, data?: DeleteProfileKeyCommandOutput) => void
370
- ): Promise<DeleteProfileKeyCommandOutput> | void {
371
- const command = new DeleteProfileKeyCommand(args);
372
- if (typeof optionsOrCb === "function") {
373
- this.send(command, optionsOrCb);
374
- } else if (typeof cb === "function") {
375
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
376
- this.send(command, optionsOrCb || {}, cb);
377
- } else {
378
- return this.send(command, optionsOrCb);
379
- }
380
- }
381
-
382
- /**
383
- * <p>Removes an object associated with a profile of a given ProfileObjectType.</p>
384
- */
385
- public deleteProfileObject(
386
- args: DeleteProfileObjectCommandInput,
387
- options?: __HttpHandlerOptions
388
- ): Promise<DeleteProfileObjectCommandOutput>;
389
- public deleteProfileObject(
390
- args: DeleteProfileObjectCommandInput,
391
- cb: (err: any, data?: DeleteProfileObjectCommandOutput) => void
392
- ): void;
393
- public deleteProfileObject(
394
- args: DeleteProfileObjectCommandInput,
395
- options: __HttpHandlerOptions,
396
- cb: (err: any, data?: DeleteProfileObjectCommandOutput) => void
397
- ): void;
398
- public deleteProfileObject(
399
- args: DeleteProfileObjectCommandInput,
400
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteProfileObjectCommandOutput) => void),
401
- cb?: (err: any, data?: DeleteProfileObjectCommandOutput) => void
402
- ): Promise<DeleteProfileObjectCommandOutput> | void {
403
- const command = new DeleteProfileObjectCommand(args);
404
- if (typeof optionsOrCb === "function") {
405
- this.send(command, optionsOrCb);
406
- } else if (typeof cb === "function") {
407
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
408
- this.send(command, optionsOrCb || {}, cb);
409
- } else {
410
- return this.send(command, optionsOrCb);
411
- }
412
- }
413
-
414
- /**
415
- * <p>Removes a ProfileObjectType from a specific domain as well as removes all the
416
- * ProfileObjects of that type. It also disables integrations from this specific
417
- * ProfileObjectType. In addition, it scrubs all of the fields of the standard profile that
418
- * were populated from this ProfileObjectType.</p>
419
- */
420
- public deleteProfileObjectType(
421
- args: DeleteProfileObjectTypeCommandInput,
422
- options?: __HttpHandlerOptions
423
- ): Promise<DeleteProfileObjectTypeCommandOutput>;
424
- public deleteProfileObjectType(
425
- args: DeleteProfileObjectTypeCommandInput,
426
- cb: (err: any, data?: DeleteProfileObjectTypeCommandOutput) => void
427
- ): void;
428
- public deleteProfileObjectType(
429
- args: DeleteProfileObjectTypeCommandInput,
430
- options: __HttpHandlerOptions,
431
- cb: (err: any, data?: DeleteProfileObjectTypeCommandOutput) => void
432
- ): void;
433
- public deleteProfileObjectType(
434
- args: DeleteProfileObjectTypeCommandInput,
435
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteProfileObjectTypeCommandOutput) => void),
436
- cb?: (err: any, data?: DeleteProfileObjectTypeCommandOutput) => void
437
- ): Promise<DeleteProfileObjectTypeCommandOutput> | void {
438
- const command = new DeleteProfileObjectTypeCommand(args);
439
- if (typeof optionsOrCb === "function") {
440
- this.send(command, optionsOrCb);
441
- } else if (typeof cb === "function") {
442
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
443
- this.send(command, optionsOrCb || {}, cb);
444
- } else {
445
- return this.send(command, optionsOrCb);
446
- }
447
- }
448
-
449
- /**
450
- * <p>Returns information about a specific domain.</p>
451
- */
452
- public getDomain(args: GetDomainCommandInput, options?: __HttpHandlerOptions): Promise<GetDomainCommandOutput>;
453
- public getDomain(args: GetDomainCommandInput, cb: (err: any, data?: GetDomainCommandOutput) => void): void;
454
- public getDomain(
455
- args: GetDomainCommandInput,
456
- options: __HttpHandlerOptions,
457
- cb: (err: any, data?: GetDomainCommandOutput) => void
458
- ): void;
459
- public getDomain(
460
- args: GetDomainCommandInput,
461
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetDomainCommandOutput) => void),
462
- cb?: (err: any, data?: GetDomainCommandOutput) => void
463
- ): Promise<GetDomainCommandOutput> | void {
464
- const command = new GetDomainCommand(args);
465
- if (typeof optionsOrCb === "function") {
466
- this.send(command, optionsOrCb);
467
- } else if (typeof cb === "function") {
468
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
469
- this.send(command, optionsOrCb || {}, cb);
470
- } else {
471
- return this.send(command, optionsOrCb);
472
- }
473
- }
474
-
475
- /**
476
- * <p>Returns an integration for a domain.</p>
477
- */
478
- public getIntegration(
479
- args: GetIntegrationCommandInput,
480
- options?: __HttpHandlerOptions
481
- ): Promise<GetIntegrationCommandOutput>;
482
- public getIntegration(
483
- args: GetIntegrationCommandInput,
484
- cb: (err: any, data?: GetIntegrationCommandOutput) => void
485
- ): void;
486
- public getIntegration(
487
- args: GetIntegrationCommandInput,
488
- options: __HttpHandlerOptions,
489
- cb: (err: any, data?: GetIntegrationCommandOutput) => void
490
- ): void;
491
- public getIntegration(
492
- args: GetIntegrationCommandInput,
493
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetIntegrationCommandOutput) => void),
494
- cb?: (err: any, data?: GetIntegrationCommandOutput) => void
495
- ): Promise<GetIntegrationCommandOutput> | void {
496
- const command = new GetIntegrationCommand(args);
497
- if (typeof optionsOrCb === "function") {
498
- this.send(command, optionsOrCb);
499
- } else if (typeof cb === "function") {
500
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
501
- this.send(command, optionsOrCb || {}, cb);
502
- } else {
503
- return this.send(command, optionsOrCb);
504
- }
505
- }
506
-
507
- /**
508
- * <p>This API is in preview release for Amazon Connect and subject to change.</p>
509
- * <p>Before calling this API, use <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_CreateDomain.html">CreateDomain</a> or
510
- * <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_UpdateDomain.html">UpdateDomain</a> to
511
- * enable identity resolution: set <code>Matching</code> to true.</p>
512
- * <p>GetMatches returns potentially matching profiles, based on the results of the latest run
513
- * of a machine learning process. </p>
514
- * <important>
515
- * <p>Amazon Connect starts a batch process every Saturday at 12AM UTC to identify matching profiles.
516
- * The results are returned up to seven days after the Saturday run.</p>
517
- * </important>
518
- *
519
- * <p>Amazon Connect uses the following profile attributes to identify matches:</p>
520
- * <ul>
521
- * <li>
522
- * <p>PhoneNumber</p>
523
- * </li>
524
- * <li>
525
- * <p>HomePhoneNumber</p>
526
- * </li>
527
- * <li>
528
- * <p>BusinessPhoneNumber</p>
529
- * </li>
530
- * <li>
531
- * <p>MobilePhoneNumber</p>
532
- * </li>
533
- * <li>
534
- * <p>EmailAddress</p>
535
- * </li>
536
- * <li>
537
- * <p>PersonalEmailAddress</p>
538
- * </li>
539
- * <li>
540
- * <p>BusinessEmailAddress</p>
541
- * </li>
542
- * <li>
543
- * <p>FullName</p>
544
- * </li>
545
- * <li>
546
- * <p>BusinessName</p>
547
- * </li>
548
- * </ul>
549
- * <p>For example, two or more profiles—with spelling mistakes such as <b>John Doe</b> and <b>Jhn Doe</b>, or different casing
550
- * email addresses such as <b>JOHN_DOE@ANYCOMPANY.COM</b> and
551
- * <b>johndoe@anycompany.com</b>, or different phone number
552
- * formats such as <b>555-010-0000</b> and <b>+1-555-010-0000</b>—can be detected as belonging to the same customer <b>John Doe</b> and merged into a unified profile.</p>
553
- */
554
- public getMatches(args: GetMatchesCommandInput, options?: __HttpHandlerOptions): Promise<GetMatchesCommandOutput>;
555
- public getMatches(args: GetMatchesCommandInput, cb: (err: any, data?: GetMatchesCommandOutput) => void): void;
556
- public getMatches(
557
- args: GetMatchesCommandInput,
558
- options: __HttpHandlerOptions,
559
- cb: (err: any, data?: GetMatchesCommandOutput) => void
560
- ): void;
561
- public getMatches(
562
- args: GetMatchesCommandInput,
563
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetMatchesCommandOutput) => void),
564
- cb?: (err: any, data?: GetMatchesCommandOutput) => void
565
- ): Promise<GetMatchesCommandOutput> | void {
566
- const command = new GetMatchesCommand(args);
567
- if (typeof optionsOrCb === "function") {
568
- this.send(command, optionsOrCb);
569
- } else if (typeof cb === "function") {
570
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
571
- this.send(command, optionsOrCb || {}, cb);
572
- } else {
573
- return this.send(command, optionsOrCb);
574
- }
575
- }
576
-
577
- /**
578
- * <p>Returns the object types for a specific domain.</p>
579
- */
580
- public getProfileObjectType(
581
- args: GetProfileObjectTypeCommandInput,
582
- options?: __HttpHandlerOptions
583
- ): Promise<GetProfileObjectTypeCommandOutput>;
584
- public getProfileObjectType(
585
- args: GetProfileObjectTypeCommandInput,
586
- cb: (err: any, data?: GetProfileObjectTypeCommandOutput) => void
587
- ): void;
588
- public getProfileObjectType(
589
- args: GetProfileObjectTypeCommandInput,
590
- options: __HttpHandlerOptions,
591
- cb: (err: any, data?: GetProfileObjectTypeCommandOutput) => void
592
- ): void;
593
- public getProfileObjectType(
594
- args: GetProfileObjectTypeCommandInput,
595
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetProfileObjectTypeCommandOutput) => void),
596
- cb?: (err: any, data?: GetProfileObjectTypeCommandOutput) => void
597
- ): Promise<GetProfileObjectTypeCommandOutput> | void {
598
- const command = new GetProfileObjectTypeCommand(args);
599
- if (typeof optionsOrCb === "function") {
600
- this.send(command, optionsOrCb);
601
- } else if (typeof cb === "function") {
602
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
603
- this.send(command, optionsOrCb || {}, cb);
604
- } else {
605
- return this.send(command, optionsOrCb);
606
- }
607
- }
608
-
609
- /**
610
- * <p>Returns the template information for a specific object type.</p>
611
- * <p>A template is a predefined ProfileObjectType, such as “Salesforce-Account” or
612
- * “Salesforce-Contact.” When a user sends a ProfileObject, using the PutProfileObject API,
613
- * with an ObjectTypeName that matches one of the TemplateIds, it uses the mappings from the
614
- * template.</p>
615
- */
616
- public getProfileObjectTypeTemplate(
617
- args: GetProfileObjectTypeTemplateCommandInput,
618
- options?: __HttpHandlerOptions
619
- ): Promise<GetProfileObjectTypeTemplateCommandOutput>;
620
- public getProfileObjectTypeTemplate(
621
- args: GetProfileObjectTypeTemplateCommandInput,
622
- cb: (err: any, data?: GetProfileObjectTypeTemplateCommandOutput) => void
623
- ): void;
624
- public getProfileObjectTypeTemplate(
625
- args: GetProfileObjectTypeTemplateCommandInput,
626
- options: __HttpHandlerOptions,
627
- cb: (err: any, data?: GetProfileObjectTypeTemplateCommandOutput) => void
628
- ): void;
629
- public getProfileObjectTypeTemplate(
630
- args: GetProfileObjectTypeTemplateCommandInput,
631
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetProfileObjectTypeTemplateCommandOutput) => void),
632
- cb?: (err: any, data?: GetProfileObjectTypeTemplateCommandOutput) => void
633
- ): Promise<GetProfileObjectTypeTemplateCommandOutput> | void {
634
- const command = new GetProfileObjectTypeTemplateCommand(args);
635
- if (typeof optionsOrCb === "function") {
636
- this.send(command, optionsOrCb);
637
- } else if (typeof cb === "function") {
638
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
639
- this.send(command, optionsOrCb || {}, cb);
640
- } else {
641
- return this.send(command, optionsOrCb);
642
- }
643
- }
644
-
645
- /**
646
- * <p>Lists all of the integrations associated to a specific URI in the AWS account.</p>
647
- */
648
- public listAccountIntegrations(
649
- args: ListAccountIntegrationsCommandInput,
650
- options?: __HttpHandlerOptions
651
- ): Promise<ListAccountIntegrationsCommandOutput>;
652
- public listAccountIntegrations(
653
- args: ListAccountIntegrationsCommandInput,
654
- cb: (err: any, data?: ListAccountIntegrationsCommandOutput) => void
655
- ): void;
656
- public listAccountIntegrations(
657
- args: ListAccountIntegrationsCommandInput,
658
- options: __HttpHandlerOptions,
659
- cb: (err: any, data?: ListAccountIntegrationsCommandOutput) => void
660
- ): void;
661
- public listAccountIntegrations(
662
- args: ListAccountIntegrationsCommandInput,
663
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAccountIntegrationsCommandOutput) => void),
664
- cb?: (err: any, data?: ListAccountIntegrationsCommandOutput) => void
665
- ): Promise<ListAccountIntegrationsCommandOutput> | void {
666
- const command = new ListAccountIntegrationsCommand(args);
667
- if (typeof optionsOrCb === "function") {
668
- this.send(command, optionsOrCb);
669
- } else if (typeof cb === "function") {
670
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
671
- this.send(command, optionsOrCb || {}, cb);
672
- } else {
673
- return this.send(command, optionsOrCb);
674
- }
675
- }
676
-
677
- /**
678
- * <p>Returns a list of all the domains for an AWS account that have been created.</p>
679
- */
680
- public listDomains(args: ListDomainsCommandInput, options?: __HttpHandlerOptions): Promise<ListDomainsCommandOutput>;
681
- public listDomains(args: ListDomainsCommandInput, cb: (err: any, data?: ListDomainsCommandOutput) => void): void;
682
- public listDomains(
683
- args: ListDomainsCommandInput,
684
- options: __HttpHandlerOptions,
685
- cb: (err: any, data?: ListDomainsCommandOutput) => void
686
- ): void;
687
- public listDomains(
688
- args: ListDomainsCommandInput,
689
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDomainsCommandOutput) => void),
690
- cb?: (err: any, data?: ListDomainsCommandOutput) => void
691
- ): Promise<ListDomainsCommandOutput> | void {
692
- const command = new ListDomainsCommand(args);
693
- if (typeof optionsOrCb === "function") {
694
- this.send(command, optionsOrCb);
695
- } else if (typeof cb === "function") {
696
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
697
- this.send(command, optionsOrCb || {}, cb);
698
- } else {
699
- return this.send(command, optionsOrCb);
700
- }
701
- }
702
-
703
- /**
704
- * <p>Lists all of the integrations in your domain.</p>
705
- */
706
- public listIntegrations(
707
- args: ListIntegrationsCommandInput,
708
- options?: __HttpHandlerOptions
709
- ): Promise<ListIntegrationsCommandOutput>;
710
- public listIntegrations(
711
- args: ListIntegrationsCommandInput,
712
- cb: (err: any, data?: ListIntegrationsCommandOutput) => void
713
- ): void;
714
- public listIntegrations(
715
- args: ListIntegrationsCommandInput,
716
- options: __HttpHandlerOptions,
717
- cb: (err: any, data?: ListIntegrationsCommandOutput) => void
718
- ): void;
719
- public listIntegrations(
720
- args: ListIntegrationsCommandInput,
721
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListIntegrationsCommandOutput) => void),
722
- cb?: (err: any, data?: ListIntegrationsCommandOutput) => void
723
- ): Promise<ListIntegrationsCommandOutput> | void {
724
- const command = new ListIntegrationsCommand(args);
725
- if (typeof optionsOrCb === "function") {
726
- this.send(command, optionsOrCb);
727
- } else if (typeof cb === "function") {
728
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
729
- this.send(command, optionsOrCb || {}, cb);
730
- } else {
731
- return this.send(command, optionsOrCb);
732
- }
733
- }
734
-
735
- /**
736
- * <p>Returns a list of objects associated with a profile of a given ProfileObjectType.</p>
737
- */
738
- public listProfileObjects(
739
- args: ListProfileObjectsCommandInput,
740
- options?: __HttpHandlerOptions
741
- ): Promise<ListProfileObjectsCommandOutput>;
742
- public listProfileObjects(
743
- args: ListProfileObjectsCommandInput,
744
- cb: (err: any, data?: ListProfileObjectsCommandOutput) => void
745
- ): void;
746
- public listProfileObjects(
747
- args: ListProfileObjectsCommandInput,
748
- options: __HttpHandlerOptions,
749
- cb: (err: any, data?: ListProfileObjectsCommandOutput) => void
750
- ): void;
751
- public listProfileObjects(
752
- args: ListProfileObjectsCommandInput,
753
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListProfileObjectsCommandOutput) => void),
754
- cb?: (err: any, data?: ListProfileObjectsCommandOutput) => void
755
- ): Promise<ListProfileObjectsCommandOutput> | void {
756
- const command = new ListProfileObjectsCommand(args);
757
- if (typeof optionsOrCb === "function") {
758
- this.send(command, optionsOrCb);
759
- } else if (typeof cb === "function") {
760
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
761
- this.send(command, optionsOrCb || {}, cb);
762
- } else {
763
- return this.send(command, optionsOrCb);
764
- }
765
- }
766
-
767
- /**
768
- * <p>Lists all of the templates available within the service.</p>
769
- */
770
- public listProfileObjectTypes(
771
- args: ListProfileObjectTypesCommandInput,
772
- options?: __HttpHandlerOptions
773
- ): Promise<ListProfileObjectTypesCommandOutput>;
774
- public listProfileObjectTypes(
775
- args: ListProfileObjectTypesCommandInput,
776
- cb: (err: any, data?: ListProfileObjectTypesCommandOutput) => void
777
- ): void;
778
- public listProfileObjectTypes(
779
- args: ListProfileObjectTypesCommandInput,
780
- options: __HttpHandlerOptions,
781
- cb: (err: any, data?: ListProfileObjectTypesCommandOutput) => void
782
- ): void;
783
- public listProfileObjectTypes(
784
- args: ListProfileObjectTypesCommandInput,
785
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListProfileObjectTypesCommandOutput) => void),
786
- cb?: (err: any, data?: ListProfileObjectTypesCommandOutput) => void
787
- ): Promise<ListProfileObjectTypesCommandOutput> | void {
788
- const command = new ListProfileObjectTypesCommand(args);
789
- if (typeof optionsOrCb === "function") {
790
- this.send(command, optionsOrCb);
791
- } else if (typeof cb === "function") {
792
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
793
- this.send(command, optionsOrCb || {}, cb);
794
- } else {
795
- return this.send(command, optionsOrCb);
796
- }
797
- }
798
-
799
- /**
800
- * <p>Lists all of the template information for object types.</p>
801
- */
802
- public listProfileObjectTypeTemplates(
803
- args: ListProfileObjectTypeTemplatesCommandInput,
804
- options?: __HttpHandlerOptions
805
- ): Promise<ListProfileObjectTypeTemplatesCommandOutput>;
806
- public listProfileObjectTypeTemplates(
807
- args: ListProfileObjectTypeTemplatesCommandInput,
808
- cb: (err: any, data?: ListProfileObjectTypeTemplatesCommandOutput) => void
809
- ): void;
810
- public listProfileObjectTypeTemplates(
811
- args: ListProfileObjectTypeTemplatesCommandInput,
812
- options: __HttpHandlerOptions,
813
- cb: (err: any, data?: ListProfileObjectTypeTemplatesCommandOutput) => void
814
- ): void;
815
- public listProfileObjectTypeTemplates(
816
- args: ListProfileObjectTypeTemplatesCommandInput,
817
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListProfileObjectTypeTemplatesCommandOutput) => void),
818
- cb?: (err: any, data?: ListProfileObjectTypeTemplatesCommandOutput) => void
819
- ): Promise<ListProfileObjectTypeTemplatesCommandOutput> | void {
820
- const command = new ListProfileObjectTypeTemplatesCommand(args);
821
- if (typeof optionsOrCb === "function") {
822
- this.send(command, optionsOrCb);
823
- } else if (typeof cb === "function") {
824
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
825
- this.send(command, optionsOrCb || {}, cb);
826
- } else {
827
- return this.send(command, optionsOrCb);
828
- }
829
- }
830
-
831
- /**
832
- * <p>Displays the tags associated with an Amazon Connect Customer Profiles resource. In Connect
833
- * Customer Profiles, domains, profile object types, and integrations can be tagged.</p>
834
- */
835
- public listTagsForResource(
836
- args: ListTagsForResourceCommandInput,
837
- options?: __HttpHandlerOptions
838
- ): Promise<ListTagsForResourceCommandOutput>;
839
- public listTagsForResource(
840
- args: ListTagsForResourceCommandInput,
841
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
842
- ): void;
843
- public listTagsForResource(
844
- args: ListTagsForResourceCommandInput,
845
- options: __HttpHandlerOptions,
846
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
847
- ): void;
848
- public listTagsForResource(
849
- args: ListTagsForResourceCommandInput,
850
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
851
- cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
852
- ): Promise<ListTagsForResourceCommandOutput> | void {
853
- const command = new ListTagsForResourceCommand(args);
854
- if (typeof optionsOrCb === "function") {
855
- this.send(command, optionsOrCb);
856
- } else if (typeof cb === "function") {
857
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
858
- this.send(command, optionsOrCb || {}, cb);
859
- } else {
860
- return this.send(command, optionsOrCb);
861
- }
862
- }
863
-
864
- /**
865
- * <p>This API is in preview release for Amazon Connect and subject to change.</p>
866
- * <p>Runs an AWS Lambda job that does the following:</p>
867
- * <ol>
868
- * <li>
869
- * <p>All the profileKeys in the <code>ProfileToBeMerged</code> will be moved to the
870
- * main profile.</p>
871
- * </li>
872
- * <li>
873
- * <p>All the objects in the <code>ProfileToBeMerged</code> will be moved to the main
874
- * profile.</p>
875
- * </li>
876
- * <li>
877
- * <p>All the <code>ProfileToBeMerged</code> will be deleted at the end.</p>
878
- * </li>
879
- * <li>
880
- * <p>All the profileKeys in the <code>ProfileIdsToBeMerged</code> will be moved to the
881
- * main profile.</p>
882
- * </li>
883
- * <li>
884
- * <p>Standard fields are merged as follows:</p>
885
- * <ol>
886
- * <li>
887
- * <p>Fields are always "union"-ed if there are no conflicts in standard fields or
888
- * attributeKeys.</p>
889
- * </li>
890
- * <li>
891
- * <p>When there are conflicting fields:</p>
892
- *
893
- * <ol>
894
- * <li>
895
- * <p>If no <code>SourceProfileIds</code> entry is specified, the main
896
- * Profile value is always taken. </p>
897
- * </li>
898
- * <li>
899
- * <p>If a <code>SourceProfileIds</code> entry is specified, the specified
900
- * profileId is always taken, even if it is a NULL value.</p>
901
- * </li>
902
- * </ol>
903
- * </li>
904
- * </ol>
905
- * </li>
906
- * </ol>
907
- * <p>You can use MergeProfiles together with <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html">GetMatches</a>, which
908
- * returns potentially matching profiles, or use it with the results of another matching
909
- * system. After profiles have been merged, they cannot be separated (unmerged).</p>
910
- */
911
- public mergeProfiles(
912
- args: MergeProfilesCommandInput,
913
- options?: __HttpHandlerOptions
914
- ): Promise<MergeProfilesCommandOutput>;
915
- public mergeProfiles(
916
- args: MergeProfilesCommandInput,
917
- cb: (err: any, data?: MergeProfilesCommandOutput) => void
918
- ): void;
919
- public mergeProfiles(
920
- args: MergeProfilesCommandInput,
921
- options: __HttpHandlerOptions,
922
- cb: (err: any, data?: MergeProfilesCommandOutput) => void
923
- ): void;
924
- public mergeProfiles(
925
- args: MergeProfilesCommandInput,
926
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: MergeProfilesCommandOutput) => void),
927
- cb?: (err: any, data?: MergeProfilesCommandOutput) => void
928
- ): Promise<MergeProfilesCommandOutput> | void {
929
- const command = new MergeProfilesCommand(args);
930
- if (typeof optionsOrCb === "function") {
931
- this.send(command, optionsOrCb);
932
- } else if (typeof cb === "function") {
933
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
934
- this.send(command, optionsOrCb || {}, cb);
935
- } else {
936
- return this.send(command, optionsOrCb);
937
- }
938
- }
939
-
940
- /**
941
- * <p>Adds an integration between the service and a third-party service, which includes
942
- * Amazon AppFlow and Amazon Connect.</p>
943
- * <p>An integration can belong to only one domain.</p>
944
- */
945
- public putIntegration(
946
- args: PutIntegrationCommandInput,
947
- options?: __HttpHandlerOptions
948
- ): Promise<PutIntegrationCommandOutput>;
949
- public putIntegration(
950
- args: PutIntegrationCommandInput,
951
- cb: (err: any, data?: PutIntegrationCommandOutput) => void
952
- ): void;
953
- public putIntegration(
954
- args: PutIntegrationCommandInput,
955
- options: __HttpHandlerOptions,
956
- cb: (err: any, data?: PutIntegrationCommandOutput) => void
957
- ): void;
958
- public putIntegration(
959
- args: PutIntegrationCommandInput,
960
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutIntegrationCommandOutput) => void),
961
- cb?: (err: any, data?: PutIntegrationCommandOutput) => void
962
- ): Promise<PutIntegrationCommandOutput> | void {
963
- const command = new PutIntegrationCommand(args);
964
- if (typeof optionsOrCb === "function") {
965
- this.send(command, optionsOrCb);
966
- } else if (typeof cb === "function") {
967
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
968
- this.send(command, optionsOrCb || {}, cb);
969
- } else {
970
- return this.send(command, optionsOrCb);
971
- }
972
- }
973
-
974
- /**
975
- * <p>Adds additional objects to customer profiles of a given ObjectType.</p>
976
- * <p>When adding a specific profile object, like a Contact Trace Record (CTR), an inferred
977
- * profile can get created if it is not mapped to an existing profile. The resulting profile
978
- * will only have a phone number populated in the standard ProfileObject. Any additional CTRs
979
- * with the same phone number will be mapped to the same inferred profile.</p>
980
- * <p>When a ProfileObject is created and if a ProfileObjectType already exists for the
981
- * ProfileObject, it will provide data to a standard profile depending on the
982
- * ProfileObjectType definition.</p>
983
- * <p>PutProfileObject needs an ObjectType, which can be created using
984
- * PutProfileObjectType.</p>
985
- */
986
- public putProfileObject(
987
- args: PutProfileObjectCommandInput,
988
- options?: __HttpHandlerOptions
989
- ): Promise<PutProfileObjectCommandOutput>;
990
- public putProfileObject(
991
- args: PutProfileObjectCommandInput,
992
- cb: (err: any, data?: PutProfileObjectCommandOutput) => void
993
- ): void;
994
- public putProfileObject(
995
- args: PutProfileObjectCommandInput,
996
- options: __HttpHandlerOptions,
997
- cb: (err: any, data?: PutProfileObjectCommandOutput) => void
998
- ): void;
999
- public putProfileObject(
1000
- args: PutProfileObjectCommandInput,
1001
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutProfileObjectCommandOutput) => void),
1002
- cb?: (err: any, data?: PutProfileObjectCommandOutput) => void
1003
- ): Promise<PutProfileObjectCommandOutput> | void {
1004
- const command = new PutProfileObjectCommand(args);
1005
- if (typeof optionsOrCb === "function") {
1006
- this.send(command, optionsOrCb);
1007
- } else if (typeof cb === "function") {
1008
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1009
- this.send(command, optionsOrCb || {}, cb);
1010
- } else {
1011
- return this.send(command, optionsOrCb);
1012
- }
1013
- }
1014
-
1015
- /**
1016
- * <p>Defines a ProfileObjectType.</p>
1017
- */
1018
- public putProfileObjectType(
1019
- args: PutProfileObjectTypeCommandInput,
1020
- options?: __HttpHandlerOptions
1021
- ): Promise<PutProfileObjectTypeCommandOutput>;
1022
- public putProfileObjectType(
1023
- args: PutProfileObjectTypeCommandInput,
1024
- cb: (err: any, data?: PutProfileObjectTypeCommandOutput) => void
1025
- ): void;
1026
- public putProfileObjectType(
1027
- args: PutProfileObjectTypeCommandInput,
1028
- options: __HttpHandlerOptions,
1029
- cb: (err: any, data?: PutProfileObjectTypeCommandOutput) => void
1030
- ): void;
1031
- public putProfileObjectType(
1032
- args: PutProfileObjectTypeCommandInput,
1033
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutProfileObjectTypeCommandOutput) => void),
1034
- cb?: (err: any, data?: PutProfileObjectTypeCommandOutput) => void
1035
- ): Promise<PutProfileObjectTypeCommandOutput> | void {
1036
- const command = new PutProfileObjectTypeCommand(args);
1037
- if (typeof optionsOrCb === "function") {
1038
- this.send(command, optionsOrCb);
1039
- } else if (typeof cb === "function") {
1040
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1041
- this.send(command, optionsOrCb || {}, cb);
1042
- } else {
1043
- return this.send(command, optionsOrCb);
1044
- }
1045
- }
1046
-
1047
- /**
1048
- * <p>Searches for profiles within a specific domain name using name, phone number, email
1049
- * address, account number, or a custom defined index.</p>
1050
- */
1051
- public searchProfiles(
1052
- args: SearchProfilesCommandInput,
1053
- options?: __HttpHandlerOptions
1054
- ): Promise<SearchProfilesCommandOutput>;
1055
- public searchProfiles(
1056
- args: SearchProfilesCommandInput,
1057
- cb: (err: any, data?: SearchProfilesCommandOutput) => void
1058
- ): void;
1059
- public searchProfiles(
1060
- args: SearchProfilesCommandInput,
1061
- options: __HttpHandlerOptions,
1062
- cb: (err: any, data?: SearchProfilesCommandOutput) => void
1063
- ): void;
1064
- public searchProfiles(
1065
- args: SearchProfilesCommandInput,
1066
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SearchProfilesCommandOutput) => void),
1067
- cb?: (err: any, data?: SearchProfilesCommandOutput) => void
1068
- ): Promise<SearchProfilesCommandOutput> | void {
1069
- const command = new SearchProfilesCommand(args);
1070
- if (typeof optionsOrCb === "function") {
1071
- this.send(command, optionsOrCb);
1072
- } else if (typeof cb === "function") {
1073
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1074
- this.send(command, optionsOrCb || {}, cb);
1075
- } else {
1076
- return this.send(command, optionsOrCb);
1077
- }
1078
- }
1079
-
1080
- /**
1081
- * <p>Assigns one or more tags (key-value pairs) to the specified Amazon Connect Customer Profiles
1082
- * resource. Tags can help you organize and categorize your resources. You can also use them
1083
- * to scope user permissions by granting a user permission to access or change only resources
1084
- * with certain tag values. In Connect Customer Profiles, domains, profile object types, and
1085
- * integrations can be tagged.</p>
1086
- * <p>Tags don't have any semantic meaning to AWS and are interpreted strictly as strings of
1087
- * characters.</p>
1088
- * <p>You can use the TagResource action with a resource that already has tags. If you specify
1089
- * a new tag key, this tag is appended to the list of tags associated with the resource. If
1090
- * you specify a tag key that is already associated with the resource, the new tag value that
1091
- * you specify replaces the previous value for that tag.</p>
1092
- * <p>You can associate as many as 50 tags with a resource.</p>
1093
- */
1094
- public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
1095
- public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
1096
- public tagResource(
1097
- args: TagResourceCommandInput,
1098
- options: __HttpHandlerOptions,
1099
- cb: (err: any, data?: TagResourceCommandOutput) => void
1100
- ): void;
1101
- public tagResource(
1102
- args: TagResourceCommandInput,
1103
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
1104
- cb?: (err: any, data?: TagResourceCommandOutput) => void
1105
- ): Promise<TagResourceCommandOutput> | void {
1106
- const command = new TagResourceCommand(args);
1107
- if (typeof optionsOrCb === "function") {
1108
- this.send(command, optionsOrCb);
1109
- } else if (typeof cb === "function") {
1110
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1111
- this.send(command, optionsOrCb || {}, cb);
1112
- } else {
1113
- return this.send(command, optionsOrCb);
1114
- }
1115
- }
1116
-
1117
- /**
1118
- * <p>Removes one or more tags from the specified Amazon Connect Customer Profiles resource. In Connect
1119
- * Customer Profiles, domains, profile object types, and integrations can be tagged.</p>
1120
- */
1121
- public untagResource(
1122
- args: UntagResourceCommandInput,
1123
- options?: __HttpHandlerOptions
1124
- ): Promise<UntagResourceCommandOutput>;
1125
- public untagResource(
1126
- args: UntagResourceCommandInput,
1127
- cb: (err: any, data?: UntagResourceCommandOutput) => void
1128
- ): void;
1129
- public untagResource(
1130
- args: UntagResourceCommandInput,
1131
- options: __HttpHandlerOptions,
1132
- cb: (err: any, data?: UntagResourceCommandOutput) => void
1133
- ): void;
1134
- public untagResource(
1135
- args: UntagResourceCommandInput,
1136
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
1137
- cb?: (err: any, data?: UntagResourceCommandOutput) => void
1138
- ): Promise<UntagResourceCommandOutput> | void {
1139
- const command = new UntagResourceCommand(args);
1140
- if (typeof optionsOrCb === "function") {
1141
- this.send(command, optionsOrCb);
1142
- } else if (typeof cb === "function") {
1143
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1144
- this.send(command, optionsOrCb || {}, cb);
1145
- } else {
1146
- return this.send(command, optionsOrCb);
1147
- }
1148
- }
1149
-
1150
- /**
1151
- * <p>Updates the properties of a domain, including creating or selecting a dead letter queue
1152
- * or an encryption key.</p>
1153
- * <p>After a domain is created, the name can’t be changed.</p>
1154
- * <p>Use this API or <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_CreateDomain.html">CreateDomain</a> to
1155
- * enable <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html">identity
1156
- * resolution</a>: set <code>Matching</code> to true. </p>
1157
- */
1158
- public updateDomain(
1159
- args: UpdateDomainCommandInput,
1160
- options?: __HttpHandlerOptions
1161
- ): Promise<UpdateDomainCommandOutput>;
1162
- public updateDomain(args: UpdateDomainCommandInput, cb: (err: any, data?: UpdateDomainCommandOutput) => void): void;
1163
- public updateDomain(
1164
- args: UpdateDomainCommandInput,
1165
- options: __HttpHandlerOptions,
1166
- cb: (err: any, data?: UpdateDomainCommandOutput) => void
1167
- ): void;
1168
- public updateDomain(
1169
- args: UpdateDomainCommandInput,
1170
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateDomainCommandOutput) => void),
1171
- cb?: (err: any, data?: UpdateDomainCommandOutput) => void
1172
- ): Promise<UpdateDomainCommandOutput> | void {
1173
- const command = new UpdateDomainCommand(args);
1174
- if (typeof optionsOrCb === "function") {
1175
- this.send(command, optionsOrCb);
1176
- } else if (typeof cb === "function") {
1177
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1178
- this.send(command, optionsOrCb || {}, cb);
1179
- } else {
1180
- return this.send(command, optionsOrCb);
1181
- }
1182
- }
1183
-
1184
- /**
1185
- * <p>Updates the properties of a profile. The ProfileId is required for updating a customer
1186
- * profile.</p>
1187
- * <p>When calling the UpdateProfile API, specifying an empty string value means that any
1188
- * existing value will be removed. Not specifying a string value means that any value already
1189
- * there will be kept.</p>
1190
- */
1191
- public updateProfile(
1192
- args: UpdateProfileCommandInput,
1193
- options?: __HttpHandlerOptions
1194
- ): Promise<UpdateProfileCommandOutput>;
1195
- public updateProfile(
1196
- args: UpdateProfileCommandInput,
1197
- cb: (err: any, data?: UpdateProfileCommandOutput) => void
1198
- ): void;
1199
- public updateProfile(
1200
- args: UpdateProfileCommandInput,
1201
- options: __HttpHandlerOptions,
1202
- cb: (err: any, data?: UpdateProfileCommandOutput) => void
1203
- ): void;
1204
- public updateProfile(
1205
- args: UpdateProfileCommandInput,
1206
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateProfileCommandOutput) => void),
1207
- cb?: (err: any, data?: UpdateProfileCommandOutput) => void
1208
- ): Promise<UpdateProfileCommandOutput> | void {
1209
- const command = new UpdateProfileCommand(args);
1210
- if (typeof optionsOrCb === "function") {
1211
- this.send(command, optionsOrCb);
1212
- } else if (typeof cb === "function") {
1213
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1214
- this.send(command, optionsOrCb || {}, cb);
1215
- } else {
1216
- return this.send(command, optionsOrCb);
1217
- }
1218
- }
1219
- }