aws-sdk-personalize 1.46.0 → 1.47.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-personalize/client.rb +94 -28
- data/lib/aws-sdk-personalize/client_api.rb +14 -0
- data/lib/aws-sdk-personalize/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-personalize/types.rb +91 -24
- data/lib/aws-sdk-personalize.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 15c6785b70645ebb6b66eefc40083a357925c0ac61be29d3a2f70735feb1bf22
|
|
4
|
+
data.tar.gz: b81c22624e7c6b97bcd9952b9dffa0f9db736036665366258fb259fc5cf57ca9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5092cbd11d0506068625eb564ffbf060d7711dffbc0f9c6244e8fc47f6c7b159569f7e944b3bbed427d1443b787e0d6c474fb5ca24d067820530208b4164d88c
|
|
7
|
+
data.tar.gz: 8b39992e5147e260c6a41651d0b3733a4b8883558969de55e7b26bf6e52306c1a0d80bddbf94bf10d722b84381fa9c382b038ef2343221d53b2df8b47d362234
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.47.0 (2023-05-30)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - This release provides support for the exclusion of certain columns for training when creating a solution and creating or updating a recommender with Amazon Personalize.
|
|
8
|
+
|
|
4
9
|
1.46.0 (2023-01-18)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.47.0
|
|
@@ -426,7 +426,7 @@ module Aws::Personalize
|
|
|
426
426
|
#
|
|
427
427
|
#
|
|
428
428
|
#
|
|
429
|
-
# [1]: https://docs.aws.amazon.com/personalize/latest/
|
|
429
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html
|
|
430
430
|
#
|
|
431
431
|
# @return [Types::CreateBatchInferenceJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
432
432
|
#
|
|
@@ -504,7 +504,8 @@ module Aws::Personalize
|
|
|
504
504
|
#
|
|
505
505
|
# @option params [Integer] :num_results
|
|
506
506
|
# The number of predicted users generated by the batch segment job for
|
|
507
|
-
# each line of input data.
|
|
507
|
+
# each line of input data. The maximum number of users per segment is 5
|
|
508
|
+
# million.
|
|
508
509
|
#
|
|
509
510
|
# @option params [required, Types::BatchSegmentJobInput] :job_input
|
|
510
511
|
# The Amazon S3 path for the input data used to generate the batch
|
|
@@ -524,7 +525,7 @@ module Aws::Personalize
|
|
|
524
525
|
#
|
|
525
526
|
#
|
|
526
527
|
#
|
|
527
|
-
# [1]: https://docs.aws.amazon.com/personalize/latest/
|
|
528
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html
|
|
528
529
|
#
|
|
529
530
|
# @return [Types::CreateBatchSegmentJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
530
531
|
#
|
|
@@ -577,6 +578,11 @@ module Aws::Personalize
|
|
|
577
578
|
#
|
|
578
579
|
# **Minimum Provisioned TPS and Auto-Scaling**
|
|
579
580
|
#
|
|
581
|
+
# A high `minProvisionedTPS` will increase your bill. We recommend
|
|
582
|
+
# starting with 1 for `minProvisionedTPS` (the default). Track your
|
|
583
|
+
# usage using Amazon CloudWatch metrics, and increase the
|
|
584
|
+
# `minProvisionedTPS` as necessary.
|
|
585
|
+
#
|
|
580
586
|
# A transaction is a single `GetRecommendations` or
|
|
581
587
|
# `GetPersonalizedRanking` call. Transactions per second (TPS) is the
|
|
582
588
|
# throughput and unit of billing for Amazon Personalize. The minimum
|
|
@@ -639,7 +645,11 @@ module Aws::Personalize
|
|
|
639
645
|
#
|
|
640
646
|
# @option params [Integer] :min_provisioned_tps
|
|
641
647
|
# Specifies the requested minimum provisioned transactions
|
|
642
|
-
# (recommendations) per second that Amazon Personalize will support.
|
|
648
|
+
# (recommendations) per second that Amazon Personalize will support. A
|
|
649
|
+
# high `minProvisionedTPS` will increase your bill. We recommend
|
|
650
|
+
# starting with 1 for `minProvisionedTPS` (the default). Track your
|
|
651
|
+
# usage using Amazon CloudWatch metrics, and increase the
|
|
652
|
+
# `minProvisionedTPS` as necessary.
|
|
643
653
|
#
|
|
644
654
|
# @option params [Types::CampaignConfig] :campaign_config
|
|
645
655
|
# The configuration details of a campaign.
|
|
@@ -649,7 +659,7 @@ module Aws::Personalize
|
|
|
649
659
|
#
|
|
650
660
|
#
|
|
651
661
|
#
|
|
652
|
-
# [1]: https://docs.aws.amazon.com/personalize/latest/
|
|
662
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html
|
|
653
663
|
#
|
|
654
664
|
# @return [Types::CreateCampaignResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
655
665
|
#
|
|
@@ -757,7 +767,7 @@ module Aws::Personalize
|
|
|
757
767
|
#
|
|
758
768
|
#
|
|
759
769
|
#
|
|
760
|
-
# [1]: https://docs.aws.amazon.com/personalize/latest/
|
|
770
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html
|
|
761
771
|
#
|
|
762
772
|
# @return [Types::CreateDatasetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
763
773
|
#
|
|
@@ -845,7 +855,7 @@ module Aws::Personalize
|
|
|
845
855
|
#
|
|
846
856
|
#
|
|
847
857
|
#
|
|
848
|
-
# [1]: https://docs.aws.amazon.com/personalize/latest/
|
|
858
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html
|
|
849
859
|
#
|
|
850
860
|
# @return [Types::CreateDatasetExportJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
851
861
|
#
|
|
@@ -974,7 +984,7 @@ module Aws::Personalize
|
|
|
974
984
|
#
|
|
975
985
|
#
|
|
976
986
|
#
|
|
977
|
-
# [1]: https://docs.aws.amazon.com/personalize/latest/
|
|
987
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html
|
|
978
988
|
#
|
|
979
989
|
# @return [Types::CreateDatasetGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
980
990
|
#
|
|
@@ -1075,7 +1085,7 @@ module Aws::Personalize
|
|
|
1075
1085
|
#
|
|
1076
1086
|
#
|
|
1077
1087
|
#
|
|
1078
|
-
# [1]: https://docs.aws.amazon.com/personalize/latest/
|
|
1088
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html
|
|
1079
1089
|
#
|
|
1080
1090
|
# @option params [String] :import_mode
|
|
1081
1091
|
# Specify how to add the new records to an existing dataset. The default
|
|
@@ -1186,7 +1196,7 @@ module Aws::Personalize
|
|
|
1186
1196
|
#
|
|
1187
1197
|
#
|
|
1188
1198
|
#
|
|
1189
|
-
# [1]: https://docs.aws.amazon.com/personalize/latest/
|
|
1199
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html
|
|
1190
1200
|
#
|
|
1191
1201
|
# @return [Types::CreateEventTrackerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1192
1202
|
#
|
|
@@ -1248,7 +1258,7 @@ module Aws::Personalize
|
|
|
1248
1258
|
#
|
|
1249
1259
|
#
|
|
1250
1260
|
#
|
|
1251
|
-
# [1]: https://docs.aws.amazon.com/personalize/latest/
|
|
1261
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html
|
|
1252
1262
|
#
|
|
1253
1263
|
# @return [Types::CreateFilterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1254
1264
|
#
|
|
@@ -1353,6 +1363,11 @@ module Aws::Personalize
|
|
|
1353
1363
|
#
|
|
1354
1364
|
# **Minimum recommendation requests per second**
|
|
1355
1365
|
#
|
|
1366
|
+
# A high `minRecommendationRequestsPerSecond` will increase your bill.
|
|
1367
|
+
# We recommend starting with 1 for `minRecommendationRequestsPerSecond`
|
|
1368
|
+
# (the default). Track your usage using Amazon CloudWatch metrics, and
|
|
1369
|
+
# increase the `minRecommendationRequestsPerSecond` as necessary.
|
|
1370
|
+
#
|
|
1356
1371
|
# When you create a recommender, you can configure the recommender's
|
|
1357
1372
|
# minimum recommendation requests per second. The minimum recommendation
|
|
1358
1373
|
# requests per second (`minRecommendationRequestsPerSecond`) specifies
|
|
@@ -1440,7 +1455,7 @@ module Aws::Personalize
|
|
|
1440
1455
|
#
|
|
1441
1456
|
#
|
|
1442
1457
|
#
|
|
1443
|
-
# [1]: https://docs.aws.amazon.com/personalize/latest/
|
|
1458
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html
|
|
1444
1459
|
#
|
|
1445
1460
|
# @return [Types::CreateRecommenderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1446
1461
|
#
|
|
@@ -1457,6 +1472,11 @@ module Aws::Personalize
|
|
|
1457
1472
|
# "ParameterName" => "ParameterValue",
|
|
1458
1473
|
# },
|
|
1459
1474
|
# min_recommendation_requests_per_second: 1,
|
|
1475
|
+
# training_data_config: {
|
|
1476
|
+
# excluded_dataset_columns: {
|
|
1477
|
+
# "DatasetType" => ["ColumnName"],
|
|
1478
|
+
# },
|
|
1479
|
+
# },
|
|
1460
1480
|
# },
|
|
1461
1481
|
# tags: [
|
|
1462
1482
|
# {
|
|
@@ -1540,10 +1560,10 @@ module Aws::Personalize
|
|
|
1540
1560
|
end
|
|
1541
1561
|
|
|
1542
1562
|
# Creates the configuration for training a model. A trained model is
|
|
1543
|
-
# known as a solution. After the configuration is created, you
|
|
1544
|
-
# model (create a solution) by calling the
|
|
1545
|
-
# operation. Every time you call
|
|
1546
|
-
# of the solution is created.
|
|
1563
|
+
# known as a solution version. After the configuration is created, you
|
|
1564
|
+
# train the model (create a solution version) by calling the
|
|
1565
|
+
# [CreateSolutionVersion][1] operation. Every time you call
|
|
1566
|
+
# `CreateSolutionVersion`, a new version of the solution is created.
|
|
1547
1567
|
#
|
|
1548
1568
|
# After creating a solution version, you check its accuracy by calling
|
|
1549
1569
|
# [GetSolutionMetrics][2]. When you are satisfied with the version, you
|
|
@@ -1554,9 +1574,7 @@ module Aws::Personalize
|
|
|
1554
1574
|
# recipe. The training data comes from the dataset group that you
|
|
1555
1575
|
# provide in the request. A recipe specifies the training algorithm and
|
|
1556
1576
|
# a feature transformation. You can specify one of the predefined
|
|
1557
|
-
# recipes provided by Amazon Personalize.
|
|
1558
|
-
# `performAutoML` and Amazon Personalize will analyze your data and
|
|
1559
|
-
# select the optimum USER\_PERSONALIZATION recipe for you.
|
|
1577
|
+
# recipes provided by Amazon Personalize.
|
|
1560
1578
|
#
|
|
1561
1579
|
# <note markdown="1"> Amazon Personalize doesn't support configuring the `hpoObjective` for
|
|
1562
1580
|
# solution hyperparameter optimization at this time.
|
|
@@ -1614,6 +1632,10 @@ module Aws::Personalize
|
|
|
1614
1632
|
# not set it to `false`.
|
|
1615
1633
|
#
|
|
1616
1634
|
# @option params [Boolean] :perform_auto_ml
|
|
1635
|
+
# We don't recommend enabling automated machine learning. Instead,
|
|
1636
|
+
# match your use case to the available Amazon Personalize recipes. For
|
|
1637
|
+
# more information, see [Determining your use case.][1]
|
|
1638
|
+
#
|
|
1617
1639
|
# Whether to perform automated machine learning (AutoML). The default is
|
|
1618
1640
|
# `false`. For this case, you must specify `recipeArn`.
|
|
1619
1641
|
#
|
|
@@ -1624,6 +1646,10 @@ module Aws::Personalize
|
|
|
1624
1646
|
# hyperparameters. AutoML lengthens the training process as compared to
|
|
1625
1647
|
# selecting a specific recipe.
|
|
1626
1648
|
#
|
|
1649
|
+
#
|
|
1650
|
+
#
|
|
1651
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/determining-use-case.html
|
|
1652
|
+
#
|
|
1627
1653
|
# @option params [String] :recipe_arn
|
|
1628
1654
|
# The ARN of the recipe to use for model training. Only specified when
|
|
1629
1655
|
# `performAutoML` is false.
|
|
@@ -1655,7 +1681,7 @@ module Aws::Personalize
|
|
|
1655
1681
|
#
|
|
1656
1682
|
#
|
|
1657
1683
|
#
|
|
1658
|
-
# [1]: https://docs.aws.amazon.com/personalize/latest/
|
|
1684
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html
|
|
1659
1685
|
#
|
|
1660
1686
|
# @return [Types::CreateSolutionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1661
1687
|
#
|
|
@@ -1719,6 +1745,11 @@ module Aws::Personalize
|
|
|
1719
1745
|
# item_attribute: "ItemAttribute",
|
|
1720
1746
|
# objective_sensitivity: "LOW", # accepts LOW, MEDIUM, HIGH, OFF
|
|
1721
1747
|
# },
|
|
1748
|
+
# training_data_config: {
|
|
1749
|
+
# excluded_dataset_columns: {
|
|
1750
|
+
# "DatasetType" => ["ColumnName"],
|
|
1751
|
+
# },
|
|
1752
|
+
# },
|
|
1722
1753
|
# },
|
|
1723
1754
|
# tags: [
|
|
1724
1755
|
# {
|
|
@@ -1821,7 +1852,7 @@ module Aws::Personalize
|
|
|
1821
1852
|
#
|
|
1822
1853
|
#
|
|
1823
1854
|
#
|
|
1824
|
-
# [1]: https://docs.aws.amazon.com/personalize/latest/
|
|
1855
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html
|
|
1825
1856
|
#
|
|
1826
1857
|
# @return [Types::CreateSolutionVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1827
1858
|
#
|
|
@@ -2724,6 +2755,9 @@ module Aws::Personalize
|
|
|
2724
2755
|
# resp.recommender.recommender_config.item_exploration_config #=> Hash
|
|
2725
2756
|
# resp.recommender.recommender_config.item_exploration_config["ParameterName"] #=> String
|
|
2726
2757
|
# resp.recommender.recommender_config.min_recommendation_requests_per_second #=> Integer
|
|
2758
|
+
# resp.recommender.recommender_config.training_data_config.excluded_dataset_columns #=> Hash
|
|
2759
|
+
# resp.recommender.recommender_config.training_data_config.excluded_dataset_columns["DatasetType"] #=> Array
|
|
2760
|
+
# resp.recommender.recommender_config.training_data_config.excluded_dataset_columns["DatasetType"][0] #=> String
|
|
2727
2761
|
# resp.recommender.creation_date_time #=> Time
|
|
2728
2762
|
# resp.recommender.last_updated_date_time #=> Time
|
|
2729
2763
|
# resp.recommender.status #=> String
|
|
@@ -2731,6 +2765,9 @@ module Aws::Personalize
|
|
|
2731
2765
|
# resp.recommender.latest_recommender_update.recommender_config.item_exploration_config #=> Hash
|
|
2732
2766
|
# resp.recommender.latest_recommender_update.recommender_config.item_exploration_config["ParameterName"] #=> String
|
|
2733
2767
|
# resp.recommender.latest_recommender_update.recommender_config.min_recommendation_requests_per_second #=> Integer
|
|
2768
|
+
# resp.recommender.latest_recommender_update.recommender_config.training_data_config.excluded_dataset_columns #=> Hash
|
|
2769
|
+
# resp.recommender.latest_recommender_update.recommender_config.training_data_config.excluded_dataset_columns["DatasetType"] #=> Array
|
|
2770
|
+
# resp.recommender.latest_recommender_update.recommender_config.training_data_config.excluded_dataset_columns["DatasetType"][0] #=> String
|
|
2734
2771
|
# resp.recommender.latest_recommender_update.creation_date_time #=> Time
|
|
2735
2772
|
# resp.recommender.latest_recommender_update.last_updated_date_time #=> Time
|
|
2736
2773
|
# resp.recommender.latest_recommender_update.status #=> String
|
|
@@ -2841,6 +2878,9 @@ module Aws::Personalize
|
|
|
2841
2878
|
# resp.solution.solution_config.auto_ml_config.recipe_list[0] #=> String
|
|
2842
2879
|
# resp.solution.solution_config.optimization_objective.item_attribute #=> String
|
|
2843
2880
|
# resp.solution.solution_config.optimization_objective.objective_sensitivity #=> String, one of "LOW", "MEDIUM", "HIGH", "OFF"
|
|
2881
|
+
# resp.solution.solution_config.training_data_config.excluded_dataset_columns #=> Hash
|
|
2882
|
+
# resp.solution.solution_config.training_data_config.excluded_dataset_columns["DatasetType"] #=> Array
|
|
2883
|
+
# resp.solution.solution_config.training_data_config.excluded_dataset_columns["DatasetType"][0] #=> String
|
|
2844
2884
|
# resp.solution.auto_ml_result.best_recipe_arn #=> String
|
|
2845
2885
|
# resp.solution.status #=> String
|
|
2846
2886
|
# resp.solution.creation_date_time #=> Time
|
|
@@ -2917,6 +2957,9 @@ module Aws::Personalize
|
|
|
2917
2957
|
# resp.solution_version.solution_config.auto_ml_config.recipe_list[0] #=> String
|
|
2918
2958
|
# resp.solution_version.solution_config.optimization_objective.item_attribute #=> String
|
|
2919
2959
|
# resp.solution_version.solution_config.optimization_objective.objective_sensitivity #=> String, one of "LOW", "MEDIUM", "HIGH", "OFF"
|
|
2960
|
+
# resp.solution_version.solution_config.training_data_config.excluded_dataset_columns #=> Hash
|
|
2961
|
+
# resp.solution_version.solution_config.training_data_config.excluded_dataset_columns["DatasetType"] #=> Array
|
|
2962
|
+
# resp.solution_version.solution_config.training_data_config.excluded_dataset_columns["DatasetType"][0] #=> String
|
|
2920
2963
|
# resp.solution_version.training_hours #=> Float
|
|
2921
2964
|
# resp.solution_version.training_mode #=> String, one of "FULL", "UPDATE"
|
|
2922
2965
|
# resp.solution_version.tuned_hpo_params.algorithm_hyper_parameters #=> Hash
|
|
@@ -3649,6 +3692,9 @@ module Aws::Personalize
|
|
|
3649
3692
|
# resp.recommenders[0].recommender_config.item_exploration_config #=> Hash
|
|
3650
3693
|
# resp.recommenders[0].recommender_config.item_exploration_config["ParameterName"] #=> String
|
|
3651
3694
|
# resp.recommenders[0].recommender_config.min_recommendation_requests_per_second #=> Integer
|
|
3695
|
+
# resp.recommenders[0].recommender_config.training_data_config.excluded_dataset_columns #=> Hash
|
|
3696
|
+
# resp.recommenders[0].recommender_config.training_data_config.excluded_dataset_columns["DatasetType"] #=> Array
|
|
3697
|
+
# resp.recommenders[0].recommender_config.training_data_config.excluded_dataset_columns["DatasetType"][0] #=> String
|
|
3652
3698
|
# resp.recommenders[0].status #=> String
|
|
3653
3699
|
# resp.recommenders[0].creation_date_time #=> Time
|
|
3654
3700
|
# resp.recommenders[0].last_updated_date_time #=> Time
|
|
@@ -3819,7 +3865,7 @@ module Aws::Personalize
|
|
|
3819
3865
|
#
|
|
3820
3866
|
#
|
|
3821
3867
|
#
|
|
3822
|
-
# [1]: https://docs.aws.amazon.com/personalize/latest/
|
|
3868
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html
|
|
3823
3869
|
#
|
|
3824
3870
|
# @option params [required, String] :resource_arn
|
|
3825
3871
|
# The resource's Amazon Resource Name.
|
|
@@ -3952,11 +3998,11 @@ module Aws::Personalize
|
|
|
3952
3998
|
#
|
|
3953
3999
|
# @option params [required, Array<Types::Tag>] :tags
|
|
3954
4000
|
# Tags to apply to the resource. For more information see [Tagging
|
|
3955
|
-
# Personalize
|
|
4001
|
+
# Amazon Personalize recources][1].
|
|
3956
4002
|
#
|
|
3957
4003
|
#
|
|
3958
4004
|
#
|
|
3959
|
-
# [1]: https://docs.aws.amazon.com/personalize/latest/
|
|
4005
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html
|
|
3960
4006
|
#
|
|
3961
4007
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
3962
4008
|
#
|
|
@@ -3985,7 +4031,7 @@ module Aws::Personalize
|
|
|
3985
4031
|
#
|
|
3986
4032
|
#
|
|
3987
4033
|
#
|
|
3988
|
-
# [1]: https://docs.aws.amazon.com/personalize/latest/
|
|
4034
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html
|
|
3989
4035
|
#
|
|
3990
4036
|
# @option params [required, String] :resource_arn
|
|
3991
4037
|
# The resource's Amazon Resource Name (ARN).
|
|
@@ -4040,7 +4086,11 @@ module Aws::Personalize
|
|
|
4040
4086
|
#
|
|
4041
4087
|
# @option params [Integer] :min_provisioned_tps
|
|
4042
4088
|
# Specifies the requested minimum provisioned transactions
|
|
4043
|
-
# (recommendations) per second that Amazon Personalize will support.
|
|
4089
|
+
# (recommendations) per second that Amazon Personalize will support. A
|
|
4090
|
+
# high `minProvisionedTPS` will increase your bill. We recommend
|
|
4091
|
+
# starting with 1 for `minProvisionedTPS` (the default). Track your
|
|
4092
|
+
# usage using Amazon CloudWatch metrics, and increase the
|
|
4093
|
+
# `minProvisionedTPS` as necessary.
|
|
4044
4094
|
#
|
|
4045
4095
|
# @option params [Types::CampaignConfig] :campaign_config
|
|
4046
4096
|
# The configuration details of a campaign.
|
|
@@ -4127,7 +4177,18 @@ module Aws::Personalize
|
|
|
4127
4177
|
req.send_request(options)
|
|
4128
4178
|
end
|
|
4129
4179
|
|
|
4130
|
-
# Updates the recommender to modify the recommender configuration.
|
|
4180
|
+
# Updates the recommender to modify the recommender configuration. If
|
|
4181
|
+
# you update the recommender to modify the columns used in training,
|
|
4182
|
+
# Amazon Personalize automatically starts a full retraining of the
|
|
4183
|
+
# models backing your recommender. While the update completes, you can
|
|
4184
|
+
# still get recommendations from the recommender. The recommender uses
|
|
4185
|
+
# the previous configuration until the update completes. To track the
|
|
4186
|
+
# status of this update, use the `latestRecommenderUpdate` returned in
|
|
4187
|
+
# the [DescribeRecommender][1] operation.
|
|
4188
|
+
#
|
|
4189
|
+
#
|
|
4190
|
+
#
|
|
4191
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeRecommender.html
|
|
4131
4192
|
#
|
|
4132
4193
|
# @option params [required, String] :recommender_arn
|
|
4133
4194
|
# The Amazon Resource Name (ARN) of the recommender to modify.
|
|
@@ -4148,6 +4209,11 @@ module Aws::Personalize
|
|
|
4148
4209
|
# "ParameterName" => "ParameterValue",
|
|
4149
4210
|
# },
|
|
4150
4211
|
# min_recommendation_requests_per_second: 1,
|
|
4212
|
+
# training_data_config: {
|
|
4213
|
+
# excluded_dataset_columns: {
|
|
4214
|
+
# "DatasetType" => ["ColumnName"],
|
|
4215
|
+
# },
|
|
4216
|
+
# },
|
|
4151
4217
|
# },
|
|
4152
4218
|
# })
|
|
4153
4219
|
#
|
|
@@ -4177,7 +4243,7 @@ module Aws::Personalize
|
|
|
4177
4243
|
params: params,
|
|
4178
4244
|
config: config)
|
|
4179
4245
|
context[:gem_name] = 'aws-sdk-personalize'
|
|
4180
|
-
context[:gem_version] = '1.
|
|
4246
|
+
context[:gem_version] = '1.47.0'
|
|
4181
4247
|
Seahorse::Client::Request.new(handlers, context)
|
|
4182
4248
|
end
|
|
4183
4249
|
|
|
@@ -42,6 +42,8 @@ module Aws::Personalize
|
|
|
42
42
|
CategoricalHyperParameterRanges = Shapes::ListShape.new(name: 'CategoricalHyperParameterRanges')
|
|
43
43
|
CategoricalValue = Shapes::StringShape.new(name: 'CategoricalValue')
|
|
44
44
|
CategoricalValues = Shapes::ListShape.new(name: 'CategoricalValues')
|
|
45
|
+
ColumnName = Shapes::StringShape.new(name: 'ColumnName')
|
|
46
|
+
ColumnNamesList = Shapes::ListShape.new(name: 'ColumnNamesList')
|
|
45
47
|
ContinuousHyperParameterRange = Shapes::StructureShape.new(name: 'ContinuousHyperParameterRange')
|
|
46
48
|
ContinuousHyperParameterRanges = Shapes::ListShape.new(name: 'ContinuousHyperParameterRanges')
|
|
47
49
|
ContinuousMaxValue = Shapes::FloatShape.new(name: 'ContinuousMaxValue')
|
|
@@ -151,6 +153,7 @@ module Aws::Personalize
|
|
|
151
153
|
EventTrackers = Shapes::ListShape.new(name: 'EventTrackers')
|
|
152
154
|
EventType = Shapes::StringShape.new(name: 'EventType')
|
|
153
155
|
EventValueThreshold = Shapes::StringShape.new(name: 'EventValueThreshold')
|
|
156
|
+
ExcludedDatasetColumns = Shapes::MapShape.new(name: 'ExcludedDatasetColumns')
|
|
154
157
|
FailureReason = Shapes::StringShape.new(name: 'FailureReason')
|
|
155
158
|
FeatureTransformation = Shapes::StructureShape.new(name: 'FeatureTransformation')
|
|
156
159
|
FeatureTransformationParameters = Shapes::MapShape.new(name: 'FeatureTransformationParameters')
|
|
@@ -276,6 +279,7 @@ module Aws::Personalize
|
|
|
276
279
|
TooManyTagKeysException = Shapes::StructureShape.new(name: 'TooManyTagKeysException')
|
|
277
280
|
TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
|
|
278
281
|
TrackingId = Shapes::StringShape.new(name: 'TrackingId')
|
|
282
|
+
TrainingDataConfig = Shapes::StructureShape.new(name: 'TrainingDataConfig')
|
|
279
283
|
TrainingHours = Shapes::FloatShape.new(name: 'TrainingHours')
|
|
280
284
|
TrainingInputMode = Shapes::StringShape.new(name: 'TrainingInputMode')
|
|
281
285
|
TrainingMode = Shapes::StringShape.new(name: 'TrainingMode')
|
|
@@ -424,6 +428,8 @@ module Aws::Personalize
|
|
|
424
428
|
|
|
425
429
|
CategoricalValues.member = Shapes::ShapeRef.new(shape: CategoricalValue)
|
|
426
430
|
|
|
431
|
+
ColumnNamesList.member = Shapes::ShapeRef.new(shape: ColumnName)
|
|
432
|
+
|
|
427
433
|
ContinuousHyperParameterRange.add_member(:name, Shapes::ShapeRef.new(shape: ParameterName, location_name: "name"))
|
|
428
434
|
ContinuousHyperParameterRange.add_member(:min_value, Shapes::ShapeRef.new(shape: ContinuousMinValue, location_name: "minValue"))
|
|
429
435
|
ContinuousHyperParameterRange.add_member(:max_value, Shapes::ShapeRef.new(shape: ContinuousMaxValue, location_name: "maxValue"))
|
|
@@ -864,6 +870,9 @@ module Aws::Personalize
|
|
|
864
870
|
|
|
865
871
|
EventTrackers.member = Shapes::ShapeRef.new(shape: EventTrackerSummary)
|
|
866
872
|
|
|
873
|
+
ExcludedDatasetColumns.key = Shapes::ShapeRef.new(shape: DatasetType)
|
|
874
|
+
ExcludedDatasetColumns.value = Shapes::ShapeRef.new(shape: ColumnNamesList)
|
|
875
|
+
|
|
867
876
|
FeatureTransformation.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
|
868
877
|
FeatureTransformation.add_member(:feature_transformation_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "featureTransformationArn"))
|
|
869
878
|
FeatureTransformation.add_member(:default_parameters, Shapes::ShapeRef.new(shape: FeaturizationParameters, location_name: "defaultParameters"))
|
|
@@ -1169,6 +1178,7 @@ module Aws::Personalize
|
|
|
1169
1178
|
|
|
1170
1179
|
RecommenderConfig.add_member(:item_exploration_config, Shapes::ShapeRef.new(shape: HyperParameters, location_name: "itemExplorationConfig"))
|
|
1171
1180
|
RecommenderConfig.add_member(:min_recommendation_requests_per_second, Shapes::ShapeRef.new(shape: TransactionsPerSecond, location_name: "minRecommendationRequestsPerSecond"))
|
|
1181
|
+
RecommenderConfig.add_member(:training_data_config, Shapes::ShapeRef.new(shape: TrainingDataConfig, location_name: "trainingDataConfig"))
|
|
1172
1182
|
RecommenderConfig.struct_class = Types::RecommenderConfig
|
|
1173
1183
|
|
|
1174
1184
|
RecommenderSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
|
@@ -1229,6 +1239,7 @@ module Aws::Personalize
|
|
|
1229
1239
|
SolutionConfig.add_member(:feature_transformation_parameters, Shapes::ShapeRef.new(shape: FeatureTransformationParameters, location_name: "featureTransformationParameters"))
|
|
1230
1240
|
SolutionConfig.add_member(:auto_ml_config, Shapes::ShapeRef.new(shape: AutoMLConfig, location_name: "autoMLConfig"))
|
|
1231
1241
|
SolutionConfig.add_member(:optimization_objective, Shapes::ShapeRef.new(shape: OptimizationObjective, location_name: "optimizationObjective"))
|
|
1242
|
+
SolutionConfig.add_member(:training_data_config, Shapes::ShapeRef.new(shape: TrainingDataConfig, location_name: "trainingDataConfig"))
|
|
1232
1243
|
SolutionConfig.struct_class = Types::SolutionConfig
|
|
1233
1244
|
|
|
1234
1245
|
SolutionSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
|
@@ -1303,6 +1314,9 @@ module Aws::Personalize
|
|
|
1303
1314
|
TooManyTagsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
|
1304
1315
|
TooManyTagsException.struct_class = Types::TooManyTagsException
|
|
1305
1316
|
|
|
1317
|
+
TrainingDataConfig.add_member(:excluded_dataset_columns, Shapes::ShapeRef.new(shape: ExcludedDatasetColumns, location_name: "excludedDatasetColumns"))
|
|
1318
|
+
TrainingDataConfig.struct_class = Types::TrainingDataConfig
|
|
1319
|
+
|
|
1306
1320
|
TunedHPOParams.add_member(:algorithm_hyper_parameters, Shapes::ShapeRef.new(shape: HyperParameters, location_name: "algorithmHyperParameters"))
|
|
1307
1321
|
TunedHPOParams.struct_class = Types::TunedHPOParams
|
|
1308
1322
|
|
|
@@ -14,36 +14,39 @@ module Aws::Personalize
|
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
|
15
15
|
use_fips = parameters.use_fips
|
|
16
16
|
endpoint = parameters.endpoint
|
|
17
|
-
if
|
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
|
19
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
|
21
|
-
end
|
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
|
24
|
-
end
|
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
|
26
|
-
end
|
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://personalize-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
|
30
|
-
end
|
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
|
32
|
-
end
|
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
|
34
|
-
|
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://personalize-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
36
|
-
end
|
|
37
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
|
38
20
|
end
|
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
40
|
-
|
|
41
|
-
|
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
|
23
|
+
end
|
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
|
25
|
+
end
|
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://personalize-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
|
31
|
+
end
|
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
|
33
|
+
end
|
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://personalize-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
37
|
+
end
|
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
|
39
|
+
end
|
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://personalize.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
|
43
|
+
end
|
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
|
42
45
|
end
|
|
43
|
-
|
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://personalize.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
44
47
|
end
|
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://personalize.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
46
48
|
end
|
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
|
47
50
|
raise ArgumentError, 'No endpoint could be resolved'
|
|
48
51
|
|
|
49
52
|
end
|
|
@@ -366,7 +366,8 @@ module Aws::Personalize
|
|
|
366
366
|
#
|
|
367
367
|
# @!attribute [rw] num_results
|
|
368
368
|
# The number of predicted users generated by the batch segment job for
|
|
369
|
-
# each line of input data.
|
|
369
|
+
# each line of input data. The maximum number of users per segment is
|
|
370
|
+
# 5 million.
|
|
370
371
|
# @return [Integer]
|
|
371
372
|
#
|
|
372
373
|
# @!attribute [rw] job_input
|
|
@@ -535,7 +536,11 @@ module Aws::Personalize
|
|
|
535
536
|
#
|
|
536
537
|
# @!attribute [rw] min_provisioned_tps
|
|
537
538
|
# Specifies the requested minimum provisioned transactions
|
|
538
|
-
# (recommendations) per second.
|
|
539
|
+
# (recommendations) per second. A high `minProvisionedTPS` will
|
|
540
|
+
# increase your bill. We recommend starting with 1 for
|
|
541
|
+
# `minProvisionedTPS` (the default). Track your usage using Amazon
|
|
542
|
+
# CloudWatch metrics, and increase the `minProvisionedTPS` as
|
|
543
|
+
# necessary.
|
|
539
544
|
# @return [Integer]
|
|
540
545
|
#
|
|
541
546
|
# @!attribute [rw] campaign_config
|
|
@@ -815,7 +820,7 @@ module Aws::Personalize
|
|
|
815
820
|
#
|
|
816
821
|
#
|
|
817
822
|
#
|
|
818
|
-
# [1]: https://docs.aws.amazon.com/personalize/latest/
|
|
823
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html
|
|
819
824
|
# @return [Array<Types::Tag>]
|
|
820
825
|
#
|
|
821
826
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateBatchInferenceJobRequest AWS API Documentation
|
|
@@ -867,7 +872,8 @@ module Aws::Personalize
|
|
|
867
872
|
#
|
|
868
873
|
# @!attribute [rw] num_results
|
|
869
874
|
# The number of predicted users generated by the batch segment job for
|
|
870
|
-
# each line of input data.
|
|
875
|
+
# each line of input data. The maximum number of users per segment is
|
|
876
|
+
# 5 million.
|
|
871
877
|
# @return [Integer]
|
|
872
878
|
#
|
|
873
879
|
# @!attribute [rw] job_input
|
|
@@ -891,7 +897,7 @@ module Aws::Personalize
|
|
|
891
897
|
#
|
|
892
898
|
#
|
|
893
899
|
#
|
|
894
|
-
# [1]: https://docs.aws.amazon.com/personalize/latest/
|
|
900
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html
|
|
895
901
|
# @return [Array<Types::Tag>]
|
|
896
902
|
#
|
|
897
903
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateBatchSegmentJobRequest AWS API Documentation
|
|
@@ -932,7 +938,11 @@ module Aws::Personalize
|
|
|
932
938
|
#
|
|
933
939
|
# @!attribute [rw] min_provisioned_tps
|
|
934
940
|
# Specifies the requested minimum provisioned transactions
|
|
935
|
-
# (recommendations) per second that Amazon Personalize will support.
|
|
941
|
+
# (recommendations) per second that Amazon Personalize will support. A
|
|
942
|
+
# high `minProvisionedTPS` will increase your bill. We recommend
|
|
943
|
+
# starting with 1 for `minProvisionedTPS` (the default). Track your
|
|
944
|
+
# usage using Amazon CloudWatch metrics, and increase the
|
|
945
|
+
# `minProvisionedTPS` as necessary.
|
|
936
946
|
# @return [Integer]
|
|
937
947
|
#
|
|
938
948
|
# @!attribute [rw] campaign_config
|
|
@@ -944,7 +954,7 @@ module Aws::Personalize
|
|
|
944
954
|
#
|
|
945
955
|
#
|
|
946
956
|
#
|
|
947
|
-
# [1]: https://docs.aws.amazon.com/personalize/latest/
|
|
957
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html
|
|
948
958
|
# @return [Array<Types::Tag>]
|
|
949
959
|
#
|
|
950
960
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateCampaignRequest AWS API Documentation
|
|
@@ -1002,7 +1012,7 @@ module Aws::Personalize
|
|
|
1002
1012
|
#
|
|
1003
1013
|
#
|
|
1004
1014
|
#
|
|
1005
|
-
# [1]: https://docs.aws.amazon.com/personalize/latest/
|
|
1015
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html
|
|
1006
1016
|
# @return [Array<Types::Tag>]
|
|
1007
1017
|
#
|
|
1008
1018
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateDatasetExportJobRequest AWS API Documentation
|
|
@@ -1058,7 +1068,7 @@ module Aws::Personalize
|
|
|
1058
1068
|
#
|
|
1059
1069
|
#
|
|
1060
1070
|
#
|
|
1061
|
-
# [1]: https://docs.aws.amazon.com/personalize/latest/
|
|
1071
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html
|
|
1062
1072
|
# @return [Array<Types::Tag>]
|
|
1063
1073
|
#
|
|
1064
1074
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateDatasetGroupRequest AWS API Documentation
|
|
@@ -1112,7 +1122,7 @@ module Aws::Personalize
|
|
|
1112
1122
|
#
|
|
1113
1123
|
#
|
|
1114
1124
|
#
|
|
1115
|
-
# [1]: https://docs.aws.amazon.com/personalize/latest/
|
|
1125
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html
|
|
1116
1126
|
# @return [Array<Types::Tag>]
|
|
1117
1127
|
#
|
|
1118
1128
|
# @!attribute [rw] import_mode
|
|
@@ -1190,7 +1200,7 @@ module Aws::Personalize
|
|
|
1190
1200
|
#
|
|
1191
1201
|
#
|
|
1192
1202
|
#
|
|
1193
|
-
# [1]: https://docs.aws.amazon.com/personalize/latest/
|
|
1203
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html
|
|
1194
1204
|
# @return [Array<Types::Tag>]
|
|
1195
1205
|
#
|
|
1196
1206
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateDatasetRequest AWS API Documentation
|
|
@@ -1231,7 +1241,7 @@ module Aws::Personalize
|
|
|
1231
1241
|
#
|
|
1232
1242
|
#
|
|
1233
1243
|
#
|
|
1234
|
-
# [1]: https://docs.aws.amazon.com/personalize/latest/
|
|
1244
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html
|
|
1235
1245
|
# @return [Array<Types::Tag>]
|
|
1236
1246
|
#
|
|
1237
1247
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateEventTrackerRequest AWS API Documentation
|
|
@@ -1290,7 +1300,7 @@ module Aws::Personalize
|
|
|
1290
1300
|
#
|
|
1291
1301
|
#
|
|
1292
1302
|
#
|
|
1293
|
-
# [1]: https://docs.aws.amazon.com/personalize/latest/
|
|
1303
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html
|
|
1294
1304
|
# @return [Array<Types::Tag>]
|
|
1295
1305
|
#
|
|
1296
1306
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateFilterRequest AWS API Documentation
|
|
@@ -1390,7 +1400,7 @@ module Aws::Personalize
|
|
|
1390
1400
|
#
|
|
1391
1401
|
#
|
|
1392
1402
|
#
|
|
1393
|
-
# [1]: https://docs.aws.amazon.com/personalize/latest/
|
|
1403
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html
|
|
1394
1404
|
# @return [Array<Types::Tag>]
|
|
1395
1405
|
#
|
|
1396
1406
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateRecommenderRequest AWS API Documentation
|
|
@@ -1466,6 +1476,10 @@ module Aws::Personalize
|
|
|
1466
1476
|
# @return [Boolean]
|
|
1467
1477
|
#
|
|
1468
1478
|
# @!attribute [rw] perform_auto_ml
|
|
1479
|
+
# We don't recommend enabling automated machine learning. Instead,
|
|
1480
|
+
# match your use case to the available Amazon Personalize recipes. For
|
|
1481
|
+
# more information, see [Determining your use case.][1]
|
|
1482
|
+
#
|
|
1469
1483
|
# Whether to perform automated machine learning (AutoML). The default
|
|
1470
1484
|
# is `false`. For this case, you must specify `recipeArn`.
|
|
1471
1485
|
#
|
|
@@ -1475,6 +1489,10 @@ module Aws::Personalize
|
|
|
1475
1489
|
# Personalize determines the optimal recipe by running tests with
|
|
1476
1490
|
# different values for the hyperparameters. AutoML lengthens the
|
|
1477
1491
|
# training process as compared to selecting a specific recipe.
|
|
1492
|
+
#
|
|
1493
|
+
#
|
|
1494
|
+
#
|
|
1495
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/determining-use-case.html
|
|
1478
1496
|
# @return [Boolean]
|
|
1479
1497
|
#
|
|
1480
1498
|
# @!attribute [rw] recipe_arn
|
|
@@ -1512,7 +1530,7 @@ module Aws::Personalize
|
|
|
1512
1530
|
#
|
|
1513
1531
|
#
|
|
1514
1532
|
#
|
|
1515
|
-
# [1]: https://docs.aws.amazon.com/personalize/latest/
|
|
1533
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html
|
|
1516
1534
|
# @return [Array<Types::Tag>]
|
|
1517
1535
|
#
|
|
1518
1536
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateSolutionRequest AWS API Documentation
|
|
@@ -1576,7 +1594,7 @@ module Aws::Personalize
|
|
|
1576
1594
|
#
|
|
1577
1595
|
#
|
|
1578
1596
|
#
|
|
1579
|
-
# [1]: https://docs.aws.amazon.com/personalize/latest/
|
|
1597
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html
|
|
1580
1598
|
# @return [Array<Types::Tag>]
|
|
1581
1599
|
#
|
|
1582
1600
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateSolutionVersionRequest AWS API Documentation
|
|
@@ -4477,14 +4495,24 @@ module Aws::Personalize
|
|
|
4477
4495
|
#
|
|
4478
4496
|
# @!attribute [rw] min_recommendation_requests_per_second
|
|
4479
4497
|
# Specifies the requested minimum provisioned recommendation requests
|
|
4480
|
-
# per second that Amazon Personalize will support.
|
|
4498
|
+
# per second that Amazon Personalize will support. A high
|
|
4499
|
+
# `minRecommendationRequestsPerSecond` will increase your bill. We
|
|
4500
|
+
# recommend starting with 1 for `minRecommendationRequestsPerSecond`
|
|
4501
|
+
# (the default). Track your usage using Amazon CloudWatch metrics, and
|
|
4502
|
+
# increase the `minRecommendationRequestsPerSecond` as necessary.
|
|
4481
4503
|
# @return [Integer]
|
|
4482
4504
|
#
|
|
4505
|
+
# @!attribute [rw] training_data_config
|
|
4506
|
+
# Specifies the training data configuration to use when creating a
|
|
4507
|
+
# domain recommender.
|
|
4508
|
+
# @return [Types::TrainingDataConfig]
|
|
4509
|
+
#
|
|
4483
4510
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/RecommenderConfig AWS API Documentation
|
|
4484
4511
|
#
|
|
4485
4512
|
class RecommenderConfig < Struct.new(
|
|
4486
4513
|
:item_exploration_config,
|
|
4487
|
-
:min_recommendation_requests_per_second
|
|
4514
|
+
:min_recommendation_requests_per_second,
|
|
4515
|
+
:training_data_config)
|
|
4488
4516
|
SENSITIVE = []
|
|
4489
4517
|
include Aws::Structure
|
|
4490
4518
|
end
|
|
@@ -4678,10 +4706,18 @@ module Aws::Personalize
|
|
|
4678
4706
|
# @return [Boolean]
|
|
4679
4707
|
#
|
|
4680
4708
|
# @!attribute [rw] perform_auto_ml
|
|
4709
|
+
# We don't recommend enabling automated machine learning. Instead,
|
|
4710
|
+
# match your use case to the available Amazon Personalize recipes. For
|
|
4711
|
+
# more information, see [Determining your use case.][1]
|
|
4712
|
+
#
|
|
4681
4713
|
# When true, Amazon Personalize performs a search for the best
|
|
4682
4714
|
# USER\_PERSONALIZATION recipe from the list specified in the solution
|
|
4683
4715
|
# configuration (`recipeArn` must not be specified). When false (the
|
|
4684
4716
|
# default), Amazon Personalize uses `recipeArn` for training.
|
|
4717
|
+
#
|
|
4718
|
+
#
|
|
4719
|
+
#
|
|
4720
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/determining-use-case.html
|
|
4685
4721
|
# @return [Boolean]
|
|
4686
4722
|
#
|
|
4687
4723
|
# @!attribute [rw] recipe_arn
|
|
@@ -4790,6 +4826,11 @@ module Aws::Personalize
|
|
|
4790
4826
|
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/optimizing-solution-for-objective.html
|
|
4791
4827
|
# @return [Types::OptimizationObjective]
|
|
4792
4828
|
#
|
|
4829
|
+
# @!attribute [rw] training_data_config
|
|
4830
|
+
# Specifies the training data configuration to use when creating a
|
|
4831
|
+
# custom solution version (trained model).
|
|
4832
|
+
# @return [Types::TrainingDataConfig]
|
|
4833
|
+
#
|
|
4793
4834
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/SolutionConfig AWS API Documentation
|
|
4794
4835
|
#
|
|
4795
4836
|
class SolutionConfig < Struct.new(
|
|
@@ -4798,7 +4839,8 @@ module Aws::Personalize
|
|
|
4798
4839
|
:algorithm_hyper_parameters,
|
|
4799
4840
|
:feature_transformation_parameters,
|
|
4800
4841
|
:auto_ml_config,
|
|
4801
|
-
:optimization_objective
|
|
4842
|
+
:optimization_objective,
|
|
4843
|
+
:training_data_config)
|
|
4802
4844
|
SENSITIVE = []
|
|
4803
4845
|
include Aws::Structure
|
|
4804
4846
|
end
|
|
@@ -5099,11 +5141,11 @@ module Aws::Personalize
|
|
|
5099
5141
|
# The optional metadata that you apply to resources to help you
|
|
5100
5142
|
# categorize and organize them. Each tag consists of a key and an
|
|
5101
5143
|
# optional value, both of which you define. For more information see
|
|
5102
|
-
# [Tagging Personalize
|
|
5144
|
+
# [Tagging Amazon Personalize recources][1].
|
|
5103
5145
|
#
|
|
5104
5146
|
#
|
|
5105
5147
|
#
|
|
5106
|
-
# [1]: https://docs.aws.amazon.com/personalize/latest/
|
|
5148
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html
|
|
5107
5149
|
#
|
|
5108
5150
|
# @!attribute [rw] tag_key
|
|
5109
5151
|
# One part of a key-value pair that makes up a tag. A key is a general
|
|
@@ -5130,11 +5172,11 @@ module Aws::Personalize
|
|
|
5130
5172
|
#
|
|
5131
5173
|
# @!attribute [rw] tags
|
|
5132
5174
|
# Tags to apply to the resource. For more information see [Tagging
|
|
5133
|
-
# Personalize
|
|
5175
|
+
# Amazon Personalize recources][1].
|
|
5134
5176
|
#
|
|
5135
5177
|
#
|
|
5136
5178
|
#
|
|
5137
|
-
# [1]: https://docs.aws.amazon.com/personalize/latest/
|
|
5179
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html
|
|
5138
5180
|
# @return [Array<Types::Tag>]
|
|
5139
5181
|
#
|
|
5140
5182
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/TagResourceRequest AWS API Documentation
|
|
@@ -5178,6 +5220,27 @@ module Aws::Personalize
|
|
|
5178
5220
|
include Aws::Structure
|
|
5179
5221
|
end
|
|
5180
5222
|
|
|
5223
|
+
# The training data configuration to use when creating a domain
|
|
5224
|
+
# recommender or custom solution version (trained model).
|
|
5225
|
+
#
|
|
5226
|
+
# @!attribute [rw] excluded_dataset_columns
|
|
5227
|
+
# Specifies the columns to exclude from training. Each key is a
|
|
5228
|
+
# dataset type, and each value is a list of columns. Exclude columns
|
|
5229
|
+
# to control what data Amazon Personalize uses to generate
|
|
5230
|
+
# recommendations. For example, you might have a column that you want
|
|
5231
|
+
# to use only to filter recommendations. You can exclude this column
|
|
5232
|
+
# from training and Amazon Personalize considers it only when
|
|
5233
|
+
# filtering.
|
|
5234
|
+
# @return [Hash<String,Array<String>>]
|
|
5235
|
+
#
|
|
5236
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/TrainingDataConfig AWS API Documentation
|
|
5237
|
+
#
|
|
5238
|
+
class TrainingDataConfig < Struct.new(
|
|
5239
|
+
:excluded_dataset_columns)
|
|
5240
|
+
SENSITIVE = []
|
|
5241
|
+
include Aws::Structure
|
|
5242
|
+
end
|
|
5243
|
+
|
|
5181
5244
|
# If hyperparameter optimization (HPO) was performed, contains the
|
|
5182
5245
|
# hyperparameter values of the best performing model.
|
|
5183
5246
|
#
|
|
@@ -5224,7 +5287,11 @@ module Aws::Personalize
|
|
|
5224
5287
|
#
|
|
5225
5288
|
# @!attribute [rw] min_provisioned_tps
|
|
5226
5289
|
# Specifies the requested minimum provisioned transactions
|
|
5227
|
-
# (recommendations) per second that Amazon Personalize will support.
|
|
5290
|
+
# (recommendations) per second that Amazon Personalize will support. A
|
|
5291
|
+
# high `minProvisionedTPS` will increase your bill. We recommend
|
|
5292
|
+
# starting with 1 for `minProvisionedTPS` (the default). Track your
|
|
5293
|
+
# usage using Amazon CloudWatch metrics, and increase the
|
|
5294
|
+
# `minProvisionedTPS` as necessary.
|
|
5228
5295
|
# @return [Integer]
|
|
5229
5296
|
#
|
|
5230
5297
|
# @!attribute [rw] campaign_config
|
data/lib/aws-sdk-personalize.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-personalize
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.47.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-05-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|