@aws-sdk/client-personalize 3.477.0 → 3.481.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (337) hide show
  1. package/dist-cjs/commands/CreateBatchInferenceJobCommand.js +18 -41
  2. package/dist-cjs/commands/CreateBatchSegmentJobCommand.js +18 -41
  3. package/dist-cjs/commands/CreateCampaignCommand.js +18 -41
  4. package/dist-cjs/commands/CreateDatasetCommand.js +18 -41
  5. package/dist-cjs/commands/CreateDatasetExportJobCommand.js +18 -41
  6. package/dist-cjs/commands/CreateDatasetGroupCommand.js +18 -41
  7. package/dist-cjs/commands/CreateDatasetImportJobCommand.js +18 -41
  8. package/dist-cjs/commands/CreateEventTrackerCommand.js +18 -41
  9. package/dist-cjs/commands/CreateFilterCommand.js +18 -41
  10. package/dist-cjs/commands/CreateMetricAttributionCommand.js +18 -41
  11. package/dist-cjs/commands/CreateRecommenderCommand.js +18 -41
  12. package/dist-cjs/commands/CreateSchemaCommand.js +18 -41
  13. package/dist-cjs/commands/CreateSolutionCommand.js +18 -41
  14. package/dist-cjs/commands/CreateSolutionVersionCommand.js +18 -41
  15. package/dist-cjs/commands/DeleteCampaignCommand.js +18 -41
  16. package/dist-cjs/commands/DeleteDatasetCommand.js +18 -41
  17. package/dist-cjs/commands/DeleteDatasetGroupCommand.js +18 -41
  18. package/dist-cjs/commands/DeleteEventTrackerCommand.js +18 -41
  19. package/dist-cjs/commands/DeleteFilterCommand.js +18 -41
  20. package/dist-cjs/commands/DeleteMetricAttributionCommand.js +18 -41
  21. package/dist-cjs/commands/DeleteRecommenderCommand.js +18 -41
  22. package/dist-cjs/commands/DeleteSchemaCommand.js +18 -41
  23. package/dist-cjs/commands/DeleteSolutionCommand.js +18 -41
  24. package/dist-cjs/commands/DescribeAlgorithmCommand.js +18 -41
  25. package/dist-cjs/commands/DescribeBatchInferenceJobCommand.js +18 -41
  26. package/dist-cjs/commands/DescribeBatchSegmentJobCommand.js +18 -41
  27. package/dist-cjs/commands/DescribeCampaignCommand.js +18 -41
  28. package/dist-cjs/commands/DescribeDatasetCommand.js +18 -41
  29. package/dist-cjs/commands/DescribeDatasetExportJobCommand.js +18 -41
  30. package/dist-cjs/commands/DescribeDatasetGroupCommand.js +18 -41
  31. package/dist-cjs/commands/DescribeDatasetImportJobCommand.js +18 -41
  32. package/dist-cjs/commands/DescribeEventTrackerCommand.js +18 -41
  33. package/dist-cjs/commands/DescribeFeatureTransformationCommand.js +18 -41
  34. package/dist-cjs/commands/DescribeFilterCommand.js +18 -41
  35. package/dist-cjs/commands/DescribeMetricAttributionCommand.js +18 -41
  36. package/dist-cjs/commands/DescribeRecipeCommand.js +18 -41
  37. package/dist-cjs/commands/DescribeRecommenderCommand.js +18 -41
  38. package/dist-cjs/commands/DescribeSchemaCommand.js +18 -41
  39. package/dist-cjs/commands/DescribeSolutionCommand.js +18 -41
  40. package/dist-cjs/commands/DescribeSolutionVersionCommand.js +18 -41
  41. package/dist-cjs/commands/GetSolutionMetricsCommand.js +18 -41
  42. package/dist-cjs/commands/ListBatchInferenceJobsCommand.js +18 -41
  43. package/dist-cjs/commands/ListBatchSegmentJobsCommand.js +18 -41
  44. package/dist-cjs/commands/ListCampaignsCommand.js +18 -41
  45. package/dist-cjs/commands/ListDatasetExportJobsCommand.js +18 -41
  46. package/dist-cjs/commands/ListDatasetGroupsCommand.js +18 -41
  47. package/dist-cjs/commands/ListDatasetImportJobsCommand.js +18 -41
  48. package/dist-cjs/commands/ListDatasetsCommand.js +18 -41
  49. package/dist-cjs/commands/ListEventTrackersCommand.js +18 -41
  50. package/dist-cjs/commands/ListFiltersCommand.js +18 -41
  51. package/dist-cjs/commands/ListMetricAttributionMetricsCommand.js +18 -41
  52. package/dist-cjs/commands/ListMetricAttributionsCommand.js +18 -41
  53. package/dist-cjs/commands/ListRecipesCommand.js +18 -41
  54. package/dist-cjs/commands/ListRecommendersCommand.js +18 -41
  55. package/dist-cjs/commands/ListSchemasCommand.js +18 -41
  56. package/dist-cjs/commands/ListSolutionVersionsCommand.js +18 -41
  57. package/dist-cjs/commands/ListSolutionsCommand.js +18 -41
  58. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  59. package/dist-cjs/commands/StartRecommenderCommand.js +18 -41
  60. package/dist-cjs/commands/StopRecommenderCommand.js +18 -41
  61. package/dist-cjs/commands/StopSolutionVersionCreationCommand.js +18 -41
  62. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  63. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  64. package/dist-cjs/commands/UpdateCampaignCommand.js +18 -41
  65. package/dist-cjs/commands/UpdateDatasetCommand.js +18 -41
  66. package/dist-cjs/commands/UpdateMetricAttributionCommand.js +18 -41
  67. package/dist-cjs/commands/UpdateRecommenderCommand.js +18 -41
  68. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  69. package/dist-cjs/pagination/ListBatchInferenceJobsPaginator.js +2 -24
  70. package/dist-cjs/pagination/ListBatchSegmentJobsPaginator.js +2 -24
  71. package/dist-cjs/pagination/ListCampaignsPaginator.js +2 -24
  72. package/dist-cjs/pagination/ListDatasetExportJobsPaginator.js +2 -24
  73. package/dist-cjs/pagination/ListDatasetGroupsPaginator.js +2 -24
  74. package/dist-cjs/pagination/ListDatasetImportJobsPaginator.js +2 -24
  75. package/dist-cjs/pagination/ListDatasetsPaginator.js +2 -24
  76. package/dist-cjs/pagination/ListEventTrackersPaginator.js +2 -24
  77. package/dist-cjs/pagination/ListFiltersPaginator.js +2 -24
  78. package/dist-cjs/pagination/ListMetricAttributionMetricsPaginator.js +2 -24
  79. package/dist-cjs/pagination/ListMetricAttributionsPaginator.js +2 -24
  80. package/dist-cjs/pagination/ListRecipesPaginator.js +2 -24
  81. package/dist-cjs/pagination/ListRecommendersPaginator.js +2 -24
  82. package/dist-cjs/pagination/ListSchemasPaginator.js +2 -24
  83. package/dist-cjs/pagination/ListSolutionVersionsPaginator.js +2 -24
  84. package/dist-cjs/pagination/ListSolutionsPaginator.js +2 -24
  85. package/dist-es/commands/CreateBatchInferenceJobCommand.js +18 -41
  86. package/dist-es/commands/CreateBatchSegmentJobCommand.js +18 -41
  87. package/dist-es/commands/CreateCampaignCommand.js +18 -41
  88. package/dist-es/commands/CreateDatasetCommand.js +18 -41
  89. package/dist-es/commands/CreateDatasetExportJobCommand.js +18 -41
  90. package/dist-es/commands/CreateDatasetGroupCommand.js +18 -41
  91. package/dist-es/commands/CreateDatasetImportJobCommand.js +18 -41
  92. package/dist-es/commands/CreateEventTrackerCommand.js +18 -41
  93. package/dist-es/commands/CreateFilterCommand.js +18 -41
  94. package/dist-es/commands/CreateMetricAttributionCommand.js +18 -41
  95. package/dist-es/commands/CreateRecommenderCommand.js +18 -41
  96. package/dist-es/commands/CreateSchemaCommand.js +18 -41
  97. package/dist-es/commands/CreateSolutionCommand.js +18 -41
  98. package/dist-es/commands/CreateSolutionVersionCommand.js +18 -41
  99. package/dist-es/commands/DeleteCampaignCommand.js +18 -41
  100. package/dist-es/commands/DeleteDatasetCommand.js +18 -41
  101. package/dist-es/commands/DeleteDatasetGroupCommand.js +18 -41
  102. package/dist-es/commands/DeleteEventTrackerCommand.js +18 -41
  103. package/dist-es/commands/DeleteFilterCommand.js +18 -41
  104. package/dist-es/commands/DeleteMetricAttributionCommand.js +18 -41
  105. package/dist-es/commands/DeleteRecommenderCommand.js +18 -41
  106. package/dist-es/commands/DeleteSchemaCommand.js +18 -41
  107. package/dist-es/commands/DeleteSolutionCommand.js +18 -41
  108. package/dist-es/commands/DescribeAlgorithmCommand.js +18 -41
  109. package/dist-es/commands/DescribeBatchInferenceJobCommand.js +18 -41
  110. package/dist-es/commands/DescribeBatchSegmentJobCommand.js +18 -41
  111. package/dist-es/commands/DescribeCampaignCommand.js +18 -41
  112. package/dist-es/commands/DescribeDatasetCommand.js +18 -41
  113. package/dist-es/commands/DescribeDatasetExportJobCommand.js +18 -41
  114. package/dist-es/commands/DescribeDatasetGroupCommand.js +18 -41
  115. package/dist-es/commands/DescribeDatasetImportJobCommand.js +18 -41
  116. package/dist-es/commands/DescribeEventTrackerCommand.js +18 -41
  117. package/dist-es/commands/DescribeFeatureTransformationCommand.js +18 -41
  118. package/dist-es/commands/DescribeFilterCommand.js +18 -41
  119. package/dist-es/commands/DescribeMetricAttributionCommand.js +18 -41
  120. package/dist-es/commands/DescribeRecipeCommand.js +18 -41
  121. package/dist-es/commands/DescribeRecommenderCommand.js +18 -41
  122. package/dist-es/commands/DescribeSchemaCommand.js +18 -41
  123. package/dist-es/commands/DescribeSolutionCommand.js +18 -41
  124. package/dist-es/commands/DescribeSolutionVersionCommand.js +18 -41
  125. package/dist-es/commands/GetSolutionMetricsCommand.js +18 -41
  126. package/dist-es/commands/ListBatchInferenceJobsCommand.js +18 -41
  127. package/dist-es/commands/ListBatchSegmentJobsCommand.js +18 -41
  128. package/dist-es/commands/ListCampaignsCommand.js +18 -41
  129. package/dist-es/commands/ListDatasetExportJobsCommand.js +18 -41
  130. package/dist-es/commands/ListDatasetGroupsCommand.js +18 -41
  131. package/dist-es/commands/ListDatasetImportJobsCommand.js +18 -41
  132. package/dist-es/commands/ListDatasetsCommand.js +18 -41
  133. package/dist-es/commands/ListEventTrackersCommand.js +18 -41
  134. package/dist-es/commands/ListFiltersCommand.js +18 -41
  135. package/dist-es/commands/ListMetricAttributionMetricsCommand.js +18 -41
  136. package/dist-es/commands/ListMetricAttributionsCommand.js +18 -41
  137. package/dist-es/commands/ListRecipesCommand.js +18 -41
  138. package/dist-es/commands/ListRecommendersCommand.js +18 -41
  139. package/dist-es/commands/ListSchemasCommand.js +18 -41
  140. package/dist-es/commands/ListSolutionVersionsCommand.js +18 -41
  141. package/dist-es/commands/ListSolutionsCommand.js +18 -41
  142. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  143. package/dist-es/commands/StartRecommenderCommand.js +18 -41
  144. package/dist-es/commands/StopRecommenderCommand.js +18 -41
  145. package/dist-es/commands/StopSolutionVersionCreationCommand.js +18 -41
  146. package/dist-es/commands/TagResourceCommand.js +18 -41
  147. package/dist-es/commands/UntagResourceCommand.js +18 -41
  148. package/dist-es/commands/UpdateCampaignCommand.js +18 -41
  149. package/dist-es/commands/UpdateDatasetCommand.js +18 -41
  150. package/dist-es/commands/UpdateMetricAttributionCommand.js +18 -41
  151. package/dist-es/commands/UpdateRecommenderCommand.js +18 -41
  152. package/dist-es/endpoint/EndpointParameters.js +6 -0
  153. package/dist-es/pagination/ListBatchInferenceJobsPaginator.js +2 -23
  154. package/dist-es/pagination/ListBatchSegmentJobsPaginator.js +2 -23
  155. package/dist-es/pagination/ListCampaignsPaginator.js +2 -23
  156. package/dist-es/pagination/ListDatasetExportJobsPaginator.js +2 -23
  157. package/dist-es/pagination/ListDatasetGroupsPaginator.js +2 -23
  158. package/dist-es/pagination/ListDatasetImportJobsPaginator.js +2 -23
  159. package/dist-es/pagination/ListDatasetsPaginator.js +2 -23
  160. package/dist-es/pagination/ListEventTrackersPaginator.js +2 -23
  161. package/dist-es/pagination/ListFiltersPaginator.js +2 -23
  162. package/dist-es/pagination/ListMetricAttributionMetricsPaginator.js +2 -23
  163. package/dist-es/pagination/ListMetricAttributionsPaginator.js +2 -23
  164. package/dist-es/pagination/ListRecipesPaginator.js +2 -23
  165. package/dist-es/pagination/ListRecommendersPaginator.js +2 -23
  166. package/dist-es/pagination/ListSchemasPaginator.js +2 -23
  167. package/dist-es/pagination/ListSolutionVersionsPaginator.js +2 -23
  168. package/dist-es/pagination/ListSolutionsPaginator.js +2 -23
  169. package/dist-types/commands/CreateBatchInferenceJobCommand.d.ts +6 -21
  170. package/dist-types/commands/CreateBatchSegmentJobCommand.d.ts +6 -21
  171. package/dist-types/commands/CreateCampaignCommand.d.ts +6 -21
  172. package/dist-types/commands/CreateDatasetCommand.d.ts +6 -21
  173. package/dist-types/commands/CreateDatasetExportJobCommand.d.ts +6 -21
  174. package/dist-types/commands/CreateDatasetGroupCommand.d.ts +6 -21
  175. package/dist-types/commands/CreateDatasetImportJobCommand.d.ts +6 -21
  176. package/dist-types/commands/CreateEventTrackerCommand.d.ts +6 -21
  177. package/dist-types/commands/CreateFilterCommand.d.ts +6 -21
  178. package/dist-types/commands/CreateMetricAttributionCommand.d.ts +6 -21
  179. package/dist-types/commands/CreateRecommenderCommand.d.ts +6 -21
  180. package/dist-types/commands/CreateSchemaCommand.d.ts +6 -21
  181. package/dist-types/commands/CreateSolutionCommand.d.ts +6 -21
  182. package/dist-types/commands/CreateSolutionVersionCommand.d.ts +6 -21
  183. package/dist-types/commands/DeleteCampaignCommand.d.ts +6 -21
  184. package/dist-types/commands/DeleteDatasetCommand.d.ts +6 -21
  185. package/dist-types/commands/DeleteDatasetGroupCommand.d.ts +6 -21
  186. package/dist-types/commands/DeleteEventTrackerCommand.d.ts +6 -21
  187. package/dist-types/commands/DeleteFilterCommand.d.ts +6 -21
  188. package/dist-types/commands/DeleteMetricAttributionCommand.d.ts +6 -21
  189. package/dist-types/commands/DeleteRecommenderCommand.d.ts +6 -21
  190. package/dist-types/commands/DeleteSchemaCommand.d.ts +6 -21
  191. package/dist-types/commands/DeleteSolutionCommand.d.ts +6 -21
  192. package/dist-types/commands/DescribeAlgorithmCommand.d.ts +6 -21
  193. package/dist-types/commands/DescribeBatchInferenceJobCommand.d.ts +6 -21
  194. package/dist-types/commands/DescribeBatchSegmentJobCommand.d.ts +6 -21
  195. package/dist-types/commands/DescribeCampaignCommand.d.ts +6 -21
  196. package/dist-types/commands/DescribeDatasetCommand.d.ts +6 -21
  197. package/dist-types/commands/DescribeDatasetExportJobCommand.d.ts +6 -21
  198. package/dist-types/commands/DescribeDatasetGroupCommand.d.ts +6 -21
  199. package/dist-types/commands/DescribeDatasetImportJobCommand.d.ts +6 -21
  200. package/dist-types/commands/DescribeEventTrackerCommand.d.ts +6 -21
  201. package/dist-types/commands/DescribeFeatureTransformationCommand.d.ts +6 -21
  202. package/dist-types/commands/DescribeFilterCommand.d.ts +6 -21
  203. package/dist-types/commands/DescribeMetricAttributionCommand.d.ts +6 -21
  204. package/dist-types/commands/DescribeRecipeCommand.d.ts +6 -21
  205. package/dist-types/commands/DescribeRecommenderCommand.d.ts +6 -21
  206. package/dist-types/commands/DescribeSchemaCommand.d.ts +6 -21
  207. package/dist-types/commands/DescribeSolutionCommand.d.ts +6 -21
  208. package/dist-types/commands/DescribeSolutionVersionCommand.d.ts +6 -21
  209. package/dist-types/commands/GetSolutionMetricsCommand.d.ts +6 -21
  210. package/dist-types/commands/ListBatchInferenceJobsCommand.d.ts +6 -21
  211. package/dist-types/commands/ListBatchSegmentJobsCommand.d.ts +6 -21
  212. package/dist-types/commands/ListCampaignsCommand.d.ts +6 -21
  213. package/dist-types/commands/ListDatasetExportJobsCommand.d.ts +6 -21
  214. package/dist-types/commands/ListDatasetGroupsCommand.d.ts +6 -21
  215. package/dist-types/commands/ListDatasetImportJobsCommand.d.ts +6 -21
  216. package/dist-types/commands/ListDatasetsCommand.d.ts +6 -21
  217. package/dist-types/commands/ListEventTrackersCommand.d.ts +6 -21
  218. package/dist-types/commands/ListFiltersCommand.d.ts +6 -21
  219. package/dist-types/commands/ListMetricAttributionMetricsCommand.d.ts +6 -21
  220. package/dist-types/commands/ListMetricAttributionsCommand.d.ts +6 -21
  221. package/dist-types/commands/ListRecipesCommand.d.ts +6 -21
  222. package/dist-types/commands/ListRecommendersCommand.d.ts +6 -21
  223. package/dist-types/commands/ListSchemasCommand.d.ts +6 -21
  224. package/dist-types/commands/ListSolutionVersionsCommand.d.ts +6 -21
  225. package/dist-types/commands/ListSolutionsCommand.d.ts +6 -21
  226. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  227. package/dist-types/commands/StartRecommenderCommand.d.ts +6 -21
  228. package/dist-types/commands/StopRecommenderCommand.d.ts +6 -21
  229. package/dist-types/commands/StopSolutionVersionCreationCommand.d.ts +6 -21
  230. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  231. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  232. package/dist-types/commands/UpdateCampaignCommand.d.ts +6 -21
  233. package/dist-types/commands/UpdateDatasetCommand.d.ts +6 -21
  234. package/dist-types/commands/UpdateMetricAttributionCommand.d.ts +6 -21
  235. package/dist-types/commands/UpdateRecommenderCommand.d.ts +6 -21
  236. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  237. package/dist-types/pagination/ListBatchInferenceJobsPaginator.d.ts +1 -1
  238. package/dist-types/pagination/ListBatchSegmentJobsPaginator.d.ts +1 -1
  239. package/dist-types/pagination/ListCampaignsPaginator.d.ts +1 -1
  240. package/dist-types/pagination/ListDatasetExportJobsPaginator.d.ts +1 -1
  241. package/dist-types/pagination/ListDatasetGroupsPaginator.d.ts +1 -1
  242. package/dist-types/pagination/ListDatasetImportJobsPaginator.d.ts +1 -1
  243. package/dist-types/pagination/ListDatasetsPaginator.d.ts +1 -1
  244. package/dist-types/pagination/ListEventTrackersPaginator.d.ts +1 -1
  245. package/dist-types/pagination/ListFiltersPaginator.d.ts +1 -1
  246. package/dist-types/pagination/ListMetricAttributionMetricsPaginator.d.ts +1 -1
  247. package/dist-types/pagination/ListMetricAttributionsPaginator.d.ts +1 -1
  248. package/dist-types/pagination/ListRecipesPaginator.d.ts +1 -1
  249. package/dist-types/pagination/ListRecommendersPaginator.d.ts +1 -1
  250. package/dist-types/pagination/ListSchemasPaginator.d.ts +1 -1
  251. package/dist-types/pagination/ListSolutionVersionsPaginator.d.ts +1 -1
  252. package/dist-types/pagination/ListSolutionsPaginator.d.ts +1 -1
  253. package/dist-types/ts3.4/commands/CreateBatchInferenceJobCommand.d.ts +12 -24
  254. package/dist-types/ts3.4/commands/CreateBatchSegmentJobCommand.d.ts +12 -24
  255. package/dist-types/ts3.4/commands/CreateCampaignCommand.d.ts +14 -23
  256. package/dist-types/ts3.4/commands/CreateDatasetCommand.d.ts +14 -23
  257. package/dist-types/ts3.4/commands/CreateDatasetExportJobCommand.d.ts +12 -24
  258. package/dist-types/ts3.4/commands/CreateDatasetGroupCommand.d.ts +14 -23
  259. package/dist-types/ts3.4/commands/CreateDatasetImportJobCommand.d.ts +12 -24
  260. package/dist-types/ts3.4/commands/CreateEventTrackerCommand.d.ts +14 -23
  261. package/dist-types/ts3.4/commands/CreateFilterCommand.d.ts +14 -23
  262. package/dist-types/ts3.4/commands/CreateMetricAttributionCommand.d.ts +12 -24
  263. package/dist-types/ts3.4/commands/CreateRecommenderCommand.d.ts +14 -23
  264. package/dist-types/ts3.4/commands/CreateSchemaCommand.d.ts +14 -23
  265. package/dist-types/ts3.4/commands/CreateSolutionCommand.d.ts +14 -23
  266. package/dist-types/ts3.4/commands/CreateSolutionVersionCommand.d.ts +12 -24
  267. package/dist-types/ts3.4/commands/DeleteCampaignCommand.d.ts +14 -23
  268. package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +14 -23
  269. package/dist-types/ts3.4/commands/DeleteDatasetGroupCommand.d.ts +14 -23
  270. package/dist-types/ts3.4/commands/DeleteEventTrackerCommand.d.ts +14 -23
  271. package/dist-types/ts3.4/commands/DeleteFilterCommand.d.ts +14 -23
  272. package/dist-types/ts3.4/commands/DeleteMetricAttributionCommand.d.ts +12 -24
  273. package/dist-types/ts3.4/commands/DeleteRecommenderCommand.d.ts +14 -23
  274. package/dist-types/ts3.4/commands/DeleteSchemaCommand.d.ts +14 -23
  275. package/dist-types/ts3.4/commands/DeleteSolutionCommand.d.ts +14 -23
  276. package/dist-types/ts3.4/commands/DescribeAlgorithmCommand.d.ts +14 -23
  277. package/dist-types/ts3.4/commands/DescribeBatchInferenceJobCommand.d.ts +12 -24
  278. package/dist-types/ts3.4/commands/DescribeBatchSegmentJobCommand.d.ts +12 -24
  279. package/dist-types/ts3.4/commands/DescribeCampaignCommand.d.ts +14 -23
  280. package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +14 -23
  281. package/dist-types/ts3.4/commands/DescribeDatasetExportJobCommand.d.ts +12 -24
  282. package/dist-types/ts3.4/commands/DescribeDatasetGroupCommand.d.ts +12 -24
  283. package/dist-types/ts3.4/commands/DescribeDatasetImportJobCommand.d.ts +12 -24
  284. package/dist-types/ts3.4/commands/DescribeEventTrackerCommand.d.ts +12 -24
  285. package/dist-types/ts3.4/commands/DescribeFeatureTransformationCommand.d.ts +12 -24
  286. package/dist-types/ts3.4/commands/DescribeFilterCommand.d.ts +14 -23
  287. package/dist-types/ts3.4/commands/DescribeMetricAttributionCommand.d.ts +12 -24
  288. package/dist-types/ts3.4/commands/DescribeRecipeCommand.d.ts +14 -23
  289. package/dist-types/ts3.4/commands/DescribeRecommenderCommand.d.ts +14 -23
  290. package/dist-types/ts3.4/commands/DescribeSchemaCommand.d.ts +14 -23
  291. package/dist-types/ts3.4/commands/DescribeSolutionCommand.d.ts +14 -23
  292. package/dist-types/ts3.4/commands/DescribeSolutionVersionCommand.d.ts +12 -24
  293. package/dist-types/ts3.4/commands/GetSolutionMetricsCommand.d.ts +14 -23
  294. package/dist-types/ts3.4/commands/ListBatchInferenceJobsCommand.d.ts +12 -24
  295. package/dist-types/ts3.4/commands/ListBatchSegmentJobsCommand.d.ts +12 -24
  296. package/dist-types/ts3.4/commands/ListCampaignsCommand.d.ts +14 -23
  297. package/dist-types/ts3.4/commands/ListDatasetExportJobsCommand.d.ts +12 -24
  298. package/dist-types/ts3.4/commands/ListDatasetGroupsCommand.d.ts +14 -23
  299. package/dist-types/ts3.4/commands/ListDatasetImportJobsCommand.d.ts +12 -24
  300. package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +14 -23
  301. package/dist-types/ts3.4/commands/ListEventTrackersCommand.d.ts +14 -23
  302. package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +14 -23
  303. package/dist-types/ts3.4/commands/ListMetricAttributionMetricsCommand.d.ts +12 -24
  304. package/dist-types/ts3.4/commands/ListMetricAttributionsCommand.d.ts +12 -24
  305. package/dist-types/ts3.4/commands/ListRecipesCommand.d.ts +14 -23
  306. package/dist-types/ts3.4/commands/ListRecommendersCommand.d.ts +14 -23
  307. package/dist-types/ts3.4/commands/ListSchemasCommand.d.ts +14 -23
  308. package/dist-types/ts3.4/commands/ListSolutionVersionsCommand.d.ts +12 -24
  309. package/dist-types/ts3.4/commands/ListSolutionsCommand.d.ts +14 -23
  310. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  311. package/dist-types/ts3.4/commands/StartRecommenderCommand.d.ts +14 -23
  312. package/dist-types/ts3.4/commands/StopRecommenderCommand.d.ts +14 -23
  313. package/dist-types/ts3.4/commands/StopSolutionVersionCreationCommand.d.ts +12 -24
  314. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  315. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  316. package/dist-types/ts3.4/commands/UpdateCampaignCommand.d.ts +14 -23
  317. package/dist-types/ts3.4/commands/UpdateDatasetCommand.d.ts +14 -23
  318. package/dist-types/ts3.4/commands/UpdateMetricAttributionCommand.d.ts +12 -24
  319. package/dist-types/ts3.4/commands/UpdateRecommenderCommand.d.ts +14 -23
  320. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  321. package/dist-types/ts3.4/pagination/ListBatchInferenceJobsPaginator.d.ts +3 -3
  322. package/dist-types/ts3.4/pagination/ListBatchSegmentJobsPaginator.d.ts +3 -3
  323. package/dist-types/ts3.4/pagination/ListCampaignsPaginator.d.ts +3 -3
  324. package/dist-types/ts3.4/pagination/ListDatasetExportJobsPaginator.d.ts +3 -3
  325. package/dist-types/ts3.4/pagination/ListDatasetGroupsPaginator.d.ts +3 -3
  326. package/dist-types/ts3.4/pagination/ListDatasetImportJobsPaginator.d.ts +3 -3
  327. package/dist-types/ts3.4/pagination/ListDatasetsPaginator.d.ts +3 -3
  328. package/dist-types/ts3.4/pagination/ListEventTrackersPaginator.d.ts +3 -3
  329. package/dist-types/ts3.4/pagination/ListFiltersPaginator.d.ts +3 -3
  330. package/dist-types/ts3.4/pagination/ListMetricAttributionMetricsPaginator.d.ts +3 -3
  331. package/dist-types/ts3.4/pagination/ListMetricAttributionsPaginator.d.ts +3 -3
  332. package/dist-types/ts3.4/pagination/ListRecipesPaginator.d.ts +3 -3
  333. package/dist-types/ts3.4/pagination/ListRecommendersPaginator.d.ts +3 -3
  334. package/dist-types/ts3.4/pagination/ListSchemasPaginator.d.ts +3 -3
  335. package/dist-types/ts3.4/pagination/ListSolutionVersionsPaginator.d.ts +3 -3
  336. package/dist-types/ts3.4/pagination/ListSolutionsPaginator.d.ts +3 -3
  337. package/package.json +11 -10
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UpdateCampaignCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateCampaignCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "PersonalizeClient";
29
- const commandName = "UpdateCampaignCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonPersonalize",
38
- operation: "UpdateCampaign",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_UpdateCampaignCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_UpdateCampaignCommand)(output, context);
49
- }
10
+ class UpdateCampaignCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonPersonalize", "UpdateCampaign", {})
22
+ .n("PersonalizeClient", "UpdateCampaignCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_UpdateCampaignCommand)
25
+ .de(Aws_json1_1_1.de_UpdateCampaignCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateCampaignCommand = UpdateCampaignCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UpdateDatasetCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateDatasetCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "PersonalizeClient";
29
- const commandName = "UpdateDatasetCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonPersonalize",
38
- operation: "UpdateDataset",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_UpdateDatasetCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_UpdateDatasetCommand)(output, context);
49
- }
10
+ class UpdateDatasetCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonPersonalize", "UpdateDataset", {})
22
+ .n("PersonalizeClient", "UpdateDatasetCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_UpdateDatasetCommand)
25
+ .de(Aws_json1_1_1.de_UpdateDatasetCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateDatasetCommand = UpdateDatasetCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UpdateMetricAttributionCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateMetricAttributionCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "PersonalizeClient";
29
- const commandName = "UpdateMetricAttributionCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonPersonalize",
38
- operation: "UpdateMetricAttribution",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_UpdateMetricAttributionCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_UpdateMetricAttributionCommand)(output, context);
49
- }
10
+ class UpdateMetricAttributionCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonPersonalize", "UpdateMetricAttribution", {})
22
+ .n("PersonalizeClient", "UpdateMetricAttributionCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_UpdateMetricAttributionCommand)
25
+ .de(Aws_json1_1_1.de_UpdateMetricAttributionCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateMetricAttributionCommand = UpdateMetricAttributionCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UpdateRecommenderCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateRecommenderCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "PersonalizeClient";
29
- const commandName = "UpdateRecommenderCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonPersonalize",
38
- operation: "UpdateRecommender",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_UpdateRecommenderCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_UpdateRecommenderCommand)(output, context);
49
- }
10
+ class UpdateRecommenderCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonPersonalize", "UpdateRecommender", {})
22
+ .n("PersonalizeClient", "UpdateRecommenderCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_UpdateRecommenderCommand)
25
+ .de(Aws_json1_1_1.de_UpdateRecommenderCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateRecommenderCommand = UpdateRecommenderCommand;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveClientEndpointParameters = void 0;
3
+ exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
4
  const resolveClientEndpointParameters = (options) => {
5
5
  return {
6
6
  ...options,
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
10
10
  };
11
11
  };
12
12
  exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
13
+ exports.commonParams = {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListBatchInferenceJobs = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListBatchInferenceJobsCommand_1 = require("../commands/ListBatchInferenceJobsCommand");
5
6
  const PersonalizeClient_1 = require("../PersonalizeClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListBatchInferenceJobsCommand_1.ListBatchInferenceJobsCommand(input), ...args);
8
- };
9
- async function* paginateListBatchInferenceJobs(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof PersonalizeClient_1.PersonalizeClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected Personalize | PersonalizeClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListBatchInferenceJobs = paginateListBatchInferenceJobs;
7
+ exports.paginateListBatchInferenceJobs = (0, core_1.createPaginator)(PersonalizeClient_1.PersonalizeClient, ListBatchInferenceJobsCommand_1.ListBatchInferenceJobsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListBatchSegmentJobs = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListBatchSegmentJobsCommand_1 = require("../commands/ListBatchSegmentJobsCommand");
5
6
  const PersonalizeClient_1 = require("../PersonalizeClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListBatchSegmentJobsCommand_1.ListBatchSegmentJobsCommand(input), ...args);
8
- };
9
- async function* paginateListBatchSegmentJobs(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof PersonalizeClient_1.PersonalizeClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected Personalize | PersonalizeClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListBatchSegmentJobs = paginateListBatchSegmentJobs;
7
+ exports.paginateListBatchSegmentJobs = (0, core_1.createPaginator)(PersonalizeClient_1.PersonalizeClient, ListBatchSegmentJobsCommand_1.ListBatchSegmentJobsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListCampaigns = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListCampaignsCommand_1 = require("../commands/ListCampaignsCommand");
5
6
  const PersonalizeClient_1 = require("../PersonalizeClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListCampaignsCommand_1.ListCampaignsCommand(input), ...args);
8
- };
9
- async function* paginateListCampaigns(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof PersonalizeClient_1.PersonalizeClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected Personalize | PersonalizeClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListCampaigns = paginateListCampaigns;
7
+ exports.paginateListCampaigns = (0, core_1.createPaginator)(PersonalizeClient_1.PersonalizeClient, ListCampaignsCommand_1.ListCampaignsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListDatasetExportJobs = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListDatasetExportJobsCommand_1 = require("../commands/ListDatasetExportJobsCommand");
5
6
  const PersonalizeClient_1 = require("../PersonalizeClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListDatasetExportJobsCommand_1.ListDatasetExportJobsCommand(input), ...args);
8
- };
9
- async function* paginateListDatasetExportJobs(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof PersonalizeClient_1.PersonalizeClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected Personalize | PersonalizeClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListDatasetExportJobs = paginateListDatasetExportJobs;
7
+ exports.paginateListDatasetExportJobs = (0, core_1.createPaginator)(PersonalizeClient_1.PersonalizeClient, ListDatasetExportJobsCommand_1.ListDatasetExportJobsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListDatasetGroups = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListDatasetGroupsCommand_1 = require("../commands/ListDatasetGroupsCommand");
5
6
  const PersonalizeClient_1 = require("../PersonalizeClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListDatasetGroupsCommand_1.ListDatasetGroupsCommand(input), ...args);
8
- };
9
- async function* paginateListDatasetGroups(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof PersonalizeClient_1.PersonalizeClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected Personalize | PersonalizeClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListDatasetGroups = paginateListDatasetGroups;
7
+ exports.paginateListDatasetGroups = (0, core_1.createPaginator)(PersonalizeClient_1.PersonalizeClient, ListDatasetGroupsCommand_1.ListDatasetGroupsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListDatasetImportJobs = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListDatasetImportJobsCommand_1 = require("../commands/ListDatasetImportJobsCommand");
5
6
  const PersonalizeClient_1 = require("../PersonalizeClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListDatasetImportJobsCommand_1.ListDatasetImportJobsCommand(input), ...args);
8
- };
9
- async function* paginateListDatasetImportJobs(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof PersonalizeClient_1.PersonalizeClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected Personalize | PersonalizeClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListDatasetImportJobs = paginateListDatasetImportJobs;
7
+ exports.paginateListDatasetImportJobs = (0, core_1.createPaginator)(PersonalizeClient_1.PersonalizeClient, ListDatasetImportJobsCommand_1.ListDatasetImportJobsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListDatasets = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListDatasetsCommand_1 = require("../commands/ListDatasetsCommand");
5
6
  const PersonalizeClient_1 = require("../PersonalizeClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListDatasetsCommand_1.ListDatasetsCommand(input), ...args);
8
- };
9
- async function* paginateListDatasets(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof PersonalizeClient_1.PersonalizeClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected Personalize | PersonalizeClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListDatasets = paginateListDatasets;
7
+ exports.paginateListDatasets = (0, core_1.createPaginator)(PersonalizeClient_1.PersonalizeClient, ListDatasetsCommand_1.ListDatasetsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListEventTrackers = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListEventTrackersCommand_1 = require("../commands/ListEventTrackersCommand");
5
6
  const PersonalizeClient_1 = require("../PersonalizeClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListEventTrackersCommand_1.ListEventTrackersCommand(input), ...args);
8
- };
9
- async function* paginateListEventTrackers(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof PersonalizeClient_1.PersonalizeClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected Personalize | PersonalizeClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListEventTrackers = paginateListEventTrackers;
7
+ exports.paginateListEventTrackers = (0, core_1.createPaginator)(PersonalizeClient_1.PersonalizeClient, ListEventTrackersCommand_1.ListEventTrackersCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListFilters = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListFiltersCommand_1 = require("../commands/ListFiltersCommand");
5
6
  const PersonalizeClient_1 = require("../PersonalizeClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListFiltersCommand_1.ListFiltersCommand(input), ...args);
8
- };
9
- async function* paginateListFilters(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof PersonalizeClient_1.PersonalizeClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected Personalize | PersonalizeClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListFilters = paginateListFilters;
7
+ exports.paginateListFilters = (0, core_1.createPaginator)(PersonalizeClient_1.PersonalizeClient, ListFiltersCommand_1.ListFiltersCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListMetricAttributionMetrics = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListMetricAttributionMetricsCommand_1 = require("../commands/ListMetricAttributionMetricsCommand");
5
6
  const PersonalizeClient_1 = require("../PersonalizeClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListMetricAttributionMetricsCommand_1.ListMetricAttributionMetricsCommand(input), ...args);
8
- };
9
- async function* paginateListMetricAttributionMetrics(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof PersonalizeClient_1.PersonalizeClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected Personalize | PersonalizeClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListMetricAttributionMetrics = paginateListMetricAttributionMetrics;
7
+ exports.paginateListMetricAttributionMetrics = (0, core_1.createPaginator)(PersonalizeClient_1.PersonalizeClient, ListMetricAttributionMetricsCommand_1.ListMetricAttributionMetricsCommand, "nextToken", "nextToken", "maxResults");