@aws-sdk/client-personalize 3.39.0 → 3.43.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 (123) 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 +74 -5
  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-cjs/runtimeConfig.browser.js +6 -3
  19. package/dist-cjs/runtimeConfig.js +5 -3
  20. package/dist-es/Personalize.js +120 -0
  21. package/dist-es/commands/CreateBatchSegmentJobCommand.js +39 -0
  22. package/dist-es/commands/CreateRecommenderCommand.js +39 -0
  23. package/dist-es/commands/DeleteRecommenderCommand.js +39 -0
  24. package/dist-es/commands/DescribeBatchSegmentJobCommand.js +39 -0
  25. package/dist-es/commands/DescribeRecommenderCommand.js +39 -0
  26. package/dist-es/commands/ListBatchSegmentJobsCommand.js +39 -0
  27. package/dist-es/commands/ListRecommendersCommand.js +39 -0
  28. package/dist-es/commands/UpdateRecommenderCommand.js +39 -0
  29. package/dist-es/commands/index.js +8 -0
  30. package/dist-es/endpoints.js +74 -5
  31. package/dist-es/models/models_0.js +97 -0
  32. package/dist-es/pagination/ListBatchSegmentJobsPaginator.js +74 -0
  33. package/dist-es/pagination/ListRecommendersPaginator.js +74 -0
  34. package/dist-es/pagination/index.js +2 -0
  35. package/dist-es/protocols/Aws_json1_1.js +944 -38
  36. package/dist-es/runtimeConfig.browser.js +3 -2
  37. package/dist-es/runtimeConfig.js +3 -3
  38. package/dist-types/Personalize.d.ts +137 -8
  39. package/dist-types/PersonalizeClient.d.ts +18 -2
  40. package/dist-types/commands/CreateBatchInferenceJobCommand.d.ts +1 -1
  41. package/dist-types/commands/CreateBatchSegmentJobCommand.d.ts +36 -0
  42. package/dist-types/commands/CreateCampaignCommand.d.ts +2 -2
  43. package/dist-types/commands/CreateDatasetCommand.d.ts +1 -1
  44. package/dist-types/commands/CreateDatasetExportJobCommand.d.ts +1 -1
  45. package/dist-types/commands/CreateDatasetGroupCommand.d.ts +9 -6
  46. package/dist-types/commands/CreateDatasetImportJobCommand.d.ts +1 -1
  47. package/dist-types/commands/CreateEventTrackerCommand.d.ts +1 -1
  48. package/dist-types/commands/CreateFilterCommand.d.ts +1 -1
  49. package/dist-types/commands/CreateRecommenderCommand.d.ts +84 -0
  50. package/dist-types/commands/CreateSchemaCommand.d.ts +3 -2
  51. package/dist-types/commands/CreateSolutionCommand.d.ts +1 -1
  52. package/dist-types/commands/CreateSolutionVersionCommand.d.ts +2 -2
  53. package/dist-types/commands/DeleteCampaignCommand.d.ts +1 -1
  54. package/dist-types/commands/DeleteDatasetCommand.d.ts +1 -1
  55. package/dist-types/commands/DeleteDatasetGroupCommand.d.ts +1 -1
  56. package/dist-types/commands/DeleteEventTrackerCommand.d.ts +1 -1
  57. package/dist-types/commands/DeleteFilterCommand.d.ts +1 -1
  58. package/dist-types/commands/DeleteRecommenderCommand.d.ts +36 -0
  59. package/dist-types/commands/DeleteSchemaCommand.d.ts +1 -1
  60. package/dist-types/commands/DeleteSolutionCommand.d.ts +1 -1
  61. package/dist-types/commands/DescribeAlgorithmCommand.d.ts +1 -1
  62. package/dist-types/commands/DescribeBatchInferenceJobCommand.d.ts +1 -1
  63. package/dist-types/commands/DescribeBatchSegmentJobCommand.d.ts +37 -0
  64. package/dist-types/commands/DescribeCampaignCommand.d.ts +1 -1
  65. package/dist-types/commands/DescribeDatasetCommand.d.ts +1 -1
  66. package/dist-types/commands/DescribeDatasetExportJobCommand.d.ts +1 -1
  67. package/dist-types/commands/DescribeDatasetGroupCommand.d.ts +1 -1
  68. package/dist-types/commands/DescribeDatasetImportJobCommand.d.ts +1 -1
  69. package/dist-types/commands/DescribeEventTrackerCommand.d.ts +1 -1
  70. package/dist-types/commands/DescribeFeatureTransformationCommand.d.ts +1 -1
  71. package/dist-types/commands/DescribeFilterCommand.d.ts +1 -1
  72. package/dist-types/commands/DescribeRecipeCommand.d.ts +1 -1
  73. package/dist-types/commands/DescribeRecommenderCommand.d.ts +47 -0
  74. package/dist-types/commands/DescribeSchemaCommand.d.ts +1 -1
  75. package/dist-types/commands/DescribeSolutionCommand.d.ts +1 -1
  76. package/dist-types/commands/DescribeSolutionVersionCommand.d.ts +1 -1
  77. package/dist-types/commands/GetSolutionMetricsCommand.d.ts +1 -1
  78. package/dist-types/commands/ListBatchInferenceJobsCommand.d.ts +1 -1
  79. package/dist-types/commands/ListBatchSegmentJobsCommand.d.ts +36 -0
  80. package/dist-types/commands/ListCampaignsCommand.d.ts +1 -1
  81. package/dist-types/commands/ListDatasetExportJobsCommand.d.ts +1 -1
  82. package/dist-types/commands/ListDatasetGroupsCommand.d.ts +1 -1
  83. package/dist-types/commands/ListDatasetImportJobsCommand.d.ts +1 -1
  84. package/dist-types/commands/ListDatasetsCommand.d.ts +1 -1
  85. package/dist-types/commands/ListEventTrackersCommand.d.ts +1 -1
  86. package/dist-types/commands/ListFiltersCommand.d.ts +1 -1
  87. package/dist-types/commands/ListRecipesCommand.d.ts +1 -1
  88. package/dist-types/commands/ListRecommendersCommand.d.ts +38 -0
  89. package/dist-types/commands/ListSchemasCommand.d.ts +1 -1
  90. package/dist-types/commands/ListSolutionVersionsCommand.d.ts +1 -1
  91. package/dist-types/commands/ListSolutionsCommand.d.ts +1 -1
  92. package/dist-types/commands/StopSolutionVersionCreationCommand.d.ts +1 -1
  93. package/dist-types/commands/UpdateCampaignCommand.d.ts +1 -1
  94. package/dist-types/commands/UpdateRecommenderCommand.d.ts +35 -0
  95. package/dist-types/commands/index.d.ts +8 -0
  96. package/dist-types/models/models_0.d.ts +634 -3
  97. package/dist-types/pagination/ListBatchSegmentJobsPaginator.d.ts +4 -0
  98. package/dist-types/pagination/ListRecommendersPaginator.d.ts +4 -0
  99. package/dist-types/pagination/index.d.ts +2 -0
  100. package/dist-types/protocols/Aws_json1_1.d.ts +24 -0
  101. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  102. package/dist-types/runtimeConfig.d.ts +2 -0
  103. package/dist-types/runtimeConfig.native.d.ts +2 -0
  104. package/dist-types/ts3.4/Personalize.d.ts +40 -0
  105. package/dist-types/ts3.4/PersonalizeClient.d.ts +14 -2
  106. package/dist-types/ts3.4/commands/CreateBatchSegmentJobCommand.d.ts +17 -0
  107. package/dist-types/ts3.4/commands/CreateRecommenderCommand.d.ts +17 -0
  108. package/dist-types/ts3.4/commands/DeleteRecommenderCommand.d.ts +17 -0
  109. package/dist-types/ts3.4/commands/DescribeBatchSegmentJobCommand.d.ts +17 -0
  110. package/dist-types/ts3.4/commands/DescribeRecommenderCommand.d.ts +17 -0
  111. package/dist-types/ts3.4/commands/ListBatchSegmentJobsCommand.d.ts +17 -0
  112. package/dist-types/ts3.4/commands/ListRecommendersCommand.d.ts +17 -0
  113. package/dist-types/ts3.4/commands/UpdateRecommenderCommand.d.ts +17 -0
  114. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  115. package/dist-types/ts3.4/models/models_0.d.ts +322 -0
  116. package/dist-types/ts3.4/pagination/ListBatchSegmentJobsPaginator.d.ts +4 -0
  117. package/dist-types/ts3.4/pagination/ListRecommendersPaginator.d.ts +4 -0
  118. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  119. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
  120. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  121. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  122. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  123. package/package.json +23 -23
@@ -0,0 +1,38 @@
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 { ListRecommendersRequest, ListRecommendersResponse } from "../models/models_0";
4
+ import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
5
+ export interface ListRecommendersCommandInput extends ListRecommendersRequest {
6
+ }
7
+ export interface ListRecommendersCommandOutput extends ListRecommendersResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Returns a list of recommenders in a given Domain dataset group.
11
+ * When a Domain dataset group is not specified, all the recommenders associated with the account are listed.
12
+ * The response provides the properties for each recommender, including the Amazon Resource Name (ARN).
13
+ * For more information on recommenders, see <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_CreateRecommender.html">CreateRecommender</a>.</p>
14
+ * @example
15
+ * Use a bare-bones client and the command you need to make an API call.
16
+ * ```javascript
17
+ * import { PersonalizeClient, ListRecommendersCommand } from "@aws-sdk/client-personalize"; // ES Modules import
18
+ * // const { PersonalizeClient, ListRecommendersCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
19
+ * const client = new PersonalizeClient(config);
20
+ * const command = new ListRecommendersCommand(input);
21
+ * const response = await client.send(command);
22
+ * ```
23
+ *
24
+ * @see {@link ListRecommendersCommandInput} for command's `input` shape.
25
+ * @see {@link ListRecommendersCommandOutput} for command's `response` shape.
26
+ * @see {@link PersonalizeClientResolvedConfig | config} for PersonalizeClient's `config` shape.
27
+ *
28
+ */
29
+ export declare class ListRecommendersCommand extends $Command<ListRecommendersCommandInput, ListRecommendersCommandOutput, PersonalizeClientResolvedConfig> {
30
+ readonly input: ListRecommendersCommandInput;
31
+ constructor(input: ListRecommendersCommandInput);
32
+ /**
33
+ * @internal
34
+ */
35
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRecommendersCommandInput, ListRecommendersCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -22,7 +22,7 @@ export interface ListSchemasCommandOutput extends ListSchemasResponse, __Metadat
22
22
  *
23
23
  * @see {@link ListSchemasCommandInput} for command's `input` shape.
24
24
  * @see {@link ListSchemasCommandOutput} for command's `response` shape.
25
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
25
+ * @see {@link PersonalizeClientResolvedConfig | config} for PersonalizeClient's `config` shape.
26
26
  *
27
27
  */
28
28
  export declare class ListSchemasCommand extends $Command<ListSchemasCommandInput, ListSchemasCommandOutput, PersonalizeClientResolvedConfig> {
@@ -23,7 +23,7 @@ export interface ListSolutionVersionsCommandOutput extends ListSolutionVersionsR
23
23
  *
24
24
  * @see {@link ListSolutionVersionsCommandInput} for command's `input` shape.
25
25
  * @see {@link ListSolutionVersionsCommandOutput} for command's `response` shape.
26
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
26
+ * @see {@link PersonalizeClientResolvedConfig | config} for PersonalizeClient's `config` shape.
27
27
  *
28
28
  */
29
29
  export declare class ListSolutionVersionsCommand extends $Command<ListSolutionVersionsCommandInput, ListSolutionVersionsCommandOutput, PersonalizeClientResolvedConfig> {
@@ -23,7 +23,7 @@ export interface ListSolutionsCommandOutput extends ListSolutionsResponse, __Met
23
23
  *
24
24
  * @see {@link ListSolutionsCommandInput} for command's `input` shape.
25
25
  * @see {@link ListSolutionsCommandOutput} for command's `response` shape.
26
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
26
+ * @see {@link PersonalizeClientResolvedConfig | config} for PersonalizeClient's `config` shape.
27
27
  *
28
28
  */
29
29
  export declare class ListSolutionsCommand extends $Command<ListSolutionsCommandInput, ListSolutionsCommandOutput, PersonalizeClientResolvedConfig> {
@@ -33,7 +33,7 @@ export interface StopSolutionVersionCreationCommandOutput extends __MetadataBear
33
33
  *
34
34
  * @see {@link StopSolutionVersionCreationCommandInput} for command's `input` shape.
35
35
  * @see {@link StopSolutionVersionCreationCommandOutput} for command's `response` shape.
36
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
36
+ * @see {@link PersonalizeClientResolvedConfig | config} for PersonalizeClient's `config` shape.
37
37
  *
38
38
  */
39
39
  export declare class StopSolutionVersionCreationCommand extends $Command<StopSolutionVersionCreationCommandInput, StopSolutionVersionCreationCommandOutput, PersonalizeClientResolvedConfig> {
@@ -28,7 +28,7 @@ export interface UpdateCampaignCommandOutput extends UpdateCampaignResponse, __M
28
28
  *
29
29
  * @see {@link UpdateCampaignCommandInput} for command's `input` shape.
30
30
  * @see {@link UpdateCampaignCommandOutput} for command's `response` shape.
31
- * @see {@link PersonalizeClientResolvedConfig | config} for command's `input` shape.
31
+ * @see {@link PersonalizeClientResolvedConfig | config} for PersonalizeClient's `config` shape.
32
32
  *
33
33
  */
34
34
  export declare class UpdateCampaignCommand extends $Command<UpdateCampaignCommandInput, UpdateCampaignCommandOutput, PersonalizeClientResolvedConfig> {
@@ -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";