aws-sdk-personalizeruntime 1.8.0 → 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-personalizeruntime.rb +3 -1
- data/lib/aws-sdk-personalizeruntime/client.rb +13 -4
- data/lib/aws-sdk-personalizeruntime/client_api.rb +3 -0
- data/lib/aws-sdk-personalizeruntime/errors.rb +2 -0
- data/lib/aws-sdk-personalizeruntime/resource.rb +2 -0
- data/lib/aws-sdk-personalizeruntime/types.rb +20 -4
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 6739d6c8361e473f756be445337403d97debb255dbef3b5270810c38145efb44
|
4
|
+
data.tar.gz: 39fc794ef6da4a0f8b6a5b72580447fd6496879263956f4ac57e0d379481a5e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f8a98cd3d4084808f00f5a8aac562f3eaf4c986e09f85d4cdea49dee06dd9b0700cc283c3be9f0feb7b6f88baa8c4fef622508e0b3e77c5f56795d77508ca9a
|
7
|
+
data.tar.gz: ace7426ad454413180788b97e8c8368e5b562e2d80414705a18704e18b3983bdb0a77837a1d2270fce7294e1c367243ad19c56cce6f94445538b1ab3a06b002d
|
@@ -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.
|
50
|
+
GEM_VERSION = '1.13.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
|
|
@@ -105,7 +109,7 @@ module Aws::PersonalizeRuntime
|
|
105
109
|
# @option options [required, String] :region
|
106
110
|
# The AWS region to connect to. The configured `:region` is
|
107
111
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
112
|
+
# a default `:region` is searched for in the following locations:
|
109
113
|
#
|
110
114
|
# * `Aws.config[:region]`
|
111
115
|
# * `ENV['AWS_REGION']`
|
@@ -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
|
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.
|
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.
|
@@ -403,6 +407,10 @@ module Aws::PersonalizeRuntime
|
|
403
407
|
# relevant when getting a user's recommendations, such as the user's
|
404
408
|
# current location or device type.
|
405
409
|
#
|
410
|
+
# @option params [String] :filter_arn
|
411
|
+
# The ARN of the filter to apply to the returned recommendations. For
|
412
|
+
# more information, see Using Filters with Amazon Personalize.
|
413
|
+
#
|
406
414
|
# @return [Types::GetRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
407
415
|
#
|
408
416
|
# * {Types::GetRecommendationsResponse#item_list #item_list} => Array<Types::PredictedItem>
|
@@ -417,6 +425,7 @@ module Aws::PersonalizeRuntime
|
|
417
425
|
# context: {
|
418
426
|
# "AttributeName" => "AttributeValue",
|
419
427
|
# },
|
428
|
+
# filter_arn: "Arn",
|
420
429
|
# })
|
421
430
|
#
|
422
431
|
# @example Response structure
|
@@ -447,7 +456,7 @@ module Aws::PersonalizeRuntime
|
|
447
456
|
params: params,
|
448
457
|
config: config)
|
449
458
|
context[:gem_name] = 'aws-sdk-personalizeruntime'
|
450
|
-
context[:gem_version] = '1.
|
459
|
+
context[:gem_version] = '1.13.0'
|
451
460
|
Seahorse::Client::Request.new(handlers, context)
|
452
461
|
end
|
453
462
|
|
@@ -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:
|
@@ -47,6 +49,7 @@ module Aws::PersonalizeRuntime
|
|
47
49
|
GetRecommendationsRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserID, location_name: "userId"))
|
48
50
|
GetRecommendationsRequest.add_member(:num_results, Shapes::ShapeRef.new(shape: NumResults, location_name: "numResults"))
|
49
51
|
GetRecommendationsRequest.add_member(:context, Shapes::ShapeRef.new(shape: Context, location_name: "context"))
|
52
|
+
GetRecommendationsRequest.add_member(:filter_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "filterArn"))
|
50
53
|
GetRecommendationsRequest.struct_class = Types::GetRecommendationsRequest
|
51
54
|
|
52
55
|
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:
|
@@ -50,6 +52,7 @@ module Aws::PersonalizeRuntime
|
|
50
52
|
:input_list,
|
51
53
|
:user_id,
|
52
54
|
:context)
|
55
|
+
SENSITIVE = []
|
53
56
|
include Aws::Structure
|
54
57
|
end
|
55
58
|
|
@@ -62,6 +65,7 @@ module Aws::PersonalizeRuntime
|
|
62
65
|
#
|
63
66
|
class GetPersonalizedRankingResponse < Struct.new(
|
64
67
|
:personalized_ranking)
|
68
|
+
SENSITIVE = []
|
65
69
|
include Aws::Structure
|
66
70
|
end
|
67
71
|
|
@@ -76,6 +80,7 @@ module Aws::PersonalizeRuntime
|
|
76
80
|
# context: {
|
77
81
|
# "AttributeName" => "AttributeValue",
|
78
82
|
# },
|
83
|
+
# filter_arn: "Arn",
|
79
84
|
# }
|
80
85
|
#
|
81
86
|
# @!attribute [rw] campaign_arn
|
@@ -107,6 +112,11 @@ module Aws::PersonalizeRuntime
|
|
107
112
|
# user's current location or device type.
|
108
113
|
# @return [Hash<String,String>]
|
109
114
|
#
|
115
|
+
# @!attribute [rw] filter_arn
|
116
|
+
# The ARN of the filter to apply to the returned recommendations. For
|
117
|
+
# more information, see Using Filters with Amazon Personalize.
|
118
|
+
# @return [String]
|
119
|
+
#
|
110
120
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-runtime-2018-05-22/GetRecommendationsRequest AWS API Documentation
|
111
121
|
#
|
112
122
|
class GetRecommendationsRequest < Struct.new(
|
@@ -114,7 +124,9 @@ module Aws::PersonalizeRuntime
|
|
114
124
|
:item_id,
|
115
125
|
:user_id,
|
116
126
|
:num_results,
|
117
|
-
:context
|
127
|
+
:context,
|
128
|
+
:filter_arn)
|
129
|
+
SENSITIVE = []
|
118
130
|
include Aws::Structure
|
119
131
|
end
|
120
132
|
|
@@ -127,6 +139,7 @@ module Aws::PersonalizeRuntime
|
|
127
139
|
#
|
128
140
|
class GetRecommendationsResponse < Struct.new(
|
129
141
|
:item_list)
|
142
|
+
SENSITIVE = []
|
130
143
|
include Aws::Structure
|
131
144
|
end
|
132
145
|
|
@@ -139,6 +152,7 @@ module Aws::PersonalizeRuntime
|
|
139
152
|
#
|
140
153
|
class InvalidInputException < Struct.new(
|
141
154
|
:message)
|
155
|
+
SENSITIVE = []
|
142
156
|
include Aws::Structure
|
143
157
|
end
|
144
158
|
|
@@ -151,9 +165,9 @@ module Aws::PersonalizeRuntime
|
|
151
165
|
# @return [String]
|
152
166
|
#
|
153
167
|
# @!attribute [rw] score
|
154
|
-
# A numeric representation of the model's certainty
|
155
|
-
#
|
156
|
-
# how-scores-work.
|
168
|
+
# A numeric representation of the model's certainty that the item
|
169
|
+
# will be the next user selection. For more information on scoring
|
170
|
+
# logic, see how-scores-work.
|
157
171
|
# @return [Float]
|
158
172
|
#
|
159
173
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-runtime-2018-05-22/PredictedItem AWS API Documentation
|
@@ -161,6 +175,7 @@ module Aws::PersonalizeRuntime
|
|
161
175
|
class PredictedItem < Struct.new(
|
162
176
|
:item_id,
|
163
177
|
:score)
|
178
|
+
SENSITIVE = []
|
164
179
|
include Aws::Structure
|
165
180
|
end
|
166
181
|
|
@@ -173,6 +188,7 @@ module Aws::PersonalizeRuntime
|
|
173
188
|
#
|
174
189
|
class ResourceNotFoundException < Struct.new(
|
175
190
|
:message)
|
191
|
+
SENSITIVE = []
|
176
192
|
include Aws::Structure
|
177
193
|
end
|
178
194
|
|
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.13.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-06-23 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.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.
|
32
|
+
version: 3.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
83
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.
|
84
|
+
rubygems_version: 2.7.6.2
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: AWS SDK for Ruby - Amazon Personalize Runtime
|