aws-sdk-personalize 1.24.0 → 1.25.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a12666e2775007fa34ad37e5416fa0cf27cd7ddcc6d321e9e781714edbec43f5
4
- data.tar.gz: bfbbe3de91e741aa1775c78d6a2aa2f2abbf5bf0d5760906e33fcc5e44956d6b
3
+ metadata.gz: 29830409ef97cb1b3008a898eea0294db9b39073ebe018b36ad8e456c07375d3
4
+ data.tar.gz: 927ace52a6888361455fded2ae51d77934d5250d6042c385a06c9cc7de167ef3
5
5
  SHA512:
6
- metadata.gz: b653a02bfffdacc002711f3dc502bb80d2e11df34bc32c963a78d3686ad23d60799a00e4f8ff68227aedd3ba305609e636bd1c7d02bcf64a54754460a21a4c2d
7
- data.tar.gz: 5c12694b39d7a9c4bc4f65178cefa3b1b10862ea376f87740ebf4b60013097281bf6043201252eb50d637e5e6cead35f5d5174f22124902cfeeef76b0d184156
6
+ metadata.gz: 3a4a72320a89bd03065ab824d8d9c08ee48b891ba7e0daf112704c584010ef8a7f21cd9cf9c09736590053ee44d73f5ddd3f06c65b1ed53413984d611e966505
7
+ data.tar.gz: a5d36268f5a8a5a168941fa6636cf491bb813315c1b15ac03596033822419f4db7a2019eea6372c159a8b54465fb2523464b2a44f4e8e4905819dffdd1eaee7a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.25.0 (2021-05-18)
5
+ ------------------
6
+
7
+ * Feature - Amazon Personalize now supports the ability to optimize a solution for a custom objective in addition to maximizing relevance.
8
+
4
9
  1.24.0 (2021-04-30)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.24.0
1
+ 1.25.0
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-personalize/customizations'
48
48
  # @!group service
49
49
  module Aws::Personalize
50
50
 
51
- GEM_VERSION = '1.24.0'
51
+ GEM_VERSION = '1.25.0'
52
52
 
53
53
  end
@@ -1169,6 +1169,10 @@ module Aws::Personalize
1169
1169
  # metric_name: "MetricName",
1170
1170
  # recipe_list: ["Arn"],
1171
1171
  # },
1172
+ # optimization_objective: {
1173
+ # item_attribute: "ItemAttribute",
1174
+ # objective_sensitivity: "LOW", # accepts LOW, MEDIUM, HIGH, OFF
1175
+ # },
1172
1176
  # },
1173
1177
  # })
1174
1178
  #
@@ -1996,6 +2000,8 @@ module Aws::Personalize
1996
2000
  # resp.solution.solution_config.auto_ml_config.metric_name #=> String
1997
2001
  # resp.solution.solution_config.auto_ml_config.recipe_list #=> Array
1998
2002
  # resp.solution.solution_config.auto_ml_config.recipe_list[0] #=> String
2003
+ # resp.solution.solution_config.optimization_objective.item_attribute #=> String
2004
+ # resp.solution.solution_config.optimization_objective.objective_sensitivity #=> String, one of "LOW", "MEDIUM", "HIGH", "OFF"
1999
2005
  # resp.solution.auto_ml_result.best_recipe_arn #=> String
2000
2006
  # resp.solution.status #=> String
2001
2007
  # resp.solution.creation_date_time #=> Time
@@ -2065,6 +2071,8 @@ module Aws::Personalize
2065
2071
  # resp.solution_version.solution_config.auto_ml_config.metric_name #=> String
2066
2072
  # resp.solution_version.solution_config.auto_ml_config.recipe_list #=> Array
2067
2073
  # resp.solution_version.solution_config.auto_ml_config.recipe_list[0] #=> String
2074
+ # resp.solution_version.solution_config.optimization_objective.item_attribute #=> String
2075
+ # resp.solution_version.solution_config.optimization_objective.objective_sensitivity #=> String, one of "LOW", "MEDIUM", "HIGH", "OFF"
2068
2076
  # resp.solution_version.training_hours #=> Float
2069
2077
  # resp.solution_version.training_mode #=> String, one of "FULL", "UPDATE"
2070
2078
  # resp.solution_version.tuned_hpo_params.algorithm_hyper_parameters #=> Hash
@@ -2777,7 +2785,7 @@ module Aws::Personalize
2777
2785
  params: params,
2778
2786
  config: config)
2779
2787
  context[:gem_name] = 'aws-sdk-personalize'
2780
- context[:gem_version] = '1.24.0'
2788
+ context[:gem_version] = '1.25.0'
2781
2789
  Seahorse::Client::Request.new(handlers, context)
2782
2790
  end
2783
2791
 
@@ -155,6 +155,7 @@ module Aws::Personalize
155
155
  IntegerMinValue = Shapes::IntegerShape.new(name: 'IntegerMinValue')
156
156
  InvalidInputException = Shapes::StructureShape.new(name: 'InvalidInputException')
157
157
  InvalidNextTokenException = Shapes::StructureShape.new(name: 'InvalidNextTokenException')
158
+ ItemAttribute = Shapes::StringShape.new(name: 'ItemAttribute')
158
159
  KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
159
160
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
160
161
  ListBatchInferenceJobsRequest = Shapes::StructureShape.new(name: 'ListBatchInferenceJobsRequest')
@@ -189,6 +190,8 @@ module Aws::Personalize
189
190
  Name = Shapes::StringShape.new(name: 'Name')
190
191
  NextToken = Shapes::StringShape.new(name: 'NextToken')
191
192
  NumBatchResults = Shapes::IntegerShape.new(name: 'NumBatchResults')
193
+ ObjectiveSensitivity = Shapes::StringShape.new(name: 'ObjectiveSensitivity')
194
+ OptimizationObjective = Shapes::StructureShape.new(name: 'OptimizationObjective')
192
195
  ParameterName = Shapes::StringShape.new(name: 'ParameterName')
193
196
  ParameterValue = Shapes::StringShape.new(name: 'ParameterValue')
194
197
  PerformAutoML = Shapes::BooleanShape.new(name: 'PerformAutoML')
@@ -876,6 +879,10 @@ module Aws::Personalize
876
879
  Metrics.key = Shapes::ShapeRef.new(shape: MetricName)
877
880
  Metrics.value = Shapes::ShapeRef.new(shape: MetricValue)
878
881
 
882
+ OptimizationObjective.add_member(:item_attribute, Shapes::ShapeRef.new(shape: ItemAttribute, location_name: "itemAttribute"))
883
+ OptimizationObjective.add_member(:objective_sensitivity, Shapes::ShapeRef.new(shape: ObjectiveSensitivity, location_name: "objectiveSensitivity"))
884
+ OptimizationObjective.struct_class = Types::OptimizationObjective
885
+
879
886
  Recipe.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
880
887
  Recipe.add_member(:recipe_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "recipeArn"))
881
888
  Recipe.add_member(:algorithm_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "algorithmArn"))
@@ -934,6 +941,7 @@ module Aws::Personalize
934
941
  SolutionConfig.add_member(:algorithm_hyper_parameters, Shapes::ShapeRef.new(shape: HyperParameters, location_name: "algorithmHyperParameters"))
935
942
  SolutionConfig.add_member(:feature_transformation_parameters, Shapes::ShapeRef.new(shape: FeatureTransformationParameters, location_name: "featureTransformationParameters"))
936
943
  SolutionConfig.add_member(:auto_ml_config, Shapes::ShapeRef.new(shape: AutoMLConfig, location_name: "autoMLConfig"))
944
+ SolutionConfig.add_member(:optimization_objective, Shapes::ShapeRef.new(shape: OptimizationObjective, location_name: "optimizationObjective"))
937
945
  SolutionConfig.struct_class = Types::SolutionConfig
938
946
 
939
947
  SolutionSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
@@ -1192,6 +1192,10 @@ module Aws::Personalize
1192
1192
  # metric_name: "MetricName",
1193
1193
  # recipe_list: ["Arn"],
1194
1194
  # },
1195
+ # optimization_objective: {
1196
+ # item_attribute: "ItemAttribute",
1197
+ # objective_sensitivity: "LOW", # accepts LOW, MEDIUM, HIGH, OFF
1198
+ # },
1195
1199
  # },
1196
1200
  # }
1197
1201
  #
@@ -3771,6 +3775,42 @@ module Aws::Personalize
3771
3775
  include Aws::Structure
3772
3776
  end
3773
3777
 
3778
+ # Describes the additional objective for the solution, such as
3779
+ # maximizing streaming minutes or increasing revenue. For more
3780
+ # information see [Optimizing a solution][1].
3781
+ #
3782
+ #
3783
+ #
3784
+ # [1]: https://docs.aws.amazon.com/personalize/latest/dg/optimizing-solution-for-objective.html
3785
+ #
3786
+ # @note When making an API call, you may pass OptimizationObjective
3787
+ # data as a hash:
3788
+ #
3789
+ # {
3790
+ # item_attribute: "ItemAttribute",
3791
+ # objective_sensitivity: "LOW", # accepts LOW, MEDIUM, HIGH, OFF
3792
+ # }
3793
+ #
3794
+ # @!attribute [rw] item_attribute
3795
+ # The numerical metadata column in an Items dataset related to the
3796
+ # optimization objective. For example, VIDEO\_LENGTH (to maximize
3797
+ # streaming minutes), or PRICE (to maximize revenue).
3798
+ # @return [String]
3799
+ #
3800
+ # @!attribute [rw] objective_sensitivity
3801
+ # Specifies how Amazon Personalize balances the importance of your
3802
+ # optimization objective versus relevance.
3803
+ # @return [String]
3804
+ #
3805
+ # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/OptimizationObjective AWS API Documentation
3806
+ #
3807
+ class OptimizationObjective < Struct.new(
3808
+ :item_attribute,
3809
+ :objective_sensitivity)
3810
+ SENSITIVE = []
3811
+ include Aws::Structure
3812
+ end
3813
+
3774
3814
  # Provides information about a recipe. Each recipe provides an algorithm
3775
3815
  # that Amazon Personalize uses in model training when you use the
3776
3816
  # CreateSolution operation.
@@ -4078,6 +4118,10 @@ module Aws::Personalize
4078
4118
  # metric_name: "MetricName",
4079
4119
  # recipe_list: ["Arn"],
4080
4120
  # },
4121
+ # optimization_objective: {
4122
+ # item_attribute: "ItemAttribute",
4123
+ # objective_sensitivity: "LOW", # accepts LOW, MEDIUM, HIGH, OFF
4124
+ # },
4081
4125
  # }
4082
4126
  #
4083
4127
  # @!attribute [rw] event_value_threshold
@@ -4102,6 +4146,16 @@ module Aws::Personalize
4102
4146
  # AutoML is performed.
4103
4147
  # @return [Types::AutoMLConfig]
4104
4148
  #
4149
+ # @!attribute [rw] optimization_objective
4150
+ # Describes the additional objective for the solution, such as
4151
+ # maximizing streaming minutes or increasing revenue. For more
4152
+ # information see [Optimizing a solution][1].
4153
+ #
4154
+ #
4155
+ #
4156
+ # [1]: https://docs.aws.amazon.com/personalize/latest/dg/optimizing-solution-for-objective.html
4157
+ # @return [Types::OptimizationObjective]
4158
+ #
4105
4159
  # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/SolutionConfig AWS API Documentation
4106
4160
  #
4107
4161
  class SolutionConfig < Struct.new(
@@ -4109,7 +4163,8 @@ module Aws::Personalize
4109
4163
  :hpo_config,
4110
4164
  :algorithm_hyper_parameters,
4111
4165
  :feature_transformation_parameters,
4112
- :auto_ml_config)
4166
+ :auto_ml_config,
4167
+ :optimization_objective)
4113
4168
  SENSITIVE = []
4114
4169
  include Aws::Structure
4115
4170
  end
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.24.0
4
+ version: 1.25.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: 2021-04-30 00:00:00.000000000 Z
11
+ date: 2021-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core