@aws-sdk/client-personalize 3.782.0 → 3.784.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/index.js +176 -24
- package/dist-es/commands/CreateBatchInferenceJobCommand.js +2 -1
- package/dist-es/commands/CreateBatchSegmentJobCommand.js +2 -1
- package/dist-es/commands/CreateCampaignCommand.js +2 -1
- package/dist-es/commands/CreateDataDeletionJobCommand.js +2 -1
- package/dist-es/commands/CreateDatasetCommand.js +2 -1
- package/dist-es/commands/CreateDatasetExportJobCommand.js +2 -1
- package/dist-es/commands/CreateDatasetGroupCommand.js +2 -1
- package/dist-es/commands/CreateDatasetImportJobCommand.js +2 -1
- package/dist-es/commands/CreateEventTrackerCommand.js +2 -1
- package/dist-es/commands/CreateRecommenderCommand.js +2 -1
- package/dist-es/commands/CreateSolutionCommand.js +2 -1
- package/dist-es/commands/CreateSolutionVersionCommand.js +2 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -1
- package/dist-es/commands/TagResourceCommand.js +2 -1
- package/dist-es/commands/UntagResourceCommand.js +2 -1
- package/dist-es/models/models_0.js +66 -0
- package/dist-es/protocols/Aws_json1_1.js +62 -2
- package/dist-types/commands/CreateSolutionCommand.d.ts +9 -0
- package/dist-types/commands/DeleteDatasetCommand.d.ts +3 -2
- package/dist-types/commands/DescribeSolutionCommand.d.ts +18 -0
- package/dist-types/commands/DescribeSolutionVersionCommand.d.ts +9 -0
- package/dist-types/commands/UpdateSolutionCommand.d.ts +9 -0
- package/dist-types/models/models_0.d.ts +106 -0
- package/dist-types/ts3.4/models/models_0.d.ts +56 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -23,21 +23,33 @@ var index_exports = {};
|
|
|
23
23
|
__export(index_exports, {
|
|
24
24
|
BatchInferenceJobMode: () => BatchInferenceJobMode,
|
|
25
25
|
CreateBatchInferenceJobCommand: () => CreateBatchInferenceJobCommand,
|
|
26
|
+
CreateBatchInferenceJobRequestFilterSensitiveLog: () => CreateBatchInferenceJobRequestFilterSensitiveLog,
|
|
26
27
|
CreateBatchSegmentJobCommand: () => CreateBatchSegmentJobCommand,
|
|
28
|
+
CreateBatchSegmentJobRequestFilterSensitiveLog: () => CreateBatchSegmentJobRequestFilterSensitiveLog,
|
|
27
29
|
CreateCampaignCommand: () => CreateCampaignCommand,
|
|
30
|
+
CreateCampaignRequestFilterSensitiveLog: () => CreateCampaignRequestFilterSensitiveLog,
|
|
28
31
|
CreateDataDeletionJobCommand: () => CreateDataDeletionJobCommand,
|
|
32
|
+
CreateDataDeletionJobRequestFilterSensitiveLog: () => CreateDataDeletionJobRequestFilterSensitiveLog,
|
|
29
33
|
CreateDatasetCommand: () => CreateDatasetCommand,
|
|
30
34
|
CreateDatasetExportJobCommand: () => CreateDatasetExportJobCommand,
|
|
35
|
+
CreateDatasetExportJobRequestFilterSensitiveLog: () => CreateDatasetExportJobRequestFilterSensitiveLog,
|
|
31
36
|
CreateDatasetGroupCommand: () => CreateDatasetGroupCommand,
|
|
37
|
+
CreateDatasetGroupRequestFilterSensitiveLog: () => CreateDatasetGroupRequestFilterSensitiveLog,
|
|
32
38
|
CreateDatasetImportJobCommand: () => CreateDatasetImportJobCommand,
|
|
39
|
+
CreateDatasetImportJobRequestFilterSensitiveLog: () => CreateDatasetImportJobRequestFilterSensitiveLog,
|
|
40
|
+
CreateDatasetRequestFilterSensitiveLog: () => CreateDatasetRequestFilterSensitiveLog,
|
|
33
41
|
CreateEventTrackerCommand: () => CreateEventTrackerCommand,
|
|
42
|
+
CreateEventTrackerRequestFilterSensitiveLog: () => CreateEventTrackerRequestFilterSensitiveLog,
|
|
34
43
|
CreateFilterCommand: () => CreateFilterCommand,
|
|
35
44
|
CreateFilterRequestFilterSensitiveLog: () => CreateFilterRequestFilterSensitiveLog,
|
|
36
45
|
CreateMetricAttributionCommand: () => CreateMetricAttributionCommand,
|
|
37
46
|
CreateRecommenderCommand: () => CreateRecommenderCommand,
|
|
47
|
+
CreateRecommenderRequestFilterSensitiveLog: () => CreateRecommenderRequestFilterSensitiveLog,
|
|
38
48
|
CreateSchemaCommand: () => CreateSchemaCommand,
|
|
39
49
|
CreateSolutionCommand: () => CreateSolutionCommand,
|
|
50
|
+
CreateSolutionRequestFilterSensitiveLog: () => CreateSolutionRequestFilterSensitiveLog,
|
|
40
51
|
CreateSolutionVersionCommand: () => CreateSolutionVersionCommand,
|
|
52
|
+
CreateSolutionVersionRequestFilterSensitiveLog: () => CreateSolutionVersionRequestFilterSensitiveLog,
|
|
41
53
|
DeleteCampaignCommand: () => DeleteCampaignCommand,
|
|
42
54
|
DeleteDatasetCommand: () => DeleteDatasetCommand,
|
|
43
55
|
DeleteDatasetGroupCommand: () => DeleteDatasetGroupCommand,
|
|
@@ -92,6 +104,7 @@ __export(index_exports, {
|
|
|
92
104
|
ListSolutionVersionsCommand: () => ListSolutionVersionsCommand,
|
|
93
105
|
ListSolutionsCommand: () => ListSolutionsCommand,
|
|
94
106
|
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
107
|
+
ListTagsForResourceResponseFilterSensitiveLog: () => ListTagsForResourceResponseFilterSensitiveLog,
|
|
95
108
|
ObjectiveSensitivity: () => ObjectiveSensitivity,
|
|
96
109
|
Personalize: () => Personalize,
|
|
97
110
|
PersonalizeClient: () => PersonalizeClient,
|
|
@@ -103,12 +116,15 @@ __export(index_exports, {
|
|
|
103
116
|
StartRecommenderCommand: () => StartRecommenderCommand,
|
|
104
117
|
StopRecommenderCommand: () => StopRecommenderCommand,
|
|
105
118
|
StopSolutionVersionCreationCommand: () => StopSolutionVersionCreationCommand,
|
|
119
|
+
TagFilterSensitiveLog: () => TagFilterSensitiveLog,
|
|
106
120
|
TagResourceCommand: () => TagResourceCommand,
|
|
121
|
+
TagResourceRequestFilterSensitiveLog: () => TagResourceRequestFilterSensitiveLog,
|
|
107
122
|
TooManyTagKeysException: () => TooManyTagKeysException,
|
|
108
123
|
TooManyTagsException: () => TooManyTagsException,
|
|
109
124
|
TrainingMode: () => TrainingMode,
|
|
110
125
|
TrainingType: () => TrainingType,
|
|
111
126
|
UntagResourceCommand: () => UntagResourceCommand,
|
|
127
|
+
UntagResourceRequestFilterSensitiveLog: () => UntagResourceRequestFilterSensitiveLog,
|
|
112
128
|
UpdateCampaignCommand: () => UpdateCampaignCommand,
|
|
113
129
|
UpdateDatasetCommand: () => UpdateDatasetCommand,
|
|
114
130
|
UpdateMetricAttributionCommand: () => UpdateMetricAttributionCommand,
|
|
@@ -283,11 +299,6 @@ var PersonalizeClient = class extends import_smithy_client.Client {
|
|
|
283
299
|
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
284
300
|
|
|
285
301
|
|
|
286
|
-
// src/protocols/Aws_json1_1.ts
|
|
287
|
-
var import_core2 = require("@aws-sdk/core");
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
302
|
// src/models/models_0.ts
|
|
292
303
|
|
|
293
304
|
|
|
@@ -486,10 +497,64 @@ var TooManyTagKeysException = class _TooManyTagKeysException extends Personalize
|
|
|
486
497
|
Object.setPrototypeOf(this, _TooManyTagKeysException.prototype);
|
|
487
498
|
}
|
|
488
499
|
};
|
|
500
|
+
var TagFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
501
|
+
...obj,
|
|
502
|
+
...obj.tagKey && { tagKey: import_smithy_client.SENSITIVE_STRING },
|
|
503
|
+
...obj.tagValue && { tagValue: import_smithy_client.SENSITIVE_STRING }
|
|
504
|
+
}), "TagFilterSensitiveLog");
|
|
505
|
+
var CreateBatchInferenceJobRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
506
|
+
...obj,
|
|
507
|
+
...obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }
|
|
508
|
+
}), "CreateBatchInferenceJobRequestFilterSensitiveLog");
|
|
509
|
+
var CreateBatchSegmentJobRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
510
|
+
...obj,
|
|
511
|
+
...obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }
|
|
512
|
+
}), "CreateBatchSegmentJobRequestFilterSensitiveLog");
|
|
513
|
+
var CreateCampaignRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
514
|
+
...obj,
|
|
515
|
+
...obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }
|
|
516
|
+
}), "CreateCampaignRequestFilterSensitiveLog");
|
|
517
|
+
var CreateDataDeletionJobRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
518
|
+
...obj,
|
|
519
|
+
...obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }
|
|
520
|
+
}), "CreateDataDeletionJobRequestFilterSensitiveLog");
|
|
521
|
+
var CreateDatasetRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
522
|
+
...obj,
|
|
523
|
+
...obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }
|
|
524
|
+
}), "CreateDatasetRequestFilterSensitiveLog");
|
|
525
|
+
var CreateDatasetExportJobRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
526
|
+
...obj,
|
|
527
|
+
...obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }
|
|
528
|
+
}), "CreateDatasetExportJobRequestFilterSensitiveLog");
|
|
529
|
+
var CreateDatasetGroupRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
530
|
+
...obj,
|
|
531
|
+
...obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }
|
|
532
|
+
}), "CreateDatasetGroupRequestFilterSensitiveLog");
|
|
533
|
+
var CreateDatasetImportJobRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
534
|
+
...obj,
|
|
535
|
+
...obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }
|
|
536
|
+
}), "CreateDatasetImportJobRequestFilterSensitiveLog");
|
|
537
|
+
var CreateEventTrackerRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
538
|
+
...obj,
|
|
539
|
+
...obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }
|
|
540
|
+
}), "CreateEventTrackerRequestFilterSensitiveLog");
|
|
489
541
|
var CreateFilterRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
490
542
|
...obj,
|
|
491
|
-
...obj.filterExpression && { filterExpression: import_smithy_client.SENSITIVE_STRING }
|
|
543
|
+
...obj.filterExpression && { filterExpression: import_smithy_client.SENSITIVE_STRING },
|
|
544
|
+
...obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }
|
|
492
545
|
}), "CreateFilterRequestFilterSensitiveLog");
|
|
546
|
+
var CreateRecommenderRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
547
|
+
...obj,
|
|
548
|
+
...obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }
|
|
549
|
+
}), "CreateRecommenderRequestFilterSensitiveLog");
|
|
550
|
+
var CreateSolutionRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
551
|
+
...obj,
|
|
552
|
+
...obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }
|
|
553
|
+
}), "CreateSolutionRequestFilterSensitiveLog");
|
|
554
|
+
var CreateSolutionVersionRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
555
|
+
...obj,
|
|
556
|
+
...obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }
|
|
557
|
+
}), "CreateSolutionVersionRequestFilterSensitiveLog");
|
|
493
558
|
var FilterFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
494
559
|
...obj,
|
|
495
560
|
...obj.filterExpression && { filterExpression: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -498,8 +563,23 @@ var DescribeFilterResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => (
|
|
|
498
563
|
...obj,
|
|
499
564
|
...obj.filter && { filter: FilterFilterSensitiveLog(obj.filter) }
|
|
500
565
|
}), "DescribeFilterResponseFilterSensitiveLog");
|
|
566
|
+
var ListTagsForResourceResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
567
|
+
...obj,
|
|
568
|
+
...obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }
|
|
569
|
+
}), "ListTagsForResourceResponseFilterSensitiveLog");
|
|
570
|
+
var TagResourceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
571
|
+
...obj,
|
|
572
|
+
...obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }
|
|
573
|
+
}), "TagResourceRequestFilterSensitiveLog");
|
|
574
|
+
var UntagResourceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
575
|
+
...obj,
|
|
576
|
+
...obj.tagKeys && { tagKeys: import_smithy_client.SENSITIVE_STRING }
|
|
577
|
+
}), "UntagResourceRequestFilterSensitiveLog");
|
|
501
578
|
|
|
502
579
|
// src/protocols/Aws_json1_1.ts
|
|
580
|
+
var import_core2 = require("@aws-sdk/core");
|
|
581
|
+
|
|
582
|
+
|
|
503
583
|
var se_CreateBatchInferenceJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
504
584
|
const headers = sharedHeaders("CreateBatchInferenceJob");
|
|
505
585
|
let body;
|
|
@@ -923,7 +1003,7 @@ var se_UpdateRecommenderCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
923
1003
|
var se_UpdateSolutionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
924
1004
|
const headers = sharedHeaders("UpdateSolution");
|
|
925
1005
|
let body;
|
|
926
|
-
body = JSON.stringify((
|
|
1006
|
+
body = JSON.stringify(se_UpdateSolutionRequest(input, context));
|
|
927
1007
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
928
1008
|
}, "se_UpdateSolutionCommand");
|
|
929
1009
|
var de_CreateBatchInferenceJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
@@ -1956,6 +2036,23 @@ var se_CreateSolutionRequest = /* @__PURE__ */ __name((input, context) => {
|
|
|
1956
2036
|
tags: import_smithy_client._json
|
|
1957
2037
|
});
|
|
1958
2038
|
}, "se_CreateSolutionRequest");
|
|
2039
|
+
var se_EventParameters = /* @__PURE__ */ __name((input, context) => {
|
|
2040
|
+
return (0, import_smithy_client.take)(input, {
|
|
2041
|
+
eventType: [],
|
|
2042
|
+
eventValueThreshold: import_smithy_client.serializeFloat,
|
|
2043
|
+
weight: import_smithy_client.serializeFloat
|
|
2044
|
+
});
|
|
2045
|
+
}, "se_EventParameters");
|
|
2046
|
+
var se_EventParametersList = /* @__PURE__ */ __name((input, context) => {
|
|
2047
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
2048
|
+
return se_EventParameters(entry, context);
|
|
2049
|
+
});
|
|
2050
|
+
}, "se_EventParametersList");
|
|
2051
|
+
var se_EventsConfig = /* @__PURE__ */ __name((input, context) => {
|
|
2052
|
+
return (0, import_smithy_client.take)(input, {
|
|
2053
|
+
eventParametersList: /* @__PURE__ */ __name((_) => se_EventParametersList(_, context), "eventParametersList")
|
|
2054
|
+
});
|
|
2055
|
+
}, "se_EventsConfig");
|
|
1959
2056
|
var se_HPOConfig = /* @__PURE__ */ __name((input, context) => {
|
|
1960
2057
|
return (0, import_smithy_client.take)(input, {
|
|
1961
2058
|
algorithmHyperParameterRanges: /* @__PURE__ */ __name((_) => se_HyperParameterRanges(_, context), "algorithmHyperParameterRanges"),
|
|
@@ -1976,12 +2073,26 @@ var se_SolutionConfig = /* @__PURE__ */ __name((input, context) => {
|
|
|
1976
2073
|
autoMLConfig: import_smithy_client._json,
|
|
1977
2074
|
autoTrainingConfig: import_smithy_client._json,
|
|
1978
2075
|
eventValueThreshold: [],
|
|
2076
|
+
eventsConfig: /* @__PURE__ */ __name((_) => se_EventsConfig(_, context), "eventsConfig"),
|
|
1979
2077
|
featureTransformationParameters: import_smithy_client._json,
|
|
1980
2078
|
hpoConfig: /* @__PURE__ */ __name((_) => se_HPOConfig(_, context), "hpoConfig"),
|
|
1981
2079
|
optimizationObjective: import_smithy_client._json,
|
|
1982
2080
|
trainingDataConfig: import_smithy_client._json
|
|
1983
2081
|
});
|
|
1984
2082
|
}, "se_SolutionConfig");
|
|
2083
|
+
var se_SolutionUpdateConfig = /* @__PURE__ */ __name((input, context) => {
|
|
2084
|
+
return (0, import_smithy_client.take)(input, {
|
|
2085
|
+
autoTrainingConfig: import_smithy_client._json,
|
|
2086
|
+
eventsConfig: /* @__PURE__ */ __name((_) => se_EventsConfig(_, context), "eventsConfig")
|
|
2087
|
+
});
|
|
2088
|
+
}, "se_SolutionUpdateConfig");
|
|
2089
|
+
var se_UpdateSolutionRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2090
|
+
return (0, import_smithy_client.take)(input, {
|
|
2091
|
+
performAutoTraining: [],
|
|
2092
|
+
solutionArn: [],
|
|
2093
|
+
solutionUpdateConfig: /* @__PURE__ */ __name((_) => se_SolutionUpdateConfig(_, context), "solutionUpdateConfig")
|
|
2094
|
+
});
|
|
2095
|
+
}, "se_UpdateSolutionRequest");
|
|
1985
2096
|
var de_Algorithm = /* @__PURE__ */ __name((output, context) => {
|
|
1986
2097
|
return (0, import_smithy_client.take)(output, {
|
|
1987
2098
|
algorithmArn: import_smithy_client.expectString,
|
|
@@ -2412,6 +2523,24 @@ var de_DescribeSolutionVersionResponse = /* @__PURE__ */ __name((output, context
|
|
|
2412
2523
|
solutionVersion: /* @__PURE__ */ __name((_) => de_SolutionVersion(_, context), "solutionVersion")
|
|
2413
2524
|
});
|
|
2414
2525
|
}, "de_DescribeSolutionVersionResponse");
|
|
2526
|
+
var de_EventParameters = /* @__PURE__ */ __name((output, context) => {
|
|
2527
|
+
return (0, import_smithy_client.take)(output, {
|
|
2528
|
+
eventType: import_smithy_client.expectString,
|
|
2529
|
+
eventValueThreshold: import_smithy_client.limitedParseDouble,
|
|
2530
|
+
weight: import_smithy_client.limitedParseDouble
|
|
2531
|
+
});
|
|
2532
|
+
}, "de_EventParameters");
|
|
2533
|
+
var de_EventParametersList = /* @__PURE__ */ __name((output, context) => {
|
|
2534
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2535
|
+
return de_EventParameters(entry, context);
|
|
2536
|
+
});
|
|
2537
|
+
return retVal;
|
|
2538
|
+
}, "de_EventParametersList");
|
|
2539
|
+
var de_EventsConfig = /* @__PURE__ */ __name((output, context) => {
|
|
2540
|
+
return (0, import_smithy_client.take)(output, {
|
|
2541
|
+
eventParametersList: /* @__PURE__ */ __name((_) => de_EventParametersList(_, context), "eventParametersList")
|
|
2542
|
+
});
|
|
2543
|
+
}, "de_EventsConfig");
|
|
2415
2544
|
var de_EventTracker = /* @__PURE__ */ __name((output, context) => {
|
|
2416
2545
|
return (0, import_smithy_client.take)(output, {
|
|
2417
2546
|
accountId: import_smithy_client.expectString,
|
|
@@ -2733,6 +2862,7 @@ var de_SolutionConfig = /* @__PURE__ */ __name((output, context) => {
|
|
|
2733
2862
|
autoMLConfig: import_smithy_client._json,
|
|
2734
2863
|
autoTrainingConfig: import_smithy_client._json,
|
|
2735
2864
|
eventValueThreshold: import_smithy_client.expectString,
|
|
2865
|
+
eventsConfig: /* @__PURE__ */ __name((_) => de_EventsConfig(_, context), "eventsConfig"),
|
|
2736
2866
|
featureTransformationParameters: import_smithy_client._json,
|
|
2737
2867
|
hpoConfig: /* @__PURE__ */ __name((_) => de_HPOConfig(_, context), "hpoConfig"),
|
|
2738
2868
|
optimizationObjective: import_smithy_client._json,
|
|
@@ -2755,13 +2885,19 @@ var de_SolutionSummary = /* @__PURE__ */ __name((output, context) => {
|
|
|
2755
2885
|
status: import_smithy_client.expectString
|
|
2756
2886
|
});
|
|
2757
2887
|
}, "de_SolutionSummary");
|
|
2888
|
+
var de_SolutionUpdateConfig = /* @__PURE__ */ __name((output, context) => {
|
|
2889
|
+
return (0, import_smithy_client.take)(output, {
|
|
2890
|
+
autoTrainingConfig: import_smithy_client._json,
|
|
2891
|
+
eventsConfig: /* @__PURE__ */ __name((_) => de_EventsConfig(_, context), "eventsConfig")
|
|
2892
|
+
});
|
|
2893
|
+
}, "de_SolutionUpdateConfig");
|
|
2758
2894
|
var de_SolutionUpdateSummary = /* @__PURE__ */ __name((output, context) => {
|
|
2759
2895
|
return (0, import_smithy_client.take)(output, {
|
|
2760
2896
|
creationDateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "creationDateTime"),
|
|
2761
2897
|
failureReason: import_smithy_client.expectString,
|
|
2762
2898
|
lastUpdatedDateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastUpdatedDateTime"),
|
|
2763
2899
|
performAutoTraining: import_smithy_client.expectBoolean,
|
|
2764
|
-
solutionUpdateConfig:
|
|
2900
|
+
solutionUpdateConfig: /* @__PURE__ */ __name((_) => de_SolutionUpdateConfig(_, context), "solutionUpdateConfig"),
|
|
2765
2901
|
status: import_smithy_client.expectString
|
|
2766
2902
|
});
|
|
2767
2903
|
}, "de_SolutionUpdateSummary");
|
|
@@ -2842,7 +2978,7 @@ var CreateBatchInferenceJobCommand = class extends import_smithy_client.Command.
|
|
|
2842
2978
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2843
2979
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2844
2980
|
];
|
|
2845
|
-
}).s("AmazonPersonalize", "CreateBatchInferenceJob", {}).n("PersonalizeClient", "CreateBatchInferenceJobCommand").f(
|
|
2981
|
+
}).s("AmazonPersonalize", "CreateBatchInferenceJob", {}).n("PersonalizeClient", "CreateBatchInferenceJobCommand").f(CreateBatchInferenceJobRequestFilterSensitiveLog, void 0).ser(se_CreateBatchInferenceJobCommand).de(de_CreateBatchInferenceJobCommand).build() {
|
|
2846
2982
|
static {
|
|
2847
2983
|
__name(this, "CreateBatchInferenceJobCommand");
|
|
2848
2984
|
}
|
|
@@ -2857,7 +2993,7 @@ var CreateBatchSegmentJobCommand = class extends import_smithy_client.Command.cl
|
|
|
2857
2993
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2858
2994
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2859
2995
|
];
|
|
2860
|
-
}).s("AmazonPersonalize", "CreateBatchSegmentJob", {}).n("PersonalizeClient", "CreateBatchSegmentJobCommand").f(
|
|
2996
|
+
}).s("AmazonPersonalize", "CreateBatchSegmentJob", {}).n("PersonalizeClient", "CreateBatchSegmentJobCommand").f(CreateBatchSegmentJobRequestFilterSensitiveLog, void 0).ser(se_CreateBatchSegmentJobCommand).de(de_CreateBatchSegmentJobCommand).build() {
|
|
2861
2997
|
static {
|
|
2862
2998
|
__name(this, "CreateBatchSegmentJobCommand");
|
|
2863
2999
|
}
|
|
@@ -2872,7 +3008,7 @@ var CreateCampaignCommand = class extends import_smithy_client.Command.classBuil
|
|
|
2872
3008
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2873
3009
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2874
3010
|
];
|
|
2875
|
-
}).s("AmazonPersonalize", "CreateCampaign", {}).n("PersonalizeClient", "CreateCampaignCommand").f(
|
|
3011
|
+
}).s("AmazonPersonalize", "CreateCampaign", {}).n("PersonalizeClient", "CreateCampaignCommand").f(CreateCampaignRequestFilterSensitiveLog, void 0).ser(se_CreateCampaignCommand).de(de_CreateCampaignCommand).build() {
|
|
2876
3012
|
static {
|
|
2877
3013
|
__name(this, "CreateCampaignCommand");
|
|
2878
3014
|
}
|
|
@@ -2887,7 +3023,7 @@ var CreateDataDeletionJobCommand = class extends import_smithy_client.Command.cl
|
|
|
2887
3023
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2888
3024
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2889
3025
|
];
|
|
2890
|
-
}).s("AmazonPersonalize", "CreateDataDeletionJob", {}).n("PersonalizeClient", "CreateDataDeletionJobCommand").f(
|
|
3026
|
+
}).s("AmazonPersonalize", "CreateDataDeletionJob", {}).n("PersonalizeClient", "CreateDataDeletionJobCommand").f(CreateDataDeletionJobRequestFilterSensitiveLog, void 0).ser(se_CreateDataDeletionJobCommand).de(de_CreateDataDeletionJobCommand).build() {
|
|
2891
3027
|
static {
|
|
2892
3028
|
__name(this, "CreateDataDeletionJobCommand");
|
|
2893
3029
|
}
|
|
@@ -2902,7 +3038,7 @@ var CreateDatasetCommand = class extends import_smithy_client.Command.classBuild
|
|
|
2902
3038
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2903
3039
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2904
3040
|
];
|
|
2905
|
-
}).s("AmazonPersonalize", "CreateDataset", {}).n("PersonalizeClient", "CreateDatasetCommand").f(
|
|
3041
|
+
}).s("AmazonPersonalize", "CreateDataset", {}).n("PersonalizeClient", "CreateDatasetCommand").f(CreateDatasetRequestFilterSensitiveLog, void 0).ser(se_CreateDatasetCommand).de(de_CreateDatasetCommand).build() {
|
|
2906
3042
|
static {
|
|
2907
3043
|
__name(this, "CreateDatasetCommand");
|
|
2908
3044
|
}
|
|
@@ -2917,7 +3053,7 @@ var CreateDatasetExportJobCommand = class extends import_smithy_client.Command.c
|
|
|
2917
3053
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2918
3054
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2919
3055
|
];
|
|
2920
|
-
}).s("AmazonPersonalize", "CreateDatasetExportJob", {}).n("PersonalizeClient", "CreateDatasetExportJobCommand").f(
|
|
3056
|
+
}).s("AmazonPersonalize", "CreateDatasetExportJob", {}).n("PersonalizeClient", "CreateDatasetExportJobCommand").f(CreateDatasetExportJobRequestFilterSensitiveLog, void 0).ser(se_CreateDatasetExportJobCommand).de(de_CreateDatasetExportJobCommand).build() {
|
|
2921
3057
|
static {
|
|
2922
3058
|
__name(this, "CreateDatasetExportJobCommand");
|
|
2923
3059
|
}
|
|
@@ -2932,7 +3068,7 @@ var CreateDatasetGroupCommand = class extends import_smithy_client.Command.class
|
|
|
2932
3068
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2933
3069
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2934
3070
|
];
|
|
2935
|
-
}).s("AmazonPersonalize", "CreateDatasetGroup", {}).n("PersonalizeClient", "CreateDatasetGroupCommand").f(
|
|
3071
|
+
}).s("AmazonPersonalize", "CreateDatasetGroup", {}).n("PersonalizeClient", "CreateDatasetGroupCommand").f(CreateDatasetGroupRequestFilterSensitiveLog, void 0).ser(se_CreateDatasetGroupCommand).de(de_CreateDatasetGroupCommand).build() {
|
|
2936
3072
|
static {
|
|
2937
3073
|
__name(this, "CreateDatasetGroupCommand");
|
|
2938
3074
|
}
|
|
@@ -2947,7 +3083,7 @@ var CreateDatasetImportJobCommand = class extends import_smithy_client.Command.c
|
|
|
2947
3083
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2948
3084
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2949
3085
|
];
|
|
2950
|
-
}).s("AmazonPersonalize", "CreateDatasetImportJob", {}).n("PersonalizeClient", "CreateDatasetImportJobCommand").f(
|
|
3086
|
+
}).s("AmazonPersonalize", "CreateDatasetImportJob", {}).n("PersonalizeClient", "CreateDatasetImportJobCommand").f(CreateDatasetImportJobRequestFilterSensitiveLog, void 0).ser(se_CreateDatasetImportJobCommand).de(de_CreateDatasetImportJobCommand).build() {
|
|
2951
3087
|
static {
|
|
2952
3088
|
__name(this, "CreateDatasetImportJobCommand");
|
|
2953
3089
|
}
|
|
@@ -2962,7 +3098,7 @@ var CreateEventTrackerCommand = class extends import_smithy_client.Command.class
|
|
|
2962
3098
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2963
3099
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2964
3100
|
];
|
|
2965
|
-
}).s("AmazonPersonalize", "CreateEventTracker", {}).n("PersonalizeClient", "CreateEventTrackerCommand").f(
|
|
3101
|
+
}).s("AmazonPersonalize", "CreateEventTracker", {}).n("PersonalizeClient", "CreateEventTrackerCommand").f(CreateEventTrackerRequestFilterSensitiveLog, void 0).ser(se_CreateEventTrackerCommand).de(de_CreateEventTrackerCommand).build() {
|
|
2966
3102
|
static {
|
|
2967
3103
|
__name(this, "CreateEventTrackerCommand");
|
|
2968
3104
|
}
|
|
@@ -3007,7 +3143,7 @@ var CreateRecommenderCommand = class extends import_smithy_client.Command.classB
|
|
|
3007
3143
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3008
3144
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3009
3145
|
];
|
|
3010
|
-
}).s("AmazonPersonalize", "CreateRecommender", {}).n("PersonalizeClient", "CreateRecommenderCommand").f(
|
|
3146
|
+
}).s("AmazonPersonalize", "CreateRecommender", {}).n("PersonalizeClient", "CreateRecommenderCommand").f(CreateRecommenderRequestFilterSensitiveLog, void 0).ser(se_CreateRecommenderCommand).de(de_CreateRecommenderCommand).build() {
|
|
3011
3147
|
static {
|
|
3012
3148
|
__name(this, "CreateRecommenderCommand");
|
|
3013
3149
|
}
|
|
@@ -3037,7 +3173,7 @@ var CreateSolutionCommand = class extends import_smithy_client.Command.classBuil
|
|
|
3037
3173
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3038
3174
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3039
3175
|
];
|
|
3040
|
-
}).s("AmazonPersonalize", "CreateSolution", {}).n("PersonalizeClient", "CreateSolutionCommand").f(
|
|
3176
|
+
}).s("AmazonPersonalize", "CreateSolution", {}).n("PersonalizeClient", "CreateSolutionCommand").f(CreateSolutionRequestFilterSensitiveLog, void 0).ser(se_CreateSolutionCommand).de(de_CreateSolutionCommand).build() {
|
|
3041
3177
|
static {
|
|
3042
3178
|
__name(this, "CreateSolutionCommand");
|
|
3043
3179
|
}
|
|
@@ -3052,7 +3188,7 @@ var CreateSolutionVersionCommand = class extends import_smithy_client.Command.cl
|
|
|
3052
3188
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3053
3189
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3054
3190
|
];
|
|
3055
|
-
}).s("AmazonPersonalize", "CreateSolutionVersion", {}).n("PersonalizeClient", "CreateSolutionVersionCommand").f(
|
|
3191
|
+
}).s("AmazonPersonalize", "CreateSolutionVersion", {}).n("PersonalizeClient", "CreateSolutionVersionCommand").f(CreateSolutionVersionRequestFilterSensitiveLog, void 0).ser(se_CreateSolutionVersionCommand).de(de_CreateSolutionVersionCommand).build() {
|
|
3056
3192
|
static {
|
|
3057
3193
|
__name(this, "CreateSolutionVersionCommand");
|
|
3058
3194
|
}
|
|
@@ -3742,7 +3878,7 @@ var ListTagsForResourceCommand = class extends import_smithy_client.Command.clas
|
|
|
3742
3878
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3743
3879
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3744
3880
|
];
|
|
3745
|
-
}).s("AmazonPersonalize", "ListTagsForResource", {}).n("PersonalizeClient", "ListTagsForResourceCommand").f(void 0,
|
|
3881
|
+
}).s("AmazonPersonalize", "ListTagsForResource", {}).n("PersonalizeClient", "ListTagsForResourceCommand").f(void 0, ListTagsForResourceResponseFilterSensitiveLog).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
3746
3882
|
static {
|
|
3747
3883
|
__name(this, "ListTagsForResourceCommand");
|
|
3748
3884
|
}
|
|
@@ -3802,7 +3938,7 @@ var TagResourceCommand = class extends import_smithy_client.Command.classBuilder
|
|
|
3802
3938
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3803
3939
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3804
3940
|
];
|
|
3805
|
-
}).s("AmazonPersonalize", "TagResource", {}).n("PersonalizeClient", "TagResourceCommand").f(
|
|
3941
|
+
}).s("AmazonPersonalize", "TagResource", {}).n("PersonalizeClient", "TagResourceCommand").f(TagResourceRequestFilterSensitiveLog, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
3806
3942
|
static {
|
|
3807
3943
|
__name(this, "TagResourceCommand");
|
|
3808
3944
|
}
|
|
@@ -3817,7 +3953,7 @@ var UntagResourceCommand = class extends import_smithy_client.Command.classBuild
|
|
|
3817
3953
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3818
3954
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3819
3955
|
];
|
|
3820
|
-
}).s("AmazonPersonalize", "UntagResource", {}).n("PersonalizeClient", "UntagResourceCommand").f(
|
|
3956
|
+
}).s("AmazonPersonalize", "UntagResource", {}).n("PersonalizeClient", "UntagResourceCommand").f(UntagResourceRequestFilterSensitiveLog, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
3821
3957
|
static {
|
|
3822
3958
|
__name(this, "UntagResourceCommand");
|
|
3823
3959
|
}
|
|
@@ -4153,8 +4289,24 @@ var paginateListSolutions = (0, import_core.createPaginator)(PersonalizeClient,
|
|
|
4153
4289
|
InvalidNextTokenException,
|
|
4154
4290
|
RecipeProvider,
|
|
4155
4291
|
TooManyTagKeysException,
|
|
4292
|
+
TagFilterSensitiveLog,
|
|
4293
|
+
CreateBatchInferenceJobRequestFilterSensitiveLog,
|
|
4294
|
+
CreateBatchSegmentJobRequestFilterSensitiveLog,
|
|
4295
|
+
CreateCampaignRequestFilterSensitiveLog,
|
|
4296
|
+
CreateDataDeletionJobRequestFilterSensitiveLog,
|
|
4297
|
+
CreateDatasetRequestFilterSensitiveLog,
|
|
4298
|
+
CreateDatasetExportJobRequestFilterSensitiveLog,
|
|
4299
|
+
CreateDatasetGroupRequestFilterSensitiveLog,
|
|
4300
|
+
CreateDatasetImportJobRequestFilterSensitiveLog,
|
|
4301
|
+
CreateEventTrackerRequestFilterSensitiveLog,
|
|
4156
4302
|
CreateFilterRequestFilterSensitiveLog,
|
|
4303
|
+
CreateRecommenderRequestFilterSensitiveLog,
|
|
4304
|
+
CreateSolutionRequestFilterSensitiveLog,
|
|
4305
|
+
CreateSolutionVersionRequestFilterSensitiveLog,
|
|
4157
4306
|
FilterFilterSensitiveLog,
|
|
4158
|
-
DescribeFilterResponseFilterSensitiveLog
|
|
4307
|
+
DescribeFilterResponseFilterSensitiveLog,
|
|
4308
|
+
ListTagsForResourceResponseFilterSensitiveLog,
|
|
4309
|
+
TagResourceRequestFilterSensitiveLog,
|
|
4310
|
+
UntagResourceRequestFilterSensitiveLog
|
|
4159
4311
|
});
|
|
4160
4312
|
|
|
@@ -2,6 +2,7 @@ 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
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { CreateBatchInferenceJobRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_CreateBatchInferenceJobCommand, se_CreateBatchInferenceJobCommand } from "../protocols/Aws_json1_1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class CreateBatchInferenceJobCommand extends $Command
|
|
@@ -15,7 +16,7 @@ export class CreateBatchInferenceJobCommand extends $Command
|
|
|
15
16
|
})
|
|
16
17
|
.s("AmazonPersonalize", "CreateBatchInferenceJob", {})
|
|
17
18
|
.n("PersonalizeClient", "CreateBatchInferenceJobCommand")
|
|
18
|
-
.f(
|
|
19
|
+
.f(CreateBatchInferenceJobRequestFilterSensitiveLog, void 0)
|
|
19
20
|
.ser(se_CreateBatchInferenceJobCommand)
|
|
20
21
|
.de(de_CreateBatchInferenceJobCommand)
|
|
21
22
|
.build() {
|
|
@@ -2,6 +2,7 @@ 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
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { CreateBatchSegmentJobRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_CreateBatchSegmentJobCommand, se_CreateBatchSegmentJobCommand } from "../protocols/Aws_json1_1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class CreateBatchSegmentJobCommand extends $Command
|
|
@@ -15,7 +16,7 @@ export class CreateBatchSegmentJobCommand extends $Command
|
|
|
15
16
|
})
|
|
16
17
|
.s("AmazonPersonalize", "CreateBatchSegmentJob", {})
|
|
17
18
|
.n("PersonalizeClient", "CreateBatchSegmentJobCommand")
|
|
18
|
-
.f(
|
|
19
|
+
.f(CreateBatchSegmentJobRequestFilterSensitiveLog, void 0)
|
|
19
20
|
.ser(se_CreateBatchSegmentJobCommand)
|
|
20
21
|
.de(de_CreateBatchSegmentJobCommand)
|
|
21
22
|
.build() {
|
|
@@ -2,6 +2,7 @@ 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
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { CreateCampaignRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_CreateCampaignCommand, se_CreateCampaignCommand } from "../protocols/Aws_json1_1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class CreateCampaignCommand extends $Command
|
|
@@ -15,7 +16,7 @@ export class CreateCampaignCommand extends $Command
|
|
|
15
16
|
})
|
|
16
17
|
.s("AmazonPersonalize", "CreateCampaign", {})
|
|
17
18
|
.n("PersonalizeClient", "CreateCampaignCommand")
|
|
18
|
-
.f(
|
|
19
|
+
.f(CreateCampaignRequestFilterSensitiveLog, void 0)
|
|
19
20
|
.ser(se_CreateCampaignCommand)
|
|
20
21
|
.de(de_CreateCampaignCommand)
|
|
21
22
|
.build() {
|
|
@@ -2,6 +2,7 @@ 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
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { CreateDataDeletionJobRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_CreateDataDeletionJobCommand, se_CreateDataDeletionJobCommand } from "../protocols/Aws_json1_1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class CreateDataDeletionJobCommand extends $Command
|
|
@@ -15,7 +16,7 @@ export class CreateDataDeletionJobCommand extends $Command
|
|
|
15
16
|
})
|
|
16
17
|
.s("AmazonPersonalize", "CreateDataDeletionJob", {})
|
|
17
18
|
.n("PersonalizeClient", "CreateDataDeletionJobCommand")
|
|
18
|
-
.f(
|
|
19
|
+
.f(CreateDataDeletionJobRequestFilterSensitiveLog, void 0)
|
|
19
20
|
.ser(se_CreateDataDeletionJobCommand)
|
|
20
21
|
.de(de_CreateDataDeletionJobCommand)
|
|
21
22
|
.build() {
|
|
@@ -2,6 +2,7 @@ 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
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { CreateDatasetRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_CreateDatasetCommand, se_CreateDatasetCommand } from "../protocols/Aws_json1_1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class CreateDatasetCommand extends $Command
|
|
@@ -15,7 +16,7 @@ export class CreateDatasetCommand extends $Command
|
|
|
15
16
|
})
|
|
16
17
|
.s("AmazonPersonalize", "CreateDataset", {})
|
|
17
18
|
.n("PersonalizeClient", "CreateDatasetCommand")
|
|
18
|
-
.f(
|
|
19
|
+
.f(CreateDatasetRequestFilterSensitiveLog, void 0)
|
|
19
20
|
.ser(se_CreateDatasetCommand)
|
|
20
21
|
.de(de_CreateDatasetCommand)
|
|
21
22
|
.build() {
|
|
@@ -2,6 +2,7 @@ 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
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { CreateDatasetExportJobRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_CreateDatasetExportJobCommand, se_CreateDatasetExportJobCommand } from "../protocols/Aws_json1_1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class CreateDatasetExportJobCommand extends $Command
|
|
@@ -15,7 +16,7 @@ export class CreateDatasetExportJobCommand extends $Command
|
|
|
15
16
|
})
|
|
16
17
|
.s("AmazonPersonalize", "CreateDatasetExportJob", {})
|
|
17
18
|
.n("PersonalizeClient", "CreateDatasetExportJobCommand")
|
|
18
|
-
.f(
|
|
19
|
+
.f(CreateDatasetExportJobRequestFilterSensitiveLog, void 0)
|
|
19
20
|
.ser(se_CreateDatasetExportJobCommand)
|
|
20
21
|
.de(de_CreateDatasetExportJobCommand)
|
|
21
22
|
.build() {
|
|
@@ -2,6 +2,7 @@ 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
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { CreateDatasetGroupRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_CreateDatasetGroupCommand, se_CreateDatasetGroupCommand } from "../protocols/Aws_json1_1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class CreateDatasetGroupCommand extends $Command
|
|
@@ -15,7 +16,7 @@ export class CreateDatasetGroupCommand extends $Command
|
|
|
15
16
|
})
|
|
16
17
|
.s("AmazonPersonalize", "CreateDatasetGroup", {})
|
|
17
18
|
.n("PersonalizeClient", "CreateDatasetGroupCommand")
|
|
18
|
-
.f(
|
|
19
|
+
.f(CreateDatasetGroupRequestFilterSensitiveLog, void 0)
|
|
19
20
|
.ser(se_CreateDatasetGroupCommand)
|
|
20
21
|
.de(de_CreateDatasetGroupCommand)
|
|
21
22
|
.build() {
|
|
@@ -2,6 +2,7 @@ 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
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { CreateDatasetImportJobRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_CreateDatasetImportJobCommand, se_CreateDatasetImportJobCommand } from "../protocols/Aws_json1_1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class CreateDatasetImportJobCommand extends $Command
|
|
@@ -15,7 +16,7 @@ export class CreateDatasetImportJobCommand extends $Command
|
|
|
15
16
|
})
|
|
16
17
|
.s("AmazonPersonalize", "CreateDatasetImportJob", {})
|
|
17
18
|
.n("PersonalizeClient", "CreateDatasetImportJobCommand")
|
|
18
|
-
.f(
|
|
19
|
+
.f(CreateDatasetImportJobRequestFilterSensitiveLog, void 0)
|
|
19
20
|
.ser(se_CreateDatasetImportJobCommand)
|
|
20
21
|
.de(de_CreateDatasetImportJobCommand)
|
|
21
22
|
.build() {
|
|
@@ -2,6 +2,7 @@ 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
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { CreateEventTrackerRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_CreateEventTrackerCommand, se_CreateEventTrackerCommand } from "../protocols/Aws_json1_1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class CreateEventTrackerCommand extends $Command
|
|
@@ -15,7 +16,7 @@ export class CreateEventTrackerCommand extends $Command
|
|
|
15
16
|
})
|
|
16
17
|
.s("AmazonPersonalize", "CreateEventTracker", {})
|
|
17
18
|
.n("PersonalizeClient", "CreateEventTrackerCommand")
|
|
18
|
-
.f(
|
|
19
|
+
.f(CreateEventTrackerRequestFilterSensitiveLog, void 0)
|
|
19
20
|
.ser(se_CreateEventTrackerCommand)
|
|
20
21
|
.de(de_CreateEventTrackerCommand)
|
|
21
22
|
.build() {
|
|
@@ -2,6 +2,7 @@ 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
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { CreateRecommenderRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_CreateRecommenderCommand, se_CreateRecommenderCommand } from "../protocols/Aws_json1_1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class CreateRecommenderCommand extends $Command
|
|
@@ -15,7 +16,7 @@ export class CreateRecommenderCommand extends $Command
|
|
|
15
16
|
})
|
|
16
17
|
.s("AmazonPersonalize", "CreateRecommender", {})
|
|
17
18
|
.n("PersonalizeClient", "CreateRecommenderCommand")
|
|
18
|
-
.f(
|
|
19
|
+
.f(CreateRecommenderRequestFilterSensitiveLog, void 0)
|
|
19
20
|
.ser(se_CreateRecommenderCommand)
|
|
20
21
|
.de(de_CreateRecommenderCommand)
|
|
21
22
|
.build() {
|
|
@@ -2,6 +2,7 @@ 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
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { CreateSolutionRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_CreateSolutionCommand, se_CreateSolutionCommand } from "../protocols/Aws_json1_1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class CreateSolutionCommand extends $Command
|
|
@@ -15,7 +16,7 @@ export class CreateSolutionCommand extends $Command
|
|
|
15
16
|
})
|
|
16
17
|
.s("AmazonPersonalize", "CreateSolution", {})
|
|
17
18
|
.n("PersonalizeClient", "CreateSolutionCommand")
|
|
18
|
-
.f(
|
|
19
|
+
.f(CreateSolutionRequestFilterSensitiveLog, void 0)
|
|
19
20
|
.ser(se_CreateSolutionCommand)
|
|
20
21
|
.de(de_CreateSolutionCommand)
|
|
21
22
|
.build() {
|
|
@@ -2,6 +2,7 @@ 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
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { CreateSolutionVersionRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_CreateSolutionVersionCommand, se_CreateSolutionVersionCommand } from "../protocols/Aws_json1_1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class CreateSolutionVersionCommand extends $Command
|
|
@@ -15,7 +16,7 @@ export class CreateSolutionVersionCommand extends $Command
|
|
|
15
16
|
})
|
|
16
17
|
.s("AmazonPersonalize", "CreateSolutionVersion", {})
|
|
17
18
|
.n("PersonalizeClient", "CreateSolutionVersionCommand")
|
|
18
|
-
.f(
|
|
19
|
+
.f(CreateSolutionVersionRequestFilterSensitiveLog, void 0)
|
|
19
20
|
.ser(se_CreateSolutionVersionCommand)
|
|
20
21
|
.de(de_CreateSolutionVersionCommand)
|
|
21
22
|
.build() {
|
|
@@ -2,6 +2,7 @@ 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
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class ListTagsForResourceCommand extends $Command
|
|
@@ -15,7 +16,7 @@ export class ListTagsForResourceCommand extends $Command
|
|
|
15
16
|
})
|
|
16
17
|
.s("AmazonPersonalize", "ListTagsForResource", {})
|
|
17
18
|
.n("PersonalizeClient", "ListTagsForResourceCommand")
|
|
18
|
-
.f(void 0,
|
|
19
|
+
.f(void 0, ListTagsForResourceResponseFilterSensitiveLog)
|
|
19
20
|
.ser(se_ListTagsForResourceCommand)
|
|
20
21
|
.de(de_ListTagsForResourceCommand)
|
|
21
22
|
.build() {
|
|
@@ -2,6 +2,7 @@ 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
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { TagResourceRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
6
|
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class TagResourceCommand extends $Command
|
|
@@ -15,7 +16,7 @@ export class TagResourceCommand extends $Command
|
|
|
15
16
|
})
|
|
16
17
|
.s("AmazonPersonalize", "TagResource", {})
|
|
17
18
|
.n("PersonalizeClient", "TagResourceCommand")
|
|
18
|
-
.f(
|
|
19
|
+
.f(TagResourceRequestFilterSensitiveLog, void 0)
|
|
19
20
|
.ser(se_TagResourceCommand)
|
|
20
21
|
.de(de_TagResourceCommand)
|
|
21
22
|
.build() {
|
|
@@ -2,6 +2,7 @@ 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
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { UntagResourceRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class UntagResourceCommand extends $Command
|
|
@@ -15,7 +16,7 @@ export class UntagResourceCommand extends $Command
|
|
|
15
16
|
})
|
|
16
17
|
.s("AmazonPersonalize", "UntagResource", {})
|
|
17
18
|
.n("PersonalizeClient", "UntagResourceCommand")
|
|
18
|
-
.f(
|
|
19
|
+
.f(UntagResourceRequestFilterSensitiveLog, void 0)
|
|
19
20
|
.ser(se_UntagResourceCommand)
|
|
20
21
|
.de(de_UntagResourceCommand)
|
|
21
22
|
.build() {
|
|
@@ -131,9 +131,63 @@ export class TooManyTagKeysException extends __BaseException {
|
|
|
131
131
|
Object.setPrototypeOf(this, TooManyTagKeysException.prototype);
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
|
+
export const TagFilterSensitiveLog = (obj) => ({
|
|
135
|
+
...obj,
|
|
136
|
+
...(obj.tagKey && { tagKey: SENSITIVE_STRING }),
|
|
137
|
+
...(obj.tagValue && { tagValue: SENSITIVE_STRING }),
|
|
138
|
+
});
|
|
139
|
+
export const CreateBatchInferenceJobRequestFilterSensitiveLog = (obj) => ({
|
|
140
|
+
...obj,
|
|
141
|
+
...(obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
142
|
+
});
|
|
143
|
+
export const CreateBatchSegmentJobRequestFilterSensitiveLog = (obj) => ({
|
|
144
|
+
...obj,
|
|
145
|
+
...(obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
146
|
+
});
|
|
147
|
+
export const CreateCampaignRequestFilterSensitiveLog = (obj) => ({
|
|
148
|
+
...obj,
|
|
149
|
+
...(obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
150
|
+
});
|
|
151
|
+
export const CreateDataDeletionJobRequestFilterSensitiveLog = (obj) => ({
|
|
152
|
+
...obj,
|
|
153
|
+
...(obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
154
|
+
});
|
|
155
|
+
export const CreateDatasetRequestFilterSensitiveLog = (obj) => ({
|
|
156
|
+
...obj,
|
|
157
|
+
...(obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
158
|
+
});
|
|
159
|
+
export const CreateDatasetExportJobRequestFilterSensitiveLog = (obj) => ({
|
|
160
|
+
...obj,
|
|
161
|
+
...(obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
162
|
+
});
|
|
163
|
+
export const CreateDatasetGroupRequestFilterSensitiveLog = (obj) => ({
|
|
164
|
+
...obj,
|
|
165
|
+
...(obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
166
|
+
});
|
|
167
|
+
export const CreateDatasetImportJobRequestFilterSensitiveLog = (obj) => ({
|
|
168
|
+
...obj,
|
|
169
|
+
...(obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
170
|
+
});
|
|
171
|
+
export const CreateEventTrackerRequestFilterSensitiveLog = (obj) => ({
|
|
172
|
+
...obj,
|
|
173
|
+
...(obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
174
|
+
});
|
|
134
175
|
export const CreateFilterRequestFilterSensitiveLog = (obj) => ({
|
|
135
176
|
...obj,
|
|
136
177
|
...(obj.filterExpression && { filterExpression: SENSITIVE_STRING }),
|
|
178
|
+
...(obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
179
|
+
});
|
|
180
|
+
export const CreateRecommenderRequestFilterSensitiveLog = (obj) => ({
|
|
181
|
+
...obj,
|
|
182
|
+
...(obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
183
|
+
});
|
|
184
|
+
export const CreateSolutionRequestFilterSensitiveLog = (obj) => ({
|
|
185
|
+
...obj,
|
|
186
|
+
...(obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
187
|
+
});
|
|
188
|
+
export const CreateSolutionVersionRequestFilterSensitiveLog = (obj) => ({
|
|
189
|
+
...obj,
|
|
190
|
+
...(obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
137
191
|
});
|
|
138
192
|
export const FilterFilterSensitiveLog = (obj) => ({
|
|
139
193
|
...obj,
|
|
@@ -143,3 +197,15 @@ export const DescribeFilterResponseFilterSensitiveLog = (obj) => ({
|
|
|
143
197
|
...obj,
|
|
144
198
|
...(obj.filter && { filter: FilterFilterSensitiveLog(obj.filter) }),
|
|
145
199
|
});
|
|
200
|
+
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
201
|
+
...obj,
|
|
202
|
+
...(obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
203
|
+
});
|
|
204
|
+
export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
205
|
+
...obj,
|
|
206
|
+
...(obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
207
|
+
});
|
|
208
|
+
export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
209
|
+
...obj,
|
|
210
|
+
...(obj.tagKeys && { tagKeys: SENSITIVE_STRING }),
|
|
211
|
+
});
|
|
@@ -426,7 +426,7 @@ export const se_UpdateRecommenderCommand = async (input, context) => {
|
|
|
426
426
|
export const se_UpdateSolutionCommand = async (input, context) => {
|
|
427
427
|
const headers = sharedHeaders("UpdateSolution");
|
|
428
428
|
let body;
|
|
429
|
-
body = JSON.stringify(
|
|
429
|
+
body = JSON.stringify(se_UpdateSolutionRequest(input, context));
|
|
430
430
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
431
431
|
};
|
|
432
432
|
export const de_CreateBatchInferenceJobCommand = async (output, context) => {
|
|
@@ -1461,6 +1461,25 @@ const se_CreateSolutionRequest = (input, context) => {
|
|
|
1461
1461
|
tags: _json,
|
|
1462
1462
|
});
|
|
1463
1463
|
};
|
|
1464
|
+
const se_EventParameters = (input, context) => {
|
|
1465
|
+
return take(input, {
|
|
1466
|
+
eventType: [],
|
|
1467
|
+
eventValueThreshold: __serializeFloat,
|
|
1468
|
+
weight: __serializeFloat,
|
|
1469
|
+
});
|
|
1470
|
+
};
|
|
1471
|
+
const se_EventParametersList = (input, context) => {
|
|
1472
|
+
return input
|
|
1473
|
+
.filter((e) => e != null)
|
|
1474
|
+
.map((entry) => {
|
|
1475
|
+
return se_EventParameters(entry, context);
|
|
1476
|
+
});
|
|
1477
|
+
};
|
|
1478
|
+
const se_EventsConfig = (input, context) => {
|
|
1479
|
+
return take(input, {
|
|
1480
|
+
eventParametersList: (_) => se_EventParametersList(_, context),
|
|
1481
|
+
});
|
|
1482
|
+
};
|
|
1464
1483
|
const se_HPOConfig = (input, context) => {
|
|
1465
1484
|
return take(input, {
|
|
1466
1485
|
algorithmHyperParameterRanges: (_) => se_HyperParameterRanges(_, context),
|
|
@@ -1481,12 +1500,26 @@ const se_SolutionConfig = (input, context) => {
|
|
|
1481
1500
|
autoMLConfig: _json,
|
|
1482
1501
|
autoTrainingConfig: _json,
|
|
1483
1502
|
eventValueThreshold: [],
|
|
1503
|
+
eventsConfig: (_) => se_EventsConfig(_, context),
|
|
1484
1504
|
featureTransformationParameters: _json,
|
|
1485
1505
|
hpoConfig: (_) => se_HPOConfig(_, context),
|
|
1486
1506
|
optimizationObjective: _json,
|
|
1487
1507
|
trainingDataConfig: _json,
|
|
1488
1508
|
});
|
|
1489
1509
|
};
|
|
1510
|
+
const se_SolutionUpdateConfig = (input, context) => {
|
|
1511
|
+
return take(input, {
|
|
1512
|
+
autoTrainingConfig: _json,
|
|
1513
|
+
eventsConfig: (_) => se_EventsConfig(_, context),
|
|
1514
|
+
});
|
|
1515
|
+
};
|
|
1516
|
+
const se_UpdateSolutionRequest = (input, context) => {
|
|
1517
|
+
return take(input, {
|
|
1518
|
+
performAutoTraining: [],
|
|
1519
|
+
solutionArn: [],
|
|
1520
|
+
solutionUpdateConfig: (_) => se_SolutionUpdateConfig(_, context),
|
|
1521
|
+
});
|
|
1522
|
+
};
|
|
1490
1523
|
const de_Algorithm = (output, context) => {
|
|
1491
1524
|
return take(output, {
|
|
1492
1525
|
algorithmArn: __expectString,
|
|
@@ -1937,6 +1970,26 @@ const de_DescribeSolutionVersionResponse = (output, context) => {
|
|
|
1937
1970
|
solutionVersion: (_) => de_SolutionVersion(_, context),
|
|
1938
1971
|
});
|
|
1939
1972
|
};
|
|
1973
|
+
const de_EventParameters = (output, context) => {
|
|
1974
|
+
return take(output, {
|
|
1975
|
+
eventType: __expectString,
|
|
1976
|
+
eventValueThreshold: __limitedParseDouble,
|
|
1977
|
+
weight: __limitedParseDouble,
|
|
1978
|
+
});
|
|
1979
|
+
};
|
|
1980
|
+
const de_EventParametersList = (output, context) => {
|
|
1981
|
+
const retVal = (output || [])
|
|
1982
|
+
.filter((e) => e != null)
|
|
1983
|
+
.map((entry) => {
|
|
1984
|
+
return de_EventParameters(entry, context);
|
|
1985
|
+
});
|
|
1986
|
+
return retVal;
|
|
1987
|
+
};
|
|
1988
|
+
const de_EventsConfig = (output, context) => {
|
|
1989
|
+
return take(output, {
|
|
1990
|
+
eventParametersList: (_) => de_EventParametersList(_, context),
|
|
1991
|
+
});
|
|
1992
|
+
};
|
|
1940
1993
|
const de_EventTracker = (output, context) => {
|
|
1941
1994
|
return take(output, {
|
|
1942
1995
|
accountId: __expectString,
|
|
@@ -2270,6 +2323,7 @@ const de_SolutionConfig = (output, context) => {
|
|
|
2270
2323
|
autoMLConfig: _json,
|
|
2271
2324
|
autoTrainingConfig: _json,
|
|
2272
2325
|
eventValueThreshold: __expectString,
|
|
2326
|
+
eventsConfig: (_) => de_EventsConfig(_, context),
|
|
2273
2327
|
featureTransformationParameters: _json,
|
|
2274
2328
|
hpoConfig: (_) => de_HPOConfig(_, context),
|
|
2275
2329
|
optimizationObjective: _json,
|
|
@@ -2294,13 +2348,19 @@ const de_SolutionSummary = (output, context) => {
|
|
|
2294
2348
|
status: __expectString,
|
|
2295
2349
|
});
|
|
2296
2350
|
};
|
|
2351
|
+
const de_SolutionUpdateConfig = (output, context) => {
|
|
2352
|
+
return take(output, {
|
|
2353
|
+
autoTrainingConfig: _json,
|
|
2354
|
+
eventsConfig: (_) => de_EventsConfig(_, context),
|
|
2355
|
+
});
|
|
2356
|
+
};
|
|
2297
2357
|
const de_SolutionUpdateSummary = (output, context) => {
|
|
2298
2358
|
return take(output, {
|
|
2299
2359
|
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2300
2360
|
failureReason: __expectString,
|
|
2301
2361
|
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2302
2362
|
performAutoTraining: __expectBoolean,
|
|
2303
|
-
solutionUpdateConfig:
|
|
2363
|
+
solutionUpdateConfig: (_) => de_SolutionUpdateConfig(_, context),
|
|
2304
2364
|
status: __expectString,
|
|
2305
2365
|
});
|
|
2306
2366
|
};
|
|
@@ -178,6 +178,15 @@ declare const CreateSolutionCommand_base: {
|
|
|
178
178
|
* "STRING_VALUE",
|
|
179
179
|
* ],
|
|
180
180
|
* },
|
|
181
|
+
* eventsConfig: { // EventsConfig
|
|
182
|
+
* eventParametersList: [ // EventParametersList
|
|
183
|
+
* { // EventParameters
|
|
184
|
+
* eventType: "STRING_VALUE",
|
|
185
|
+
* eventValueThreshold: Number("double"),
|
|
186
|
+
* weight: Number("double"),
|
|
187
|
+
* },
|
|
188
|
+
* ],
|
|
189
|
+
* },
|
|
181
190
|
* optimizationObjective: { // OptimizationObjective
|
|
182
191
|
* itemAttribute: "STRING_VALUE",
|
|
183
192
|
* objectiveSensitivity: "LOW" || "MEDIUM" || "HIGH" || "OFF",
|
|
@@ -29,8 +29,9 @@ declare const DeleteDatasetCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Deletes a dataset. You can't delete a dataset if an associated
|
|
31
31
|
* <code>DatasetImportJob</code> or <code>SolutionVersion</code> is in the
|
|
32
|
-
* CREATE PENDING or IN PROGRESS state. For more information
|
|
33
|
-
*
|
|
32
|
+
* CREATE PENDING or IN PROGRESS state. For more information about deleting datasets,
|
|
33
|
+
* see <a href="https://docs.aws.amazon.com/personalize/latest/dg/delete-dataset.html">Deleting a dataset</a>.
|
|
34
|
+
* </p>
|
|
34
35
|
* @example
|
|
35
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
37
|
* ```javascript
|
|
@@ -99,6 +99,15 @@ declare const DescribeSolutionCommand_base: {
|
|
|
99
99
|
* // "STRING_VALUE",
|
|
100
100
|
* // ],
|
|
101
101
|
* // },
|
|
102
|
+
* // eventsConfig: { // EventsConfig
|
|
103
|
+
* // eventParametersList: [ // EventParametersList
|
|
104
|
+
* // { // EventParameters
|
|
105
|
+
* // eventType: "STRING_VALUE",
|
|
106
|
+
* // eventValueThreshold: Number("double"),
|
|
107
|
+
* // weight: Number("double"),
|
|
108
|
+
* // },
|
|
109
|
+
* // ],
|
|
110
|
+
* // },
|
|
102
111
|
* // optimizationObjective: { // OptimizationObjective
|
|
103
112
|
* // itemAttribute: "STRING_VALUE",
|
|
104
113
|
* // objectiveSensitivity: "LOW" || "MEDIUM" || "HIGH" || "OFF",
|
|
@@ -134,6 +143,15 @@ declare const DescribeSolutionCommand_base: {
|
|
|
134
143
|
* // autoTrainingConfig: {
|
|
135
144
|
* // schedulingExpression: "STRING_VALUE",
|
|
136
145
|
* // },
|
|
146
|
+
* // eventsConfig: {
|
|
147
|
+
* // eventParametersList: [
|
|
148
|
+
* // {
|
|
149
|
+
* // eventType: "STRING_VALUE",
|
|
150
|
+
* // eventValueThreshold: Number("double"),
|
|
151
|
+
* // weight: Number("double"),
|
|
152
|
+
* // },
|
|
153
|
+
* // ],
|
|
154
|
+
* // },
|
|
137
155
|
* // },
|
|
138
156
|
* // status: "STRING_VALUE",
|
|
139
157
|
* // performAutoTraining: true || false,
|
|
@@ -99,6 +99,15 @@ declare const DescribeSolutionVersionCommand_base: {
|
|
|
99
99
|
* // "STRING_VALUE",
|
|
100
100
|
* // ],
|
|
101
101
|
* // },
|
|
102
|
+
* // eventsConfig: { // EventsConfig
|
|
103
|
+
* // eventParametersList: [ // EventParametersList
|
|
104
|
+
* // { // EventParameters
|
|
105
|
+
* // eventType: "STRING_VALUE",
|
|
106
|
+
* // eventValueThreshold: Number("double"),
|
|
107
|
+
* // weight: Number("double"),
|
|
108
|
+
* // },
|
|
109
|
+
* // ],
|
|
110
|
+
* // },
|
|
102
111
|
* // optimizationObjective: { // OptimizationObjective
|
|
103
112
|
* // itemAttribute: "STRING_VALUE",
|
|
104
113
|
* // objectiveSensitivity: "LOW" || "MEDIUM" || "HIGH" || "OFF",
|
|
@@ -50,6 +50,15 @@ declare const UpdateSolutionCommand_base: {
|
|
|
50
50
|
* autoTrainingConfig: { // AutoTrainingConfig
|
|
51
51
|
* schedulingExpression: "STRING_VALUE",
|
|
52
52
|
* },
|
|
53
|
+
* eventsConfig: { // EventsConfig
|
|
54
|
+
* eventParametersList: [ // EventParametersList
|
|
55
|
+
* { // EventParameters
|
|
56
|
+
* eventType: "STRING_VALUE",
|
|
57
|
+
* eventValueThreshold: Number("double"),
|
|
58
|
+
* weight: Number("double"),
|
|
59
|
+
* },
|
|
60
|
+
* ],
|
|
61
|
+
* },
|
|
53
62
|
* },
|
|
54
63
|
* };
|
|
55
64
|
* const command = new UpdateSolutionCommand(input);
|
|
@@ -1255,6 +1255,38 @@ export interface AutoTrainingConfig {
|
|
|
1255
1255
|
*/
|
|
1256
1256
|
schedulingExpression?: string | undefined;
|
|
1257
1257
|
}
|
|
1258
|
+
/**
|
|
1259
|
+
* <p>Describes the parameters of events, which are used in solution creation.</p>
|
|
1260
|
+
* @public
|
|
1261
|
+
*/
|
|
1262
|
+
export interface EventParameters {
|
|
1263
|
+
/**
|
|
1264
|
+
* <p>The name of the event type to be considered for solution creation.</p>
|
|
1265
|
+
* @public
|
|
1266
|
+
*/
|
|
1267
|
+
eventType?: string | undefined;
|
|
1268
|
+
/**
|
|
1269
|
+
* <p>The threshold of the event type. Only events with a value greater or equal to this threshold will be considered for solution creation.</p>
|
|
1270
|
+
* @public
|
|
1271
|
+
*/
|
|
1272
|
+
eventValueThreshold?: number | undefined;
|
|
1273
|
+
/**
|
|
1274
|
+
* <p>The weight of the event type. A higher weight means higher importance of the event type for the created solution.</p>
|
|
1275
|
+
* @public
|
|
1276
|
+
*/
|
|
1277
|
+
weight?: number | undefined;
|
|
1278
|
+
}
|
|
1279
|
+
/**
|
|
1280
|
+
* <p>Describes the configuration of events, which are used in solution creation.</p>
|
|
1281
|
+
* @public
|
|
1282
|
+
*/
|
|
1283
|
+
export interface EventsConfig {
|
|
1284
|
+
/**
|
|
1285
|
+
* <p>A list of event parameters, which includes event types and their event value thresholds and weights.</p>
|
|
1286
|
+
* @public
|
|
1287
|
+
*/
|
|
1288
|
+
eventParametersList?: EventParameters[] | undefined;
|
|
1289
|
+
}
|
|
1258
1290
|
/**
|
|
1259
1291
|
* <p>Provides the name and range of a categorical hyperparameter.</p>
|
|
1260
1292
|
* @public
|
|
@@ -1474,6 +1506,11 @@ export interface SolutionConfig {
|
|
|
1474
1506
|
* @public
|
|
1475
1507
|
*/
|
|
1476
1508
|
autoMLConfig?: AutoMLConfig | undefined;
|
|
1509
|
+
/**
|
|
1510
|
+
* <p>Describes the configuration of an event, which includes a list of event parameters. You can specify up to 10 event parameters. Events are used in solution creation.</p>
|
|
1511
|
+
* @public
|
|
1512
|
+
*/
|
|
1513
|
+
eventsConfig?: EventsConfig | undefined;
|
|
1477
1514
|
/**
|
|
1478
1515
|
* <p>Describes the additional objective for the solution, such as maximizing streaming
|
|
1479
1516
|
* minutes or increasing revenue. For more information see <a href="https://docs.aws.amazon.com/personalize/latest/dg/optimizing-solution-for-objective.html">Optimizing a solution</a>.</p>
|
|
@@ -3274,6 +3311,11 @@ export interface SolutionUpdateConfig {
|
|
|
3274
3311
|
* @public
|
|
3275
3312
|
*/
|
|
3276
3313
|
autoTrainingConfig?: AutoTrainingConfig | undefined;
|
|
3314
|
+
/**
|
|
3315
|
+
* <p>Describes the configuration of an event, which includes a list of event parameters. You can specify up to 10 event parameters. Events are used in solution creation.</p>
|
|
3316
|
+
* @public
|
|
3317
|
+
*/
|
|
3318
|
+
eventsConfig?: EventsConfig | undefined;
|
|
3277
3319
|
}
|
|
3278
3320
|
/**
|
|
3279
3321
|
* <p>Provides a summary of the properties of a solution update. For a complete listing, call the
|
|
@@ -5343,10 +5385,62 @@ export interface UpdateSolutionResponse {
|
|
|
5343
5385
|
*/
|
|
5344
5386
|
solutionArn?: string | undefined;
|
|
5345
5387
|
}
|
|
5388
|
+
/**
|
|
5389
|
+
* @internal
|
|
5390
|
+
*/
|
|
5391
|
+
export declare const TagFilterSensitiveLog: (obj: Tag) => any;
|
|
5392
|
+
/**
|
|
5393
|
+
* @internal
|
|
5394
|
+
*/
|
|
5395
|
+
export declare const CreateBatchInferenceJobRequestFilterSensitiveLog: (obj: CreateBatchInferenceJobRequest) => any;
|
|
5396
|
+
/**
|
|
5397
|
+
* @internal
|
|
5398
|
+
*/
|
|
5399
|
+
export declare const CreateBatchSegmentJobRequestFilterSensitiveLog: (obj: CreateBatchSegmentJobRequest) => any;
|
|
5400
|
+
/**
|
|
5401
|
+
* @internal
|
|
5402
|
+
*/
|
|
5403
|
+
export declare const CreateCampaignRequestFilterSensitiveLog: (obj: CreateCampaignRequest) => any;
|
|
5404
|
+
/**
|
|
5405
|
+
* @internal
|
|
5406
|
+
*/
|
|
5407
|
+
export declare const CreateDataDeletionJobRequestFilterSensitiveLog: (obj: CreateDataDeletionJobRequest) => any;
|
|
5408
|
+
/**
|
|
5409
|
+
* @internal
|
|
5410
|
+
*/
|
|
5411
|
+
export declare const CreateDatasetRequestFilterSensitiveLog: (obj: CreateDatasetRequest) => any;
|
|
5412
|
+
/**
|
|
5413
|
+
* @internal
|
|
5414
|
+
*/
|
|
5415
|
+
export declare const CreateDatasetExportJobRequestFilterSensitiveLog: (obj: CreateDatasetExportJobRequest) => any;
|
|
5416
|
+
/**
|
|
5417
|
+
* @internal
|
|
5418
|
+
*/
|
|
5419
|
+
export declare const CreateDatasetGroupRequestFilterSensitiveLog: (obj: CreateDatasetGroupRequest) => any;
|
|
5420
|
+
/**
|
|
5421
|
+
* @internal
|
|
5422
|
+
*/
|
|
5423
|
+
export declare const CreateDatasetImportJobRequestFilterSensitiveLog: (obj: CreateDatasetImportJobRequest) => any;
|
|
5424
|
+
/**
|
|
5425
|
+
* @internal
|
|
5426
|
+
*/
|
|
5427
|
+
export declare const CreateEventTrackerRequestFilterSensitiveLog: (obj: CreateEventTrackerRequest) => any;
|
|
5346
5428
|
/**
|
|
5347
5429
|
* @internal
|
|
5348
5430
|
*/
|
|
5349
5431
|
export declare const CreateFilterRequestFilterSensitiveLog: (obj: CreateFilterRequest) => any;
|
|
5432
|
+
/**
|
|
5433
|
+
* @internal
|
|
5434
|
+
*/
|
|
5435
|
+
export declare const CreateRecommenderRequestFilterSensitiveLog: (obj: CreateRecommenderRequest) => any;
|
|
5436
|
+
/**
|
|
5437
|
+
* @internal
|
|
5438
|
+
*/
|
|
5439
|
+
export declare const CreateSolutionRequestFilterSensitiveLog: (obj: CreateSolutionRequest) => any;
|
|
5440
|
+
/**
|
|
5441
|
+
* @internal
|
|
5442
|
+
*/
|
|
5443
|
+
export declare const CreateSolutionVersionRequestFilterSensitiveLog: (obj: CreateSolutionVersionRequest) => any;
|
|
5350
5444
|
/**
|
|
5351
5445
|
* @internal
|
|
5352
5446
|
*/
|
|
@@ -5355,3 +5449,15 @@ export declare const FilterFilterSensitiveLog: (obj: Filter) => any;
|
|
|
5355
5449
|
* @internal
|
|
5356
5450
|
*/
|
|
5357
5451
|
export declare const DescribeFilterResponseFilterSensitiveLog: (obj: DescribeFilterResponse) => any;
|
|
5452
|
+
/**
|
|
5453
|
+
* @internal
|
|
5454
|
+
*/
|
|
5455
|
+
export declare const ListTagsForResourceResponseFilterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
|
|
5456
|
+
/**
|
|
5457
|
+
* @internal
|
|
5458
|
+
*/
|
|
5459
|
+
export declare const TagResourceRequestFilterSensitiveLog: (obj: TagResourceRequest) => any;
|
|
5460
|
+
/**
|
|
5461
|
+
* @internal
|
|
5462
|
+
*/
|
|
5463
|
+
export declare const UntagResourceRequestFilterSensitiveLog: (obj: UntagResourceRequest) => any;
|
|
@@ -309,6 +309,14 @@ export interface AutoMLConfig {
|
|
|
309
309
|
export interface AutoTrainingConfig {
|
|
310
310
|
schedulingExpression?: string | undefined;
|
|
311
311
|
}
|
|
312
|
+
export interface EventParameters {
|
|
313
|
+
eventType?: string | undefined;
|
|
314
|
+
eventValueThreshold?: number | undefined;
|
|
315
|
+
weight?: number | undefined;
|
|
316
|
+
}
|
|
317
|
+
export interface EventsConfig {
|
|
318
|
+
eventParametersList?: EventParameters[] | undefined;
|
|
319
|
+
}
|
|
312
320
|
export interface CategoricalHyperParameterRange {
|
|
313
321
|
name?: string | undefined;
|
|
314
322
|
values?: string[] | undefined;
|
|
@@ -362,6 +370,7 @@ export interface SolutionConfig {
|
|
|
362
370
|
algorithmHyperParameters?: Record<string, string> | undefined;
|
|
363
371
|
featureTransformationParameters?: Record<string, string> | undefined;
|
|
364
372
|
autoMLConfig?: AutoMLConfig | undefined;
|
|
373
|
+
eventsConfig?: EventsConfig | undefined;
|
|
365
374
|
optimizationObjective?: OptimizationObjective | undefined;
|
|
366
375
|
trainingDataConfig?: TrainingDataConfig | undefined;
|
|
367
376
|
autoTrainingConfig?: AutoTrainingConfig | undefined;
|
|
@@ -722,6 +731,7 @@ export interface AutoMLResult {
|
|
|
722
731
|
}
|
|
723
732
|
export interface SolutionUpdateConfig {
|
|
724
733
|
autoTrainingConfig?: AutoTrainingConfig | undefined;
|
|
734
|
+
eventsConfig?: EventsConfig | undefined;
|
|
725
735
|
}
|
|
726
736
|
export interface SolutionUpdateSummary {
|
|
727
737
|
solutionUpdateConfig?: SolutionUpdateConfig | undefined;
|
|
@@ -1169,10 +1179,56 @@ export interface UpdateSolutionRequest {
|
|
|
1169
1179
|
export interface UpdateSolutionResponse {
|
|
1170
1180
|
solutionArn?: string | undefined;
|
|
1171
1181
|
}
|
|
1182
|
+
export declare const TagFilterSensitiveLog: (obj: Tag) => any;
|
|
1183
|
+
export declare const CreateBatchInferenceJobRequestFilterSensitiveLog: (
|
|
1184
|
+
obj: CreateBatchInferenceJobRequest
|
|
1185
|
+
) => any;
|
|
1186
|
+
export declare const CreateBatchSegmentJobRequestFilterSensitiveLog: (
|
|
1187
|
+
obj: CreateBatchSegmentJobRequest
|
|
1188
|
+
) => any;
|
|
1189
|
+
export declare const CreateCampaignRequestFilterSensitiveLog: (
|
|
1190
|
+
obj: CreateCampaignRequest
|
|
1191
|
+
) => any;
|
|
1192
|
+
export declare const CreateDataDeletionJobRequestFilterSensitiveLog: (
|
|
1193
|
+
obj: CreateDataDeletionJobRequest
|
|
1194
|
+
) => any;
|
|
1195
|
+
export declare const CreateDatasetRequestFilterSensitiveLog: (
|
|
1196
|
+
obj: CreateDatasetRequest
|
|
1197
|
+
) => any;
|
|
1198
|
+
export declare const CreateDatasetExportJobRequestFilterSensitiveLog: (
|
|
1199
|
+
obj: CreateDatasetExportJobRequest
|
|
1200
|
+
) => any;
|
|
1201
|
+
export declare const CreateDatasetGroupRequestFilterSensitiveLog: (
|
|
1202
|
+
obj: CreateDatasetGroupRequest
|
|
1203
|
+
) => any;
|
|
1204
|
+
export declare const CreateDatasetImportJobRequestFilterSensitiveLog: (
|
|
1205
|
+
obj: CreateDatasetImportJobRequest
|
|
1206
|
+
) => any;
|
|
1207
|
+
export declare const CreateEventTrackerRequestFilterSensitiveLog: (
|
|
1208
|
+
obj: CreateEventTrackerRequest
|
|
1209
|
+
) => any;
|
|
1172
1210
|
export declare const CreateFilterRequestFilterSensitiveLog: (
|
|
1173
1211
|
obj: CreateFilterRequest
|
|
1174
1212
|
) => any;
|
|
1213
|
+
export declare const CreateRecommenderRequestFilterSensitiveLog: (
|
|
1214
|
+
obj: CreateRecommenderRequest
|
|
1215
|
+
) => any;
|
|
1216
|
+
export declare const CreateSolutionRequestFilterSensitiveLog: (
|
|
1217
|
+
obj: CreateSolutionRequest
|
|
1218
|
+
) => any;
|
|
1219
|
+
export declare const CreateSolutionVersionRequestFilterSensitiveLog: (
|
|
1220
|
+
obj: CreateSolutionVersionRequest
|
|
1221
|
+
) => any;
|
|
1175
1222
|
export declare const FilterFilterSensitiveLog: (obj: Filter) => any;
|
|
1176
1223
|
export declare const DescribeFilterResponseFilterSensitiveLog: (
|
|
1177
1224
|
obj: DescribeFilterResponse
|
|
1178
1225
|
) => any;
|
|
1226
|
+
export declare const ListTagsForResourceResponseFilterSensitiveLog: (
|
|
1227
|
+
obj: ListTagsForResourceResponse
|
|
1228
|
+
) => any;
|
|
1229
|
+
export declare const TagResourceRequestFilterSensitiveLog: (
|
|
1230
|
+
obj: TagResourceRequest
|
|
1231
|
+
) => any;
|
|
1232
|
+
export declare const UntagResourceRequestFilterSensitiveLog: (
|
|
1233
|
+
obj: UntagResourceRequest
|
|
1234
|
+
) => any;
|
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.784.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-personalize",
|