@aws-sdk/client-customer-profiles 3.1029.0 → 3.1031.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.
Files changed (59) hide show
  1. package/README.md +28 -0
  2. package/dist-cjs/index.js +92 -4
  3. package/dist-cjs/schemas/schemas_0.js +148 -31
  4. package/dist-es/CustomerProfiles.js +10 -0
  5. package/dist-es/commands/CreateRecommenderSchemaCommand.js +16 -0
  6. package/dist-es/commands/DeleteRecommenderSchemaCommand.js +16 -0
  7. package/dist-es/commands/GetRecommenderSchemaCommand.js +16 -0
  8. package/dist-es/commands/ListRecommenderSchemasCommand.js +16 -0
  9. package/dist-es/commands/index.js +4 -0
  10. package/dist-es/models/enums.js +28 -4
  11. package/dist-es/pagination/ListRecommenderSchemasPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/schemas/schemas_0.js +139 -23
  14. package/dist-types/CustomerProfiles.d.ts +35 -0
  15. package/dist-types/CustomerProfilesClient.d.ts +6 -2
  16. package/dist-types/commands/CreateRecommenderCommand.d.ts +6 -0
  17. package/dist-types/commands/CreateRecommenderFilterCommand.d.ts +1 -0
  18. package/dist-types/commands/CreateRecommenderSchemaCommand.d.ts +117 -0
  19. package/dist-types/commands/CreateSegmentDefinitionCommand.d.ts +10 -0
  20. package/dist-types/commands/DeleteRecommenderSchemaCommand.d.ts +88 -0
  21. package/dist-types/commands/GetRecommenderCommand.d.ts +11 -0
  22. package/dist-types/commands/GetRecommenderFilterCommand.d.ts +1 -0
  23. package/dist-types/commands/GetRecommenderSchemaCommand.d.ts +101 -0
  24. package/dist-types/commands/GetSegmentDefinitionCommand.d.ts +10 -0
  25. package/dist-types/commands/ListRecommenderFiltersCommand.d.ts +1 -0
  26. package/dist-types/commands/ListRecommenderSchemasCommand.d.ts +107 -0
  27. package/dist-types/commands/ListRecommendersCommand.d.ts +11 -0
  28. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
  29. package/dist-types/commands/ListUploadJobsCommand.d.ts +1 -1
  30. package/dist-types/commands/ListWorkflowsCommand.d.ts +1 -1
  31. package/dist-types/commands/MergeProfilesCommand.d.ts +1 -1
  32. package/dist-types/commands/PutDomainObjectTypeCommand.d.ts +1 -1
  33. package/dist-types/commands/UpdateRecommenderCommand.d.ts +5 -0
  34. package/dist-types/commands/index.d.ts +4 -0
  35. package/dist-types/models/enums.d.ts +68 -12
  36. package/dist-types/models/models_0.d.ts +286 -414
  37. package/dist-types/models/models_1.d.ts +414 -2
  38. package/dist-types/pagination/ListRecommenderSchemasPaginator.d.ts +7 -0
  39. package/dist-types/pagination/index.d.ts +1 -0
  40. package/dist-types/schemas/schemas_0.d.ts +16 -0
  41. package/dist-types/ts3.4/CustomerProfiles.d.ts +75 -0
  42. package/dist-types/ts3.4/CustomerProfilesClient.d.ts +24 -0
  43. package/dist-types/ts3.4/commands/CreateRecommenderSchemaCommand.d.ts +51 -0
  44. package/dist-types/ts3.4/commands/DeleteRecommenderSchemaCommand.d.ts +51 -0
  45. package/dist-types/ts3.4/commands/GetRecommenderSchemaCommand.d.ts +51 -0
  46. package/dist-types/ts3.4/commands/ListRecommenderSchemasCommand.d.ts +51 -0
  47. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -4
  48. package/dist-types/ts3.4/commands/ListUploadJobsCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/ListWorkflowsCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/MergeProfilesCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/PutDomainObjectTypeCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  53. package/dist-types/ts3.4/models/enums.d.ts +37 -5
  54. package/dist-types/ts3.4/models/models_0.d.ts +71 -93
  55. package/dist-types/ts3.4/models/models_1.d.ts +98 -0
  56. package/dist-types/ts3.4/pagination/ListRecommenderSchemasPaginator.d.ts +11 -0
  57. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  58. package/dist-types/ts3.4/schemas/schemas_0.d.ts +16 -0
  59. package/package.json +33 -33
package/README.md CHANGED
@@ -283,6 +283,13 @@ CreateRecommenderFilter
283
283
  </details>
284
284
  <details>
285
285
  <summary>
286
+ CreateRecommenderSchema
287
+ </summary>
288
+
289
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/customer-profiles/command/CreateRecommenderSchemaCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/CreateRecommenderSchemaCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/CreateRecommenderSchemaCommandOutput/)
290
+ </details>
291
+ <details>
292
+ <summary>
286
293
  CreateSegmentDefinition
287
294
  </summary>
288
295
 
@@ -402,6 +409,13 @@ DeleteRecommenderFilter
402
409
  </details>
403
410
  <details>
404
411
  <summary>
412
+ DeleteRecommenderSchema
413
+ </summary>
414
+
415
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/customer-profiles/command/DeleteRecommenderSchemaCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/DeleteRecommenderSchemaCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/DeleteRecommenderSchemaCommandOutput/)
416
+ </details>
417
+ <details>
418
+ <summary>
405
419
  DeleteSegmentDefinition
406
420
  </summary>
407
421
 
@@ -549,6 +563,13 @@ GetRecommenderFilter
549
563
  </details>
550
564
  <details>
551
565
  <summary>
566
+ GetRecommenderSchema
567
+ </summary>
568
+
569
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/customer-profiles/command/GetRecommenderSchemaCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/GetRecommenderSchemaCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/GetRecommenderSchemaCommandOutput/)
570
+ </details>
571
+ <details>
572
+ <summary>
552
573
  GetSegmentDefinition
553
574
  </summary>
554
575
 
@@ -752,6 +773,13 @@ ListRecommenders
752
773
  </details>
753
774
  <details>
754
775
  <summary>
776
+ ListRecommenderSchemas
777
+ </summary>
778
+
779
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/customer-profiles/command/ListRecommenderSchemasCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/ListRecommenderSchemasCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/ListRecommenderSchemasCommandOutput/)
780
+ </details>
781
+ <details>
782
+ <summary>
755
783
  ListRuleBasedMatches
756
784
  </summary>
757
785
 
package/dist-cjs/index.js CHANGED
@@ -257,6 +257,18 @@ class CreateRecommenderFilterCommand extends smithyClient.Command
257
257
  .build() {
258
258
  }
259
259
 
260
+ class CreateRecommenderSchemaCommand extends smithyClient.Command
261
+ .classBuilder()
262
+ .ep(commonParams)
263
+ .m(function (Command, cs, config, o) {
264
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
265
+ })
266
+ .s("CustomerProfiles_20200815", "CreateRecommenderSchema", {})
267
+ .n("CustomerProfilesClient", "CreateRecommenderSchemaCommand")
268
+ .sc(schemas_0.CreateRecommenderSchema$)
269
+ .build() {
270
+ }
271
+
260
272
  class CreateSegmentDefinitionCommand extends smithyClient.Command
261
273
  .classBuilder()
262
274
  .ep(commonParams)
@@ -461,6 +473,18 @@ class DeleteRecommenderFilterCommand extends smithyClient.Command
461
473
  .build() {
462
474
  }
463
475
 
476
+ class DeleteRecommenderSchemaCommand extends smithyClient.Command
477
+ .classBuilder()
478
+ .ep(commonParams)
479
+ .m(function (Command, cs, config, o) {
480
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
481
+ })
482
+ .s("CustomerProfiles_20200815", "DeleteRecommenderSchema", {})
483
+ .n("CustomerProfilesClient", "DeleteRecommenderSchemaCommand")
484
+ .sc(schemas_0.DeleteRecommenderSchema$)
485
+ .build() {
486
+ }
487
+
464
488
  class DeleteSegmentDefinitionCommand extends smithyClient.Command
465
489
  .classBuilder()
466
490
  .ep(commonParams)
@@ -713,6 +737,18 @@ class GetRecommenderFilterCommand extends smithyClient.Command
713
737
  .build() {
714
738
  }
715
739
 
740
+ class GetRecommenderSchemaCommand extends smithyClient.Command
741
+ .classBuilder()
742
+ .ep(commonParams)
743
+ .m(function (Command, cs, config, o) {
744
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
745
+ })
746
+ .s("CustomerProfiles_20200815", "GetRecommenderSchema", {})
747
+ .n("CustomerProfilesClient", "GetRecommenderSchemaCommand")
748
+ .sc(schemas_0.GetRecommenderSchema$)
749
+ .build() {
750
+ }
751
+
716
752
  class GetSegmentDefinitionCommand extends smithyClient.Command
717
753
  .classBuilder()
718
754
  .ep(commonParams)
@@ -1049,6 +1085,18 @@ class ListRecommenderRecipesCommand extends smithyClient.Command
1049
1085
  .build() {
1050
1086
  }
1051
1087
 
1088
+ class ListRecommenderSchemasCommand extends smithyClient.Command
1089
+ .classBuilder()
1090
+ .ep(commonParams)
1091
+ .m(function (Command, cs, config, o) {
1092
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1093
+ })
1094
+ .s("CustomerProfiles_20200815", "ListRecommenderSchemas", {})
1095
+ .n("CustomerProfilesClient", "ListRecommenderSchemasCommand")
1096
+ .sc(schemas_0.ListRecommenderSchemas$)
1097
+ .build() {
1098
+ }
1099
+
1052
1100
  class ListRecommendersCommand extends smithyClient.Command
1053
1101
  .classBuilder()
1054
1102
  .ep(commonParams)
@@ -1353,6 +1401,8 @@ const paginateListRecommenderFilters = core.createPaginator(CustomerProfilesClie
1353
1401
 
1354
1402
  const paginateListRecommenderRecipes = core.createPaginator(CustomerProfilesClient, ListRecommenderRecipesCommand, "NextToken", "NextToken", "MaxResults");
1355
1403
 
1404
+ const paginateListRecommenderSchemas = core.createPaginator(CustomerProfilesClient, ListRecommenderSchemasCommand, "NextToken", "NextToken", "MaxResults");
1405
+
1356
1406
  const paginateListRecommenders = core.createPaginator(CustomerProfilesClient, ListRecommendersCommand, "NextToken", "NextToken", "MaxResults");
1357
1407
 
1358
1408
  const paginateListRuleBasedMatches = core.createPaginator(CustomerProfilesClient, ListRuleBasedMatchesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1374,6 +1424,7 @@ const commands = {
1374
1424
  CreateProfileCommand,
1375
1425
  CreateRecommenderCommand,
1376
1426
  CreateRecommenderFilterCommand,
1427
+ CreateRecommenderSchemaCommand,
1377
1428
  CreateSegmentDefinitionCommand,
1378
1429
  CreateSegmentEstimateCommand,
1379
1430
  CreateSegmentSnapshotCommand,
@@ -1391,6 +1442,7 @@ const commands = {
1391
1442
  DeleteProfileObjectTypeCommand,
1392
1443
  DeleteRecommenderCommand,
1393
1444
  DeleteRecommenderFilterCommand,
1445
+ DeleteRecommenderSchemaCommand,
1394
1446
  DeleteSegmentDefinitionCommand,
1395
1447
  DeleteWorkflowCommand,
1396
1448
  DetectProfileObjectTypeCommand,
@@ -1412,6 +1464,7 @@ const commands = {
1412
1464
  GetProfileRecommendationsCommand,
1413
1465
  GetRecommenderCommand,
1414
1466
  GetRecommenderFilterCommand,
1467
+ GetRecommenderSchemaCommand,
1415
1468
  GetSegmentDefinitionCommand,
1416
1469
  GetSegmentEstimateCommand,
1417
1470
  GetSegmentMembershipCommand,
@@ -1441,6 +1494,7 @@ const commands = {
1441
1494
  ListRecommenderFiltersCommand,
1442
1495
  ListRecommenderRecipesCommand,
1443
1496
  ListRecommendersCommand,
1497
+ ListRecommenderSchemasCommand,
1444
1498
  ListRuleBasedMatchesCommand,
1445
1499
  ListSegmentDefinitionsCommand,
1446
1500
  ListTagsForResourceCommand,
@@ -1475,6 +1529,7 @@ const paginators = {
1475
1529
  paginateListRecommenderFilters,
1476
1530
  paginateListRecommenderRecipes,
1477
1531
  paginateListRecommenders,
1532
+ paginateListRecommenderSchemas,
1478
1533
  paginateListRuleBasedMatches,
1479
1534
  paginateListSegmentDefinitions,
1480
1535
  paginateListUploadJobs,
@@ -1816,6 +1871,14 @@ const RecommenderRecipeName = {
1816
1871
  SIMILAR_ITEMS: "similar-items",
1817
1872
  TRENDING_NOW: "trending-now",
1818
1873
  };
1874
+ const FeatureType = {
1875
+ CATEGORICAL: "CATEGORICAL",
1876
+ TEXTUAL: "TEXTUAL",
1877
+ };
1878
+ const RecommenderSchemaStatus = {
1879
+ ACTIVE: "ACTIVE",
1880
+ DELETING: "DELETING",
1881
+ };
1819
1882
  const DateDimensionType = {
1820
1883
  AFTER: "AFTER",
1821
1884
  BEFORE: "BEFORE",
@@ -1832,6 +1895,19 @@ const IncludeOptions = {
1832
1895
  ANY: "ANY",
1833
1896
  NONE: "NONE",
1834
1897
  };
1898
+ const SegmentSortDataType = {
1899
+ DATE: "DATE",
1900
+ NUMBER: "NUMBER",
1901
+ STRING: "STRING",
1902
+ };
1903
+ const SegmentSortOrder = {
1904
+ ASC: "ASC",
1905
+ DESC: "DESC",
1906
+ };
1907
+ const SortAttributeType = {
1908
+ CALCULATED: "CALCULATED",
1909
+ PROFILE: "PROFILE",
1910
+ };
1835
1911
  const DataFormat = {
1836
1912
  CSV: "CSV",
1837
1913
  JSONL: "JSONL",
@@ -1866,10 +1942,6 @@ const StandardIdentifier = {
1866
1942
  UNIQUE: "UNIQUE",
1867
1943
  WEB_ANALYTICS: "WEB_ANALYTICS",
1868
1944
  };
1869
- const FeatureType = {
1870
- CATEGORICAL: "CATEGORICAL",
1871
- TEXTUAL: "TEXTUAL",
1872
- };
1873
1945
  const EventStreamDestinationStatus = {
1874
1946
  HEALTHY: "HEALTHY",
1875
1947
  UNHEALTHY: "UNHEALTHY",
@@ -1905,7 +1977,14 @@ const TrainingMetricName = {
1905
1977
  COVERAGE: "coverage",
1906
1978
  FRESHNESS: "freshness",
1907
1979
  HIT: "hit",
1980
+ MEAN_RECIPROCAL_RANK_AT_25: "mean_reciprocal_rank_at_25",
1981
+ NORMALIZED_DISCOUNTED_CUMULATIVE_GAIN_AT_10: "normalized_discounted_cumulative_gain_at_10",
1982
+ NORMALIZED_DISCOUNTED_CUMULATIVE_GAIN_AT_25: "normalized_discounted_cumulative_gain_at_25",
1983
+ NORMALIZED_DISCOUNTED_CUMULATIVE_GAIN_AT_5: "normalized_discounted_cumulative_gain_at_5",
1908
1984
  POPULARITY: "popularity",
1985
+ PRECISION_AT_10: "precision_at_10",
1986
+ PRECISION_AT_25: "precision_at_25",
1987
+ PRECISION_AT_5: "precision_at_5",
1909
1988
  RECALL: "recall",
1910
1989
  SIMILARITY: "similarity",
1911
1990
  };
@@ -1977,6 +2056,7 @@ exports.CreateIntegrationWorkflowCommand = CreateIntegrationWorkflowCommand;
1977
2056
  exports.CreateProfileCommand = CreateProfileCommand;
1978
2057
  exports.CreateRecommenderCommand = CreateRecommenderCommand;
1979
2058
  exports.CreateRecommenderFilterCommand = CreateRecommenderFilterCommand;
2059
+ exports.CreateRecommenderSchemaCommand = CreateRecommenderSchemaCommand;
1980
2060
  exports.CreateSegmentDefinitionCommand = CreateSegmentDefinitionCommand;
1981
2061
  exports.CreateSegmentEstimateCommand = CreateSegmentEstimateCommand;
1982
2062
  exports.CreateSegmentSnapshotCommand = CreateSegmentSnapshotCommand;
@@ -1999,6 +2079,7 @@ exports.DeleteProfileObjectCommand = DeleteProfileObjectCommand;
1999
2079
  exports.DeleteProfileObjectTypeCommand = DeleteProfileObjectTypeCommand;
2000
2080
  exports.DeleteRecommenderCommand = DeleteRecommenderCommand;
2001
2081
  exports.DeleteRecommenderFilterCommand = DeleteRecommenderFilterCommand;
2082
+ exports.DeleteRecommenderSchemaCommand = DeleteRecommenderSchemaCommand;
2002
2083
  exports.DeleteSegmentDefinitionCommand = DeleteSegmentDefinitionCommand;
2003
2084
  exports.DeleteWorkflowCommand = DeleteWorkflowCommand;
2004
2085
  exports.DetectProfileObjectTypeCommand = DetectProfileObjectTypeCommand;
@@ -2028,6 +2109,7 @@ exports.GetProfileObjectTypeTemplateCommand = GetProfileObjectTypeTemplateComman
2028
2109
  exports.GetProfileRecommendationsCommand = GetProfileRecommendationsCommand;
2029
2110
  exports.GetRecommenderCommand = GetRecommenderCommand;
2030
2111
  exports.GetRecommenderFilterCommand = GetRecommenderFilterCommand;
2112
+ exports.GetRecommenderSchemaCommand = GetRecommenderSchemaCommand;
2031
2113
  exports.GetSegmentDefinitionCommand = GetSegmentDefinitionCommand;
2032
2114
  exports.GetSegmentEstimateCommand = GetSegmentEstimateCommand;
2033
2115
  exports.GetSegmentMembershipCommand = GetSegmentMembershipCommand;
@@ -2061,6 +2143,7 @@ exports.ListProfileObjectTypesCommand = ListProfileObjectTypesCommand;
2061
2143
  exports.ListProfileObjectsCommand = ListProfileObjectsCommand;
2062
2144
  exports.ListRecommenderFiltersCommand = ListRecommenderFiltersCommand;
2063
2145
  exports.ListRecommenderRecipesCommand = ListRecommenderRecipesCommand;
2146
+ exports.ListRecommenderSchemasCommand = ListRecommenderSchemasCommand;
2064
2147
  exports.ListRecommendersCommand = ListRecommendersCommand;
2065
2148
  exports.ListRuleBasedMatchesCommand = ListRuleBasedMatchesCommand;
2066
2149
  exports.ListSegmentDefinitionsCommand = ListSegmentDefinitionsCommand;
@@ -2086,6 +2169,7 @@ exports.RangeUnit = RangeUnit;
2086
2169
  exports.ReadinessStatus = ReadinessStatus;
2087
2170
  exports.RecommenderFilterStatus = RecommenderFilterStatus;
2088
2171
  exports.RecommenderRecipeName = RecommenderRecipeName;
2172
+ exports.RecommenderSchemaStatus = RecommenderSchemaStatus;
2089
2173
  exports.RecommenderStatus = RecommenderStatus;
2090
2174
  exports.RuleBasedMatchingStatus = RuleBasedMatchingStatus;
2091
2175
  exports.S3ConnectorOperator = S3ConnectorOperator;
@@ -2093,8 +2177,11 @@ exports.SalesforceConnectorOperator = SalesforceConnectorOperator;
2093
2177
  exports.Scope = Scope;
2094
2178
  exports.SearchProfilesCommand = SearchProfilesCommand;
2095
2179
  exports.SegmentSnapshotStatus = SegmentSnapshotStatus;
2180
+ exports.SegmentSortDataType = SegmentSortDataType;
2181
+ exports.SegmentSortOrder = SegmentSortOrder;
2096
2182
  exports.SegmentType = SegmentType;
2097
2183
  exports.ServiceNowConnectorOperator = ServiceNowConnectorOperator;
2184
+ exports.SortAttributeType = SortAttributeType;
2098
2185
  exports.SourceConnectorType = SourceConnectorType;
2099
2186
  exports.StandardIdentifier = StandardIdentifier;
2100
2187
  exports.StartRecommenderCommand = StartRecommenderCommand;
@@ -2129,6 +2216,7 @@ exports.paginateListEventTriggers = paginateListEventTriggers;
2129
2216
  exports.paginateListObjectTypeAttributes = paginateListObjectTypeAttributes;
2130
2217
  exports.paginateListRecommenderFilters = paginateListRecommenderFilters;
2131
2218
  exports.paginateListRecommenderRecipes = paginateListRecommenderRecipes;
2219
+ exports.paginateListRecommenderSchemas = paginateListRecommenderSchemas;
2132
2220
  exports.paginateListRecommenders = paginateListRecommenders;
2133
2221
  exports.paginateListRuleBasedMatches = paginateListRuleBasedMatches;
2134
2222
  exports.paginateListSegmentDefinitions = paginateListSegmentDefinitions;