@aws-sdk/client-personalize 3.67.0 → 3.74.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 +27 -0
- package/dist-cjs/Personalize.js +30 -0
- package/dist-cjs/commands/StartRecommenderCommand.js +36 -0
- package/dist-cjs/commands/StopRecommenderCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +25 -1
- package/dist-cjs/protocols/Aws_json1_1.js +128 -2
- package/dist-es/Personalize.js +30 -0
- package/dist-es/commands/StartRecommenderCommand.js +39 -0
- package/dist-es/commands/StopRecommenderCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +16 -0
- package/dist-es/protocols/Aws_json1_1.js +156 -0
- package/dist-types/Personalize.d.ts +20 -2
- package/dist-types/PersonalizeClient.d.ts +4 -2
- package/dist-types/commands/StartRecommenderCommand.d.ts +36 -0
- package/dist-types/commands/StopRecommenderCommand.d.ts +35 -0
- package/dist-types/commands/UpdateCampaignCommand.d.ts +5 -2
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +48 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
- package/dist-types/ts3.4/Personalize.d.ts +10 -0
- package/dist-types/ts3.4/PersonalizeClient.d.ts +4 -2
- package/dist-types/ts3.4/commands/StartRecommenderCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StopRecommenderCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +32 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +6 -0
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.74.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.73.0...v3.74.0) (2022-04-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-personalize
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.73.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.72.0...v3.73.0) (2022-04-19)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **client-personalize:** Adding StartRecommender and StopRecommender APIs for Personalize. ([67d79bf](https://github.com/aws/aws-sdk-js-v3/commit/67d79bf3c08a969e4768ee1c879188905a722699))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.72.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.71.0...v3.72.0) (2022-04-15)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-personalize
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.67.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.66.0...v3.67.0) (2022-04-08)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-personalize
|
package/dist-cjs/Personalize.js
CHANGED
|
@@ -54,6 +54,8 @@ const ListSchemasCommand_1 = require("./commands/ListSchemasCommand");
|
|
|
54
54
|
const ListSolutionsCommand_1 = require("./commands/ListSolutionsCommand");
|
|
55
55
|
const ListSolutionVersionsCommand_1 = require("./commands/ListSolutionVersionsCommand");
|
|
56
56
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
57
|
+
const StartRecommenderCommand_1 = require("./commands/StartRecommenderCommand");
|
|
58
|
+
const StopRecommenderCommand_1 = require("./commands/StopRecommenderCommand");
|
|
57
59
|
const StopSolutionVersionCreationCommand_1 = require("./commands/StopSolutionVersionCreationCommand");
|
|
58
60
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
59
61
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
@@ -803,6 +805,34 @@ class Personalize extends PersonalizeClient_1.PersonalizeClient {
|
|
|
803
805
|
return this.send(command, optionsOrCb);
|
|
804
806
|
}
|
|
805
807
|
}
|
|
808
|
+
startRecommender(args, optionsOrCb, cb) {
|
|
809
|
+
const command = new StartRecommenderCommand_1.StartRecommenderCommand(args);
|
|
810
|
+
if (typeof optionsOrCb === "function") {
|
|
811
|
+
this.send(command, optionsOrCb);
|
|
812
|
+
}
|
|
813
|
+
else if (typeof cb === "function") {
|
|
814
|
+
if (typeof optionsOrCb !== "object")
|
|
815
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
816
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
817
|
+
}
|
|
818
|
+
else {
|
|
819
|
+
return this.send(command, optionsOrCb);
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
stopRecommender(args, optionsOrCb, cb) {
|
|
823
|
+
const command = new StopRecommenderCommand_1.StopRecommenderCommand(args);
|
|
824
|
+
if (typeof optionsOrCb === "function") {
|
|
825
|
+
this.send(command, optionsOrCb);
|
|
826
|
+
}
|
|
827
|
+
else if (typeof cb === "function") {
|
|
828
|
+
if (typeof optionsOrCb !== "object")
|
|
829
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
830
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
831
|
+
}
|
|
832
|
+
else {
|
|
833
|
+
return this.send(command, optionsOrCb);
|
|
834
|
+
}
|
|
835
|
+
}
|
|
806
836
|
stopSolutionVersionCreation(args, optionsOrCb, cb) {
|
|
807
837
|
const command = new StopSolutionVersionCreationCommand_1.StopSolutionVersionCreationCommand(args);
|
|
808
838
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StartRecommenderCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class StartRecommenderCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "PersonalizeClient";
|
|
18
|
+
const commandName = "StartRecommenderCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.StartRecommenderRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.StartRecommenderResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1StartRecommenderCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1StartRecommenderCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.StartRecommenderCommand = StartRecommenderCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StopRecommenderCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class StopRecommenderCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "PersonalizeClient";
|
|
18
|
+
const commandName = "StopRecommenderCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.StopRecommenderRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.StopRecommenderResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1StopRecommenderCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1StopRecommenderCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.StopRecommenderCommand = StopRecommenderCommand;
|
|
@@ -54,6 +54,8 @@ tslib_1.__exportStar(require("./ListSchemasCommand"), exports);
|
|
|
54
54
|
tslib_1.__exportStar(require("./ListSolutionVersionsCommand"), exports);
|
|
55
55
|
tslib_1.__exportStar(require("./ListSolutionsCommand"), exports);
|
|
56
56
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
57
|
+
tslib_1.__exportStar(require("./StartRecommenderCommand"), exports);
|
|
58
|
+
tslib_1.__exportStar(require("./StopRecommenderCommand"), exports);
|
|
57
59
|
tslib_1.__exportStar(require("./StopSolutionVersionCreationCommand"), exports);
|
|
58
60
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
59
61
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ContinuousHyperParameterRange = exports.CategoricalHyperParameterRange = exports.AutoMLConfig = exports.CreateSchemaResponse = exports.CreateSchemaRequest = exports.CreateRecommenderResponse = exports.CreateRecommenderRequest = exports.RecommenderConfig = exports.CreateFilterResponse = exports.CreateFilterRequest = exports.CreateEventTrackerResponse = exports.CreateEventTrackerRequest = exports.CreateDatasetImportJobResponse = exports.CreateDatasetImportJobRequest = exports.DataSource = exports.CreateDatasetGroupResponse = exports.CreateDatasetGroupRequest = exports.Domain = exports.CreateDatasetExportJobResponse = exports.CreateDatasetExportJobRequest = exports.DatasetExportJobOutput = exports.IngestionMode = exports.CreateDatasetResponse = exports.CreateDatasetRequest = exports.CreateCampaignResponse = exports.CreateCampaignRequest = exports.CampaignConfig = exports.CreateBatchSegmentJobResponse = exports.CreateBatchSegmentJobRequest = exports.BatchSegmentJobOutput = exports.BatchSegmentJobInput = exports.TooManyTagsException = exports.ResourceNotFoundException = exports.ResourceInUseException = exports.ResourceAlreadyExistsException = exports.LimitExceededException = exports.InvalidInputException = exports.CreateBatchInferenceJobResponse = exports.CreateBatchInferenceJobRequest = exports.Tag = exports.BatchInferenceJobOutput = exports.BatchInferenceJobInput = exports.S3DataConfig = exports.BatchInferenceJobConfig = exports.Algorithm = exports.DefaultHyperParameterRanges = exports.DefaultIntegerHyperParameterRange = exports.DefaultContinuousHyperParameterRange = exports.DefaultCategoricalHyperParameterRange = exports.AlgorithmImage = void 0;
|
|
4
4
|
exports.FeatureTransformation = exports.DescribeFeatureTransformationRequest = exports.DescribeEventTrackerResponse = exports.EventTracker = exports.DescribeEventTrackerRequest = exports.DescribeDatasetImportJobResponse = exports.DatasetImportJob = exports.DescribeDatasetImportJobRequest = exports.DescribeDatasetGroupResponse = exports.DatasetGroup = exports.DescribeDatasetGroupRequest = exports.DescribeDatasetExportJobResponse = exports.DatasetExportJob = exports.DescribeDatasetExportJobRequest = exports.DescribeDatasetResponse = exports.Dataset = exports.DescribeDatasetRequest = exports.DescribeCampaignResponse = exports.Campaign = exports.CampaignUpdateSummary = exports.DescribeCampaignRequest = exports.DescribeBatchSegmentJobResponse = exports.BatchSegmentJob = exports.DescribeBatchSegmentJobRequest = exports.DescribeBatchInferenceJobResponse = exports.BatchInferenceJob = exports.DescribeBatchInferenceJobRequest = exports.DescribeAlgorithmResponse = exports.DescribeAlgorithmRequest = exports.DeleteSolutionRequest = exports.DeleteSchemaRequest = exports.DeleteRecommenderRequest = exports.DeleteFilterRequest = exports.DeleteEventTrackerRequest = exports.DeleteDatasetGroupRequest = exports.DeleteDatasetRequest = exports.DeleteCampaignRequest = exports.CreateSolutionVersionResponse = exports.CreateSolutionVersionRequest = exports.TrainingMode = exports.CreateSolutionResponse = exports.CreateSolutionRequest = exports.SolutionConfig = exports.OptimizationObjective = exports.ObjectiveSensitivity = exports.HPOConfig = exports.HPOResourceConfig = exports.HPOObjective = exports.HyperParameterRanges = exports.IntegerHyperParameterRange = void 0;
|
|
5
5
|
exports.ListEventTrackersResponse = exports.EventTrackerSummary = exports.ListEventTrackersRequest = exports.ListDatasetsResponse = exports.DatasetSummary = exports.ListDatasetsRequest = exports.ListDatasetImportJobsResponse = exports.DatasetImportJobSummary = exports.ListDatasetImportJobsRequest = exports.ListDatasetGroupsResponse = exports.DatasetGroupSummary = exports.ListDatasetGroupsRequest = exports.ListDatasetExportJobsResponse = exports.DatasetExportJobSummary = exports.ListDatasetExportJobsRequest = exports.ListCampaignsResponse = exports.CampaignSummary = exports.ListCampaignsRequest = exports.ListBatchSegmentJobsResponse = exports.BatchSegmentJobSummary = exports.ListBatchSegmentJobsRequest = exports.ListBatchInferenceJobsResponse = exports.BatchInferenceJobSummary = exports.ListBatchInferenceJobsRequest = exports.InvalidNextTokenException = exports.GetSolutionMetricsResponse = exports.GetSolutionMetricsRequest = exports.DescribeSolutionVersionResponse = exports.SolutionVersion = exports.TunedHPOParams = exports.DescribeSolutionVersionRequest = exports.DescribeSolutionResponse = exports.Solution = exports.SolutionVersionSummary = exports.AutoMLResult = exports.DescribeSolutionRequest = exports.DescribeSchemaResponse = exports.DatasetSchema = exports.DescribeSchemaRequest = exports.DescribeRecommenderResponse = exports.Recommender = exports.RecommenderUpdateSummary = exports.DescribeRecommenderRequest = exports.DescribeRecipeResponse = exports.Recipe = exports.DescribeRecipeRequest = exports.DescribeFilterResponse = exports.Filter = exports.DescribeFilterRequest = exports.DescribeFeatureTransformationResponse = void 0;
|
|
6
|
-
exports.UpdateRecommenderResponse = exports.UpdateRecommenderRequest = exports.UpdateCampaignResponse = exports.UpdateCampaignRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TooManyTagKeysException = exports.TagResourceResponse = exports.TagResourceRequest = exports.StopSolutionVersionCreationRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListSolutionVersionsResponse = exports.ListSolutionVersionsRequest = exports.ListSolutionsResponse = exports.SolutionSummary = exports.ListSolutionsRequest = exports.ListSchemasResponse = exports.DatasetSchemaSummary = exports.ListSchemasRequest = exports.ListRecommendersResponse = exports.RecommenderSummary = exports.ListRecommendersRequest = exports.ListRecipesResponse = exports.RecipeSummary = exports.ListRecipesRequest = exports.RecipeProvider = exports.ListFiltersResponse = exports.FilterSummary = exports.ListFiltersRequest = void 0;
|
|
6
|
+
exports.UpdateRecommenderResponse = exports.UpdateRecommenderRequest = exports.UpdateCampaignResponse = exports.UpdateCampaignRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TooManyTagKeysException = exports.TagResourceResponse = exports.TagResourceRequest = exports.StopSolutionVersionCreationRequest = exports.StopRecommenderResponse = exports.StopRecommenderRequest = exports.StartRecommenderResponse = exports.StartRecommenderRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListSolutionVersionsResponse = exports.ListSolutionVersionsRequest = exports.ListSolutionsResponse = exports.SolutionSummary = exports.ListSolutionsRequest = exports.ListSchemasResponse = exports.DatasetSchemaSummary = exports.ListSchemasRequest = exports.ListRecommendersResponse = exports.RecommenderSummary = exports.ListRecommendersRequest = exports.ListRecipesResponse = exports.RecipeSummary = exports.ListRecipesRequest = exports.RecipeProvider = exports.ListFiltersResponse = exports.FilterSummary = exports.ListFiltersRequest = void 0;
|
|
7
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
8
|
const PersonalizeServiceException_1 = require("./PersonalizeServiceException");
|
|
9
9
|
var AlgorithmImage;
|
|
@@ -1075,6 +1075,30 @@ var ListTagsForResourceResponse;
|
|
|
1075
1075
|
...obj,
|
|
1076
1076
|
});
|
|
1077
1077
|
})(ListTagsForResourceResponse = exports.ListTagsForResourceResponse || (exports.ListTagsForResourceResponse = {}));
|
|
1078
|
+
var StartRecommenderRequest;
|
|
1079
|
+
(function (StartRecommenderRequest) {
|
|
1080
|
+
StartRecommenderRequest.filterSensitiveLog = (obj) => ({
|
|
1081
|
+
...obj,
|
|
1082
|
+
});
|
|
1083
|
+
})(StartRecommenderRequest = exports.StartRecommenderRequest || (exports.StartRecommenderRequest = {}));
|
|
1084
|
+
var StartRecommenderResponse;
|
|
1085
|
+
(function (StartRecommenderResponse) {
|
|
1086
|
+
StartRecommenderResponse.filterSensitiveLog = (obj) => ({
|
|
1087
|
+
...obj,
|
|
1088
|
+
});
|
|
1089
|
+
})(StartRecommenderResponse = exports.StartRecommenderResponse || (exports.StartRecommenderResponse = {}));
|
|
1090
|
+
var StopRecommenderRequest;
|
|
1091
|
+
(function (StopRecommenderRequest) {
|
|
1092
|
+
StopRecommenderRequest.filterSensitiveLog = (obj) => ({
|
|
1093
|
+
...obj,
|
|
1094
|
+
});
|
|
1095
|
+
})(StopRecommenderRequest = exports.StopRecommenderRequest || (exports.StopRecommenderRequest = {}));
|
|
1096
|
+
var StopRecommenderResponse;
|
|
1097
|
+
(function (StopRecommenderResponse) {
|
|
1098
|
+
StopRecommenderResponse.filterSensitiveLog = (obj) => ({
|
|
1099
|
+
...obj,
|
|
1100
|
+
});
|
|
1101
|
+
})(StopRecommenderResponse = exports.StopRecommenderResponse || (exports.StopRecommenderResponse = {}));
|
|
1078
1102
|
var StopSolutionVersionCreationRequest;
|
|
1079
1103
|
(function (StopSolutionVersionCreationRequest) {
|
|
1080
1104
|
StopSolutionVersionCreationRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.serializeAws_json1_1ListSchemasCommand = exports.serializeAws_json1_1ListRecommendersCommand = exports.serializeAws_json1_1ListRecipesCommand = exports.serializeAws_json1_1ListFiltersCommand = exports.serializeAws_json1_1ListEventTrackersCommand = exports.serializeAws_json1_1ListDatasetsCommand = exports.serializeAws_json1_1ListDatasetImportJobsCommand = exports.serializeAws_json1_1ListDatasetGroupsCommand = exports.serializeAws_json1_1ListDatasetExportJobsCommand = exports.serializeAws_json1_1ListCampaignsCommand = exports.serializeAws_json1_1ListBatchSegmentJobsCommand = exports.serializeAws_json1_1ListBatchInferenceJobsCommand = exports.serializeAws_json1_1GetSolutionMetricsCommand = exports.serializeAws_json1_1DescribeSolutionVersionCommand = exports.serializeAws_json1_1DescribeSolutionCommand = exports.serializeAws_json1_1DescribeSchemaCommand = exports.serializeAws_json1_1DescribeRecommenderCommand = exports.serializeAws_json1_1DescribeRecipeCommand = exports.serializeAws_json1_1DescribeFilterCommand = exports.serializeAws_json1_1DescribeFeatureTransformationCommand = exports.serializeAws_json1_1DescribeEventTrackerCommand = exports.serializeAws_json1_1DescribeDatasetImportJobCommand = exports.serializeAws_json1_1DescribeDatasetGroupCommand = exports.serializeAws_json1_1DescribeDatasetExportJobCommand = exports.serializeAws_json1_1DescribeDatasetCommand = exports.serializeAws_json1_1DescribeCampaignCommand = exports.serializeAws_json1_1DescribeBatchSegmentJobCommand = exports.serializeAws_json1_1DescribeBatchInferenceJobCommand = exports.serializeAws_json1_1DescribeAlgorithmCommand = exports.serializeAws_json1_1DeleteSolutionCommand = exports.serializeAws_json1_1DeleteSchemaCommand = exports.serializeAws_json1_1DeleteRecommenderCommand = exports.serializeAws_json1_1DeleteFilterCommand = exports.serializeAws_json1_1DeleteEventTrackerCommand = exports.serializeAws_json1_1DeleteDatasetGroupCommand = exports.serializeAws_json1_1DeleteDatasetCommand = exports.serializeAws_json1_1DeleteCampaignCommand = exports.serializeAws_json1_1CreateSolutionVersionCommand = exports.serializeAws_json1_1CreateSolutionCommand = exports.serializeAws_json1_1CreateSchemaCommand = exports.serializeAws_json1_1CreateRecommenderCommand = exports.serializeAws_json1_1CreateFilterCommand = exports.serializeAws_json1_1CreateEventTrackerCommand = exports.serializeAws_json1_1CreateDatasetImportJobCommand = exports.serializeAws_json1_1CreateDatasetGroupCommand = exports.serializeAws_json1_1CreateDatasetExportJobCommand = exports.serializeAws_json1_1CreateDatasetCommand = exports.serializeAws_json1_1CreateCampaignCommand = exports.serializeAws_json1_1CreateBatchSegmentJobCommand = exports.serializeAws_json1_1CreateBatchInferenceJobCommand = void 0;
|
|
4
|
-
exports.
|
|
5
|
-
exports.deserializeAws_json1_1UpdateRecommenderCommand = exports.deserializeAws_json1_1UpdateCampaignCommand = exports.deserializeAws_json1_1UntagResourceCommand = exports.deserializeAws_json1_1TagResourceCommand = exports.deserializeAws_json1_1StopSolutionVersionCreationCommand = exports.deserializeAws_json1_1ListTagsForResourceCommand = exports.deserializeAws_json1_1ListSolutionVersionsCommand = exports.deserializeAws_json1_1ListSolutionsCommand = exports.deserializeAws_json1_1ListSchemasCommand = exports.deserializeAws_json1_1ListRecommendersCommand = exports.deserializeAws_json1_1ListRecipesCommand = exports.deserializeAws_json1_1ListFiltersCommand = exports.deserializeAws_json1_1ListEventTrackersCommand = exports.deserializeAws_json1_1ListDatasetsCommand = exports.deserializeAws_json1_1ListDatasetImportJobsCommand = exports.deserializeAws_json1_1ListDatasetGroupsCommand = void 0;
|
|
4
|
+
exports.deserializeAws_json1_1ListBatchSegmentJobsCommand = exports.deserializeAws_json1_1ListBatchInferenceJobsCommand = exports.deserializeAws_json1_1GetSolutionMetricsCommand = exports.deserializeAws_json1_1DescribeSolutionVersionCommand = exports.deserializeAws_json1_1DescribeSolutionCommand = exports.deserializeAws_json1_1DescribeSchemaCommand = exports.deserializeAws_json1_1DescribeRecommenderCommand = exports.deserializeAws_json1_1DescribeRecipeCommand = exports.deserializeAws_json1_1DescribeFilterCommand = exports.deserializeAws_json1_1DescribeFeatureTransformationCommand = exports.deserializeAws_json1_1DescribeEventTrackerCommand = exports.deserializeAws_json1_1DescribeDatasetImportJobCommand = exports.deserializeAws_json1_1DescribeDatasetGroupCommand = exports.deserializeAws_json1_1DescribeDatasetExportJobCommand = exports.deserializeAws_json1_1DescribeDatasetCommand = exports.deserializeAws_json1_1DescribeCampaignCommand = exports.deserializeAws_json1_1DescribeBatchSegmentJobCommand = exports.deserializeAws_json1_1DescribeBatchInferenceJobCommand = exports.deserializeAws_json1_1DescribeAlgorithmCommand = exports.deserializeAws_json1_1DeleteSolutionCommand = exports.deserializeAws_json1_1DeleteSchemaCommand = exports.deserializeAws_json1_1DeleteRecommenderCommand = exports.deserializeAws_json1_1DeleteFilterCommand = exports.deserializeAws_json1_1DeleteEventTrackerCommand = exports.deserializeAws_json1_1DeleteDatasetGroupCommand = exports.deserializeAws_json1_1DeleteDatasetCommand = exports.deserializeAws_json1_1DeleteCampaignCommand = exports.deserializeAws_json1_1CreateSolutionVersionCommand = exports.deserializeAws_json1_1CreateSolutionCommand = exports.deserializeAws_json1_1CreateSchemaCommand = exports.deserializeAws_json1_1CreateRecommenderCommand = exports.deserializeAws_json1_1CreateFilterCommand = exports.deserializeAws_json1_1CreateEventTrackerCommand = exports.deserializeAws_json1_1CreateDatasetImportJobCommand = exports.deserializeAws_json1_1CreateDatasetGroupCommand = exports.deserializeAws_json1_1CreateDatasetExportJobCommand = exports.deserializeAws_json1_1CreateDatasetCommand = exports.deserializeAws_json1_1CreateCampaignCommand = exports.deserializeAws_json1_1CreateBatchSegmentJobCommand = exports.deserializeAws_json1_1CreateBatchInferenceJobCommand = exports.serializeAws_json1_1UpdateRecommenderCommand = exports.serializeAws_json1_1UpdateCampaignCommand = exports.serializeAws_json1_1UntagResourceCommand = exports.serializeAws_json1_1TagResourceCommand = exports.serializeAws_json1_1StopSolutionVersionCreationCommand = exports.serializeAws_json1_1StopRecommenderCommand = exports.serializeAws_json1_1StartRecommenderCommand = exports.serializeAws_json1_1ListTagsForResourceCommand = exports.serializeAws_json1_1ListSolutionVersionsCommand = exports.serializeAws_json1_1ListSolutionsCommand = void 0;
|
|
5
|
+
exports.deserializeAws_json1_1UpdateRecommenderCommand = exports.deserializeAws_json1_1UpdateCampaignCommand = exports.deserializeAws_json1_1UntagResourceCommand = exports.deserializeAws_json1_1TagResourceCommand = exports.deserializeAws_json1_1StopSolutionVersionCreationCommand = exports.deserializeAws_json1_1StopRecommenderCommand = exports.deserializeAws_json1_1StartRecommenderCommand = exports.deserializeAws_json1_1ListTagsForResourceCommand = exports.deserializeAws_json1_1ListSolutionVersionsCommand = exports.deserializeAws_json1_1ListSolutionsCommand = exports.deserializeAws_json1_1ListSchemasCommand = exports.deserializeAws_json1_1ListRecommendersCommand = exports.deserializeAws_json1_1ListRecipesCommand = exports.deserializeAws_json1_1ListFiltersCommand = exports.deserializeAws_json1_1ListEventTrackersCommand = exports.deserializeAws_json1_1ListDatasetsCommand = exports.deserializeAws_json1_1ListDatasetImportJobsCommand = exports.deserializeAws_json1_1ListDatasetGroupsCommand = exports.deserializeAws_json1_1ListDatasetExportJobsCommand = exports.deserializeAws_json1_1ListCampaignsCommand = void 0;
|
|
6
6
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
7
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
8
|
const models_0_1 = require("../models/models_0");
|
|
@@ -537,6 +537,26 @@ const serializeAws_json1_1ListTagsForResourceCommand = async (input, context) =>
|
|
|
537
537
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
538
538
|
};
|
|
539
539
|
exports.serializeAws_json1_1ListTagsForResourceCommand = serializeAws_json1_1ListTagsForResourceCommand;
|
|
540
|
+
const serializeAws_json1_1StartRecommenderCommand = async (input, context) => {
|
|
541
|
+
const headers = {
|
|
542
|
+
"content-type": "application/x-amz-json-1.1",
|
|
543
|
+
"x-amz-target": "AmazonPersonalize.StartRecommender",
|
|
544
|
+
};
|
|
545
|
+
let body;
|
|
546
|
+
body = JSON.stringify(serializeAws_json1_1StartRecommenderRequest(input, context));
|
|
547
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
548
|
+
};
|
|
549
|
+
exports.serializeAws_json1_1StartRecommenderCommand = serializeAws_json1_1StartRecommenderCommand;
|
|
550
|
+
const serializeAws_json1_1StopRecommenderCommand = async (input, context) => {
|
|
551
|
+
const headers = {
|
|
552
|
+
"content-type": "application/x-amz-json-1.1",
|
|
553
|
+
"x-amz-target": "AmazonPersonalize.StopRecommender",
|
|
554
|
+
};
|
|
555
|
+
let body;
|
|
556
|
+
body = JSON.stringify(serializeAws_json1_1StopRecommenderRequest(input, context));
|
|
557
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
558
|
+
};
|
|
559
|
+
exports.serializeAws_json1_1StopRecommenderCommand = serializeAws_json1_1StopRecommenderCommand;
|
|
540
560
|
const serializeAws_json1_1StopSolutionVersionCreationCommand = async (input, context) => {
|
|
541
561
|
const headers = {
|
|
542
562
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -2789,6 +2809,90 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
2789
2809
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2790
2810
|
}
|
|
2791
2811
|
};
|
|
2812
|
+
const deserializeAws_json1_1StartRecommenderCommand = async (output, context) => {
|
|
2813
|
+
if (output.statusCode >= 300) {
|
|
2814
|
+
return deserializeAws_json1_1StartRecommenderCommandError(output, context);
|
|
2815
|
+
}
|
|
2816
|
+
const data = await parseBody(output.body, context);
|
|
2817
|
+
let contents = {};
|
|
2818
|
+
contents = deserializeAws_json1_1StartRecommenderResponse(data, context);
|
|
2819
|
+
const response = {
|
|
2820
|
+
$metadata: deserializeMetadata(output),
|
|
2821
|
+
...contents,
|
|
2822
|
+
};
|
|
2823
|
+
return Promise.resolve(response);
|
|
2824
|
+
};
|
|
2825
|
+
exports.deserializeAws_json1_1StartRecommenderCommand = deserializeAws_json1_1StartRecommenderCommand;
|
|
2826
|
+
const deserializeAws_json1_1StartRecommenderCommandError = async (output, context) => {
|
|
2827
|
+
const parsedOutput = {
|
|
2828
|
+
...output,
|
|
2829
|
+
body: await parseBody(output.body, context),
|
|
2830
|
+
};
|
|
2831
|
+
let response;
|
|
2832
|
+
let errorCode = "UnknownError";
|
|
2833
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2834
|
+
switch (errorCode) {
|
|
2835
|
+
case "InvalidInputException":
|
|
2836
|
+
case "com.amazonaws.personalize#InvalidInputException":
|
|
2837
|
+
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
2838
|
+
case "ResourceInUseException":
|
|
2839
|
+
case "com.amazonaws.personalize#ResourceInUseException":
|
|
2840
|
+
throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
|
|
2841
|
+
case "ResourceNotFoundException":
|
|
2842
|
+
case "com.amazonaws.personalize#ResourceNotFoundException":
|
|
2843
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2844
|
+
default:
|
|
2845
|
+
const parsedBody = parsedOutput.body;
|
|
2846
|
+
response = new PersonalizeServiceException_1.PersonalizeServiceException({
|
|
2847
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2848
|
+
$fault: "client",
|
|
2849
|
+
$metadata: deserializeMetadata(output),
|
|
2850
|
+
});
|
|
2851
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2852
|
+
}
|
|
2853
|
+
};
|
|
2854
|
+
const deserializeAws_json1_1StopRecommenderCommand = async (output, context) => {
|
|
2855
|
+
if (output.statusCode >= 300) {
|
|
2856
|
+
return deserializeAws_json1_1StopRecommenderCommandError(output, context);
|
|
2857
|
+
}
|
|
2858
|
+
const data = await parseBody(output.body, context);
|
|
2859
|
+
let contents = {};
|
|
2860
|
+
contents = deserializeAws_json1_1StopRecommenderResponse(data, context);
|
|
2861
|
+
const response = {
|
|
2862
|
+
$metadata: deserializeMetadata(output),
|
|
2863
|
+
...contents,
|
|
2864
|
+
};
|
|
2865
|
+
return Promise.resolve(response);
|
|
2866
|
+
};
|
|
2867
|
+
exports.deserializeAws_json1_1StopRecommenderCommand = deserializeAws_json1_1StopRecommenderCommand;
|
|
2868
|
+
const deserializeAws_json1_1StopRecommenderCommandError = async (output, context) => {
|
|
2869
|
+
const parsedOutput = {
|
|
2870
|
+
...output,
|
|
2871
|
+
body: await parseBody(output.body, context),
|
|
2872
|
+
};
|
|
2873
|
+
let response;
|
|
2874
|
+
let errorCode = "UnknownError";
|
|
2875
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2876
|
+
switch (errorCode) {
|
|
2877
|
+
case "InvalidInputException":
|
|
2878
|
+
case "com.amazonaws.personalize#InvalidInputException":
|
|
2879
|
+
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
2880
|
+
case "ResourceInUseException":
|
|
2881
|
+
case "com.amazonaws.personalize#ResourceInUseException":
|
|
2882
|
+
throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
|
|
2883
|
+
case "ResourceNotFoundException":
|
|
2884
|
+
case "com.amazonaws.personalize#ResourceNotFoundException":
|
|
2885
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2886
|
+
default:
|
|
2887
|
+
const parsedBody = parsedOutput.body;
|
|
2888
|
+
response = new PersonalizeServiceException_1.PersonalizeServiceException({
|
|
2889
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2890
|
+
$fault: "client",
|
|
2891
|
+
$metadata: deserializeMetadata(output),
|
|
2892
|
+
});
|
|
2893
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2894
|
+
}
|
|
2895
|
+
};
|
|
2792
2896
|
const deserializeAws_json1_1StopSolutionVersionCreationCommand = async (output, context) => {
|
|
2793
2897
|
if (output.statusCode >= 300) {
|
|
2794
2898
|
return deserializeAws_json1_1StopSolutionVersionCreationCommandError(output, context);
|
|
@@ -3723,6 +3827,18 @@ const serializeAws_json1_1SolutionConfig = (input, context) => {
|
|
|
3723
3827
|
}),
|
|
3724
3828
|
};
|
|
3725
3829
|
};
|
|
3830
|
+
const serializeAws_json1_1StartRecommenderRequest = (input, context) => {
|
|
3831
|
+
return {
|
|
3832
|
+
...(input.recommenderArn !== undefined &&
|
|
3833
|
+
input.recommenderArn !== null && { recommenderArn: input.recommenderArn }),
|
|
3834
|
+
};
|
|
3835
|
+
};
|
|
3836
|
+
const serializeAws_json1_1StopRecommenderRequest = (input, context) => {
|
|
3837
|
+
return {
|
|
3838
|
+
...(input.recommenderArn !== undefined &&
|
|
3839
|
+
input.recommenderArn !== null && { recommenderArn: input.recommenderArn }),
|
|
3840
|
+
};
|
|
3841
|
+
};
|
|
3726
3842
|
const serializeAws_json1_1StopSolutionVersionCreationRequest = (input, context) => {
|
|
3727
3843
|
return {
|
|
3728
3844
|
...(input.solutionVersionArn !== undefined &&
|
|
@@ -5192,6 +5308,16 @@ const deserializeAws_json1_1SolutionVersionSummary = (output, context) => {
|
|
|
5192
5308
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
5193
5309
|
};
|
|
5194
5310
|
};
|
|
5311
|
+
const deserializeAws_json1_1StartRecommenderResponse = (output, context) => {
|
|
5312
|
+
return {
|
|
5313
|
+
recommenderArn: (0, smithy_client_1.expectString)(output.recommenderArn),
|
|
5314
|
+
};
|
|
5315
|
+
};
|
|
5316
|
+
const deserializeAws_json1_1StopRecommenderResponse = (output, context) => {
|
|
5317
|
+
return {
|
|
5318
|
+
recommenderArn: (0, smithy_client_1.expectString)(output.recommenderArn),
|
|
5319
|
+
};
|
|
5320
|
+
};
|
|
5195
5321
|
const deserializeAws_json1_1Tag = (output, context) => {
|
|
5196
5322
|
return {
|
|
5197
5323
|
tagKey: (0, smithy_client_1.expectString)(output.tagKey),
|
package/dist-es/Personalize.js
CHANGED
|
@@ -52,6 +52,8 @@ import { ListSchemasCommand } from "./commands/ListSchemasCommand";
|
|
|
52
52
|
import { ListSolutionsCommand, } from "./commands/ListSolutionsCommand";
|
|
53
53
|
import { ListSolutionVersionsCommand, } from "./commands/ListSolutionVersionsCommand";
|
|
54
54
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
55
|
+
import { StartRecommenderCommand, } from "./commands/StartRecommenderCommand";
|
|
56
|
+
import { StopRecommenderCommand, } from "./commands/StopRecommenderCommand";
|
|
55
57
|
import { StopSolutionVersionCreationCommand, } from "./commands/StopSolutionVersionCreationCommand";
|
|
56
58
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
57
59
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
@@ -805,6 +807,34 @@ var Personalize = (function (_super) {
|
|
|
805
807
|
return this.send(command, optionsOrCb);
|
|
806
808
|
}
|
|
807
809
|
};
|
|
810
|
+
Personalize.prototype.startRecommender = function (args, optionsOrCb, cb) {
|
|
811
|
+
var command = new StartRecommenderCommand(args);
|
|
812
|
+
if (typeof optionsOrCb === "function") {
|
|
813
|
+
this.send(command, optionsOrCb);
|
|
814
|
+
}
|
|
815
|
+
else if (typeof cb === "function") {
|
|
816
|
+
if (typeof optionsOrCb !== "object")
|
|
817
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
818
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
819
|
+
}
|
|
820
|
+
else {
|
|
821
|
+
return this.send(command, optionsOrCb);
|
|
822
|
+
}
|
|
823
|
+
};
|
|
824
|
+
Personalize.prototype.stopRecommender = function (args, optionsOrCb, cb) {
|
|
825
|
+
var command = new StopRecommenderCommand(args);
|
|
826
|
+
if (typeof optionsOrCb === "function") {
|
|
827
|
+
this.send(command, optionsOrCb);
|
|
828
|
+
}
|
|
829
|
+
else if (typeof cb === "function") {
|
|
830
|
+
if (typeof optionsOrCb !== "object")
|
|
831
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
832
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
833
|
+
}
|
|
834
|
+
else {
|
|
835
|
+
return this.send(command, optionsOrCb);
|
|
836
|
+
}
|
|
837
|
+
};
|
|
808
838
|
Personalize.prototype.stopSolutionVersionCreation = function (args, optionsOrCb, cb) {
|
|
809
839
|
var command = new StopSolutionVersionCreationCommand(args);
|
|
810
840
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { StartRecommenderRequest, StartRecommenderResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1StartRecommenderCommand, serializeAws_json1_1StartRecommenderCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var StartRecommenderCommand = (function (_super) {
|
|
7
|
+
__extends(StartRecommenderCommand, _super);
|
|
8
|
+
function StartRecommenderCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
StartRecommenderCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "PersonalizeClient";
|
|
18
|
+
var commandName = "StartRecommenderCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: StartRecommenderRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: StartRecommenderResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
StartRecommenderCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1StartRecommenderCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
StartRecommenderCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1StartRecommenderCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return StartRecommenderCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StartRecommenderCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { StopRecommenderRequest, StopRecommenderResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1StopRecommenderCommand, serializeAws_json1_1StopRecommenderCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var StopRecommenderCommand = (function (_super) {
|
|
7
|
+
__extends(StopRecommenderCommand, _super);
|
|
8
|
+
function StopRecommenderCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
StopRecommenderCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "PersonalizeClient";
|
|
18
|
+
var commandName = "StopRecommenderCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: StopRecommenderRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: StopRecommenderResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
StopRecommenderCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1StopRecommenderCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
StopRecommenderCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1StopRecommenderCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return StopRecommenderCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StopRecommenderCommand };
|
|
@@ -51,6 +51,8 @@ export * from "./ListSchemasCommand";
|
|
|
51
51
|
export * from "./ListSolutionVersionsCommand";
|
|
52
52
|
export * from "./ListSolutionsCommand";
|
|
53
53
|
export * from "./ListTagsForResourceCommand";
|
|
54
|
+
export * from "./StartRecommenderCommand";
|
|
55
|
+
export * from "./StopRecommenderCommand";
|
|
54
56
|
export * from "./StopSolutionVersionCreationCommand";
|
|
55
57
|
export * from "./TagResourceCommand";
|
|
56
58
|
export * from "./UntagResourceCommand";
|
|
@@ -744,6 +744,22 @@ export var ListTagsForResourceResponse;
|
|
|
744
744
|
(function (ListTagsForResourceResponse) {
|
|
745
745
|
ListTagsForResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
746
746
|
})(ListTagsForResourceResponse || (ListTagsForResourceResponse = {}));
|
|
747
|
+
export var StartRecommenderRequest;
|
|
748
|
+
(function (StartRecommenderRequest) {
|
|
749
|
+
StartRecommenderRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
750
|
+
})(StartRecommenderRequest || (StartRecommenderRequest = {}));
|
|
751
|
+
export var StartRecommenderResponse;
|
|
752
|
+
(function (StartRecommenderResponse) {
|
|
753
|
+
StartRecommenderResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
754
|
+
})(StartRecommenderResponse || (StartRecommenderResponse = {}));
|
|
755
|
+
export var StopRecommenderRequest;
|
|
756
|
+
(function (StopRecommenderRequest) {
|
|
757
|
+
StopRecommenderRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
758
|
+
})(StopRecommenderRequest || (StopRecommenderRequest = {}));
|
|
759
|
+
export var StopRecommenderResponse;
|
|
760
|
+
(function (StopRecommenderResponse) {
|
|
761
|
+
StopRecommenderResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
762
|
+
})(StopRecommenderResponse || (StopRecommenderResponse = {}));
|
|
747
763
|
export var StopSolutionVersionCreationRequest;
|
|
748
764
|
(function (StopSolutionVersionCreationRequest) {
|
|
749
765
|
StopSolutionVersionCreationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -586,6 +586,28 @@ export var serializeAws_json1_1ListTagsForResourceCommand = function (input, con
|
|
|
586
586
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
587
587
|
});
|
|
588
588
|
}); };
|
|
589
|
+
export var serializeAws_json1_1StartRecommenderCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
590
|
+
var headers, body;
|
|
591
|
+
return __generator(this, function (_a) {
|
|
592
|
+
headers = {
|
|
593
|
+
"content-type": "application/x-amz-json-1.1",
|
|
594
|
+
"x-amz-target": "AmazonPersonalize.StartRecommender",
|
|
595
|
+
};
|
|
596
|
+
body = JSON.stringify(serializeAws_json1_1StartRecommenderRequest(input, context));
|
|
597
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
598
|
+
});
|
|
599
|
+
}); };
|
|
600
|
+
export var serializeAws_json1_1StopRecommenderCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
601
|
+
var headers, body;
|
|
602
|
+
return __generator(this, function (_a) {
|
|
603
|
+
headers = {
|
|
604
|
+
"content-type": "application/x-amz-json-1.1",
|
|
605
|
+
"x-amz-target": "AmazonPersonalize.StopRecommender",
|
|
606
|
+
};
|
|
607
|
+
body = JSON.stringify(serializeAws_json1_1StopRecommenderRequest(input, context));
|
|
608
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
609
|
+
});
|
|
610
|
+
}); };
|
|
589
611
|
export var serializeAws_json1_1StopSolutionVersionCreationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
590
612
|
var headers, body;
|
|
591
613
|
return __generator(this, function (_a) {
|
|
@@ -3715,6 +3737,122 @@ var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, co
|
|
|
3715
3737
|
}
|
|
3716
3738
|
});
|
|
3717
3739
|
}); };
|
|
3740
|
+
export var deserializeAws_json1_1StartRecommenderCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3741
|
+
var data, contents, response;
|
|
3742
|
+
return __generator(this, function (_a) {
|
|
3743
|
+
switch (_a.label) {
|
|
3744
|
+
case 0:
|
|
3745
|
+
if (output.statusCode >= 300) {
|
|
3746
|
+
return [2, deserializeAws_json1_1StartRecommenderCommandError(output, context)];
|
|
3747
|
+
}
|
|
3748
|
+
return [4, parseBody(output.body, context)];
|
|
3749
|
+
case 1:
|
|
3750
|
+
data = _a.sent();
|
|
3751
|
+
contents = {};
|
|
3752
|
+
contents = deserializeAws_json1_1StartRecommenderResponse(data, context);
|
|
3753
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
3754
|
+
return [2, Promise.resolve(response)];
|
|
3755
|
+
}
|
|
3756
|
+
});
|
|
3757
|
+
}); };
|
|
3758
|
+
var deserializeAws_json1_1StartRecommenderCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3759
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3760
|
+
var _c;
|
|
3761
|
+
return __generator(this, function (_d) {
|
|
3762
|
+
switch (_d.label) {
|
|
3763
|
+
case 0:
|
|
3764
|
+
_a = [__assign({}, output)];
|
|
3765
|
+
_c = {};
|
|
3766
|
+
return [4, parseBody(output.body, context)];
|
|
3767
|
+
case 1:
|
|
3768
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3769
|
+
errorCode = "UnknownError";
|
|
3770
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3771
|
+
_b = errorCode;
|
|
3772
|
+
switch (_b) {
|
|
3773
|
+
case "InvalidInputException": return [3, 2];
|
|
3774
|
+
case "com.amazonaws.personalize#InvalidInputException": return [3, 2];
|
|
3775
|
+
case "ResourceInUseException": return [3, 4];
|
|
3776
|
+
case "com.amazonaws.personalize#ResourceInUseException": return [3, 4];
|
|
3777
|
+
case "ResourceNotFoundException": return [3, 6];
|
|
3778
|
+
case "com.amazonaws.personalize#ResourceNotFoundException": return [3, 6];
|
|
3779
|
+
}
|
|
3780
|
+
return [3, 8];
|
|
3781
|
+
case 2: return [4, deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)];
|
|
3782
|
+
case 3: throw _d.sent();
|
|
3783
|
+
case 4: return [4, deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)];
|
|
3784
|
+
case 5: throw _d.sent();
|
|
3785
|
+
case 6: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
3786
|
+
case 7: throw _d.sent();
|
|
3787
|
+
case 8:
|
|
3788
|
+
parsedBody = parsedOutput.body;
|
|
3789
|
+
response = new __BaseException({
|
|
3790
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3791
|
+
$fault: "client",
|
|
3792
|
+
$metadata: deserializeMetadata(output),
|
|
3793
|
+
});
|
|
3794
|
+
throw __decorateServiceException(response, parsedBody);
|
|
3795
|
+
}
|
|
3796
|
+
});
|
|
3797
|
+
}); };
|
|
3798
|
+
export var deserializeAws_json1_1StopRecommenderCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3799
|
+
var data, contents, response;
|
|
3800
|
+
return __generator(this, function (_a) {
|
|
3801
|
+
switch (_a.label) {
|
|
3802
|
+
case 0:
|
|
3803
|
+
if (output.statusCode >= 300) {
|
|
3804
|
+
return [2, deserializeAws_json1_1StopRecommenderCommandError(output, context)];
|
|
3805
|
+
}
|
|
3806
|
+
return [4, parseBody(output.body, context)];
|
|
3807
|
+
case 1:
|
|
3808
|
+
data = _a.sent();
|
|
3809
|
+
contents = {};
|
|
3810
|
+
contents = deserializeAws_json1_1StopRecommenderResponse(data, context);
|
|
3811
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
3812
|
+
return [2, Promise.resolve(response)];
|
|
3813
|
+
}
|
|
3814
|
+
});
|
|
3815
|
+
}); };
|
|
3816
|
+
var deserializeAws_json1_1StopRecommenderCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3817
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3818
|
+
var _c;
|
|
3819
|
+
return __generator(this, function (_d) {
|
|
3820
|
+
switch (_d.label) {
|
|
3821
|
+
case 0:
|
|
3822
|
+
_a = [__assign({}, output)];
|
|
3823
|
+
_c = {};
|
|
3824
|
+
return [4, parseBody(output.body, context)];
|
|
3825
|
+
case 1:
|
|
3826
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3827
|
+
errorCode = "UnknownError";
|
|
3828
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3829
|
+
_b = errorCode;
|
|
3830
|
+
switch (_b) {
|
|
3831
|
+
case "InvalidInputException": return [3, 2];
|
|
3832
|
+
case "com.amazonaws.personalize#InvalidInputException": return [3, 2];
|
|
3833
|
+
case "ResourceInUseException": return [3, 4];
|
|
3834
|
+
case "com.amazonaws.personalize#ResourceInUseException": return [3, 4];
|
|
3835
|
+
case "ResourceNotFoundException": return [3, 6];
|
|
3836
|
+
case "com.amazonaws.personalize#ResourceNotFoundException": return [3, 6];
|
|
3837
|
+
}
|
|
3838
|
+
return [3, 8];
|
|
3839
|
+
case 2: return [4, deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)];
|
|
3840
|
+
case 3: throw _d.sent();
|
|
3841
|
+
case 4: return [4, deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)];
|
|
3842
|
+
case 5: throw _d.sent();
|
|
3843
|
+
case 6: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
3844
|
+
case 7: throw _d.sent();
|
|
3845
|
+
case 8:
|
|
3846
|
+
parsedBody = parsedOutput.body;
|
|
3847
|
+
response = new __BaseException({
|
|
3848
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3849
|
+
$fault: "client",
|
|
3850
|
+
$metadata: deserializeMetadata(output),
|
|
3851
|
+
});
|
|
3852
|
+
throw __decorateServiceException(response, parsedBody);
|
|
3853
|
+
}
|
|
3854
|
+
});
|
|
3855
|
+
}); };
|
|
3718
3856
|
export var deserializeAws_json1_1StopSolutionVersionCreationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3719
3857
|
var response;
|
|
3720
3858
|
return __generator(this, function (_a) {
|
|
@@ -4483,6 +4621,14 @@ var serializeAws_json1_1SolutionConfig = function (input, context) {
|
|
|
4483
4621
|
optimizationObjective: serializeAws_json1_1OptimizationObjective(input.optimizationObjective, context),
|
|
4484
4622
|
}));
|
|
4485
4623
|
};
|
|
4624
|
+
var serializeAws_json1_1StartRecommenderRequest = function (input, context) {
|
|
4625
|
+
return __assign({}, (input.recommenderArn !== undefined &&
|
|
4626
|
+
input.recommenderArn !== null && { recommenderArn: input.recommenderArn }));
|
|
4627
|
+
};
|
|
4628
|
+
var serializeAws_json1_1StopRecommenderRequest = function (input, context) {
|
|
4629
|
+
return __assign({}, (input.recommenderArn !== undefined &&
|
|
4630
|
+
input.recommenderArn !== null && { recommenderArn: input.recommenderArn }));
|
|
4631
|
+
};
|
|
4486
4632
|
var serializeAws_json1_1StopSolutionVersionCreationRequest = function (input, context) {
|
|
4487
4633
|
return __assign({}, (input.solutionVersionArn !== undefined &&
|
|
4488
4634
|
input.solutionVersionArn !== null && { solutionVersionArn: input.solutionVersionArn }));
|
|
@@ -5928,6 +6074,16 @@ var deserializeAws_json1_1SolutionVersionSummary = function (output, context) {
|
|
|
5928
6074
|
status: __expectString(output.status),
|
|
5929
6075
|
};
|
|
5930
6076
|
};
|
|
6077
|
+
var deserializeAws_json1_1StartRecommenderResponse = function (output, context) {
|
|
6078
|
+
return {
|
|
6079
|
+
recommenderArn: __expectString(output.recommenderArn),
|
|
6080
|
+
};
|
|
6081
|
+
};
|
|
6082
|
+
var deserializeAws_json1_1StopRecommenderResponse = function (output, context) {
|
|
6083
|
+
return {
|
|
6084
|
+
recommenderArn: __expectString(output.recommenderArn),
|
|
6085
|
+
};
|
|
6086
|
+
};
|
|
5931
6087
|
var deserializeAws_json1_1Tag = function (output, context) {
|
|
5932
6088
|
return {
|
|
5933
6089
|
tagKey: __expectString(output.tagKey),
|
|
@@ -52,6 +52,8 @@ import { ListSchemasCommandInput, ListSchemasCommandOutput } from "./commands/Li
|
|
|
52
52
|
import { ListSolutionsCommandInput, ListSolutionsCommandOutput } from "./commands/ListSolutionsCommand";
|
|
53
53
|
import { ListSolutionVersionsCommandInput, ListSolutionVersionsCommandOutput } from "./commands/ListSolutionVersionsCommand";
|
|
54
54
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
55
|
+
import { StartRecommenderCommandInput, StartRecommenderCommandOutput } from "./commands/StartRecommenderCommand";
|
|
56
|
+
import { StopRecommenderCommandInput, StopRecommenderCommandOutput } from "./commands/StopRecommenderCommand";
|
|
55
57
|
import { StopSolutionVersionCreationCommandInput, StopSolutionVersionCreationCommandOutput } from "./commands/StopSolutionVersionCreationCommand";
|
|
56
58
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
57
59
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
@@ -1042,6 +1044,19 @@ export declare class Personalize extends PersonalizeClient {
|
|
|
1042
1044
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
1043
1045
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
1044
1046
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
1047
|
+
/**
|
|
1048
|
+
* <p>Starts a recommender that is INACTIVE. Starting a recommender does not
|
|
1049
|
+
* create any new models, but resumes billing and automatic retraining for the recommender.</p>
|
|
1050
|
+
*/
|
|
1051
|
+
startRecommender(args: StartRecommenderCommandInput, options?: __HttpHandlerOptions): Promise<StartRecommenderCommandOutput>;
|
|
1052
|
+
startRecommender(args: StartRecommenderCommandInput, cb: (err: any, data?: StartRecommenderCommandOutput) => void): void;
|
|
1053
|
+
startRecommender(args: StartRecommenderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartRecommenderCommandOutput) => void): void;
|
|
1054
|
+
/**
|
|
1055
|
+
* <p>Stops a recommender that is ACTIVE. Stopping a recommender halts billing and automatic retraining for the recommender.</p>
|
|
1056
|
+
*/
|
|
1057
|
+
stopRecommender(args: StopRecommenderCommandInput, options?: __HttpHandlerOptions): Promise<StopRecommenderCommandOutput>;
|
|
1058
|
+
stopRecommender(args: StopRecommenderCommandInput, cb: (err: any, data?: StopRecommenderCommandOutput) => void): void;
|
|
1059
|
+
stopRecommender(args: StopRecommenderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopRecommenderCommandOutput) => void): void;
|
|
1045
1060
|
/**
|
|
1046
1061
|
* <p>Stops creating a solution version that is in a state of CREATE_PENDING or CREATE IN_PROGRESS.
|
|
1047
1062
|
* </p>
|
|
@@ -1078,10 +1093,13 @@ export declare class Personalize extends PersonalizeClient {
|
|
|
1078
1093
|
* campaign's <code>minProvisionedTPS</code> parameter.</p>
|
|
1079
1094
|
* <p>To update a campaign, the campaign status must be ACTIVE or CREATE FAILED.
|
|
1080
1095
|
* Check the campaign status using the <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeCampaign.html">DescribeCampaign</a> operation.</p>
|
|
1096
|
+
*
|
|
1081
1097
|
* <note>
|
|
1082
|
-
* <p>You
|
|
1083
|
-
*
|
|
1098
|
+
* <p>You can still get recommendations from a campaign while an update is in progress.
|
|
1099
|
+
* The campaign will use the previous solution version and campaign configuration to generate recommendations until the latest campaign update status is <code>Active</code>.
|
|
1100
|
+
* </p>
|
|
1084
1101
|
* </note>
|
|
1102
|
+
*
|
|
1085
1103
|
* <p>For more information on campaigns, see <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_CreateCampaign.html">CreateCampaign</a>.</p>
|
|
1086
1104
|
*/
|
|
1087
1105
|
updateCampaign(args: UpdateCampaignCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCampaignCommandOutput>;
|
|
@@ -59,13 +59,15 @@ import { ListSchemasCommandInput, ListSchemasCommandOutput } from "./commands/Li
|
|
|
59
59
|
import { ListSolutionsCommandInput, ListSolutionsCommandOutput } from "./commands/ListSolutionsCommand";
|
|
60
60
|
import { ListSolutionVersionsCommandInput, ListSolutionVersionsCommandOutput } from "./commands/ListSolutionVersionsCommand";
|
|
61
61
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
62
|
+
import { StartRecommenderCommandInput, StartRecommenderCommandOutput } from "./commands/StartRecommenderCommand";
|
|
63
|
+
import { StopRecommenderCommandInput, StopRecommenderCommandOutput } from "./commands/StopRecommenderCommand";
|
|
62
64
|
import { StopSolutionVersionCreationCommandInput, StopSolutionVersionCreationCommandOutput } from "./commands/StopSolutionVersionCreationCommand";
|
|
63
65
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
64
66
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
65
67
|
import { UpdateCampaignCommandInput, UpdateCampaignCommandOutput } from "./commands/UpdateCampaignCommand";
|
|
66
68
|
import { UpdateRecommenderCommandInput, UpdateRecommenderCommandOutput } from "./commands/UpdateRecommenderCommand";
|
|
67
|
-
export declare type ServiceInputTypes = CreateBatchInferenceJobCommandInput | CreateBatchSegmentJobCommandInput | CreateCampaignCommandInput | CreateDatasetCommandInput | CreateDatasetExportJobCommandInput | CreateDatasetGroupCommandInput | CreateDatasetImportJobCommandInput | CreateEventTrackerCommandInput | CreateFilterCommandInput | CreateRecommenderCommandInput | CreateSchemaCommandInput | CreateSolutionCommandInput | CreateSolutionVersionCommandInput | DeleteCampaignCommandInput | DeleteDatasetCommandInput | DeleteDatasetGroupCommandInput | DeleteEventTrackerCommandInput | DeleteFilterCommandInput | DeleteRecommenderCommandInput | DeleteSchemaCommandInput | DeleteSolutionCommandInput | DescribeAlgorithmCommandInput | DescribeBatchInferenceJobCommandInput | DescribeBatchSegmentJobCommandInput | DescribeCampaignCommandInput | DescribeDatasetCommandInput | DescribeDatasetExportJobCommandInput | DescribeDatasetGroupCommandInput | DescribeDatasetImportJobCommandInput | DescribeEventTrackerCommandInput | DescribeFeatureTransformationCommandInput | DescribeFilterCommandInput | DescribeRecipeCommandInput | DescribeRecommenderCommandInput | DescribeSchemaCommandInput | DescribeSolutionCommandInput | DescribeSolutionVersionCommandInput | GetSolutionMetricsCommandInput | ListBatchInferenceJobsCommandInput | ListBatchSegmentJobsCommandInput | ListCampaignsCommandInput | ListDatasetExportJobsCommandInput | ListDatasetGroupsCommandInput | ListDatasetImportJobsCommandInput | ListDatasetsCommandInput | ListEventTrackersCommandInput | ListFiltersCommandInput | ListRecipesCommandInput | ListRecommendersCommandInput | ListSchemasCommandInput | ListSolutionVersionsCommandInput | ListSolutionsCommandInput | ListTagsForResourceCommandInput | StopSolutionVersionCreationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCampaignCommandInput | UpdateRecommenderCommandInput;
|
|
68
|
-
export declare type ServiceOutputTypes = CreateBatchInferenceJobCommandOutput | CreateBatchSegmentJobCommandOutput | CreateCampaignCommandOutput | CreateDatasetCommandOutput | CreateDatasetExportJobCommandOutput | CreateDatasetGroupCommandOutput | CreateDatasetImportJobCommandOutput | CreateEventTrackerCommandOutput | CreateFilterCommandOutput | CreateRecommenderCommandOutput | CreateSchemaCommandOutput | CreateSolutionCommandOutput | CreateSolutionVersionCommandOutput | DeleteCampaignCommandOutput | DeleteDatasetCommandOutput | DeleteDatasetGroupCommandOutput | DeleteEventTrackerCommandOutput | DeleteFilterCommandOutput | DeleteRecommenderCommandOutput | DeleteSchemaCommandOutput | DeleteSolutionCommandOutput | DescribeAlgorithmCommandOutput | DescribeBatchInferenceJobCommandOutput | DescribeBatchSegmentJobCommandOutput | DescribeCampaignCommandOutput | DescribeDatasetCommandOutput | DescribeDatasetExportJobCommandOutput | DescribeDatasetGroupCommandOutput | DescribeDatasetImportJobCommandOutput | DescribeEventTrackerCommandOutput | DescribeFeatureTransformationCommandOutput | DescribeFilterCommandOutput | DescribeRecipeCommandOutput | DescribeRecommenderCommandOutput | DescribeSchemaCommandOutput | DescribeSolutionCommandOutput | DescribeSolutionVersionCommandOutput | GetSolutionMetricsCommandOutput | ListBatchInferenceJobsCommandOutput | ListBatchSegmentJobsCommandOutput | ListCampaignsCommandOutput | ListDatasetExportJobsCommandOutput | ListDatasetGroupsCommandOutput | ListDatasetImportJobsCommandOutput | ListDatasetsCommandOutput | ListEventTrackersCommandOutput | ListFiltersCommandOutput | ListRecipesCommandOutput | ListRecommendersCommandOutput | ListSchemasCommandOutput | ListSolutionVersionsCommandOutput | ListSolutionsCommandOutput | ListTagsForResourceCommandOutput | StopSolutionVersionCreationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCampaignCommandOutput | UpdateRecommenderCommandOutput;
|
|
69
|
+
export declare type ServiceInputTypes = CreateBatchInferenceJobCommandInput | CreateBatchSegmentJobCommandInput | CreateCampaignCommandInput | CreateDatasetCommandInput | CreateDatasetExportJobCommandInput | CreateDatasetGroupCommandInput | CreateDatasetImportJobCommandInput | CreateEventTrackerCommandInput | CreateFilterCommandInput | CreateRecommenderCommandInput | CreateSchemaCommandInput | CreateSolutionCommandInput | CreateSolutionVersionCommandInput | DeleteCampaignCommandInput | DeleteDatasetCommandInput | DeleteDatasetGroupCommandInput | DeleteEventTrackerCommandInput | DeleteFilterCommandInput | DeleteRecommenderCommandInput | DeleteSchemaCommandInput | DeleteSolutionCommandInput | DescribeAlgorithmCommandInput | DescribeBatchInferenceJobCommandInput | DescribeBatchSegmentJobCommandInput | DescribeCampaignCommandInput | DescribeDatasetCommandInput | DescribeDatasetExportJobCommandInput | DescribeDatasetGroupCommandInput | DescribeDatasetImportJobCommandInput | DescribeEventTrackerCommandInput | DescribeFeatureTransformationCommandInput | DescribeFilterCommandInput | DescribeRecipeCommandInput | DescribeRecommenderCommandInput | DescribeSchemaCommandInput | DescribeSolutionCommandInput | DescribeSolutionVersionCommandInput | GetSolutionMetricsCommandInput | ListBatchInferenceJobsCommandInput | ListBatchSegmentJobsCommandInput | ListCampaignsCommandInput | ListDatasetExportJobsCommandInput | ListDatasetGroupsCommandInput | ListDatasetImportJobsCommandInput | ListDatasetsCommandInput | ListEventTrackersCommandInput | ListFiltersCommandInput | ListRecipesCommandInput | ListRecommendersCommandInput | ListSchemasCommandInput | ListSolutionVersionsCommandInput | ListSolutionsCommandInput | ListTagsForResourceCommandInput | StartRecommenderCommandInput | StopRecommenderCommandInput | StopSolutionVersionCreationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCampaignCommandInput | UpdateRecommenderCommandInput;
|
|
70
|
+
export declare type ServiceOutputTypes = CreateBatchInferenceJobCommandOutput | CreateBatchSegmentJobCommandOutput | CreateCampaignCommandOutput | CreateDatasetCommandOutput | CreateDatasetExportJobCommandOutput | CreateDatasetGroupCommandOutput | CreateDatasetImportJobCommandOutput | CreateEventTrackerCommandOutput | CreateFilterCommandOutput | CreateRecommenderCommandOutput | CreateSchemaCommandOutput | CreateSolutionCommandOutput | CreateSolutionVersionCommandOutput | DeleteCampaignCommandOutput | DeleteDatasetCommandOutput | DeleteDatasetGroupCommandOutput | DeleteEventTrackerCommandOutput | DeleteFilterCommandOutput | DeleteRecommenderCommandOutput | DeleteSchemaCommandOutput | DeleteSolutionCommandOutput | DescribeAlgorithmCommandOutput | DescribeBatchInferenceJobCommandOutput | DescribeBatchSegmentJobCommandOutput | DescribeCampaignCommandOutput | DescribeDatasetCommandOutput | DescribeDatasetExportJobCommandOutput | DescribeDatasetGroupCommandOutput | DescribeDatasetImportJobCommandOutput | DescribeEventTrackerCommandOutput | DescribeFeatureTransformationCommandOutput | DescribeFilterCommandOutput | DescribeRecipeCommandOutput | DescribeRecommenderCommandOutput | DescribeSchemaCommandOutput | DescribeSolutionCommandOutput | DescribeSolutionVersionCommandOutput | GetSolutionMetricsCommandOutput | ListBatchInferenceJobsCommandOutput | ListBatchSegmentJobsCommandOutput | ListCampaignsCommandOutput | ListDatasetExportJobsCommandOutput | ListDatasetGroupsCommandOutput | ListDatasetImportJobsCommandOutput | ListDatasetsCommandOutput | ListEventTrackersCommandOutput | ListFiltersCommandOutput | ListRecipesCommandOutput | ListRecommendersCommandOutput | ListSchemasCommandOutput | ListSolutionVersionsCommandOutput | ListSolutionsCommandOutput | ListTagsForResourceCommandOutput | StartRecommenderCommandOutput | StopRecommenderCommandOutput | StopSolutionVersionCreationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCampaignCommandOutput | UpdateRecommenderCommandOutput;
|
|
69
71
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
70
72
|
/**
|
|
71
73
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -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 { StartRecommenderRequest, StartRecommenderResponse } from "../models/models_0";
|
|
4
|
+
import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
|
|
5
|
+
export interface StartRecommenderCommandInput extends StartRecommenderRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface StartRecommenderCommandOutput extends StartRecommenderResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Starts a recommender that is INACTIVE. Starting a recommender does not
|
|
11
|
+
* create any new models, but resumes billing and automatic retraining for the recommender.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { PersonalizeClient, StartRecommenderCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
16
|
+
* // const { PersonalizeClient, StartRecommenderCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
17
|
+
* const client = new PersonalizeClient(config);
|
|
18
|
+
* const command = new StartRecommenderCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link StartRecommenderCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link StartRecommenderCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link PersonalizeClientResolvedConfig | config} for PersonalizeClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class StartRecommenderCommand extends $Command<StartRecommenderCommandInput, StartRecommenderCommandOutput, PersonalizeClientResolvedConfig> {
|
|
28
|
+
readonly input: StartRecommenderCommandInput;
|
|
29
|
+
constructor(input: StartRecommenderCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartRecommenderCommandInput, StartRecommenderCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -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 { StopRecommenderRequest, StopRecommenderResponse } from "../models/models_0";
|
|
4
|
+
import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
|
|
5
|
+
export interface StopRecommenderCommandInput extends StopRecommenderRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface StopRecommenderCommandOutput extends StopRecommenderResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Stops a recommender that is ACTIVE. Stopping a recommender halts billing and automatic retraining for the recommender.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { PersonalizeClient, StopRecommenderCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
15
|
+
* // const { PersonalizeClient, StopRecommenderCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
16
|
+
* const client = new PersonalizeClient(config);
|
|
17
|
+
* const command = new StopRecommenderCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link StopRecommenderCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link StopRecommenderCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link PersonalizeClientResolvedConfig | config} for PersonalizeClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class StopRecommenderCommand extends $Command<StopRecommenderCommandInput, StopRecommenderCommandOutput, PersonalizeClientResolvedConfig> {
|
|
27
|
+
readonly input: StopRecommenderCommandInput;
|
|
28
|
+
constructor(input: StopRecommenderCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StopRecommenderCommandInput, StopRecommenderCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -11,10 +11,13 @@ export interface UpdateCampaignCommandOutput extends UpdateCampaignResponse, __M
|
|
|
11
11
|
* campaign's <code>minProvisionedTPS</code> parameter.</p>
|
|
12
12
|
* <p>To update a campaign, the campaign status must be ACTIVE or CREATE FAILED.
|
|
13
13
|
* Check the campaign status using the <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeCampaign.html">DescribeCampaign</a> operation.</p>
|
|
14
|
+
*
|
|
14
15
|
* <note>
|
|
15
|
-
* <p>You
|
|
16
|
-
*
|
|
16
|
+
* <p>You can still get recommendations from a campaign while an update is in progress.
|
|
17
|
+
* The campaign will use the previous solution version and campaign configuration to generate recommendations until the latest campaign update status is <code>Active</code>.
|
|
18
|
+
* </p>
|
|
17
19
|
* </note>
|
|
20
|
+
*
|
|
18
21
|
* <p>For more information on campaigns, see <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_CreateCampaign.html">CreateCampaign</a>.</p>
|
|
19
22
|
* @example
|
|
20
23
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -51,6 +51,8 @@ export * from "./ListSchemasCommand";
|
|
|
51
51
|
export * from "./ListSolutionVersionsCommand";
|
|
52
52
|
export * from "./ListSolutionsCommand";
|
|
53
53
|
export * from "./ListTagsForResourceCommand";
|
|
54
|
+
export * from "./StartRecommenderCommand";
|
|
55
|
+
export * from "./StopRecommenderCommand";
|
|
54
56
|
export * from "./StopSolutionVersionCreationCommand";
|
|
55
57
|
export * from "./TagResourceCommand";
|
|
56
58
|
export * from "./UntagResourceCommand";
|
|
@@ -4154,6 +4154,54 @@ export declare namespace ListTagsForResourceResponse {
|
|
|
4154
4154
|
*/
|
|
4155
4155
|
const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
|
|
4156
4156
|
}
|
|
4157
|
+
export interface StartRecommenderRequest {
|
|
4158
|
+
/**
|
|
4159
|
+
* <p>The Amazon Resource Name (ARN) of the recommender to start.</p>
|
|
4160
|
+
*/
|
|
4161
|
+
recommenderArn: string | undefined;
|
|
4162
|
+
}
|
|
4163
|
+
export declare namespace StartRecommenderRequest {
|
|
4164
|
+
/**
|
|
4165
|
+
* @internal
|
|
4166
|
+
*/
|
|
4167
|
+
const filterSensitiveLog: (obj: StartRecommenderRequest) => any;
|
|
4168
|
+
}
|
|
4169
|
+
export interface StartRecommenderResponse {
|
|
4170
|
+
/**
|
|
4171
|
+
* <p>The Amazon Resource Name (ARN) of the recommender you started.</p>
|
|
4172
|
+
*/
|
|
4173
|
+
recommenderArn?: string;
|
|
4174
|
+
}
|
|
4175
|
+
export declare namespace StartRecommenderResponse {
|
|
4176
|
+
/**
|
|
4177
|
+
* @internal
|
|
4178
|
+
*/
|
|
4179
|
+
const filterSensitiveLog: (obj: StartRecommenderResponse) => any;
|
|
4180
|
+
}
|
|
4181
|
+
export interface StopRecommenderRequest {
|
|
4182
|
+
/**
|
|
4183
|
+
* <p>The Amazon Resource Name (ARN) of the recommender to stop.</p>
|
|
4184
|
+
*/
|
|
4185
|
+
recommenderArn: string | undefined;
|
|
4186
|
+
}
|
|
4187
|
+
export declare namespace StopRecommenderRequest {
|
|
4188
|
+
/**
|
|
4189
|
+
* @internal
|
|
4190
|
+
*/
|
|
4191
|
+
const filterSensitiveLog: (obj: StopRecommenderRequest) => any;
|
|
4192
|
+
}
|
|
4193
|
+
export interface StopRecommenderResponse {
|
|
4194
|
+
/**
|
|
4195
|
+
* <p>The Amazon Resource Name (ARN) of the recommender you stopped.</p>
|
|
4196
|
+
*/
|
|
4197
|
+
recommenderArn?: string;
|
|
4198
|
+
}
|
|
4199
|
+
export declare namespace StopRecommenderResponse {
|
|
4200
|
+
/**
|
|
4201
|
+
* @internal
|
|
4202
|
+
*/
|
|
4203
|
+
const filterSensitiveLog: (obj: StopRecommenderResponse) => any;
|
|
4204
|
+
}
|
|
4157
4205
|
export interface StopSolutionVersionCreationRequest {
|
|
4158
4206
|
/**
|
|
4159
4207
|
* <p>The Amazon Resource Name (ARN) of the solution version you want to stop creating.</p>
|
|
@@ -53,6 +53,8 @@ import { ListSchemasCommandInput, ListSchemasCommandOutput } from "../commands/L
|
|
|
53
53
|
import { ListSolutionsCommandInput, ListSolutionsCommandOutput } from "../commands/ListSolutionsCommand";
|
|
54
54
|
import { ListSolutionVersionsCommandInput, ListSolutionVersionsCommandOutput } from "../commands/ListSolutionVersionsCommand";
|
|
55
55
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
56
|
+
import { StartRecommenderCommandInput, StartRecommenderCommandOutput } from "../commands/StartRecommenderCommand";
|
|
57
|
+
import { StopRecommenderCommandInput, StopRecommenderCommandOutput } from "../commands/StopRecommenderCommand";
|
|
56
58
|
import { StopSolutionVersionCreationCommandInput, StopSolutionVersionCreationCommandOutput } from "../commands/StopSolutionVersionCreationCommand";
|
|
57
59
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
58
60
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
@@ -111,6 +113,8 @@ export declare const serializeAws_json1_1ListSchemasCommand: (input: ListSchemas
|
|
|
111
113
|
export declare const serializeAws_json1_1ListSolutionsCommand: (input: ListSolutionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
112
114
|
export declare const serializeAws_json1_1ListSolutionVersionsCommand: (input: ListSolutionVersionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
113
115
|
export declare const serializeAws_json1_1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
116
|
+
export declare const serializeAws_json1_1StartRecommenderCommand: (input: StartRecommenderCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
117
|
+
export declare const serializeAws_json1_1StopRecommenderCommand: (input: StopRecommenderCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
114
118
|
export declare const serializeAws_json1_1StopSolutionVersionCreationCommand: (input: StopSolutionVersionCreationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
115
119
|
export declare const serializeAws_json1_1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
116
120
|
export declare const serializeAws_json1_1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -169,6 +173,8 @@ export declare const deserializeAws_json1_1ListSchemasCommand: (output: __HttpRe
|
|
|
169
173
|
export declare const deserializeAws_json1_1ListSolutionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListSolutionsCommandOutput>;
|
|
170
174
|
export declare const deserializeAws_json1_1ListSolutionVersionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListSolutionVersionsCommandOutput>;
|
|
171
175
|
export declare const deserializeAws_json1_1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
|
176
|
+
export declare const deserializeAws_json1_1StartRecommenderCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartRecommenderCommandOutput>;
|
|
177
|
+
export declare const deserializeAws_json1_1StopRecommenderCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopRecommenderCommandOutput>;
|
|
172
178
|
export declare const deserializeAws_json1_1StopSolutionVersionCreationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopSolutionVersionCreationCommandOutput>;
|
|
173
179
|
export declare const deserializeAws_json1_1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
|
|
174
180
|
export declare const deserializeAws_json1_1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
@@ -52,6 +52,8 @@ import { ListSchemasCommandInput, ListSchemasCommandOutput } from "./commands/Li
|
|
|
52
52
|
import { ListSolutionsCommandInput, ListSolutionsCommandOutput } from "./commands/ListSolutionsCommand";
|
|
53
53
|
import { ListSolutionVersionsCommandInput, ListSolutionVersionsCommandOutput } from "./commands/ListSolutionVersionsCommand";
|
|
54
54
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
55
|
+
import { StartRecommenderCommandInput, StartRecommenderCommandOutput } from "./commands/StartRecommenderCommand";
|
|
56
|
+
import { StopRecommenderCommandInput, StopRecommenderCommandOutput } from "./commands/StopRecommenderCommand";
|
|
55
57
|
import { StopSolutionVersionCreationCommandInput, StopSolutionVersionCreationCommandOutput } from "./commands/StopSolutionVersionCreationCommand";
|
|
56
58
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
57
59
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
@@ -273,6 +275,14 @@ export declare class Personalize extends PersonalizeClient {
|
|
|
273
275
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
274
276
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
275
277
|
|
|
278
|
+
startRecommender(args: StartRecommenderCommandInput, options?: __HttpHandlerOptions): Promise<StartRecommenderCommandOutput>;
|
|
279
|
+
startRecommender(args: StartRecommenderCommandInput, cb: (err: any, data?: StartRecommenderCommandOutput) => void): void;
|
|
280
|
+
startRecommender(args: StartRecommenderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartRecommenderCommandOutput) => void): void;
|
|
281
|
+
|
|
282
|
+
stopRecommender(args: StopRecommenderCommandInput, options?: __HttpHandlerOptions): Promise<StopRecommenderCommandOutput>;
|
|
283
|
+
stopRecommender(args: StopRecommenderCommandInput, cb: (err: any, data?: StopRecommenderCommandOutput) => void): void;
|
|
284
|
+
stopRecommender(args: StopRecommenderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopRecommenderCommandOutput) => void): void;
|
|
285
|
+
|
|
276
286
|
stopSolutionVersionCreation(args: StopSolutionVersionCreationCommandInput, options?: __HttpHandlerOptions): Promise<StopSolutionVersionCreationCommandOutput>;
|
|
277
287
|
stopSolutionVersionCreation(args: StopSolutionVersionCreationCommandInput, cb: (err: any, data?: StopSolutionVersionCreationCommandOutput) => void): void;
|
|
278
288
|
stopSolutionVersionCreation(args: StopSolutionVersionCreationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopSolutionVersionCreationCommandOutput) => void): void;
|
|
@@ -59,13 +59,15 @@ import { ListSchemasCommandInput, ListSchemasCommandOutput } from "./commands/Li
|
|
|
59
59
|
import { ListSolutionsCommandInput, ListSolutionsCommandOutput } from "./commands/ListSolutionsCommand";
|
|
60
60
|
import { ListSolutionVersionsCommandInput, ListSolutionVersionsCommandOutput } from "./commands/ListSolutionVersionsCommand";
|
|
61
61
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
62
|
+
import { StartRecommenderCommandInput, StartRecommenderCommandOutput } from "./commands/StartRecommenderCommand";
|
|
63
|
+
import { StopRecommenderCommandInput, StopRecommenderCommandOutput } from "./commands/StopRecommenderCommand";
|
|
62
64
|
import { StopSolutionVersionCreationCommandInput, StopSolutionVersionCreationCommandOutput } from "./commands/StopSolutionVersionCreationCommand";
|
|
63
65
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
64
66
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
65
67
|
import { UpdateCampaignCommandInput, UpdateCampaignCommandOutput } from "./commands/UpdateCampaignCommand";
|
|
66
68
|
import { UpdateRecommenderCommandInput, UpdateRecommenderCommandOutput } from "./commands/UpdateRecommenderCommand";
|
|
67
|
-
export declare type ServiceInputTypes = CreateBatchInferenceJobCommandInput | CreateBatchSegmentJobCommandInput | CreateCampaignCommandInput | CreateDatasetCommandInput | CreateDatasetExportJobCommandInput | CreateDatasetGroupCommandInput | CreateDatasetImportJobCommandInput | CreateEventTrackerCommandInput | CreateFilterCommandInput | CreateRecommenderCommandInput | CreateSchemaCommandInput | CreateSolutionCommandInput | CreateSolutionVersionCommandInput | DeleteCampaignCommandInput | DeleteDatasetCommandInput | DeleteDatasetGroupCommandInput | DeleteEventTrackerCommandInput | DeleteFilterCommandInput | DeleteRecommenderCommandInput | DeleteSchemaCommandInput | DeleteSolutionCommandInput | DescribeAlgorithmCommandInput | DescribeBatchInferenceJobCommandInput | DescribeBatchSegmentJobCommandInput | DescribeCampaignCommandInput | DescribeDatasetCommandInput | DescribeDatasetExportJobCommandInput | DescribeDatasetGroupCommandInput | DescribeDatasetImportJobCommandInput | DescribeEventTrackerCommandInput | DescribeFeatureTransformationCommandInput | DescribeFilterCommandInput | DescribeRecipeCommandInput | DescribeRecommenderCommandInput | DescribeSchemaCommandInput | DescribeSolutionCommandInput | DescribeSolutionVersionCommandInput | GetSolutionMetricsCommandInput | ListBatchInferenceJobsCommandInput | ListBatchSegmentJobsCommandInput | ListCampaignsCommandInput | ListDatasetExportJobsCommandInput | ListDatasetGroupsCommandInput | ListDatasetImportJobsCommandInput | ListDatasetsCommandInput | ListEventTrackersCommandInput | ListFiltersCommandInput | ListRecipesCommandInput | ListRecommendersCommandInput | ListSchemasCommandInput | ListSolutionVersionsCommandInput | ListSolutionsCommandInput | ListTagsForResourceCommandInput | StopSolutionVersionCreationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCampaignCommandInput | UpdateRecommenderCommandInput;
|
|
68
|
-
export declare type ServiceOutputTypes = CreateBatchInferenceJobCommandOutput | CreateBatchSegmentJobCommandOutput | CreateCampaignCommandOutput | CreateDatasetCommandOutput | CreateDatasetExportJobCommandOutput | CreateDatasetGroupCommandOutput | CreateDatasetImportJobCommandOutput | CreateEventTrackerCommandOutput | CreateFilterCommandOutput | CreateRecommenderCommandOutput | CreateSchemaCommandOutput | CreateSolutionCommandOutput | CreateSolutionVersionCommandOutput | DeleteCampaignCommandOutput | DeleteDatasetCommandOutput | DeleteDatasetGroupCommandOutput | DeleteEventTrackerCommandOutput | DeleteFilterCommandOutput | DeleteRecommenderCommandOutput | DeleteSchemaCommandOutput | DeleteSolutionCommandOutput | DescribeAlgorithmCommandOutput | DescribeBatchInferenceJobCommandOutput | DescribeBatchSegmentJobCommandOutput | DescribeCampaignCommandOutput | DescribeDatasetCommandOutput | DescribeDatasetExportJobCommandOutput | DescribeDatasetGroupCommandOutput | DescribeDatasetImportJobCommandOutput | DescribeEventTrackerCommandOutput | DescribeFeatureTransformationCommandOutput | DescribeFilterCommandOutput | DescribeRecipeCommandOutput | DescribeRecommenderCommandOutput | DescribeSchemaCommandOutput | DescribeSolutionCommandOutput | DescribeSolutionVersionCommandOutput | GetSolutionMetricsCommandOutput | ListBatchInferenceJobsCommandOutput | ListBatchSegmentJobsCommandOutput | ListCampaignsCommandOutput | ListDatasetExportJobsCommandOutput | ListDatasetGroupsCommandOutput | ListDatasetImportJobsCommandOutput | ListDatasetsCommandOutput | ListEventTrackersCommandOutput | ListFiltersCommandOutput | ListRecipesCommandOutput | ListRecommendersCommandOutput | ListSchemasCommandOutput | ListSolutionVersionsCommandOutput | ListSolutionsCommandOutput | ListTagsForResourceCommandOutput | StopSolutionVersionCreationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCampaignCommandOutput | UpdateRecommenderCommandOutput;
|
|
69
|
+
export declare type ServiceInputTypes = CreateBatchInferenceJobCommandInput | CreateBatchSegmentJobCommandInput | CreateCampaignCommandInput | CreateDatasetCommandInput | CreateDatasetExportJobCommandInput | CreateDatasetGroupCommandInput | CreateDatasetImportJobCommandInput | CreateEventTrackerCommandInput | CreateFilterCommandInput | CreateRecommenderCommandInput | CreateSchemaCommandInput | CreateSolutionCommandInput | CreateSolutionVersionCommandInput | DeleteCampaignCommandInput | DeleteDatasetCommandInput | DeleteDatasetGroupCommandInput | DeleteEventTrackerCommandInput | DeleteFilterCommandInput | DeleteRecommenderCommandInput | DeleteSchemaCommandInput | DeleteSolutionCommandInput | DescribeAlgorithmCommandInput | DescribeBatchInferenceJobCommandInput | DescribeBatchSegmentJobCommandInput | DescribeCampaignCommandInput | DescribeDatasetCommandInput | DescribeDatasetExportJobCommandInput | DescribeDatasetGroupCommandInput | DescribeDatasetImportJobCommandInput | DescribeEventTrackerCommandInput | DescribeFeatureTransformationCommandInput | DescribeFilterCommandInput | DescribeRecipeCommandInput | DescribeRecommenderCommandInput | DescribeSchemaCommandInput | DescribeSolutionCommandInput | DescribeSolutionVersionCommandInput | GetSolutionMetricsCommandInput | ListBatchInferenceJobsCommandInput | ListBatchSegmentJobsCommandInput | ListCampaignsCommandInput | ListDatasetExportJobsCommandInput | ListDatasetGroupsCommandInput | ListDatasetImportJobsCommandInput | ListDatasetsCommandInput | ListEventTrackersCommandInput | ListFiltersCommandInput | ListRecipesCommandInput | ListRecommendersCommandInput | ListSchemasCommandInput | ListSolutionVersionsCommandInput | ListSolutionsCommandInput | ListTagsForResourceCommandInput | StartRecommenderCommandInput | StopRecommenderCommandInput | StopSolutionVersionCreationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCampaignCommandInput | UpdateRecommenderCommandInput;
|
|
70
|
+
export declare type ServiceOutputTypes = CreateBatchInferenceJobCommandOutput | CreateBatchSegmentJobCommandOutput | CreateCampaignCommandOutput | CreateDatasetCommandOutput | CreateDatasetExportJobCommandOutput | CreateDatasetGroupCommandOutput | CreateDatasetImportJobCommandOutput | CreateEventTrackerCommandOutput | CreateFilterCommandOutput | CreateRecommenderCommandOutput | CreateSchemaCommandOutput | CreateSolutionCommandOutput | CreateSolutionVersionCommandOutput | DeleteCampaignCommandOutput | DeleteDatasetCommandOutput | DeleteDatasetGroupCommandOutput | DeleteEventTrackerCommandOutput | DeleteFilterCommandOutput | DeleteRecommenderCommandOutput | DeleteSchemaCommandOutput | DeleteSolutionCommandOutput | DescribeAlgorithmCommandOutput | DescribeBatchInferenceJobCommandOutput | DescribeBatchSegmentJobCommandOutput | DescribeCampaignCommandOutput | DescribeDatasetCommandOutput | DescribeDatasetExportJobCommandOutput | DescribeDatasetGroupCommandOutput | DescribeDatasetImportJobCommandOutput | DescribeEventTrackerCommandOutput | DescribeFeatureTransformationCommandOutput | DescribeFilterCommandOutput | DescribeRecipeCommandOutput | DescribeRecommenderCommandOutput | DescribeSchemaCommandOutput | DescribeSolutionCommandOutput | DescribeSolutionVersionCommandOutput | GetSolutionMetricsCommandOutput | ListBatchInferenceJobsCommandOutput | ListBatchSegmentJobsCommandOutput | ListCampaignsCommandOutput | ListDatasetExportJobsCommandOutput | ListDatasetGroupsCommandOutput | ListDatasetImportJobsCommandOutput | ListDatasetsCommandOutput | ListEventTrackersCommandOutput | ListFiltersCommandOutput | ListRecipesCommandOutput | ListRecommendersCommandOutput | ListSchemasCommandOutput | ListSolutionVersionsCommandOutput | ListSolutionsCommandOutput | ListTagsForResourceCommandOutput | StartRecommenderCommandOutput | StopRecommenderCommandOutput | StopSolutionVersionCreationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCampaignCommandOutput | UpdateRecommenderCommandOutput;
|
|
69
71
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
70
72
|
|
|
71
73
|
requestHandler?: __HttpHandler;
|
|
@@ -0,0 +1,17 @@
|
|
|
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 { StartRecommenderRequest, StartRecommenderResponse } from "../models/models_0";
|
|
4
|
+
import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
|
|
5
|
+
export interface StartRecommenderCommandInput extends StartRecommenderRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface StartRecommenderCommandOutput extends StartRecommenderResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class StartRecommenderCommand extends $Command<StartRecommenderCommandInput, StartRecommenderCommandOutput, PersonalizeClientResolvedConfig> {
|
|
11
|
+
readonly input: StartRecommenderCommandInput;
|
|
12
|
+
constructor(input: StartRecommenderCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartRecommenderCommandInput, StartRecommenderCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
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 { StopRecommenderRequest, StopRecommenderResponse } from "../models/models_0";
|
|
4
|
+
import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
|
|
5
|
+
export interface StopRecommenderCommandInput extends StopRecommenderRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface StopRecommenderCommandOutput extends StopRecommenderResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class StopRecommenderCommand extends $Command<StopRecommenderCommandInput, StopRecommenderCommandOutput, PersonalizeClientResolvedConfig> {
|
|
11
|
+
readonly input: StopRecommenderCommandInput;
|
|
12
|
+
constructor(input: StopRecommenderCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StopRecommenderCommandInput, StopRecommenderCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -51,6 +51,8 @@ export * from "./ListSchemasCommand";
|
|
|
51
51
|
export * from "./ListSolutionVersionsCommand";
|
|
52
52
|
export * from "./ListSolutionsCommand";
|
|
53
53
|
export * from "./ListTagsForResourceCommand";
|
|
54
|
+
export * from "./StartRecommenderCommand";
|
|
55
|
+
export * from "./StopRecommenderCommand";
|
|
54
56
|
export * from "./StopSolutionVersionCreationCommand";
|
|
55
57
|
export * from "./TagResourceCommand";
|
|
56
58
|
export * from "./UntagResourceCommand";
|
|
@@ -2125,6 +2125,38 @@ export declare namespace ListTagsForResourceResponse {
|
|
|
2125
2125
|
|
|
2126
2126
|
const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
|
|
2127
2127
|
}
|
|
2128
|
+
export interface StartRecommenderRequest {
|
|
2129
|
+
|
|
2130
|
+
recommenderArn: string | undefined;
|
|
2131
|
+
}
|
|
2132
|
+
export declare namespace StartRecommenderRequest {
|
|
2133
|
+
|
|
2134
|
+
const filterSensitiveLog: (obj: StartRecommenderRequest) => any;
|
|
2135
|
+
}
|
|
2136
|
+
export interface StartRecommenderResponse {
|
|
2137
|
+
|
|
2138
|
+
recommenderArn?: string;
|
|
2139
|
+
}
|
|
2140
|
+
export declare namespace StartRecommenderResponse {
|
|
2141
|
+
|
|
2142
|
+
const filterSensitiveLog: (obj: StartRecommenderResponse) => any;
|
|
2143
|
+
}
|
|
2144
|
+
export interface StopRecommenderRequest {
|
|
2145
|
+
|
|
2146
|
+
recommenderArn: string | undefined;
|
|
2147
|
+
}
|
|
2148
|
+
export declare namespace StopRecommenderRequest {
|
|
2149
|
+
|
|
2150
|
+
const filterSensitiveLog: (obj: StopRecommenderRequest) => any;
|
|
2151
|
+
}
|
|
2152
|
+
export interface StopRecommenderResponse {
|
|
2153
|
+
|
|
2154
|
+
recommenderArn?: string;
|
|
2155
|
+
}
|
|
2156
|
+
export declare namespace StopRecommenderResponse {
|
|
2157
|
+
|
|
2158
|
+
const filterSensitiveLog: (obj: StopRecommenderResponse) => any;
|
|
2159
|
+
}
|
|
2128
2160
|
export interface StopSolutionVersionCreationRequest {
|
|
2129
2161
|
|
|
2130
2162
|
solutionVersionArn: string | undefined;
|
|
@@ -53,6 +53,8 @@ import { ListSchemasCommandInput, ListSchemasCommandOutput } from "../commands/L
|
|
|
53
53
|
import { ListSolutionsCommandInput, ListSolutionsCommandOutput } from "../commands/ListSolutionsCommand";
|
|
54
54
|
import { ListSolutionVersionsCommandInput, ListSolutionVersionsCommandOutput } from "../commands/ListSolutionVersionsCommand";
|
|
55
55
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
56
|
+
import { StartRecommenderCommandInput, StartRecommenderCommandOutput } from "../commands/StartRecommenderCommand";
|
|
57
|
+
import { StopRecommenderCommandInput, StopRecommenderCommandOutput } from "../commands/StopRecommenderCommand";
|
|
56
58
|
import { StopSolutionVersionCreationCommandInput, StopSolutionVersionCreationCommandOutput } from "../commands/StopSolutionVersionCreationCommand";
|
|
57
59
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
58
60
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
@@ -111,6 +113,8 @@ export declare const serializeAws_json1_1ListSchemasCommand: (input: ListSchemas
|
|
|
111
113
|
export declare const serializeAws_json1_1ListSolutionsCommand: (input: ListSolutionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
112
114
|
export declare const serializeAws_json1_1ListSolutionVersionsCommand: (input: ListSolutionVersionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
113
115
|
export declare const serializeAws_json1_1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
116
|
+
export declare const serializeAws_json1_1StartRecommenderCommand: (input: StartRecommenderCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
117
|
+
export declare const serializeAws_json1_1StopRecommenderCommand: (input: StopRecommenderCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
114
118
|
export declare const serializeAws_json1_1StopSolutionVersionCreationCommand: (input: StopSolutionVersionCreationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
115
119
|
export declare const serializeAws_json1_1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
116
120
|
export declare const serializeAws_json1_1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -169,6 +173,8 @@ export declare const deserializeAws_json1_1ListSchemasCommand: (output: __HttpRe
|
|
|
169
173
|
export declare const deserializeAws_json1_1ListSolutionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListSolutionsCommandOutput>;
|
|
170
174
|
export declare const deserializeAws_json1_1ListSolutionVersionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListSolutionVersionsCommandOutput>;
|
|
171
175
|
export declare const deserializeAws_json1_1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
|
176
|
+
export declare const deserializeAws_json1_1StartRecommenderCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartRecommenderCommandOutput>;
|
|
177
|
+
export declare const deserializeAws_json1_1StopRecommenderCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopRecommenderCommandOutput>;
|
|
172
178
|
export declare const deserializeAws_json1_1StopSolutionVersionCreationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopSolutionVersionCreationCommandOutput>;
|
|
173
179
|
export declare const deserializeAws_json1_1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
|
|
174
180
|
export declare const deserializeAws_json1_1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-personalize",
|
|
3
3
|
"description": "AWS SDK for JavaScript Personalize Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.74.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.74.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.58.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.74.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.58.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.55.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.55.0",
|
|
@@ -33,17 +33,17 @@
|
|
|
33
33
|
"@aws-sdk/middleware-stack": "3.55.0",
|
|
34
34
|
"@aws-sdk/middleware-user-agent": "3.58.0",
|
|
35
35
|
"@aws-sdk/node-config-provider": "3.58.0",
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.74.0",
|
|
37
37
|
"@aws-sdk/protocol-http": "3.58.0",
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
38
|
+
"@aws-sdk/smithy-client": "3.72.0",
|
|
39
39
|
"@aws-sdk/types": "3.55.0",
|
|
40
40
|
"@aws-sdk/url-parser": "3.55.0",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.58.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.72.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.72.0",
|
|
47
47
|
"@aws-sdk/util-user-agent-browser": "3.58.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-node": "3.58.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.55.0",
|