@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,98 +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 { ListSolutionVersionsRequest, ListSolutionVersionsResponse } from "../models/models_0";
15
- import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
16
- import {
17
- deserializeAws_json1_1ListSolutionVersionsCommand,
18
- serializeAws_json1_1ListSolutionVersionsCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface ListSolutionVersionsCommandInput extends ListSolutionVersionsRequest {}
22
- export interface ListSolutionVersionsCommandOutput extends ListSolutionVersionsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Returns a list of solution versions for the given solution. When a solution is not
26
- * specified, all the solution versions associated with the account are listed. The response
27
- * provides the properties for each solution version, including the Amazon Resource Name (ARN).
28
- * For more information on solutions, see <a>CreateSolution</a>.</p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { PersonalizeClient, ListSolutionVersionsCommand } from "@aws-sdk/client-personalize"; // ES Modules import
33
- * // const { PersonalizeClient, ListSolutionVersionsCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
34
- * const client = new PersonalizeClient(config);
35
- * const command = new ListSolutionVersionsCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link ListSolutionVersionsCommandInput} for command's `input` shape.
40
- * @see {@link ListSolutionVersionsCommandOutput} for command's `response` shape.
41
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class ListSolutionVersionsCommand extends $Command<
45
- ListSolutionVersionsCommandInput,
46
- ListSolutionVersionsCommandOutput,
47
- PersonalizeClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: ListSolutionVersionsCommandInput) {
53
- // Start section: command_constructor
54
- super();
55
- // End section: command_constructor
56
- }
57
-
58
- /**
59
- * @internal
60
- */
61
- resolveMiddleware(
62
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
63
- configuration: PersonalizeClientResolvedConfig,
64
- options?: __HttpHandlerOptions
65
- ): Handler<ListSolutionVersionsCommandInput, ListSolutionVersionsCommandOutput> {
66
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
67
-
68
- const stack = clientStack.concat(this.middlewareStack);
69
-
70
- const { logger } = configuration;
71
- const clientName = "PersonalizeClient";
72
- const commandName = "ListSolutionVersionsCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: ListSolutionVersionsRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: ListSolutionVersionsResponse.filterSensitiveLog,
79
- };
80
- const { requestHandler } = configuration;
81
- return stack.resolve(
82
- (request: FinalizeHandlerArguments<any>) =>
83
- requestHandler.handle(request.request as __HttpRequest, options || {}),
84
- handlerExecutionContext
85
- );
86
- }
87
-
88
- private serialize(input: ListSolutionVersionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_json1_1ListSolutionVersionsCommand(input, context);
90
- }
91
-
92
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListSolutionVersionsCommandOutput> {
93
- return deserializeAws_json1_1ListSolutionVersionsCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }
@@ -1,98 +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 { ListSolutionsRequest, ListSolutionsResponse } from "../models/models_0";
15
- import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
16
- import {
17
- deserializeAws_json1_1ListSolutionsCommand,
18
- serializeAws_json1_1ListSolutionsCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface ListSolutionsCommandInput extends ListSolutionsRequest {}
22
- export interface ListSolutionsCommandOutput extends ListSolutionsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Returns a list of solutions that use the given dataset group.
26
- * When a dataset group is not specified, all the solutions associated with the account are listed.
27
- * The response provides the properties for each solution, including the Amazon Resource Name (ARN).
28
- * For more information on solutions, see <a>CreateSolution</a>.</p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { PersonalizeClient, ListSolutionsCommand } from "@aws-sdk/client-personalize"; // ES Modules import
33
- * // const { PersonalizeClient, ListSolutionsCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
34
- * const client = new PersonalizeClient(config);
35
- * const command = new ListSolutionsCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link ListSolutionsCommandInput} for command's `input` shape.
40
- * @see {@link ListSolutionsCommandOutput} for command's `response` shape.
41
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class ListSolutionsCommand extends $Command<
45
- ListSolutionsCommandInput,
46
- ListSolutionsCommandOutput,
47
- PersonalizeClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: ListSolutionsCommandInput) {
53
- // Start section: command_constructor
54
- super();
55
- // End section: command_constructor
56
- }
57
-
58
- /**
59
- * @internal
60
- */
61
- resolveMiddleware(
62
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
63
- configuration: PersonalizeClientResolvedConfig,
64
- options?: __HttpHandlerOptions
65
- ): Handler<ListSolutionsCommandInput, ListSolutionsCommandOutput> {
66
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
67
-
68
- const stack = clientStack.concat(this.middlewareStack);
69
-
70
- const { logger } = configuration;
71
- const clientName = "PersonalizeClient";
72
- const commandName = "ListSolutionsCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: ListSolutionsRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: ListSolutionsResponse.filterSensitiveLog,
79
- };
80
- const { requestHandler } = configuration;
81
- return stack.resolve(
82
- (request: FinalizeHandlerArguments<any>) =>
83
- requestHandler.handle(request.request as __HttpRequest, options || {}),
84
- handlerExecutionContext
85
- );
86
- }
87
-
88
- private serialize(input: ListSolutionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_json1_1ListSolutionsCommand(input, context);
90
- }
91
-
92
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListSolutionsCommandOutput> {
93
- return deserializeAws_json1_1ListSolutionsCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }
@@ -1,111 +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 { StopSolutionVersionCreationRequest } from "../models/models_0";
15
- import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
16
- import {
17
- deserializeAws_json1_1StopSolutionVersionCreationCommand,
18
- serializeAws_json1_1StopSolutionVersionCreationCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface StopSolutionVersionCreationCommandInput extends StopSolutionVersionCreationRequest {}
22
- export interface StopSolutionVersionCreationCommandOutput extends __MetadataBearer {}
23
-
24
- /**
25
- * <p>Stops creating a solution version that is in a state of CREATE_PENDING or CREATE IN_PROGRESS.
26
- * </p>
27
- * <p>Depending on the current state of the solution version, the solution version state changes as follows:</p>
28
- * <ul>
29
- * <li>
30
- * <p>CREATE_PENDING > CREATE_STOPPED</p>
31
- * <p>or</p>
32
- * </li>
33
- * <li>
34
- * <p>CREATE_IN_PROGRESS > CREATE_STOPPING > CREATE_STOPPED</p>
35
- * </li>
36
- * </ul>
37
- * <p>You are billed for all of the training completed up
38
- * until you stop the solution version creation. You cannot resume creating a solution version once it has been stopped.</p>
39
- * @example
40
- * Use a bare-bones client and the command you need to make an API call.
41
- * ```javascript
42
- * import { PersonalizeClient, StopSolutionVersionCreationCommand } from "@aws-sdk/client-personalize"; // ES Modules import
43
- * // const { PersonalizeClient, StopSolutionVersionCreationCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
44
- * const client = new PersonalizeClient(config);
45
- * const command = new StopSolutionVersionCreationCommand(input);
46
- * const response = await client.send(command);
47
- * ```
48
- *
49
- * @see {@link StopSolutionVersionCreationCommandInput} for command's `input` shape.
50
- * @see {@link StopSolutionVersionCreationCommandOutput} for command's `response` shape.
51
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
52
- *
53
- */
54
- export class StopSolutionVersionCreationCommand extends $Command<
55
- StopSolutionVersionCreationCommandInput,
56
- StopSolutionVersionCreationCommandOutput,
57
- PersonalizeClientResolvedConfig
58
- > {
59
- // Start section: command_properties
60
- // End section: command_properties
61
-
62
- constructor(readonly input: StopSolutionVersionCreationCommandInput) {
63
- // Start section: command_constructor
64
- super();
65
- // End section: command_constructor
66
- }
67
-
68
- /**
69
- * @internal
70
- */
71
- resolveMiddleware(
72
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
73
- configuration: PersonalizeClientResolvedConfig,
74
- options?: __HttpHandlerOptions
75
- ): Handler<StopSolutionVersionCreationCommandInput, StopSolutionVersionCreationCommandOutput> {
76
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
77
-
78
- const stack = clientStack.concat(this.middlewareStack);
79
-
80
- const { logger } = configuration;
81
- const clientName = "PersonalizeClient";
82
- const commandName = "StopSolutionVersionCreationCommand";
83
- const handlerExecutionContext: HandlerExecutionContext = {
84
- logger,
85
- clientName,
86
- commandName,
87
- inputFilterSensitiveLog: StopSolutionVersionCreationRequest.filterSensitiveLog,
88
- outputFilterSensitiveLog: (output: any) => output,
89
- };
90
- const { requestHandler } = configuration;
91
- return stack.resolve(
92
- (request: FinalizeHandlerArguments<any>) =>
93
- requestHandler.handle(request.request as __HttpRequest, options || {}),
94
- handlerExecutionContext
95
- );
96
- }
97
-
98
- private serialize(input: StopSolutionVersionCreationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
99
- return serializeAws_json1_1StopSolutionVersionCreationCommand(input, context);
100
- }
101
-
102
- private deserialize(
103
- output: __HttpResponse,
104
- context: __SerdeContext
105
- ): Promise<StopSolutionVersionCreationCommandOutput> {
106
- return deserializeAws_json1_1StopSolutionVersionCreationCommand(output, context);
107
- }
108
-
109
- // Start section: command_body_extra
110
- // End section: command_body_extra
111
- }
@@ -1,103 +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 { UpdateCampaignRequest, UpdateCampaignResponse } from "../models/models_0";
15
- import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
16
- import {
17
- deserializeAws_json1_1UpdateCampaignCommand,
18
- serializeAws_json1_1UpdateCampaignCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface UpdateCampaignCommandInput extends UpdateCampaignRequest {}
22
- export interface UpdateCampaignCommandOutput extends UpdateCampaignResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Updates a campaign by either deploying a new solution or changing the value of the
26
- * campaign's <code>minProvisionedTPS</code> parameter.</p>
27
- * <p>To update a campaign, the campaign status must be ACTIVE or CREATE FAILED.
28
- * Check the campaign status using the <a>DescribeCampaign</a> API.</p>
29
- * <note>
30
- * <p>You must wait until the <code>status</code> of the
31
- * updated campaign is <code>ACTIVE</code> before asking the campaign for recommendations.</p>
32
- * </note>
33
- * <p>For more information on campaigns, see <a>CreateCampaign</a>.</p>
34
- * @example
35
- * Use a bare-bones client and the command you need to make an API call.
36
- * ```javascript
37
- * import { PersonalizeClient, UpdateCampaignCommand } from "@aws-sdk/client-personalize"; // ES Modules import
38
- * // const { PersonalizeClient, UpdateCampaignCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
39
- * const client = new PersonalizeClient(config);
40
- * const command = new UpdateCampaignCommand(input);
41
- * const response = await client.send(command);
42
- * ```
43
- *
44
- * @see {@link UpdateCampaignCommandInput} for command's `input` shape.
45
- * @see {@link UpdateCampaignCommandOutput} for command's `response` shape.
46
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
47
- *
48
- */
49
- export class UpdateCampaignCommand extends $Command<
50
- UpdateCampaignCommandInput,
51
- UpdateCampaignCommandOutput,
52
- PersonalizeClientResolvedConfig
53
- > {
54
- // Start section: command_properties
55
- // End section: command_properties
56
-
57
- constructor(readonly input: UpdateCampaignCommandInput) {
58
- // Start section: command_constructor
59
- super();
60
- // End section: command_constructor
61
- }
62
-
63
- /**
64
- * @internal
65
- */
66
- resolveMiddleware(
67
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
68
- configuration: PersonalizeClientResolvedConfig,
69
- options?: __HttpHandlerOptions
70
- ): Handler<UpdateCampaignCommandInput, UpdateCampaignCommandOutput> {
71
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
72
-
73
- const stack = clientStack.concat(this.middlewareStack);
74
-
75
- const { logger } = configuration;
76
- const clientName = "PersonalizeClient";
77
- const commandName = "UpdateCampaignCommand";
78
- const handlerExecutionContext: HandlerExecutionContext = {
79
- logger,
80
- clientName,
81
- commandName,
82
- inputFilterSensitiveLog: UpdateCampaignRequest.filterSensitiveLog,
83
- outputFilterSensitiveLog: UpdateCampaignResponse.filterSensitiveLog,
84
- };
85
- const { requestHandler } = configuration;
86
- return stack.resolve(
87
- (request: FinalizeHandlerArguments<any>) =>
88
- requestHandler.handle(request.request as __HttpRequest, options || {}),
89
- handlerExecutionContext
90
- );
91
- }
92
-
93
- private serialize(input: UpdateCampaignCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
94
- return serializeAws_json1_1UpdateCampaignCommand(input, context);
95
- }
96
-
97
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateCampaignCommandOutput> {
98
- return deserializeAws_json1_1UpdateCampaignCommand(output, context);
99
- }
100
-
101
- // Start section: command_body_extra
102
- // End section: command_body_extra
103
- }
package/src/endpoints.ts DELETED
@@ -1,57 +0,0 @@
1
- import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolver";
2
- import { RegionInfoProvider } from "@aws-sdk/types";
3
-
4
- const regionHash: RegionHash = {};
5
-
6
- const partitionHash: PartitionHash = {
7
- aws: {
8
- regions: [
9
- "af-south-1",
10
- "ap-east-1",
11
- "ap-northeast-1",
12
- "ap-northeast-2",
13
- "ap-northeast-3",
14
- "ap-south-1",
15
- "ap-southeast-1",
16
- "ap-southeast-2",
17
- "ca-central-1",
18
- "eu-central-1",
19
- "eu-north-1",
20
- "eu-south-1",
21
- "eu-west-1",
22
- "eu-west-2",
23
- "eu-west-3",
24
- "me-south-1",
25
- "sa-east-1",
26
- "us-east-1",
27
- "us-east-2",
28
- "us-west-1",
29
- "us-west-2",
30
- ],
31
- hostname: "personalize.{region}.amazonaws.com",
32
- },
33
- "aws-cn": {
34
- regions: ["cn-north-1", "cn-northwest-1"],
35
- hostname: "personalize.{region}.amazonaws.com.cn",
36
- },
37
- "aws-iso": {
38
- regions: ["us-iso-east-1"],
39
- hostname: "personalize.{region}.c2s.ic.gov",
40
- },
41
- "aws-iso-b": {
42
- regions: ["us-isob-east-1"],
43
- hostname: "personalize.{region}.sc2s.sgov.gov",
44
- },
45
- "aws-us-gov": {
46
- regions: ["us-gov-east-1", "us-gov-west-1"],
47
- hostname: "personalize.{region}.amazonaws.com",
48
- },
49
- };
50
-
51
- export const defaultRegionInfoProvider: RegionInfoProvider = async (region: string, options?: any) =>
52
- getRegionInfo(region, {
53
- ...options,
54
- signingService: "personalize",
55
- regionHash,
56
- partitionHash,
57
- });
package/src/index.ts DELETED
@@ -1,63 +0,0 @@
1
- export * from "./PersonalizeClient";
2
- export * from "./Personalize";
3
- export * from "./commands/CreateBatchInferenceJobCommand";
4
- export * from "./commands/CreateCampaignCommand";
5
- export * from "./commands/CreateDatasetCommand";
6
- export * from "./commands/CreateDatasetExportJobCommand";
7
- export * from "./commands/CreateDatasetGroupCommand";
8
- export * from "./commands/CreateDatasetImportJobCommand";
9
- export * from "./commands/CreateEventTrackerCommand";
10
- export * from "./commands/CreateFilterCommand";
11
- export * from "./commands/CreateSchemaCommand";
12
- export * from "./commands/CreateSolutionCommand";
13
- export * from "./commands/CreateSolutionVersionCommand";
14
- export * from "./commands/DeleteCampaignCommand";
15
- export * from "./commands/DeleteDatasetCommand";
16
- export * from "./commands/DeleteDatasetGroupCommand";
17
- export * from "./commands/DeleteEventTrackerCommand";
18
- export * from "./commands/DeleteFilterCommand";
19
- export * from "./commands/DeleteSchemaCommand";
20
- export * from "./commands/DeleteSolutionCommand";
21
- export * from "./commands/DescribeAlgorithmCommand";
22
- export * from "./commands/DescribeBatchInferenceJobCommand";
23
- export * from "./commands/DescribeCampaignCommand";
24
- export * from "./commands/DescribeDatasetCommand";
25
- export * from "./commands/DescribeDatasetExportJobCommand";
26
- export * from "./commands/DescribeDatasetGroupCommand";
27
- export * from "./commands/DescribeDatasetImportJobCommand";
28
- export * from "./commands/DescribeEventTrackerCommand";
29
- export * from "./commands/DescribeFeatureTransformationCommand";
30
- export * from "./commands/DescribeFilterCommand";
31
- export * from "./commands/DescribeRecipeCommand";
32
- export * from "./commands/DescribeSchemaCommand";
33
- export * from "./commands/DescribeSolutionCommand";
34
- export * from "./commands/DescribeSolutionVersionCommand";
35
- export * from "./commands/GetSolutionMetricsCommand";
36
- export * from "./commands/ListBatchInferenceJobsCommand";
37
- export * from "./pagination/ListBatchInferenceJobsPaginator";
38
- export * from "./commands/ListCampaignsCommand";
39
- export * from "./pagination/ListCampaignsPaginator";
40
- export * from "./commands/ListDatasetExportJobsCommand";
41
- export * from "./pagination/ListDatasetExportJobsPaginator";
42
- export * from "./commands/ListDatasetGroupsCommand";
43
- export * from "./pagination/ListDatasetGroupsPaginator";
44
- export * from "./commands/ListDatasetImportJobsCommand";
45
- export * from "./pagination/ListDatasetImportJobsPaginator";
46
- export * from "./commands/ListDatasetsCommand";
47
- export * from "./pagination/ListDatasetsPaginator";
48
- export * from "./commands/ListEventTrackersCommand";
49
- export * from "./pagination/ListEventTrackersPaginator";
50
- export * from "./commands/ListFiltersCommand";
51
- export * from "./pagination/ListFiltersPaginator";
52
- export * from "./commands/ListRecipesCommand";
53
- export * from "./pagination/ListRecipesPaginator";
54
- export * from "./commands/ListSchemasCommand";
55
- export * from "./pagination/ListSchemasPaginator";
56
- export * from "./commands/ListSolutionsCommand";
57
- export * from "./pagination/ListSolutionsPaginator";
58
- export * from "./commands/ListSolutionVersionsCommand";
59
- export * from "./pagination/ListSolutionVersionsPaginator";
60
- export * from "./commands/StopSolutionVersionCreationCommand";
61
- export * from "./commands/UpdateCampaignCommand";
62
- export * from "./pagination/Interfaces";
63
- export * from "./models/index";
@@ -1 +0,0 @@
1
- export * from "./models_0";