@aws-sdk/client-customer-profiles 3.1078.0 → 3.1080.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
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1077.0";
72
+ var version = "3.1079.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -230,6 +230,7 @@ const _APC = "AllowProfileCreation";
230
230
  const _APK = "AddProfileKey";
231
231
  const _APKR = "AddProfileKeyRequest";
232
232
  const _APKRd = "AddProfileKeyResponse";
233
+ const _ARVN = "ActiveRecommenderVersionName";
233
234
  const _ASK = "AdditionalSearchKey";
234
235
  const _ASKd = "AdditionalSearchKeys";
235
236
  const _AT = "ActionType";
@@ -338,6 +339,7 @@ const _CSS = "CreateSegmentSnapshot";
338
339
  const _CSSR = "CreateSegmentSnapshotRequest";
339
340
  const _CSSRr = "CreateSegmentSnapshotResponse";
340
341
  const _CT = "ContactType";
342
+ const _CTa = "CapType";
341
343
  const _CTl = "ClientToken";
342
344
  const _CTo = "ContentType";
343
345
  const _CTon = "ConnectorType";
@@ -353,9 +355,13 @@ const _Cont = "Content";
353
355
  const _Conte = "Context";
354
356
  const _Cou = "Country";
355
357
  const _D = "Description";
358
+ const _DC = "DiversityColumn";
356
359
  const _DCAD = "DeleteCalculatedAttributeDefinition";
357
360
  const _DCADR = "DeleteCalculatedAttributeDefinitionRequest";
358
361
  const _DCADRe = "DeleteCalculatedAttributeDefinitionResponse";
362
+ const _DCL = "DiversityColumnsList";
363
+ const _DCi = "DiversityConfig";
364
+ const _DCiv = "DiversityColumns";
359
365
  const _DD = "DateDimension";
360
366
  const _DDL = "DeleteDomainLayout";
361
367
  const _DDLR = "DeleteDomainLayoutRequest";
@@ -842,6 +848,7 @@ const _RBMR = "RuleBasedMatchingRequest";
842
848
  const _RBMRu = "RuleBasedMatchingResponse";
843
849
  const _RC = "RecommenderConfig";
844
850
  const _RCe = "RecommenderContext";
851
+ const _RDC = "RecommendationDiversityConfig";
845
852
  const _RF = "RecommenderFilters";
846
853
  const _RFA = "RecommenderFilterArn";
847
854
  const _RFAV = "RecommenderFilterAttributeValue";
@@ -875,6 +882,7 @@ const _RSSL = "RecommenderSchemaSummaryList";
875
882
  const _RSe = "RecommenderSchemas";
876
883
  const _RSec = "RecommenderSummary";
877
884
  const _RU = "RecommenderUpdate";
885
+ const _RVN = "RecommenderVersionName";
878
886
  const _Re = "Readiness";
879
887
  const _Rec = "Recommendations";
880
888
  const _Reco = "Recommenders";
@@ -1637,6 +1645,16 @@ var DetectProfileObjectTypeResponse$ = [3, n0, _DPOTRete,
1637
1645
  [_DPOTe],
1638
1646
  [[() => DetectedProfileObjectTypes, 0]]
1639
1647
  ];
1648
+ var DiversityColumn$ = [3, n0, _DC,
1649
+ 0,
1650
+ [_N, _CTa, _Tar],
1651
+ [0, 0, 0], 3
1652
+ ];
1653
+ var DiversityConfig$ = [3, n0, _DCi,
1654
+ 0,
1655
+ [_DCiv],
1656
+ [() => DiversityColumnsList]
1657
+ ];
1640
1658
  var DomainObjectTypeField$ = [3, n0, _DOTF,
1641
1659
  0,
1642
1660
  [_So, _Tar, _CTo, _FT],
@@ -1909,8 +1927,8 @@ var GetProfileObjectTypeTemplateResponse$ = [3, n0, _GPOTTRe,
1909
1927
  ];
1910
1928
  var GetProfileRecommendationsRequest$ = [3, n0, _GPRR,
1911
1929
  0,
1912
- [_DN, _PI, _RN, _Conte, _RF, _RPF, _CIa, _MR, _MC],
1913
- [[0, 1], [0, 1], 0, [() => RecommenderContext, 0], [() => RecommenderFilters, 0], [() => RecommenderPromotionalFilters, 0], 64 | 0, 1, () => MetadataConfig$], 3
1930
+ [_DN, _PI, _RN, _Conte, _RF, _RPF, _CIa, _MR, _MC, _DCi],
1931
+ [[0, 1], [0, 1], 0, [() => RecommenderContext, 0], [() => RecommenderFilters, 0], [() => RecommenderPromotionalFilters, 0], 64 | 0, 1, () => MetadataConfig$, () => RecommendationDiversityConfig$], 3
1914
1932
  ];
1915
1933
  var GetProfileRecommendationsResponse$ = [3, n0, _GPRRe,
1916
1934
  0,
@@ -1934,8 +1952,8 @@ var GetRecommenderRequest$ = [3, n0, _GRR,
1934
1952
  ];
1935
1953
  var GetRecommenderResponse$ = [3, n0, _GRRe,
1936
1954
  0,
1937
- [_RN, _RRN, _RSN, _RC, _D, _Sta, _LUA, _CA, _FR, _LRU, _TM, _Ta],
1938
- [0, 0, 0, () => RecommenderConfig$, [() => sensitiveText, 0], 0, 4, 4, 0, () => RecommenderUpdate$, () => TrainingMetricsList, 128 | 0], 2
1955
+ [_RN, _RRN, _RSN, _RC, _D, _Sta, _LUA, _CA, _FR, _LRU, _ARVN, _TM, _Ta],
1956
+ [0, 0, 0, () => RecommenderConfig$, [() => sensitiveText, 0], 0, 4, 4, 0, () => RecommenderUpdate$, 0, () => TrainingMetricsList, 128 | 0], 2
1939
1957
  ];
1940
1958
  var GetRecommenderSchemaRequest$ = [3, n0, _GRSR,
1941
1959
  0,
@@ -2547,10 +2565,15 @@ var Recommendation$ = [3, n0, _Recom,
2547
2565
  [_CI, _Sco],
2548
2566
  [[() => CatalogItem$, 0], 1]
2549
2567
  ];
2568
+ var RecommendationDiversityConfig$ = [3, n0, _RDC,
2569
+ 0,
2570
+ [_En, _V],
2571
+ [2, 128 | 1], 1
2572
+ ];
2550
2573
  var RecommenderConfig$ = [3, n0, _RC,
2551
2574
  0,
2552
- [_EC, _TFr, _ICn, _ICnc, _ECxc],
2553
- [() => EventsConfig$, 1, () => InferenceConfig$, [2, n0, _ICnc, 0, 0, 64 | 0], [2, n0, _ICnc, 0, 0, 64 | 0]]
2575
+ [_EC, _TFr, _ICn, _ICnc, _ECxc, _DCi],
2576
+ [() => EventsConfig$, 1, () => InferenceConfig$, [2, n0, _ICnc, 0, 0, 64 | 0], [2, n0, _ICnc, 0, 0, 64 | 0], () => DiversityConfig$]
2554
2577
  ];
2555
2578
  var RecommenderFilter$ = [3, n0, _RFe,
2556
2579
  0,
@@ -2589,8 +2612,8 @@ var RecommenderSummary$ = [3, n0, _RSec,
2589
2612
  ];
2590
2613
  var RecommenderUpdate$ = [3, n0, _RU,
2591
2614
  0,
2592
- [_RC, _Sta, _CA, _LUA, _FR],
2593
- [() => RecommenderConfig$, 0, 4, 4, 0]
2615
+ [_RC, _Sta, _CA, _LUA, _FR, _RVN],
2616
+ [() => RecommenderConfig$, 0, 4, 4, 0, 0]
2594
2617
  ];
2595
2618
  var ResultsSummary$ = [3, n0, _RS,
2596
2619
  0,
@@ -2749,8 +2772,8 @@ var Threshold$ = [3, n0, _Th,
2749
2772
  ];
2750
2773
  var TrainingMetrics$ = [3, n0, _TM,
2751
2774
  0,
2752
- [_Ti, _Me],
2753
- [4, 128 | 1]
2775
+ [_Ti, _Me, _RVN],
2776
+ [4, 128 | 1, 0]
2754
2777
  ];
2755
2778
  var TriggerConfig$ = [3, n0, _TC,
2756
2779
  0,
@@ -2829,8 +2852,8 @@ var UpdateProfileResponse$ = [3, n0, _UPRp,
2829
2852
  ];
2830
2853
  var UpdateRecommenderRequest$ = [3, n0, _URRp,
2831
2854
  0,
2832
- [_DN, _RN, _D, _RC],
2833
- [[0, 1], [0, 1], [() => sensitiveText, 0], () => RecommenderConfig$], 2
2855
+ [_DN, _RN, _D, _RC, _RVN],
2856
+ [[0, 1], [0, 1], [() => sensitiveText, 0], () => RecommenderConfig$, 0], 2
2834
2857
  ];
2835
2858
  var UpdateRecommenderResponse$ = [3, n0, _URRpd,
2836
2859
  0,
@@ -2913,6 +2936,9 @@ var DimensionList = [1, n0, _DL,
2913
2936
  0, [() => Dimension$,
2914
2937
  0]
2915
2938
  ];
2939
+ var DiversityColumnsList = [1, n0, _DCL,
2940
+ 0, () => DiversityColumn$
2941
+ ];
2916
2942
  var DomainList = [1, n0, _DLo,
2917
2943
  0, () => ListDomainItem$
2918
2944
  ];
@@ -4396,6 +4422,10 @@ const PeriodUnit = {
4396
4422
  const WorkflowType = {
4397
4423
  APPFLOW_INTEGRATION: "APPFLOW_INTEGRATION",
4398
4424
  };
4425
+ const DiversityCapType = {
4426
+ PERCENTAGE: "PERCENTAGE",
4427
+ VALUE: "VALUE",
4428
+ };
4399
4429
  const RecommenderRecipeName = {
4400
4430
  FREQUENTLY_PAIRED_ITEMS: "frequently-paired-items",
4401
4431
  PERSONALIZED_RANKING: "personalized-ranking",
@@ -4759,6 +4789,9 @@ exports.DetectProfileObjectTypeRequest$ = DetectProfileObjectTypeRequest$;
4759
4789
  exports.DetectProfileObjectTypeResponse$ = DetectProfileObjectTypeResponse$;
4760
4790
  exports.DetectedProfileObjectType$ = DetectedProfileObjectType$;
4761
4791
  exports.Dimension$ = Dimension$;
4792
+ exports.DiversityCapType = DiversityCapType;
4793
+ exports.DiversityColumn$ = DiversityColumn$;
4794
+ exports.DiversityConfig$ = DiversityConfig$;
4762
4795
  exports.DomainObjectTypeField$ = DomainObjectTypeField$;
4763
4796
  exports.DomainObjectTypesListItem$ = DomainObjectTypesListItem$;
4764
4797
  exports.DomainStats$ = DomainStats$;
@@ -5086,6 +5119,7 @@ exports.RangeUnit = RangeUnit;
5086
5119
  exports.Readiness$ = Readiness$;
5087
5120
  exports.ReadinessStatus = ReadinessStatus;
5088
5121
  exports.Recommendation$ = Recommendation$;
5122
+ exports.RecommendationDiversityConfig$ = RecommendationDiversityConfig$;
5089
5123
  exports.RecommenderConfig$ = RecommenderConfig$;
5090
5124
  exports.RecommenderFilter$ = RecommenderFilter$;
5091
5125
  exports.RecommenderFilterStatus = RecommenderFilterStatus;
@@ -324,6 +324,10 @@ export const PeriodUnit = {
324
324
  export const WorkflowType = {
325
325
  APPFLOW_INTEGRATION: "APPFLOW_INTEGRATION",
326
326
  };
327
+ export const DiversityCapType = {
328
+ PERCENTAGE: "PERCENTAGE",
329
+ VALUE: "VALUE",
330
+ };
327
331
  export const RecommenderRecipeName = {
328
332
  FREQUENTLY_PAIRED_ITEMS: "frequently-paired-items",
329
333
  PERSONALIZED_RANKING: "personalized-ranking",
@@ -19,6 +19,7 @@ const _APC = "AllowProfileCreation";
19
19
  const _APK = "AddProfileKey";
20
20
  const _APKR = "AddProfileKeyRequest";
21
21
  const _APKRd = "AddProfileKeyResponse";
22
+ const _ARVN = "ActiveRecommenderVersionName";
22
23
  const _ASK = "AdditionalSearchKey";
23
24
  const _ASKd = "AdditionalSearchKeys";
24
25
  const _AT = "ActionType";
@@ -127,6 +128,7 @@ const _CSS = "CreateSegmentSnapshot";
127
128
  const _CSSR = "CreateSegmentSnapshotRequest";
128
129
  const _CSSRr = "CreateSegmentSnapshotResponse";
129
130
  const _CT = "ContactType";
131
+ const _CTa = "CapType";
130
132
  const _CTl = "ClientToken";
131
133
  const _CTo = "ContentType";
132
134
  const _CTon = "ConnectorType";
@@ -142,9 +144,13 @@ const _Cont = "Content";
142
144
  const _Conte = "Context";
143
145
  const _Cou = "Country";
144
146
  const _D = "Description";
147
+ const _DC = "DiversityColumn";
145
148
  const _DCAD = "DeleteCalculatedAttributeDefinition";
146
149
  const _DCADR = "DeleteCalculatedAttributeDefinitionRequest";
147
150
  const _DCADRe = "DeleteCalculatedAttributeDefinitionResponse";
151
+ const _DCL = "DiversityColumnsList";
152
+ const _DCi = "DiversityConfig";
153
+ const _DCiv = "DiversityColumns";
148
154
  const _DD = "DateDimension";
149
155
  const _DDL = "DeleteDomainLayout";
150
156
  const _DDLR = "DeleteDomainLayoutRequest";
@@ -631,6 +637,7 @@ const _RBMR = "RuleBasedMatchingRequest";
631
637
  const _RBMRu = "RuleBasedMatchingResponse";
632
638
  const _RC = "RecommenderConfig";
633
639
  const _RCe = "RecommenderContext";
640
+ const _RDC = "RecommendationDiversityConfig";
634
641
  const _RF = "RecommenderFilters";
635
642
  const _RFA = "RecommenderFilterArn";
636
643
  const _RFAV = "RecommenderFilterAttributeValue";
@@ -664,6 +671,7 @@ const _RSSL = "RecommenderSchemaSummaryList";
664
671
  const _RSe = "RecommenderSchemas";
665
672
  const _RSec = "RecommenderSummary";
666
673
  const _RU = "RecommenderUpdate";
674
+ const _RVN = "RecommenderVersionName";
667
675
  const _Re = "Readiness";
668
676
  const _Rec = "Recommendations";
669
677
  const _Reco = "Recommenders";
@@ -1429,6 +1437,16 @@ export var DetectProfileObjectTypeResponse$ = [3, n0, _DPOTRete,
1429
1437
  [_DPOTe],
1430
1438
  [[() => DetectedProfileObjectTypes, 0]]
1431
1439
  ];
1440
+ export var DiversityColumn$ = [3, n0, _DC,
1441
+ 0,
1442
+ [_N, _CTa, _Tar],
1443
+ [0, 0, 0], 3
1444
+ ];
1445
+ export var DiversityConfig$ = [3, n0, _DCi,
1446
+ 0,
1447
+ [_DCiv],
1448
+ [() => DiversityColumnsList]
1449
+ ];
1432
1450
  export var DomainObjectTypeField$ = [3, n0, _DOTF,
1433
1451
  0,
1434
1452
  [_So, _Tar, _CTo, _FT],
@@ -1701,8 +1719,8 @@ export var GetProfileObjectTypeTemplateResponse$ = [3, n0, _GPOTTRe,
1701
1719
  ];
1702
1720
  export var GetProfileRecommendationsRequest$ = [3, n0, _GPRR,
1703
1721
  0,
1704
- [_DN, _PI, _RN, _Conte, _RF, _RPF, _CIa, _MR, _MC],
1705
- [[0, 1], [0, 1], 0, [() => RecommenderContext, 0], [() => RecommenderFilters, 0], [() => RecommenderPromotionalFilters, 0], 64 | 0, 1, () => MetadataConfig$], 3
1722
+ [_DN, _PI, _RN, _Conte, _RF, _RPF, _CIa, _MR, _MC, _DCi],
1723
+ [[0, 1], [0, 1], 0, [() => RecommenderContext, 0], [() => RecommenderFilters, 0], [() => RecommenderPromotionalFilters, 0], 64 | 0, 1, () => MetadataConfig$, () => RecommendationDiversityConfig$], 3
1706
1724
  ];
1707
1725
  export var GetProfileRecommendationsResponse$ = [3, n0, _GPRRe,
1708
1726
  0,
@@ -1726,8 +1744,8 @@ export var GetRecommenderRequest$ = [3, n0, _GRR,
1726
1744
  ];
1727
1745
  export var GetRecommenderResponse$ = [3, n0, _GRRe,
1728
1746
  0,
1729
- [_RN, _RRN, _RSN, _RC, _D, _Sta, _LUA, _CA, _FR, _LRU, _TM, _Ta],
1730
- [0, 0, 0, () => RecommenderConfig$, [() => sensitiveText, 0], 0, 4, 4, 0, () => RecommenderUpdate$, () => TrainingMetricsList, 128 | 0], 2
1747
+ [_RN, _RRN, _RSN, _RC, _D, _Sta, _LUA, _CA, _FR, _LRU, _ARVN, _TM, _Ta],
1748
+ [0, 0, 0, () => RecommenderConfig$, [() => sensitiveText, 0], 0, 4, 4, 0, () => RecommenderUpdate$, 0, () => TrainingMetricsList, 128 | 0], 2
1731
1749
  ];
1732
1750
  export var GetRecommenderSchemaRequest$ = [3, n0, _GRSR,
1733
1751
  0,
@@ -2339,10 +2357,15 @@ export var Recommendation$ = [3, n0, _Recom,
2339
2357
  [_CI, _Sco],
2340
2358
  [[() => CatalogItem$, 0], 1]
2341
2359
  ];
2360
+ export var RecommendationDiversityConfig$ = [3, n0, _RDC,
2361
+ 0,
2362
+ [_En, _V],
2363
+ [2, 128 | 1], 1
2364
+ ];
2342
2365
  export var RecommenderConfig$ = [3, n0, _RC,
2343
2366
  0,
2344
- [_EC, _TFr, _ICn, _ICnc, _ECxc],
2345
- [() => EventsConfig$, 1, () => InferenceConfig$, [2, n0, _ICnc, 0, 0, 64 | 0], [2, n0, _ICnc, 0, 0, 64 | 0]]
2367
+ [_EC, _TFr, _ICn, _ICnc, _ECxc, _DCi],
2368
+ [() => EventsConfig$, 1, () => InferenceConfig$, [2, n0, _ICnc, 0, 0, 64 | 0], [2, n0, _ICnc, 0, 0, 64 | 0], () => DiversityConfig$]
2346
2369
  ];
2347
2370
  export var RecommenderFilter$ = [3, n0, _RFe,
2348
2371
  0,
@@ -2381,8 +2404,8 @@ export var RecommenderSummary$ = [3, n0, _RSec,
2381
2404
  ];
2382
2405
  export var RecommenderUpdate$ = [3, n0, _RU,
2383
2406
  0,
2384
- [_RC, _Sta, _CA, _LUA, _FR],
2385
- [() => RecommenderConfig$, 0, 4, 4, 0]
2407
+ [_RC, _Sta, _CA, _LUA, _FR, _RVN],
2408
+ [() => RecommenderConfig$, 0, 4, 4, 0, 0]
2386
2409
  ];
2387
2410
  export var ResultsSummary$ = [3, n0, _RS,
2388
2411
  0,
@@ -2541,8 +2564,8 @@ export var Threshold$ = [3, n0, _Th,
2541
2564
  ];
2542
2565
  export var TrainingMetrics$ = [3, n0, _TM,
2543
2566
  0,
2544
- [_Ti, _Me],
2545
- [4, 128 | 1]
2567
+ [_Ti, _Me, _RVN],
2568
+ [4, 128 | 1, 0]
2546
2569
  ];
2547
2570
  export var TriggerConfig$ = [3, n0, _TC,
2548
2571
  0,
@@ -2621,8 +2644,8 @@ export var UpdateProfileResponse$ = [3, n0, _UPRp,
2621
2644
  ];
2622
2645
  export var UpdateRecommenderRequest$ = [3, n0, _URRp,
2623
2646
  0,
2624
- [_DN, _RN, _D, _RC],
2625
- [[0, 1], [0, 1], [() => sensitiveText, 0], () => RecommenderConfig$], 2
2647
+ [_DN, _RN, _D, _RC, _RVN],
2648
+ [[0, 1], [0, 1], [() => sensitiveText, 0], () => RecommenderConfig$, 0], 2
2626
2649
  ];
2627
2650
  export var UpdateRecommenderResponse$ = [3, n0, _URRpd,
2628
2651
  0,
@@ -2711,6 +2734,9 @@ var DimensionList = [1, n0, _DL,
2711
2734
  0, [() => Dimension$,
2712
2735
  0]
2713
2736
  ];
2737
+ var DiversityColumnsList = [1, n0, _DCL,
2738
+ 0, () => DiversityColumn$
2739
+ ];
2714
2740
  var DomainList = [1, n0, _DLo,
2715
2741
  0, () => ListDomainItem$
2716
2742
  ];
@@ -2915,6 +2941,7 @@ var CustomAttributes = [2, n0, _CAu,
2915
2941
  [() => AttributeDimension$,
2916
2942
  0]
2917
2943
  ];
2944
+ var DiversityValuesMap = 128 | 1;
2918
2945
  var DomainObjectTypeFields = [2, n0, _DOTFo,
2919
2946
  0, 0, () => DomainObjectTypeField$
2920
2947
  ];
@@ -61,6 +61,15 @@ declare const CreateRecommenderCommand_base: {
61
61
  * "STRING_VALUE",
62
62
  * ],
63
63
  * },
64
+ * DiversityConfig: { // DiversityConfig
65
+ * DiversityColumns: [ // DiversityColumnsList
66
+ * { // DiversityColumn
67
+ * Name: "STRING_VALUE", // required
68
+ * CapType: "PERCENTAGE" || "VALUE", // required
69
+ * Target: "STRING_VALUE", // required
70
+ * },
71
+ * ],
72
+ * },
64
73
  * },
65
74
  * Description: "STRING_VALUE",
66
75
  * RecommenderSchemaName: "STRING_VALUE",
@@ -67,6 +67,12 @@ declare const GetProfileRecommendationsCommand_base: {
67
67
  * "STRING_VALUE",
68
68
  * ],
69
69
  * },
70
+ * DiversityConfig: { // RecommendationDiversityConfig
71
+ * Enabled: true || false, // required
72
+ * Values: { // DiversityValuesMap
73
+ * "<keys>": Number("int"),
74
+ * },
75
+ * },
70
76
  * };
71
77
  * const command = new GetProfileRecommendationsCommand(input);
72
78
  * const response = await client.send(command);
@@ -68,6 +68,15 @@ declare const GetRecommenderCommand_base: {
68
68
  * // "STRING_VALUE",
69
69
  * // ],
70
70
  * // },
71
+ * // DiversityConfig: { // DiversityConfig
72
+ * // DiversityColumns: [ // DiversityColumnsList
73
+ * // { // DiversityColumn
74
+ * // Name: "STRING_VALUE", // required
75
+ * // CapType: "PERCENTAGE" || "VALUE", // required
76
+ * // Target: "STRING_VALUE", // required
77
+ * // },
78
+ * // ],
79
+ * // },
71
80
  * // },
72
81
  * // Description: "STRING_VALUE",
73
82
  * // Status: "PENDING" || "IN_PROGRESS" || "ACTIVE" || "FAILED" || "STOPPING" || "INACTIVE" || "STARTING" || "DELETING",
@@ -99,18 +108,30 @@ declare const GetRecommenderCommand_base: {
99
108
  * // "STRING_VALUE",
100
109
  * // ],
101
110
  * // },
111
+ * // DiversityConfig: {
112
+ * // DiversityColumns: [
113
+ * // {
114
+ * // Name: "STRING_VALUE", // required
115
+ * // CapType: "PERCENTAGE" || "VALUE", // required
116
+ * // Target: "STRING_VALUE", // required
117
+ * // },
118
+ * // ],
119
+ * // },
102
120
  * // },
103
121
  * // Status: "PENDING" || "IN_PROGRESS" || "ACTIVE" || "FAILED" || "STOPPING" || "INACTIVE" || "STARTING" || "DELETING",
104
122
  * // CreatedAt: new Date("TIMESTAMP"),
105
123
  * // LastUpdatedAt: new Date("TIMESTAMP"),
106
124
  * // FailureReason: "STRING_VALUE",
125
+ * // RecommenderVersionName: "STRING_VALUE",
107
126
  * // },
127
+ * // ActiveRecommenderVersionName: "STRING_VALUE",
108
128
  * // TrainingMetrics: [ // TrainingMetricsList
109
129
  * // { // TrainingMetrics
110
130
  * // Time: new Date("TIMESTAMP"),
111
131
  * // Metrics: { // Metrics
112
132
  * // "<keys>": Number("double"),
113
133
  * // },
134
+ * // RecommenderVersionName: "STRING_VALUE",
114
135
  * // },
115
136
  * // ],
116
137
  * // Tags: { // TagMap
@@ -1,5 +1,6 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ListRecommenderSchemasRequest, ListRecommenderSchemasResponse } from "../models/models_0";
2
+ import type { ListRecommenderSchemasRequest } from "../models/models_0";
3
+ import type { ListRecommenderSchemasResponse } from "../models/models_1";
3
4
  /**
4
5
  * @public
5
6
  */
@@ -71,6 +71,15 @@ declare const ListRecommendersCommand_base: {
71
71
  * // "STRING_VALUE",
72
72
  * // ],
73
73
  * // },
74
+ * // DiversityConfig: { // DiversityConfig
75
+ * // DiversityColumns: [ // DiversityColumnsList
76
+ * // { // DiversityColumn
77
+ * // Name: "STRING_VALUE", // required
78
+ * // CapType: "PERCENTAGE" || "VALUE", // required
79
+ * // Target: "STRING_VALUE", // required
80
+ * // },
81
+ * // ],
82
+ * // },
74
83
  * // },
75
84
  * // CreatedAt: new Date("TIMESTAMP"),
76
85
  * // Description: "STRING_VALUE",
@@ -105,11 +114,21 @@ declare const ListRecommendersCommand_base: {
105
114
  * // "STRING_VALUE",
106
115
  * // ],
107
116
  * // },
117
+ * // DiversityConfig: {
118
+ * // DiversityColumns: [
119
+ * // {
120
+ * // Name: "STRING_VALUE", // required
121
+ * // CapType: "PERCENTAGE" || "VALUE", // required
122
+ * // Target: "STRING_VALUE", // required
123
+ * // },
124
+ * // ],
125
+ * // },
108
126
  * // },
109
127
  * // Status: "PENDING" || "IN_PROGRESS" || "ACTIVE" || "FAILED" || "STOPPING" || "INACTIVE" || "STARTING" || "DELETING",
110
128
  * // CreatedAt: new Date("TIMESTAMP"),
111
129
  * // LastUpdatedAt: new Date("TIMESTAMP"),
112
130
  * // FailureReason: "STRING_VALUE",
131
+ * // RecommenderVersionName: "STRING_VALUE",
113
132
  * // },
114
133
  * // },
115
134
  * // ],
@@ -1,6 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ListRuleBasedMatchesRequest } from "../models/models_0";
3
- import type { ListRuleBasedMatchesResponse } from "../models/models_1";
2
+ import type { ListRuleBasedMatchesRequest, ListRuleBasedMatchesResponse } from "../models/models_1";
4
3
  /**
5
4
  * @public
6
5
  */
@@ -61,7 +61,17 @@ declare const UpdateRecommenderCommand_base: {
61
61
  * "STRING_VALUE",
62
62
  * ],
63
63
  * },
64
+ * DiversityConfig: { // DiversityConfig
65
+ * DiversityColumns: [ // DiversityColumnsList
66
+ * { // DiversityColumn
67
+ * Name: "STRING_VALUE", // required
68
+ * CapType: "PERCENTAGE" || "VALUE", // required
69
+ * Target: "STRING_VALUE", // required
70
+ * },
71
+ * ],
72
+ * },
64
73
  * },
74
+ * RecommenderVersionName: "STRING_VALUE",
65
75
  * };
66
76
  * const command = new UpdateRecommenderCommand(input);
67
77
  * const response = await client.send(command);
@@ -612,6 +612,18 @@ export declare const WorkflowType: {
612
612
  * @public
613
613
  */
614
614
  export type WorkflowType = (typeof WorkflowType)[keyof typeof WorkflowType];
615
+ /**
616
+ * @public
617
+ * @enum
618
+ */
619
+ export declare const DiversityCapType: {
620
+ readonly PERCENTAGE: "PERCENTAGE";
621
+ readonly VALUE: "VALUE";
622
+ };
623
+ /**
624
+ * @public
625
+ */
626
+ export type DiversityCapType = (typeof DiversityCapType)[keyof typeof DiversityCapType];
615
627
  /**
616
628
  * @public
617
629
  * @enum
@@ -1,4 +1,4 @@
1
- import type { ActionType, AttributeDimensionType, AttributeMatchingModel, ComparisonOperator, ConflictResolvingModel, ContactType, ContentType, DataFormat, DataPullMode, DateDimensionType, EstimateStatus, EventStreamDestinationStatus, EventStreamState, EventTriggerLogicalOperator, FeatureType, FieldContentType, FilterDimensionType, Gender, IdentityResolutionJobStatus, Include, IncludeOptions, JobScheduleDayOfTheWeek, LayoutType, MarketoConnectorOperator, MatchType, Operator, OperatorPropertiesKeys, PartyType, PeriodUnit, ProfileType, ProfileTypeDimensionType, QueryResult, RangeUnit, ReadinessStatus, RecommenderFilterStatus, RecommenderRecipeName, RecommenderSchemaStatus, RecommenderStatus, RuleBasedMatchingStatus, S3ConnectorOperator, SalesforceConnectorOperator, Scope, SegmentSnapshotStatus, SegmentSortDataType, SegmentSortOrder, SegmentType, ServiceNowConnectorOperator, SortAttributeType, SourceConnectorType, StandardIdentifier, Statistic, Status, StatusReason, StringDimensionType, TaskType, TrainingMetricName, TriggerType, Type, Unit, UploadJobStatus, WorkflowType, ZendeskConnectorOperator } from "./enums";
1
+ import type { ActionType, AttributeDimensionType, AttributeMatchingModel, ComparisonOperator, ConflictResolvingModel, ContactType, ContentType, DataFormat, DataPullMode, DateDimensionType, DiversityCapType, EstimateStatus, EventStreamDestinationStatus, EventStreamState, EventTriggerLogicalOperator, FeatureType, FieldContentType, FilterDimensionType, Gender, IdentityResolutionJobStatus, Include, IncludeOptions, JobScheduleDayOfTheWeek, LayoutType, MarketoConnectorOperator, MatchType, Operator, OperatorPropertiesKeys, PartyType, PeriodUnit, ProfileType, ProfileTypeDimensionType, QueryResult, RangeUnit, ReadinessStatus, RecommenderFilterStatus, RecommenderRecipeName, RecommenderSchemaStatus, RecommenderStatus, RuleBasedMatchingStatus, S3ConnectorOperator, SalesforceConnectorOperator, Scope, SegmentSnapshotStatus, SegmentSortDataType, SegmentSortOrder, SegmentType, ServiceNowConnectorOperator, SortAttributeType, SourceConnectorType, StandardIdentifier, Statistic, Status, StatusReason, StringDimensionType, TaskType, TrainingMetricName, TriggerType, Type, Unit, UploadJobStatus, WorkflowType, ZendeskConnectorOperator } from "./enums";
2
2
  /**
3
3
  * <p>A data type pair that consists of a <code>KeyName</code> and <code>Values</code> list
4
4
  * that is used in conjunction with the <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_SearchProfiles.html#customerprofiles-SearchProfiles-request-KeyName">KeyName</a> and <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_SearchProfiles.html#customerprofiles-SearchProfiles-request-Values">Values</a> parameters to search for profiles using the <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_SearchProfiles.html">SearchProfiles</a>
@@ -2870,6 +2870,38 @@ export interface CreateProfileResponse {
2870
2870
  */
2871
2871
  ProfileId: string | undefined;
2872
2872
  }
2873
+ /**
2874
+ * <p>Defines a diversity constraint for a single item column, specifying a cap type and a target value or placeholder that controls how many recommended items may share the same column value.</p>
2875
+ * @public
2876
+ */
2877
+ export interface DiversityColumn {
2878
+ /**
2879
+ * <p>The name of the item catalog column on which to apply the diversity cap. The column must be defined in the recommender schema.</p>
2880
+ * @public
2881
+ */
2882
+ Name: string | undefined;
2883
+ /**
2884
+ * <p>The type of diversity cap to apply. Valid values are <code>PERCENTAGE</code> (interpret <code>Target</code> as a percentage of returned items) and <code>VALUE</code> (interpret <code>Target</code> as an absolute count).</p>
2885
+ * @public
2886
+ */
2887
+ CapType: DiversityCapType | undefined;
2888
+ /**
2889
+ * <p>The diversity cap target. Either an integer literal (for example, <code>"25"</code>) or a placeholder expression of the form <code>$name</code> whose value is supplied at inference time through <code>GetProfileRecommendations</code>.</p>
2890
+ * @public
2891
+ */
2892
+ Target: string | undefined;
2893
+ }
2894
+ /**
2895
+ * <p>Configuration that controls diversity of recommendation results by capping the representation of specified item columns.</p>
2896
+ * @public
2897
+ */
2898
+ export interface DiversityConfig {
2899
+ /**
2900
+ * <p>A list of up to two diversity columns. Each column defines a cap on the number or percentage of recommended items that share the same value for that column.</p>
2901
+ * @public
2902
+ */
2903
+ DiversityColumns?: DiversityColumn[] | undefined;
2904
+ }
2873
2905
  /**
2874
2906
  * <p>Configuration parameters for events in the personalization system.</p>
2875
2907
  * @public
@@ -2943,6 +2975,11 @@ export interface RecommenderConfig {
2943
2975
  * @public
2944
2976
  */
2945
2977
  ExcludedColumns?: Record<string, string[]> | undefined;
2978
+ /**
2979
+ * <p>Configuration for diversity-aware recommendations. When set, the recommender applies diversity constraints defined per item column to reduce over-concentration of similar items in the results.</p>
2980
+ * @public
2981
+ */
2982
+ DiversityConfig?: DiversityConfig | undefined;
2946
2983
  }
2947
2984
  /**
2948
2985
  * @public
@@ -5389,6 +5426,22 @@ export interface GetProfileObjectTypeTemplateResponse {
5389
5426
  */
5390
5427
  Keys?: Record<string, ObjectTypeKey[]> | undefined;
5391
5428
  }
5429
+ /**
5430
+ * <p>Runtime diversity configuration for a <code>GetProfileRecommendations</code> request.</p>
5431
+ * @public
5432
+ */
5433
+ export interface RecommendationDiversityConfig {
5434
+ /**
5435
+ * <p>Whether diversity-aware recommendations are enabled for this request.</p>
5436
+ * @public
5437
+ */
5438
+ Enabled: boolean | undefined;
5439
+ /**
5440
+ * <p>An optional map of placeholder name to integer cap value used to resolve <code>$name</code> placeholders defined in the recommender's <code>DiversityConfig</code> at inference time. Up to 2 entries are supported.</p>
5441
+ * @public
5442
+ */
5443
+ Values?: Record<string, number> | undefined;
5444
+ }
5392
5445
  /**
5393
5446
  * <p>Configuration for metadata to include in recommendation responses.</p>
5394
5447
  * @public
@@ -5491,6 +5544,11 @@ export interface GetProfileRecommendationsRequest {
5491
5544
  * @public
5492
5545
  */
5493
5546
  MetadataConfig?: MetadataConfig | undefined;
5547
+ /**
5548
+ * <p>Runtime diversity configuration for this request. Enables diversity-aware recommendations and optionally supplies values for placeholder-based diversity caps configured on the recommender.</p>
5549
+ * @public
5550
+ */
5551
+ DiversityConfig?: RecommendationDiversityConfig | undefined;
5494
5552
  }
5495
5553
  /**
5496
5554
  * <p>Represents a single recommendation generated by the recommender system.</p>
@@ -5568,6 +5626,11 @@ export interface RecommenderUpdate {
5568
5626
  * @public
5569
5627
  */
5570
5628
  FailureReason?: string | undefined;
5629
+ /**
5630
+ * <p>The name of the recommender version associated with this update operation.</p>
5631
+ * @public
5632
+ */
5633
+ RecommenderVersionName?: string | undefined;
5571
5634
  }
5572
5635
  /**
5573
5636
  * <p>Contains metrics and performance indicators from the training of a recommender model.</p>
@@ -5584,6 +5647,11 @@ export interface TrainingMetrics {
5584
5647
  * @public
5585
5648
  */
5586
5649
  Metrics?: Partial<Record<TrainingMetricName, number>> | undefined;
5650
+ /**
5651
+ * <p>The name of the recommender version that produced these training metrics.</p>
5652
+ * @public
5653
+ */
5654
+ RecommenderVersionName?: string | undefined;
5587
5655
  }
5588
5656
  /**
5589
5657
  * @public
@@ -5639,6 +5707,11 @@ export interface GetRecommenderResponse {
5639
5707
  * @public
5640
5708
  */
5641
5709
  LatestRecommenderUpdate?: RecommenderUpdate | undefined;
5710
+ /**
5711
+ * <p>The name of the recommender version currently serving recommendations. Omitted when no active recommender version is set.</p>
5712
+ * @public
5713
+ */
5714
+ ActiveRecommenderVersionName?: string | undefined;
5642
5715
  /**
5643
5716
  * <p>A set of metrics that provide information about the recommender's training performance and accuracy.</p>
5644
5717
  * @public
@@ -7881,65 +7954,3 @@ export interface ListRecommenderSchemasRequest {
7881
7954
  */
7882
7955
  NextToken?: string | undefined;
7883
7956
  }
7884
- /**
7885
- * <p>Provides a summary of a recommender schema's configuration and current state.</p>
7886
- * @public
7887
- */
7888
- export interface RecommenderSchemaSummary {
7889
- /**
7890
- * <p>The name of the recommender schema.</p>
7891
- * @public
7892
- */
7893
- RecommenderSchemaName: string | undefined;
7894
- /**
7895
- * <p>A map of dataset type to column definitions included in the schema.</p>
7896
- * @public
7897
- */
7898
- Fields: Record<string, RecommenderSchemaField[]> | undefined;
7899
- /**
7900
- * <p>The timestamp when the recommender schema was created.</p>
7901
- * @public
7902
- */
7903
- CreatedAt: Date | undefined;
7904
- /**
7905
- * <p>The current operational status of the recommender schema.</p>
7906
- * @public
7907
- */
7908
- Status: RecommenderSchemaStatus | undefined;
7909
- }
7910
- /**
7911
- * @public
7912
- */
7913
- export interface ListRecommenderSchemasResponse {
7914
- /**
7915
- * <p>A token to retrieve the next page of results. Null if there are no more results to retrieve.</p>
7916
- * @public
7917
- */
7918
- NextToken?: string | undefined;
7919
- /**
7920
- * <p>A list of recommender schemas and their properties in the specified domain.</p>
7921
- * @public
7922
- */
7923
- RecommenderSchemas?: RecommenderSchemaSummary[] | undefined;
7924
- }
7925
- /**
7926
- * @public
7927
- */
7928
- export interface ListRuleBasedMatchesRequest {
7929
- /**
7930
- * <p>The pagination token from the previous <code>ListRuleBasedMatches</code> API
7931
- * call.</p>
7932
- * @public
7933
- */
7934
- NextToken?: string | undefined;
7935
- /**
7936
- * <p>The maximum number of <code>MatchIds</code> returned per page.</p>
7937
- * @public
7938
- */
7939
- MaxResults?: number | undefined;
7940
- /**
7941
- * <p>The unique name of the domain.</p>
7942
- * @public
7943
- */
7944
- DomainName: string | undefined;
7945
- }
@@ -1,5 +1,67 @@
1
- import type { Gender, LayoutType, LogicalOperator, PartyType, ProfileType, ReadinessStatus, Scope, SegmentType, Statistic, Status, StatusReason, UploadJobStatus, WorkflowType } from "./enums";
2
- import type { AdditionalSearchKey, AttributeDetails, Conditions, DataStoreRequest, DataStoreResponse, DomainObjectTypeField, EngagementPreferences, EventTriggerCondition, EventTriggerLimits, FlowDefinition, MatchingRequest, MatchingResponse, ObjectTypeField, ObjectTypeKey, Profile, Readiness, RecommenderConfig, RuleBasedMatchingRequest, RuleBasedMatchingResponse } from "./models_0";
1
+ import type { Gender, LayoutType, LogicalOperator, PartyType, ProfileType, ReadinessStatus, RecommenderSchemaStatus, Scope, SegmentType, Statistic, Status, StatusReason, UploadJobStatus, WorkflowType } from "./enums";
2
+ import type { AdditionalSearchKey, AttributeDetails, Conditions, DataStoreRequest, DataStoreResponse, DomainObjectTypeField, EngagementPreferences, EventTriggerCondition, EventTriggerLimits, FlowDefinition, MatchingRequest, MatchingResponse, ObjectTypeField, ObjectTypeKey, Profile, Readiness, RecommenderConfig, RecommenderSchemaField, RuleBasedMatchingRequest, RuleBasedMatchingResponse } from "./models_0";
3
+ /**
4
+ * <p>Provides a summary of a recommender schema's configuration and current state.</p>
5
+ * @public
6
+ */
7
+ export interface RecommenderSchemaSummary {
8
+ /**
9
+ * <p>The name of the recommender schema.</p>
10
+ * @public
11
+ */
12
+ RecommenderSchemaName: string | undefined;
13
+ /**
14
+ * <p>A map of dataset type to column definitions included in the schema.</p>
15
+ * @public
16
+ */
17
+ Fields: Record<string, RecommenderSchemaField[]> | undefined;
18
+ /**
19
+ * <p>The timestamp when the recommender schema was created.</p>
20
+ * @public
21
+ */
22
+ CreatedAt: Date | undefined;
23
+ /**
24
+ * <p>The current operational status of the recommender schema.</p>
25
+ * @public
26
+ */
27
+ Status: RecommenderSchemaStatus | undefined;
28
+ }
29
+ /**
30
+ * @public
31
+ */
32
+ export interface ListRecommenderSchemasResponse {
33
+ /**
34
+ * <p>A token to retrieve the next page of results. Null if there are no more results to retrieve.</p>
35
+ * @public
36
+ */
37
+ NextToken?: string | undefined;
38
+ /**
39
+ * <p>A list of recommender schemas and their properties in the specified domain.</p>
40
+ * @public
41
+ */
42
+ RecommenderSchemas?: RecommenderSchemaSummary[] | undefined;
43
+ }
44
+ /**
45
+ * @public
46
+ */
47
+ export interface ListRuleBasedMatchesRequest {
48
+ /**
49
+ * <p>The pagination token from the previous <code>ListRuleBasedMatches</code> API
50
+ * call.</p>
51
+ * @public
52
+ */
53
+ NextToken?: string | undefined;
54
+ /**
55
+ * <p>The maximum number of <code>MatchIds</code> returned per page.</p>
56
+ * @public
57
+ */
58
+ MaxResults?: number | undefined;
59
+ /**
60
+ * <p>The unique name of the domain.</p>
61
+ * @public
62
+ */
63
+ DomainName: string | undefined;
64
+ }
3
65
  /**
4
66
  * @public
5
67
  */
@@ -1711,6 +1773,11 @@ export interface UpdateRecommenderRequest {
1711
1773
  * @public
1712
1774
  */
1713
1775
  RecommenderConfig?: RecommenderConfig | undefined;
1776
+ /**
1777
+ * <p>The name of a specific recommender version to activate as part of this update (for example, to roll back to a previously trained version).</p>
1778
+ * @public
1779
+ */
1780
+ RecommenderVersionName?: string | undefined;
1714
1781
  }
1715
1782
  /**
1716
1783
  * @public
@@ -115,6 +115,8 @@ export declare var DestinationSummary$: StaticStructureSchema;
115
115
  export declare var DetectedProfileObjectType$: StaticStructureSchema;
116
116
  export declare var DetectProfileObjectTypeRequest$: StaticStructureSchema;
117
117
  export declare var DetectProfileObjectTypeResponse$: StaticStructureSchema;
118
+ export declare var DiversityColumn$: StaticStructureSchema;
119
+ export declare var DiversityConfig$: StaticStructureSchema;
118
120
  export declare var DomainObjectTypeField$: StaticStructureSchema;
119
121
  export declare var DomainObjectTypesListItem$: StaticStructureSchema;
120
122
  export declare var DomainStats$: StaticStructureSchema;
@@ -297,6 +299,7 @@ export declare var Range$: StaticStructureSchema;
297
299
  export declare var RangeOverride$: StaticStructureSchema;
298
300
  export declare var Readiness$: StaticStructureSchema;
299
301
  export declare var Recommendation$: StaticStructureSchema;
302
+ export declare var RecommendationDiversityConfig$: StaticStructureSchema;
300
303
  export declare var RecommenderConfig$: StaticStructureSchema;
301
304
  export declare var RecommenderFilter$: StaticStructureSchema;
302
305
  export declare var RecommenderFilterSummary$: StaticStructureSchema;
@@ -1,8 +1,6 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- ListRecommenderSchemasRequest,
4
- ListRecommenderSchemasResponse,
5
- } from "../models/models_0";
2
+ import { ListRecommenderSchemasRequest } from "../models/models_0";
3
+ import { ListRecommenderSchemasResponse } from "../models/models_1";
6
4
  export { __MetadataBearer };
7
5
  export interface ListRecommenderSchemasCommandInput
8
6
  extends ListRecommenderSchemasRequest {}
@@ -1,6 +1,8 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { ListRuleBasedMatchesRequest } from "../models/models_0";
3
- import { ListRuleBasedMatchesResponse } from "../models/models_1";
2
+ import {
3
+ ListRuleBasedMatchesRequest,
4
+ ListRuleBasedMatchesResponse,
5
+ } from "../models/models_1";
4
6
  export { __MetadataBearer };
5
7
  export interface ListRuleBasedMatchesCommandInput
6
8
  extends ListRuleBasedMatchesRequest {}
@@ -377,6 +377,12 @@ export declare const WorkflowType: {
377
377
  readonly APPFLOW_INTEGRATION: "APPFLOW_INTEGRATION";
378
378
  };
379
379
  export type WorkflowType = (typeof WorkflowType)[keyof typeof WorkflowType];
380
+ export declare const DiversityCapType: {
381
+ readonly PERCENTAGE: "PERCENTAGE";
382
+ readonly VALUE: "VALUE";
383
+ };
384
+ export type DiversityCapType =
385
+ (typeof DiversityCapType)[keyof typeof DiversityCapType];
380
386
  export declare const RecommenderRecipeName: {
381
387
  readonly FREQUENTLY_PAIRED_ITEMS: "frequently-paired-items";
382
388
  readonly PERSONALIZED_RANKING: "personalized-ranking";
@@ -9,6 +9,7 @@ import {
9
9
  DataFormat,
10
10
  DataPullMode,
11
11
  DateDimensionType,
12
+ DiversityCapType,
12
13
  EstimateStatus,
13
14
  EventStreamDestinationStatus,
14
15
  EventStreamState,
@@ -642,6 +643,14 @@ export interface CreateProfileRequest {
642
643
  export interface CreateProfileResponse {
643
644
  ProfileId: string | undefined;
644
645
  }
646
+ export interface DiversityColumn {
647
+ Name: string | undefined;
648
+ CapType: DiversityCapType | undefined;
649
+ Target: string | undefined;
650
+ }
651
+ export interface DiversityConfig {
652
+ DiversityColumns?: DiversityColumn[] | undefined;
653
+ }
645
654
  export interface EventParameters {
646
655
  EventType: string | undefined;
647
656
  EventValueThreshold?: number | undefined;
@@ -659,6 +668,7 @@ export interface RecommenderConfig {
659
668
  InferenceConfig?: InferenceConfig | undefined;
660
669
  IncludedColumns?: Record<string, string[]> | undefined;
661
670
  ExcludedColumns?: Record<string, string[]> | undefined;
671
+ DiversityConfig?: DiversityConfig | undefined;
662
672
  }
663
673
  export interface CreateRecommenderRequest {
664
674
  DomainName: string | undefined;
@@ -1235,6 +1245,10 @@ export interface GetProfileObjectTypeTemplateResponse {
1235
1245
  Fields?: Record<string, ObjectTypeField> | undefined;
1236
1246
  Keys?: Record<string, ObjectTypeKey[]> | undefined;
1237
1247
  }
1248
+ export interface RecommendationDiversityConfig {
1249
+ Enabled: boolean | undefined;
1250
+ Values?: Record<string, number> | undefined;
1251
+ }
1238
1252
  export interface MetadataConfig {
1239
1253
  MetadataColumns?: string[] | undefined;
1240
1254
  }
@@ -1258,6 +1272,7 @@ export interface GetProfileRecommendationsRequest {
1258
1272
  CandidateIds?: string[] | undefined;
1259
1273
  MaxResults?: number | undefined;
1260
1274
  MetadataConfig?: MetadataConfig | undefined;
1275
+ DiversityConfig?: RecommendationDiversityConfig | undefined;
1261
1276
  }
1262
1277
  export interface Recommendation {
1263
1278
  CatalogItem?: CatalogItem | undefined;
@@ -1277,10 +1292,12 @@ export interface RecommenderUpdate {
1277
1292
  CreatedAt?: Date | undefined;
1278
1293
  LastUpdatedAt?: Date | undefined;
1279
1294
  FailureReason?: string | undefined;
1295
+ RecommenderVersionName?: string | undefined;
1280
1296
  }
1281
1297
  export interface TrainingMetrics {
1282
1298
  Time?: Date | undefined;
1283
1299
  Metrics?: Partial<Record<TrainingMetricName, number>> | undefined;
1300
+ RecommenderVersionName?: string | undefined;
1284
1301
  }
1285
1302
  export interface GetRecommenderResponse {
1286
1303
  RecommenderName: string | undefined;
@@ -1293,6 +1310,7 @@ export interface GetRecommenderResponse {
1293
1310
  CreatedAt?: Date | undefined;
1294
1311
  FailureReason?: string | undefined;
1295
1312
  LatestRecommenderUpdate?: RecommenderUpdate | undefined;
1313
+ ActiveRecommenderVersionName?: string | undefined;
1296
1314
  TrainingMetrics?: TrainingMetrics[] | undefined;
1297
1315
  Tags?: Record<string, string> | undefined;
1298
1316
  }
@@ -1797,18 +1815,3 @@ export interface ListRecommenderSchemasRequest {
1797
1815
  MaxResults?: number | undefined;
1798
1816
  NextToken?: string | undefined;
1799
1817
  }
1800
- export interface RecommenderSchemaSummary {
1801
- RecommenderSchemaName: string | undefined;
1802
- Fields: Record<string, RecommenderSchemaField[]> | undefined;
1803
- CreatedAt: Date | undefined;
1804
- Status: RecommenderSchemaStatus | undefined;
1805
- }
1806
- export interface ListRecommenderSchemasResponse {
1807
- NextToken?: string | undefined;
1808
- RecommenderSchemas?: RecommenderSchemaSummary[] | undefined;
1809
- }
1810
- export interface ListRuleBasedMatchesRequest {
1811
- NextToken?: string | undefined;
1812
- MaxResults?: number | undefined;
1813
- DomainName: string | undefined;
1814
- }
@@ -5,6 +5,7 @@ import {
5
5
  PartyType,
6
6
  ProfileType,
7
7
  ReadinessStatus,
8
+ RecommenderSchemaStatus,
8
9
  Scope,
9
10
  SegmentType,
10
11
  Statistic,
@@ -31,9 +32,25 @@ import {
31
32
  Profile,
32
33
  Readiness,
33
34
  RecommenderConfig,
35
+ RecommenderSchemaField,
34
36
  RuleBasedMatchingRequest,
35
37
  RuleBasedMatchingResponse,
36
38
  } from "./models_0";
39
+ export interface RecommenderSchemaSummary {
40
+ RecommenderSchemaName: string | undefined;
41
+ Fields: Record<string, RecommenderSchemaField[]> | undefined;
42
+ CreatedAt: Date | undefined;
43
+ Status: RecommenderSchemaStatus | undefined;
44
+ }
45
+ export interface ListRecommenderSchemasResponse {
46
+ NextToken?: string | undefined;
47
+ RecommenderSchemas?: RecommenderSchemaSummary[] | undefined;
48
+ }
49
+ export interface ListRuleBasedMatchesRequest {
50
+ NextToken?: string | undefined;
51
+ MaxResults?: number | undefined;
52
+ DomainName: string | undefined;
53
+ }
37
54
  export interface ListRuleBasedMatchesResponse {
38
55
  MatchIds?: string[] | undefined;
39
56
  NextToken?: string | undefined;
@@ -393,6 +410,7 @@ export interface UpdateRecommenderRequest {
393
410
  RecommenderName: string | undefined;
394
411
  Description?: string | undefined;
395
412
  RecommenderConfig?: RecommenderConfig | undefined;
413
+ RecommenderVersionName?: string | undefined;
396
414
  }
397
415
  export interface UpdateRecommenderResponse {
398
416
  RecommenderName: string | undefined;
@@ -115,6 +115,8 @@ export declare var DestinationSummary$: StaticStructureSchema;
115
115
  export declare var DetectedProfileObjectType$: StaticStructureSchema;
116
116
  export declare var DetectProfileObjectTypeRequest$: StaticStructureSchema;
117
117
  export declare var DetectProfileObjectTypeResponse$: StaticStructureSchema;
118
+ export declare var DiversityColumn$: StaticStructureSchema;
119
+ export declare var DiversityConfig$: StaticStructureSchema;
118
120
  export declare var DomainObjectTypeField$: StaticStructureSchema;
119
121
  export declare var DomainObjectTypesListItem$: StaticStructureSchema;
120
122
  export declare var DomainStats$: StaticStructureSchema;
@@ -297,6 +299,7 @@ export declare var Range$: StaticStructureSchema;
297
299
  export declare var RangeOverride$: StaticStructureSchema;
298
300
  export declare var Readiness$: StaticStructureSchema;
299
301
  export declare var Recommendation$: StaticStructureSchema;
302
+ export declare var RecommendationDiversityConfig$: StaticStructureSchema;
300
303
  export declare var RecommenderConfig$: StaticStructureSchema;
301
304
  export declare var RecommenderFilter$: StaticStructureSchema;
302
305
  export declare var RecommenderFilterSummary$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-customer-profiles",
3
3
  "description": "AWS SDK for JavaScript Customer Profiles Client for Node.js, Browser and React Native",
4
- "version": "3.1078.0",
4
+ "version": "3.1080.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -19,8 +19,8 @@
19
19
  "module": "./dist-es/index.js",
20
20
  "sideEffects": false,
21
21
  "dependencies": {
22
- "@aws-sdk/core": "^3.974.26",
23
- "@aws-sdk/credential-provider-node": "^3.972.61",
22
+ "@aws-sdk/core": "^3.974.28",
23
+ "@aws-sdk/credential-provider-node": "^3.972.63",
24
24
  "@aws-sdk/types": "^3.973.15",
25
25
  "@smithy/core": "^3.29.0",
26
26
  "@smithy/fetch-http-handler": "^5.6.2",