aws-sdk-personalize 1.36.0 → 1.37.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: adeadb326c22cbb9572562ca2ac2e53bc2b275d5cf9eabe8285459d154989404
4
- data.tar.gz: f151a46c3db6df4355c96a8146589ac6e5ef4aad40b39d405b06cf7a02ab428b
3
+ metadata.gz: cf98d123a7a3b2b97ec7c4fc3b0ff0ae0811f56a60b198ec08443668bdea265e
4
+ data.tar.gz: 0a2a71cdcce226d897ece996765bfa51577a256be6835603332d4ac1d07fcc0b
5
5
  SHA512:
6
- metadata.gz: 0bc07f3763497b00fb5b9ec7fbb0435fb6b981c7aae860b1b641a74db500bbd847bd34206418c5b6706021e2b135554feb50a42e66baed1b0d460711e9106f4b
7
- data.tar.gz: fa2c015b1fd9e0d288d700b12d76884aa453fe9380d717b5d1d60be45de119b488b3468c80a3dbccbc4300b158b878839a9fa20a23f1a2cb51620b1fce281c4c
6
+ metadata.gz: ec10ccd41bb02cbd755527eb161628bcfbb0ee6caebf2f2d9d422c4773fe724415fc92f4b62aafe88c59f421a298fd7a66c663f068a4cfef903ce91c3e9f28eb
7
+ data.tar.gz: c0fd6ffd4a403f4e4f4aa94be5714403cf32890181d25ed3e0a3a53c87bca2ed574cfe5364f04e0907ef48e11f633e9d9482eb55aa1c03a1e3aa7730bf6dd690
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.37.0 (2022-02-02)
5
+ ------------------
6
+
7
+ * Feature - Adding minRecommendationRequestsPerSecond attribute to recommender APIs.
8
+
4
9
  1.36.0 (2021-12-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.36.0
1
+ 1.37.0
@@ -1074,6 +1074,32 @@ module Aws::Personalize
1074
1074
  # and specify the recommender's Amazon Resource Name (ARN) when you
1075
1075
  # make a [GetRecommendations][1] request.
1076
1076
  #
1077
+ # **Minimum recommendation requests per second**
1078
+ #
1079
+ # When you create a recommender, you can configure the recommender's
1080
+ # minimum recommendation requests per second. The minimum recommendation
1081
+ # requests per second (`minRecommendationRequestsPerSecond`) specifies
1082
+ # the baseline recommendation request throughput provisioned by Amazon
1083
+ # Personalize. The default minRecommendationRequestsPerSecond is `1`. A
1084
+ # recommendation request is a single `GetRecommendations` operation.
1085
+ # Request throughput is measured in requests per second and Amazon
1086
+ # Personalize uses your requests per second to derive your requests per
1087
+ # hour and the price of your recommender usage.
1088
+ #
1089
+ # If your requests per second increases beyond
1090
+ # `minRecommendationRequestsPerSecond`, Amazon Personalize auto-scales
1091
+ # the provisioned capacity up and down, but never below
1092
+ # `minRecommendationRequestsPerSecond`. There's a short time delay
1093
+ # while the capacity is increased that might cause loss of requests.
1094
+ #
1095
+ # Your bill is the greater of either the minimum requests per hour
1096
+ # (based on minRecommendationRequestsPerSecond) or the actual number of
1097
+ # requests. The actual request throughput used is calculated as the
1098
+ # average requests/second within a one-hour window. We recommend
1099
+ # starting with the default `minRecommendationRequestsPerSecond`, track
1100
+ # your usage using Amazon CloudWatch metrics, and then increase the
1101
+ # `minRecommendationRequestsPerSecond` as necessary.
1102
+ #
1077
1103
  # **Status**
1078
1104
  #
1079
1105
  # A recommender can be in one of the following states:
@@ -1139,6 +1165,7 @@ module Aws::Personalize
1139
1165
  # item_exploration_config: {
1140
1166
  # "ParameterName" => "ParameterValue",
1141
1167
  # },
1168
+ # min_recommendation_requests_per_second: 1,
1142
1169
  # },
1143
1170
  # })
1144
1171
  #
@@ -2234,12 +2261,14 @@ module Aws::Personalize
2234
2261
  # resp.recommender.recipe_arn #=> String
2235
2262
  # resp.recommender.recommender_config.item_exploration_config #=> Hash
2236
2263
  # resp.recommender.recommender_config.item_exploration_config["ParameterName"] #=> String
2264
+ # resp.recommender.recommender_config.min_recommendation_requests_per_second #=> Integer
2237
2265
  # resp.recommender.creation_date_time #=> Time
2238
2266
  # resp.recommender.last_updated_date_time #=> Time
2239
2267
  # resp.recommender.status #=> String
2240
2268
  # resp.recommender.failure_reason #=> String
2241
2269
  # resp.recommender.latest_recommender_update.recommender_config.item_exploration_config #=> Hash
2242
2270
  # resp.recommender.latest_recommender_update.recommender_config.item_exploration_config["ParameterName"] #=> String
2271
+ # resp.recommender.latest_recommender_update.recommender_config.min_recommendation_requests_per_second #=> Integer
2243
2272
  # resp.recommender.latest_recommender_update.creation_date_time #=> Time
2244
2273
  # resp.recommender.latest_recommender_update.last_updated_date_time #=> Time
2245
2274
  # resp.recommender.latest_recommender_update.status #=> String
@@ -3015,6 +3044,7 @@ module Aws::Personalize
3015
3044
  # resp.recommenders[0].recipe_arn #=> String
3016
3045
  # resp.recommenders[0].recommender_config.item_exploration_config #=> Hash
3017
3046
  # resp.recommenders[0].recommender_config.item_exploration_config["ParameterName"] #=> String
3047
+ # resp.recommenders[0].recommender_config.min_recommendation_requests_per_second #=> Integer
3018
3048
  # resp.recommenders[0].status #=> String
3019
3049
  # resp.recommenders[0].creation_date_time #=> Time
3020
3050
  # resp.recommenders[0].last_updated_date_time #=> Time
@@ -3286,6 +3316,7 @@ module Aws::Personalize
3286
3316
  # item_exploration_config: {
3287
3317
  # "ParameterName" => "ParameterValue",
3288
3318
  # },
3319
+ # min_recommendation_requests_per_second: 1,
3289
3320
  # },
3290
3321
  # })
3291
3322
  #
@@ -3315,7 +3346,7 @@ module Aws::Personalize
3315
3346
  params: params,
3316
3347
  config: config)
3317
3348
  context[:gem_name] = 'aws-sdk-personalize'
3318
- context[:gem_version] = '1.36.0'
3349
+ context[:gem_version] = '1.37.0'
3319
3350
  Seahorse::Client::Request.new(handlers, context)
3320
3351
  end
3321
3352
 
@@ -1037,6 +1037,7 @@ module Aws::Personalize
1037
1037
  Recommender.struct_class = Types::Recommender
1038
1038
 
1039
1039
  RecommenderConfig.add_member(:item_exploration_config, Shapes::ShapeRef.new(shape: HyperParameters, location_name: "itemExplorationConfig"))
1040
+ RecommenderConfig.add_member(:min_recommendation_requests_per_second, Shapes::ShapeRef.new(shape: TransactionsPerSecond, location_name: "minRecommendationRequestsPerSecond"))
1040
1041
  RecommenderConfig.struct_class = Types::RecommenderConfig
1041
1042
 
1042
1043
  RecommenderSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
@@ -1396,6 +1396,7 @@ module Aws::Personalize
1396
1396
  # item_exploration_config: {
1397
1397
  # "ParameterName" => "ParameterValue",
1398
1398
  # },
1399
+ # min_recommendation_requests_per_second: 1,
1399
1400
  # },
1400
1401
  # }
1401
1402
  #
@@ -4568,6 +4569,7 @@ module Aws::Personalize
4568
4569
  # item_exploration_config: {
4569
4570
  # "ParameterName" => "ParameterValue",
4570
4571
  # },
4572
+ # min_recommendation_requests_per_second: 1,
4571
4573
  # }
4572
4574
  #
4573
4575
  # @!attribute [rw] item_exploration_config
@@ -4579,10 +4581,16 @@ module Aws::Personalize
4579
4581
  # user (not popular items or similar items).
4580
4582
  # @return [Hash<String,String>]
4581
4583
  #
4584
+ # @!attribute [rw] min_recommendation_requests_per_second
4585
+ # Specifies the requested minimum provisioned recommendation requests
4586
+ # per second that Amazon Personalize will support.
4587
+ # @return [Integer]
4588
+ #
4582
4589
  # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/RecommenderConfig AWS API Documentation
4583
4590
  #
4584
4591
  class RecommenderConfig < Struct.new(
4585
- :item_exploration_config)
4592
+ :item_exploration_config,
4593
+ :min_recommendation_requests_per_second)
4586
4594
  SENSITIVE = []
4587
4595
  include Aws::Structure
4588
4596
  end
@@ -4646,7 +4654,7 @@ module Aws::Personalize
4646
4654
  end
4647
4655
 
4648
4656
  # Provides a summary of the properties of a recommender update. For a
4649
- # complete listing, call the DescribeRecommender API.
4657
+ # complete listing, call the DescribeRecommender API operation.
4650
4658
  #
4651
4659
  # @!attribute [rw] recommender_config
4652
4660
  # The configuration details of the recommender update.
@@ -4745,7 +4753,7 @@ module Aws::Personalize
4745
4753
  # @!attribute [rw] kms_key_arn
4746
4754
  # The Amazon Resource Name (ARN) of the Key Management Service (KMS)
4747
4755
  # key that Amazon Personalize uses to encrypt or decrypt the input and
4748
- # output files of a batch inference job.
4756
+ # output files.
4749
4757
  # @return [String]
4750
4758
  #
4751
4759
  # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/S3DataConfig AWS API Documentation
@@ -5257,6 +5265,7 @@ module Aws::Personalize
5257
5265
  # item_exploration_config: {
5258
5266
  # "ParameterName" => "ParameterValue",
5259
5267
  # },
5268
+ # min_recommendation_requests_per_second: 1,
5260
5269
  # },
5261
5270
  # }
5262
5271
  #
@@ -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.36.0'
51
+ GEM_VERSION = '1.37.0'
52
52
 
53
53
  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.36.0
4
+ version: 1.37.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-12-21 00:00:00.000000000 Z
11
+ date: 2022-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core