aws-sdk-personalizeruntime 1.10.0 → 1.11.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: 21445ed9e0086265a9e484b93dd74c073393ebf49bb5cbee65be9f9fadd7f0a8
|
|
4
|
+
data.tar.gz: 0acc83487dd628d8eb5185c2f72ea8e5d3d19852639a7f1edcee81717b99c2f7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b709e62499fa300ce0f60f943758077db5b1934753ad29a5df2e4adeb2bbb1dea277c2170e50723bba1bd30a340539201e789af55bc4b1ee5d7101a43dc86ae2
|
|
7
|
+
data.tar.gz: b84818876cde241df3f5a2e435782d83fb9e69f0c43f2dd37af74909ed8f698b414f33972c4a2ed947d1d1fd68f0c8677798bca275430916b765e41f2f9ba431
|
|
@@ -403,6 +403,10 @@ module Aws::PersonalizeRuntime
|
|
|
403
403
|
# relevant when getting a user's recommendations, such as the user's
|
|
404
404
|
# current location or device type.
|
|
405
405
|
#
|
|
406
|
+
# @option params [String] :filter_arn
|
|
407
|
+
# The ARN of the filter to apply to the returned recommendations. For
|
|
408
|
+
# more information, see Using Filters with Amazon Personalize.
|
|
409
|
+
#
|
|
406
410
|
# @return [Types::GetRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
407
411
|
#
|
|
408
412
|
# * {Types::GetRecommendationsResponse#item_list #item_list} => Array<Types::PredictedItem>
|
|
@@ -417,6 +421,7 @@ module Aws::PersonalizeRuntime
|
|
|
417
421
|
# context: {
|
|
418
422
|
# "AttributeName" => "AttributeValue",
|
|
419
423
|
# },
|
|
424
|
+
# filter_arn: "Arn",
|
|
420
425
|
# })
|
|
421
426
|
#
|
|
422
427
|
# @example Response structure
|
|
@@ -447,7 +452,7 @@ module Aws::PersonalizeRuntime
|
|
|
447
452
|
params: params,
|
|
448
453
|
config: config)
|
|
449
454
|
context[:gem_name] = 'aws-sdk-personalizeruntime'
|
|
450
|
-
context[:gem_version] = '1.
|
|
455
|
+
context[:gem_version] = '1.11.0'
|
|
451
456
|
Seahorse::Client::Request.new(handlers, context)
|
|
452
457
|
end
|
|
453
458
|
|
|
@@ -47,6 +47,7 @@ module Aws::PersonalizeRuntime
|
|
|
47
47
|
GetRecommendationsRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserID, location_name: "userId"))
|
|
48
48
|
GetRecommendationsRequest.add_member(:num_results, Shapes::ShapeRef.new(shape: NumResults, location_name: "numResults"))
|
|
49
49
|
GetRecommendationsRequest.add_member(:context, Shapes::ShapeRef.new(shape: Context, location_name: "context"))
|
|
50
|
+
GetRecommendationsRequest.add_member(:filter_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "filterArn"))
|
|
50
51
|
GetRecommendationsRequest.struct_class = Types::GetRecommendationsRequest
|
|
51
52
|
|
|
52
53
|
GetRecommendationsResponse.add_member(:item_list, Shapes::ShapeRef.new(shape: ItemList, location_name: "itemList"))
|
|
@@ -76,6 +76,7 @@ module Aws::PersonalizeRuntime
|
|
|
76
76
|
# context: {
|
|
77
77
|
# "AttributeName" => "AttributeValue",
|
|
78
78
|
# },
|
|
79
|
+
# filter_arn: "Arn",
|
|
79
80
|
# }
|
|
80
81
|
#
|
|
81
82
|
# @!attribute [rw] campaign_arn
|
|
@@ -107,6 +108,11 @@ module Aws::PersonalizeRuntime
|
|
|
107
108
|
# user's current location or device type.
|
|
108
109
|
# @return [Hash<String,String>]
|
|
109
110
|
#
|
|
111
|
+
# @!attribute [rw] filter_arn
|
|
112
|
+
# The ARN of the filter to apply to the returned recommendations. For
|
|
113
|
+
# more information, see Using Filters with Amazon Personalize.
|
|
114
|
+
# @return [String]
|
|
115
|
+
#
|
|
110
116
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-runtime-2018-05-22/GetRecommendationsRequest AWS API Documentation
|
|
111
117
|
#
|
|
112
118
|
class GetRecommendationsRequest < Struct.new(
|
|
@@ -114,7 +120,8 @@ module Aws::PersonalizeRuntime
|
|
|
114
120
|
:item_id,
|
|
115
121
|
:user_id,
|
|
116
122
|
:num_results,
|
|
117
|
-
:context
|
|
123
|
+
:context,
|
|
124
|
+
:filter_arn)
|
|
118
125
|
include Aws::Structure
|
|
119
126
|
end
|
|
120
127
|
|
|
@@ -151,9 +158,9 @@ module Aws::PersonalizeRuntime
|
|
|
151
158
|
# @return [String]
|
|
152
159
|
#
|
|
153
160
|
# @!attribute [rw] score
|
|
154
|
-
# A numeric representation of the model's certainty
|
|
155
|
-
#
|
|
156
|
-
# how-scores-work.
|
|
161
|
+
# A numeric representation of the model's certainty that the item
|
|
162
|
+
# will be the next user selection. For more information on scoring
|
|
163
|
+
# logic, see how-scores-work.
|
|
157
164
|
# @return [Float]
|
|
158
165
|
#
|
|
159
166
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-runtime-2018-05-22/PredictedItem 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.11.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-05
|
|
11
|
+
date: 2020-06-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|