@aws-sdk/client-personalize 3.40.0 → 3.45.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 (113) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/dist-cjs/Personalize.js +120 -0
  3. package/dist-cjs/commands/CreateBatchSegmentJobCommand.js +36 -0
  4. package/dist-cjs/commands/CreateRecommenderCommand.js +36 -0
  5. package/dist-cjs/commands/DeleteRecommenderCommand.js +36 -0
  6. package/dist-cjs/commands/DescribeBatchSegmentJobCommand.js +36 -0
  7. package/dist-cjs/commands/DescribeRecommenderCommand.js +36 -0
  8. package/dist-cjs/commands/ListBatchSegmentJobsCommand.js +36 -0
  9. package/dist-cjs/commands/ListRecommendersCommand.js +36 -0
  10. package/dist-cjs/commands/UpdateRecommenderCommand.js +36 -0
  11. package/dist-cjs/commands/index.js +8 -0
  12. package/dist-cjs/endpoints.js +9 -0
  13. package/dist-cjs/models/models_0.js +147 -3
  14. package/dist-cjs/pagination/ListBatchSegmentJobsPaginator.js +35 -0
  15. package/dist-cjs/pagination/ListRecommendersPaginator.js +35 -0
  16. package/dist-cjs/pagination/index.js +2 -0
  17. package/dist-cjs/protocols/Aws_json1_1.js +891 -28
  18. package/dist-es/Personalize.js +120 -0
  19. package/dist-es/commands/CreateBatchSegmentJobCommand.js +39 -0
  20. package/dist-es/commands/CreateRecommenderCommand.js +39 -0
  21. package/dist-es/commands/DeleteRecommenderCommand.js +39 -0
  22. package/dist-es/commands/DescribeBatchSegmentJobCommand.js +39 -0
  23. package/dist-es/commands/DescribeRecommenderCommand.js +39 -0
  24. package/dist-es/commands/ListBatchSegmentJobsCommand.js +39 -0
  25. package/dist-es/commands/ListRecommendersCommand.js +39 -0
  26. package/dist-es/commands/UpdateRecommenderCommand.js +39 -0
  27. package/dist-es/commands/index.js +8 -0
  28. package/dist-es/endpoints.js +9 -0
  29. package/dist-es/models/models_0.js +97 -0
  30. package/dist-es/pagination/ListBatchSegmentJobsPaginator.js +74 -0
  31. package/dist-es/pagination/ListRecommendersPaginator.js +74 -0
  32. package/dist-es/pagination/index.js +2 -0
  33. package/dist-es/protocols/Aws_json1_1.js +944 -38
  34. package/dist-types/Personalize.d.ts +137 -8
  35. package/dist-types/PersonalizeClient.d.ts +10 -2
  36. package/dist-types/commands/CreateBatchInferenceJobCommand.d.ts +1 -1
  37. package/dist-types/commands/CreateBatchSegmentJobCommand.d.ts +36 -0
  38. package/dist-types/commands/CreateCampaignCommand.d.ts +2 -2
  39. package/dist-types/commands/CreateDatasetCommand.d.ts +1 -1
  40. package/dist-types/commands/CreateDatasetExportJobCommand.d.ts +1 -1
  41. package/dist-types/commands/CreateDatasetGroupCommand.d.ts +9 -6
  42. package/dist-types/commands/CreateDatasetImportJobCommand.d.ts +1 -1
  43. package/dist-types/commands/CreateEventTrackerCommand.d.ts +1 -1
  44. package/dist-types/commands/CreateFilterCommand.d.ts +1 -1
  45. package/dist-types/commands/CreateRecommenderCommand.d.ts +84 -0
  46. package/dist-types/commands/CreateSchemaCommand.d.ts +3 -2
  47. package/dist-types/commands/CreateSolutionCommand.d.ts +1 -1
  48. package/dist-types/commands/CreateSolutionVersionCommand.d.ts +2 -2
  49. package/dist-types/commands/DeleteCampaignCommand.d.ts +1 -1
  50. package/dist-types/commands/DeleteDatasetCommand.d.ts +1 -1
  51. package/dist-types/commands/DeleteDatasetGroupCommand.d.ts +1 -1
  52. package/dist-types/commands/DeleteEventTrackerCommand.d.ts +1 -1
  53. package/dist-types/commands/DeleteFilterCommand.d.ts +1 -1
  54. package/dist-types/commands/DeleteRecommenderCommand.d.ts +36 -0
  55. package/dist-types/commands/DeleteSchemaCommand.d.ts +1 -1
  56. package/dist-types/commands/DeleteSolutionCommand.d.ts +1 -1
  57. package/dist-types/commands/DescribeAlgorithmCommand.d.ts +1 -1
  58. package/dist-types/commands/DescribeBatchInferenceJobCommand.d.ts +1 -1
  59. package/dist-types/commands/DescribeBatchSegmentJobCommand.d.ts +37 -0
  60. package/dist-types/commands/DescribeCampaignCommand.d.ts +1 -1
  61. package/dist-types/commands/DescribeDatasetCommand.d.ts +1 -1
  62. package/dist-types/commands/DescribeDatasetExportJobCommand.d.ts +1 -1
  63. package/dist-types/commands/DescribeDatasetGroupCommand.d.ts +1 -1
  64. package/dist-types/commands/DescribeDatasetImportJobCommand.d.ts +1 -1
  65. package/dist-types/commands/DescribeEventTrackerCommand.d.ts +1 -1
  66. package/dist-types/commands/DescribeFeatureTransformationCommand.d.ts +1 -1
  67. package/dist-types/commands/DescribeFilterCommand.d.ts +1 -1
  68. package/dist-types/commands/DescribeRecipeCommand.d.ts +1 -1
  69. package/dist-types/commands/DescribeRecommenderCommand.d.ts +47 -0
  70. package/dist-types/commands/DescribeSchemaCommand.d.ts +1 -1
  71. package/dist-types/commands/DescribeSolutionCommand.d.ts +1 -1
  72. package/dist-types/commands/DescribeSolutionVersionCommand.d.ts +1 -1
  73. package/dist-types/commands/GetSolutionMetricsCommand.d.ts +1 -1
  74. package/dist-types/commands/ListBatchInferenceJobsCommand.d.ts +1 -1
  75. package/dist-types/commands/ListBatchSegmentJobsCommand.d.ts +36 -0
  76. package/dist-types/commands/ListCampaignsCommand.d.ts +1 -1
  77. package/dist-types/commands/ListDatasetExportJobsCommand.d.ts +1 -1
  78. package/dist-types/commands/ListDatasetGroupsCommand.d.ts +1 -1
  79. package/dist-types/commands/ListDatasetImportJobsCommand.d.ts +1 -1
  80. package/dist-types/commands/ListDatasetsCommand.d.ts +1 -1
  81. package/dist-types/commands/ListEventTrackersCommand.d.ts +1 -1
  82. package/dist-types/commands/ListFiltersCommand.d.ts +1 -1
  83. package/dist-types/commands/ListRecipesCommand.d.ts +1 -1
  84. package/dist-types/commands/ListRecommendersCommand.d.ts +38 -0
  85. package/dist-types/commands/ListSchemasCommand.d.ts +1 -1
  86. package/dist-types/commands/ListSolutionVersionsCommand.d.ts +1 -1
  87. package/dist-types/commands/ListSolutionsCommand.d.ts +1 -1
  88. package/dist-types/commands/StopSolutionVersionCreationCommand.d.ts +1 -1
  89. package/dist-types/commands/UpdateCampaignCommand.d.ts +1 -1
  90. package/dist-types/commands/UpdateRecommenderCommand.d.ts +35 -0
  91. package/dist-types/commands/index.d.ts +8 -0
  92. package/dist-types/models/models_0.d.ts +634 -3
  93. package/dist-types/pagination/ListBatchSegmentJobsPaginator.d.ts +4 -0
  94. package/dist-types/pagination/ListRecommendersPaginator.d.ts +4 -0
  95. package/dist-types/pagination/index.d.ts +2 -0
  96. package/dist-types/protocols/Aws_json1_1.d.ts +24 -0
  97. package/dist-types/ts3.4/Personalize.d.ts +40 -0
  98. package/dist-types/ts3.4/PersonalizeClient.d.ts +10 -2
  99. package/dist-types/ts3.4/commands/CreateBatchSegmentJobCommand.d.ts +17 -0
  100. package/dist-types/ts3.4/commands/CreateRecommenderCommand.d.ts +17 -0
  101. package/dist-types/ts3.4/commands/DeleteRecommenderCommand.d.ts +17 -0
  102. package/dist-types/ts3.4/commands/DescribeBatchSegmentJobCommand.d.ts +17 -0
  103. package/dist-types/ts3.4/commands/DescribeRecommenderCommand.d.ts +17 -0
  104. package/dist-types/ts3.4/commands/ListBatchSegmentJobsCommand.d.ts +17 -0
  105. package/dist-types/ts3.4/commands/ListRecommendersCommand.d.ts +17 -0
  106. package/dist-types/ts3.4/commands/UpdateRecommenderCommand.d.ts +17 -0
  107. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  108. package/dist-types/ts3.4/models/models_0.d.ts +322 -0
  109. package/dist-types/ts3.4/pagination/ListBatchSegmentJobsPaginator.d.ts +4 -0
  110. package/dist-types/ts3.4/pagination/ListRecommendersPaginator.d.ts +4 -0
  111. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  112. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
  113. package/package.json +6 -6
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { UpdateRecommenderRequest, UpdateRecommenderResponse } from "../models/models_0";
4
+ import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
5
+ export interface UpdateRecommenderCommandInput extends UpdateRecommenderRequest {
6
+ }
7
+ export interface UpdateRecommenderCommandOutput extends UpdateRecommenderResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Updates the recommender to modify the recommender configuration.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { PersonalizeClient, UpdateRecommenderCommand } from "@aws-sdk/client-personalize"; // ES Modules import
15
+ * // const { PersonalizeClient, UpdateRecommenderCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
16
+ * const client = new PersonalizeClient(config);
17
+ * const command = new UpdateRecommenderCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link UpdateRecommenderCommandInput} for command's `input` shape.
22
+ * @see {@link UpdateRecommenderCommandOutput} for command's `response` shape.
23
+ * @see {@link PersonalizeClientResolvedConfig | config} for PersonalizeClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class UpdateRecommenderCommand extends $Command<UpdateRecommenderCommandInput, UpdateRecommenderCommandOutput, PersonalizeClientResolvedConfig> {
27
+ readonly input: UpdateRecommenderCommandInput;
28
+ constructor(input: UpdateRecommenderCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateRecommenderCommandInput, UpdateRecommenderCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -1,4 +1,5 @@
1
1
  export * from "./CreateBatchInferenceJobCommand";
2
+ export * from "./CreateBatchSegmentJobCommand";
2
3
  export * from "./CreateCampaignCommand";
3
4
  export * from "./CreateDatasetCommand";
4
5
  export * from "./CreateDatasetExportJobCommand";
@@ -6,6 +7,7 @@ export * from "./CreateDatasetGroupCommand";
6
7
  export * from "./CreateDatasetImportJobCommand";
7
8
  export * from "./CreateEventTrackerCommand";
8
9
  export * from "./CreateFilterCommand";
10
+ export * from "./CreateRecommenderCommand";
9
11
  export * from "./CreateSchemaCommand";
10
12
  export * from "./CreateSolutionCommand";
11
13
  export * from "./CreateSolutionVersionCommand";
@@ -14,10 +16,12 @@ export * from "./DeleteDatasetCommand";
14
16
  export * from "./DeleteDatasetGroupCommand";
15
17
  export * from "./DeleteEventTrackerCommand";
16
18
  export * from "./DeleteFilterCommand";
19
+ export * from "./DeleteRecommenderCommand";
17
20
  export * from "./DeleteSchemaCommand";
18
21
  export * from "./DeleteSolutionCommand";
19
22
  export * from "./DescribeAlgorithmCommand";
20
23
  export * from "./DescribeBatchInferenceJobCommand";
24
+ export * from "./DescribeBatchSegmentJobCommand";
21
25
  export * from "./DescribeCampaignCommand";
22
26
  export * from "./DescribeDatasetCommand";
23
27
  export * from "./DescribeDatasetExportJobCommand";
@@ -27,11 +31,13 @@ export * from "./DescribeEventTrackerCommand";
27
31
  export * from "./DescribeFeatureTransformationCommand";
28
32
  export * from "./DescribeFilterCommand";
29
33
  export * from "./DescribeRecipeCommand";
34
+ export * from "./DescribeRecommenderCommand";
30
35
  export * from "./DescribeSchemaCommand";
31
36
  export * from "./DescribeSolutionCommand";
32
37
  export * from "./DescribeSolutionVersionCommand";
33
38
  export * from "./GetSolutionMetricsCommand";
34
39
  export * from "./ListBatchInferenceJobsCommand";
40
+ export * from "./ListBatchSegmentJobsCommand";
35
41
  export * from "./ListCampaignsCommand";
36
42
  export * from "./ListDatasetExportJobsCommand";
37
43
  export * from "./ListDatasetGroupsCommand";
@@ -40,8 +46,10 @@ export * from "./ListDatasetsCommand";
40
46
  export * from "./ListEventTrackersCommand";
41
47
  export * from "./ListFiltersCommand";
42
48
  export * from "./ListRecipesCommand";
49
+ export * from "./ListRecommendersCommand";
43
50
  export * from "./ListSchemasCommand";
44
51
  export * from "./ListSolutionVersionsCommand";
45
52
  export * from "./ListSolutionsCommand";
46
53
  export * from "./StopSolutionVersionCreationCommand";
47
54
  export * from "./UpdateCampaignCommand";
55
+ export * from "./UpdateRecommenderCommand";