@aws-sdk/client-personalize 3.35.0 → 3.38.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 (425) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/Personalize.js +0 -5
  3. package/dist-cjs/PersonalizeClient.js +0 -10
  4. package/dist-cjs/commands/CreateBatchInferenceJobCommand.js +0 -26
  5. package/dist-cjs/commands/CreateCampaignCommand.js +0 -95
  6. package/dist-cjs/commands/CreateDatasetCommand.js +0 -75
  7. package/dist-cjs/commands/CreateDatasetExportJobCommand.js +0 -46
  8. package/dist-cjs/commands/CreateDatasetGroupCommand.js +0 -100
  9. package/dist-cjs/commands/CreateDatasetImportJobCommand.js +0 -66
  10. package/dist-cjs/commands/CreateEventTrackerCommand.js +0 -70
  11. package/dist-cjs/commands/CreateFilterCommand.js +0 -25
  12. package/dist-cjs/commands/CreateSchemaCommand.js +0 -50
  13. package/dist-cjs/commands/CreateSolutionCommand.js +0 -97
  14. package/dist-cjs/commands/CreateSolutionVersionCommand.js +0 -92
  15. package/dist-cjs/commands/DeleteCampaignCommand.js +0 -30
  16. package/dist-cjs/commands/DeleteDatasetCommand.js +0 -27
  17. package/dist-cjs/commands/DeleteDatasetGroupCommand.js +0 -37
  18. package/dist-cjs/commands/DeleteEventTrackerCommand.js +0 -27
  19. package/dist-cjs/commands/DeleteFilterCommand.js +0 -25
  20. package/dist-cjs/commands/DeleteSchemaCommand.js +0 -27
  21. package/dist-cjs/commands/DeleteSolutionCommand.js +0 -31
  22. package/dist-cjs/commands/DescribeAlgorithmCommand.js +0 -25
  23. package/dist-cjs/commands/DescribeBatchInferenceJobCommand.js +0 -27
  24. package/dist-cjs/commands/DescribeCampaignCommand.js +0 -37
  25. package/dist-cjs/commands/DescribeDatasetCommand.js +0 -25
  26. package/dist-cjs/commands/DescribeDatasetExportJobCommand.js +0 -26
  27. package/dist-cjs/commands/DescribeDatasetGroupCommand.js +0 -25
  28. package/dist-cjs/commands/DescribeDatasetImportJobCommand.js +0 -26
  29. package/dist-cjs/commands/DescribeEventTrackerCommand.js +0 -27
  30. package/dist-cjs/commands/DescribeFeatureTransformationCommand.js +0 -25
  31. package/dist-cjs/commands/DescribeFilterCommand.js +0 -25
  32. package/dist-cjs/commands/DescribeRecipeCommand.js +0 -43
  33. package/dist-cjs/commands/DescribeSchemaCommand.js +0 -26
  34. package/dist-cjs/commands/DescribeSolutionCommand.js +0 -26
  35. package/dist-cjs/commands/DescribeSolutionVersionCommand.js +0 -25
  36. package/dist-cjs/commands/GetSolutionMetricsCommand.js +0 -25
  37. package/dist-cjs/commands/ListBatchInferenceJobsCommand.js +0 -26
  38. package/dist-cjs/commands/ListCampaignsCommand.js +0 -28
  39. package/dist-cjs/commands/ListDatasetExportJobsCommand.js +0 -29
  40. package/dist-cjs/commands/ListDatasetGroupsCommand.js +0 -27
  41. package/dist-cjs/commands/ListDatasetImportJobsCommand.js +0 -29
  42. package/dist-cjs/commands/ListDatasetsCommand.js +0 -27
  43. package/dist-cjs/commands/ListEventTrackersCommand.js +0 -28
  44. package/dist-cjs/commands/ListFiltersCommand.js +0 -25
  45. package/dist-cjs/commands/ListRecipesCommand.js +0 -26
  46. package/dist-cjs/commands/ListSchemasCommand.js +0 -27
  47. package/dist-cjs/commands/ListSolutionVersionsCommand.js +0 -28
  48. package/dist-cjs/commands/ListSolutionsCommand.js +0 -28
  49. package/dist-cjs/commands/StopSolutionVersionCreationCommand.js +0 -38
  50. package/dist-cjs/commands/UpdateCampaignCommand.js +0 -33
  51. package/dist-cjs/commands/index.js +50 -0
  52. package/dist-cjs/endpoints.js +1 -2
  53. package/dist-cjs/index.js +4 -63
  54. package/dist-cjs/models/index.js +0 -1
  55. package/dist-cjs/models/models_0.js +0 -430
  56. package/dist-cjs/pagination/Interfaces.js +0 -1
  57. package/dist-cjs/pagination/ListBatchInferenceJobsPaginator.js +0 -11
  58. package/dist-cjs/pagination/ListCampaignsPaginator.js +0 -11
  59. package/dist-cjs/pagination/ListDatasetExportJobsPaginator.js +0 -11
  60. package/dist-cjs/pagination/ListDatasetGroupsPaginator.js +0 -11
  61. package/dist-cjs/pagination/ListDatasetImportJobsPaginator.js +0 -11
  62. package/dist-cjs/pagination/ListDatasetsPaginator.js +0 -11
  63. package/dist-cjs/pagination/ListEventTrackersPaginator.js +0 -11
  64. package/dist-cjs/pagination/ListFiltersPaginator.js +0 -11
  65. package/dist-cjs/pagination/ListRecipesPaginator.js +0 -11
  66. package/dist-cjs/pagination/ListSchemasPaginator.js +0 -11
  67. package/dist-cjs/pagination/ListSolutionVersionsPaginator.js +0 -11
  68. package/dist-cjs/pagination/ListSolutionsPaginator.js +0 -11
  69. package/dist-cjs/pagination/index.js +16 -0
  70. package/dist-cjs/protocols/Aws_json1_1.js +0 -6
  71. package/dist-cjs/runtimeConfig.browser.js +1 -6
  72. package/dist-cjs/runtimeConfig.js +2 -7
  73. package/dist-cjs/runtimeConfig.native.js +0 -4
  74. package/dist-cjs/runtimeConfig.shared.js +0 -4
  75. package/dist-es/Personalize.js +0 -1
  76. package/dist-es/PersonalizeClient.js +0 -1
  77. package/dist-es/commands/CreateBatchInferenceJobCommand.js +0 -1
  78. package/dist-es/commands/CreateCampaignCommand.js +0 -1
  79. package/dist-es/commands/CreateDatasetCommand.js +0 -1
  80. package/dist-es/commands/CreateDatasetExportJobCommand.js +0 -1
  81. package/dist-es/commands/CreateDatasetGroupCommand.js +0 -1
  82. package/dist-es/commands/CreateDatasetImportJobCommand.js +0 -1
  83. package/dist-es/commands/CreateEventTrackerCommand.js +0 -1
  84. package/dist-es/commands/CreateFilterCommand.js +0 -1
  85. package/dist-es/commands/CreateSchemaCommand.js +0 -1
  86. package/dist-es/commands/CreateSolutionCommand.js +0 -1
  87. package/dist-es/commands/CreateSolutionVersionCommand.js +0 -1
  88. package/dist-es/commands/DeleteCampaignCommand.js +0 -1
  89. package/dist-es/commands/DeleteDatasetCommand.js +0 -1
  90. package/dist-es/commands/DeleteDatasetGroupCommand.js +0 -1
  91. package/dist-es/commands/DeleteEventTrackerCommand.js +0 -1
  92. package/dist-es/commands/DeleteFilterCommand.js +0 -1
  93. package/dist-es/commands/DeleteSchemaCommand.js +0 -1
  94. package/dist-es/commands/DeleteSolutionCommand.js +0 -1
  95. package/dist-es/commands/DescribeAlgorithmCommand.js +0 -1
  96. package/dist-es/commands/DescribeBatchInferenceJobCommand.js +0 -1
  97. package/dist-es/commands/DescribeCampaignCommand.js +0 -1
  98. package/dist-es/commands/DescribeDatasetCommand.js +0 -1
  99. package/dist-es/commands/DescribeDatasetExportJobCommand.js +0 -1
  100. package/dist-es/commands/DescribeDatasetGroupCommand.js +0 -1
  101. package/dist-es/commands/DescribeDatasetImportJobCommand.js +0 -1
  102. package/dist-es/commands/DescribeEventTrackerCommand.js +0 -1
  103. package/dist-es/commands/DescribeFeatureTransformationCommand.js +0 -1
  104. package/dist-es/commands/DescribeFilterCommand.js +0 -1
  105. package/dist-es/commands/DescribeRecipeCommand.js +0 -1
  106. package/dist-es/commands/DescribeSchemaCommand.js +0 -1
  107. package/dist-es/commands/DescribeSolutionCommand.js +0 -1
  108. package/dist-es/commands/DescribeSolutionVersionCommand.js +0 -1
  109. package/dist-es/commands/GetSolutionMetricsCommand.js +0 -1
  110. package/dist-es/commands/ListBatchInferenceJobsCommand.js +0 -1
  111. package/dist-es/commands/ListCampaignsCommand.js +0 -1
  112. package/dist-es/commands/ListDatasetExportJobsCommand.js +0 -1
  113. package/dist-es/commands/ListDatasetGroupsCommand.js +0 -1
  114. package/dist-es/commands/ListDatasetImportJobsCommand.js +0 -1
  115. package/dist-es/commands/ListDatasetsCommand.js +0 -1
  116. package/dist-es/commands/ListEventTrackersCommand.js +0 -1
  117. package/dist-es/commands/ListFiltersCommand.js +0 -1
  118. package/dist-es/commands/ListRecipesCommand.js +0 -1
  119. package/dist-es/commands/ListSchemasCommand.js +0 -1
  120. package/dist-es/commands/ListSolutionVersionsCommand.js +0 -1
  121. package/dist-es/commands/ListSolutionsCommand.js +0 -1
  122. package/dist-es/commands/StopSolutionVersionCreationCommand.js +0 -1
  123. package/dist-es/commands/UpdateCampaignCommand.js +0 -1
  124. package/dist-es/commands/index.js +47 -0
  125. package/dist-es/endpoints.js +1 -2
  126. package/dist-es/index.js +4 -63
  127. package/dist-es/models/index.js +0 -1
  128. package/dist-es/models/models_0.js +0 -1
  129. package/dist-es/pagination/Interfaces.js +0 -1
  130. package/dist-es/pagination/ListBatchInferenceJobsPaginator.js +0 -1
  131. package/dist-es/pagination/ListCampaignsPaginator.js +0 -1
  132. package/dist-es/pagination/ListDatasetExportJobsPaginator.js +0 -1
  133. package/dist-es/pagination/ListDatasetGroupsPaginator.js +0 -1
  134. package/dist-es/pagination/ListDatasetImportJobsPaginator.js +0 -1
  135. package/dist-es/pagination/ListDatasetsPaginator.js +0 -1
  136. package/dist-es/pagination/ListEventTrackersPaginator.js +0 -1
  137. package/dist-es/pagination/ListFiltersPaginator.js +0 -1
  138. package/dist-es/pagination/ListRecipesPaginator.js +0 -1
  139. package/dist-es/pagination/ListSchemasPaginator.js +0 -1
  140. package/dist-es/pagination/ListSolutionVersionsPaginator.js +0 -1
  141. package/dist-es/pagination/ListSolutionsPaginator.js +0 -1
  142. package/dist-es/pagination/index.js +13 -0
  143. package/dist-es/protocols/Aws_json1_1.js +0 -1
  144. package/dist-es/runtimeConfig.browser.js +1 -2
  145. package/dist-es/runtimeConfig.js +2 -3
  146. package/dist-es/runtimeConfig.native.js +0 -1
  147. package/dist-es/runtimeConfig.shared.js +0 -1
  148. package/dist-types/commands/index.d.ts +47 -0
  149. package/dist-types/index.d.ts +4 -62
  150. package/dist-types/pagination/index.d.ts +13 -0
  151. package/dist-types/ts3.4/Personalize.d.ts +48 -728
  152. package/dist-types/ts3.4/PersonalizeClient.d.ts +24 -90
  153. package/dist-types/ts3.4/commands/CreateBatchInferenceJobCommand.d.ts +2 -21
  154. package/dist-types/ts3.4/commands/CreateCampaignCommand.d.ts +2 -90
  155. package/dist-types/ts3.4/commands/CreateDatasetCommand.d.ts +2 -70
  156. package/dist-types/ts3.4/commands/CreateDatasetExportJobCommand.d.ts +2 -41
  157. package/dist-types/ts3.4/commands/CreateDatasetGroupCommand.d.ts +2 -95
  158. package/dist-types/ts3.4/commands/CreateDatasetImportJobCommand.d.ts +2 -61
  159. package/dist-types/ts3.4/commands/CreateEventTrackerCommand.d.ts +2 -65
  160. package/dist-types/ts3.4/commands/CreateFilterCommand.d.ts +2 -20
  161. package/dist-types/ts3.4/commands/CreateSchemaCommand.d.ts +2 -45
  162. package/dist-types/ts3.4/commands/CreateSolutionCommand.d.ts +2 -92
  163. package/dist-types/ts3.4/commands/CreateSolutionVersionCommand.d.ts +2 -87
  164. package/dist-types/ts3.4/commands/DeleteCampaignCommand.d.ts +2 -25
  165. package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +2 -22
  166. package/dist-types/ts3.4/commands/DeleteDatasetGroupCommand.d.ts +2 -32
  167. package/dist-types/ts3.4/commands/DeleteEventTrackerCommand.d.ts +2 -22
  168. package/dist-types/ts3.4/commands/DeleteFilterCommand.d.ts +2 -20
  169. package/dist-types/ts3.4/commands/DeleteSchemaCommand.d.ts +2 -22
  170. package/dist-types/ts3.4/commands/DeleteSolutionCommand.d.ts +2 -26
  171. package/dist-types/ts3.4/commands/DescribeAlgorithmCommand.d.ts +2 -20
  172. package/dist-types/ts3.4/commands/DescribeBatchInferenceJobCommand.d.ts +2 -22
  173. package/dist-types/ts3.4/commands/DescribeCampaignCommand.d.ts +2 -32
  174. package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +2 -20
  175. package/dist-types/ts3.4/commands/DescribeDatasetExportJobCommand.d.ts +2 -21
  176. package/dist-types/ts3.4/commands/DescribeDatasetGroupCommand.d.ts +2 -20
  177. package/dist-types/ts3.4/commands/DescribeDatasetImportJobCommand.d.ts +2 -21
  178. package/dist-types/ts3.4/commands/DescribeEventTrackerCommand.d.ts +2 -22
  179. package/dist-types/ts3.4/commands/DescribeFeatureTransformationCommand.d.ts +2 -20
  180. package/dist-types/ts3.4/commands/DescribeFilterCommand.d.ts +2 -20
  181. package/dist-types/ts3.4/commands/DescribeRecipeCommand.d.ts +2 -38
  182. package/dist-types/ts3.4/commands/DescribeSchemaCommand.d.ts +2 -21
  183. package/dist-types/ts3.4/commands/DescribeSolutionCommand.d.ts +2 -21
  184. package/dist-types/ts3.4/commands/DescribeSolutionVersionCommand.d.ts +2 -20
  185. package/dist-types/ts3.4/commands/GetSolutionMetricsCommand.d.ts +2 -20
  186. package/dist-types/ts3.4/commands/ListBatchInferenceJobsCommand.d.ts +2 -21
  187. package/dist-types/ts3.4/commands/ListCampaignsCommand.d.ts +2 -23
  188. package/dist-types/ts3.4/commands/ListDatasetExportJobsCommand.d.ts +2 -24
  189. package/dist-types/ts3.4/commands/ListDatasetGroupsCommand.d.ts +2 -22
  190. package/dist-types/ts3.4/commands/ListDatasetImportJobsCommand.d.ts +2 -24
  191. package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +2 -22
  192. package/dist-types/ts3.4/commands/ListEventTrackersCommand.d.ts +2 -23
  193. package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +2 -20
  194. package/dist-types/ts3.4/commands/ListRecipesCommand.d.ts +2 -21
  195. package/dist-types/ts3.4/commands/ListSchemasCommand.d.ts +2 -22
  196. package/dist-types/ts3.4/commands/ListSolutionVersionsCommand.d.ts +2 -23
  197. package/dist-types/ts3.4/commands/ListSolutionsCommand.d.ts +2 -23
  198. package/dist-types/ts3.4/commands/StopSolutionVersionCreationCommand.d.ts +2 -33
  199. package/dist-types/ts3.4/commands/UpdateCampaignCommand.d.ts +2 -28
  200. package/dist-types/ts3.4/commands/index.d.ts +47 -0
  201. package/dist-types/ts3.4/index.d.ts +4 -62
  202. package/dist-types/ts3.4/models/models_0.d.ts +620 -2318
  203. package/dist-types/ts3.4/pagination/index.d.ts +13 -0
  204. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  205. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  206. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  207. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  208. package/package.json +33 -30
  209. package/dist-cjs/Personalize.js.map +0 -1
  210. package/dist-cjs/PersonalizeClient.js.map +0 -1
  211. package/dist-cjs/commands/CreateBatchInferenceJobCommand.js.map +0 -1
  212. package/dist-cjs/commands/CreateCampaignCommand.js.map +0 -1
  213. package/dist-cjs/commands/CreateDatasetCommand.js.map +0 -1
  214. package/dist-cjs/commands/CreateDatasetExportJobCommand.js.map +0 -1
  215. package/dist-cjs/commands/CreateDatasetGroupCommand.js.map +0 -1
  216. package/dist-cjs/commands/CreateDatasetImportJobCommand.js.map +0 -1
  217. package/dist-cjs/commands/CreateEventTrackerCommand.js.map +0 -1
  218. package/dist-cjs/commands/CreateFilterCommand.js.map +0 -1
  219. package/dist-cjs/commands/CreateSchemaCommand.js.map +0 -1
  220. package/dist-cjs/commands/CreateSolutionCommand.js.map +0 -1
  221. package/dist-cjs/commands/CreateSolutionVersionCommand.js.map +0 -1
  222. package/dist-cjs/commands/DeleteCampaignCommand.js.map +0 -1
  223. package/dist-cjs/commands/DeleteDatasetCommand.js.map +0 -1
  224. package/dist-cjs/commands/DeleteDatasetGroupCommand.js.map +0 -1
  225. package/dist-cjs/commands/DeleteEventTrackerCommand.js.map +0 -1
  226. package/dist-cjs/commands/DeleteFilterCommand.js.map +0 -1
  227. package/dist-cjs/commands/DeleteSchemaCommand.js.map +0 -1
  228. package/dist-cjs/commands/DeleteSolutionCommand.js.map +0 -1
  229. package/dist-cjs/commands/DescribeAlgorithmCommand.js.map +0 -1
  230. package/dist-cjs/commands/DescribeBatchInferenceJobCommand.js.map +0 -1
  231. package/dist-cjs/commands/DescribeCampaignCommand.js.map +0 -1
  232. package/dist-cjs/commands/DescribeDatasetCommand.js.map +0 -1
  233. package/dist-cjs/commands/DescribeDatasetExportJobCommand.js.map +0 -1
  234. package/dist-cjs/commands/DescribeDatasetGroupCommand.js.map +0 -1
  235. package/dist-cjs/commands/DescribeDatasetImportJobCommand.js.map +0 -1
  236. package/dist-cjs/commands/DescribeEventTrackerCommand.js.map +0 -1
  237. package/dist-cjs/commands/DescribeFeatureTransformationCommand.js.map +0 -1
  238. package/dist-cjs/commands/DescribeFilterCommand.js.map +0 -1
  239. package/dist-cjs/commands/DescribeRecipeCommand.js.map +0 -1
  240. package/dist-cjs/commands/DescribeSchemaCommand.js.map +0 -1
  241. package/dist-cjs/commands/DescribeSolutionCommand.js.map +0 -1
  242. package/dist-cjs/commands/DescribeSolutionVersionCommand.js.map +0 -1
  243. package/dist-cjs/commands/GetSolutionMetricsCommand.js.map +0 -1
  244. package/dist-cjs/commands/ListBatchInferenceJobsCommand.js.map +0 -1
  245. package/dist-cjs/commands/ListCampaignsCommand.js.map +0 -1
  246. package/dist-cjs/commands/ListDatasetExportJobsCommand.js.map +0 -1
  247. package/dist-cjs/commands/ListDatasetGroupsCommand.js.map +0 -1
  248. package/dist-cjs/commands/ListDatasetImportJobsCommand.js.map +0 -1
  249. package/dist-cjs/commands/ListDatasetsCommand.js.map +0 -1
  250. package/dist-cjs/commands/ListEventTrackersCommand.js.map +0 -1
  251. package/dist-cjs/commands/ListFiltersCommand.js.map +0 -1
  252. package/dist-cjs/commands/ListRecipesCommand.js.map +0 -1
  253. package/dist-cjs/commands/ListSchemasCommand.js.map +0 -1
  254. package/dist-cjs/commands/ListSolutionVersionsCommand.js.map +0 -1
  255. package/dist-cjs/commands/ListSolutionsCommand.js.map +0 -1
  256. package/dist-cjs/commands/StopSolutionVersionCreationCommand.js.map +0 -1
  257. package/dist-cjs/commands/UpdateCampaignCommand.js.map +0 -1
  258. package/dist-cjs/endpoints.js.map +0 -1
  259. package/dist-cjs/index.js.map +0 -1
  260. package/dist-cjs/models/index.js.map +0 -1
  261. package/dist-cjs/models/models_0.js.map +0 -1
  262. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  263. package/dist-cjs/pagination/ListBatchInferenceJobsPaginator.js.map +0 -1
  264. package/dist-cjs/pagination/ListCampaignsPaginator.js.map +0 -1
  265. package/dist-cjs/pagination/ListDatasetExportJobsPaginator.js.map +0 -1
  266. package/dist-cjs/pagination/ListDatasetGroupsPaginator.js.map +0 -1
  267. package/dist-cjs/pagination/ListDatasetImportJobsPaginator.js.map +0 -1
  268. package/dist-cjs/pagination/ListDatasetsPaginator.js.map +0 -1
  269. package/dist-cjs/pagination/ListEventTrackersPaginator.js.map +0 -1
  270. package/dist-cjs/pagination/ListFiltersPaginator.js.map +0 -1
  271. package/dist-cjs/pagination/ListRecipesPaginator.js.map +0 -1
  272. package/dist-cjs/pagination/ListSchemasPaginator.js.map +0 -1
  273. package/dist-cjs/pagination/ListSolutionVersionsPaginator.js.map +0 -1
  274. package/dist-cjs/pagination/ListSolutionsPaginator.js.map +0 -1
  275. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  276. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  277. package/dist-cjs/runtimeConfig.js.map +0 -1
  278. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  279. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  280. package/dist-es/Personalize.js.map +0 -1
  281. package/dist-es/PersonalizeClient.js.map +0 -1
  282. package/dist-es/commands/CreateBatchInferenceJobCommand.js.map +0 -1
  283. package/dist-es/commands/CreateCampaignCommand.js.map +0 -1
  284. package/dist-es/commands/CreateDatasetCommand.js.map +0 -1
  285. package/dist-es/commands/CreateDatasetExportJobCommand.js.map +0 -1
  286. package/dist-es/commands/CreateDatasetGroupCommand.js.map +0 -1
  287. package/dist-es/commands/CreateDatasetImportJobCommand.js.map +0 -1
  288. package/dist-es/commands/CreateEventTrackerCommand.js.map +0 -1
  289. package/dist-es/commands/CreateFilterCommand.js.map +0 -1
  290. package/dist-es/commands/CreateSchemaCommand.js.map +0 -1
  291. package/dist-es/commands/CreateSolutionCommand.js.map +0 -1
  292. package/dist-es/commands/CreateSolutionVersionCommand.js.map +0 -1
  293. package/dist-es/commands/DeleteCampaignCommand.js.map +0 -1
  294. package/dist-es/commands/DeleteDatasetCommand.js.map +0 -1
  295. package/dist-es/commands/DeleteDatasetGroupCommand.js.map +0 -1
  296. package/dist-es/commands/DeleteEventTrackerCommand.js.map +0 -1
  297. package/dist-es/commands/DeleteFilterCommand.js.map +0 -1
  298. package/dist-es/commands/DeleteSchemaCommand.js.map +0 -1
  299. package/dist-es/commands/DeleteSolutionCommand.js.map +0 -1
  300. package/dist-es/commands/DescribeAlgorithmCommand.js.map +0 -1
  301. package/dist-es/commands/DescribeBatchInferenceJobCommand.js.map +0 -1
  302. package/dist-es/commands/DescribeCampaignCommand.js.map +0 -1
  303. package/dist-es/commands/DescribeDatasetCommand.js.map +0 -1
  304. package/dist-es/commands/DescribeDatasetExportJobCommand.js.map +0 -1
  305. package/dist-es/commands/DescribeDatasetGroupCommand.js.map +0 -1
  306. package/dist-es/commands/DescribeDatasetImportJobCommand.js.map +0 -1
  307. package/dist-es/commands/DescribeEventTrackerCommand.js.map +0 -1
  308. package/dist-es/commands/DescribeFeatureTransformationCommand.js.map +0 -1
  309. package/dist-es/commands/DescribeFilterCommand.js.map +0 -1
  310. package/dist-es/commands/DescribeRecipeCommand.js.map +0 -1
  311. package/dist-es/commands/DescribeSchemaCommand.js.map +0 -1
  312. package/dist-es/commands/DescribeSolutionCommand.js.map +0 -1
  313. package/dist-es/commands/DescribeSolutionVersionCommand.js.map +0 -1
  314. package/dist-es/commands/GetSolutionMetricsCommand.js.map +0 -1
  315. package/dist-es/commands/ListBatchInferenceJobsCommand.js.map +0 -1
  316. package/dist-es/commands/ListCampaignsCommand.js.map +0 -1
  317. package/dist-es/commands/ListDatasetExportJobsCommand.js.map +0 -1
  318. package/dist-es/commands/ListDatasetGroupsCommand.js.map +0 -1
  319. package/dist-es/commands/ListDatasetImportJobsCommand.js.map +0 -1
  320. package/dist-es/commands/ListDatasetsCommand.js.map +0 -1
  321. package/dist-es/commands/ListEventTrackersCommand.js.map +0 -1
  322. package/dist-es/commands/ListFiltersCommand.js.map +0 -1
  323. package/dist-es/commands/ListRecipesCommand.js.map +0 -1
  324. package/dist-es/commands/ListSchemasCommand.js.map +0 -1
  325. package/dist-es/commands/ListSolutionVersionsCommand.js.map +0 -1
  326. package/dist-es/commands/ListSolutionsCommand.js.map +0 -1
  327. package/dist-es/commands/StopSolutionVersionCreationCommand.js.map +0 -1
  328. package/dist-es/commands/UpdateCampaignCommand.js.map +0 -1
  329. package/dist-es/endpoints.js.map +0 -1
  330. package/dist-es/index.js.map +0 -1
  331. package/dist-es/models/index.js.map +0 -1
  332. package/dist-es/models/models_0.js.map +0 -1
  333. package/dist-es/pagination/Interfaces.js.map +0 -1
  334. package/dist-es/pagination/ListBatchInferenceJobsPaginator.js.map +0 -1
  335. package/dist-es/pagination/ListCampaignsPaginator.js.map +0 -1
  336. package/dist-es/pagination/ListDatasetExportJobsPaginator.js.map +0 -1
  337. package/dist-es/pagination/ListDatasetGroupsPaginator.js.map +0 -1
  338. package/dist-es/pagination/ListDatasetImportJobsPaginator.js.map +0 -1
  339. package/dist-es/pagination/ListDatasetsPaginator.js.map +0 -1
  340. package/dist-es/pagination/ListEventTrackersPaginator.js.map +0 -1
  341. package/dist-es/pagination/ListFiltersPaginator.js.map +0 -1
  342. package/dist-es/pagination/ListRecipesPaginator.js.map +0 -1
  343. package/dist-es/pagination/ListSchemasPaginator.js.map +0 -1
  344. package/dist-es/pagination/ListSolutionVersionsPaginator.js.map +0 -1
  345. package/dist-es/pagination/ListSolutionsPaginator.js.map +0 -1
  346. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  347. package/dist-es/runtimeConfig.browser.js.map +0 -1
  348. package/dist-es/runtimeConfig.js.map +0 -1
  349. package/dist-es/runtimeConfig.native.js.map +0 -1
  350. package/dist-es/runtimeConfig.shared.js.map +0 -1
  351. package/jest.config.js +0 -4
  352. package/src/Personalize.ts +0 -2286
  353. package/src/PersonalizeClient.ts +0 -426
  354. package/src/commands/CreateBatchInferenceJobCommand.ts +0 -96
  355. package/src/commands/CreateCampaignCommand.ts +0 -165
  356. package/src/commands/CreateDatasetCommand.ts +0 -145
  357. package/src/commands/CreateDatasetExportJobCommand.ts +0 -116
  358. package/src/commands/CreateDatasetGroupCommand.ts +0 -170
  359. package/src/commands/CreateDatasetImportJobCommand.ts +0 -136
  360. package/src/commands/CreateEventTrackerCommand.ts +0 -140
  361. package/src/commands/CreateFilterCommand.ts +0 -95
  362. package/src/commands/CreateSchemaCommand.ts +0 -120
  363. package/src/commands/CreateSolutionCommand.ts +0 -167
  364. package/src/commands/CreateSolutionVersionCommand.ts +0 -162
  365. package/src/commands/DeleteCampaignCommand.ts +0 -100
  366. package/src/commands/DeleteDatasetCommand.ts +0 -97
  367. package/src/commands/DeleteDatasetGroupCommand.ts +0 -107
  368. package/src/commands/DeleteEventTrackerCommand.ts +0 -97
  369. package/src/commands/DeleteFilterCommand.ts +0 -95
  370. package/src/commands/DeleteSchemaCommand.ts +0 -97
  371. package/src/commands/DeleteSolutionCommand.ts +0 -101
  372. package/src/commands/DescribeAlgorithmCommand.ts +0 -95
  373. package/src/commands/DescribeBatchInferenceJobCommand.ts +0 -100
  374. package/src/commands/DescribeCampaignCommand.ts +0 -107
  375. package/src/commands/DescribeDatasetCommand.ts +0 -95
  376. package/src/commands/DescribeDatasetExportJobCommand.ts +0 -96
  377. package/src/commands/DescribeDatasetGroupCommand.ts +0 -95
  378. package/src/commands/DescribeDatasetImportJobCommand.ts +0 -96
  379. package/src/commands/DescribeEventTrackerCommand.ts +0 -97
  380. package/src/commands/DescribeFeatureTransformationCommand.ts +0 -100
  381. package/src/commands/DescribeFilterCommand.ts +0 -95
  382. package/src/commands/DescribeRecipeCommand.ts +0 -113
  383. package/src/commands/DescribeSchemaCommand.ts +0 -96
  384. package/src/commands/DescribeSolutionCommand.ts +0 -96
  385. package/src/commands/DescribeSolutionVersionCommand.ts +0 -95
  386. package/src/commands/GetSolutionMetricsCommand.ts +0 -95
  387. package/src/commands/ListBatchInferenceJobsCommand.ts +0 -96
  388. package/src/commands/ListCampaignsCommand.ts +0 -98
  389. package/src/commands/ListDatasetExportJobsCommand.ts +0 -99
  390. package/src/commands/ListDatasetGroupsCommand.ts +0 -97
  391. package/src/commands/ListDatasetImportJobsCommand.ts +0 -99
  392. package/src/commands/ListDatasetsCommand.ts +0 -97
  393. package/src/commands/ListEventTrackersCommand.ts +0 -98
  394. package/src/commands/ListFiltersCommand.ts +0 -95
  395. package/src/commands/ListRecipesCommand.ts +0 -96
  396. package/src/commands/ListSchemasCommand.ts +0 -97
  397. package/src/commands/ListSolutionVersionsCommand.ts +0 -98
  398. package/src/commands/ListSolutionsCommand.ts +0 -98
  399. package/src/commands/StopSolutionVersionCreationCommand.ts +0 -111
  400. package/src/commands/UpdateCampaignCommand.ts +0 -103
  401. package/src/endpoints.ts +0 -57
  402. package/src/index.ts +0 -63
  403. package/src/models/index.ts +0 -1
  404. package/src/models/models_0.ts +0 -4353
  405. package/src/pagination/Interfaces.ts +0 -8
  406. package/src/pagination/ListBatchInferenceJobsPaginator.ts +0 -59
  407. package/src/pagination/ListCampaignsPaginator.ts +0 -59
  408. package/src/pagination/ListDatasetExportJobsPaginator.ts +0 -59
  409. package/src/pagination/ListDatasetGroupsPaginator.ts +0 -59
  410. package/src/pagination/ListDatasetImportJobsPaginator.ts +0 -59
  411. package/src/pagination/ListDatasetsPaginator.ts +0 -59
  412. package/src/pagination/ListEventTrackersPaginator.ts +0 -59
  413. package/src/pagination/ListFiltersPaginator.ts +0 -55
  414. package/src/pagination/ListRecipesPaginator.ts +0 -55
  415. package/src/pagination/ListSchemasPaginator.ts +0 -55
  416. package/src/pagination/ListSolutionVersionsPaginator.ts +0 -59
  417. package/src/pagination/ListSolutionsPaginator.ts +0 -59
  418. package/src/protocols/Aws_json1_1.ts +0 -6542
  419. package/src/runtimeConfig.browser.ts +0 -41
  420. package/src/runtimeConfig.native.ts +0 -17
  421. package/src/runtimeConfig.shared.ts +0 -17
  422. package/src/runtimeConfig.ts +0 -46
  423. package/tsconfig.es.json +0 -10
  424. package/tsconfig.json +0 -33
  425. package/tsconfig.types.json +0 -9
@@ -1,426 +0,0 @@
1
- import {
2
- EndpointsInputConfig,
3
- EndpointsResolvedConfig,
4
- RegionInputConfig,
5
- RegionResolvedConfig,
6
- resolveEndpointsConfig,
7
- resolveRegionConfig,
8
- } from "@aws-sdk/config-resolver";
9
- import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
10
- import {
11
- getHostHeaderPlugin,
12
- HostHeaderInputConfig,
13
- HostHeaderResolvedConfig,
14
- resolveHostHeaderConfig,
15
- } from "@aws-sdk/middleware-host-header";
16
- import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
17
- import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
18
- import {
19
- AwsAuthInputConfig,
20
- AwsAuthResolvedConfig,
21
- getAwsAuthPlugin,
22
- resolveAwsAuthConfig,
23
- } from "@aws-sdk/middleware-signing";
24
- import {
25
- getUserAgentPlugin,
26
- resolveUserAgentConfig,
27
- UserAgentInputConfig,
28
- UserAgentResolvedConfig,
29
- } from "@aws-sdk/middleware-user-agent";
30
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
31
- import {
32
- Client as __Client,
33
- SmithyConfiguration as __SmithyConfiguration,
34
- SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
35
- } from "@aws-sdk/smithy-client";
36
- import {
37
- Credentials as __Credentials,
38
- Decoder as __Decoder,
39
- Encoder as __Encoder,
40
- Hash as __Hash,
41
- HashConstructor as __HashConstructor,
42
- HttpHandlerOptions as __HttpHandlerOptions,
43
- Logger as __Logger,
44
- Provider as __Provider,
45
- Provider,
46
- RegionInfoProvider,
47
- StreamCollector as __StreamCollector,
48
- UrlParser as __UrlParser,
49
- UserAgent as __UserAgent,
50
- } from "@aws-sdk/types";
51
-
52
- import {
53
- CreateBatchInferenceJobCommandInput,
54
- CreateBatchInferenceJobCommandOutput,
55
- } from "./commands/CreateBatchInferenceJobCommand";
56
- import { CreateCampaignCommandInput, CreateCampaignCommandOutput } from "./commands/CreateCampaignCommand";
57
- import { CreateDatasetCommandInput, CreateDatasetCommandOutput } from "./commands/CreateDatasetCommand";
58
- import {
59
- CreateDatasetExportJobCommandInput,
60
- CreateDatasetExportJobCommandOutput,
61
- } from "./commands/CreateDatasetExportJobCommand";
62
- import { CreateDatasetGroupCommandInput, CreateDatasetGroupCommandOutput } from "./commands/CreateDatasetGroupCommand";
63
- import {
64
- CreateDatasetImportJobCommandInput,
65
- CreateDatasetImportJobCommandOutput,
66
- } from "./commands/CreateDatasetImportJobCommand";
67
- import { CreateEventTrackerCommandInput, CreateEventTrackerCommandOutput } from "./commands/CreateEventTrackerCommand";
68
- import { CreateFilterCommandInput, CreateFilterCommandOutput } from "./commands/CreateFilterCommand";
69
- import { CreateSchemaCommandInput, CreateSchemaCommandOutput } from "./commands/CreateSchemaCommand";
70
- import { CreateSolutionCommandInput, CreateSolutionCommandOutput } from "./commands/CreateSolutionCommand";
71
- import {
72
- CreateSolutionVersionCommandInput,
73
- CreateSolutionVersionCommandOutput,
74
- } from "./commands/CreateSolutionVersionCommand";
75
- import { DeleteCampaignCommandInput, DeleteCampaignCommandOutput } from "./commands/DeleteCampaignCommand";
76
- import { DeleteDatasetCommandInput, DeleteDatasetCommandOutput } from "./commands/DeleteDatasetCommand";
77
- import { DeleteDatasetGroupCommandInput, DeleteDatasetGroupCommandOutput } from "./commands/DeleteDatasetGroupCommand";
78
- import { DeleteEventTrackerCommandInput, DeleteEventTrackerCommandOutput } from "./commands/DeleteEventTrackerCommand";
79
- import { DeleteFilterCommandInput, DeleteFilterCommandOutput } from "./commands/DeleteFilterCommand";
80
- import { DeleteSchemaCommandInput, DeleteSchemaCommandOutput } from "./commands/DeleteSchemaCommand";
81
- import { DeleteSolutionCommandInput, DeleteSolutionCommandOutput } from "./commands/DeleteSolutionCommand";
82
- import { DescribeAlgorithmCommandInput, DescribeAlgorithmCommandOutput } from "./commands/DescribeAlgorithmCommand";
83
- import {
84
- DescribeBatchInferenceJobCommandInput,
85
- DescribeBatchInferenceJobCommandOutput,
86
- } from "./commands/DescribeBatchInferenceJobCommand";
87
- import { DescribeCampaignCommandInput, DescribeCampaignCommandOutput } from "./commands/DescribeCampaignCommand";
88
- import { DescribeDatasetCommandInput, DescribeDatasetCommandOutput } from "./commands/DescribeDatasetCommand";
89
- import {
90
- DescribeDatasetExportJobCommandInput,
91
- DescribeDatasetExportJobCommandOutput,
92
- } from "./commands/DescribeDatasetExportJobCommand";
93
- import {
94
- DescribeDatasetGroupCommandInput,
95
- DescribeDatasetGroupCommandOutput,
96
- } from "./commands/DescribeDatasetGroupCommand";
97
- import {
98
- DescribeDatasetImportJobCommandInput,
99
- DescribeDatasetImportJobCommandOutput,
100
- } from "./commands/DescribeDatasetImportJobCommand";
101
- import {
102
- DescribeEventTrackerCommandInput,
103
- DescribeEventTrackerCommandOutput,
104
- } from "./commands/DescribeEventTrackerCommand";
105
- import {
106
- DescribeFeatureTransformationCommandInput,
107
- DescribeFeatureTransformationCommandOutput,
108
- } from "./commands/DescribeFeatureTransformationCommand";
109
- import { DescribeFilterCommandInput, DescribeFilterCommandOutput } from "./commands/DescribeFilterCommand";
110
- import { DescribeRecipeCommandInput, DescribeRecipeCommandOutput } from "./commands/DescribeRecipeCommand";
111
- import { DescribeSchemaCommandInput, DescribeSchemaCommandOutput } from "./commands/DescribeSchemaCommand";
112
- import { DescribeSolutionCommandInput, DescribeSolutionCommandOutput } from "./commands/DescribeSolutionCommand";
113
- import {
114
- DescribeSolutionVersionCommandInput,
115
- DescribeSolutionVersionCommandOutput,
116
- } from "./commands/DescribeSolutionVersionCommand";
117
- import { GetSolutionMetricsCommandInput, GetSolutionMetricsCommandOutput } from "./commands/GetSolutionMetricsCommand";
118
- import {
119
- ListBatchInferenceJobsCommandInput,
120
- ListBatchInferenceJobsCommandOutput,
121
- } from "./commands/ListBatchInferenceJobsCommand";
122
- import { ListCampaignsCommandInput, ListCampaignsCommandOutput } from "./commands/ListCampaignsCommand";
123
- import {
124
- ListDatasetExportJobsCommandInput,
125
- ListDatasetExportJobsCommandOutput,
126
- } from "./commands/ListDatasetExportJobsCommand";
127
- import { ListDatasetGroupsCommandInput, ListDatasetGroupsCommandOutput } from "./commands/ListDatasetGroupsCommand";
128
- import {
129
- ListDatasetImportJobsCommandInput,
130
- ListDatasetImportJobsCommandOutput,
131
- } from "./commands/ListDatasetImportJobsCommand";
132
- import { ListDatasetsCommandInput, ListDatasetsCommandOutput } from "./commands/ListDatasetsCommand";
133
- import { ListEventTrackersCommandInput, ListEventTrackersCommandOutput } from "./commands/ListEventTrackersCommand";
134
- import { ListFiltersCommandInput, ListFiltersCommandOutput } from "./commands/ListFiltersCommand";
135
- import { ListRecipesCommandInput, ListRecipesCommandOutput } from "./commands/ListRecipesCommand";
136
- import { ListSchemasCommandInput, ListSchemasCommandOutput } from "./commands/ListSchemasCommand";
137
- import { ListSolutionsCommandInput, ListSolutionsCommandOutput } from "./commands/ListSolutionsCommand";
138
- import {
139
- ListSolutionVersionsCommandInput,
140
- ListSolutionVersionsCommandOutput,
141
- } from "./commands/ListSolutionVersionsCommand";
142
- import {
143
- StopSolutionVersionCreationCommandInput,
144
- StopSolutionVersionCreationCommandOutput,
145
- } from "./commands/StopSolutionVersionCreationCommand";
146
- import { UpdateCampaignCommandInput, UpdateCampaignCommandOutput } from "./commands/UpdateCampaignCommand";
147
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
148
-
149
- export type ServiceInputTypes =
150
- | CreateBatchInferenceJobCommandInput
151
- | CreateCampaignCommandInput
152
- | CreateDatasetCommandInput
153
- | CreateDatasetExportJobCommandInput
154
- | CreateDatasetGroupCommandInput
155
- | CreateDatasetImportJobCommandInput
156
- | CreateEventTrackerCommandInput
157
- | CreateFilterCommandInput
158
- | CreateSchemaCommandInput
159
- | CreateSolutionCommandInput
160
- | CreateSolutionVersionCommandInput
161
- | DeleteCampaignCommandInput
162
- | DeleteDatasetCommandInput
163
- | DeleteDatasetGroupCommandInput
164
- | DeleteEventTrackerCommandInput
165
- | DeleteFilterCommandInput
166
- | DeleteSchemaCommandInput
167
- | DeleteSolutionCommandInput
168
- | DescribeAlgorithmCommandInput
169
- | DescribeBatchInferenceJobCommandInput
170
- | DescribeCampaignCommandInput
171
- | DescribeDatasetCommandInput
172
- | DescribeDatasetExportJobCommandInput
173
- | DescribeDatasetGroupCommandInput
174
- | DescribeDatasetImportJobCommandInput
175
- | DescribeEventTrackerCommandInput
176
- | DescribeFeatureTransformationCommandInput
177
- | DescribeFilterCommandInput
178
- | DescribeRecipeCommandInput
179
- | DescribeSchemaCommandInput
180
- | DescribeSolutionCommandInput
181
- | DescribeSolutionVersionCommandInput
182
- | GetSolutionMetricsCommandInput
183
- | ListBatchInferenceJobsCommandInput
184
- | ListCampaignsCommandInput
185
- | ListDatasetExportJobsCommandInput
186
- | ListDatasetGroupsCommandInput
187
- | ListDatasetImportJobsCommandInput
188
- | ListDatasetsCommandInput
189
- | ListEventTrackersCommandInput
190
- | ListFiltersCommandInput
191
- | ListRecipesCommandInput
192
- | ListSchemasCommandInput
193
- | ListSolutionVersionsCommandInput
194
- | ListSolutionsCommandInput
195
- | StopSolutionVersionCreationCommandInput
196
- | UpdateCampaignCommandInput;
197
-
198
- export type ServiceOutputTypes =
199
- | CreateBatchInferenceJobCommandOutput
200
- | CreateCampaignCommandOutput
201
- | CreateDatasetCommandOutput
202
- | CreateDatasetExportJobCommandOutput
203
- | CreateDatasetGroupCommandOutput
204
- | CreateDatasetImportJobCommandOutput
205
- | CreateEventTrackerCommandOutput
206
- | CreateFilterCommandOutput
207
- | CreateSchemaCommandOutput
208
- | CreateSolutionCommandOutput
209
- | CreateSolutionVersionCommandOutput
210
- | DeleteCampaignCommandOutput
211
- | DeleteDatasetCommandOutput
212
- | DeleteDatasetGroupCommandOutput
213
- | DeleteEventTrackerCommandOutput
214
- | DeleteFilterCommandOutput
215
- | DeleteSchemaCommandOutput
216
- | DeleteSolutionCommandOutput
217
- | DescribeAlgorithmCommandOutput
218
- | DescribeBatchInferenceJobCommandOutput
219
- | DescribeCampaignCommandOutput
220
- | DescribeDatasetCommandOutput
221
- | DescribeDatasetExportJobCommandOutput
222
- | DescribeDatasetGroupCommandOutput
223
- | DescribeDatasetImportJobCommandOutput
224
- | DescribeEventTrackerCommandOutput
225
- | DescribeFeatureTransformationCommandOutput
226
- | DescribeFilterCommandOutput
227
- | DescribeRecipeCommandOutput
228
- | DescribeSchemaCommandOutput
229
- | DescribeSolutionCommandOutput
230
- | DescribeSolutionVersionCommandOutput
231
- | GetSolutionMetricsCommandOutput
232
- | ListBatchInferenceJobsCommandOutput
233
- | ListCampaignsCommandOutput
234
- | ListDatasetExportJobsCommandOutput
235
- | ListDatasetGroupsCommandOutput
236
- | ListDatasetImportJobsCommandOutput
237
- | ListDatasetsCommandOutput
238
- | ListEventTrackersCommandOutput
239
- | ListFiltersCommandOutput
240
- | ListRecipesCommandOutput
241
- | ListSchemasCommandOutput
242
- | ListSolutionVersionsCommandOutput
243
- | ListSolutionsCommandOutput
244
- | StopSolutionVersionCreationCommandOutput
245
- | UpdateCampaignCommandOutput;
246
-
247
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
248
- /**
249
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
250
- */
251
- requestHandler?: __HttpHandler;
252
-
253
- /**
254
- * A constructor for a class implementing the {@link __Hash} interface
255
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
256
- * @internal
257
- */
258
- sha256?: __HashConstructor;
259
-
260
- /**
261
- * The function that will be used to convert strings into HTTP endpoints.
262
- * @internal
263
- */
264
- urlParser?: __UrlParser;
265
-
266
- /**
267
- * A function that can calculate the length of a request body.
268
- * @internal
269
- */
270
- bodyLengthChecker?: (body: any) => number | undefined;
271
-
272
- /**
273
- * A function that converts a stream into an array of bytes.
274
- * @internal
275
- */
276
- streamCollector?: __StreamCollector;
277
-
278
- /**
279
- * The function that will be used to convert a base64-encoded string to a byte array.
280
- * @internal
281
- */
282
- base64Decoder?: __Decoder;
283
-
284
- /**
285
- * The function that will be used to convert binary data to a base64-encoded string.
286
- * @internal
287
- */
288
- base64Encoder?: __Encoder;
289
-
290
- /**
291
- * The function that will be used to convert a UTF8-encoded string to a byte array.
292
- * @internal
293
- */
294
- utf8Decoder?: __Decoder;
295
-
296
- /**
297
- * The function that will be used to convert binary data to a UTF-8 encoded string.
298
- * @internal
299
- */
300
- utf8Encoder?: __Encoder;
301
-
302
- /**
303
- * The runtime environment.
304
- * @internal
305
- */
306
- runtime?: string;
307
-
308
- /**
309
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
310
- * trait of an operation.
311
- */
312
- disableHostPrefix?: boolean;
313
-
314
- /**
315
- * Value for how many times a request will be made at most in case of retry.
316
- */
317
- maxAttempts?: number | __Provider<number>;
318
-
319
- /**
320
- * Specifies which retry algorithm to use.
321
- */
322
- retryMode?: string | __Provider<string>;
323
-
324
- /**
325
- * Optional logger for logging debug/info/warn/error.
326
- */
327
- logger?: __Logger;
328
-
329
- /**
330
- * Unique service identifier.
331
- * @internal
332
- */
333
- serviceId?: string;
334
-
335
- /**
336
- * The AWS region to which this client will send requests
337
- */
338
- region?: string | __Provider<string>;
339
-
340
- /**
341
- * Default credentials provider; Not available in browser runtime.
342
- * @internal
343
- */
344
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
345
-
346
- /**
347
- * Fetch related hostname, signing name or signing region with given region.
348
- * @internal
349
- */
350
- regionInfoProvider?: RegionInfoProvider;
351
-
352
- /**
353
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
354
- * @internal
355
- */
356
- defaultUserAgentProvider?: Provider<__UserAgent>;
357
- }
358
-
359
- type PersonalizeClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
360
- ClientDefaults &
361
- RegionInputConfig &
362
- EndpointsInputConfig &
363
- RetryInputConfig &
364
- HostHeaderInputConfig &
365
- AwsAuthInputConfig &
366
- UserAgentInputConfig;
367
- /**
368
- * The configuration interface of PersonalizeClient class constructor that set the region, credentials and other options.
369
- */
370
- export interface PersonalizeClientConfig extends PersonalizeClientConfigType {}
371
-
372
- type PersonalizeClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
373
- Required<ClientDefaults> &
374
- RegionResolvedConfig &
375
- EndpointsResolvedConfig &
376
- RetryResolvedConfig &
377
- HostHeaderResolvedConfig &
378
- AwsAuthResolvedConfig &
379
- UserAgentResolvedConfig;
380
- /**
381
- * The resolved configuration interface of PersonalizeClient class. This is resolved and normalized from the {@link PersonalizeClientConfig | constructor configuration interface}.
382
- */
383
- export interface PersonalizeClientResolvedConfig extends PersonalizeClientResolvedConfigType {}
384
-
385
- /**
386
- * <p>Amazon Personalize is a machine learning service that makes it easy to add individualized
387
- * recommendations to customers.</p>
388
- */
389
- export class PersonalizeClient extends __Client<
390
- __HttpHandlerOptions,
391
- ServiceInputTypes,
392
- ServiceOutputTypes,
393
- PersonalizeClientResolvedConfig
394
- > {
395
- /**
396
- * The resolved configuration of PersonalizeClient class. This is resolved and normalized from the {@link PersonalizeClientConfig | constructor configuration interface}.
397
- */
398
- readonly config: PersonalizeClientResolvedConfig;
399
-
400
- constructor(configuration: PersonalizeClientConfig) {
401
- const _config_0 = __getRuntimeConfig(configuration);
402
- const _config_1 = resolveRegionConfig(_config_0);
403
- const _config_2 = resolveEndpointsConfig(_config_1);
404
- const _config_3 = resolveRetryConfig(_config_2);
405
- const _config_4 = resolveHostHeaderConfig(_config_3);
406
- const _config_5 = resolveAwsAuthConfig(_config_4);
407
- const _config_6 = resolveUserAgentConfig(_config_5);
408
- super(_config_6);
409
- this.config = _config_6;
410
- this.middlewareStack.use(getRetryPlugin(this.config));
411
- this.middlewareStack.use(getContentLengthPlugin(this.config));
412
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
413
- this.middlewareStack.use(getLoggerPlugin(this.config));
414
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
415
- this.middlewareStack.use(getUserAgentPlugin(this.config));
416
- }
417
-
418
- /**
419
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
420
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
421
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
422
- */
423
- destroy(): void {
424
- super.destroy();
425
- }
426
- }
@@ -1,96 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { CreateBatchInferenceJobRequest, CreateBatchInferenceJobResponse } from "../models/models_0";
15
- import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
16
- import {
17
- deserializeAws_json1_1CreateBatchInferenceJobCommand,
18
- serializeAws_json1_1CreateBatchInferenceJobCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface CreateBatchInferenceJobCommandInput extends CreateBatchInferenceJobRequest {}
22
- export interface CreateBatchInferenceJobCommandOutput extends CreateBatchInferenceJobResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Creates a batch inference job. The operation can handle up to 50 million records and the
26
- * input file must be in JSON format. For more information, see <a>recommendations-batch</a>.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { PersonalizeClient, CreateBatchInferenceJobCommand } from "@aws-sdk/client-personalize"; // ES Modules import
31
- * // const { PersonalizeClient, CreateBatchInferenceJobCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
32
- * const client = new PersonalizeClient(config);
33
- * const command = new CreateBatchInferenceJobCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link CreateBatchInferenceJobCommandInput} for command's `input` shape.
38
- * @see {@link CreateBatchInferenceJobCommandOutput} for command's `response` shape.
39
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class CreateBatchInferenceJobCommand extends $Command<
43
- CreateBatchInferenceJobCommandInput,
44
- CreateBatchInferenceJobCommandOutput,
45
- PersonalizeClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: CreateBatchInferenceJobCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: PersonalizeClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<CreateBatchInferenceJobCommandInput, CreateBatchInferenceJobCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "PersonalizeClient";
70
- const commandName = "CreateBatchInferenceJobCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: CreateBatchInferenceJobRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: CreateBatchInferenceJobResponse.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: CreateBatchInferenceJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1CreateBatchInferenceJobCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateBatchInferenceJobCommandOutput> {
91
- return deserializeAws_json1_1CreateBatchInferenceJobCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -1,165 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { CreateCampaignRequest, CreateCampaignResponse } from "../models/models_0";
15
- import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
16
- import {
17
- deserializeAws_json1_1CreateCampaignCommand,
18
- serializeAws_json1_1CreateCampaignCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface CreateCampaignCommandInput extends CreateCampaignRequest {}
22
- export interface CreateCampaignCommandOutput extends CreateCampaignResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Creates a campaign by deploying a solution version. When a client calls the
26
- * <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_RS_GetRecommendations.html">GetRecommendations</a>
27
- * and
28
- * <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_RS_GetPersonalizedRanking.html">GetPersonalizedRanking</a>
29
- * APIs, a campaign is specified in the request.</p>
30
- *
31
- * <p>
32
- * <b>Minimum Provisioned TPS and Auto-Scaling</b>
33
- * </p>
34
- *
35
- * <p>A transaction is a single <code>GetRecommendations</code> or
36
- * <code>GetPersonalizedRanking</code> call. Transactions per second (TPS) is the throughput
37
- * and unit of billing for Amazon Personalize. The minimum provisioned TPS
38
- * (<code>minProvisionedTPS</code>) specifies the baseline throughput provisioned by
39
- * Amazon Personalize, and thus, the minimum billing charge.
40
- * </p>
41
- * <p>
42
- * If your TPS increases beyond
43
- * <code>minProvisionedTPS</code>, Amazon Personalize auto-scales the provisioned capacity up and down,
44
- * but never below <code>minProvisionedTPS</code>.
45
- * There's a short time delay while the capacity is increased that might cause loss of
46
- * transactions.</p>
47
- * <p>The actual TPS used is calculated as the average requests/second within a 5-minute window.
48
- * You pay for maximum of either the minimum provisioned TPS or the actual TPS.
49
- * We recommend starting with a low <code>minProvisionedTPS</code>, track
50
- * your usage using Amazon CloudWatch metrics, and then increase the <code>minProvisionedTPS</code>
51
- * as necessary.</p>
52
- *
53
- * <p>
54
- * <b>Status</b>
55
- * </p>
56
- * <p>A campaign can be in one of the following states:</p>
57
- * <ul>
58
- * <li>
59
- * <p>CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED</p>
60
- * </li>
61
- * <li>
62
- * <p>DELETE PENDING > DELETE IN_PROGRESS</p>
63
- * </li>
64
- * </ul>
65
- * <p>To get the campaign status, call <a>DescribeCampaign</a>.</p>
66
- * <note>
67
- * <p>Wait until the <code>status</code> of the campaign
68
- * is <code>ACTIVE</code> before asking the campaign for recommendations.</p>
69
- * </note>
70
- *
71
- * <p class="title">
72
- * <b>Related APIs</b>
73
- * </p>
74
- * <ul>
75
- * <li>
76
- * <p>
77
- * <a>ListCampaigns</a>
78
- * </p>
79
- * </li>
80
- * <li>
81
- * <p>
82
- * <a>DescribeCampaign</a>
83
- * </p>
84
- * </li>
85
- * <li>
86
- * <p>
87
- * <a>UpdateCampaign</a>
88
- * </p>
89
- * </li>
90
- * <li>
91
- * <p>
92
- * <a>DeleteCampaign</a>
93
- * </p>
94
- * </li>
95
- * </ul>
96
- * @example
97
- * Use a bare-bones client and the command you need to make an API call.
98
- * ```javascript
99
- * import { PersonalizeClient, CreateCampaignCommand } from "@aws-sdk/client-personalize"; // ES Modules import
100
- * // const { PersonalizeClient, CreateCampaignCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
101
- * const client = new PersonalizeClient(config);
102
- * const command = new CreateCampaignCommand(input);
103
- * const response = await client.send(command);
104
- * ```
105
- *
106
- * @see {@link CreateCampaignCommandInput} for command's `input` shape.
107
- * @see {@link CreateCampaignCommandOutput} for command's `response` shape.
108
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
109
- *
110
- */
111
- export class CreateCampaignCommand extends $Command<
112
- CreateCampaignCommandInput,
113
- CreateCampaignCommandOutput,
114
- PersonalizeClientResolvedConfig
115
- > {
116
- // Start section: command_properties
117
- // End section: command_properties
118
-
119
- constructor(readonly input: CreateCampaignCommandInput) {
120
- // Start section: command_constructor
121
- super();
122
- // End section: command_constructor
123
- }
124
-
125
- /**
126
- * @internal
127
- */
128
- resolveMiddleware(
129
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
130
- configuration: PersonalizeClientResolvedConfig,
131
- options?: __HttpHandlerOptions
132
- ): Handler<CreateCampaignCommandInput, CreateCampaignCommandOutput> {
133
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
134
-
135
- const stack = clientStack.concat(this.middlewareStack);
136
-
137
- const { logger } = configuration;
138
- const clientName = "PersonalizeClient";
139
- const commandName = "CreateCampaignCommand";
140
- const handlerExecutionContext: HandlerExecutionContext = {
141
- logger,
142
- clientName,
143
- commandName,
144
- inputFilterSensitiveLog: CreateCampaignRequest.filterSensitiveLog,
145
- outputFilterSensitiveLog: CreateCampaignResponse.filterSensitiveLog,
146
- };
147
- const { requestHandler } = configuration;
148
- return stack.resolve(
149
- (request: FinalizeHandlerArguments<any>) =>
150
- requestHandler.handle(request.request as __HttpRequest, options || {}),
151
- handlerExecutionContext
152
- );
153
- }
154
-
155
- private serialize(input: CreateCampaignCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
156
- return serializeAws_json1_1CreateCampaignCommand(input, context);
157
- }
158
-
159
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateCampaignCommandOutput> {
160
- return deserializeAws_json1_1CreateCampaignCommand(output, context);
161
- }
162
-
163
- // Start section: command_body_extra
164
- // End section: command_body_extra
165
- }