aws-sdk-personalizeruntime 1.24.0 → 1.28.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-personalizeruntime/client.rb +33 -8
- data/lib/aws-sdk-personalizeruntime/client_api.rb +2 -1
- data/lib/aws-sdk-personalizeruntime/types.rb +11 -3
- data/lib/aws-sdk-personalizeruntime.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1ff0e79035ce7cd754ad93d085afa19a58e5df26876fe9ba8b81db9f310798e
|
4
|
+
data.tar.gz: 3efd4c5807b810f0ff4597ac215c04539587e5203e6cd3bb74793933e8e88217
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e218678d0636afa2b7270d36bc43f857bcc0ab0e264f9a3d44c421248c609935b5747482628d28848b33b3fe509ee15e68934bc79d1b6b22be1fb175bc668ea
|
7
|
+
data.tar.gz: 24b40e8ca0c8ec71d4a31a814e390284a3e3517d78dfc7943b99afebd7401210c53740e9d76a70f934bef8e6d9b7c540ebc91553a570711521807a30cd5b3981
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.28.0 (2021-11-29)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds inference support for Recommenders.
|
8
|
+
|
9
|
+
1.27.0 (2021-11-04)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.26.0 (2021-10-18)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.25.0 (2021-09-01)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.24.0 (2021-07-30)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.28.0
|
@@ -275,6 +275,15 @@ module Aws::PersonalizeRuntime
|
|
275
275
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
276
276
|
# requests are made, and retries are disabled.
|
277
277
|
#
|
278
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
279
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
280
|
+
# will be used if available.
|
281
|
+
#
|
282
|
+
# @option options [Boolean] :use_fips_endpoint
|
283
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
284
|
+
# When a `fips` region is used, the region is normalized and this config
|
285
|
+
# is set to `true`.
|
286
|
+
#
|
278
287
|
# @option options [Boolean] :validate_params (true)
|
279
288
|
# When `true`, request parameters are validated before
|
280
289
|
# sending the request.
|
@@ -419,20 +428,30 @@ module Aws::PersonalizeRuntime
|
|
419
428
|
req.send_request(options)
|
420
429
|
end
|
421
430
|
|
422
|
-
# Returns a list of recommended items.
|
423
|
-
#
|
424
|
-
#
|
431
|
+
# Returns a list of recommended items. For campaigns, the campaign's
|
432
|
+
# Amazon Resource Name (ARN) is required and the required user and item
|
433
|
+
# input depends on the recipe type used to create the solution backing
|
434
|
+
# the campaign as follows:
|
425
435
|
#
|
426
|
-
# *
|
436
|
+
# * USER\_PERSONALIZATION - `userId` required, `itemId` not used
|
427
437
|
#
|
428
|
-
# *
|
438
|
+
# * RELATED\_ITEMS - `itemId` required, `userId` not used
|
429
439
|
#
|
430
440
|
# <note markdown="1"> Campaigns that are backed by a solution created using a recipe of type
|
431
441
|
# PERSONALIZED\_RANKING use the API.
|
432
442
|
#
|
433
443
|
# </note>
|
434
444
|
#
|
435
|
-
#
|
445
|
+
# For recommenders, the recommender's ARN is required and the required
|
446
|
+
# item and user input depends on the use case (domain-based recipe)
|
447
|
+
# backing the recommender. For information on use case requirements see
|
448
|
+
# [Choosing recommender use cases][1].
|
449
|
+
#
|
450
|
+
#
|
451
|
+
#
|
452
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/domain-use-cases.html
|
453
|
+
#
|
454
|
+
# @option params [String] :campaign_arn
|
436
455
|
# The Amazon Resource Name (ARN) of the campaign to use for getting
|
437
456
|
# recommendations.
|
438
457
|
#
|
@@ -485,6 +504,11 @@ module Aws::PersonalizeRuntime
|
|
485
504
|
#
|
486
505
|
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/filter.html
|
487
506
|
#
|
507
|
+
# @option params [String] :recommender_arn
|
508
|
+
# The Amazon Resource Name (ARN) of the recommender to use to get
|
509
|
+
# recommendations. Provide a recommender ARN if you created a Domain
|
510
|
+
# dataset group with a recommender for a domain use case.
|
511
|
+
#
|
488
512
|
# @return [Types::GetRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
489
513
|
#
|
490
514
|
# * {Types::GetRecommendationsResponse#item_list #item_list} => Array<Types::PredictedItem>
|
@@ -493,7 +517,7 @@ module Aws::PersonalizeRuntime
|
|
493
517
|
# @example Request syntax with placeholder values
|
494
518
|
#
|
495
519
|
# resp = client.get_recommendations({
|
496
|
-
# campaign_arn: "Arn",
|
520
|
+
# campaign_arn: "Arn",
|
497
521
|
# item_id: "ItemID",
|
498
522
|
# user_id: "UserID",
|
499
523
|
# num_results: 1,
|
@@ -504,6 +528,7 @@ module Aws::PersonalizeRuntime
|
|
504
528
|
# filter_values: {
|
505
529
|
# "FilterAttributeName" => "FilterAttributeValue",
|
506
530
|
# },
|
531
|
+
# recommender_arn: "Arn",
|
507
532
|
# })
|
508
533
|
#
|
509
534
|
# @example Response structure
|
@@ -535,7 +560,7 @@ module Aws::PersonalizeRuntime
|
|
535
560
|
params: params,
|
536
561
|
config: config)
|
537
562
|
context[:gem_name] = 'aws-sdk-personalizeruntime'
|
538
|
-
context[:gem_version] = '1.
|
563
|
+
context[:gem_version] = '1.28.0'
|
539
564
|
Seahorse::Client::Request.new(handlers, context)
|
540
565
|
end
|
541
566
|
|
@@ -54,13 +54,14 @@ module Aws::PersonalizeRuntime
|
|
54
54
|
GetPersonalizedRankingResponse.add_member(:recommendation_id, Shapes::ShapeRef.new(shape: RecommendationID, location_name: "recommendationId"))
|
55
55
|
GetPersonalizedRankingResponse.struct_class = Types::GetPersonalizedRankingResponse
|
56
56
|
|
57
|
-
GetRecommendationsRequest.add_member(:campaign_arn, Shapes::ShapeRef.new(shape: Arn,
|
57
|
+
GetRecommendationsRequest.add_member(:campaign_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "campaignArn"))
|
58
58
|
GetRecommendationsRequest.add_member(:item_id, Shapes::ShapeRef.new(shape: ItemID, location_name: "itemId"))
|
59
59
|
GetRecommendationsRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserID, location_name: "userId"))
|
60
60
|
GetRecommendationsRequest.add_member(:num_results, Shapes::ShapeRef.new(shape: NumResults, location_name: "numResults"))
|
61
61
|
GetRecommendationsRequest.add_member(:context, Shapes::ShapeRef.new(shape: Context, location_name: "context"))
|
62
62
|
GetRecommendationsRequest.add_member(:filter_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "filterArn"))
|
63
63
|
GetRecommendationsRequest.add_member(:filter_values, Shapes::ShapeRef.new(shape: FilterValues, location_name: "filterValues"))
|
64
|
+
GetRecommendationsRequest.add_member(:recommender_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "recommenderArn"))
|
64
65
|
GetRecommendationsRequest.struct_class = Types::GetRecommendationsRequest
|
65
66
|
|
66
67
|
GetRecommendationsResponse.add_member(:item_list, Shapes::ShapeRef.new(shape: ItemList, location_name: "itemList"))
|
@@ -115,7 +115,7 @@ module Aws::PersonalizeRuntime
|
|
115
115
|
# data as a hash:
|
116
116
|
#
|
117
117
|
# {
|
118
|
-
# campaign_arn: "Arn",
|
118
|
+
# campaign_arn: "Arn",
|
119
119
|
# item_id: "ItemID",
|
120
120
|
# user_id: "UserID",
|
121
121
|
# num_results: 1,
|
@@ -126,6 +126,7 @@ module Aws::PersonalizeRuntime
|
|
126
126
|
# filter_values: {
|
127
127
|
# "FilterAttributeName" => "FilterAttributeValue",
|
128
128
|
# },
|
129
|
+
# recommender_arn: "Arn",
|
129
130
|
# }
|
130
131
|
#
|
131
132
|
# @!attribute [rw] campaign_arn
|
@@ -189,6 +190,12 @@ module Aws::PersonalizeRuntime
|
|
189
190
|
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/filter.html
|
190
191
|
# @return [Hash<String,String>]
|
191
192
|
#
|
193
|
+
# @!attribute [rw] recommender_arn
|
194
|
+
# The Amazon Resource Name (ARN) of the recommender to use to get
|
195
|
+
# recommendations. Provide a recommender ARN if you created a Domain
|
196
|
+
# dataset group with a recommender for a domain use case.
|
197
|
+
# @return [String]
|
198
|
+
#
|
192
199
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-runtime-2018-05-22/GetRecommendationsRequest AWS API Documentation
|
193
200
|
#
|
194
201
|
class GetRecommendationsRequest < Struct.new(
|
@@ -198,13 +205,14 @@ module Aws::PersonalizeRuntime
|
|
198
205
|
:num_results,
|
199
206
|
:context,
|
200
207
|
:filter_arn,
|
201
|
-
:filter_values
|
208
|
+
:filter_values,
|
209
|
+
:recommender_arn)
|
202
210
|
SENSITIVE = []
|
203
211
|
include Aws::Structure
|
204
212
|
end
|
205
213
|
|
206
214
|
# @!attribute [rw] item_list
|
207
|
-
# A list of recommendations sorted in
|
215
|
+
# A list of recommendations sorted in descending order by prediction
|
208
216
|
# score. There can be a maximum of 500 items in the list.
|
209
217
|
# @return [Array<Types::PredictedItem>]
|
210
218
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-personalizeruntime
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.28.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-
|
11
|
+
date: 2021-11-29 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.122.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.122.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -76,7 +76,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
76
76
|
requirements:
|
77
77
|
- - ">="
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
version: '
|
79
|
+
version: '2.3'
|
80
80
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
82
|
- - ">="
|