aws-sdk-personalizeruntime 1.13.0 → 1.14.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98020ec76be383f236d64d6a51fcd5d1340ef041b86ae43682bfe56eda132d47
|
4
|
+
data.tar.gz: 7acee0c9b4f7d53b3b0905c2c8e45b139aee139dc97397de42618ad8eb7d1649
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f663d58af663a73438ac2f18a24966e5db06116916ac7c3dfd2a2babbb37b4e883c721c4e183e938647c80d14b53bd06fb460032f8b52b0e2f6e319be7c1fce0
|
7
|
+
data.tar.gz: 99498da5d96cbbdc1569e5e7f52d337a5237aee486f3e834abe3bd338083e2c026910bd496ef97ca0b9c902b1f7db92e596af29a4bacfb77a87de3adfe0570c5
|
@@ -326,7 +326,7 @@ module Aws::PersonalizeRuntime
|
|
326
326
|
# the personalized ranking.
|
327
327
|
#
|
328
328
|
# @option params [required, Array<String>] :input_list
|
329
|
-
# A list of items (itemId
|
329
|
+
# A list of items (by `itemId`) to rank. If an item was not included in
|
330
330
|
# the training dataset, the item is appended to the end of the reranked
|
331
331
|
# list. The maximum is 500.
|
332
332
|
#
|
@@ -340,6 +340,10 @@ module Aws::PersonalizeRuntime
|
|
340
340
|
# relevant when getting a user's recommendations, such as the user's
|
341
341
|
# current location or device type.
|
342
342
|
#
|
343
|
+
# @option params [String] :filter_arn
|
344
|
+
# The Amazon Resource Name (ARN) of a filter you created to include or
|
345
|
+
# exclude items from recommendations for a given user.
|
346
|
+
#
|
343
347
|
# @return [Types::GetPersonalizedRankingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
344
348
|
#
|
345
349
|
# * {Types::GetPersonalizedRankingResponse#personalized_ranking #personalized_ranking} => Array<Types::PredictedItem>
|
@@ -353,6 +357,7 @@ module Aws::PersonalizeRuntime
|
|
353
357
|
# context: {
|
354
358
|
# "AttributeName" => "AttributeValue",
|
355
359
|
# },
|
360
|
+
# filter_arn: "Arn",
|
356
361
|
# })
|
357
362
|
#
|
358
363
|
# @example Response structure
|
@@ -409,7 +414,13 @@ module Aws::PersonalizeRuntime
|
|
409
414
|
#
|
410
415
|
# @option params [String] :filter_arn
|
411
416
|
# The ARN of the filter to apply to the returned recommendations. For
|
412
|
-
# more information, see Using Filters with Amazon Personalize.
|
417
|
+
# more information, see [Using Filters with Amazon Personalize][1].
|
418
|
+
#
|
419
|
+
# When using this parameter, be sure the filter resource is `ACTIVE`.
|
420
|
+
#
|
421
|
+
#
|
422
|
+
#
|
423
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/filters.html
|
413
424
|
#
|
414
425
|
# @return [Types::GetRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
415
426
|
#
|
@@ -456,7 +467,7 @@ module Aws::PersonalizeRuntime
|
|
456
467
|
params: params,
|
457
468
|
config: config)
|
458
469
|
context[:gem_name] = 'aws-sdk-personalizeruntime'
|
459
|
-
context[:gem_version] = '1.
|
470
|
+
context[:gem_version] = '1.14.0'
|
460
471
|
Seahorse::Client::Request.new(handlers, context)
|
461
472
|
end
|
462
473
|
|
@@ -39,6 +39,7 @@ module Aws::PersonalizeRuntime
|
|
39
39
|
GetPersonalizedRankingRequest.add_member(:input_list, Shapes::ShapeRef.new(shape: InputList, required: true, location_name: "inputList"))
|
40
40
|
GetPersonalizedRankingRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserID, required: true, location_name: "userId"))
|
41
41
|
GetPersonalizedRankingRequest.add_member(:context, Shapes::ShapeRef.new(shape: Context, location_name: "context"))
|
42
|
+
GetPersonalizedRankingRequest.add_member(:filter_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "filterArn"))
|
42
43
|
GetPersonalizedRankingRequest.struct_class = Types::GetPersonalizedRankingRequest
|
43
44
|
|
44
45
|
GetPersonalizedRankingResponse.add_member(:personalized_ranking, Shapes::ShapeRef.new(shape: ItemList, location_name: "personalizedRanking"))
|
@@ -20,6 +20,7 @@ module Aws::PersonalizeRuntime
|
|
20
20
|
# context: {
|
21
21
|
# "AttributeName" => "AttributeValue",
|
22
22
|
# },
|
23
|
+
# filter_arn: "Arn",
|
23
24
|
# }
|
24
25
|
#
|
25
26
|
# @!attribute [rw] campaign_arn
|
@@ -28,8 +29,8 @@ module Aws::PersonalizeRuntime
|
|
28
29
|
# @return [String]
|
29
30
|
#
|
30
31
|
# @!attribute [rw] input_list
|
31
|
-
# A list of items (itemId
|
32
|
-
# the training dataset, the item is appended to the end of the
|
32
|
+
# A list of items (by `itemId`) to rank. If an item was not included
|
33
|
+
# in the training dataset, the item is appended to the end of the
|
33
34
|
# reranked list. The maximum is 500.
|
34
35
|
# @return [Array<String>]
|
35
36
|
#
|
@@ -45,13 +46,19 @@ module Aws::PersonalizeRuntime
|
|
45
46
|
# user's current location or device type.
|
46
47
|
# @return [Hash<String,String>]
|
47
48
|
#
|
49
|
+
# @!attribute [rw] filter_arn
|
50
|
+
# The Amazon Resource Name (ARN) of a filter you created to include or
|
51
|
+
# exclude items from recommendations for a given user.
|
52
|
+
# @return [String]
|
53
|
+
#
|
48
54
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-runtime-2018-05-22/GetPersonalizedRankingRequest AWS API Documentation
|
49
55
|
#
|
50
56
|
class GetPersonalizedRankingRequest < Struct.new(
|
51
57
|
:campaign_arn,
|
52
58
|
:input_list,
|
53
59
|
:user_id,
|
54
|
-
:context
|
60
|
+
:context,
|
61
|
+
:filter_arn)
|
55
62
|
SENSITIVE = []
|
56
63
|
include Aws::Structure
|
57
64
|
end
|
@@ -114,7 +121,13 @@ module Aws::PersonalizeRuntime
|
|
114
121
|
#
|
115
122
|
# @!attribute [rw] filter_arn
|
116
123
|
# The ARN of the filter to apply to the returned recommendations. For
|
117
|
-
# more information, see Using Filters with Amazon Personalize.
|
124
|
+
# more information, see [Using Filters with Amazon Personalize][1].
|
125
|
+
#
|
126
|
+
# When using this parameter, be sure the filter resource is `ACTIVE`.
|
127
|
+
#
|
128
|
+
#
|
129
|
+
#
|
130
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/filters.html
|
118
131
|
# @return [String]
|
119
132
|
#
|
120
133
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-runtime-2018-05-22/GetRecommendationsRequest AWS API Documentation
|
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.14.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: 2020-
|
11
|
+
date: 2020-07-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|