@aws-sdk/client-personalize 3.478.0 → 3.481.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/dist-cjs/commands/CreateBatchInferenceJobCommand.js +18 -41
- package/dist-cjs/commands/CreateBatchSegmentJobCommand.js +18 -41
- package/dist-cjs/commands/CreateCampaignCommand.js +18 -41
- package/dist-cjs/commands/CreateDatasetCommand.js +18 -41
- package/dist-cjs/commands/CreateDatasetExportJobCommand.js +18 -41
- package/dist-cjs/commands/CreateDatasetGroupCommand.js +18 -41
- package/dist-cjs/commands/CreateDatasetImportJobCommand.js +18 -41
- package/dist-cjs/commands/CreateEventTrackerCommand.js +18 -41
- package/dist-cjs/commands/CreateFilterCommand.js +18 -41
- package/dist-cjs/commands/CreateMetricAttributionCommand.js +18 -41
- package/dist-cjs/commands/CreateRecommenderCommand.js +18 -41
- package/dist-cjs/commands/CreateSchemaCommand.js +18 -41
- package/dist-cjs/commands/CreateSolutionCommand.js +18 -41
- package/dist-cjs/commands/CreateSolutionVersionCommand.js +18 -41
- package/dist-cjs/commands/DeleteCampaignCommand.js +18 -41
- package/dist-cjs/commands/DeleteDatasetCommand.js +18 -41
- package/dist-cjs/commands/DeleteDatasetGroupCommand.js +18 -41
- package/dist-cjs/commands/DeleteEventTrackerCommand.js +18 -41
- package/dist-cjs/commands/DeleteFilterCommand.js +18 -41
- package/dist-cjs/commands/DeleteMetricAttributionCommand.js +18 -41
- package/dist-cjs/commands/DeleteRecommenderCommand.js +18 -41
- package/dist-cjs/commands/DeleteSchemaCommand.js +18 -41
- package/dist-cjs/commands/DeleteSolutionCommand.js +18 -41
- package/dist-cjs/commands/DescribeAlgorithmCommand.js +18 -41
- package/dist-cjs/commands/DescribeBatchInferenceJobCommand.js +18 -41
- package/dist-cjs/commands/DescribeBatchSegmentJobCommand.js +18 -41
- package/dist-cjs/commands/DescribeCampaignCommand.js +18 -41
- package/dist-cjs/commands/DescribeDatasetCommand.js +18 -41
- package/dist-cjs/commands/DescribeDatasetExportJobCommand.js +18 -41
- package/dist-cjs/commands/DescribeDatasetGroupCommand.js +18 -41
- package/dist-cjs/commands/DescribeDatasetImportJobCommand.js +18 -41
- package/dist-cjs/commands/DescribeEventTrackerCommand.js +18 -41
- package/dist-cjs/commands/DescribeFeatureTransformationCommand.js +18 -41
- package/dist-cjs/commands/DescribeFilterCommand.js +18 -41
- package/dist-cjs/commands/DescribeMetricAttributionCommand.js +18 -41
- package/dist-cjs/commands/DescribeRecipeCommand.js +18 -41
- package/dist-cjs/commands/DescribeRecommenderCommand.js +18 -41
- package/dist-cjs/commands/DescribeSchemaCommand.js +18 -41
- package/dist-cjs/commands/DescribeSolutionCommand.js +18 -41
- package/dist-cjs/commands/DescribeSolutionVersionCommand.js +18 -41
- package/dist-cjs/commands/GetSolutionMetricsCommand.js +18 -41
- package/dist-cjs/commands/ListBatchInferenceJobsCommand.js +18 -41
- package/dist-cjs/commands/ListBatchSegmentJobsCommand.js +18 -41
- package/dist-cjs/commands/ListCampaignsCommand.js +18 -41
- package/dist-cjs/commands/ListDatasetExportJobsCommand.js +18 -41
- package/dist-cjs/commands/ListDatasetGroupsCommand.js +18 -41
- package/dist-cjs/commands/ListDatasetImportJobsCommand.js +18 -41
- package/dist-cjs/commands/ListDatasetsCommand.js +18 -41
- package/dist-cjs/commands/ListEventTrackersCommand.js +18 -41
- package/dist-cjs/commands/ListFiltersCommand.js +18 -41
- package/dist-cjs/commands/ListMetricAttributionMetricsCommand.js +18 -41
- package/dist-cjs/commands/ListMetricAttributionsCommand.js +18 -41
- package/dist-cjs/commands/ListRecipesCommand.js +18 -41
- package/dist-cjs/commands/ListRecommendersCommand.js +18 -41
- package/dist-cjs/commands/ListSchemasCommand.js +18 -41
- package/dist-cjs/commands/ListSolutionVersionsCommand.js +18 -41
- package/dist-cjs/commands/ListSolutionsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/StartRecommenderCommand.js +18 -41
- package/dist-cjs/commands/StopRecommenderCommand.js +18 -41
- package/dist-cjs/commands/StopSolutionVersionCreationCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateCampaignCommand.js +18 -41
- package/dist-cjs/commands/UpdateDatasetCommand.js +18 -41
- package/dist-cjs/commands/UpdateMetricAttributionCommand.js +18 -41
- package/dist-cjs/commands/UpdateRecommenderCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-es/commands/CreateBatchInferenceJobCommand.js +18 -41
- package/dist-es/commands/CreateBatchSegmentJobCommand.js +18 -41
- package/dist-es/commands/CreateCampaignCommand.js +18 -41
- package/dist-es/commands/CreateDatasetCommand.js +18 -41
- package/dist-es/commands/CreateDatasetExportJobCommand.js +18 -41
- package/dist-es/commands/CreateDatasetGroupCommand.js +18 -41
- package/dist-es/commands/CreateDatasetImportJobCommand.js +18 -41
- package/dist-es/commands/CreateEventTrackerCommand.js +18 -41
- package/dist-es/commands/CreateFilterCommand.js +18 -41
- package/dist-es/commands/CreateMetricAttributionCommand.js +18 -41
- package/dist-es/commands/CreateRecommenderCommand.js +18 -41
- package/dist-es/commands/CreateSchemaCommand.js +18 -41
- package/dist-es/commands/CreateSolutionCommand.js +18 -41
- package/dist-es/commands/CreateSolutionVersionCommand.js +18 -41
- package/dist-es/commands/DeleteCampaignCommand.js +18 -41
- package/dist-es/commands/DeleteDatasetCommand.js +18 -41
- package/dist-es/commands/DeleteDatasetGroupCommand.js +18 -41
- package/dist-es/commands/DeleteEventTrackerCommand.js +18 -41
- package/dist-es/commands/DeleteFilterCommand.js +18 -41
- package/dist-es/commands/DeleteMetricAttributionCommand.js +18 -41
- package/dist-es/commands/DeleteRecommenderCommand.js +18 -41
- package/dist-es/commands/DeleteSchemaCommand.js +18 -41
- package/dist-es/commands/DeleteSolutionCommand.js +18 -41
- package/dist-es/commands/DescribeAlgorithmCommand.js +18 -41
- package/dist-es/commands/DescribeBatchInferenceJobCommand.js +18 -41
- package/dist-es/commands/DescribeBatchSegmentJobCommand.js +18 -41
- package/dist-es/commands/DescribeCampaignCommand.js +18 -41
- package/dist-es/commands/DescribeDatasetCommand.js +18 -41
- package/dist-es/commands/DescribeDatasetExportJobCommand.js +18 -41
- package/dist-es/commands/DescribeDatasetGroupCommand.js +18 -41
- package/dist-es/commands/DescribeDatasetImportJobCommand.js +18 -41
- package/dist-es/commands/DescribeEventTrackerCommand.js +18 -41
- package/dist-es/commands/DescribeFeatureTransformationCommand.js +18 -41
- package/dist-es/commands/DescribeFilterCommand.js +18 -41
- package/dist-es/commands/DescribeMetricAttributionCommand.js +18 -41
- package/dist-es/commands/DescribeRecipeCommand.js +18 -41
- package/dist-es/commands/DescribeRecommenderCommand.js +18 -41
- package/dist-es/commands/DescribeSchemaCommand.js +18 -41
- package/dist-es/commands/DescribeSolutionCommand.js +18 -41
- package/dist-es/commands/DescribeSolutionVersionCommand.js +18 -41
- package/dist-es/commands/GetSolutionMetricsCommand.js +18 -41
- package/dist-es/commands/ListBatchInferenceJobsCommand.js +18 -41
- package/dist-es/commands/ListBatchSegmentJobsCommand.js +18 -41
- package/dist-es/commands/ListCampaignsCommand.js +18 -41
- package/dist-es/commands/ListDatasetExportJobsCommand.js +18 -41
- package/dist-es/commands/ListDatasetGroupsCommand.js +18 -41
- package/dist-es/commands/ListDatasetImportJobsCommand.js +18 -41
- package/dist-es/commands/ListDatasetsCommand.js +18 -41
- package/dist-es/commands/ListEventTrackersCommand.js +18 -41
- package/dist-es/commands/ListFiltersCommand.js +18 -41
- package/dist-es/commands/ListMetricAttributionMetricsCommand.js +18 -41
- package/dist-es/commands/ListMetricAttributionsCommand.js +18 -41
- package/dist-es/commands/ListRecipesCommand.js +18 -41
- package/dist-es/commands/ListRecommendersCommand.js +18 -41
- package/dist-es/commands/ListSchemasCommand.js +18 -41
- package/dist-es/commands/ListSolutionVersionsCommand.js +18 -41
- package/dist-es/commands/ListSolutionsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/StartRecommenderCommand.js +18 -41
- package/dist-es/commands/StopRecommenderCommand.js +18 -41
- package/dist-es/commands/StopSolutionVersionCreationCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateCampaignCommand.js +18 -41
- package/dist-es/commands/UpdateDatasetCommand.js +18 -41
- package/dist-es/commands/UpdateMetricAttributionCommand.js +18 -41
- package/dist-es/commands/UpdateRecommenderCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-types/commands/CreateBatchInferenceJobCommand.d.ts +6 -21
- package/dist-types/commands/CreateBatchSegmentJobCommand.d.ts +6 -21
- package/dist-types/commands/CreateCampaignCommand.d.ts +6 -21
- package/dist-types/commands/CreateDatasetCommand.d.ts +6 -21
- package/dist-types/commands/CreateDatasetExportJobCommand.d.ts +6 -21
- package/dist-types/commands/CreateDatasetGroupCommand.d.ts +6 -21
- package/dist-types/commands/CreateDatasetImportJobCommand.d.ts +6 -21
- package/dist-types/commands/CreateEventTrackerCommand.d.ts +6 -21
- package/dist-types/commands/CreateFilterCommand.d.ts +6 -21
- package/dist-types/commands/CreateMetricAttributionCommand.d.ts +6 -21
- package/dist-types/commands/CreateRecommenderCommand.d.ts +6 -21
- package/dist-types/commands/CreateSchemaCommand.d.ts +6 -21
- package/dist-types/commands/CreateSolutionCommand.d.ts +6 -21
- package/dist-types/commands/CreateSolutionVersionCommand.d.ts +6 -21
- package/dist-types/commands/DeleteCampaignCommand.d.ts +6 -21
- package/dist-types/commands/DeleteDatasetCommand.d.ts +6 -21
- package/dist-types/commands/DeleteDatasetGroupCommand.d.ts +6 -21
- package/dist-types/commands/DeleteEventTrackerCommand.d.ts +6 -21
- package/dist-types/commands/DeleteFilterCommand.d.ts +6 -21
- package/dist-types/commands/DeleteMetricAttributionCommand.d.ts +6 -21
- package/dist-types/commands/DeleteRecommenderCommand.d.ts +6 -21
- package/dist-types/commands/DeleteSchemaCommand.d.ts +6 -21
- package/dist-types/commands/DeleteSolutionCommand.d.ts +6 -21
- package/dist-types/commands/DescribeAlgorithmCommand.d.ts +6 -21
- package/dist-types/commands/DescribeBatchInferenceJobCommand.d.ts +6 -21
- package/dist-types/commands/DescribeBatchSegmentJobCommand.d.ts +6 -21
- package/dist-types/commands/DescribeCampaignCommand.d.ts +6 -21
- package/dist-types/commands/DescribeDatasetCommand.d.ts +6 -21
- package/dist-types/commands/DescribeDatasetExportJobCommand.d.ts +6 -21
- package/dist-types/commands/DescribeDatasetGroupCommand.d.ts +6 -21
- package/dist-types/commands/DescribeDatasetImportJobCommand.d.ts +6 -21
- package/dist-types/commands/DescribeEventTrackerCommand.d.ts +6 -21
- package/dist-types/commands/DescribeFeatureTransformationCommand.d.ts +6 -21
- package/dist-types/commands/DescribeFilterCommand.d.ts +6 -21
- package/dist-types/commands/DescribeMetricAttributionCommand.d.ts +6 -21
- package/dist-types/commands/DescribeRecipeCommand.d.ts +6 -21
- package/dist-types/commands/DescribeRecommenderCommand.d.ts +6 -21
- package/dist-types/commands/DescribeSchemaCommand.d.ts +6 -21
- package/dist-types/commands/DescribeSolutionCommand.d.ts +6 -21
- package/dist-types/commands/DescribeSolutionVersionCommand.d.ts +6 -21
- package/dist-types/commands/GetSolutionMetricsCommand.d.ts +6 -21
- package/dist-types/commands/ListBatchInferenceJobsCommand.d.ts +6 -21
- package/dist-types/commands/ListBatchSegmentJobsCommand.d.ts +6 -21
- package/dist-types/commands/ListCampaignsCommand.d.ts +6 -21
- package/dist-types/commands/ListDatasetExportJobsCommand.d.ts +6 -21
- package/dist-types/commands/ListDatasetGroupsCommand.d.ts +6 -21
- package/dist-types/commands/ListDatasetImportJobsCommand.d.ts +6 -21
- package/dist-types/commands/ListDatasetsCommand.d.ts +6 -21
- package/dist-types/commands/ListEventTrackersCommand.d.ts +6 -21
- package/dist-types/commands/ListFiltersCommand.d.ts +6 -21
- package/dist-types/commands/ListMetricAttributionMetricsCommand.d.ts +6 -21
- package/dist-types/commands/ListMetricAttributionsCommand.d.ts +6 -21
- package/dist-types/commands/ListRecipesCommand.d.ts +6 -21
- package/dist-types/commands/ListRecommendersCommand.d.ts +6 -21
- package/dist-types/commands/ListSchemasCommand.d.ts +6 -21
- package/dist-types/commands/ListSolutionVersionsCommand.d.ts +6 -21
- package/dist-types/commands/ListSolutionsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/StartRecommenderCommand.d.ts +6 -21
- package/dist-types/commands/StopRecommenderCommand.d.ts +6 -21
- package/dist-types/commands/StopSolutionVersionCreationCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateCampaignCommand.d.ts +6 -21
- package/dist-types/commands/UpdateDatasetCommand.d.ts +6 -21
- package/dist-types/commands/UpdateMetricAttributionCommand.d.ts +6 -21
- package/dist-types/commands/UpdateRecommenderCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/commands/CreateBatchInferenceJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateBatchSegmentJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateCampaignCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateDatasetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateDatasetExportJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateDatasetGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateDatasetImportJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateEventTrackerCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateFilterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateMetricAttributionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateRecommenderCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateSchemaCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateSolutionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateSolutionVersionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteCampaignCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteDatasetGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteEventTrackerCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteFilterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteMetricAttributionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteRecommenderCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteSchemaCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteSolutionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeAlgorithmCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeBatchInferenceJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeBatchSegmentJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeCampaignCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeDatasetExportJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeDatasetGroupCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeDatasetImportJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeEventTrackerCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeFeatureTransformationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeFilterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeMetricAttributionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeRecipeCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeRecommenderCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeSchemaCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeSolutionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeSolutionVersionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetSolutionMetricsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListBatchInferenceJobsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListBatchSegmentJobsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListCampaignsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListDatasetExportJobsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListDatasetGroupsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListDatasetImportJobsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListEventTrackersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListMetricAttributionMetricsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListMetricAttributionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListRecipesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListRecommendersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListSchemasCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListSolutionVersionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListSolutionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartRecommenderCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StopRecommenderCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StopSolutionVersionCreationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateCampaignCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateDatasetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateMetricAttributionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateRecommenderCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/package.json +9 -9
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdateCampaignCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "PersonalizeClient";
|
|
29
|
-
const commandName = "UpdateCampaignCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonPersonalize",
|
|
38
|
-
operation: "UpdateCampaign",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UpdateCampaignCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateCampaignCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateCampaignCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonPersonalize", "UpdateCampaign", {})
|
|
22
|
+
.n("PersonalizeClient", "UpdateCampaignCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdateCampaignCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdateCampaignCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateCampaignCommand = UpdateCampaignCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdateDatasetCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "PersonalizeClient";
|
|
29
|
-
const commandName = "UpdateDatasetCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonPersonalize",
|
|
38
|
-
operation: "UpdateDataset",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UpdateDatasetCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateDatasetCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateDatasetCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonPersonalize", "UpdateDataset", {})
|
|
22
|
+
.n("PersonalizeClient", "UpdateDatasetCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdateDatasetCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdateDatasetCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateDatasetCommand = UpdateDatasetCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdateMetricAttributionCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "PersonalizeClient";
|
|
29
|
-
const commandName = "UpdateMetricAttributionCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonPersonalize",
|
|
38
|
-
operation: "UpdateMetricAttribution",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UpdateMetricAttributionCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateMetricAttributionCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateMetricAttributionCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonPersonalize", "UpdateMetricAttribution", {})
|
|
22
|
+
.n("PersonalizeClient", "UpdateMetricAttributionCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdateMetricAttributionCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdateMetricAttributionCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateMetricAttributionCommand = UpdateMetricAttributionCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdateRecommenderCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "PersonalizeClient";
|
|
29
|
-
const commandName = "UpdateRecommenderCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonPersonalize",
|
|
38
|
-
operation: "UpdateRecommender",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UpdateRecommenderCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateRecommenderCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateRecommenderCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonPersonalize", "UpdateRecommender", {})
|
|
22
|
+
.n("PersonalizeClient", "UpdateRecommenderCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdateRecommenderCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdateRecommenderCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateRecommenderCommand = UpdateRecommenderCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateBatchInferenceJobCommand, se_CreateBatchInferenceJobCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateBatchInferenceJobCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "PersonalizeClient";
|
|
26
|
-
const commandName = "CreateBatchInferenceJobCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonPersonalize",
|
|
35
|
-
operation: "CreateBatchInferenceJob",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateBatchInferenceJobCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateBatchInferenceJobCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateBatchInferenceJobCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonPersonalize", "CreateBatchInferenceJob", {})
|
|
19
|
+
.n("PersonalizeClient", "CreateBatchInferenceJobCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateBatchInferenceJobCommand)
|
|
22
|
+
.de(de_CreateBatchInferenceJobCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateBatchSegmentJobCommand, se_CreateBatchSegmentJobCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateBatchSegmentJobCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "PersonalizeClient";
|
|
26
|
-
const commandName = "CreateBatchSegmentJobCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonPersonalize",
|
|
35
|
-
operation: "CreateBatchSegmentJob",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateBatchSegmentJobCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateBatchSegmentJobCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateBatchSegmentJobCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonPersonalize", "CreateBatchSegmentJob", {})
|
|
19
|
+
.n("PersonalizeClient", "CreateBatchSegmentJobCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateBatchSegmentJobCommand)
|
|
22
|
+
.de(de_CreateBatchSegmentJobCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateCampaignCommand, se_CreateCampaignCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateCampaignCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "PersonalizeClient";
|
|
26
|
-
const commandName = "CreateCampaignCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonPersonalize",
|
|
35
|
-
operation: "CreateCampaign",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateCampaignCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateCampaignCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateCampaignCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonPersonalize", "CreateCampaign", {})
|
|
19
|
+
.n("PersonalizeClient", "CreateCampaignCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateCampaignCommand)
|
|
22
|
+
.de(de_CreateCampaignCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateDatasetCommand, se_CreateDatasetCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateDatasetCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "PersonalizeClient";
|
|
26
|
-
const commandName = "CreateDatasetCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonPersonalize",
|
|
35
|
-
operation: "CreateDataset",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateDatasetCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateDatasetCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateDatasetCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonPersonalize", "CreateDataset", {})
|
|
19
|
+
.n("PersonalizeClient", "CreateDatasetCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateDatasetCommand)
|
|
22
|
+
.de(de_CreateDatasetCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateDatasetExportJobCommand, se_CreateDatasetExportJobCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateDatasetExportJobCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "PersonalizeClient";
|
|
26
|
-
const commandName = "CreateDatasetExportJobCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonPersonalize",
|
|
35
|
-
operation: "CreateDatasetExportJob",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateDatasetExportJobCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateDatasetExportJobCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateDatasetExportJobCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonPersonalize", "CreateDatasetExportJob", {})
|
|
19
|
+
.n("PersonalizeClient", "CreateDatasetExportJobCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateDatasetExportJobCommand)
|
|
22
|
+
.de(de_CreateDatasetExportJobCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|