aws-sdk-personalize 1.34.0 → 1.38.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-personalize/client.rb +47 -3
- data/lib/aws-sdk-personalize/client_api.rb +1 -0
- data/lib/aws-sdk-personalize/types.rb +12 -3
- data/lib/aws-sdk-personalize.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d0e46e391e31f3ceccf9c901a7480251cc4a20ddf4dd5fda16695320d3eda33
|
4
|
+
data.tar.gz: f85f8d863a347a3cbde950db4da3ec917d95d7edb31d889461e364627fd39b11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 534ba54425386d05c24b1069c522cb3b2ce09e0fd101c97f3506d31eed47f29dd2734a4aceaa8dcc8d47acb9ce141e4dc71e7ba99dc6c8afefc2f20352e1fce3
|
7
|
+
data.tar.gz: 54bb1fb9f0bbbcd307f2afd7b1a13cae404f5ab59cff6e2225c5f951cfb2964736eb755f583d02f2b83c30425073b9e5e91a7f46276884ba4e5e06d11c198c58
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.38.0 (2022-02-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.37.0 (2022-02-02)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Adding minRecommendationRequestsPerSecond attribute to recommender APIs.
|
13
|
+
|
14
|
+
1.36.0 (2021-12-21)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.35.0 (2021-11-30)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.34.0 (2021-11-29)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.38.0
|
@@ -27,6 +27,8 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
31
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
30
32
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
33
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
32
34
|
|
@@ -73,6 +75,8 @@ module Aws::Personalize
|
|
73
75
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
76
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
77
|
add_plugin(Aws::Plugins::HttpChecksum)
|
78
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
79
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
76
80
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
81
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
78
82
|
|
@@ -119,7 +123,9 @@ module Aws::Personalize
|
|
119
123
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
124
|
# are very aggressive. Construct and pass an instance of
|
121
125
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
126
|
+
# enable retries and extended timeouts. Instance profile credential
|
127
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
128
|
+
# to true.
|
123
129
|
#
|
124
130
|
# @option options [required, String] :region
|
125
131
|
# The AWS region to connect to. The configured `:region` is
|
@@ -173,6 +179,10 @@ module Aws::Personalize
|
|
173
179
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
174
180
|
# a clock skew correction and retry requests with skewed client clocks.
|
175
181
|
#
|
182
|
+
# @option options [String] :defaults_mode ("legacy")
|
183
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
184
|
+
# accepted modes and the configuration defaults that are included.
|
185
|
+
#
|
176
186
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
177
187
|
# Set to true to disable SDK automatically adding host prefix
|
178
188
|
# to default service endpoint when available.
|
@@ -305,7 +315,7 @@ module Aws::Personalize
|
|
305
315
|
# seconds to wait when opening a HTTP session before raising a
|
306
316
|
# `Timeout::Error`.
|
307
317
|
#
|
308
|
-
# @option options [
|
318
|
+
# @option options [Float] :http_read_timeout (60) The default
|
309
319
|
# number of seconds to wait for response data. This value can
|
310
320
|
# safely be set per-request on the session.
|
311
321
|
#
|
@@ -321,6 +331,9 @@ module Aws::Personalize
|
|
321
331
|
# disables this behaviour. This value can safely be set per
|
322
332
|
# request on the session.
|
323
333
|
#
|
334
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
335
|
+
# in seconds.
|
336
|
+
#
|
324
337
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
325
338
|
# HTTP debug output will be sent to the `:logger`.
|
326
339
|
#
|
@@ -1063,6 +1076,32 @@ module Aws::Personalize
|
|
1063
1076
|
# and specify the recommender's Amazon Resource Name (ARN) when you
|
1064
1077
|
# make a [GetRecommendations][1] request.
|
1065
1078
|
#
|
1079
|
+
# **Minimum recommendation requests per second**
|
1080
|
+
#
|
1081
|
+
# When you create a recommender, you can configure the recommender's
|
1082
|
+
# minimum recommendation requests per second. The minimum recommendation
|
1083
|
+
# requests per second (`minRecommendationRequestsPerSecond`) specifies
|
1084
|
+
# the baseline recommendation request throughput provisioned by Amazon
|
1085
|
+
# Personalize. The default minRecommendationRequestsPerSecond is `1`. A
|
1086
|
+
# recommendation request is a single `GetRecommendations` operation.
|
1087
|
+
# Request throughput is measured in requests per second and Amazon
|
1088
|
+
# Personalize uses your requests per second to derive your requests per
|
1089
|
+
# hour and the price of your recommender usage.
|
1090
|
+
#
|
1091
|
+
# If your requests per second increases beyond
|
1092
|
+
# `minRecommendationRequestsPerSecond`, Amazon Personalize auto-scales
|
1093
|
+
# the provisioned capacity up and down, but never below
|
1094
|
+
# `minRecommendationRequestsPerSecond`. There's a short time delay
|
1095
|
+
# while the capacity is increased that might cause loss of requests.
|
1096
|
+
#
|
1097
|
+
# Your bill is the greater of either the minimum requests per hour
|
1098
|
+
# (based on minRecommendationRequestsPerSecond) or the actual number of
|
1099
|
+
# requests. The actual request throughput used is calculated as the
|
1100
|
+
# average requests/second within a one-hour window. We recommend
|
1101
|
+
# starting with the default `minRecommendationRequestsPerSecond`, track
|
1102
|
+
# your usage using Amazon CloudWatch metrics, and then increase the
|
1103
|
+
# `minRecommendationRequestsPerSecond` as necessary.
|
1104
|
+
#
|
1066
1105
|
# **Status**
|
1067
1106
|
#
|
1068
1107
|
# A recommender can be in one of the following states:
|
@@ -1128,6 +1167,7 @@ module Aws::Personalize
|
|
1128
1167
|
# item_exploration_config: {
|
1129
1168
|
# "ParameterName" => "ParameterValue",
|
1130
1169
|
# },
|
1170
|
+
# min_recommendation_requests_per_second: 1,
|
1131
1171
|
# },
|
1132
1172
|
# })
|
1133
1173
|
#
|
@@ -2223,12 +2263,14 @@ module Aws::Personalize
|
|
2223
2263
|
# resp.recommender.recipe_arn #=> String
|
2224
2264
|
# resp.recommender.recommender_config.item_exploration_config #=> Hash
|
2225
2265
|
# resp.recommender.recommender_config.item_exploration_config["ParameterName"] #=> String
|
2266
|
+
# resp.recommender.recommender_config.min_recommendation_requests_per_second #=> Integer
|
2226
2267
|
# resp.recommender.creation_date_time #=> Time
|
2227
2268
|
# resp.recommender.last_updated_date_time #=> Time
|
2228
2269
|
# resp.recommender.status #=> String
|
2229
2270
|
# resp.recommender.failure_reason #=> String
|
2230
2271
|
# resp.recommender.latest_recommender_update.recommender_config.item_exploration_config #=> Hash
|
2231
2272
|
# resp.recommender.latest_recommender_update.recommender_config.item_exploration_config["ParameterName"] #=> String
|
2273
|
+
# resp.recommender.latest_recommender_update.recommender_config.min_recommendation_requests_per_second #=> Integer
|
2232
2274
|
# resp.recommender.latest_recommender_update.creation_date_time #=> Time
|
2233
2275
|
# resp.recommender.latest_recommender_update.last_updated_date_time #=> Time
|
2234
2276
|
# resp.recommender.latest_recommender_update.status #=> String
|
@@ -3004,6 +3046,7 @@ module Aws::Personalize
|
|
3004
3046
|
# resp.recommenders[0].recipe_arn #=> String
|
3005
3047
|
# resp.recommenders[0].recommender_config.item_exploration_config #=> Hash
|
3006
3048
|
# resp.recommenders[0].recommender_config.item_exploration_config["ParameterName"] #=> String
|
3049
|
+
# resp.recommenders[0].recommender_config.min_recommendation_requests_per_second #=> Integer
|
3007
3050
|
# resp.recommenders[0].status #=> String
|
3008
3051
|
# resp.recommenders[0].creation_date_time #=> Time
|
3009
3052
|
# resp.recommenders[0].last_updated_date_time #=> Time
|
@@ -3275,6 +3318,7 @@ module Aws::Personalize
|
|
3275
3318
|
# item_exploration_config: {
|
3276
3319
|
# "ParameterName" => "ParameterValue",
|
3277
3320
|
# },
|
3321
|
+
# min_recommendation_requests_per_second: 1,
|
3278
3322
|
# },
|
3279
3323
|
# })
|
3280
3324
|
#
|
@@ -3304,7 +3348,7 @@ module Aws::Personalize
|
|
3304
3348
|
params: params,
|
3305
3349
|
config: config)
|
3306
3350
|
context[:gem_name] = 'aws-sdk-personalize'
|
3307
|
-
context[:gem_version] = '1.
|
3351
|
+
context[:gem_version] = '1.38.0'
|
3308
3352
|
Seahorse::Client::Request.new(handlers, context)
|
3309
3353
|
end
|
3310
3354
|
|
@@ -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
|
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
|
#
|
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.38.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:
|
11
|
+
date: 2022-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.126.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.126.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|