@aws-sdk/client-personalize 3.478.0 → 3.481.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (273) hide show
  1. package/dist-cjs/commands/CreateBatchInferenceJobCommand.js +18 -41
  2. package/dist-cjs/commands/CreateBatchSegmentJobCommand.js +18 -41
  3. package/dist-cjs/commands/CreateCampaignCommand.js +18 -41
  4. package/dist-cjs/commands/CreateDatasetCommand.js +18 -41
  5. package/dist-cjs/commands/CreateDatasetExportJobCommand.js +18 -41
  6. package/dist-cjs/commands/CreateDatasetGroupCommand.js +18 -41
  7. package/dist-cjs/commands/CreateDatasetImportJobCommand.js +18 -41
  8. package/dist-cjs/commands/CreateEventTrackerCommand.js +18 -41
  9. package/dist-cjs/commands/CreateFilterCommand.js +18 -41
  10. package/dist-cjs/commands/CreateMetricAttributionCommand.js +18 -41
  11. package/dist-cjs/commands/CreateRecommenderCommand.js +18 -41
  12. package/dist-cjs/commands/CreateSchemaCommand.js +18 -41
  13. package/dist-cjs/commands/CreateSolutionCommand.js +18 -41
  14. package/dist-cjs/commands/CreateSolutionVersionCommand.js +18 -41
  15. package/dist-cjs/commands/DeleteCampaignCommand.js +18 -41
  16. package/dist-cjs/commands/DeleteDatasetCommand.js +18 -41
  17. package/dist-cjs/commands/DeleteDatasetGroupCommand.js +18 -41
  18. package/dist-cjs/commands/DeleteEventTrackerCommand.js +18 -41
  19. package/dist-cjs/commands/DeleteFilterCommand.js +18 -41
  20. package/dist-cjs/commands/DeleteMetricAttributionCommand.js +18 -41
  21. package/dist-cjs/commands/DeleteRecommenderCommand.js +18 -41
  22. package/dist-cjs/commands/DeleteSchemaCommand.js +18 -41
  23. package/dist-cjs/commands/DeleteSolutionCommand.js +18 -41
  24. package/dist-cjs/commands/DescribeAlgorithmCommand.js +18 -41
  25. package/dist-cjs/commands/DescribeBatchInferenceJobCommand.js +18 -41
  26. package/dist-cjs/commands/DescribeBatchSegmentJobCommand.js +18 -41
  27. package/dist-cjs/commands/DescribeCampaignCommand.js +18 -41
  28. package/dist-cjs/commands/DescribeDatasetCommand.js +18 -41
  29. package/dist-cjs/commands/DescribeDatasetExportJobCommand.js +18 -41
  30. package/dist-cjs/commands/DescribeDatasetGroupCommand.js +18 -41
  31. package/dist-cjs/commands/DescribeDatasetImportJobCommand.js +18 -41
  32. package/dist-cjs/commands/DescribeEventTrackerCommand.js +18 -41
  33. package/dist-cjs/commands/DescribeFeatureTransformationCommand.js +18 -41
  34. package/dist-cjs/commands/DescribeFilterCommand.js +18 -41
  35. package/dist-cjs/commands/DescribeMetricAttributionCommand.js +18 -41
  36. package/dist-cjs/commands/DescribeRecipeCommand.js +18 -41
  37. package/dist-cjs/commands/DescribeRecommenderCommand.js +18 -41
  38. package/dist-cjs/commands/DescribeSchemaCommand.js +18 -41
  39. package/dist-cjs/commands/DescribeSolutionCommand.js +18 -41
  40. package/dist-cjs/commands/DescribeSolutionVersionCommand.js +18 -41
  41. package/dist-cjs/commands/GetSolutionMetricsCommand.js +18 -41
  42. package/dist-cjs/commands/ListBatchInferenceJobsCommand.js +18 -41
  43. package/dist-cjs/commands/ListBatchSegmentJobsCommand.js +18 -41
  44. package/dist-cjs/commands/ListCampaignsCommand.js +18 -41
  45. package/dist-cjs/commands/ListDatasetExportJobsCommand.js +18 -41
  46. package/dist-cjs/commands/ListDatasetGroupsCommand.js +18 -41
  47. package/dist-cjs/commands/ListDatasetImportJobsCommand.js +18 -41
  48. package/dist-cjs/commands/ListDatasetsCommand.js +18 -41
  49. package/dist-cjs/commands/ListEventTrackersCommand.js +18 -41
  50. package/dist-cjs/commands/ListFiltersCommand.js +18 -41
  51. package/dist-cjs/commands/ListMetricAttributionMetricsCommand.js +18 -41
  52. package/dist-cjs/commands/ListMetricAttributionsCommand.js +18 -41
  53. package/dist-cjs/commands/ListRecipesCommand.js +18 -41
  54. package/dist-cjs/commands/ListRecommendersCommand.js +18 -41
  55. package/dist-cjs/commands/ListSchemasCommand.js +18 -41
  56. package/dist-cjs/commands/ListSolutionVersionsCommand.js +18 -41
  57. package/dist-cjs/commands/ListSolutionsCommand.js +18 -41
  58. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  59. package/dist-cjs/commands/StartRecommenderCommand.js +18 -41
  60. package/dist-cjs/commands/StopRecommenderCommand.js +18 -41
  61. package/dist-cjs/commands/StopSolutionVersionCreationCommand.js +18 -41
  62. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  63. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  64. package/dist-cjs/commands/UpdateCampaignCommand.js +18 -41
  65. package/dist-cjs/commands/UpdateDatasetCommand.js +18 -41
  66. package/dist-cjs/commands/UpdateMetricAttributionCommand.js +18 -41
  67. package/dist-cjs/commands/UpdateRecommenderCommand.js +18 -41
  68. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  69. package/dist-es/commands/CreateBatchInferenceJobCommand.js +18 -41
  70. package/dist-es/commands/CreateBatchSegmentJobCommand.js +18 -41
  71. package/dist-es/commands/CreateCampaignCommand.js +18 -41
  72. package/dist-es/commands/CreateDatasetCommand.js +18 -41
  73. package/dist-es/commands/CreateDatasetExportJobCommand.js +18 -41
  74. package/dist-es/commands/CreateDatasetGroupCommand.js +18 -41
  75. package/dist-es/commands/CreateDatasetImportJobCommand.js +18 -41
  76. package/dist-es/commands/CreateEventTrackerCommand.js +18 -41
  77. package/dist-es/commands/CreateFilterCommand.js +18 -41
  78. package/dist-es/commands/CreateMetricAttributionCommand.js +18 -41
  79. package/dist-es/commands/CreateRecommenderCommand.js +18 -41
  80. package/dist-es/commands/CreateSchemaCommand.js +18 -41
  81. package/dist-es/commands/CreateSolutionCommand.js +18 -41
  82. package/dist-es/commands/CreateSolutionVersionCommand.js +18 -41
  83. package/dist-es/commands/DeleteCampaignCommand.js +18 -41
  84. package/dist-es/commands/DeleteDatasetCommand.js +18 -41
  85. package/dist-es/commands/DeleteDatasetGroupCommand.js +18 -41
  86. package/dist-es/commands/DeleteEventTrackerCommand.js +18 -41
  87. package/dist-es/commands/DeleteFilterCommand.js +18 -41
  88. package/dist-es/commands/DeleteMetricAttributionCommand.js +18 -41
  89. package/dist-es/commands/DeleteRecommenderCommand.js +18 -41
  90. package/dist-es/commands/DeleteSchemaCommand.js +18 -41
  91. package/dist-es/commands/DeleteSolutionCommand.js +18 -41
  92. package/dist-es/commands/DescribeAlgorithmCommand.js +18 -41
  93. package/dist-es/commands/DescribeBatchInferenceJobCommand.js +18 -41
  94. package/dist-es/commands/DescribeBatchSegmentJobCommand.js +18 -41
  95. package/dist-es/commands/DescribeCampaignCommand.js +18 -41
  96. package/dist-es/commands/DescribeDatasetCommand.js +18 -41
  97. package/dist-es/commands/DescribeDatasetExportJobCommand.js +18 -41
  98. package/dist-es/commands/DescribeDatasetGroupCommand.js +18 -41
  99. package/dist-es/commands/DescribeDatasetImportJobCommand.js +18 -41
  100. package/dist-es/commands/DescribeEventTrackerCommand.js +18 -41
  101. package/dist-es/commands/DescribeFeatureTransformationCommand.js +18 -41
  102. package/dist-es/commands/DescribeFilterCommand.js +18 -41
  103. package/dist-es/commands/DescribeMetricAttributionCommand.js +18 -41
  104. package/dist-es/commands/DescribeRecipeCommand.js +18 -41
  105. package/dist-es/commands/DescribeRecommenderCommand.js +18 -41
  106. package/dist-es/commands/DescribeSchemaCommand.js +18 -41
  107. package/dist-es/commands/DescribeSolutionCommand.js +18 -41
  108. package/dist-es/commands/DescribeSolutionVersionCommand.js +18 -41
  109. package/dist-es/commands/GetSolutionMetricsCommand.js +18 -41
  110. package/dist-es/commands/ListBatchInferenceJobsCommand.js +18 -41
  111. package/dist-es/commands/ListBatchSegmentJobsCommand.js +18 -41
  112. package/dist-es/commands/ListCampaignsCommand.js +18 -41
  113. package/dist-es/commands/ListDatasetExportJobsCommand.js +18 -41
  114. package/dist-es/commands/ListDatasetGroupsCommand.js +18 -41
  115. package/dist-es/commands/ListDatasetImportJobsCommand.js +18 -41
  116. package/dist-es/commands/ListDatasetsCommand.js +18 -41
  117. package/dist-es/commands/ListEventTrackersCommand.js +18 -41
  118. package/dist-es/commands/ListFiltersCommand.js +18 -41
  119. package/dist-es/commands/ListMetricAttributionMetricsCommand.js +18 -41
  120. package/dist-es/commands/ListMetricAttributionsCommand.js +18 -41
  121. package/dist-es/commands/ListRecipesCommand.js +18 -41
  122. package/dist-es/commands/ListRecommendersCommand.js +18 -41
  123. package/dist-es/commands/ListSchemasCommand.js +18 -41
  124. package/dist-es/commands/ListSolutionVersionsCommand.js +18 -41
  125. package/dist-es/commands/ListSolutionsCommand.js +18 -41
  126. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  127. package/dist-es/commands/StartRecommenderCommand.js +18 -41
  128. package/dist-es/commands/StopRecommenderCommand.js +18 -41
  129. package/dist-es/commands/StopSolutionVersionCreationCommand.js +18 -41
  130. package/dist-es/commands/TagResourceCommand.js +18 -41
  131. package/dist-es/commands/UntagResourceCommand.js +18 -41
  132. package/dist-es/commands/UpdateCampaignCommand.js +18 -41
  133. package/dist-es/commands/UpdateDatasetCommand.js +18 -41
  134. package/dist-es/commands/UpdateMetricAttributionCommand.js +18 -41
  135. package/dist-es/commands/UpdateRecommenderCommand.js +18 -41
  136. package/dist-es/endpoint/EndpointParameters.js +6 -0
  137. package/dist-types/commands/CreateBatchInferenceJobCommand.d.ts +6 -21
  138. package/dist-types/commands/CreateBatchSegmentJobCommand.d.ts +6 -21
  139. package/dist-types/commands/CreateCampaignCommand.d.ts +6 -21
  140. package/dist-types/commands/CreateDatasetCommand.d.ts +6 -21
  141. package/dist-types/commands/CreateDatasetExportJobCommand.d.ts +6 -21
  142. package/dist-types/commands/CreateDatasetGroupCommand.d.ts +6 -21
  143. package/dist-types/commands/CreateDatasetImportJobCommand.d.ts +6 -21
  144. package/dist-types/commands/CreateEventTrackerCommand.d.ts +6 -21
  145. package/dist-types/commands/CreateFilterCommand.d.ts +6 -21
  146. package/dist-types/commands/CreateMetricAttributionCommand.d.ts +6 -21
  147. package/dist-types/commands/CreateRecommenderCommand.d.ts +6 -21
  148. package/dist-types/commands/CreateSchemaCommand.d.ts +6 -21
  149. package/dist-types/commands/CreateSolutionCommand.d.ts +6 -21
  150. package/dist-types/commands/CreateSolutionVersionCommand.d.ts +6 -21
  151. package/dist-types/commands/DeleteCampaignCommand.d.ts +6 -21
  152. package/dist-types/commands/DeleteDatasetCommand.d.ts +6 -21
  153. package/dist-types/commands/DeleteDatasetGroupCommand.d.ts +6 -21
  154. package/dist-types/commands/DeleteEventTrackerCommand.d.ts +6 -21
  155. package/dist-types/commands/DeleteFilterCommand.d.ts +6 -21
  156. package/dist-types/commands/DeleteMetricAttributionCommand.d.ts +6 -21
  157. package/dist-types/commands/DeleteRecommenderCommand.d.ts +6 -21
  158. package/dist-types/commands/DeleteSchemaCommand.d.ts +6 -21
  159. package/dist-types/commands/DeleteSolutionCommand.d.ts +6 -21
  160. package/dist-types/commands/DescribeAlgorithmCommand.d.ts +6 -21
  161. package/dist-types/commands/DescribeBatchInferenceJobCommand.d.ts +6 -21
  162. package/dist-types/commands/DescribeBatchSegmentJobCommand.d.ts +6 -21
  163. package/dist-types/commands/DescribeCampaignCommand.d.ts +6 -21
  164. package/dist-types/commands/DescribeDatasetCommand.d.ts +6 -21
  165. package/dist-types/commands/DescribeDatasetExportJobCommand.d.ts +6 -21
  166. package/dist-types/commands/DescribeDatasetGroupCommand.d.ts +6 -21
  167. package/dist-types/commands/DescribeDatasetImportJobCommand.d.ts +6 -21
  168. package/dist-types/commands/DescribeEventTrackerCommand.d.ts +6 -21
  169. package/dist-types/commands/DescribeFeatureTransformationCommand.d.ts +6 -21
  170. package/dist-types/commands/DescribeFilterCommand.d.ts +6 -21
  171. package/dist-types/commands/DescribeMetricAttributionCommand.d.ts +6 -21
  172. package/dist-types/commands/DescribeRecipeCommand.d.ts +6 -21
  173. package/dist-types/commands/DescribeRecommenderCommand.d.ts +6 -21
  174. package/dist-types/commands/DescribeSchemaCommand.d.ts +6 -21
  175. package/dist-types/commands/DescribeSolutionCommand.d.ts +6 -21
  176. package/dist-types/commands/DescribeSolutionVersionCommand.d.ts +6 -21
  177. package/dist-types/commands/GetSolutionMetricsCommand.d.ts +6 -21
  178. package/dist-types/commands/ListBatchInferenceJobsCommand.d.ts +6 -21
  179. package/dist-types/commands/ListBatchSegmentJobsCommand.d.ts +6 -21
  180. package/dist-types/commands/ListCampaignsCommand.d.ts +6 -21
  181. package/dist-types/commands/ListDatasetExportJobsCommand.d.ts +6 -21
  182. package/dist-types/commands/ListDatasetGroupsCommand.d.ts +6 -21
  183. package/dist-types/commands/ListDatasetImportJobsCommand.d.ts +6 -21
  184. package/dist-types/commands/ListDatasetsCommand.d.ts +6 -21
  185. package/dist-types/commands/ListEventTrackersCommand.d.ts +6 -21
  186. package/dist-types/commands/ListFiltersCommand.d.ts +6 -21
  187. package/dist-types/commands/ListMetricAttributionMetricsCommand.d.ts +6 -21
  188. package/dist-types/commands/ListMetricAttributionsCommand.d.ts +6 -21
  189. package/dist-types/commands/ListRecipesCommand.d.ts +6 -21
  190. package/dist-types/commands/ListRecommendersCommand.d.ts +6 -21
  191. package/dist-types/commands/ListSchemasCommand.d.ts +6 -21
  192. package/dist-types/commands/ListSolutionVersionsCommand.d.ts +6 -21
  193. package/dist-types/commands/ListSolutionsCommand.d.ts +6 -21
  194. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  195. package/dist-types/commands/StartRecommenderCommand.d.ts +6 -21
  196. package/dist-types/commands/StopRecommenderCommand.d.ts +6 -21
  197. package/dist-types/commands/StopSolutionVersionCreationCommand.d.ts +6 -21
  198. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  199. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  200. package/dist-types/commands/UpdateCampaignCommand.d.ts +6 -21
  201. package/dist-types/commands/UpdateDatasetCommand.d.ts +6 -21
  202. package/dist-types/commands/UpdateMetricAttributionCommand.d.ts +6 -21
  203. package/dist-types/commands/UpdateRecommenderCommand.d.ts +6 -21
  204. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  205. package/dist-types/ts3.4/commands/CreateBatchInferenceJobCommand.d.ts +12 -24
  206. package/dist-types/ts3.4/commands/CreateBatchSegmentJobCommand.d.ts +12 -24
  207. package/dist-types/ts3.4/commands/CreateCampaignCommand.d.ts +14 -23
  208. package/dist-types/ts3.4/commands/CreateDatasetCommand.d.ts +14 -23
  209. package/dist-types/ts3.4/commands/CreateDatasetExportJobCommand.d.ts +12 -24
  210. package/dist-types/ts3.4/commands/CreateDatasetGroupCommand.d.ts +14 -23
  211. package/dist-types/ts3.4/commands/CreateDatasetImportJobCommand.d.ts +12 -24
  212. package/dist-types/ts3.4/commands/CreateEventTrackerCommand.d.ts +14 -23
  213. package/dist-types/ts3.4/commands/CreateFilterCommand.d.ts +14 -23
  214. package/dist-types/ts3.4/commands/CreateMetricAttributionCommand.d.ts +12 -24
  215. package/dist-types/ts3.4/commands/CreateRecommenderCommand.d.ts +14 -23
  216. package/dist-types/ts3.4/commands/CreateSchemaCommand.d.ts +14 -23
  217. package/dist-types/ts3.4/commands/CreateSolutionCommand.d.ts +14 -23
  218. package/dist-types/ts3.4/commands/CreateSolutionVersionCommand.d.ts +12 -24
  219. package/dist-types/ts3.4/commands/DeleteCampaignCommand.d.ts +14 -23
  220. package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +14 -23
  221. package/dist-types/ts3.4/commands/DeleteDatasetGroupCommand.d.ts +14 -23
  222. package/dist-types/ts3.4/commands/DeleteEventTrackerCommand.d.ts +14 -23
  223. package/dist-types/ts3.4/commands/DeleteFilterCommand.d.ts +14 -23
  224. package/dist-types/ts3.4/commands/DeleteMetricAttributionCommand.d.ts +12 -24
  225. package/dist-types/ts3.4/commands/DeleteRecommenderCommand.d.ts +14 -23
  226. package/dist-types/ts3.4/commands/DeleteSchemaCommand.d.ts +14 -23
  227. package/dist-types/ts3.4/commands/DeleteSolutionCommand.d.ts +14 -23
  228. package/dist-types/ts3.4/commands/DescribeAlgorithmCommand.d.ts +14 -23
  229. package/dist-types/ts3.4/commands/DescribeBatchInferenceJobCommand.d.ts +12 -24
  230. package/dist-types/ts3.4/commands/DescribeBatchSegmentJobCommand.d.ts +12 -24
  231. package/dist-types/ts3.4/commands/DescribeCampaignCommand.d.ts +14 -23
  232. package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +14 -23
  233. package/dist-types/ts3.4/commands/DescribeDatasetExportJobCommand.d.ts +12 -24
  234. package/dist-types/ts3.4/commands/DescribeDatasetGroupCommand.d.ts +12 -24
  235. package/dist-types/ts3.4/commands/DescribeDatasetImportJobCommand.d.ts +12 -24
  236. package/dist-types/ts3.4/commands/DescribeEventTrackerCommand.d.ts +12 -24
  237. package/dist-types/ts3.4/commands/DescribeFeatureTransformationCommand.d.ts +12 -24
  238. package/dist-types/ts3.4/commands/DescribeFilterCommand.d.ts +14 -23
  239. package/dist-types/ts3.4/commands/DescribeMetricAttributionCommand.d.ts +12 -24
  240. package/dist-types/ts3.4/commands/DescribeRecipeCommand.d.ts +14 -23
  241. package/dist-types/ts3.4/commands/DescribeRecommenderCommand.d.ts +14 -23
  242. package/dist-types/ts3.4/commands/DescribeSchemaCommand.d.ts +14 -23
  243. package/dist-types/ts3.4/commands/DescribeSolutionCommand.d.ts +14 -23
  244. package/dist-types/ts3.4/commands/DescribeSolutionVersionCommand.d.ts +12 -24
  245. package/dist-types/ts3.4/commands/GetSolutionMetricsCommand.d.ts +14 -23
  246. package/dist-types/ts3.4/commands/ListBatchInferenceJobsCommand.d.ts +12 -24
  247. package/dist-types/ts3.4/commands/ListBatchSegmentJobsCommand.d.ts +12 -24
  248. package/dist-types/ts3.4/commands/ListCampaignsCommand.d.ts +14 -23
  249. package/dist-types/ts3.4/commands/ListDatasetExportJobsCommand.d.ts +12 -24
  250. package/dist-types/ts3.4/commands/ListDatasetGroupsCommand.d.ts +14 -23
  251. package/dist-types/ts3.4/commands/ListDatasetImportJobsCommand.d.ts +12 -24
  252. package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +14 -23
  253. package/dist-types/ts3.4/commands/ListEventTrackersCommand.d.ts +14 -23
  254. package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +14 -23
  255. package/dist-types/ts3.4/commands/ListMetricAttributionMetricsCommand.d.ts +12 -24
  256. package/dist-types/ts3.4/commands/ListMetricAttributionsCommand.d.ts +12 -24
  257. package/dist-types/ts3.4/commands/ListRecipesCommand.d.ts +14 -23
  258. package/dist-types/ts3.4/commands/ListRecommendersCommand.d.ts +14 -23
  259. package/dist-types/ts3.4/commands/ListSchemasCommand.d.ts +14 -23
  260. package/dist-types/ts3.4/commands/ListSolutionVersionsCommand.d.ts +12 -24
  261. package/dist-types/ts3.4/commands/ListSolutionsCommand.d.ts +14 -23
  262. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  263. package/dist-types/ts3.4/commands/StartRecommenderCommand.d.ts +14 -23
  264. package/dist-types/ts3.4/commands/StopRecommenderCommand.d.ts +14 -23
  265. package/dist-types/ts3.4/commands/StopSolutionVersionCreationCommand.d.ts +12 -24
  266. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  267. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  268. package/dist-types/ts3.4/commands/UpdateCampaignCommand.d.ts +14 -23
  269. package/dist-types/ts3.4/commands/UpdateDatasetCommand.d.ts +14 -23
  270. package/dist-types/ts3.4/commands/UpdateMetricAttributionCommand.d.ts +12 -24
  271. package/dist-types/ts3.4/commands/UpdateRecommenderCommand.d.ts +14 -23
  272. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  273. package/package.json +9 -9
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class DescribeDatasetCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeDatasetCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "PersonalizeClient";
29
- const commandName = "DescribeDatasetCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonPersonalize",
38
- operation: "DescribeDataset",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_DescribeDatasetCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_DescribeDatasetCommand)(output, context);
49
- }
10
+ class DescribeDatasetCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonPersonalize", "DescribeDataset", {})
22
+ .n("PersonalizeClient", "DescribeDatasetCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_DescribeDatasetCommand)
25
+ .de(Aws_json1_1_1.de_DescribeDatasetCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeDatasetCommand = DescribeDatasetCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class DescribeDatasetExportJobCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeDatasetExportJobCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "PersonalizeClient";
29
- const commandName = "DescribeDatasetExportJobCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonPersonalize",
38
- operation: "DescribeDatasetExportJob",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_DescribeDatasetExportJobCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_DescribeDatasetExportJobCommand)(output, context);
49
- }
10
+ class DescribeDatasetExportJobCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonPersonalize", "DescribeDatasetExportJob", {})
22
+ .n("PersonalizeClient", "DescribeDatasetExportJobCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_DescribeDatasetExportJobCommand)
25
+ .de(Aws_json1_1_1.de_DescribeDatasetExportJobCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeDatasetExportJobCommand = DescribeDatasetExportJobCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class DescribeDatasetGroupCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeDatasetGroupCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "PersonalizeClient";
29
- const commandName = "DescribeDatasetGroupCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonPersonalize",
38
- operation: "DescribeDatasetGroup",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_DescribeDatasetGroupCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_DescribeDatasetGroupCommand)(output, context);
49
- }
10
+ class DescribeDatasetGroupCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonPersonalize", "DescribeDatasetGroup", {})
22
+ .n("PersonalizeClient", "DescribeDatasetGroupCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_DescribeDatasetGroupCommand)
25
+ .de(Aws_json1_1_1.de_DescribeDatasetGroupCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeDatasetGroupCommand = DescribeDatasetGroupCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class DescribeDatasetImportJobCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeDatasetImportJobCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "PersonalizeClient";
29
- const commandName = "DescribeDatasetImportJobCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonPersonalize",
38
- operation: "DescribeDatasetImportJob",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_DescribeDatasetImportJobCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_DescribeDatasetImportJobCommand)(output, context);
49
- }
10
+ class DescribeDatasetImportJobCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonPersonalize", "DescribeDatasetImportJob", {})
22
+ .n("PersonalizeClient", "DescribeDatasetImportJobCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_DescribeDatasetImportJobCommand)
25
+ .de(Aws_json1_1_1.de_DescribeDatasetImportJobCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeDatasetImportJobCommand = DescribeDatasetImportJobCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class DescribeEventTrackerCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeEventTrackerCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "PersonalizeClient";
29
- const commandName = "DescribeEventTrackerCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonPersonalize",
38
- operation: "DescribeEventTracker",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_DescribeEventTrackerCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_DescribeEventTrackerCommand)(output, context);
49
- }
10
+ class DescribeEventTrackerCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonPersonalize", "DescribeEventTracker", {})
22
+ .n("PersonalizeClient", "DescribeEventTrackerCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_DescribeEventTrackerCommand)
25
+ .de(Aws_json1_1_1.de_DescribeEventTrackerCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeEventTrackerCommand = DescribeEventTrackerCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class DescribeFeatureTransformationCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeFeatureTransformationCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "PersonalizeClient";
29
- const commandName = "DescribeFeatureTransformationCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonPersonalize",
38
- operation: "DescribeFeatureTransformation",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_DescribeFeatureTransformationCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_DescribeFeatureTransformationCommand)(output, context);
49
- }
10
+ class DescribeFeatureTransformationCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonPersonalize", "DescribeFeatureTransformation", {})
22
+ .n("PersonalizeClient", "DescribeFeatureTransformationCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_DescribeFeatureTransformationCommand)
25
+ .de(Aws_json1_1_1.de_DescribeFeatureTransformationCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeFeatureTransformationCommand = DescribeFeatureTransformationCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
11
- class DescribeFilterCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeFilterCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "PersonalizeClient";
30
- const commandName = "DescribeFilterCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: (_) => _,
36
- outputFilterSensitiveLog: models_0_1.DescribeFilterResponseFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "AmazonPersonalize",
39
- operation: "DescribeFilter",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_json1_1_1.se_DescribeFilterCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_json1_1_1.de_DescribeFilterCommand)(output, context);
50
- }
11
+ class DescribeFilterCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("AmazonPersonalize", "DescribeFilter", {})
23
+ .n("PersonalizeClient", "DescribeFilterCommand")
24
+ .f(void 0, models_0_1.DescribeFilterResponseFilterSensitiveLog)
25
+ .ser(Aws_json1_1_1.se_DescribeFilterCommand)
26
+ .de(Aws_json1_1_1.de_DescribeFilterCommand)
27
+ .build() {
51
28
  }
52
29
  exports.DescribeFilterCommand = DescribeFilterCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class DescribeMetricAttributionCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeMetricAttributionCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "PersonalizeClient";
29
- const commandName = "DescribeMetricAttributionCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonPersonalize",
38
- operation: "DescribeMetricAttribution",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_DescribeMetricAttributionCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_DescribeMetricAttributionCommand)(output, context);
49
- }
10
+ class DescribeMetricAttributionCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonPersonalize", "DescribeMetricAttribution", {})
22
+ .n("PersonalizeClient", "DescribeMetricAttributionCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_DescribeMetricAttributionCommand)
25
+ .de(Aws_json1_1_1.de_DescribeMetricAttributionCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeMetricAttributionCommand = DescribeMetricAttributionCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class DescribeRecipeCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeRecipeCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "PersonalizeClient";
29
- const commandName = "DescribeRecipeCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonPersonalize",
38
- operation: "DescribeRecipe",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_DescribeRecipeCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_DescribeRecipeCommand)(output, context);
49
- }
10
+ class DescribeRecipeCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonPersonalize", "DescribeRecipe", {})
22
+ .n("PersonalizeClient", "DescribeRecipeCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_DescribeRecipeCommand)
25
+ .de(Aws_json1_1_1.de_DescribeRecipeCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeRecipeCommand = DescribeRecipeCommand;