@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.
- package/CHANGELOG.md +41 -0
- package/dist-cjs/Personalize.js +120 -0
- package/dist-cjs/commands/CreateBatchSegmentJobCommand.js +36 -0
- package/dist-cjs/commands/CreateRecommenderCommand.js +36 -0
- package/dist-cjs/commands/DeleteRecommenderCommand.js +36 -0
- package/dist-cjs/commands/DescribeBatchSegmentJobCommand.js +36 -0
- package/dist-cjs/commands/DescribeRecommenderCommand.js +36 -0
- package/dist-cjs/commands/ListBatchSegmentJobsCommand.js +36 -0
- package/dist-cjs/commands/ListRecommendersCommand.js +36 -0
- package/dist-cjs/commands/UpdateRecommenderCommand.js +36 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/endpoints.js +74 -5
- package/dist-cjs/models/models_0.js +147 -3
- package/dist-cjs/pagination/ListBatchSegmentJobsPaginator.js +35 -0
- package/dist-cjs/pagination/ListRecommendersPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_json1_1.js +891 -28
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-es/Personalize.js +120 -0
- package/dist-es/commands/CreateBatchSegmentJobCommand.js +39 -0
- package/dist-es/commands/CreateRecommenderCommand.js +39 -0
- package/dist-es/commands/DeleteRecommenderCommand.js +39 -0
- package/dist-es/commands/DescribeBatchSegmentJobCommand.js +39 -0
- package/dist-es/commands/DescribeRecommenderCommand.js +39 -0
- package/dist-es/commands/ListBatchSegmentJobsCommand.js +39 -0
- package/dist-es/commands/ListRecommendersCommand.js +39 -0
- package/dist-es/commands/UpdateRecommenderCommand.js +39 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/endpoints.js +74 -5
- package/dist-es/models/models_0.js +97 -0
- package/dist-es/pagination/ListBatchSegmentJobsPaginator.js +74 -0
- package/dist-es/pagination/ListRecommendersPaginator.js +74 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_json1_1.js +944 -38
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-types/Personalize.d.ts +137 -8
- package/dist-types/PersonalizeClient.d.ts +18 -2
- package/dist-types/commands/CreateBatchInferenceJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateBatchSegmentJobCommand.d.ts +36 -0
- package/dist-types/commands/CreateCampaignCommand.d.ts +2 -2
- package/dist-types/commands/CreateDatasetCommand.d.ts +1 -1
- package/dist-types/commands/CreateDatasetExportJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateDatasetGroupCommand.d.ts +9 -6
- package/dist-types/commands/CreateDatasetImportJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateEventTrackerCommand.d.ts +1 -1
- package/dist-types/commands/CreateFilterCommand.d.ts +1 -1
- package/dist-types/commands/CreateRecommenderCommand.d.ts +84 -0
- package/dist-types/commands/CreateSchemaCommand.d.ts +3 -2
- package/dist-types/commands/CreateSolutionCommand.d.ts +1 -1
- package/dist-types/commands/CreateSolutionVersionCommand.d.ts +2 -2
- package/dist-types/commands/DeleteCampaignCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDatasetCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDatasetGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEventTrackerCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFilterCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRecommenderCommand.d.ts +36 -0
- package/dist-types/commands/DeleteSchemaCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSolutionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAlgorithmCommand.d.ts +1 -1
- package/dist-types/commands/DescribeBatchInferenceJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeBatchSegmentJobCommand.d.ts +37 -0
- package/dist-types/commands/DescribeCampaignCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDatasetCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDatasetExportJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDatasetGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDatasetImportJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEventTrackerCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFeatureTransformationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFilterCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRecipeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRecommenderCommand.d.ts +47 -0
- package/dist-types/commands/DescribeSchemaCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSolutionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSolutionVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetSolutionMetricsCommand.d.ts +1 -1
- package/dist-types/commands/ListBatchInferenceJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListBatchSegmentJobsCommand.d.ts +36 -0
- package/dist-types/commands/ListCampaignsCommand.d.ts +1 -1
- package/dist-types/commands/ListDatasetExportJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListDatasetGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListDatasetImportJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListDatasetsCommand.d.ts +1 -1
- package/dist-types/commands/ListEventTrackersCommand.d.ts +1 -1
- package/dist-types/commands/ListFiltersCommand.d.ts +1 -1
- package/dist-types/commands/ListRecipesCommand.d.ts +1 -1
- package/dist-types/commands/ListRecommendersCommand.d.ts +38 -0
- package/dist-types/commands/ListSchemasCommand.d.ts +1 -1
- package/dist-types/commands/ListSolutionVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListSolutionsCommand.d.ts +1 -1
- package/dist-types/commands/StopSolutionVersionCreationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCampaignCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRecommenderCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +634 -3
- package/dist-types/pagination/ListBatchSegmentJobsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListRecommendersPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +24 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/Personalize.d.ts +40 -0
- package/dist-types/ts3.4/PersonalizeClient.d.ts +14 -2
- package/dist-types/ts3.4/commands/CreateBatchSegmentJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateRecommenderCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteRecommenderCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeBatchSegmentJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeRecommenderCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListBatchSegmentJobsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListRecommendersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateRecommenderCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +322 -0
- package/dist-types/ts3.4/pagination/ListBatchSegmentJobsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListRecommendersPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- 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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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";
|