@aws-sdk/client-customer-profiles 3.1006.0 → 3.1007.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -0
- package/dist-cjs/index.js +69 -0
- package/dist-cjs/schemas/schemas_0.js +144 -14
- package/dist-es/CustomerProfiles.js +10 -0
- package/dist-es/commands/CreateRecommenderFilterCommand.js +16 -0
- package/dist-es/commands/DeleteRecommenderFilterCommand.js +16 -0
- package/dist-es/commands/GetRecommenderFilterCommand.js +16 -0
- package/dist-es/commands/ListRecommenderFiltersCommand.js +16 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/enums.js +8 -0
- package/dist-es/pagination/ListRecommenderFiltersPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +136 -6
- package/dist-types/CustomerProfiles.d.ts +35 -0
- package/dist-types/CustomerProfilesClient.d.ts +6 -2
- package/dist-types/commands/CreateRecommenderCommand.d.ts +5 -1
- package/dist-types/commands/CreateRecommenderFilterCommand.d.ts +98 -0
- package/dist-types/commands/DeleteRecommenderFilterCommand.d.ts +90 -0
- package/dist-types/commands/GetProfileRecommendationsCommand.d.ts +26 -0
- package/dist-types/commands/GetRecommenderCommand.d.ts +9 -1
- package/dist-types/commands/GetRecommenderFilterCommand.d.ts +98 -0
- package/dist-types/commands/ListRecommenderFiltersCommand.d.ts +104 -0
- package/dist-types/commands/ListRecommenderRecipesCommand.d.ts +1 -1
- package/dist-types/commands/ListRecommendersCommand.d.ts +9 -1
- package/dist-types/commands/PutIntegrationCommand.d.ts +1 -1
- package/dist-types/commands/PutProfileObjectCommand.d.ts +1 -1
- package/dist-types/commands/PutProfileObjectTypeCommand.d.ts +1 -1
- package/dist-types/commands/SearchProfilesCommand.d.ts +1 -1
- package/dist-types/commands/StartRecommenderCommand.d.ts +1 -1
- package/dist-types/commands/StartUploadJobCommand.d.ts +1 -1
- package/dist-types/commands/StopRecommenderCommand.d.ts +1 -2
- package/dist-types/commands/UpdateRecommenderCommand.d.ts +4 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/enums.d.ts +16 -0
- package/dist-types/models/models_0.d.ts +297 -465
- package/dist-types/models/models_1.d.ts +465 -2
- package/dist-types/pagination/ListRecommenderFiltersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +17 -0
- package/dist-types/ts3.4/CustomerProfiles.d.ts +75 -0
- package/dist-types/ts3.4/CustomerProfilesClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CreateRecommenderFilterCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteRecommenderFilterCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetRecommenderFilterCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListRecommenderFiltersCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutIntegrationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutProfileObjectCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutProfileObjectTypeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SearchProfilesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartRecommenderCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartUploadJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopRecommenderCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/enums.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +73 -94
- package/dist-types/ts3.4/models/models_1.d.ts +99 -0
- package/dist-types/ts3.4/pagination/ListRecommenderFiltersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +17 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -296,6 +296,13 @@ CreateRecommender
|
|
|
296
296
|
</details>
|
|
297
297
|
<details>
|
|
298
298
|
<summary>
|
|
299
|
+
CreateRecommenderFilter
|
|
300
|
+
</summary>
|
|
301
|
+
|
|
302
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/customer-profiles/command/CreateRecommenderFilterCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/CreateRecommenderFilterCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/CreateRecommenderFilterCommandOutput/)
|
|
303
|
+
</details>
|
|
304
|
+
<details>
|
|
305
|
+
<summary>
|
|
299
306
|
CreateSegmentDefinition
|
|
300
307
|
</summary>
|
|
301
308
|
|
|
@@ -408,6 +415,13 @@ DeleteRecommender
|
|
|
408
415
|
</details>
|
|
409
416
|
<details>
|
|
410
417
|
<summary>
|
|
418
|
+
DeleteRecommenderFilter
|
|
419
|
+
</summary>
|
|
420
|
+
|
|
421
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/customer-profiles/command/DeleteRecommenderFilterCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/DeleteRecommenderFilterCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/DeleteRecommenderFilterCommandOutput/)
|
|
422
|
+
</details>
|
|
423
|
+
<details>
|
|
424
|
+
<summary>
|
|
411
425
|
DeleteSegmentDefinition
|
|
412
426
|
</summary>
|
|
413
427
|
|
|
@@ -548,6 +562,13 @@ GetRecommender
|
|
|
548
562
|
</details>
|
|
549
563
|
<details>
|
|
550
564
|
<summary>
|
|
565
|
+
GetRecommenderFilter
|
|
566
|
+
</summary>
|
|
567
|
+
|
|
568
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/customer-profiles/command/GetRecommenderFilterCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/GetRecommenderFilterCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/GetRecommenderFilterCommandOutput/)
|
|
569
|
+
</details>
|
|
570
|
+
<details>
|
|
571
|
+
<summary>
|
|
551
572
|
GetSegmentDefinition
|
|
552
573
|
</summary>
|
|
553
574
|
|
|
@@ -730,6 +751,13 @@ ListProfileObjectTypeTemplates
|
|
|
730
751
|
</details>
|
|
731
752
|
<details>
|
|
732
753
|
<summary>
|
|
754
|
+
ListRecommenderFilters
|
|
755
|
+
</summary>
|
|
756
|
+
|
|
757
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/customer-profiles/command/ListRecommenderFiltersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/ListRecommenderFiltersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/ListRecommenderFiltersCommandOutput/)
|
|
758
|
+
</details>
|
|
759
|
+
<details>
|
|
760
|
+
<summary>
|
|
733
761
|
ListRecommenderRecipes
|
|
734
762
|
</summary>
|
|
735
763
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -245,6 +245,18 @@ class CreateRecommenderCommand extends smithyClient.Command
|
|
|
245
245
|
.build() {
|
|
246
246
|
}
|
|
247
247
|
|
|
248
|
+
class CreateRecommenderFilterCommand extends smithyClient.Command
|
|
249
|
+
.classBuilder()
|
|
250
|
+
.ep(commonParams)
|
|
251
|
+
.m(function (Command, cs, config, o) {
|
|
252
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
253
|
+
})
|
|
254
|
+
.s("CustomerProfiles_20200815", "CreateRecommenderFilter", {})
|
|
255
|
+
.n("CustomerProfilesClient", "CreateRecommenderFilterCommand")
|
|
256
|
+
.sc(schemas_0.CreateRecommenderFilter$)
|
|
257
|
+
.build() {
|
|
258
|
+
}
|
|
259
|
+
|
|
248
260
|
class CreateSegmentDefinitionCommand extends smithyClient.Command
|
|
249
261
|
.classBuilder()
|
|
250
262
|
.ep(commonParams)
|
|
@@ -437,6 +449,18 @@ class DeleteRecommenderCommand extends smithyClient.Command
|
|
|
437
449
|
.build() {
|
|
438
450
|
}
|
|
439
451
|
|
|
452
|
+
class DeleteRecommenderFilterCommand extends smithyClient.Command
|
|
453
|
+
.classBuilder()
|
|
454
|
+
.ep(commonParams)
|
|
455
|
+
.m(function (Command, cs, config, o) {
|
|
456
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
457
|
+
})
|
|
458
|
+
.s("CustomerProfiles_20200815", "DeleteRecommenderFilter", {})
|
|
459
|
+
.n("CustomerProfilesClient", "DeleteRecommenderFilterCommand")
|
|
460
|
+
.sc(schemas_0.DeleteRecommenderFilter$)
|
|
461
|
+
.build() {
|
|
462
|
+
}
|
|
463
|
+
|
|
440
464
|
class DeleteSegmentDefinitionCommand extends smithyClient.Command
|
|
441
465
|
.classBuilder()
|
|
442
466
|
.ep(commonParams)
|
|
@@ -677,6 +701,18 @@ class GetRecommenderCommand extends smithyClient.Command
|
|
|
677
701
|
.build() {
|
|
678
702
|
}
|
|
679
703
|
|
|
704
|
+
class GetRecommenderFilterCommand extends smithyClient.Command
|
|
705
|
+
.classBuilder()
|
|
706
|
+
.ep(commonParams)
|
|
707
|
+
.m(function (Command, cs, config, o) {
|
|
708
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
709
|
+
})
|
|
710
|
+
.s("CustomerProfiles_20200815", "GetRecommenderFilter", {})
|
|
711
|
+
.n("CustomerProfilesClient", "GetRecommenderFilterCommand")
|
|
712
|
+
.sc(schemas_0.GetRecommenderFilter$)
|
|
713
|
+
.build() {
|
|
714
|
+
}
|
|
715
|
+
|
|
680
716
|
class GetSegmentDefinitionCommand extends smithyClient.Command
|
|
681
717
|
.classBuilder()
|
|
682
718
|
.ep(commonParams)
|
|
@@ -989,6 +1025,18 @@ class ListProfileObjectTypeTemplatesCommand extends smithyClient.Command
|
|
|
989
1025
|
.build() {
|
|
990
1026
|
}
|
|
991
1027
|
|
|
1028
|
+
class ListRecommenderFiltersCommand extends smithyClient.Command
|
|
1029
|
+
.classBuilder()
|
|
1030
|
+
.ep(commonParams)
|
|
1031
|
+
.m(function (Command, cs, config, o) {
|
|
1032
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1033
|
+
})
|
|
1034
|
+
.s("CustomerProfiles_20200815", "ListRecommenderFilters", {})
|
|
1035
|
+
.n("CustomerProfilesClient", "ListRecommenderFiltersCommand")
|
|
1036
|
+
.sc(schemas_0.ListRecommenderFilters$)
|
|
1037
|
+
.build() {
|
|
1038
|
+
}
|
|
1039
|
+
|
|
992
1040
|
class ListRecommenderRecipesCommand extends smithyClient.Command
|
|
993
1041
|
.classBuilder()
|
|
994
1042
|
.ep(commonParams)
|
|
@@ -1301,6 +1349,8 @@ const paginateListEventTriggers = core.createPaginator(CustomerProfilesClient, L
|
|
|
1301
1349
|
|
|
1302
1350
|
const paginateListObjectTypeAttributes = core.createPaginator(CustomerProfilesClient, ListObjectTypeAttributesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1303
1351
|
|
|
1352
|
+
const paginateListRecommenderFilters = core.createPaginator(CustomerProfilesClient, ListRecommenderFiltersCommand, "NextToken", "NextToken", "MaxResults");
|
|
1353
|
+
|
|
1304
1354
|
const paginateListRecommenderRecipes = core.createPaginator(CustomerProfilesClient, ListRecommenderRecipesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1305
1355
|
|
|
1306
1356
|
const paginateListRecommenders = core.createPaginator(CustomerProfilesClient, ListRecommendersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1323,6 +1373,7 @@ const commands = {
|
|
|
1323
1373
|
CreateIntegrationWorkflowCommand,
|
|
1324
1374
|
CreateProfileCommand,
|
|
1325
1375
|
CreateRecommenderCommand,
|
|
1376
|
+
CreateRecommenderFilterCommand,
|
|
1326
1377
|
CreateSegmentDefinitionCommand,
|
|
1327
1378
|
CreateSegmentEstimateCommand,
|
|
1328
1379
|
CreateSegmentSnapshotCommand,
|
|
@@ -1339,6 +1390,7 @@ const commands = {
|
|
|
1339
1390
|
DeleteProfileObjectCommand,
|
|
1340
1391
|
DeleteProfileObjectTypeCommand,
|
|
1341
1392
|
DeleteRecommenderCommand,
|
|
1393
|
+
DeleteRecommenderFilterCommand,
|
|
1342
1394
|
DeleteSegmentDefinitionCommand,
|
|
1343
1395
|
DeleteWorkflowCommand,
|
|
1344
1396
|
DetectProfileObjectTypeCommand,
|
|
@@ -1359,6 +1411,7 @@ const commands = {
|
|
|
1359
1411
|
GetProfileObjectTypeTemplateCommand,
|
|
1360
1412
|
GetProfileRecommendationsCommand,
|
|
1361
1413
|
GetRecommenderCommand,
|
|
1414
|
+
GetRecommenderFilterCommand,
|
|
1362
1415
|
GetSegmentDefinitionCommand,
|
|
1363
1416
|
GetSegmentEstimateCommand,
|
|
1364
1417
|
GetSegmentMembershipCommand,
|
|
@@ -1385,6 +1438,7 @@ const commands = {
|
|
|
1385
1438
|
ListProfileObjectsCommand,
|
|
1386
1439
|
ListProfileObjectTypesCommand,
|
|
1387
1440
|
ListProfileObjectTypeTemplatesCommand,
|
|
1441
|
+
ListRecommenderFiltersCommand,
|
|
1388
1442
|
ListRecommenderRecipesCommand,
|
|
1389
1443
|
ListRecommendersCommand,
|
|
1390
1444
|
ListRuleBasedMatchesCommand,
|
|
@@ -1418,6 +1472,7 @@ const paginators = {
|
|
|
1418
1472
|
paginateListEventStreams,
|
|
1419
1473
|
paginateListEventTriggers,
|
|
1420
1474
|
paginateListObjectTypeAttributes,
|
|
1475
|
+
paginateListRecommenderFilters,
|
|
1421
1476
|
paginateListRecommenderRecipes,
|
|
1422
1477
|
paginateListRecommenders,
|
|
1423
1478
|
paginateListRuleBasedMatches,
|
|
@@ -1755,6 +1810,7 @@ const WorkflowType = {
|
|
|
1755
1810
|
};
|
|
1756
1811
|
const RecommenderRecipeName = {
|
|
1757
1812
|
FREQUENTLY_PAIRED_ITEMS: "frequently-paired-items",
|
|
1813
|
+
PERSONALIZED_RANKING: "personalized-ranking",
|
|
1758
1814
|
POPULAR_ITEMS: "popular-items",
|
|
1759
1815
|
RECOMMENDED_FOR_YOU: "recommended-for-you",
|
|
1760
1816
|
SIMILAR_ITEMS: "similar-items",
|
|
@@ -1853,6 +1909,13 @@ const TrainingMetricName = {
|
|
|
1853
1909
|
RECALL: "recall",
|
|
1854
1910
|
SIMILARITY: "similarity",
|
|
1855
1911
|
};
|
|
1912
|
+
const RecommenderFilterStatus = {
|
|
1913
|
+
ACTIVE: "ACTIVE",
|
|
1914
|
+
DELETING: "DELETING",
|
|
1915
|
+
FAILED: "FAILED",
|
|
1916
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
1917
|
+
PENDING: "PENDING",
|
|
1918
|
+
};
|
|
1856
1919
|
const SegmentType = {
|
|
1857
1920
|
CLASSIC: "CLASSIC",
|
|
1858
1921
|
ENHANCED: "ENHANCED",
|
|
@@ -1913,6 +1976,7 @@ exports.CreateEventTriggerCommand = CreateEventTriggerCommand;
|
|
|
1913
1976
|
exports.CreateIntegrationWorkflowCommand = CreateIntegrationWorkflowCommand;
|
|
1914
1977
|
exports.CreateProfileCommand = CreateProfileCommand;
|
|
1915
1978
|
exports.CreateRecommenderCommand = CreateRecommenderCommand;
|
|
1979
|
+
exports.CreateRecommenderFilterCommand = CreateRecommenderFilterCommand;
|
|
1916
1980
|
exports.CreateSegmentDefinitionCommand = CreateSegmentDefinitionCommand;
|
|
1917
1981
|
exports.CreateSegmentEstimateCommand = CreateSegmentEstimateCommand;
|
|
1918
1982
|
exports.CreateSegmentSnapshotCommand = CreateSegmentSnapshotCommand;
|
|
@@ -1934,6 +1998,7 @@ exports.DeleteProfileKeyCommand = DeleteProfileKeyCommand;
|
|
|
1934
1998
|
exports.DeleteProfileObjectCommand = DeleteProfileObjectCommand;
|
|
1935
1999
|
exports.DeleteProfileObjectTypeCommand = DeleteProfileObjectTypeCommand;
|
|
1936
2000
|
exports.DeleteRecommenderCommand = DeleteRecommenderCommand;
|
|
2001
|
+
exports.DeleteRecommenderFilterCommand = DeleteRecommenderFilterCommand;
|
|
1937
2002
|
exports.DeleteSegmentDefinitionCommand = DeleteSegmentDefinitionCommand;
|
|
1938
2003
|
exports.DeleteWorkflowCommand = DeleteWorkflowCommand;
|
|
1939
2004
|
exports.DetectProfileObjectTypeCommand = DetectProfileObjectTypeCommand;
|
|
@@ -1962,6 +2027,7 @@ exports.GetProfileObjectTypeCommand = GetProfileObjectTypeCommand;
|
|
|
1962
2027
|
exports.GetProfileObjectTypeTemplateCommand = GetProfileObjectTypeTemplateCommand;
|
|
1963
2028
|
exports.GetProfileRecommendationsCommand = GetProfileRecommendationsCommand;
|
|
1964
2029
|
exports.GetRecommenderCommand = GetRecommenderCommand;
|
|
2030
|
+
exports.GetRecommenderFilterCommand = GetRecommenderFilterCommand;
|
|
1965
2031
|
exports.GetSegmentDefinitionCommand = GetSegmentDefinitionCommand;
|
|
1966
2032
|
exports.GetSegmentEstimateCommand = GetSegmentEstimateCommand;
|
|
1967
2033
|
exports.GetSegmentMembershipCommand = GetSegmentMembershipCommand;
|
|
@@ -1993,6 +2059,7 @@ exports.ListProfileHistoryRecordsCommand = ListProfileHistoryRecordsCommand;
|
|
|
1993
2059
|
exports.ListProfileObjectTypeTemplatesCommand = ListProfileObjectTypeTemplatesCommand;
|
|
1994
2060
|
exports.ListProfileObjectTypesCommand = ListProfileObjectTypesCommand;
|
|
1995
2061
|
exports.ListProfileObjectsCommand = ListProfileObjectsCommand;
|
|
2062
|
+
exports.ListRecommenderFiltersCommand = ListRecommenderFiltersCommand;
|
|
1996
2063
|
exports.ListRecommenderRecipesCommand = ListRecommenderRecipesCommand;
|
|
1997
2064
|
exports.ListRecommendersCommand = ListRecommendersCommand;
|
|
1998
2065
|
exports.ListRuleBasedMatchesCommand = ListRuleBasedMatchesCommand;
|
|
@@ -2017,6 +2084,7 @@ exports.PutProfileObjectTypeCommand = PutProfileObjectTypeCommand;
|
|
|
2017
2084
|
exports.QueryResult = QueryResult;
|
|
2018
2085
|
exports.RangeUnit = RangeUnit;
|
|
2019
2086
|
exports.ReadinessStatus = ReadinessStatus;
|
|
2087
|
+
exports.RecommenderFilterStatus = RecommenderFilterStatus;
|
|
2020
2088
|
exports.RecommenderRecipeName = RecommenderRecipeName;
|
|
2021
2089
|
exports.RecommenderStatus = RecommenderStatus;
|
|
2022
2090
|
exports.RuleBasedMatchingStatus = RuleBasedMatchingStatus;
|
|
@@ -2059,6 +2127,7 @@ exports.paginateListDomainObjectTypes = paginateListDomainObjectTypes;
|
|
|
2059
2127
|
exports.paginateListEventStreams = paginateListEventStreams;
|
|
2060
2128
|
exports.paginateListEventTriggers = paginateListEventTriggers;
|
|
2061
2129
|
exports.paginateListObjectTypeAttributes = paginateListObjectTypeAttributes;
|
|
2130
|
+
exports.paginateListRecommenderFilters = paginateListRecommenderFilters;
|
|
2062
2131
|
exports.paginateListRecommenderRecipes = paginateListRecommenderRecipes;
|
|
2063
2132
|
exports.paginateListRecommenders = paginateListRecommenders;
|
|
2064
2133
|
exports.paginateListRuleBasedMatches = paginateListRuleBasedMatches;
|