aws-sdk-personalize 1.58.0 → 1.60.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-personalize/client.rb +159 -55
- data/lib/aws-sdk-personalize/client_api.rb +14 -0
- data/lib/aws-sdk-personalize/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-personalize/types.rb +177 -33
- data/lib/aws-sdk-personalize.rb +1 -1
- data/sig/client.rbs +1026 -0
- data/sig/errors.rbs +40 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +1432 -0
- data/sig/waiters.rbs +13 -0
- metadata +9 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1da6af0db56f8c48cb2a224c8ce92c920417acfc5b29ff600eb82ddb8dbf82a
|
4
|
+
data.tar.gz: 4d142528e72269c236df306d3f7d6fdc1c263cb8939afb165b667f7f694698a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb125d70ef1daf9339e98cc9aede0884549ca854ad934373abf2009086231e84f03f09b49accb43eab2c29538848a0f7f020f73b9fc9e7850cc5fa25853e234a
|
7
|
+
data.tar.gz: 7f5dbe932c9498748effa1c5069eb23f3b704a7e16a684d9e40baa105d3b3f175ff3ec4c5071e5968accf343b81f7962771e6394da8fec91a5254e677ce3a387
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.60.0 (2024-04-19)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This releases auto training capability while creating a solution and automatically syncing latest solution versions when creating/updating a campaign
|
8
|
+
|
9
|
+
1.59.0 (2024-01-26)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.58.0 (2024-01-16)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.60.0
|
@@ -638,8 +638,12 @@ module Aws::Personalize
|
|
638
638
|
req.send_request(options)
|
639
639
|
end
|
640
640
|
|
641
|
+
# You incur campaign costs while it is active. To avoid unnecessary
|
642
|
+
# costs, make sure to delete the campaign when you are finished. For
|
643
|
+
# information about campaign costs, see [Amazon Personalize pricing][1].
|
644
|
+
#
|
641
645
|
# Creates a campaign that deploys a solution version. When a client
|
642
|
-
# calls the [GetRecommendations][
|
646
|
+
# calls the [GetRecommendations][2] and [GetPersonalizedRanking][3]
|
643
647
|
# APIs, a campaign is specified in the request.
|
644
648
|
#
|
645
649
|
# **Minimum Provisioned TPS and Auto-Scaling**
|
@@ -671,7 +675,7 @@ module Aws::Personalize
|
|
671
675
|
# `minProvisionedTPS` as necessary.
|
672
676
|
#
|
673
677
|
# For more information about campaign costs, see [Amazon Personalize
|
674
|
-
# pricing][
|
678
|
+
# pricing][1].
|
675
679
|
#
|
676
680
|
# **Status**
|
677
681
|
#
|
@@ -701,9 +705,9 @@ module Aws::Personalize
|
|
701
705
|
#
|
702
706
|
#
|
703
707
|
#
|
704
|
-
# [1]: https://
|
705
|
-
# [2]: https://docs.aws.amazon.com/personalize/latest/dg/
|
706
|
-
# [3]: https://aws.amazon.com/personalize/
|
708
|
+
# [1]: https://aws.amazon.com/personalize/pricing/
|
709
|
+
# [2]: https://docs.aws.amazon.com/personalize/latest/dg/API_RS_GetRecommendations.html
|
710
|
+
# [3]: https://docs.aws.amazon.com/personalize/latest/dg/API_RS_GetPersonalizedRanking.html
|
707
711
|
# [4]: https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeCampaign.html
|
708
712
|
# [5]: https://docs.aws.amazon.com/personalize/latest/dg/API_ListCampaigns.html
|
709
713
|
# [6]: https://docs.aws.amazon.com/personalize/latest/dg/API_UpdateCampaign.html
|
@@ -714,7 +718,22 @@ module Aws::Personalize
|
|
714
718
|
# your account.
|
715
719
|
#
|
716
720
|
# @option params [required, String] :solution_version_arn
|
717
|
-
# The Amazon Resource Name (ARN) of the
|
721
|
+
# The Amazon Resource Name (ARN) of the trained model to deploy with the
|
722
|
+
# campaign. To specify the latest solution version of your solution,
|
723
|
+
# specify the ARN of your *solution* in `SolutionArn/$LATEST` format.
|
724
|
+
# You must use this format if you set `syncWithLatestSolutionVersion` to
|
725
|
+
# `True` in the [CampaignConfig][1].
|
726
|
+
#
|
727
|
+
# To deploy a model that isn't the latest solution version of your
|
728
|
+
# solution, specify the ARN of the solution version.
|
729
|
+
#
|
730
|
+
# For more information about automatic campaign updates, see [Enabling
|
731
|
+
# automatic campaign updates][2].
|
732
|
+
#
|
733
|
+
#
|
734
|
+
#
|
735
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/API_CampaignConfig.html
|
736
|
+
# [2]: https://docs.aws.amazon.com/personalize/latest/dg/campaigns.html#create-campaign-automatic-latest-sv-update
|
718
737
|
#
|
719
738
|
# @option params [Integer] :min_provisioned_tps
|
720
739
|
# Specifies the requested minimum provisioned transactions
|
@@ -749,6 +768,7 @@ module Aws::Personalize
|
|
749
768
|
# "ParameterName" => "ParameterValue",
|
750
769
|
# },
|
751
770
|
# enable_metadata_with_recommendations: false,
|
771
|
+
# sync_with_latest_solution_version: false,
|
752
772
|
# },
|
753
773
|
# tags: [
|
754
774
|
# {
|
@@ -1653,22 +1673,40 @@ module Aws::Personalize
|
|
1653
1673
|
req.send_request(options)
|
1654
1674
|
end
|
1655
1675
|
|
1656
|
-
#
|
1657
|
-
#
|
1658
|
-
#
|
1659
|
-
#
|
1660
|
-
#
|
1661
|
-
#
|
1662
|
-
#
|
1663
|
-
#
|
1664
|
-
#
|
1665
|
-
#
|
1666
|
-
#
|
1667
|
-
#
|
1668
|
-
#
|
1669
|
-
#
|
1670
|
-
#
|
1671
|
-
#
|
1676
|
+
# After you create a solution, you can’t change its configuration. By
|
1677
|
+
# default, all new solutions use automatic training. With automatic
|
1678
|
+
# training, you incur training costs while your solution is active. You
|
1679
|
+
# can't stop automatic training for a solution. To avoid unnecessary
|
1680
|
+
# costs, make sure to delete the solution when you are finished. For
|
1681
|
+
# information about training costs, see [Amazon Personalize pricing][1].
|
1682
|
+
#
|
1683
|
+
# Creates the configuration for training a model (creating a solution
|
1684
|
+
# version). This configuration includes the recipe to use for model
|
1685
|
+
# training and optional training configuration, such as columns to use
|
1686
|
+
# in training and feature transformation parameters. For more
|
1687
|
+
# information about configuring a solution, see [Creating and
|
1688
|
+
# configuring a solution][2].
|
1689
|
+
#
|
1690
|
+
# By default, new solutions use automatic training to create solution
|
1691
|
+
# versions every 7 days. You can change the training frequency.
|
1692
|
+
# Automatic solution version creation starts one hour after the solution
|
1693
|
+
# is ACTIVE. If you manually create a solution version within the hour,
|
1694
|
+
# the solution skips the first automatic training. For more information,
|
1695
|
+
# see [Configuring automatic training][3].
|
1696
|
+
#
|
1697
|
+
# To turn off automatic training, set `performAutoTraining` to false. If
|
1698
|
+
# you turn off automatic training, you must manually create a solution
|
1699
|
+
# version by calling the [CreateSolutionVersion][4] operation.
|
1700
|
+
#
|
1701
|
+
# After training starts, you can get the solution version's Amazon
|
1702
|
+
# Resource Name (ARN) with the [ListSolutionVersions][5] API operation.
|
1703
|
+
# To get its status, use the [DescribeSolutionVersion][6].
|
1704
|
+
#
|
1705
|
+
# After training completes you can evaluate model accuracy by calling
|
1706
|
+
# [GetSolutionMetrics][7]. When you are satisfied with the solution
|
1707
|
+
# version, you deploy it using [CreateCampaign][8]. The campaign
|
1708
|
+
# provides recommendations to a client through the
|
1709
|
+
# [GetRecommendations][9] API.
|
1672
1710
|
#
|
1673
1711
|
# <note markdown="1"> Amazon Personalize doesn't support configuring the `hpoObjective` for
|
1674
1712
|
# solution hyperparameter optimization at this time.
|
@@ -1684,36 +1722,39 @@ module Aws::Personalize
|
|
1684
1722
|
#
|
1685
1723
|
# * DELETE PENDING > DELETE IN\_PROGRESS
|
1686
1724
|
#
|
1687
|
-
# To get the status of the solution, call [DescribeSolution][
|
1688
|
-
#
|
1725
|
+
# To get the status of the solution, call [DescribeSolution][10]. If you
|
1726
|
+
# use manual training, the status must be ACTIVE before you call
|
1689
1727
|
# `CreateSolutionVersion`.
|
1690
1728
|
#
|
1691
1729
|
# **Related APIs**
|
1692
1730
|
#
|
1693
|
-
# * [ListSolutions][
|
1731
|
+
# * [ListSolutions][11]
|
1694
1732
|
#
|
1695
|
-
# * [CreateSolutionVersion][
|
1733
|
+
# * [CreateSolutionVersion][4]
|
1696
1734
|
#
|
1697
|
-
# * [DescribeSolution][
|
1735
|
+
# * [DescribeSolution][10]
|
1698
1736
|
#
|
1699
|
-
# * [DeleteSolution][
|
1737
|
+
# * [DeleteSolution][12]
|
1700
1738
|
# ^
|
1701
1739
|
#
|
1702
|
-
# * [ListSolutionVersions][
|
1740
|
+
# * [ListSolutionVersions][5]
|
1703
1741
|
#
|
1704
|
-
# * [DescribeSolutionVersion][
|
1742
|
+
# * [DescribeSolutionVersion][6]
|
1705
1743
|
#
|
1706
1744
|
#
|
1707
1745
|
#
|
1708
|
-
# [1]: https://
|
1709
|
-
# [2]: https://docs.aws.amazon.com/personalize/latest/dg/
|
1710
|
-
# [3]: https://docs.aws.amazon.com/personalize/latest/dg/
|
1711
|
-
# [4]: https://docs.aws.amazon.com/personalize/latest/dg/
|
1712
|
-
# [5]: https://docs.aws.amazon.com/personalize/latest/dg/
|
1713
|
-
# [6]: https://docs.aws.amazon.com/personalize/latest/dg/
|
1714
|
-
# [7]: https://docs.aws.amazon.com/personalize/latest/dg/
|
1715
|
-
# [8]: https://docs.aws.amazon.com/personalize/latest/dg/
|
1716
|
-
# [9]: https://docs.aws.amazon.com/personalize/latest/dg/
|
1746
|
+
# [1]: https://aws.amazon.com/personalize/pricing/
|
1747
|
+
# [2]: https://docs.aws.amazon.com/personalize/latest/dg/customizing-solution-config.html
|
1748
|
+
# [3]: https://docs.aws.amazon.com/personalize/latest/dg/solution-config-auto-training.html
|
1749
|
+
# [4]: https://docs.aws.amazon.com/personalize/latest/dg/API_CreateSolutionVersion.html
|
1750
|
+
# [5]: https://docs.aws.amazon.com/personalize/latest/dg/API_ListSolutionVersions.html
|
1751
|
+
# [6]: https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeSolutionVersion.html
|
1752
|
+
# [7]: https://docs.aws.amazon.com/personalize/latest/dg/API_GetSolutionMetrics.html
|
1753
|
+
# [8]: https://docs.aws.amazon.com/personalize/latest/dg/API_CreateCampaign.html
|
1754
|
+
# [9]: https://docs.aws.amazon.com/personalize/latest/dg/API_RS_GetRecommendations.html
|
1755
|
+
# [10]: https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeSolution.html
|
1756
|
+
# [11]: https://docs.aws.amazon.com/personalize/latest/dg/API_ListSolutions.html
|
1757
|
+
# [12]: https://docs.aws.amazon.com/personalize/latest/dg/API_DeleteSolution.html
|
1717
1758
|
#
|
1718
1759
|
# @option params [required, String] :name
|
1719
1760
|
# The name for the solution.
|
@@ -1744,6 +1785,29 @@ module Aws::Personalize
|
|
1744
1785
|
#
|
1745
1786
|
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/working-with-predefined-recipes.html
|
1746
1787
|
#
|
1788
|
+
# @option params [Boolean] :perform_auto_training
|
1789
|
+
# Whether the solution uses automatic training to create new solution
|
1790
|
+
# versions (trained models). The default is `True` and the solution
|
1791
|
+
# automatically creates new solution versions every 7 days. You can
|
1792
|
+
# change the training frequency by specifying a `schedulingExpression`
|
1793
|
+
# in the `AutoTrainingConfig` as part of solution configuration. For
|
1794
|
+
# more information about automatic training, see [Configuring automatic
|
1795
|
+
# training][1].
|
1796
|
+
#
|
1797
|
+
# Automatic solution version creation starts one hour after the solution
|
1798
|
+
# is ACTIVE. If you manually create a solution version within the hour,
|
1799
|
+
# the solution skips the first automatic training.
|
1800
|
+
#
|
1801
|
+
# After training starts, you can get the solution version's Amazon
|
1802
|
+
# Resource Name (ARN) with the [ListSolutionVersions][2] API operation.
|
1803
|
+
# To get its status, use the [DescribeSolutionVersion][3].
|
1804
|
+
#
|
1805
|
+
#
|
1806
|
+
#
|
1807
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/solution-config-auto-training.html
|
1808
|
+
# [2]: https://docs.aws.amazon.com/personalize/latest/dg/API_ListSolutionVersions.html
|
1809
|
+
# [3]: https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeSolutionVersion.html
|
1810
|
+
#
|
1747
1811
|
# @option params [String] :recipe_arn
|
1748
1812
|
# The Amazon Resource Name (ARN) of the recipe to use for model
|
1749
1813
|
# training. This is required when `performAutoML` is false. For
|
@@ -1793,6 +1857,7 @@ module Aws::Personalize
|
|
1793
1857
|
# name: "Name", # required
|
1794
1858
|
# perform_hpo: false,
|
1795
1859
|
# perform_auto_ml: false,
|
1860
|
+
# perform_auto_training: false,
|
1796
1861
|
# recipe_arn: "Arn",
|
1797
1862
|
# dataset_group_arn: "Arn", # required
|
1798
1863
|
# event_type: "EventType",
|
@@ -1850,6 +1915,9 @@ module Aws::Personalize
|
|
1850
1915
|
# "DatasetType" => ["ColumnName"],
|
1851
1916
|
# },
|
1852
1917
|
# },
|
1918
|
+
# auto_training_config: {
|
1919
|
+
# scheduling_expression: "SchedulingExpression",
|
1920
|
+
# },
|
1853
1921
|
# },
|
1854
1922
|
# tags: [
|
1855
1923
|
# {
|
@@ -1972,7 +2040,7 @@ module Aws::Personalize
|
|
1972
2040
|
# resp = client.create_solution_version({
|
1973
2041
|
# name: "Name",
|
1974
2042
|
# solution_arn: "Arn", # required
|
1975
|
-
# training_mode: "FULL", # accepts FULL, UPDATE
|
2043
|
+
# training_mode: "FULL", # accepts FULL, UPDATE, AUTOTRAIN
|
1976
2044
|
# tags: [
|
1977
2045
|
# {
|
1978
2046
|
# tag_key: "TagKey", # required
|
@@ -2427,6 +2495,7 @@ module Aws::Personalize
|
|
2427
2495
|
# resp.campaign.campaign_config.item_exploration_config #=> Hash
|
2428
2496
|
# resp.campaign.campaign_config.item_exploration_config["ParameterName"] #=> String
|
2429
2497
|
# resp.campaign.campaign_config.enable_metadata_with_recommendations #=> Boolean
|
2498
|
+
# resp.campaign.campaign_config.sync_with_latest_solution_version #=> Boolean
|
2430
2499
|
# resp.campaign.status #=> String
|
2431
2500
|
# resp.campaign.failure_reason #=> String
|
2432
2501
|
# resp.campaign.creation_date_time #=> Time
|
@@ -2436,6 +2505,7 @@ module Aws::Personalize
|
|
2436
2505
|
# resp.campaign.latest_campaign_update.campaign_config.item_exploration_config #=> Hash
|
2437
2506
|
# resp.campaign.latest_campaign_update.campaign_config.item_exploration_config["ParameterName"] #=> String
|
2438
2507
|
# resp.campaign.latest_campaign_update.campaign_config.enable_metadata_with_recommendations #=> Boolean
|
2508
|
+
# resp.campaign.latest_campaign_update.campaign_config.sync_with_latest_solution_version #=> Boolean
|
2439
2509
|
# resp.campaign.latest_campaign_update.status #=> String
|
2440
2510
|
# resp.campaign.latest_campaign_update.failure_reason #=> String
|
2441
2511
|
# resp.campaign.latest_campaign_update.creation_date_time #=> Time
|
@@ -2969,6 +3039,7 @@ module Aws::Personalize
|
|
2969
3039
|
# resp.solution.solution_arn #=> String
|
2970
3040
|
# resp.solution.perform_hpo #=> Boolean
|
2971
3041
|
# resp.solution.perform_auto_ml #=> Boolean
|
3042
|
+
# resp.solution.perform_auto_training #=> Boolean
|
2972
3043
|
# resp.solution.recipe_arn #=> String
|
2973
3044
|
# resp.solution.dataset_group_arn #=> String
|
2974
3045
|
# resp.solution.event_type #=> String
|
@@ -3002,12 +3073,15 @@ module Aws::Personalize
|
|
3002
3073
|
# resp.solution.solution_config.training_data_config.excluded_dataset_columns #=> Hash
|
3003
3074
|
# resp.solution.solution_config.training_data_config.excluded_dataset_columns["DatasetType"] #=> Array
|
3004
3075
|
# resp.solution.solution_config.training_data_config.excluded_dataset_columns["DatasetType"][0] #=> String
|
3076
|
+
# resp.solution.solution_config.auto_training_config.scheduling_expression #=> String
|
3005
3077
|
# resp.solution.auto_ml_result.best_recipe_arn #=> String
|
3006
3078
|
# resp.solution.status #=> String
|
3007
3079
|
# resp.solution.creation_date_time #=> Time
|
3008
3080
|
# resp.solution.last_updated_date_time #=> Time
|
3009
3081
|
# resp.solution.latest_solution_version.solution_version_arn #=> String
|
3010
3082
|
# resp.solution.latest_solution_version.status #=> String
|
3083
|
+
# resp.solution.latest_solution_version.training_mode #=> String, one of "FULL", "UPDATE", "AUTOTRAIN"
|
3084
|
+
# resp.solution.latest_solution_version.training_type #=> String, one of "AUTOMATIC", "MANUAL"
|
3011
3085
|
# resp.solution.latest_solution_version.creation_date_time #=> Time
|
3012
3086
|
# resp.solution.latest_solution_version.last_updated_date_time #=> Time
|
3013
3087
|
# resp.solution.latest_solution_version.failure_reason #=> String
|
@@ -3081,14 +3155,16 @@ module Aws::Personalize
|
|
3081
3155
|
# resp.solution_version.solution_config.training_data_config.excluded_dataset_columns #=> Hash
|
3082
3156
|
# resp.solution_version.solution_config.training_data_config.excluded_dataset_columns["DatasetType"] #=> Array
|
3083
3157
|
# resp.solution_version.solution_config.training_data_config.excluded_dataset_columns["DatasetType"][0] #=> String
|
3158
|
+
# resp.solution_version.solution_config.auto_training_config.scheduling_expression #=> String
|
3084
3159
|
# resp.solution_version.training_hours #=> Float
|
3085
|
-
# resp.solution_version.training_mode #=> String, one of "FULL", "UPDATE"
|
3160
|
+
# resp.solution_version.training_mode #=> String, one of "FULL", "UPDATE", "AUTOTRAIN"
|
3086
3161
|
# resp.solution_version.tuned_hpo_params.algorithm_hyper_parameters #=> Hash
|
3087
3162
|
# resp.solution_version.tuned_hpo_params.algorithm_hyper_parameters["ParameterName"] #=> String
|
3088
3163
|
# resp.solution_version.status #=> String
|
3089
3164
|
# resp.solution_version.failure_reason #=> String
|
3090
3165
|
# resp.solution_version.creation_date_time #=> Time
|
3091
3166
|
# resp.solution_version.last_updated_date_time #=> Time
|
3167
|
+
# resp.solution_version.training_type #=> String, one of "AUTOMATIC", "MANUAL"
|
3092
3168
|
#
|
3093
3169
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeSolutionVersion AWS API Documentation
|
3094
3170
|
#
|
@@ -3915,6 +3991,8 @@ module Aws::Personalize
|
|
3915
3991
|
# resp.solution_versions #=> Array
|
3916
3992
|
# resp.solution_versions[0].solution_version_arn #=> String
|
3917
3993
|
# resp.solution_versions[0].status #=> String
|
3994
|
+
# resp.solution_versions[0].training_mode #=> String, one of "FULL", "UPDATE", "AUTOTRAIN"
|
3995
|
+
# resp.solution_versions[0].training_type #=> String, one of "AUTOMATIC", "MANUAL"
|
3918
3996
|
# resp.solution_versions[0].creation_date_time #=> Time
|
3919
3997
|
# resp.solution_versions[0].last_updated_date_time #=> Time
|
3920
3998
|
# resp.solution_versions[0].failure_reason #=> String
|
@@ -3929,11 +4007,11 @@ module Aws::Personalize
|
|
3929
4007
|
req.send_request(options)
|
3930
4008
|
end
|
3931
4009
|
|
3932
|
-
# Returns a list of solutions
|
3933
|
-
#
|
3934
|
-
#
|
3935
|
-
#
|
3936
|
-
#
|
4010
|
+
# Returns a list of solutions in a given dataset group. When a dataset
|
4011
|
+
# group is not specified, all the solutions associated with the account
|
4012
|
+
# are listed. The response provides the properties for each solution,
|
4013
|
+
# including the Amazon Resource Name (ARN). For more information on
|
4014
|
+
# solutions, see [CreateSolution][1].
|
3937
4015
|
#
|
3938
4016
|
#
|
3939
4017
|
#
|
@@ -3991,7 +4069,7 @@ module Aws::Personalize
|
|
3991
4069
|
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html
|
3992
4070
|
#
|
3993
4071
|
# @option params [required, String] :resource_arn
|
3994
|
-
# The resource's Amazon Resource Name.
|
4072
|
+
# The resource's Amazon Resource Name (ARN).
|
3995
4073
|
#
|
3996
4074
|
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3997
4075
|
#
|
@@ -4121,7 +4199,7 @@ module Aws::Personalize
|
|
4121
4199
|
#
|
4122
4200
|
# @option params [required, Array<Types::Tag>] :tags
|
4123
4201
|
# Tags to apply to the resource. For more information see [Tagging
|
4124
|
-
# Amazon Personalize
|
4202
|
+
# Amazon Personalize resources][1].
|
4125
4203
|
#
|
4126
4204
|
#
|
4127
4205
|
#
|
@@ -4150,17 +4228,18 @@ module Aws::Personalize
|
|
4150
4228
|
req.send_request(options)
|
4151
4229
|
end
|
4152
4230
|
|
4153
|
-
#
|
4231
|
+
# Removes the specified tags that are attached to a resource. For more
|
4232
|
+
# information, see [Removing tags from Amazon Personalize resources][1].
|
4154
4233
|
#
|
4155
4234
|
#
|
4156
4235
|
#
|
4157
|
-
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/
|
4236
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/tags-remove.html
|
4158
4237
|
#
|
4159
4238
|
# @option params [required, String] :resource_arn
|
4160
4239
|
# The resource's Amazon Resource Name (ARN).
|
4161
4240
|
#
|
4162
4241
|
# @option params [required, Array<String>] :tag_keys
|
4163
|
-
#
|
4242
|
+
# The keys of the tags to be removed.
|
4164
4243
|
#
|
4165
4244
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4166
4245
|
#
|
@@ -4182,8 +4261,17 @@ module Aws::Personalize
|
|
4182
4261
|
|
4183
4262
|
# Updates a campaign to deploy a retrained solution version with an
|
4184
4263
|
# existing campaign, change your campaign's `minProvisionedTPS`, or
|
4185
|
-
# modify your campaign's configuration,
|
4186
|
-
#
|
4264
|
+
# modify your campaign's configuration. For example, you can set
|
4265
|
+
# `enableMetadataWithRecommendations` to true for an existing campaign.
|
4266
|
+
#
|
4267
|
+
# To update a campaign to start automatically using the latest solution
|
4268
|
+
# version, specify the following:
|
4269
|
+
#
|
4270
|
+
# * For the `SolutionVersionArn` parameter, specify the Amazon Resource
|
4271
|
+
# Name (ARN) of your solution in `SolutionArn/$LATEST` format.
|
4272
|
+
#
|
4273
|
+
# * In the `campaignConfig`, set `syncWithLatestSolutionVersion` to
|
4274
|
+
# `true`.
|
4187
4275
|
#
|
4188
4276
|
# To update a campaign, the campaign status must be ACTIVE or CREATE
|
4189
4277
|
# FAILED. Check the campaign status using the [DescribeCampaign][1]
|
@@ -4210,7 +4298,22 @@ module Aws::Personalize
|
|
4210
4298
|
# The Amazon Resource Name (ARN) of the campaign.
|
4211
4299
|
#
|
4212
4300
|
# @option params [String] :solution_version_arn
|
4213
|
-
# The ARN of a new
|
4301
|
+
# The Amazon Resource Name (ARN) of a new model to deploy. To specify
|
4302
|
+
# the latest solution version of your solution, specify the ARN of your
|
4303
|
+
# *solution* in `SolutionArn/$LATEST` format. You must use this format
|
4304
|
+
# if you set `syncWithLatestSolutionVersion` to `True` in the
|
4305
|
+
# [CampaignConfig][1].
|
4306
|
+
#
|
4307
|
+
# To deploy a model that isn't the latest solution version of your
|
4308
|
+
# solution, specify the ARN of the solution version.
|
4309
|
+
#
|
4310
|
+
# For more information about automatic campaign updates, see [Enabling
|
4311
|
+
# automatic campaign updates][2].
|
4312
|
+
#
|
4313
|
+
#
|
4314
|
+
#
|
4315
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/API_CampaignConfig.html
|
4316
|
+
# [2]: https://docs.aws.amazon.com/personalize/latest/dg/campaigns.html#create-campaign-automatic-latest-sv-update
|
4214
4317
|
#
|
4215
4318
|
# @option params [Integer] :min_provisioned_tps
|
4216
4319
|
# Specifies the requested minimum provisioned transactions
|
@@ -4238,6 +4341,7 @@ module Aws::Personalize
|
|
4238
4341
|
# "ParameterName" => "ParameterValue",
|
4239
4342
|
# },
|
4240
4343
|
# enable_metadata_with_recommendations: false,
|
4344
|
+
# sync_with_latest_solution_version: false,
|
4241
4345
|
# },
|
4242
4346
|
# })
|
4243
4347
|
#
|
@@ -4410,7 +4514,7 @@ module Aws::Personalize
|
|
4410
4514
|
params: params,
|
4411
4515
|
config: config)
|
4412
4516
|
context[:gem_name] = 'aws-sdk-personalize'
|
4413
|
-
context[:gem_version] = '1.
|
4517
|
+
context[:gem_version] = '1.60.0'
|
4414
4518
|
Seahorse::Client::Request.new(handlers, context)
|
4415
4519
|
end
|
4416
4520
|
|
@@ -20,6 +20,7 @@ module Aws::Personalize
|
|
20
20
|
ArnList = Shapes::ListShape.new(name: 'ArnList')
|
21
21
|
AutoMLConfig = Shapes::StructureShape.new(name: 'AutoMLConfig')
|
22
22
|
AutoMLResult = Shapes::StructureShape.new(name: 'AutoMLResult')
|
23
|
+
AutoTrainingConfig = Shapes::StructureShape.new(name: 'AutoTrainingConfig')
|
23
24
|
AvroSchema = Shapes::StringShape.new(name: 'AvroSchema')
|
24
25
|
BatchInferenceJob = Shapes::StructureShape.new(name: 'BatchInferenceJob')
|
25
26
|
BatchInferenceJobConfig = Shapes::StructureShape.new(name: 'BatchInferenceJobConfig')
|
@@ -240,6 +241,7 @@ module Aws::Personalize
|
|
240
241
|
ParameterName = Shapes::StringShape.new(name: 'ParameterName')
|
241
242
|
ParameterValue = Shapes::StringShape.new(name: 'ParameterValue')
|
242
243
|
PerformAutoML = Shapes::BooleanShape.new(name: 'PerformAutoML')
|
244
|
+
PerformAutoTraining = Shapes::BooleanShape.new(name: 'PerformAutoTraining')
|
243
245
|
PerformHPO = Shapes::BooleanShape.new(name: 'PerformHPO')
|
244
246
|
Recipe = Shapes::StructureShape.new(name: 'Recipe')
|
245
247
|
RecipeProvider = Shapes::StringShape.new(name: 'RecipeProvider')
|
@@ -258,6 +260,7 @@ module Aws::Personalize
|
|
258
260
|
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
259
261
|
S3DataConfig = Shapes::StructureShape.new(name: 'S3DataConfig')
|
260
262
|
S3Location = Shapes::StringShape.new(name: 'S3Location')
|
263
|
+
SchedulingExpression = Shapes::StringShape.new(name: 'SchedulingExpression')
|
261
264
|
Schemas = Shapes::ListShape.new(name: 'Schemas')
|
262
265
|
Solution = Shapes::StructureShape.new(name: 'Solution')
|
263
266
|
SolutionConfig = Shapes::StructureShape.new(name: 'SolutionConfig')
|
@@ -287,6 +290,7 @@ module Aws::Personalize
|
|
287
290
|
TrainingHours = Shapes::FloatShape.new(name: 'TrainingHours')
|
288
291
|
TrainingInputMode = Shapes::StringShape.new(name: 'TrainingInputMode')
|
289
292
|
TrainingMode = Shapes::StringShape.new(name: 'TrainingMode')
|
293
|
+
TrainingType = Shapes::StringShape.new(name: 'TrainingType')
|
290
294
|
TransactionsPerSecond = Shapes::IntegerShape.new(name: 'TransactionsPerSecond')
|
291
295
|
Tunable = Shapes::BooleanShape.new(name: 'Tunable')
|
292
296
|
TunedHPOParams = Shapes::StructureShape.new(name: 'TunedHPOParams')
|
@@ -326,6 +330,9 @@ module Aws::Personalize
|
|
326
330
|
AutoMLResult.add_member(:best_recipe_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "bestRecipeArn"))
|
327
331
|
AutoMLResult.struct_class = Types::AutoMLResult
|
328
332
|
|
333
|
+
AutoTrainingConfig.add_member(:scheduling_expression, Shapes::ShapeRef.new(shape: SchedulingExpression, location_name: "schedulingExpression"))
|
334
|
+
AutoTrainingConfig.struct_class = Types::AutoTrainingConfig
|
335
|
+
|
329
336
|
BatchInferenceJob.add_member(:job_name, Shapes::ShapeRef.new(shape: Name, location_name: "jobName"))
|
330
337
|
BatchInferenceJob.add_member(:batch_inference_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "batchInferenceJobArn"))
|
331
338
|
BatchInferenceJob.add_member(:filter_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "filterArn"))
|
@@ -409,6 +416,7 @@ module Aws::Personalize
|
|
409
416
|
|
410
417
|
CampaignConfig.add_member(:item_exploration_config, Shapes::ShapeRef.new(shape: HyperParameters, location_name: "itemExplorationConfig"))
|
411
418
|
CampaignConfig.add_member(:enable_metadata_with_recommendations, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableMetadataWithRecommendations"))
|
419
|
+
CampaignConfig.add_member(:sync_with_latest_solution_version, Shapes::ShapeRef.new(shape: Boolean, location_name: "syncWithLatestSolutionVersion"))
|
412
420
|
CampaignConfig.struct_class = Types::CampaignConfig
|
413
421
|
|
414
422
|
CampaignSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
@@ -578,6 +586,7 @@ module Aws::Personalize
|
|
578
586
|
CreateSolutionRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
579
587
|
CreateSolutionRequest.add_member(:perform_hpo, Shapes::ShapeRef.new(shape: Boolean, location_name: "performHPO"))
|
580
588
|
CreateSolutionRequest.add_member(:perform_auto_ml, Shapes::ShapeRef.new(shape: PerformAutoML, location_name: "performAutoML"))
|
589
|
+
CreateSolutionRequest.add_member(:perform_auto_training, Shapes::ShapeRef.new(shape: PerformAutoTraining, location_name: "performAutoTraining"))
|
581
590
|
CreateSolutionRequest.add_member(:recipe_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "recipeArn"))
|
582
591
|
CreateSolutionRequest.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "datasetGroupArn"))
|
583
592
|
CreateSolutionRequest.add_member(:event_type, Shapes::ShapeRef.new(shape: EventType, location_name: "eventType"))
|
@@ -1247,6 +1256,7 @@ module Aws::Personalize
|
|
1247
1256
|
Solution.add_member(:solution_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "solutionArn"))
|
1248
1257
|
Solution.add_member(:perform_hpo, Shapes::ShapeRef.new(shape: PerformHPO, location_name: "performHPO"))
|
1249
1258
|
Solution.add_member(:perform_auto_ml, Shapes::ShapeRef.new(shape: PerformAutoML, location_name: "performAutoML"))
|
1259
|
+
Solution.add_member(:perform_auto_training, Shapes::ShapeRef.new(shape: PerformAutoTraining, location_name: "performAutoTraining"))
|
1250
1260
|
Solution.add_member(:recipe_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "recipeArn"))
|
1251
1261
|
Solution.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "datasetGroupArn"))
|
1252
1262
|
Solution.add_member(:event_type, Shapes::ShapeRef.new(shape: EventType, location_name: "eventType"))
|
@@ -1265,6 +1275,7 @@ module Aws::Personalize
|
|
1265
1275
|
SolutionConfig.add_member(:auto_ml_config, Shapes::ShapeRef.new(shape: AutoMLConfig, location_name: "autoMLConfig"))
|
1266
1276
|
SolutionConfig.add_member(:optimization_objective, Shapes::ShapeRef.new(shape: OptimizationObjective, location_name: "optimizationObjective"))
|
1267
1277
|
SolutionConfig.add_member(:training_data_config, Shapes::ShapeRef.new(shape: TrainingDataConfig, location_name: "trainingDataConfig"))
|
1278
|
+
SolutionConfig.add_member(:auto_training_config, Shapes::ShapeRef.new(shape: AutoTrainingConfig, location_name: "autoTrainingConfig"))
|
1268
1279
|
SolutionConfig.struct_class = Types::SolutionConfig
|
1269
1280
|
|
1270
1281
|
SolutionSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
@@ -1291,10 +1302,13 @@ module Aws::Personalize
|
|
1291
1302
|
SolutionVersion.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "failureReason"))
|
1292
1303
|
SolutionVersion.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "creationDateTime"))
|
1293
1304
|
SolutionVersion.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "lastUpdatedDateTime"))
|
1305
|
+
SolutionVersion.add_member(:training_type, Shapes::ShapeRef.new(shape: TrainingType, location_name: "trainingType"))
|
1294
1306
|
SolutionVersion.struct_class = Types::SolutionVersion
|
1295
1307
|
|
1296
1308
|
SolutionVersionSummary.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "solutionVersionArn"))
|
1297
1309
|
SolutionVersionSummary.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
|
1310
|
+
SolutionVersionSummary.add_member(:training_mode, Shapes::ShapeRef.new(shape: TrainingMode, location_name: "trainingMode"))
|
1311
|
+
SolutionVersionSummary.add_member(:training_type, Shapes::ShapeRef.new(shape: TrainingType, location_name: "trainingType"))
|
1298
1312
|
SolutionVersionSummary.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "creationDateTime"))
|
1299
1313
|
SolutionVersionSummary.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "lastUpdatedDateTime"))
|
1300
1314
|
SolutionVersionSummary.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "failureReason"))
|
@@ -14,6 +14,7 @@ module Aws::Personalize
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::Personalize::EndpointProvider',
|
17
|
+
rbs_type: 'untyped',
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
20
|
'where `parameters` is a Struct similar to '\
|