@aws-sdk/client-personalize 3.940.0 → 3.943.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 CHANGED
@@ -403,6 +403,7 @@ const _HPOC = "HPOConfig";
403
403
  const _HPOO = "HPOObjective";
404
404
  const _HPORC = "HPOResourceConfig";
405
405
  const _HPR = "HyperParameterRanges";
406
+ const _IDC = "IncludedDatasetColumns";
406
407
  const _IHPR = "IntegerHyperParameterRange";
407
408
  const _IHPRn = "IntegerHyperParameterRanges";
408
409
  const _IIE = "InvalidInputException";
@@ -606,6 +607,7 @@ const _hE = "httpError";
606
607
  const _hO = "hpoObjective";
607
608
  const _hRC = "hpoResourceConfig";
608
609
  const _iA = "itemAttribute";
610
+ const _iDC = "includedDatasetColumns";
609
611
  const _iEC = "itemExplorationConfig";
610
612
  const _iHPR = "integerHyperParameterRanges";
611
613
  const _iM = "ingestionMode";
@@ -649,12 +651,14 @@ const _pAML = "performAutoML";
649
651
  const _pAMTS = "publishAttributionMetricsToS3";
650
652
  const _pAT = "performAutoTraining";
651
653
  const _pHPO = "performHPO";
654
+ const _pIU = "performIncrementalUpdate";
652
655
  const _r = "recipe";
653
656
  const _rA = "roleArn";
654
657
  const _rAe = "recipeArn";
655
658
  const _rAec = "recommenderArn";
656
659
  const _rAes = "resourceArn";
657
660
  const _rC = "recommenderConfig";
661
+ const _rI = "rankingInfluence";
658
662
  const _rL = "recipeList";
659
663
  const _rM = "removeMetrics";
660
664
  const _rP = "recipeProvider";
@@ -734,7 +738,7 @@ var BatchInferenceJob = [
734
738
  4,
735
739
  ],
736
740
  ];
737
- var BatchInferenceJobConfig = [3, n0, _BIJC, 0, [_iEC], [128 | 0]];
741
+ var BatchInferenceJobConfig = [3, n0, _BIJC, 0, [_iEC, _rI], [128 | 0, 128 | 1]];
738
742
  var BatchInferenceJobInput = [3, n0, _BIJI, 0, [_sDS], [() => S3DataConfig]];
739
743
  var BatchInferenceJobOutput = [3, n0, _BIJO, 0, [_sDD], [() => S3DataConfig]];
740
744
  var BatchInferenceJobSummary = [
@@ -771,7 +775,14 @@ var Campaign = [
771
775
  [_n, _cA, _sVA, _mPTPS, _cC, _s, _fR, _cDT, _lUDT, _lCU],
772
776
  [0, 0, 0, 1, () => CampaignConfig, 0, 0, 4, 4, () => CampaignUpdateSummary],
773
777
  ];
774
- var CampaignConfig = [3, n0, _CC, 0, [_iEC, _eMWR, _sWLSV], [128 | 0, 2, 2]];
778
+ var CampaignConfig = [
779
+ 3,
780
+ n0,
781
+ _CC,
782
+ 0,
783
+ [_iEC, _eMWR, _sWLSV, _rI],
784
+ [128 | 0, 2, 2, 128 | 1],
785
+ ];
775
786
  var CampaignSummary = [
776
787
  3,
777
788
  n0,
@@ -917,8 +928,8 @@ var CreateSolutionRequest = [
917
928
  n0,
918
929
  _CSRre,
919
930
  0,
920
- [_n, _pHPO, _pAML, _pAT, _rAe, _dGA, _eT, _sC, _t],
921
- [0, 2, 2, 2, 0, 0, 0, () => SolutionConfig, [() => Tags, 0]],
931
+ [_n, _pHPO, _pAML, _pAT, _pIU, _rAe, _dGA, _eT, _sC, _t],
932
+ [0, 2, 2, 2, 2, 0, 0, 0, () => SolutionConfig, [() => Tags, 0]],
922
933
  ];
923
934
  var CreateSolutionResponse = [3, n0, _CSRrea, 0, [_sAo], [0]];
924
935
  var CreateSolutionVersionRequest = [
@@ -1446,13 +1457,14 @@ var Solution = [
1446
1457
  n0,
1447
1458
  _S,
1448
1459
  0,
1449
- [_n, _sAo, _pHPO, _pAML, _pAT, _rAe, _dGA, _eT, _sC, _aMLR, _s, _cDT, _lUDT, _lSV, _lSU],
1460
+ [_n, _sAo, _pHPO, _pAML, _pAT, _pIU, _rAe, _dGA, _eT, _sC, _aMLR, _s, _cDT, _lUDT, _lSV, _lSU],
1450
1461
  [
1451
1462
  0,
1452
1463
  0,
1453
1464
  2,
1454
1465
  2,
1455
1466
  2,
1467
+ 2,
1456
1468
  0,
1457
1469
  0,
1458
1470
  0,
@@ -1504,16 +1516,16 @@ var SolutionUpdateSummary = [
1504
1516
  n0,
1505
1517
  _SUS,
1506
1518
  0,
1507
- [_sUC, _s, _pAT, _cDT, _lUDT, _fR],
1508
- [() => SolutionUpdateConfig, 0, 2, 4, 4, 0],
1519
+ [_sUC, _s, _pAT, _pIU, _cDT, _lUDT, _fR],
1520
+ [() => SolutionUpdateConfig, 0, 2, 2, 4, 4, 0],
1509
1521
  ];
1510
1522
  var SolutionVersion = [
1511
1523
  3,
1512
1524
  n0,
1513
1525
  _SV,
1514
1526
  0,
1515
- [_n, _sVA, _sAo, _pHPO, _pAML, _rAe, _eT, _dGA, _sC, _tH, _tM, _tHPOP, _s, _fR, _cDT, _lUDT, _tT],
1516
- [0, 0, 0, 2, 2, 0, 0, 0, () => SolutionConfig, 1, 0, () => TunedHPOParams, 0, 0, 4, 4, 0],
1527
+ [_n, _sVA, _sAo, _pHPO, _pAML, _pIU, _rAe, _eT, _dGA, _sC, _tH, _tM, _tHPOP, _s, _fR, _cDT, _lUDT, _tT],
1528
+ [0, 0, 0, 2, 2, 2, 0, 0, 0, () => SolutionConfig, 1, 0, () => TunedHPOParams, 0, 0, 4, 4, 0],
1517
1529
  ];
1518
1530
  var SolutionVersionSummary = [
1519
1531
  3,
@@ -1566,7 +1578,17 @@ var TooManyTagsException = [
1566
1578
  [0],
1567
1579
  ];
1568
1580
  schema.TypeRegistry.for(n0).registerError(TooManyTagsException, TooManyTagsException$1);
1569
- var TrainingDataConfig = [3, n0, _TDC, 0, [_eDC], [[2, n0, _EDC, 0, 0, 64 | 0]]];
1581
+ var TrainingDataConfig = [
1582
+ 3,
1583
+ n0,
1584
+ _TDC,
1585
+ 0,
1586
+ [_eDC, _iDC],
1587
+ [
1588
+ [2, n0, _EDC, 0, 0, 64 | 0],
1589
+ [2, n0, _IDC, 0, 0, 64 | 0],
1590
+ ],
1591
+ ];
1570
1592
  var TunedHPOParams = [3, n0, _THPOP, 0, [_aHP], [128 | 0]];
1571
1593
  var UntagResourceRequest = [3, n0, _URR, 0, [_rAes, _tKa], [0, [() => TagKeys, 0]]];
1572
1594
  var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
@@ -1604,8 +1626,8 @@ var UpdateSolutionRequest = [
1604
1626
  n0,
1605
1627
  _USR,
1606
1628
  0,
1607
- [_sAo, _pAT, _sUC],
1608
- [0, 2, () => SolutionUpdateConfig],
1629
+ [_sAo, _pAT, _pIU, _sUC],
1630
+ [0, 2, 2, () => SolutionUpdateConfig],
1609
1631
  ];
1610
1632
  var UpdateSolutionResponse = [3, n0, _USRp, 0, [_sAo], [0]];
1611
1633
  var __Unit = "unit";
@@ -3087,6 +3109,10 @@ const paginateListSolutionVersions = core.createPaginator(PersonalizeClient, Lis
3087
3109
 
3088
3110
  const paginateListSolutions = core.createPaginator(PersonalizeClient, ListSolutionsCommand, "nextToken", "nextToken", "maxResults");
3089
3111
 
3112
+ const RankingInfluenceType = {
3113
+ FRESHNESS: "FRESHNESS",
3114
+ POPULARITY: "POPULARITY",
3115
+ };
3090
3116
  const BatchInferenceJobMode = {
3091
3117
  BATCH_INFERENCE: "BATCH_INFERENCE",
3092
3118
  THEME_GENERATION: "THEME_GENERATION",
@@ -3203,6 +3229,7 @@ exports.ObjectiveSensitivity = ObjectiveSensitivity;
3203
3229
  exports.Personalize = Personalize;
3204
3230
  exports.PersonalizeClient = PersonalizeClient;
3205
3231
  exports.PersonalizeServiceException = PersonalizeServiceException$1;
3232
+ exports.RankingInfluenceType = RankingInfluenceType;
3206
3233
  exports.RecipeProvider = RecipeProvider;
3207
3234
  exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException$1;
3208
3235
  exports.ResourceInUseException = ResourceInUseException$1;
@@ -1,3 +1,7 @@
1
+ export const RankingInfluenceType = {
2
+ FRESHNESS: "FRESHNESS",
3
+ POPULARITY: "POPULARITY",
4
+ };
1
5
  export const BatchInferenceJobMode = {
2
6
  BATCH_INFERENCE: "BATCH_INFERENCE",
3
7
  THEME_GENERATION: "THEME_GENERATION",
@@ -187,6 +187,7 @@ const _HPOC = "HPOConfig";
187
187
  const _HPOO = "HPOObjective";
188
188
  const _HPORC = "HPOResourceConfig";
189
189
  const _HPR = "HyperParameterRanges";
190
+ const _IDC = "IncludedDatasetColumns";
190
191
  const _IHPR = "IntegerHyperParameterRange";
191
192
  const _IHPRn = "IntegerHyperParameterRanges";
192
193
  const _IIE = "InvalidInputException";
@@ -390,6 +391,7 @@ const _hE = "httpError";
390
391
  const _hO = "hpoObjective";
391
392
  const _hRC = "hpoResourceConfig";
392
393
  const _iA = "itemAttribute";
394
+ const _iDC = "includedDatasetColumns";
393
395
  const _iEC = "itemExplorationConfig";
394
396
  const _iHPR = "integerHyperParameterRanges";
395
397
  const _iM = "ingestionMode";
@@ -433,12 +435,14 @@ const _pAML = "performAutoML";
433
435
  const _pAMTS = "publishAttributionMetricsToS3";
434
436
  const _pAT = "performAutoTraining";
435
437
  const _pHPO = "performHPO";
438
+ const _pIU = "performIncrementalUpdate";
436
439
  const _r = "recipe";
437
440
  const _rA = "roleArn";
438
441
  const _rAe = "recipeArn";
439
442
  const _rAec = "recommenderArn";
440
443
  const _rAes = "resourceArn";
441
444
  const _rC = "recommenderConfig";
445
+ const _rI = "rankingInfluence";
442
446
  const _rL = "recipeList";
443
447
  const _rM = "removeMetrics";
444
448
  const _rP = "recipeProvider";
@@ -521,7 +525,7 @@ export var BatchInferenceJob = [
521
525
  4,
522
526
  ],
523
527
  ];
524
- export var BatchInferenceJobConfig = [3, n0, _BIJC, 0, [_iEC], [128 | 0]];
528
+ export var BatchInferenceJobConfig = [3, n0, _BIJC, 0, [_iEC, _rI], [128 | 0, 128 | 1]];
525
529
  export var BatchInferenceJobInput = [3, n0, _BIJI, 0, [_sDS], [() => S3DataConfig]];
526
530
  export var BatchInferenceJobOutput = [3, n0, _BIJO, 0, [_sDD], [() => S3DataConfig]];
527
531
  export var BatchInferenceJobSummary = [
@@ -558,7 +562,14 @@ export var Campaign = [
558
562
  [_n, _cA, _sVA, _mPTPS, _cC, _s, _fR, _cDT, _lUDT, _lCU],
559
563
  [0, 0, 0, 1, () => CampaignConfig, 0, 0, 4, 4, () => CampaignUpdateSummary],
560
564
  ];
561
- export var CampaignConfig = [3, n0, _CC, 0, [_iEC, _eMWR, _sWLSV], [128 | 0, 2, 2]];
565
+ export var CampaignConfig = [
566
+ 3,
567
+ n0,
568
+ _CC,
569
+ 0,
570
+ [_iEC, _eMWR, _sWLSV, _rI],
571
+ [128 | 0, 2, 2, 128 | 1],
572
+ ];
562
573
  export var CampaignSummary = [
563
574
  3,
564
575
  n0,
@@ -704,8 +715,8 @@ export var CreateSolutionRequest = [
704
715
  n0,
705
716
  _CSRre,
706
717
  0,
707
- [_n, _pHPO, _pAML, _pAT, _rAe, _dGA, _eT, _sC, _t],
708
- [0, 2, 2, 2, 0, 0, 0, () => SolutionConfig, [() => Tags, 0]],
718
+ [_n, _pHPO, _pAML, _pAT, _pIU, _rAe, _dGA, _eT, _sC, _t],
719
+ [0, 2, 2, 2, 2, 0, 0, 0, () => SolutionConfig, [() => Tags, 0]],
709
720
  ];
710
721
  export var CreateSolutionResponse = [3, n0, _CSRrea, 0, [_sAo], [0]];
711
722
  export var CreateSolutionVersionRequest = [
@@ -1233,13 +1244,14 @@ export var Solution = [
1233
1244
  n0,
1234
1245
  _S,
1235
1246
  0,
1236
- [_n, _sAo, _pHPO, _pAML, _pAT, _rAe, _dGA, _eT, _sC, _aMLR, _s, _cDT, _lUDT, _lSV, _lSU],
1247
+ [_n, _sAo, _pHPO, _pAML, _pAT, _pIU, _rAe, _dGA, _eT, _sC, _aMLR, _s, _cDT, _lUDT, _lSV, _lSU],
1237
1248
  [
1238
1249
  0,
1239
1250
  0,
1240
1251
  2,
1241
1252
  2,
1242
1253
  2,
1254
+ 2,
1243
1255
  0,
1244
1256
  0,
1245
1257
  0,
@@ -1291,16 +1303,16 @@ export var SolutionUpdateSummary = [
1291
1303
  n0,
1292
1304
  _SUS,
1293
1305
  0,
1294
- [_sUC, _s, _pAT, _cDT, _lUDT, _fR],
1295
- [() => SolutionUpdateConfig, 0, 2, 4, 4, 0],
1306
+ [_sUC, _s, _pAT, _pIU, _cDT, _lUDT, _fR],
1307
+ [() => SolutionUpdateConfig, 0, 2, 2, 4, 4, 0],
1296
1308
  ];
1297
1309
  export var SolutionVersion = [
1298
1310
  3,
1299
1311
  n0,
1300
1312
  _SV,
1301
1313
  0,
1302
- [_n, _sVA, _sAo, _pHPO, _pAML, _rAe, _eT, _dGA, _sC, _tH, _tM, _tHPOP, _s, _fR, _cDT, _lUDT, _tT],
1303
- [0, 0, 0, 2, 2, 0, 0, 0, () => SolutionConfig, 1, 0, () => TunedHPOParams, 0, 0, 4, 4, 0],
1314
+ [_n, _sVA, _sAo, _pHPO, _pAML, _pIU, _rAe, _eT, _dGA, _sC, _tH, _tM, _tHPOP, _s, _fR, _cDT, _lUDT, _tT],
1315
+ [0, 0, 0, 2, 2, 2, 0, 0, 0, () => SolutionConfig, 1, 0, () => TunedHPOParams, 0, 0, 4, 4, 0],
1304
1316
  ];
1305
1317
  export var SolutionVersionSummary = [
1306
1318
  3,
@@ -1353,7 +1365,17 @@ export var TooManyTagsException = [
1353
1365
  [0],
1354
1366
  ];
1355
1367
  TypeRegistry.for(n0).registerError(TooManyTagsException, __TooManyTagsException);
1356
- export var TrainingDataConfig = [3, n0, _TDC, 0, [_eDC], [[2, n0, _EDC, 0, 0, 64 | 0]]];
1368
+ export var TrainingDataConfig = [
1369
+ 3,
1370
+ n0,
1371
+ _TDC,
1372
+ 0,
1373
+ [_eDC, _iDC],
1374
+ [
1375
+ [2, n0, _EDC, 0, 0, 64 | 0],
1376
+ [2, n0, _IDC, 0, 0, 64 | 0],
1377
+ ],
1378
+ ];
1357
1379
  export var TunedHPOParams = [3, n0, _THPOP, 0, [_aHP], [128 | 0]];
1358
1380
  export var UntagResourceRequest = [3, n0, _URR, 0, [_rAes, _tKa], [0, [() => TagKeys, 0]]];
1359
1381
  export var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
@@ -1391,8 +1413,8 @@ export var UpdateSolutionRequest = [
1391
1413
  n0,
1392
1414
  _USR,
1393
1415
  0,
1394
- [_sAo, _pAT, _sUC],
1395
- [0, 2, () => SolutionUpdateConfig],
1416
+ [_sAo, _pAT, _pIU, _sUC],
1417
+ [0, 2, 2, () => SolutionUpdateConfig],
1396
1418
  ];
1397
1419
  export var UpdateSolutionResponse = [3, n0, _USRp, 0, [_sAo], [0]];
1398
1420
  export var __Unit = "unit";
@@ -1450,7 +1472,9 @@ export var ExcludedDatasetColumns = [2, n0, _EDC, 0, 0, 64 | 0];
1450
1472
  export var FeatureTransformationParameters = 128 | 0;
1451
1473
  export var FeaturizationParameters = 128 | 0;
1452
1474
  export var HyperParameters = 128 | 0;
1475
+ export var IncludedDatasetColumns = [2, n0, _IDC, 0, 0, 64 | 0];
1453
1476
  export var Metrics = 128 | 1;
1477
+ export var RankingInfluence = 128 | 1;
1454
1478
  export var ResourceConfig = 128 | 0;
1455
1479
  export var CreateBatchInferenceJob = [
1456
1480
  9,
@@ -75,6 +75,9 @@ declare const CreateBatchInferenceJobCommand_base: {
75
75
  * itemExplorationConfig: { // HyperParameters
76
76
  * "<keys>": "STRING_VALUE",
77
77
  * },
78
+ * rankingInfluence: { // RankingInfluence
79
+ * "<keys>": Number("double"),
80
+ * },
78
81
  * },
79
82
  * tags: [ // Tags
80
83
  * { // Tag
@@ -120,6 +120,9 @@ declare const CreateCampaignCommand_base: {
120
120
  * },
121
121
  * enableMetadataWithRecommendations: true || false,
122
122
  * syncWithLatestSolutionVersion: true || false,
123
+ * rankingInfluence: { // RankingInfluence
124
+ * "<keys>": Number("double"),
125
+ * },
123
126
  * },
124
127
  * tags: [ // Tags
125
128
  * { // Tag
@@ -91,7 +91,7 @@ declare const CreateDatasetImportJobCommand_base: {
91
91
  * dataSource: { // DataSource
92
92
  * dataLocation: "STRING_VALUE",
93
93
  * },
94
- * roleArn: "STRING_VALUE", // required
94
+ * roleArn: "STRING_VALUE",
95
95
  * tags: [ // Tags
96
96
  * { // Tag
97
97
  * tagKey: "STRING_VALUE", // required
@@ -128,6 +128,11 @@ declare const CreateRecommenderCommand_base: {
128
128
  * "STRING_VALUE",
129
129
  * ],
130
130
  * },
131
+ * includedDatasetColumns: { // IncludedDatasetColumns
132
+ * "<keys>": [
133
+ * "STRING_VALUE",
134
+ * ],
135
+ * },
131
136
  * },
132
137
  * enableMetadataWithRecommendations: true || false,
133
138
  * },
@@ -128,6 +128,7 @@ declare const CreateSolutionCommand_base: {
128
128
  * performHPO: true || false,
129
129
  * performAutoML: true || false,
130
130
  * performAutoTraining: true || false,
131
+ * performIncrementalUpdate: true || false,
131
132
  * recipeArn: "STRING_VALUE",
132
133
  * datasetGroupArn: "STRING_VALUE", // required
133
134
  * eventType: "STRING_VALUE",
@@ -199,6 +200,11 @@ declare const CreateSolutionCommand_base: {
199
200
  * "STRING_VALUE",
200
201
  * ],
201
202
  * },
203
+ * includedDatasetColumns: { // IncludedDatasetColumns
204
+ * "<keys>": [
205
+ * "STRING_VALUE",
206
+ * ],
207
+ * },
202
208
  * },
203
209
  * autoTrainingConfig: { // AutoTrainingConfig
204
210
  * schedulingExpression: "STRING_VALUE",
@@ -67,6 +67,9 @@ declare const DescribeBatchInferenceJobCommand_base: {
67
67
  * // itemExplorationConfig: { // HyperParameters
68
68
  * // "<keys>": "STRING_VALUE",
69
69
  * // },
70
+ * // rankingInfluence: { // RankingInfluence
71
+ * // "<keys>": Number("double"),
72
+ * // },
70
73
  * // },
71
74
  * // roleArn: "STRING_VALUE",
72
75
  * // batchInferenceJobMode: "BATCH_INFERENCE" || "THEME_GENERATION",
@@ -65,6 +65,9 @@ declare const DescribeCampaignCommand_base: {
65
65
  * // },
66
66
  * // enableMetadataWithRecommendations: true || false,
67
67
  * // syncWithLatestSolutionVersion: true || false,
68
+ * // rankingInfluence: { // RankingInfluence
69
+ * // "<keys>": Number("double"),
70
+ * // },
68
71
  * // },
69
72
  * // status: "STRING_VALUE",
70
73
  * // failureReason: "STRING_VALUE",
@@ -79,6 +82,9 @@ declare const DescribeCampaignCommand_base: {
79
82
  * // },
80
83
  * // enableMetadataWithRecommendations: true || false,
81
84
  * // syncWithLatestSolutionVersion: true || false,
85
+ * // rankingInfluence: {
86
+ * // "<keys>": Number("double"),
87
+ * // },
82
88
  * // },
83
89
  * // status: "STRING_VALUE",
84
90
  * // failureReason: "STRING_VALUE",
@@ -75,6 +75,11 @@ declare const DescribeRecommenderCommand_base: {
75
75
  * // "STRING_VALUE",
76
76
  * // ],
77
77
  * // },
78
+ * // includedDatasetColumns: { // IncludedDatasetColumns
79
+ * // "<keys>": [
80
+ * // "STRING_VALUE",
81
+ * // ],
82
+ * // },
78
83
  * // },
79
84
  * // enableMetadataWithRecommendations: true || false,
80
85
  * // },
@@ -94,6 +99,11 @@ declare const DescribeRecommenderCommand_base: {
94
99
  * // "STRING_VALUE",
95
100
  * // ],
96
101
  * // },
102
+ * // includedDatasetColumns: {
103
+ * // "<keys>": [
104
+ * // "STRING_VALUE",
105
+ * // ],
106
+ * // },
97
107
  * // },
98
108
  * // enableMetadataWithRecommendations: true || false,
99
109
  * // },
@@ -49,6 +49,7 @@ declare const DescribeSolutionCommand_base: {
49
49
  * // performHPO: true || false,
50
50
  * // performAutoML: true || false,
51
51
  * // performAutoTraining: true || false,
52
+ * // performIncrementalUpdate: true || false,
52
53
  * // recipeArn: "STRING_VALUE",
53
54
  * // datasetGroupArn: "STRING_VALUE",
54
55
  * // eventType: "STRING_VALUE",
@@ -120,6 +121,11 @@ declare const DescribeSolutionCommand_base: {
120
121
  * // "STRING_VALUE",
121
122
  * // ],
122
123
  * // },
124
+ * // includedDatasetColumns: { // IncludedDatasetColumns
125
+ * // "<keys>": [
126
+ * // "STRING_VALUE",
127
+ * // ],
128
+ * // },
123
129
  * // },
124
130
  * // autoTrainingConfig: { // AutoTrainingConfig
125
131
  * // schedulingExpression: "STRING_VALUE",
@@ -157,6 +163,7 @@ declare const DescribeSolutionCommand_base: {
157
163
  * // },
158
164
  * // status: "STRING_VALUE",
159
165
  * // performAutoTraining: true || false,
166
+ * // performIncrementalUpdate: true || false,
160
167
  * // creationDateTime: new Date("TIMESTAMP"),
161
168
  * // lastUpdatedDateTime: new Date("TIMESTAMP"),
162
169
  * // failureReason: "STRING_VALUE",
@@ -49,6 +49,7 @@ declare const DescribeSolutionVersionCommand_base: {
49
49
  * // solutionArn: "STRING_VALUE",
50
50
  * // performHPO: true || false,
51
51
  * // performAutoML: true || false,
52
+ * // performIncrementalUpdate: true || false,
52
53
  * // recipeArn: "STRING_VALUE",
53
54
  * // eventType: "STRING_VALUE",
54
55
  * // datasetGroupArn: "STRING_VALUE",
@@ -120,6 +121,11 @@ declare const DescribeSolutionVersionCommand_base: {
120
121
  * // "STRING_VALUE",
121
122
  * // ],
122
123
  * // },
124
+ * // includedDatasetColumns: { // IncludedDatasetColumns
125
+ * // "<keys>": [
126
+ * // "STRING_VALUE",
127
+ * // ],
128
+ * // },
123
129
  * // },
124
130
  * // autoTrainingConfig: { // AutoTrainingConfig
125
131
  * // schedulingExpression: "STRING_VALUE",
@@ -64,6 +64,11 @@ declare const ListRecommendersCommand_base: {
64
64
  * // "STRING_VALUE",
65
65
  * // ],
66
66
  * // },
67
+ * // includedDatasetColumns: { // IncludedDatasetColumns
68
+ * // "<keys>": [
69
+ * // "STRING_VALUE",
70
+ * // ],
71
+ * // },
67
72
  * // },
68
73
  * // enableMetadataWithRecommendations: true || false,
69
74
  * // },
@@ -69,6 +69,9 @@ declare const UpdateCampaignCommand_base: {
69
69
  * },
70
70
  * enableMetadataWithRecommendations: true || false,
71
71
  * syncWithLatestSolutionVersion: true || false,
72
+ * rankingInfluence: { // RankingInfluence
73
+ * "<keys>": Number("double"),
74
+ * },
72
75
  * },
73
76
  * };
74
77
  * const command = new UpdateCampaignCommand(input);
@@ -56,6 +56,11 @@ declare const UpdateRecommenderCommand_base: {
56
56
  * "STRING_VALUE",
57
57
  * ],
58
58
  * },
59
+ * includedDatasetColumns: { // IncludedDatasetColumns
60
+ * "<keys>": [
61
+ * "STRING_VALUE",
62
+ * ],
63
+ * },
59
64
  * },
60
65
  * enableMetadataWithRecommendations: true || false,
61
66
  * },
@@ -48,6 +48,7 @@ declare const UpdateSolutionCommand_base: {
48
48
  * const input = { // UpdateSolutionRequest
49
49
  * solutionArn: "STRING_VALUE", // required
50
50
  * performAutoTraining: true || false,
51
+ * performIncrementalUpdate: true || false,
51
52
  * solutionUpdateConfig: { // SolutionUpdateConfig
52
53
  * autoTrainingConfig: { // AutoTrainingConfig
53
54
  * schedulingExpression: "STRING_VALUE",
@@ -1,3 +1,15 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const RankingInfluenceType: {
6
+ readonly FRESHNESS: "FRESHNESS";
7
+ readonly POPULARITY: "POPULARITY";
8
+ };
9
+ /**
10
+ * @public
11
+ */
12
+ export type RankingInfluenceType = (typeof RankingInfluenceType)[keyof typeof RankingInfluenceType];
1
13
  /**
2
14
  * @public
3
15
  * @enum
@@ -1,4 +1,4 @@
1
- import { BatchInferenceJobMode, Domain, ImportMode, IngestionMode, ObjectiveSensitivity, RecipeProvider, TrainingMode, TrainingType } from "./enums";
1
+ import { BatchInferenceJobMode, Domain, ImportMode, IngestionMode, ObjectiveSensitivity, RankingInfluenceType, RecipeProvider, TrainingMode, TrainingType } from "./enums";
2
2
  /**
3
3
  * <p>Describes an algorithm image.</p>
4
4
  * @public
@@ -187,6 +187,11 @@ export interface BatchInferenceJobConfig {
187
187
  * @public
188
188
  */
189
189
  itemExplorationConfig?: Record<string, string> | undefined;
190
+ /**
191
+ * <p>A map of ranking influence values for POPULARITY and FRESHNESS. For each key, specify a numerical value between 0.0 and 1.0 that determines how much influence that ranking factor has on the final recommendations. A value closer to 1.0 gives more weight to the factor, while a value closer to 0.0 reduces its influence.</p>
192
+ * @public
193
+ */
194
+ rankingInfluence?: Partial<Record<RankingInfluenceType, number>> | undefined;
190
195
  }
191
196
  /**
192
197
  * <p>The configuration details of an Amazon S3 input or output bucket.</p>
@@ -463,6 +468,11 @@ export interface CampaignConfig {
463
468
  * @public
464
469
  */
465
470
  syncWithLatestSolutionVersion?: boolean | undefined;
471
+ /**
472
+ * <p>A map of ranking influence values for POPULARITY and FRESHNESS. For each key, specify a numerical value between 0.0 and 1.0 that determines how much influence that ranking factor has on the final recommendations. A value closer to 1.0 gives more weight to the factor, while a value closer to 0.0 reduces its influence. </p>
473
+ * @public
474
+ */
475
+ rankingInfluence?: Partial<Record<RankingInfluenceType, number>> | undefined;
466
476
  }
467
477
  /**
468
478
  * @public
@@ -783,7 +793,7 @@ export interface CreateDatasetImportJobRequest {
783
793
  * data source.</p>
784
794
  * @public
785
795
  */
786
- roleArn: string | undefined;
796
+ roleArn?: string | undefined;
787
797
  /**
788
798
  * <p>A list of <a href="https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html">tags</a> to apply to the dataset import job.</p>
789
799
  * @public
@@ -986,6 +996,11 @@ export interface TrainingDataConfig {
986
996
  * @public
987
997
  */
988
998
  excludedDatasetColumns?: Record<string, string[]> | undefined;
999
+ /**
1000
+ * <p>A map that specifies which columns to include from each dataset during training. The map can contain up to 3 entries, where each key is a dataset name (maximum length of 256 characters, must contain only letters and underscores) and each value is an array of up to 50 column names. Column names can be up to 150 characters long, must start with a letter or underscore, and can contain only letters, numbers, and underscores.</p>
1001
+ * @public
1002
+ */
1003
+ includedDatasetColumns?: Record<string, string[]> | undefined;
989
1004
  }
990
1005
  /**
991
1006
  * <p>The configuration details of the recommender.</p>
@@ -1444,6 +1459,11 @@ export interface CreateSolutionRequest {
1444
1459
  * @public
1445
1460
  */
1446
1461
  performAutoTraining?: boolean | undefined;
1462
+ /**
1463
+ * <p>Whether to perform incremental training updates on your model. When enabled, this allows the model to learn from new data more frequently without requiring full retraining, which enables near real-time personalization. This parameter is supported only for solutions that use the semantic-similarity recipe.</p>
1464
+ * @public
1465
+ */
1466
+ performIncrementalUpdate?: boolean | undefined;
1447
1467
  /**
1448
1468
  * <p>The Amazon Resource Name (ARN) of the recipe to use for model training. This is required when
1449
1469
  * <code>performAutoML</code> is false. For information about different Amazon Personalize recipes and their ARNs,
@@ -2000,8 +2020,11 @@ export interface Campaign {
2000
2020
  */
2001
2021
  lastUpdatedDateTime?: Date | undefined;
2002
2022
  /**
2003
- * <p>Provides a summary of the properties of a campaign update. For a complete listing, call the
2004
- * <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeCampaign.html">DescribeCampaign</a> API.</p>
2023
+ * <p>Provides a summary of the properties of a campaign update. For a complete listing, call the <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeCampaign.html">DescribeCampaign</a> API.</p>
2024
+ * <note>
2025
+ * <p>The <code>latestCampaignUpdate</code> field is only returned when the campaign has had
2026
+ * at least one <code>UpdateCampaign</code> call. </p>
2027
+ * </note>
2005
2028
  * @public
2006
2029
  */
2007
2030
  latestCampaignUpdate?: CampaignUpdateSummary | undefined;
@@ -2011,7 +2034,15 @@ export interface Campaign {
2011
2034
  */
2012
2035
  export interface DescribeCampaignResponse {
2013
2036
  /**
2014
- * <p>The properties of the campaign.</p>
2037
+ * <note>
2038
+ * <p>The <code>latestCampaignUpdate</code> field is only returned when the campaign has had
2039
+ * at least one <code>UpdateCampaign</code> call. </p>
2040
+ * </note>
2041
+ * <p>The properties of the campaign.</p>
2042
+ * <note>
2043
+ * <p>The <code>latestCampaignUpdate</code> field is only returned when the campaign has had
2044
+ * at least one <code>UpdateCampaign</code> call.</p>
2045
+ * </note>
2015
2046
  * @public
2016
2047
  */
2017
2048
  campaign?: Campaign | undefined;
@@ -3190,6 +3221,11 @@ export interface SolutionUpdateSummary {
3190
3221
  * @public
3191
3222
  */
3192
3223
  performAutoTraining?: boolean | undefined;
3224
+ /**
3225
+ * <p>A Boolean value that indicates whether incremental training updates are performed on the model. When enabled, this allows the model to learn from new data more frequently without requiring full retraining, which enables near real-time personalization. This parameter is supported only for solutions that use the semantic-similarity recipe.</p>
3226
+ * @public
3227
+ */
3228
+ performIncrementalUpdate?: boolean | undefined;
3193
3229
  /**
3194
3230
  * <p>The date and time (in Unix format) that the solution update was created.</p>
3195
3231
  * @public
@@ -3309,6 +3345,11 @@ export interface Solution {
3309
3345
  * @public
3310
3346
  */
3311
3347
  performAutoTraining?: boolean | undefined;
3348
+ /**
3349
+ * <p>A Boolean value that indicates whether incremental training updates are performed on the model. When enabled, this allows the model to learn from new data more frequently without requiring full retraining, which enables near real-time personalization. This parameter is supported only for solutions that use the semantic-similarity recipe</p>
3350
+ * @public
3351
+ */
3352
+ performIncrementalUpdate?: boolean | undefined;
3312
3353
  /**
3313
3354
  * <p>The ARN of the recipe used to create the solution. This is required when
3314
3355
  * <code>performAutoML</code> is false.</p>
@@ -3436,6 +3477,14 @@ export interface SolutionVersion {
3436
3477
  * @public
3437
3478
  */
3438
3479
  performAutoML?: boolean | undefined;
3480
+ /**
3481
+ * <p>Whether the solution version should perform an incremental update. When set to true,
3482
+ * the training will process only the data that has changed since the latest training, similar
3483
+ * to when trainingMode is set to UPDATE. This can only be used with solution versions that
3484
+ * use the User-Personalization recipe.</p>
3485
+ * @public
3486
+ */
3487
+ performIncrementalUpdate?: boolean | undefined;
3439
3488
  /**
3440
3489
  * <p>The ARN of the recipe used in the solution.</p>
3441
3490
  * @public
@@ -5173,6 +5222,11 @@ export interface UpdateSolutionRequest {
5173
5222
  * @public
5174
5223
  */
5175
5224
  performAutoTraining?: boolean | undefined;
5225
+ /**
5226
+ * <p>Whether to perform incremental training updates on your model. When enabled, this allows the model to learn from new data more frequently without requiring full retraining, which enables near real-time personalization. This parameter is supported only for solutions that use the semantic-similarity recipe.</p>
5227
+ * @public
5228
+ */
5229
+ performIncrementalUpdate?: boolean | undefined;
5176
5230
  /**
5177
5231
  * <p>The new configuration details of the solution.</p>
5178
5232
  * @public
@@ -253,7 +253,9 @@ export declare var ExcludedDatasetColumns: StaticMapSchema;
253
253
  export declare var FeatureTransformationParameters: number;
254
254
  export declare var FeaturizationParameters: number;
255
255
  export declare var HyperParameters: number;
256
+ export declare var IncludedDatasetColumns: StaticMapSchema;
256
257
  export declare var Metrics: number;
258
+ export declare var RankingInfluence: number;
257
259
  export declare var ResourceConfig: number;
258
260
  export declare var CreateBatchInferenceJob: StaticOperationSchema;
259
261
  export declare var CreateBatchSegmentJob: StaticOperationSchema;
@@ -1,3 +1,9 @@
1
+ export declare const RankingInfluenceType: {
2
+ readonly FRESHNESS: "FRESHNESS";
3
+ readonly POPULARITY: "POPULARITY";
4
+ };
5
+ export type RankingInfluenceType =
6
+ (typeof RankingInfluenceType)[keyof typeof RankingInfluenceType];
1
7
  export declare const BatchInferenceJobMode: {
2
8
  readonly BATCH_INFERENCE: "BATCH_INFERENCE";
3
9
  readonly THEME_GENERATION: "THEME_GENERATION";
@@ -4,6 +4,7 @@ import {
4
4
  ImportMode,
5
5
  IngestionMode,
6
6
  ObjectiveSensitivity,
7
+ RankingInfluenceType,
7
8
  RecipeProvider,
8
9
  TrainingMode,
9
10
  TrainingType,
@@ -52,6 +53,7 @@ export interface Algorithm {
52
53
  }
53
54
  export interface BatchInferenceJobConfig {
54
55
  itemExplorationConfig?: Record<string, string> | undefined;
56
+ rankingInfluence?: Partial<Record<RankingInfluenceType, number>> | undefined;
55
57
  }
56
58
  export interface S3DataConfig {
57
59
  path: string | undefined;
@@ -112,6 +114,7 @@ export interface CampaignConfig {
112
114
  itemExplorationConfig?: Record<string, string> | undefined;
113
115
  enableMetadataWithRecommendations?: boolean | undefined;
114
116
  syncWithLatestSolutionVersion?: boolean | undefined;
117
+ rankingInfluence?: Partial<Record<RankingInfluenceType, number>> | undefined;
115
118
  }
116
119
  export interface CreateCampaignRequest {
117
120
  name: string | undefined;
@@ -175,7 +178,7 @@ export interface CreateDatasetImportJobRequest {
175
178
  jobName: string | undefined;
176
179
  datasetArn: string | undefined;
177
180
  dataSource: DataSource | undefined;
178
- roleArn: string | undefined;
181
+ roleArn?: string | undefined;
179
182
  tags?: Tag[] | undefined;
180
183
  importMode?: ImportMode | undefined;
181
184
  publishAttributionMetricsToS3?: boolean | undefined;
@@ -221,6 +224,7 @@ export interface CreateMetricAttributionResponse {
221
224
  }
222
225
  export interface TrainingDataConfig {
223
226
  excludedDatasetColumns?: Record<string, string[]> | undefined;
227
+ includedDatasetColumns?: Record<string, string[]> | undefined;
224
228
  }
225
229
  export interface RecommenderConfig {
226
230
  itemExplorationConfig?: Record<string, string> | undefined;
@@ -316,6 +320,7 @@ export interface CreateSolutionRequest {
316
320
  performHPO?: boolean | undefined;
317
321
  performAutoML?: boolean | undefined;
318
322
  performAutoTraining?: boolean | undefined;
323
+ performIncrementalUpdate?: boolean | undefined;
319
324
  recipeArn?: string | undefined;
320
325
  datasetGroupArn: string | undefined;
321
326
  eventType?: string | undefined;
@@ -667,6 +672,7 @@ export interface SolutionUpdateSummary {
667
672
  solutionUpdateConfig?: SolutionUpdateConfig | undefined;
668
673
  status?: string | undefined;
669
674
  performAutoTraining?: boolean | undefined;
675
+ performIncrementalUpdate?: boolean | undefined;
670
676
  creationDateTime?: Date | undefined;
671
677
  lastUpdatedDateTime?: Date | undefined;
672
678
  failureReason?: string | undefined;
@@ -686,6 +692,7 @@ export interface Solution {
686
692
  performHPO?: boolean | undefined;
687
693
  performAutoML?: boolean | undefined;
688
694
  performAutoTraining?: boolean | undefined;
695
+ performIncrementalUpdate?: boolean | undefined;
689
696
  recipeArn?: string | undefined;
690
697
  datasetGroupArn?: string | undefined;
691
698
  eventType?: string | undefined;
@@ -712,6 +719,7 @@ export interface SolutionVersion {
712
719
  solutionArn?: string | undefined;
713
720
  performHPO?: boolean | undefined;
714
721
  performAutoML?: boolean | undefined;
722
+ performIncrementalUpdate?: boolean | undefined;
715
723
  recipeArn?: string | undefined;
716
724
  eventType?: string | undefined;
717
725
  datasetGroupArn?: string | undefined;
@@ -1080,6 +1088,7 @@ export interface UpdateRecommenderResponse {
1080
1088
  export interface UpdateSolutionRequest {
1081
1089
  solutionArn: string | undefined;
1082
1090
  performAutoTraining?: boolean | undefined;
1091
+ performIncrementalUpdate?: boolean | undefined;
1083
1092
  solutionUpdateConfig?: SolutionUpdateConfig | undefined;
1084
1093
  }
1085
1094
  export interface UpdateSolutionResponse {
@@ -260,7 +260,9 @@ export declare var ExcludedDatasetColumns: StaticMapSchema;
260
260
  export declare var FeatureTransformationParameters: number;
261
261
  export declare var FeaturizationParameters: number;
262
262
  export declare var HyperParameters: number;
263
+ export declare var IncludedDatasetColumns: StaticMapSchema;
263
264
  export declare var Metrics: number;
265
+ export declare var RankingInfluence: number;
264
266
  export declare var ResourceConfig: number;
265
267
  export declare var CreateBatchInferenceJob: StaticOperationSchema;
266
268
  export declare var CreateBatchSegmentJob: StaticOperationSchema;
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.940.0",
4
+ "version": "3.943.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",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.940.0",
24
- "@aws-sdk/credential-provider-node": "3.940.0",
23
+ "@aws-sdk/core": "3.943.0",
24
+ "@aws-sdk/credential-provider-node": "3.943.0",
25
25
  "@aws-sdk/middleware-host-header": "3.936.0",
26
26
  "@aws-sdk/middleware-logger": "3.936.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
- "@aws-sdk/middleware-user-agent": "3.940.0",
28
+ "@aws-sdk/middleware-user-agent": "3.943.0",
29
29
  "@aws-sdk/region-config-resolver": "3.936.0",
30
30
  "@aws-sdk/types": "3.936.0",
31
31
  "@aws-sdk/util-endpoints": "3.936.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.936.0",
33
- "@aws-sdk/util-user-agent-node": "3.940.0",
33
+ "@aws-sdk/util-user-agent-node": "3.943.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
35
  "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",