@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,101 +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 { DeleteSolutionRequest } from "../models/models_0";
15
- import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
16
- import {
17
- deserializeAws_json1_1DeleteSolutionCommand,
18
- serializeAws_json1_1DeleteSolutionCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DeleteSolutionCommandInput extends DeleteSolutionRequest {}
22
- export interface DeleteSolutionCommandOutput extends __MetadataBearer {}
23
-
24
- /**
25
- * <p>Deletes all versions of a solution and the <code>Solution</code> object itself.
26
- * Before deleting a solution, you must delete all campaigns based on
27
- * the solution. To determine what campaigns are using the solution, call
28
- * <a>ListCampaigns</a> and supply the Amazon Resource Name (ARN) of the solution.
29
- * You can't delete a solution if an associated <code>SolutionVersion</code> is in the
30
- * CREATE PENDING or IN PROGRESS state.
31
- * For more information on solutions, see <a>CreateSolution</a>.</p>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { PersonalizeClient, DeleteSolutionCommand } from "@aws-sdk/client-personalize"; // ES Modules import
36
- * // const { PersonalizeClient, DeleteSolutionCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
37
- * const client = new PersonalizeClient(config);
38
- * const command = new DeleteSolutionCommand(input);
39
- * const response = await client.send(command);
40
- * ```
41
- *
42
- * @see {@link DeleteSolutionCommandInput} for command's `input` shape.
43
- * @see {@link DeleteSolutionCommandOutput} for command's `response` shape.
44
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
45
- *
46
- */
47
- export class DeleteSolutionCommand extends $Command<
48
- DeleteSolutionCommandInput,
49
- DeleteSolutionCommandOutput,
50
- PersonalizeClientResolvedConfig
51
- > {
52
- // Start section: command_properties
53
- // End section: command_properties
54
-
55
- constructor(readonly input: DeleteSolutionCommandInput) {
56
- // Start section: command_constructor
57
- super();
58
- // End section: command_constructor
59
- }
60
-
61
- /**
62
- * @internal
63
- */
64
- resolveMiddleware(
65
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
66
- configuration: PersonalizeClientResolvedConfig,
67
- options?: __HttpHandlerOptions
68
- ): Handler<DeleteSolutionCommandInput, DeleteSolutionCommandOutput> {
69
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
70
-
71
- const stack = clientStack.concat(this.middlewareStack);
72
-
73
- const { logger } = configuration;
74
- const clientName = "PersonalizeClient";
75
- const commandName = "DeleteSolutionCommand";
76
- const handlerExecutionContext: HandlerExecutionContext = {
77
- logger,
78
- clientName,
79
- commandName,
80
- inputFilterSensitiveLog: DeleteSolutionRequest.filterSensitiveLog,
81
- outputFilterSensitiveLog: (output: any) => output,
82
- };
83
- const { requestHandler } = configuration;
84
- return stack.resolve(
85
- (request: FinalizeHandlerArguments<any>) =>
86
- requestHandler.handle(request.request as __HttpRequest, options || {}),
87
- handlerExecutionContext
88
- );
89
- }
90
-
91
- private serialize(input: DeleteSolutionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
92
- return serializeAws_json1_1DeleteSolutionCommand(input, context);
93
- }
94
-
95
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteSolutionCommandOutput> {
96
- return deserializeAws_json1_1DeleteSolutionCommand(output, context);
97
- }
98
-
99
- // Start section: command_body_extra
100
- // End section: command_body_extra
101
- }
@@ -1,95 +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 { DescribeAlgorithmRequest, DescribeAlgorithmResponse } from "../models/models_0";
15
- import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
16
- import {
17
- deserializeAws_json1_1DescribeAlgorithmCommand,
18
- serializeAws_json1_1DescribeAlgorithmCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DescribeAlgorithmCommandInput extends DescribeAlgorithmRequest {}
22
- export interface DescribeAlgorithmCommandOutput extends DescribeAlgorithmResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Describes the given algorithm.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { PersonalizeClient, DescribeAlgorithmCommand } from "@aws-sdk/client-personalize"; // ES Modules import
30
- * // const { PersonalizeClient, DescribeAlgorithmCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
31
- * const client = new PersonalizeClient(config);
32
- * const command = new DescribeAlgorithmCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DescribeAlgorithmCommandInput} for command's `input` shape.
37
- * @see {@link DescribeAlgorithmCommandOutput} for command's `response` shape.
38
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DescribeAlgorithmCommand extends $Command<
42
- DescribeAlgorithmCommandInput,
43
- DescribeAlgorithmCommandOutput,
44
- PersonalizeClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DescribeAlgorithmCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: PersonalizeClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<DescribeAlgorithmCommandInput, DescribeAlgorithmCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "PersonalizeClient";
69
- const commandName = "DescribeAlgorithmCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DescribeAlgorithmRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DescribeAlgorithmResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: DescribeAlgorithmCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1DescribeAlgorithmCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeAlgorithmCommandOutput> {
90
- return deserializeAws_json1_1DescribeAlgorithmCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,100 +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 { DescribeBatchInferenceJobRequest, DescribeBatchInferenceJobResponse } from "../models/models_0";
15
- import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
16
- import {
17
- deserializeAws_json1_1DescribeBatchInferenceJobCommand,
18
- serializeAws_json1_1DescribeBatchInferenceJobCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DescribeBatchInferenceJobCommandInput extends DescribeBatchInferenceJobRequest {}
22
- export interface DescribeBatchInferenceJobCommandOutput extends DescribeBatchInferenceJobResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Gets the properties of a batch inference job including name, Amazon Resource Name (ARN),
26
- * status, input and output configurations, and the ARN of the solution version used to generate
27
- * the recommendations.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { PersonalizeClient, DescribeBatchInferenceJobCommand } from "@aws-sdk/client-personalize"; // ES Modules import
32
- * // const { PersonalizeClient, DescribeBatchInferenceJobCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
33
- * const client = new PersonalizeClient(config);
34
- * const command = new DescribeBatchInferenceJobCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link DescribeBatchInferenceJobCommandInput} for command's `input` shape.
39
- * @see {@link DescribeBatchInferenceJobCommandOutput} for command's `response` shape.
40
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class DescribeBatchInferenceJobCommand extends $Command<
44
- DescribeBatchInferenceJobCommandInput,
45
- DescribeBatchInferenceJobCommandOutput,
46
- PersonalizeClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: DescribeBatchInferenceJobCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: PersonalizeClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<DescribeBatchInferenceJobCommandInput, DescribeBatchInferenceJobCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "PersonalizeClient";
71
- const commandName = "DescribeBatchInferenceJobCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: DescribeBatchInferenceJobRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: DescribeBatchInferenceJobResponse.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: DescribeBatchInferenceJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_json1_1DescribeBatchInferenceJobCommand(input, context);
89
- }
90
-
91
- private deserialize(
92
- output: __HttpResponse,
93
- context: __SerdeContext
94
- ): Promise<DescribeBatchInferenceJobCommandOutput> {
95
- return deserializeAws_json1_1DescribeBatchInferenceJobCommand(output, context);
96
- }
97
-
98
- // Start section: command_body_extra
99
- // End section: command_body_extra
100
- }
@@ -1,107 +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 { DescribeCampaignRequest, DescribeCampaignResponse } from "../models/models_0";
15
- import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
16
- import {
17
- deserializeAws_json1_1DescribeCampaignCommand,
18
- serializeAws_json1_1DescribeCampaignCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DescribeCampaignCommandInput extends DescribeCampaignRequest {}
22
- export interface DescribeCampaignCommandOutput extends DescribeCampaignResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Describes the given campaign, including its status.</p>
26
- * <p>A campaign can be in one of the following states:</p>
27
- * <ul>
28
- * <li>
29
- * <p>CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED</p>
30
- * </li>
31
- * <li>
32
- * <p>DELETE PENDING > DELETE IN_PROGRESS</p>
33
- * </li>
34
- * </ul>
35
- * <p>When the <code>status</code> is <code>CREATE FAILED</code>, the response includes the
36
- * <code>failureReason</code> key, which describes why.</p>
37
- * <p>For more information on campaigns, see <a>CreateCampaign</a>.</p>
38
- * @example
39
- * Use a bare-bones client and the command you need to make an API call.
40
- * ```javascript
41
- * import { PersonalizeClient, DescribeCampaignCommand } from "@aws-sdk/client-personalize"; // ES Modules import
42
- * // const { PersonalizeClient, DescribeCampaignCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
43
- * const client = new PersonalizeClient(config);
44
- * const command = new DescribeCampaignCommand(input);
45
- * const response = await client.send(command);
46
- * ```
47
- *
48
- * @see {@link DescribeCampaignCommandInput} for command's `input` shape.
49
- * @see {@link DescribeCampaignCommandOutput} for command's `response` shape.
50
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
51
- *
52
- */
53
- export class DescribeCampaignCommand extends $Command<
54
- DescribeCampaignCommandInput,
55
- DescribeCampaignCommandOutput,
56
- PersonalizeClientResolvedConfig
57
- > {
58
- // Start section: command_properties
59
- // End section: command_properties
60
-
61
- constructor(readonly input: DescribeCampaignCommandInput) {
62
- // Start section: command_constructor
63
- super();
64
- // End section: command_constructor
65
- }
66
-
67
- /**
68
- * @internal
69
- */
70
- resolveMiddleware(
71
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
72
- configuration: PersonalizeClientResolvedConfig,
73
- options?: __HttpHandlerOptions
74
- ): Handler<DescribeCampaignCommandInput, DescribeCampaignCommandOutput> {
75
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
76
-
77
- const stack = clientStack.concat(this.middlewareStack);
78
-
79
- const { logger } = configuration;
80
- const clientName = "PersonalizeClient";
81
- const commandName = "DescribeCampaignCommand";
82
- const handlerExecutionContext: HandlerExecutionContext = {
83
- logger,
84
- clientName,
85
- commandName,
86
- inputFilterSensitiveLog: DescribeCampaignRequest.filterSensitiveLog,
87
- outputFilterSensitiveLog: DescribeCampaignResponse.filterSensitiveLog,
88
- };
89
- const { requestHandler } = configuration;
90
- return stack.resolve(
91
- (request: FinalizeHandlerArguments<any>) =>
92
- requestHandler.handle(request.request as __HttpRequest, options || {}),
93
- handlerExecutionContext
94
- );
95
- }
96
-
97
- private serialize(input: DescribeCampaignCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
98
- return serializeAws_json1_1DescribeCampaignCommand(input, context);
99
- }
100
-
101
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeCampaignCommandOutput> {
102
- return deserializeAws_json1_1DescribeCampaignCommand(output, context);
103
- }
104
-
105
- // Start section: command_body_extra
106
- // End section: command_body_extra
107
- }
@@ -1,95 +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 { DescribeDatasetRequest, DescribeDatasetResponse } from "../models/models_0";
15
- import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
16
- import {
17
- deserializeAws_json1_1DescribeDatasetCommand,
18
- serializeAws_json1_1DescribeDatasetCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DescribeDatasetCommandInput extends DescribeDatasetRequest {}
22
- export interface DescribeDatasetCommandOutput extends DescribeDatasetResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Describes the given dataset. For more information on datasets, see <a>CreateDataset</a>.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { PersonalizeClient, DescribeDatasetCommand } from "@aws-sdk/client-personalize"; // ES Modules import
30
- * // const { PersonalizeClient, DescribeDatasetCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
31
- * const client = new PersonalizeClient(config);
32
- * const command = new DescribeDatasetCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DescribeDatasetCommandInput} for command's `input` shape.
37
- * @see {@link DescribeDatasetCommandOutput} for command's `response` shape.
38
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DescribeDatasetCommand extends $Command<
42
- DescribeDatasetCommandInput,
43
- DescribeDatasetCommandOutput,
44
- PersonalizeClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DescribeDatasetCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: PersonalizeClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<DescribeDatasetCommandInput, DescribeDatasetCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "PersonalizeClient";
69
- const commandName = "DescribeDatasetCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DescribeDatasetRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DescribeDatasetResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: DescribeDatasetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1DescribeDatasetCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeDatasetCommandOutput> {
90
- return deserializeAws_json1_1DescribeDatasetCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,96 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DescribeDatasetExportJobRequest, DescribeDatasetExportJobResponse } from "../models/models_0";
15
- import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
16
- import {
17
- deserializeAws_json1_1DescribeDatasetExportJobCommand,
18
- serializeAws_json1_1DescribeDatasetExportJobCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DescribeDatasetExportJobCommandInput extends DescribeDatasetExportJobRequest {}
22
- export interface DescribeDatasetExportJobCommandOutput extends DescribeDatasetExportJobResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Describes the dataset export job created by <a>CreateDatasetExportJob</a>,
26
- * including the export job status.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { PersonalizeClient, DescribeDatasetExportJobCommand } from "@aws-sdk/client-personalize"; // ES Modules import
31
- * // const { PersonalizeClient, DescribeDatasetExportJobCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
32
- * const client = new PersonalizeClient(config);
33
- * const command = new DescribeDatasetExportJobCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link DescribeDatasetExportJobCommandInput} for command's `input` shape.
38
- * @see {@link DescribeDatasetExportJobCommandOutput} for command's `response` shape.
39
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class DescribeDatasetExportJobCommand extends $Command<
43
- DescribeDatasetExportJobCommandInput,
44
- DescribeDatasetExportJobCommandOutput,
45
- PersonalizeClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: DescribeDatasetExportJobCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: PersonalizeClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<DescribeDatasetExportJobCommandInput, DescribeDatasetExportJobCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "PersonalizeClient";
70
- const commandName = "DescribeDatasetExportJobCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: DescribeDatasetExportJobRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: DescribeDatasetExportJobResponse.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: DescribeDatasetExportJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1DescribeDatasetExportJobCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeDatasetExportJobCommandOutput> {
91
- return deserializeAws_json1_1DescribeDatasetExportJobCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }