@aws-sdk/client-personalize 3.42.0 → 3.47.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 +50 -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 +1 -0
- package/dist-cjs/models/models_0.js +139 -31
- 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 +7 -2
- package/dist-cjs/runtimeConfig.js +9 -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 +1 -0
- package/dist-es/models/models_0.js +97 -24
- 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 +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/Personalize.d.ts +137 -8
- package/dist-types/PersonalizeClient.d.ts +15 -3
- package/dist-types/commands/CreateBatchSegmentJobCommand.d.ts +36 -0
- package/dist-types/commands/CreateCampaignCommand.d.ts +1 -1
- package/dist-types/commands/CreateDatasetGroupCommand.d.ts +8 -5
- package/dist-types/commands/CreateRecommenderCommand.d.ts +84 -0
- package/dist-types/commands/CreateSchemaCommand.d.ts +2 -1
- package/dist-types/commands/CreateSolutionVersionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRecommenderCommand.d.ts +36 -0
- package/dist-types/commands/DescribeBatchSegmentJobCommand.d.ts +37 -0
- package/dist-types/commands/DescribeRecommenderCommand.d.ts +47 -0
- package/dist-types/commands/ListBatchSegmentJobsCommand.d.ts +36 -0
- package/dist-types/commands/ListRecommendersCommand.d.ts +38 -0
- 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 +630 -35
- 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 +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/Personalize.d.ts +40 -0
- package/dist-types/ts3.4/PersonalizeClient.d.ts +13 -3
- 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 +320 -22
- 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 +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +38 -45
|
@@ -10,7 +10,8 @@ export interface CreateSchemaCommandOutput extends CreateSchemaResponse, __Metad
|
|
|
10
10
|
* <p>Creates an Amazon Personalize schema from the specified schema string. The schema you create
|
|
11
11
|
* must be in Avro JSON format.</p>
|
|
12
12
|
* <p>Amazon Personalize recognizes three schema variants. Each schema is associated with a dataset
|
|
13
|
-
* type and has a set of required field and keywords.
|
|
13
|
+
* type and has a set of required field and keywords. If you are creating a schema for a dataset in a Domain dataset group, you
|
|
14
|
+
* provide the domain of the Domain dataset group.
|
|
14
15
|
* You specify a schema when you call <a>CreateDataset</a>.</p>
|
|
15
16
|
*
|
|
16
17
|
* <p class="title">
|
|
@@ -7,7 +7,7 @@ export interface CreateSolutionVersionCommandInput extends CreateSolutionVersion
|
|
|
7
7
|
export interface CreateSolutionVersionCommandOutput extends CreateSolutionVersionResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Trains or retrains an active solution. A solution is created using the <a>CreateSolution</a> operation and must be in the ACTIVE state before calling
|
|
10
|
+
* <p>Trains or retrains an active solution in a Custom dataset group. A solution is created using the <a>CreateSolution</a> operation and must be in the ACTIVE state before calling
|
|
11
11
|
* <code>CreateSolutionVersion</code>. A new version of the solution is created every time you
|
|
12
12
|
* call this operation.</p>
|
|
13
13
|
* <p>
|
|
@@ -0,0 +1,36 @@
|
|
|
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 { DeleteRecommenderRequest } from "../models/models_0";
|
|
4
|
+
import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
|
|
5
|
+
export interface DeleteRecommenderCommandInput extends DeleteRecommenderRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteRecommenderCommandOutput extends __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Deactivates and removes a recommender. A deleted recommender can no longer be specified in a <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_RS_GetRecommendations.html">GetRecommendations</a>
|
|
11
|
+
* request.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { PersonalizeClient, DeleteRecommenderCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
16
|
+
* // const { PersonalizeClient, DeleteRecommenderCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
17
|
+
* const client = new PersonalizeClient(config);
|
|
18
|
+
* const command = new DeleteRecommenderCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link DeleteRecommenderCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link DeleteRecommenderCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link PersonalizeClientResolvedConfig | config} for PersonalizeClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class DeleteRecommenderCommand extends $Command<DeleteRecommenderCommandInput, DeleteRecommenderCommandOutput, PersonalizeClientResolvedConfig> {
|
|
28
|
+
readonly input: DeleteRecommenderCommandInput;
|
|
29
|
+
constructor(input: DeleteRecommenderCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteRecommenderCommandInput, DeleteRecommenderCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { DescribeBatchSegmentJobRequest, DescribeBatchSegmentJobResponse } from "../models/models_0";
|
|
4
|
+
import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
|
|
5
|
+
export interface DescribeBatchSegmentJobCommandInput extends DescribeBatchSegmentJobRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DescribeBatchSegmentJobCommandOutput extends DescribeBatchSegmentJobResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Gets the properties of a batch segment job including name, Amazon Resource Name (ARN),
|
|
11
|
+
* status, input and output configurations, and the ARN of the solution version used to generate
|
|
12
|
+
* segments.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { PersonalizeClient, DescribeBatchSegmentJobCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
17
|
+
* // const { PersonalizeClient, DescribeBatchSegmentJobCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
18
|
+
* const client = new PersonalizeClient(config);
|
|
19
|
+
* const command = new DescribeBatchSegmentJobCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link DescribeBatchSegmentJobCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link DescribeBatchSegmentJobCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link PersonalizeClientResolvedConfig | config} for PersonalizeClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class DescribeBatchSegmentJobCommand extends $Command<DescribeBatchSegmentJobCommandInput, DescribeBatchSegmentJobCommandOutput, PersonalizeClientResolvedConfig> {
|
|
29
|
+
readonly input: DescribeBatchSegmentJobCommandInput;
|
|
30
|
+
constructor(input: DescribeBatchSegmentJobCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeBatchSegmentJobCommandInput, DescribeBatchSegmentJobCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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 { DescribeRecommenderRequest, DescribeRecommenderResponse } from "../models/models_0";
|
|
4
|
+
import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
|
|
5
|
+
export interface DescribeRecommenderCommandInput extends DescribeRecommenderRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DescribeRecommenderCommandOutput extends DescribeRecommenderResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Describes the given recommender, including its status.</p>
|
|
11
|
+
* <p>A recommender can be in one of the following states:</p>
|
|
12
|
+
* <ul>
|
|
13
|
+
* <li>
|
|
14
|
+
* <p>CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED</p>
|
|
15
|
+
* </li>
|
|
16
|
+
* <li>
|
|
17
|
+
* <p>DELETE PENDING > DELETE IN_PROGRESS</p>
|
|
18
|
+
* </li>
|
|
19
|
+
* </ul>
|
|
20
|
+
* <p>When the <code>status</code> is <code>CREATE FAILED</code>, the response includes the
|
|
21
|
+
* <code>failureReason</code> key, which describes why.</p>
|
|
22
|
+
* <p>For more information on recommenders, see <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_CreateRecommender.html">CreateRecommender</a>.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { PersonalizeClient, DescribeRecommenderCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
27
|
+
* // const { PersonalizeClient, DescribeRecommenderCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
28
|
+
* const client = new PersonalizeClient(config);
|
|
29
|
+
* const command = new DescribeRecommenderCommand(input);
|
|
30
|
+
* const response = await client.send(command);
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* @see {@link DescribeRecommenderCommandInput} for command's `input` shape.
|
|
34
|
+
* @see {@link DescribeRecommenderCommandOutput} for command's `response` shape.
|
|
35
|
+
* @see {@link PersonalizeClientResolvedConfig | config} for PersonalizeClient's `config` shape.
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
export declare class DescribeRecommenderCommand extends $Command<DescribeRecommenderCommandInput, DescribeRecommenderCommandOutput, PersonalizeClientResolvedConfig> {
|
|
39
|
+
readonly input: DescribeRecommenderCommandInput;
|
|
40
|
+
constructor(input: DescribeRecommenderCommandInput);
|
|
41
|
+
/**
|
|
42
|
+
* @internal
|
|
43
|
+
*/
|
|
44
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeRecommenderCommandInput, DescribeRecommenderCommandOutput>;
|
|
45
|
+
private serialize;
|
|
46
|
+
private deserialize;
|
|
47
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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 { ListBatchSegmentJobsRequest, ListBatchSegmentJobsResponse } from "../models/models_0";
|
|
4
|
+
import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
|
|
5
|
+
export interface ListBatchSegmentJobsCommandInput extends ListBatchSegmentJobsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListBatchSegmentJobsCommandOutput extends ListBatchSegmentJobsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Gets a list of the batch segment jobs that have been performed off of a solution
|
|
11
|
+
* version that you specify.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { PersonalizeClient, ListBatchSegmentJobsCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
16
|
+
* // const { PersonalizeClient, ListBatchSegmentJobsCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
17
|
+
* const client = new PersonalizeClient(config);
|
|
18
|
+
* const command = new ListBatchSegmentJobsCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link ListBatchSegmentJobsCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link ListBatchSegmentJobsCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link PersonalizeClientResolvedConfig | config} for PersonalizeClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class ListBatchSegmentJobsCommand extends $Command<ListBatchSegmentJobsCommandInput, ListBatchSegmentJobsCommandOutput, PersonalizeClientResolvedConfig> {
|
|
28
|
+
readonly input: ListBatchSegmentJobsCommandInput;
|
|
29
|
+
constructor(input: ListBatchSegmentJobsCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListBatchSegmentJobsCommandInput, ListBatchSegmentJobsCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -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";
|