@aws-sdk/client-personalize 3.369.0 → 3.370.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/README.md +8 -0
- package/dist-cjs/Personalize.js +2 -0
- package/dist-cjs/commands/UpdateDatasetCommand.js +46 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +58 -2
- package/dist-es/Personalize.js +2 -0
- package/dist-es/commands/UpdateDatasetCommand.js +42 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +54 -0
- package/dist-types/Personalize.d.ts +7 -0
- package/dist-types/PersonalizeClient.d.ts +3 -2
- package/dist-types/commands/DescribeDatasetCommand.d.ts +7 -0
- package/dist-types/commands/UpdateDatasetCommand.d.ts +83 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +55 -2
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/ts3.4/Personalize.d.ts +17 -0
- package/dist-types/ts3.4/PersonalizeClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/UpdateDatasetCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +15 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
- package/package.json +16 -17
package/README.md
CHANGED
|
@@ -715,6 +715,14 @@ UpdateCampaign
|
|
|
715
715
|
|
|
716
716
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-personalize/classes/updatecampaigncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-personalize/interfaces/updatecampaigncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-personalize/interfaces/updatecampaigncommandoutput.html)
|
|
717
717
|
|
|
718
|
+
</details>
|
|
719
|
+
<details>
|
|
720
|
+
<summary>
|
|
721
|
+
UpdateDataset
|
|
722
|
+
</summary>
|
|
723
|
+
|
|
724
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-personalize/classes/updatedatasetcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-personalize/interfaces/updatedatasetcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-personalize/interfaces/updatedatasetcommandoutput.html)
|
|
725
|
+
|
|
718
726
|
</details>
|
|
719
727
|
<details>
|
|
720
728
|
<summary>
|
package/dist-cjs/Personalize.js
CHANGED
|
@@ -66,6 +66,7 @@ const StopSolutionVersionCreationCommand_1 = require("./commands/StopSolutionVer
|
|
|
66
66
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
67
67
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
68
68
|
const UpdateCampaignCommand_1 = require("./commands/UpdateCampaignCommand");
|
|
69
|
+
const UpdateDatasetCommand_1 = require("./commands/UpdateDatasetCommand");
|
|
69
70
|
const UpdateMetricAttributionCommand_1 = require("./commands/UpdateMetricAttributionCommand");
|
|
70
71
|
const UpdateRecommenderCommand_1 = require("./commands/UpdateRecommenderCommand");
|
|
71
72
|
const PersonalizeClient_1 = require("./PersonalizeClient");
|
|
@@ -134,6 +135,7 @@ const commands = {
|
|
|
134
135
|
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
135
136
|
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
136
137
|
UpdateCampaignCommand: UpdateCampaignCommand_1.UpdateCampaignCommand,
|
|
138
|
+
UpdateDatasetCommand: UpdateDatasetCommand_1.UpdateDatasetCommand,
|
|
137
139
|
UpdateMetricAttributionCommand: UpdateMetricAttributionCommand_1.UpdateMetricAttributionCommand,
|
|
138
140
|
UpdateRecommenderCommand: UpdateRecommenderCommand_1.UpdateRecommenderCommand,
|
|
139
141
|
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateDatasetCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class UpdateDatasetCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateDatasetCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "PersonalizeClient";
|
|
28
|
+
const commandName = "UpdateDatasetCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.se_UpdateDatasetCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.de_UpdateDatasetCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.UpdateDatasetCommand = UpdateDatasetCommand;
|
|
@@ -65,5 +65,6 @@ tslib_1.__exportStar(require("./StopSolutionVersionCreationCommand"), exports);
|
|
|
65
65
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
66
66
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
67
67
|
tslib_1.__exportStar(require("./UpdateCampaignCommand"), exports);
|
|
68
|
+
tslib_1.__exportStar(require("./UpdateDatasetCommand"), exports);
|
|
68
69
|
tslib_1.__exportStar(require("./UpdateMetricAttributionCommand"), exports);
|
|
69
70
|
tslib_1.__exportStar(require("./UpdateRecommenderCommand"), exports);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.se_ListFiltersCommand = exports.se_ListEventTrackersCommand = exports.se_ListDatasetsCommand = exports.se_ListDatasetImportJobsCommand = exports.se_ListDatasetGroupsCommand = exports.se_ListDatasetExportJobsCommand = exports.se_ListCampaignsCommand = exports.se_ListBatchSegmentJobsCommand = exports.se_ListBatchInferenceJobsCommand = exports.se_GetSolutionMetricsCommand = exports.se_DescribeSolutionVersionCommand = exports.se_DescribeSolutionCommand = exports.se_DescribeSchemaCommand = exports.se_DescribeRecommenderCommand = exports.se_DescribeRecipeCommand = exports.se_DescribeMetricAttributionCommand = exports.se_DescribeFilterCommand = exports.se_DescribeFeatureTransformationCommand = exports.se_DescribeEventTrackerCommand = exports.se_DescribeDatasetImportJobCommand = exports.se_DescribeDatasetGroupCommand = exports.se_DescribeDatasetExportJobCommand = exports.se_DescribeDatasetCommand = exports.se_DescribeCampaignCommand = exports.se_DescribeBatchSegmentJobCommand = exports.se_DescribeBatchInferenceJobCommand = exports.se_DescribeAlgorithmCommand = exports.se_DeleteSolutionCommand = exports.se_DeleteSchemaCommand = exports.se_DeleteRecommenderCommand = exports.se_DeleteMetricAttributionCommand = exports.se_DeleteFilterCommand = exports.se_DeleteEventTrackerCommand = exports.se_DeleteDatasetGroupCommand = exports.se_DeleteDatasetCommand = exports.se_DeleteCampaignCommand = exports.se_CreateSolutionVersionCommand = exports.se_CreateSolutionCommand = exports.se_CreateSchemaCommand = exports.se_CreateRecommenderCommand = exports.se_CreateMetricAttributionCommand = exports.se_CreateFilterCommand = exports.se_CreateEventTrackerCommand = exports.se_CreateDatasetImportJobCommand = exports.se_CreateDatasetGroupCommand = exports.se_CreateDatasetExportJobCommand = exports.se_CreateDatasetCommand = exports.se_CreateCampaignCommand = exports.se_CreateBatchSegmentJobCommand = exports.se_CreateBatchInferenceJobCommand = void 0;
|
|
4
|
-
exports.
|
|
5
|
-
exports.de_UpdateRecommenderCommand = exports.de_UpdateMetricAttributionCommand = exports.de_UpdateCampaignCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopSolutionVersionCreationCommand = exports.de_StopRecommenderCommand = exports.de_StartRecommenderCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSolutionVersionsCommand = exports.de_ListSolutionsCommand = exports.de_ListSchemasCommand = exports.de_ListRecommendersCommand = exports.de_ListRecipesCommand = exports.de_ListMetricAttributionsCommand = exports.de_ListMetricAttributionMetricsCommand = exports.de_ListFiltersCommand = exports.de_ListEventTrackersCommand = exports.de_ListDatasetsCommand = exports.de_ListDatasetImportJobsCommand = exports.de_ListDatasetGroupsCommand = exports.de_ListDatasetExportJobsCommand = exports.de_ListCampaignsCommand = exports.de_ListBatchSegmentJobsCommand = exports.de_ListBatchInferenceJobsCommand = exports.de_GetSolutionMetricsCommand = exports.de_DescribeSolutionVersionCommand = exports.de_DescribeSolutionCommand = exports.de_DescribeSchemaCommand = exports.de_DescribeRecommenderCommand = exports.de_DescribeRecipeCommand = exports.de_DescribeMetricAttributionCommand = void 0;
|
|
4
|
+
exports.de_DescribeFeatureTransformationCommand = exports.de_DescribeEventTrackerCommand = exports.de_DescribeDatasetImportJobCommand = exports.de_DescribeDatasetGroupCommand = exports.de_DescribeDatasetExportJobCommand = exports.de_DescribeDatasetCommand = exports.de_DescribeCampaignCommand = exports.de_DescribeBatchSegmentJobCommand = exports.de_DescribeBatchInferenceJobCommand = exports.de_DescribeAlgorithmCommand = exports.de_DeleteSolutionCommand = exports.de_DeleteSchemaCommand = exports.de_DeleteRecommenderCommand = exports.de_DeleteMetricAttributionCommand = exports.de_DeleteFilterCommand = exports.de_DeleteEventTrackerCommand = exports.de_DeleteDatasetGroupCommand = exports.de_DeleteDatasetCommand = exports.de_DeleteCampaignCommand = exports.de_CreateSolutionVersionCommand = exports.de_CreateSolutionCommand = exports.de_CreateSchemaCommand = exports.de_CreateRecommenderCommand = exports.de_CreateMetricAttributionCommand = exports.de_CreateFilterCommand = exports.de_CreateEventTrackerCommand = exports.de_CreateDatasetImportJobCommand = exports.de_CreateDatasetGroupCommand = exports.de_CreateDatasetExportJobCommand = exports.de_CreateDatasetCommand = exports.de_CreateCampaignCommand = exports.de_CreateBatchSegmentJobCommand = exports.de_CreateBatchInferenceJobCommand = exports.se_UpdateRecommenderCommand = exports.se_UpdateMetricAttributionCommand = exports.se_UpdateDatasetCommand = exports.se_UpdateCampaignCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StopSolutionVersionCreationCommand = exports.se_StopRecommenderCommand = exports.se_StartRecommenderCommand = exports.se_ListTagsForResourceCommand = exports.se_ListSolutionVersionsCommand = exports.se_ListSolutionsCommand = exports.se_ListSchemasCommand = exports.se_ListRecommendersCommand = exports.se_ListRecipesCommand = exports.se_ListMetricAttributionsCommand = exports.se_ListMetricAttributionMetricsCommand = void 0;
|
|
5
|
+
exports.de_UpdateRecommenderCommand = exports.de_UpdateMetricAttributionCommand = exports.de_UpdateDatasetCommand = exports.de_UpdateCampaignCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopSolutionVersionCreationCommand = exports.de_StopRecommenderCommand = exports.de_StartRecommenderCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSolutionVersionsCommand = exports.de_ListSolutionsCommand = exports.de_ListSchemasCommand = exports.de_ListRecommendersCommand = exports.de_ListRecipesCommand = exports.de_ListMetricAttributionsCommand = exports.de_ListMetricAttributionMetricsCommand = exports.de_ListFiltersCommand = exports.de_ListEventTrackersCommand = exports.de_ListDatasetsCommand = exports.de_ListDatasetImportJobsCommand = exports.de_ListDatasetGroupsCommand = exports.de_ListDatasetExportJobsCommand = exports.de_ListCampaignsCommand = exports.de_ListBatchSegmentJobsCommand = exports.de_ListBatchInferenceJobsCommand = exports.de_GetSolutionMetricsCommand = exports.de_DescribeSolutionVersionCommand = exports.de_DescribeSolutionCommand = exports.de_DescribeSchemaCommand = exports.de_DescribeRecommenderCommand = exports.de_DescribeRecipeCommand = exports.de_DescribeMetricAttributionCommand = exports.de_DescribeFilterCommand = void 0;
|
|
6
6
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
8
|
const models_0_1 = require("../models/models_0");
|
|
@@ -455,6 +455,13 @@ const se_UpdateCampaignCommand = async (input, context) => {
|
|
|
455
455
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
456
456
|
};
|
|
457
457
|
exports.se_UpdateCampaignCommand = se_UpdateCampaignCommand;
|
|
458
|
+
const se_UpdateDatasetCommand = async (input, context) => {
|
|
459
|
+
const headers = sharedHeaders("UpdateDataset");
|
|
460
|
+
let body;
|
|
461
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
462
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
463
|
+
};
|
|
464
|
+
exports.se_UpdateDatasetCommand = se_UpdateDatasetCommand;
|
|
458
465
|
const se_UpdateMetricAttributionCommand = async (input, context) => {
|
|
459
466
|
const headers = sharedHeaders("UpdateMetricAttribution");
|
|
460
467
|
let body;
|
|
@@ -2947,6 +2954,45 @@ const de_UpdateCampaignCommandError = async (output, context) => {
|
|
|
2947
2954
|
});
|
|
2948
2955
|
}
|
|
2949
2956
|
};
|
|
2957
|
+
const de_UpdateDatasetCommand = async (output, context) => {
|
|
2958
|
+
if (output.statusCode >= 300) {
|
|
2959
|
+
return de_UpdateDatasetCommandError(output, context);
|
|
2960
|
+
}
|
|
2961
|
+
const data = await parseBody(output.body, context);
|
|
2962
|
+
let contents = {};
|
|
2963
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2964
|
+
const response = {
|
|
2965
|
+
$metadata: deserializeMetadata(output),
|
|
2966
|
+
...contents,
|
|
2967
|
+
};
|
|
2968
|
+
return response;
|
|
2969
|
+
};
|
|
2970
|
+
exports.de_UpdateDatasetCommand = de_UpdateDatasetCommand;
|
|
2971
|
+
const de_UpdateDatasetCommandError = async (output, context) => {
|
|
2972
|
+
const parsedOutput = {
|
|
2973
|
+
...output,
|
|
2974
|
+
body: await parseErrorBody(output.body, context),
|
|
2975
|
+
};
|
|
2976
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2977
|
+
switch (errorCode) {
|
|
2978
|
+
case "InvalidInputException":
|
|
2979
|
+
case "com.amazonaws.personalize#InvalidInputException":
|
|
2980
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2981
|
+
case "ResourceInUseException":
|
|
2982
|
+
case "com.amazonaws.personalize#ResourceInUseException":
|
|
2983
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
2984
|
+
case "ResourceNotFoundException":
|
|
2985
|
+
case "com.amazonaws.personalize#ResourceNotFoundException":
|
|
2986
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2987
|
+
default:
|
|
2988
|
+
const parsedBody = parsedOutput.body;
|
|
2989
|
+
return throwDefaultError({
|
|
2990
|
+
output,
|
|
2991
|
+
parsedBody,
|
|
2992
|
+
errorCode,
|
|
2993
|
+
});
|
|
2994
|
+
}
|
|
2995
|
+
};
|
|
2950
2996
|
const de_UpdateMetricAttributionCommand = async (output, context) => {
|
|
2951
2997
|
if (output.statusCode >= 300) {
|
|
2952
2998
|
return de_UpdateMetricAttributionCommandError(output, context);
|
|
@@ -3301,6 +3347,7 @@ const de_Dataset = (output, context) => {
|
|
|
3301
3347
|
datasetGroupArn: smithy_client_1.expectString,
|
|
3302
3348
|
datasetType: smithy_client_1.expectString,
|
|
3303
3349
|
lastUpdatedDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3350
|
+
latestDatasetUpdate: (_) => de_DatasetUpdateSummary(_, context),
|
|
3304
3351
|
name: smithy_client_1.expectString,
|
|
3305
3352
|
schemaArn: smithy_client_1.expectString,
|
|
3306
3353
|
status: smithy_client_1.expectString,
|
|
@@ -3441,6 +3488,15 @@ const de_DatasetSummary = (output, context) => {
|
|
|
3441
3488
|
status: smithy_client_1.expectString,
|
|
3442
3489
|
});
|
|
3443
3490
|
};
|
|
3491
|
+
const de_DatasetUpdateSummary = (output, context) => {
|
|
3492
|
+
return (0, smithy_client_1.take)(output, {
|
|
3493
|
+
creationDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3494
|
+
failureReason: smithy_client_1.expectString,
|
|
3495
|
+
lastUpdatedDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3496
|
+
schemaArn: smithy_client_1.expectString,
|
|
3497
|
+
status: smithy_client_1.expectString,
|
|
3498
|
+
});
|
|
3499
|
+
};
|
|
3444
3500
|
const de_DefaultContinuousHyperParameterRange = (output, context) => {
|
|
3445
3501
|
return (0, smithy_client_1.take)(output, {
|
|
3446
3502
|
isTunable: smithy_client_1.expectBoolean,
|
package/dist-es/Personalize.js
CHANGED
|
@@ -63,6 +63,7 @@ import { StopSolutionVersionCreationCommand, } from "./commands/StopSolutionVers
|
|
|
63
63
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
64
64
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
65
65
|
import { UpdateCampaignCommand, } from "./commands/UpdateCampaignCommand";
|
|
66
|
+
import { UpdateDatasetCommand, } from "./commands/UpdateDatasetCommand";
|
|
66
67
|
import { UpdateMetricAttributionCommand, } from "./commands/UpdateMetricAttributionCommand";
|
|
67
68
|
import { UpdateRecommenderCommand, } from "./commands/UpdateRecommenderCommand";
|
|
68
69
|
import { PersonalizeClient } from "./PersonalizeClient";
|
|
@@ -131,6 +132,7 @@ const commands = {
|
|
|
131
132
|
TagResourceCommand,
|
|
132
133
|
UntagResourceCommand,
|
|
133
134
|
UpdateCampaignCommand,
|
|
135
|
+
UpdateDatasetCommand,
|
|
134
136
|
UpdateMetricAttributionCommand,
|
|
135
137
|
UpdateRecommenderCommand,
|
|
136
138
|
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_UpdateDatasetCommand, se_UpdateDatasetCommand } from "../protocols/Aws_json1_1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class UpdateDatasetCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateDatasetCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "PersonalizeClient";
|
|
25
|
+
const commandName = "UpdateDatasetCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_UpdateDatasetCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_UpdateDatasetCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -62,5 +62,6 @@ export * from "./StopSolutionVersionCreationCommand";
|
|
|
62
62
|
export * from "./TagResourceCommand";
|
|
63
63
|
export * from "./UntagResourceCommand";
|
|
64
64
|
export * from "./UpdateCampaignCommand";
|
|
65
|
+
export * from "./UpdateDatasetCommand";
|
|
65
66
|
export * from "./UpdateMetricAttributionCommand";
|
|
66
67
|
export * from "./UpdateRecommenderCommand";
|
|
@@ -386,6 +386,12 @@ export const se_UpdateCampaignCommand = async (input, context) => {
|
|
|
386
386
|
body = JSON.stringify(_json(input));
|
|
387
387
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
388
388
|
};
|
|
389
|
+
export const se_UpdateDatasetCommand = async (input, context) => {
|
|
390
|
+
const headers = sharedHeaders("UpdateDataset");
|
|
391
|
+
let body;
|
|
392
|
+
body = JSON.stringify(_json(input));
|
|
393
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
394
|
+
};
|
|
389
395
|
export const se_UpdateMetricAttributionCommand = async (input, context) => {
|
|
390
396
|
const headers = sharedHeaders("UpdateMetricAttribution");
|
|
391
397
|
let body;
|
|
@@ -2812,6 +2818,44 @@ const de_UpdateCampaignCommandError = async (output, context) => {
|
|
|
2812
2818
|
});
|
|
2813
2819
|
}
|
|
2814
2820
|
};
|
|
2821
|
+
export const de_UpdateDatasetCommand = async (output, context) => {
|
|
2822
|
+
if (output.statusCode >= 300) {
|
|
2823
|
+
return de_UpdateDatasetCommandError(output, context);
|
|
2824
|
+
}
|
|
2825
|
+
const data = await parseBody(output.body, context);
|
|
2826
|
+
let contents = {};
|
|
2827
|
+
contents = _json(data);
|
|
2828
|
+
const response = {
|
|
2829
|
+
$metadata: deserializeMetadata(output),
|
|
2830
|
+
...contents,
|
|
2831
|
+
};
|
|
2832
|
+
return response;
|
|
2833
|
+
};
|
|
2834
|
+
const de_UpdateDatasetCommandError = async (output, context) => {
|
|
2835
|
+
const parsedOutput = {
|
|
2836
|
+
...output,
|
|
2837
|
+
body: await parseErrorBody(output.body, context),
|
|
2838
|
+
};
|
|
2839
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2840
|
+
switch (errorCode) {
|
|
2841
|
+
case "InvalidInputException":
|
|
2842
|
+
case "com.amazonaws.personalize#InvalidInputException":
|
|
2843
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2844
|
+
case "ResourceInUseException":
|
|
2845
|
+
case "com.amazonaws.personalize#ResourceInUseException":
|
|
2846
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
2847
|
+
case "ResourceNotFoundException":
|
|
2848
|
+
case "com.amazonaws.personalize#ResourceNotFoundException":
|
|
2849
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2850
|
+
default:
|
|
2851
|
+
const parsedBody = parsedOutput.body;
|
|
2852
|
+
return throwDefaultError({
|
|
2853
|
+
output,
|
|
2854
|
+
parsedBody,
|
|
2855
|
+
errorCode,
|
|
2856
|
+
});
|
|
2857
|
+
}
|
|
2858
|
+
};
|
|
2815
2859
|
export const de_UpdateMetricAttributionCommand = async (output, context) => {
|
|
2816
2860
|
if (output.statusCode >= 300) {
|
|
2817
2861
|
return de_UpdateMetricAttributionCommandError(output, context);
|
|
@@ -3164,6 +3208,7 @@ const de_Dataset = (output, context) => {
|
|
|
3164
3208
|
datasetGroupArn: __expectString,
|
|
3165
3209
|
datasetType: __expectString,
|
|
3166
3210
|
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3211
|
+
latestDatasetUpdate: (_) => de_DatasetUpdateSummary(_, context),
|
|
3167
3212
|
name: __expectString,
|
|
3168
3213
|
schemaArn: __expectString,
|
|
3169
3214
|
status: __expectString,
|
|
@@ -3304,6 +3349,15 @@ const de_DatasetSummary = (output, context) => {
|
|
|
3304
3349
|
status: __expectString,
|
|
3305
3350
|
});
|
|
3306
3351
|
};
|
|
3352
|
+
const de_DatasetUpdateSummary = (output, context) => {
|
|
3353
|
+
return take(output, {
|
|
3354
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3355
|
+
failureReason: __expectString,
|
|
3356
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3357
|
+
schemaArn: __expectString,
|
|
3358
|
+
status: __expectString,
|
|
3359
|
+
});
|
|
3360
|
+
};
|
|
3307
3361
|
const de_DefaultContinuousHyperParameterRange = (output, context) => {
|
|
3308
3362
|
return take(output, {
|
|
3309
3363
|
isTunable: __expectBoolean,
|
|
@@ -63,6 +63,7 @@ import { StopSolutionVersionCreationCommandInput, StopSolutionVersionCreationCom
|
|
|
63
63
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
64
64
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
65
65
|
import { UpdateCampaignCommandInput, UpdateCampaignCommandOutput } from "./commands/UpdateCampaignCommand";
|
|
66
|
+
import { UpdateDatasetCommandInput, UpdateDatasetCommandOutput } from "./commands/UpdateDatasetCommand";
|
|
66
67
|
import { UpdateMetricAttributionCommandInput, UpdateMetricAttributionCommandOutput } from "./commands/UpdateMetricAttributionCommand";
|
|
67
68
|
import { UpdateRecommenderCommandInput, UpdateRecommenderCommandOutput } from "./commands/UpdateRecommenderCommand";
|
|
68
69
|
import { PersonalizeClient } from "./PersonalizeClient";
|
|
@@ -451,6 +452,12 @@ export interface Personalize {
|
|
|
451
452
|
updateCampaign(args: UpdateCampaignCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCampaignCommandOutput>;
|
|
452
453
|
updateCampaign(args: UpdateCampaignCommandInput, cb: (err: any, data?: UpdateCampaignCommandOutput) => void): void;
|
|
453
454
|
updateCampaign(args: UpdateCampaignCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCampaignCommandOutput) => void): void;
|
|
455
|
+
/**
|
|
456
|
+
* @see {@link UpdateDatasetCommand}
|
|
457
|
+
*/
|
|
458
|
+
updateDataset(args: UpdateDatasetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDatasetCommandOutput>;
|
|
459
|
+
updateDataset(args: UpdateDatasetCommandInput, cb: (err: any, data?: UpdateDatasetCommandOutput) => void): void;
|
|
460
|
+
updateDataset(args: UpdateDatasetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDatasetCommandOutput) => void): void;
|
|
454
461
|
/**
|
|
455
462
|
* @see {@link UpdateMetricAttributionCommand}
|
|
456
463
|
*/
|
|
@@ -72,6 +72,7 @@ import { StopSolutionVersionCreationCommandInput, StopSolutionVersionCreationCom
|
|
|
72
72
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
73
73
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
74
74
|
import { UpdateCampaignCommandInput, UpdateCampaignCommandOutput } from "./commands/UpdateCampaignCommand";
|
|
75
|
+
import { UpdateDatasetCommandInput, UpdateDatasetCommandOutput } from "./commands/UpdateDatasetCommand";
|
|
75
76
|
import { UpdateMetricAttributionCommandInput, UpdateMetricAttributionCommandOutput } from "./commands/UpdateMetricAttributionCommand";
|
|
76
77
|
import { UpdateRecommenderCommandInput, UpdateRecommenderCommandOutput } from "./commands/UpdateRecommenderCommand";
|
|
77
78
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
@@ -79,11 +80,11 @@ export { __Client };
|
|
|
79
80
|
/**
|
|
80
81
|
* @public
|
|
81
82
|
*/
|
|
82
|
-
export type ServiceInputTypes = CreateBatchInferenceJobCommandInput | CreateBatchSegmentJobCommandInput | CreateCampaignCommandInput | CreateDatasetCommandInput | CreateDatasetExportJobCommandInput | CreateDatasetGroupCommandInput | CreateDatasetImportJobCommandInput | CreateEventTrackerCommandInput | CreateFilterCommandInput | CreateMetricAttributionCommandInput | CreateRecommenderCommandInput | CreateSchemaCommandInput | CreateSolutionCommandInput | CreateSolutionVersionCommandInput | DeleteCampaignCommandInput | DeleteDatasetCommandInput | DeleteDatasetGroupCommandInput | DeleteEventTrackerCommandInput | DeleteFilterCommandInput | DeleteMetricAttributionCommandInput | DeleteRecommenderCommandInput | DeleteSchemaCommandInput | DeleteSolutionCommandInput | DescribeAlgorithmCommandInput | DescribeBatchInferenceJobCommandInput | DescribeBatchSegmentJobCommandInput | DescribeCampaignCommandInput | DescribeDatasetCommandInput | DescribeDatasetExportJobCommandInput | DescribeDatasetGroupCommandInput | DescribeDatasetImportJobCommandInput | DescribeEventTrackerCommandInput | DescribeFeatureTransformationCommandInput | DescribeFilterCommandInput | DescribeMetricAttributionCommandInput | DescribeRecipeCommandInput | DescribeRecommenderCommandInput | DescribeSchemaCommandInput | DescribeSolutionCommandInput | DescribeSolutionVersionCommandInput | GetSolutionMetricsCommandInput | ListBatchInferenceJobsCommandInput | ListBatchSegmentJobsCommandInput | ListCampaignsCommandInput | ListDatasetExportJobsCommandInput | ListDatasetGroupsCommandInput | ListDatasetImportJobsCommandInput | ListDatasetsCommandInput | ListEventTrackersCommandInput | ListFiltersCommandInput | ListMetricAttributionMetricsCommandInput | ListMetricAttributionsCommandInput | ListRecipesCommandInput | ListRecommendersCommandInput | ListSchemasCommandInput | ListSolutionVersionsCommandInput | ListSolutionsCommandInput | ListTagsForResourceCommandInput | StartRecommenderCommandInput | StopRecommenderCommandInput | StopSolutionVersionCreationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCampaignCommandInput | UpdateMetricAttributionCommandInput | UpdateRecommenderCommandInput;
|
|
83
|
+
export type ServiceInputTypes = CreateBatchInferenceJobCommandInput | CreateBatchSegmentJobCommandInput | CreateCampaignCommandInput | CreateDatasetCommandInput | CreateDatasetExportJobCommandInput | CreateDatasetGroupCommandInput | CreateDatasetImportJobCommandInput | CreateEventTrackerCommandInput | CreateFilterCommandInput | CreateMetricAttributionCommandInput | CreateRecommenderCommandInput | CreateSchemaCommandInput | CreateSolutionCommandInput | CreateSolutionVersionCommandInput | DeleteCampaignCommandInput | DeleteDatasetCommandInput | DeleteDatasetGroupCommandInput | DeleteEventTrackerCommandInput | DeleteFilterCommandInput | DeleteMetricAttributionCommandInput | DeleteRecommenderCommandInput | DeleteSchemaCommandInput | DeleteSolutionCommandInput | DescribeAlgorithmCommandInput | DescribeBatchInferenceJobCommandInput | DescribeBatchSegmentJobCommandInput | DescribeCampaignCommandInput | DescribeDatasetCommandInput | DescribeDatasetExportJobCommandInput | DescribeDatasetGroupCommandInput | DescribeDatasetImportJobCommandInput | DescribeEventTrackerCommandInput | DescribeFeatureTransformationCommandInput | DescribeFilterCommandInput | DescribeMetricAttributionCommandInput | DescribeRecipeCommandInput | DescribeRecommenderCommandInput | DescribeSchemaCommandInput | DescribeSolutionCommandInput | DescribeSolutionVersionCommandInput | GetSolutionMetricsCommandInput | ListBatchInferenceJobsCommandInput | ListBatchSegmentJobsCommandInput | ListCampaignsCommandInput | ListDatasetExportJobsCommandInput | ListDatasetGroupsCommandInput | ListDatasetImportJobsCommandInput | ListDatasetsCommandInput | ListEventTrackersCommandInput | ListFiltersCommandInput | ListMetricAttributionMetricsCommandInput | ListMetricAttributionsCommandInput | ListRecipesCommandInput | ListRecommendersCommandInput | ListSchemasCommandInput | ListSolutionVersionsCommandInput | ListSolutionsCommandInput | ListTagsForResourceCommandInput | StartRecommenderCommandInput | StopRecommenderCommandInput | StopSolutionVersionCreationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCampaignCommandInput | UpdateDatasetCommandInput | UpdateMetricAttributionCommandInput | UpdateRecommenderCommandInput;
|
|
83
84
|
/**
|
|
84
85
|
* @public
|
|
85
86
|
*/
|
|
86
|
-
export type ServiceOutputTypes = CreateBatchInferenceJobCommandOutput | CreateBatchSegmentJobCommandOutput | CreateCampaignCommandOutput | CreateDatasetCommandOutput | CreateDatasetExportJobCommandOutput | CreateDatasetGroupCommandOutput | CreateDatasetImportJobCommandOutput | CreateEventTrackerCommandOutput | CreateFilterCommandOutput | CreateMetricAttributionCommandOutput | CreateRecommenderCommandOutput | CreateSchemaCommandOutput | CreateSolutionCommandOutput | CreateSolutionVersionCommandOutput | DeleteCampaignCommandOutput | DeleteDatasetCommandOutput | DeleteDatasetGroupCommandOutput | DeleteEventTrackerCommandOutput | DeleteFilterCommandOutput | DeleteMetricAttributionCommandOutput | DeleteRecommenderCommandOutput | DeleteSchemaCommandOutput | DeleteSolutionCommandOutput | DescribeAlgorithmCommandOutput | DescribeBatchInferenceJobCommandOutput | DescribeBatchSegmentJobCommandOutput | DescribeCampaignCommandOutput | DescribeDatasetCommandOutput | DescribeDatasetExportJobCommandOutput | DescribeDatasetGroupCommandOutput | DescribeDatasetImportJobCommandOutput | DescribeEventTrackerCommandOutput | DescribeFeatureTransformationCommandOutput | DescribeFilterCommandOutput | DescribeMetricAttributionCommandOutput | DescribeRecipeCommandOutput | DescribeRecommenderCommandOutput | DescribeSchemaCommandOutput | DescribeSolutionCommandOutput | DescribeSolutionVersionCommandOutput | GetSolutionMetricsCommandOutput | ListBatchInferenceJobsCommandOutput | ListBatchSegmentJobsCommandOutput | ListCampaignsCommandOutput | ListDatasetExportJobsCommandOutput | ListDatasetGroupsCommandOutput | ListDatasetImportJobsCommandOutput | ListDatasetsCommandOutput | ListEventTrackersCommandOutput | ListFiltersCommandOutput | ListMetricAttributionMetricsCommandOutput | ListMetricAttributionsCommandOutput | ListRecipesCommandOutput | ListRecommendersCommandOutput | ListSchemasCommandOutput | ListSolutionVersionsCommandOutput | ListSolutionsCommandOutput | ListTagsForResourceCommandOutput | StartRecommenderCommandOutput | StopRecommenderCommandOutput | StopSolutionVersionCreationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCampaignCommandOutput | UpdateMetricAttributionCommandOutput | UpdateRecommenderCommandOutput;
|
|
87
|
+
export type ServiceOutputTypes = CreateBatchInferenceJobCommandOutput | CreateBatchSegmentJobCommandOutput | CreateCampaignCommandOutput | CreateDatasetCommandOutput | CreateDatasetExportJobCommandOutput | CreateDatasetGroupCommandOutput | CreateDatasetImportJobCommandOutput | CreateEventTrackerCommandOutput | CreateFilterCommandOutput | CreateMetricAttributionCommandOutput | CreateRecommenderCommandOutput | CreateSchemaCommandOutput | CreateSolutionCommandOutput | CreateSolutionVersionCommandOutput | DeleteCampaignCommandOutput | DeleteDatasetCommandOutput | DeleteDatasetGroupCommandOutput | DeleteEventTrackerCommandOutput | DeleteFilterCommandOutput | DeleteMetricAttributionCommandOutput | DeleteRecommenderCommandOutput | DeleteSchemaCommandOutput | DeleteSolutionCommandOutput | DescribeAlgorithmCommandOutput | DescribeBatchInferenceJobCommandOutput | DescribeBatchSegmentJobCommandOutput | DescribeCampaignCommandOutput | DescribeDatasetCommandOutput | DescribeDatasetExportJobCommandOutput | DescribeDatasetGroupCommandOutput | DescribeDatasetImportJobCommandOutput | DescribeEventTrackerCommandOutput | DescribeFeatureTransformationCommandOutput | DescribeFilterCommandOutput | DescribeMetricAttributionCommandOutput | DescribeRecipeCommandOutput | DescribeRecommenderCommandOutput | DescribeSchemaCommandOutput | DescribeSolutionCommandOutput | DescribeSolutionVersionCommandOutput | GetSolutionMetricsCommandOutput | ListBatchInferenceJobsCommandOutput | ListBatchSegmentJobsCommandOutput | ListCampaignsCommandOutput | ListDatasetExportJobsCommandOutput | ListDatasetGroupsCommandOutput | ListDatasetImportJobsCommandOutput | ListDatasetsCommandOutput | ListEventTrackersCommandOutput | ListFiltersCommandOutput | ListMetricAttributionMetricsCommandOutput | ListMetricAttributionsCommandOutput | ListRecipesCommandOutput | ListRecommendersCommandOutput | ListSchemasCommandOutput | ListSolutionVersionsCommandOutput | ListSolutionsCommandOutput | ListTagsForResourceCommandOutput | StartRecommenderCommandOutput | StopRecommenderCommandOutput | StopSolutionVersionCreationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCampaignCommandOutput | UpdateDatasetCommandOutput | UpdateMetricAttributionCommandOutput | UpdateRecommenderCommandOutput;
|
|
87
88
|
/**
|
|
88
89
|
* @public
|
|
89
90
|
*/
|
|
@@ -46,6 +46,13 @@ export interface DescribeDatasetCommandOutput extends DescribeDatasetResponse, _
|
|
|
46
46
|
* // status: "STRING_VALUE",
|
|
47
47
|
* // creationDateTime: new Date("TIMESTAMP"),
|
|
48
48
|
* // lastUpdatedDateTime: new Date("TIMESTAMP"),
|
|
49
|
+
* // latestDatasetUpdate: { // DatasetUpdateSummary
|
|
50
|
+
* // schemaArn: "STRING_VALUE",
|
|
51
|
+
* // status: "STRING_VALUE",
|
|
52
|
+
* // failureReason: "STRING_VALUE",
|
|
53
|
+
* // creationDateTime: new Date("TIMESTAMP"),
|
|
54
|
+
* // lastUpdatedDateTime: new Date("TIMESTAMP"),
|
|
55
|
+
* // },
|
|
49
56
|
* // },
|
|
50
57
|
* // };
|
|
51
58
|
*
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { UpdateDatasetRequest, UpdateDatasetResponse } from "../models/models_0";
|
|
5
|
+
import { PersonalizeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateDatasetCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateDatasetCommandInput extends UpdateDatasetRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateDatasetCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateDatasetCommandOutput extends UpdateDatasetResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Update a dataset to replace its schema with a new or existing one. For more information, see <a href="https://docs.aws.amazon.com/personalize/latest/dg/updating-dataset-schema.html">Replacing a dataset's schema</a>. </p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { PersonalizeClient, UpdateDatasetCommand } from "@aws-sdk/client-personalize"; // ES Modules import
|
|
31
|
+
* // const { PersonalizeClient, UpdateDatasetCommand } = require("@aws-sdk/client-personalize"); // CommonJS import
|
|
32
|
+
* const client = new PersonalizeClient(config);
|
|
33
|
+
* const input = { // UpdateDatasetRequest
|
|
34
|
+
* datasetArn: "STRING_VALUE", // required
|
|
35
|
+
* schemaArn: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
37
|
+
* const command = new UpdateDatasetCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // UpdateDatasetResponse
|
|
40
|
+
* // datasetArn: "STRING_VALUE",
|
|
41
|
+
* // };
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @param UpdateDatasetCommandInput - {@link UpdateDatasetCommandInput}
|
|
46
|
+
* @returns {@link UpdateDatasetCommandOutput}
|
|
47
|
+
* @see {@link UpdateDatasetCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link UpdateDatasetCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link PersonalizeClientResolvedConfig | config} for PersonalizeClient's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
52
|
+
* <p>Provide a valid value for the field or parameter.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ResourceInUseException} (client fault)
|
|
55
|
+
* <p>The specified resource is in use.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
58
|
+
* <p>Could not find the specified resource.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link PersonalizeServiceException}
|
|
61
|
+
* <p>Base exception class for all service exceptions from Personalize service.</p>
|
|
62
|
+
*
|
|
63
|
+
*/
|
|
64
|
+
export declare class UpdateDatasetCommand extends $Command<UpdateDatasetCommandInput, UpdateDatasetCommandOutput, PersonalizeClientResolvedConfig> {
|
|
65
|
+
readonly input: UpdateDatasetCommandInput;
|
|
66
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
constructor(input: UpdateDatasetCommandInput);
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
74
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateDatasetCommandInput, UpdateDatasetCommandOutput>;
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
78
|
+
private serialize;
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
private deserialize;
|
|
83
|
+
}
|
|
@@ -62,5 +62,6 @@ export * from "./StopSolutionVersionCreationCommand";
|
|
|
62
62
|
export * from "./TagResourceCommand";
|
|
63
63
|
export * from "./UntagResourceCommand";
|
|
64
64
|
export * from "./UpdateCampaignCommand";
|
|
65
|
+
export * from "./UpdateDatasetCommand";
|
|
65
66
|
export * from "./UpdateMetricAttributionCommand";
|
|
66
67
|
export * from "./UpdateRecommenderCommand";
|
|
@@ -1199,7 +1199,7 @@ export interface CreateSolutionRequest {
|
|
|
1199
1199
|
*/
|
|
1200
1200
|
performAutoML?: boolean;
|
|
1201
1201
|
/**
|
|
1202
|
-
* <p>The ARN of the recipe to use for model training.
|
|
1202
|
+
* <p>The ARN of the recipe to use for model training. This is required when
|
|
1203
1203
|
* <code>performAutoML</code> is false.</p>
|
|
1204
1204
|
*/
|
|
1205
1205
|
recipeArn?: string;
|
|
@@ -1703,6 +1703,32 @@ export interface DescribeDatasetRequest {
|
|
|
1703
1703
|
*/
|
|
1704
1704
|
datasetArn: string | undefined;
|
|
1705
1705
|
}
|
|
1706
|
+
/**
|
|
1707
|
+
* @public
|
|
1708
|
+
* <p>Describes an update to a dataset.</p>
|
|
1709
|
+
*/
|
|
1710
|
+
export interface DatasetUpdateSummary {
|
|
1711
|
+
/**
|
|
1712
|
+
* <p>The Amazon Resource Name (ARN) of the schema that replaced the previous schema of the dataset.</p>
|
|
1713
|
+
*/
|
|
1714
|
+
schemaArn?: string;
|
|
1715
|
+
/**
|
|
1716
|
+
* <p>The status of the dataset update. </p>
|
|
1717
|
+
*/
|
|
1718
|
+
status?: string;
|
|
1719
|
+
/**
|
|
1720
|
+
* <p>If updating a dataset fails, provides the reason why.</p>
|
|
1721
|
+
*/
|
|
1722
|
+
failureReason?: string;
|
|
1723
|
+
/**
|
|
1724
|
+
* <p>The creation date and time (in Unix time) of the dataset update.</p>
|
|
1725
|
+
*/
|
|
1726
|
+
creationDateTime?: Date;
|
|
1727
|
+
/**
|
|
1728
|
+
* <p>The last update date and time (in Unix time) of the dataset.</p>
|
|
1729
|
+
*/
|
|
1730
|
+
lastUpdatedDateTime?: Date;
|
|
1731
|
+
}
|
|
1706
1732
|
/**
|
|
1707
1733
|
* @public
|
|
1708
1734
|
* <p>Provides metadata for a dataset.</p>
|
|
@@ -1762,6 +1788,10 @@ export interface Dataset {
|
|
|
1762
1788
|
* <p>A time stamp that shows when the dataset was updated.</p>
|
|
1763
1789
|
*/
|
|
1764
1790
|
lastUpdatedDateTime?: Date;
|
|
1791
|
+
/**
|
|
1792
|
+
* <p>Describes the latest update to the dataset.</p>
|
|
1793
|
+
*/
|
|
1794
|
+
latestDatasetUpdate?: DatasetUpdateSummary;
|
|
1765
1795
|
}
|
|
1766
1796
|
/**
|
|
1767
1797
|
* @public
|
|
@@ -2631,7 +2661,8 @@ export interface Solution {
|
|
|
2631
2661
|
*/
|
|
2632
2662
|
performAutoML?: boolean;
|
|
2633
2663
|
/**
|
|
2634
|
-
* <p>The ARN of the recipe used to create the solution
|
|
2664
|
+
* <p>The ARN of the recipe used to create the solution. This is required when
|
|
2665
|
+
* <code>performAutoML</code> is false.</p>
|
|
2635
2666
|
*/
|
|
2636
2667
|
recipeArn?: string;
|
|
2637
2668
|
/**
|
|
@@ -4095,6 +4126,28 @@ export interface UpdateCampaignResponse {
|
|
|
4095
4126
|
*/
|
|
4096
4127
|
campaignArn?: string;
|
|
4097
4128
|
}
|
|
4129
|
+
/**
|
|
4130
|
+
* @public
|
|
4131
|
+
*/
|
|
4132
|
+
export interface UpdateDatasetRequest {
|
|
4133
|
+
/**
|
|
4134
|
+
* <p>The Amazon Resource Name (ARN) of the dataset that you want to update.</p>
|
|
4135
|
+
*/
|
|
4136
|
+
datasetArn: string | undefined;
|
|
4137
|
+
/**
|
|
4138
|
+
* <p>The Amazon Resource Name (ARN) of the new schema you want use.</p>
|
|
4139
|
+
*/
|
|
4140
|
+
schemaArn: string | undefined;
|
|
4141
|
+
}
|
|
4142
|
+
/**
|
|
4143
|
+
* @public
|
|
4144
|
+
*/
|
|
4145
|
+
export interface UpdateDatasetResponse {
|
|
4146
|
+
/**
|
|
4147
|
+
* <p>The Amazon Resource Name (ARN) of the dataset you updated.</p>
|
|
4148
|
+
*/
|
|
4149
|
+
datasetArn?: string;
|
|
4150
|
+
}
|
|
4098
4151
|
/**
|
|
4099
4152
|
* @public
|
|
4100
4153
|
*/
|
|
@@ -64,6 +64,7 @@ import { StopSolutionVersionCreationCommandInput, StopSolutionVersionCreationCom
|
|
|
64
64
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
65
65
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
66
66
|
import { UpdateCampaignCommandInput, UpdateCampaignCommandOutput } from "../commands/UpdateCampaignCommand";
|
|
67
|
+
import { UpdateDatasetCommandInput, UpdateDatasetCommandOutput } from "../commands/UpdateDatasetCommand";
|
|
67
68
|
import { UpdateMetricAttributionCommandInput, UpdateMetricAttributionCommandOutput } from "../commands/UpdateMetricAttributionCommand";
|
|
68
69
|
import { UpdateRecommenderCommandInput, UpdateRecommenderCommandOutput } from "../commands/UpdateRecommenderCommand";
|
|
69
70
|
/**
|
|
@@ -322,6 +323,10 @@ export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput,
|
|
|
322
323
|
* serializeAws_json1_1UpdateCampaignCommand
|
|
323
324
|
*/
|
|
324
325
|
export declare const se_UpdateCampaignCommand: (input: UpdateCampaignCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
326
|
+
/**
|
|
327
|
+
* serializeAws_json1_1UpdateDatasetCommand
|
|
328
|
+
*/
|
|
329
|
+
export declare const se_UpdateDatasetCommand: (input: UpdateDatasetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
325
330
|
/**
|
|
326
331
|
* serializeAws_json1_1UpdateMetricAttributionCommand
|
|
327
332
|
*/
|
|
@@ -586,6 +591,10 @@ export declare const de_UntagResourceCommand: (output: __HttpResponse, context:
|
|
|
586
591
|
* deserializeAws_json1_1UpdateCampaignCommand
|
|
587
592
|
*/
|
|
588
593
|
export declare const de_UpdateCampaignCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateCampaignCommandOutput>;
|
|
594
|
+
/**
|
|
595
|
+
* deserializeAws_json1_1UpdateDatasetCommand
|
|
596
|
+
*/
|
|
597
|
+
export declare const de_UpdateDatasetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateDatasetCommandOutput>;
|
|
589
598
|
/**
|
|
590
599
|
* deserializeAws_json1_1UpdateMetricAttributionCommand
|
|
591
600
|
*/
|
|
@@ -255,6 +255,10 @@ import {
|
|
|
255
255
|
UpdateCampaignCommandInput,
|
|
256
256
|
UpdateCampaignCommandOutput,
|
|
257
257
|
} from "./commands/UpdateCampaignCommand";
|
|
258
|
+
import {
|
|
259
|
+
UpdateDatasetCommandInput,
|
|
260
|
+
UpdateDatasetCommandOutput,
|
|
261
|
+
} from "./commands/UpdateDatasetCommand";
|
|
258
262
|
import {
|
|
259
263
|
UpdateMetricAttributionCommandInput,
|
|
260
264
|
UpdateMetricAttributionCommandOutput,
|
|
@@ -1097,6 +1101,19 @@ export interface Personalize {
|
|
|
1097
1101
|
options: __HttpHandlerOptions,
|
|
1098
1102
|
cb: (err: any, data?: UpdateCampaignCommandOutput) => void
|
|
1099
1103
|
): void;
|
|
1104
|
+
updateDataset(
|
|
1105
|
+
args: UpdateDatasetCommandInput,
|
|
1106
|
+
options?: __HttpHandlerOptions
|
|
1107
|
+
): Promise<UpdateDatasetCommandOutput>;
|
|
1108
|
+
updateDataset(
|
|
1109
|
+
args: UpdateDatasetCommandInput,
|
|
1110
|
+
cb: (err: any, data?: UpdateDatasetCommandOutput) => void
|
|
1111
|
+
): void;
|
|
1112
|
+
updateDataset(
|
|
1113
|
+
args: UpdateDatasetCommandInput,
|
|
1114
|
+
options: __HttpHandlerOptions,
|
|
1115
|
+
cb: (err: any, data?: UpdateDatasetCommandOutput) => void
|
|
1116
|
+
): void;
|
|
1100
1117
|
updateMetricAttribution(
|
|
1101
1118
|
args: UpdateMetricAttributionCommandInput,
|
|
1102
1119
|
options?: __HttpHandlerOptions
|
|
@@ -300,6 +300,10 @@ import {
|
|
|
300
300
|
UpdateCampaignCommandInput,
|
|
301
301
|
UpdateCampaignCommandOutput,
|
|
302
302
|
} from "./commands/UpdateCampaignCommand";
|
|
303
|
+
import {
|
|
304
|
+
UpdateDatasetCommandInput,
|
|
305
|
+
UpdateDatasetCommandOutput,
|
|
306
|
+
} from "./commands/UpdateDatasetCommand";
|
|
303
307
|
import {
|
|
304
308
|
UpdateMetricAttributionCommandInput,
|
|
305
309
|
UpdateMetricAttributionCommandOutput,
|
|
@@ -379,6 +383,7 @@ export type ServiceInputTypes =
|
|
|
379
383
|
| TagResourceCommandInput
|
|
380
384
|
| UntagResourceCommandInput
|
|
381
385
|
| UpdateCampaignCommandInput
|
|
386
|
+
| UpdateDatasetCommandInput
|
|
382
387
|
| UpdateMetricAttributionCommandInput
|
|
383
388
|
| UpdateRecommenderCommandInput;
|
|
384
389
|
export type ServiceOutputTypes =
|
|
@@ -446,6 +451,7 @@ export type ServiceOutputTypes =
|
|
|
446
451
|
| TagResourceCommandOutput
|
|
447
452
|
| UntagResourceCommandOutput
|
|
448
453
|
| UpdateCampaignCommandOutput
|
|
454
|
+
| UpdateDatasetCommandOutput
|
|
449
455
|
| UpdateMetricAttributionCommandOutput
|
|
450
456
|
| UpdateRecommenderCommandOutput;
|
|
451
457
|
export interface ClientDefaults
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
UpdateDatasetRequest,
|
|
11
|
+
UpdateDatasetResponse,
|
|
12
|
+
} from "../models/models_0";
|
|
13
|
+
import {
|
|
14
|
+
PersonalizeClientResolvedConfig,
|
|
15
|
+
ServiceInputTypes,
|
|
16
|
+
ServiceOutputTypes,
|
|
17
|
+
} from "../PersonalizeClient";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface UpdateDatasetCommandInput extends UpdateDatasetRequest {}
|
|
20
|
+
export interface UpdateDatasetCommandOutput
|
|
21
|
+
extends UpdateDatasetResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class UpdateDatasetCommand extends $Command<
|
|
24
|
+
UpdateDatasetCommandInput,
|
|
25
|
+
UpdateDatasetCommandOutput,
|
|
26
|
+
PersonalizeClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: UpdateDatasetCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: UpdateDatasetCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: PersonalizeClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<UpdateDatasetCommandInput, UpdateDatasetCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -62,5 +62,6 @@ export * from "./StopSolutionVersionCreationCommand";
|
|
|
62
62
|
export * from "./TagResourceCommand";
|
|
63
63
|
export * from "./UntagResourceCommand";
|
|
64
64
|
export * from "./UpdateCampaignCommand";
|
|
65
|
+
export * from "./UpdateDatasetCommand";
|
|
65
66
|
export * from "./UpdateMetricAttributionCommand";
|
|
66
67
|
export * from "./UpdateRecommenderCommand";
|
|
@@ -460,6 +460,13 @@ export interface DescribeCampaignResponse {
|
|
|
460
460
|
export interface DescribeDatasetRequest {
|
|
461
461
|
datasetArn: string | undefined;
|
|
462
462
|
}
|
|
463
|
+
export interface DatasetUpdateSummary {
|
|
464
|
+
schemaArn?: string;
|
|
465
|
+
status?: string;
|
|
466
|
+
failureReason?: string;
|
|
467
|
+
creationDateTime?: Date;
|
|
468
|
+
lastUpdatedDateTime?: Date;
|
|
469
|
+
}
|
|
463
470
|
export interface Dataset {
|
|
464
471
|
name?: string;
|
|
465
472
|
datasetArn?: string;
|
|
@@ -469,6 +476,7 @@ export interface Dataset {
|
|
|
469
476
|
status?: string;
|
|
470
477
|
creationDateTime?: Date;
|
|
471
478
|
lastUpdatedDateTime?: Date;
|
|
479
|
+
latestDatasetUpdate?: DatasetUpdateSummary;
|
|
472
480
|
}
|
|
473
481
|
export interface DescribeDatasetResponse {
|
|
474
482
|
dataset?: Dataset;
|
|
@@ -1030,6 +1038,13 @@ export interface UpdateCampaignRequest {
|
|
|
1030
1038
|
export interface UpdateCampaignResponse {
|
|
1031
1039
|
campaignArn?: string;
|
|
1032
1040
|
}
|
|
1041
|
+
export interface UpdateDatasetRequest {
|
|
1042
|
+
datasetArn: string | undefined;
|
|
1043
|
+
schemaArn: string | undefined;
|
|
1044
|
+
}
|
|
1045
|
+
export interface UpdateDatasetResponse {
|
|
1046
|
+
datasetArn?: string;
|
|
1047
|
+
}
|
|
1033
1048
|
export interface UpdateMetricAttributionRequest {
|
|
1034
1049
|
addMetrics?: MetricAttribute[];
|
|
1035
1050
|
removeMetrics?: string[];
|
|
@@ -259,6 +259,10 @@ import {
|
|
|
259
259
|
UpdateCampaignCommandInput,
|
|
260
260
|
UpdateCampaignCommandOutput,
|
|
261
261
|
} from "../commands/UpdateCampaignCommand";
|
|
262
|
+
import {
|
|
263
|
+
UpdateDatasetCommandInput,
|
|
264
|
+
UpdateDatasetCommandOutput,
|
|
265
|
+
} from "../commands/UpdateDatasetCommand";
|
|
262
266
|
import {
|
|
263
267
|
UpdateMetricAttributionCommandInput,
|
|
264
268
|
UpdateMetricAttributionCommandOutput,
|
|
@@ -523,6 +527,10 @@ export declare const se_UpdateCampaignCommand: (
|
|
|
523
527
|
input: UpdateCampaignCommandInput,
|
|
524
528
|
context: __SerdeContext
|
|
525
529
|
) => Promise<__HttpRequest>;
|
|
530
|
+
export declare const se_UpdateDatasetCommand: (
|
|
531
|
+
input: UpdateDatasetCommandInput,
|
|
532
|
+
context: __SerdeContext
|
|
533
|
+
) => Promise<__HttpRequest>;
|
|
526
534
|
export declare const se_UpdateMetricAttributionCommand: (
|
|
527
535
|
input: UpdateMetricAttributionCommandInput,
|
|
528
536
|
context: __SerdeContext
|
|
@@ -787,6 +795,10 @@ export declare const de_UpdateCampaignCommand: (
|
|
|
787
795
|
output: __HttpResponse,
|
|
788
796
|
context: __SerdeContext
|
|
789
797
|
) => Promise<UpdateCampaignCommandOutput>;
|
|
798
|
+
export declare const de_UpdateDatasetCommand: (
|
|
799
|
+
output: __HttpResponse,
|
|
800
|
+
context: __SerdeContext
|
|
801
|
+
) => Promise<UpdateDatasetCommandOutput>;
|
|
790
802
|
export declare const de_UpdateMetricAttributionCommand: (
|
|
791
803
|
output: __HttpResponse,
|
|
792
804
|
context: __SerdeContext
|
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.370.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",
|
|
@@ -21,29 +21,29 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.370.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.370.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.370.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.370.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.370.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.370.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.370.0",
|
|
31
|
+
"@aws-sdk/types": "3.370.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.370.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.370.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.370.0",
|
|
35
35
|
"@smithy/config-resolver": "^1.0.1",
|
|
36
36
|
"@smithy/fetch-http-handler": "^1.0.1",
|
|
37
37
|
"@smithy/hash-node": "^1.0.1",
|
|
38
38
|
"@smithy/invalid-dependency": "^1.0.1",
|
|
39
39
|
"@smithy/middleware-content-length": "^1.0.1",
|
|
40
|
-
"@smithy/middleware-endpoint": "^1.0.
|
|
41
|
-
"@smithy/middleware-retry": "^1.0.
|
|
40
|
+
"@smithy/middleware-endpoint": "^1.0.2",
|
|
41
|
+
"@smithy/middleware-retry": "^1.0.3",
|
|
42
42
|
"@smithy/middleware-serde": "^1.0.1",
|
|
43
43
|
"@smithy/middleware-stack": "^1.0.1",
|
|
44
44
|
"@smithy/node-config-provider": "^1.0.1",
|
|
45
45
|
"@smithy/node-http-handler": "^1.0.2",
|
|
46
|
-
"@smithy/protocol-http": "^1.0
|
|
46
|
+
"@smithy/protocol-http": "^1.1.0",
|
|
47
47
|
"@smithy/smithy-client": "^1.0.3",
|
|
48
48
|
"@smithy/types": "^1.1.0",
|
|
49
49
|
"@smithy/url-parser": "^1.0.1",
|
|
@@ -52,12 +52,11 @@
|
|
|
52
52
|
"@smithy/util-body-length-node": "^1.0.1",
|
|
53
53
|
"@smithy/util-defaults-mode-browser": "^1.0.1",
|
|
54
54
|
"@smithy/util-defaults-mode-node": "^1.0.1",
|
|
55
|
-
"@smithy/util-retry": "^1.0.
|
|
55
|
+
"@smithy/util-retry": "^1.0.3",
|
|
56
56
|
"@smithy/util-utf8": "^1.0.1",
|
|
57
57
|
"tslib": "^2.5.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@aws-sdk/service-client-documentation-generator": "3.310.0",
|
|
61
60
|
"@smithy/service-client-documentation-generator": "^1.0.1",
|
|
62
61
|
"@tsconfig/node14": "1.0.3",
|
|
63
62
|
"@types/node": "^14.14.31",
|