aws-sdk-personalizeruntime 1.14.0 → 1.15.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bca3cda9086671e924fcdcbef06ed8512c5bcb3b739252136e0d611a53e6183b
|
4
|
+
data.tar.gz: '08239b4123a122038843509022232693644606fb86903c74e82240256276ea51'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec053f1a913ed5dc228ebb9a9387a98285260824305afb0f359ff7d01745aca5cf19ccb7a12ccfe226448fff36378847e44518ea36f1bb0b71840247accaf221
|
7
|
+
data.tar.gz: 69bef1f5d19579f612de9dbcb5525c282bf2d9ceb1361d81a085a034a474249ab47794eb6606818369da6e45750396aa2d447a51e3e32ac378a83d17340cb826
|
@@ -347,6 +347,7 @@ module Aws::PersonalizeRuntime
|
|
347
347
|
# @return [Types::GetPersonalizedRankingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
348
348
|
#
|
349
349
|
# * {Types::GetPersonalizedRankingResponse#personalized_ranking #personalized_ranking} => Array<Types::PredictedItem>
|
350
|
+
# * {Types::GetPersonalizedRankingResponse#recommendation_id #recommendation_id} => String
|
350
351
|
#
|
351
352
|
# @example Request syntax with placeholder values
|
352
353
|
#
|
@@ -365,6 +366,7 @@ module Aws::PersonalizeRuntime
|
|
365
366
|
# resp.personalized_ranking #=> Array
|
366
367
|
# resp.personalized_ranking[0].item_id #=> String
|
367
368
|
# resp.personalized_ranking[0].score #=> Float
|
369
|
+
# resp.recommendation_id #=> String
|
368
370
|
#
|
369
371
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-runtime-2018-05-22/GetPersonalizedRanking AWS API Documentation
|
370
372
|
#
|
@@ -425,6 +427,7 @@ module Aws::PersonalizeRuntime
|
|
425
427
|
# @return [Types::GetRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
426
428
|
#
|
427
429
|
# * {Types::GetRecommendationsResponse#item_list #item_list} => Array<Types::PredictedItem>
|
430
|
+
# * {Types::GetRecommendationsResponse#recommendation_id #recommendation_id} => String
|
428
431
|
#
|
429
432
|
# @example Request syntax with placeholder values
|
430
433
|
#
|
@@ -444,6 +447,7 @@ module Aws::PersonalizeRuntime
|
|
444
447
|
# resp.item_list #=> Array
|
445
448
|
# resp.item_list[0].item_id #=> String
|
446
449
|
# resp.item_list[0].score #=> Float
|
450
|
+
# resp.recommendation_id #=> String
|
447
451
|
#
|
448
452
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-runtime-2018-05-22/GetRecommendations AWS API Documentation
|
449
453
|
#
|
@@ -467,7 +471,7 @@ module Aws::PersonalizeRuntime
|
|
467
471
|
params: params,
|
468
472
|
config: config)
|
469
473
|
context[:gem_name] = 'aws-sdk-personalizeruntime'
|
470
|
-
context[:gem_version] = '1.
|
474
|
+
context[:gem_version] = '1.15.0'
|
471
475
|
Seahorse::Client::Request.new(handlers, context)
|
472
476
|
end
|
473
477
|
|
@@ -28,6 +28,7 @@ module Aws::PersonalizeRuntime
|
|
28
28
|
ItemList = Shapes::ListShape.new(name: 'ItemList')
|
29
29
|
NumResults = Shapes::IntegerShape.new(name: 'NumResults')
|
30
30
|
PredictedItem = Shapes::StructureShape.new(name: 'PredictedItem')
|
31
|
+
RecommendationID = Shapes::StringShape.new(name: 'RecommendationID')
|
31
32
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
32
33
|
Score = Shapes::FloatShape.new(name: 'Score')
|
33
34
|
UserID = Shapes::StringShape.new(name: 'UserID')
|
@@ -43,6 +44,7 @@ module Aws::PersonalizeRuntime
|
|
43
44
|
GetPersonalizedRankingRequest.struct_class = Types::GetPersonalizedRankingRequest
|
44
45
|
|
45
46
|
GetPersonalizedRankingResponse.add_member(:personalized_ranking, Shapes::ShapeRef.new(shape: ItemList, location_name: "personalizedRanking"))
|
47
|
+
GetPersonalizedRankingResponse.add_member(:recommendation_id, Shapes::ShapeRef.new(shape: RecommendationID, location_name: "recommendationId"))
|
46
48
|
GetPersonalizedRankingResponse.struct_class = Types::GetPersonalizedRankingResponse
|
47
49
|
|
48
50
|
GetRecommendationsRequest.add_member(:campaign_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "campaignArn"))
|
@@ -54,6 +56,7 @@ module Aws::PersonalizeRuntime
|
|
54
56
|
GetRecommendationsRequest.struct_class = Types::GetRecommendationsRequest
|
55
57
|
|
56
58
|
GetRecommendationsResponse.add_member(:item_list, Shapes::ShapeRef.new(shape: ItemList, location_name: "itemList"))
|
59
|
+
GetRecommendationsResponse.add_member(:recommendation_id, Shapes::ShapeRef.new(shape: RecommendationID, location_name: "recommendationId"))
|
57
60
|
GetRecommendationsResponse.struct_class = Types::GetRecommendationsResponse
|
58
61
|
|
59
62
|
InputList.member = Shapes::ShapeRef.new(shape: ItemID)
|
@@ -68,10 +68,15 @@ module Aws::PersonalizeRuntime
|
|
68
68
|
# maximum is 500.
|
69
69
|
# @return [Array<Types::PredictedItem>]
|
70
70
|
#
|
71
|
+
# @!attribute [rw] recommendation_id
|
72
|
+
# The ID of the recommendation.
|
73
|
+
# @return [String]
|
74
|
+
#
|
71
75
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-runtime-2018-05-22/GetPersonalizedRankingResponse AWS API Documentation
|
72
76
|
#
|
73
77
|
class GetPersonalizedRankingResponse < Struct.new(
|
74
|
-
:personalized_ranking
|
78
|
+
:personalized_ranking,
|
79
|
+
:recommendation_id)
|
75
80
|
SENSITIVE = []
|
76
81
|
include Aws::Structure
|
77
82
|
end
|
@@ -148,10 +153,15 @@ module Aws::PersonalizeRuntime
|
|
148
153
|
# score. There can be a maximum of 500 items in the list.
|
149
154
|
# @return [Array<Types::PredictedItem>]
|
150
155
|
#
|
156
|
+
# @!attribute [rw] recommendation_id
|
157
|
+
# The ID of the recommendation.
|
158
|
+
# @return [String]
|
159
|
+
#
|
151
160
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-runtime-2018-05-22/GetRecommendationsResponse AWS API Documentation
|
152
161
|
#
|
153
162
|
class GetRecommendationsResponse < Struct.new(
|
154
|
-
:item_list
|
163
|
+
:item_list,
|
164
|
+
:recommendation_id)
|
155
165
|
SENSITIVE = []
|
156
166
|
include Aws::Structure
|
157
167
|
end
|
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.15.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-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|