aws-sdk-personalizeruntime 1.9.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: 2ce2553eab3fb5ff0b453b19343567474603f006c5d6452d036b33beac22da6f
4
- data.tar.gz: 912f5dc2cfc637356fd25ba6152b6ee691f0a57f520150ac0b5f56a71eece3e5
3
+ metadata.gz: 98020ec76be383f236d64d6a51fcd5d1340ef041b86ae43682bfe56eda132d47
4
+ data.tar.gz: 7acee0c9b4f7d53b3b0905c2c8e45b139aee139dc97397de42618ad8eb7d1649
5
5
  SHA512:
6
- metadata.gz: f90083dee20ee3a1235b75158af09cae7f43f40f60406486001d409f2a9c21e656b67f18ef09bedacec454413f4e0d2066d080f21be7f29ca66c9369f3d89a23
7
- data.tar.gz: 175874058713012de56cddbee04294b6a5e07222e38ce9991513e93cf46bbe3406d6cb37559c1814a775cdd0e650f04f37fce7e1b4704872b85add23faa4a6a1
6
+ metadata.gz: f663d58af663a73438ac2f18a24966e5db06116916ac7c3dfd2a2babbb37b4e883c721c4e183e938647c80d14b53bd06fb460032f8b52b0e2f6e319be7c1fce0
7
+ data.tar.gz: 99498da5d96cbbdc1569e5e7f52d337a5237aee486f3e834abe3bd338083e2c026910bd496ef97ca0b9c902b1f7db92e596af29a4bacfb77a87de3adfe0570c5
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-personalizeruntime/customizations'
45
47
  # @service
46
48
  module Aws::PersonalizeRuntime
47
49
 
48
- GEM_VERSION = '1.9.0'
50
+ GEM_VERSION = '1.14.0'
49
51
 
50
52
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
26
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
31
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
29
32
 
@@ -69,6 +72,7 @@ module Aws::PersonalizeRuntime
69
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
72
76
  add_plugin(Aws::Plugins::SignatureV4)
73
77
  add_plugin(Aws::Plugins::Protocols::RestJson)
74
78
 
@@ -161,7 +165,7 @@ module Aws::PersonalizeRuntime
161
165
  # @option options [String] :endpoint
162
166
  # The client endpoint is normally constructed from the `:region`
163
167
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be a valid HTTP(S) URI.
168
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
169
  #
166
170
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
171
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +180,7 @@ module Aws::PersonalizeRuntime
176
180
  # requests fetching endpoints information. Defaults to 60 sec.
177
181
  #
178
182
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
183
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
184
  #
181
185
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
186
  # The log formatter.
@@ -322,7 +326,7 @@ module Aws::PersonalizeRuntime
322
326
  # the personalized ranking.
323
327
  #
324
328
  # @option params [required, Array<String>] :input_list
325
- # A list of items (itemId's) to rank. If an item was not included in
329
+ # A list of items (by `itemId`) to rank. If an item was not included in
326
330
  # the training dataset, the item is appended to the end of the reranked
327
331
  # list. The maximum is 500.
328
332
  #
@@ -336,6 +340,10 @@ module Aws::PersonalizeRuntime
336
340
  # relevant when getting a user's recommendations, such as the user's
337
341
  # current location or device type.
338
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
+ #
339
347
  # @return [Types::GetPersonalizedRankingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
340
348
  #
341
349
  # * {Types::GetPersonalizedRankingResponse#personalized_ranking #personalized_ranking} => Array&lt;Types::PredictedItem&gt;
@@ -349,6 +357,7 @@ module Aws::PersonalizeRuntime
349
357
  # context: {
350
358
  # "AttributeName" => "AttributeValue",
351
359
  # },
360
+ # filter_arn: "Arn",
352
361
  # })
353
362
  #
354
363
  # @example Response structure
@@ -403,6 +412,16 @@ module Aws::PersonalizeRuntime
403
412
  # relevant when getting a user's recommendations, such as the user's
404
413
  # current location or device type.
405
414
  #
415
+ # @option params [String] :filter_arn
416
+ # The ARN of the filter to apply to the returned recommendations. For
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
424
+ #
406
425
  # @return [Types::GetRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
407
426
  #
408
427
  # * {Types::GetRecommendationsResponse#item_list #item_list} => Array&lt;Types::PredictedItem&gt;
@@ -417,6 +436,7 @@ module Aws::PersonalizeRuntime
417
436
  # context: {
418
437
  # "AttributeName" => "AttributeValue",
419
438
  # },
439
+ # filter_arn: "Arn",
420
440
  # })
421
441
  #
422
442
  # @example Response structure
@@ -447,7 +467,7 @@ module Aws::PersonalizeRuntime
447
467
  params: params,
448
468
  config: config)
449
469
  context[:gem_name] = 'aws-sdk-personalizeruntime'
450
- context[:gem_version] = '1.9.0'
470
+ context[:gem_version] = '1.14.0'
451
471
  Seahorse::Client::Request.new(handlers, context)
452
472
  end
453
473
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -37,6 +39,7 @@ module Aws::PersonalizeRuntime
37
39
  GetPersonalizedRankingRequest.add_member(:input_list, Shapes::ShapeRef.new(shape: InputList, required: true, location_name: "inputList"))
38
40
  GetPersonalizedRankingRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserID, required: true, location_name: "userId"))
39
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"))
40
43
  GetPersonalizedRankingRequest.struct_class = Types::GetPersonalizedRankingRequest
41
44
 
42
45
  GetPersonalizedRankingResponse.add_member(:personalized_ranking, Shapes::ShapeRef.new(shape: ItemList, location_name: "personalizedRanking"))
@@ -47,6 +50,7 @@ module Aws::PersonalizeRuntime
47
50
  GetRecommendationsRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserID, location_name: "userId"))
48
51
  GetRecommendationsRequest.add_member(:num_results, Shapes::ShapeRef.new(shape: NumResults, location_name: "numResults"))
49
52
  GetRecommendationsRequest.add_member(:context, Shapes::ShapeRef.new(shape: Context, location_name: "context"))
53
+ GetRecommendationsRequest.add_member(:filter_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "filterArn"))
50
54
  GetRecommendationsRequest.struct_class = Types::GetRecommendationsRequest
51
55
 
52
56
  GetRecommendationsResponse.add_member(:item_list, Shapes::ShapeRef.new(shape: ItemList, location_name: "itemList"))
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -18,6 +20,7 @@ module Aws::PersonalizeRuntime
18
20
  # context: {
19
21
  # "AttributeName" => "AttributeValue",
20
22
  # },
23
+ # filter_arn: "Arn",
21
24
  # }
22
25
  #
23
26
  # @!attribute [rw] campaign_arn
@@ -26,8 +29,8 @@ module Aws::PersonalizeRuntime
26
29
  # @return [String]
27
30
  #
28
31
  # @!attribute [rw] input_list
29
- # A list of items (itemId's) to rank. If an item was not included in
30
- # 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
31
34
  # reranked list. The maximum is 500.
32
35
  # @return [Array<String>]
33
36
  #
@@ -43,13 +46,20 @@ module Aws::PersonalizeRuntime
43
46
  # user's current location or device type.
44
47
  # @return [Hash<String,String>]
45
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
+ #
46
54
  # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-runtime-2018-05-22/GetPersonalizedRankingRequest AWS API Documentation
47
55
  #
48
56
  class GetPersonalizedRankingRequest < Struct.new(
49
57
  :campaign_arn,
50
58
  :input_list,
51
59
  :user_id,
52
- :context)
60
+ :context,
61
+ :filter_arn)
62
+ SENSITIVE = []
53
63
  include Aws::Structure
54
64
  end
55
65
 
@@ -62,6 +72,7 @@ module Aws::PersonalizeRuntime
62
72
  #
63
73
  class GetPersonalizedRankingResponse < Struct.new(
64
74
  :personalized_ranking)
75
+ SENSITIVE = []
65
76
  include Aws::Structure
66
77
  end
67
78
 
@@ -76,6 +87,7 @@ module Aws::PersonalizeRuntime
76
87
  # context: {
77
88
  # "AttributeName" => "AttributeValue",
78
89
  # },
90
+ # filter_arn: "Arn",
79
91
  # }
80
92
  #
81
93
  # @!attribute [rw] campaign_arn
@@ -107,6 +119,17 @@ module Aws::PersonalizeRuntime
107
119
  # user's current location or device type.
108
120
  # @return [Hash<String,String>]
109
121
  #
122
+ # @!attribute [rw] filter_arn
123
+ # The ARN of the filter to apply to the returned recommendations. For
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
131
+ # @return [String]
132
+ #
110
133
  # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-runtime-2018-05-22/GetRecommendationsRequest AWS API Documentation
111
134
  #
112
135
  class GetRecommendationsRequest < Struct.new(
@@ -114,7 +137,9 @@ module Aws::PersonalizeRuntime
114
137
  :item_id,
115
138
  :user_id,
116
139
  :num_results,
117
- :context)
140
+ :context,
141
+ :filter_arn)
142
+ SENSITIVE = []
118
143
  include Aws::Structure
119
144
  end
120
145
 
@@ -127,6 +152,7 @@ module Aws::PersonalizeRuntime
127
152
  #
128
153
  class GetRecommendationsResponse < Struct.new(
129
154
  :item_list)
155
+ SENSITIVE = []
130
156
  include Aws::Structure
131
157
  end
132
158
 
@@ -139,6 +165,7 @@ module Aws::PersonalizeRuntime
139
165
  #
140
166
  class InvalidInputException < Struct.new(
141
167
  :message)
168
+ SENSITIVE = []
142
169
  include Aws::Structure
143
170
  end
144
171
 
@@ -151,9 +178,9 @@ module Aws::PersonalizeRuntime
151
178
  # @return [String]
152
179
  #
153
180
  # @!attribute [rw] score
154
- # A numeric representation of the model's certainty in the item's
155
- # suitability. For more information on scoring logic, see
156
- # how-scores-work.
181
+ # A numeric representation of the model's certainty that the item
182
+ # will be the next user selection. For more information on scoring
183
+ # logic, see how-scores-work.
157
184
  # @return [Float]
158
185
  #
159
186
  # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-runtime-2018-05-22/PredictedItem AWS API Documentation
@@ -161,6 +188,7 @@ module Aws::PersonalizeRuntime
161
188
  class PredictedItem < Struct.new(
162
189
  :item_id,
163
190
  :score)
191
+ SENSITIVE = []
164
192
  include Aws::Structure
165
193
  end
166
194
 
@@ -173,6 +201,7 @@ module Aws::PersonalizeRuntime
173
201
  #
174
202
  class ResourceNotFoundException < Struct.new(
175
203
  :message)
204
+ SENSITIVE = []
176
205
  include Aws::Structure
177
206
  end
178
207
 
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.9.0
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-05-07 00:00:00.000000000 Z
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
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.71.0
22
+ version: 3.99.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.71.0
32
+ version: 3.99.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement