aws-sdk-personalizeruntime 1.16.0 → 1.21.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: 3d235aad2c85e19e61dd6a3620867323ad5b0455b5accba2d01d804a98d09893
4
- data.tar.gz: c14c5268509e2ca3e3d447492cd2d6a77562694ec2f1faf4e6b2b08043869952
3
+ metadata.gz: 340f17e9e04805c789b9378584de475cc65cd4eba7fd38b20947f151568d5c20
4
+ data.tar.gz: db84fa9b3b051a4eeea0fb701372f64a7086106b4033c3e6faf3245ecb3ef181
5
5
  SHA512:
6
- metadata.gz: 515c5923a5245b2fe7da26cf32073538ec56beff93a0c10cd6acf777808ef0cd5e650d892b6db63bc73a58ca7218a18419e9ae4cffabaca795e0756de2468a81
7
- data.tar.gz: 775aaf5bbf29f0d1624892ef2bf55ada2ea8fc60ff205c812795318522fbb6a1994af0c794addbf4127eb4c95a9da6de472d04fa62c6e00ba76b169ba950af8c
6
+ metadata.gz: 4f836ee8ac8f39a02355b6b0661dc869c72c081847a44913091eba262808d42cd7ddb9d8078ec1d7113e50ac2bd7495f2ad21255fd8d7b3647e3d81266c98d32
7
+ data.tar.gz: c70bcb6c36b2107549b42009b96a870eaa4437dbd4e9a39112c7394341449a395dc564dad11e0bf46bc4d9c606b17b1bd78ac282fbdf5c84d1b1ba7520c9eb66
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -47,6 +48,6 @@ require_relative 'aws-sdk-personalizeruntime/customizations'
47
48
  # @!group service
48
49
  module Aws::PersonalizeRuntime
49
50
 
50
- GEM_VERSION = '1.16.0'
51
+ GEM_VERSION = '1.21.0'
51
52
 
52
53
  end
@@ -356,8 +356,32 @@ module Aws::PersonalizeRuntime
356
356
  # current location or device type.
357
357
  #
358
358
  # @option params [String] :filter_arn
359
- # The Amazon Resource Name (ARN) of a filter you created to include or
360
- # exclude items from recommendations for a given user.
359
+ # The Amazon Resource Name (ARN) of a filter you created to include
360
+ # items or exclude items from recommendations for a given user. For more
361
+ # information, see [Filtering Recommendations][1].
362
+ #
363
+ #
364
+ #
365
+ # [1]: https://docs.aws.amazon.com/personalize/latest/dg/filter.html
366
+ #
367
+ # @option params [Hash<String,String>] :filter_values
368
+ # The values to use when filtering recommendations. For each placeholder
369
+ # parameter in your filter expression, provide the parameter name (in
370
+ # matching case) as a key and the filter value(s) as the corresponding
371
+ # value. Separate multiple values for one parameter with a comma.
372
+ #
373
+ # For filter expressions that use an `INCLUDE` element to include items,
374
+ # you must provide values for all parameters that are defined in the
375
+ # expression. For filters with expressions that use an `EXCLUDE` element
376
+ # to exclude items, you can omit the `filter-values`.In this case,
377
+ # Amazon Personalize doesn't use that portion of the expression to
378
+ # filter recommendations.
379
+ #
380
+ # For more information, see [Filtering Recommendations][1].
381
+ #
382
+ #
383
+ #
384
+ # [1]: https://docs.aws.amazon.com/personalize/latest/dg/filter.html
361
385
  #
362
386
  # @return [Types::GetPersonalizedRankingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
363
387
  #
@@ -374,6 +398,9 @@ module Aws::PersonalizeRuntime
374
398
  # "AttributeName" => "AttributeValue",
375
399
  # },
376
400
  # filter_arn: "Arn",
401
+ # filter_values: {
402
+ # "FilterAttributeName" => "FilterAttributeValue",
403
+ # },
377
404
  # })
378
405
  #
379
406
  # @example Response structure
@@ -431,13 +458,32 @@ module Aws::PersonalizeRuntime
431
458
  #
432
459
  # @option params [String] :filter_arn
433
460
  # The ARN of the filter to apply to the returned recommendations. For
434
- # more information, see [Using Filters with Amazon Personalize][1].
461
+ # more information, see [Filtering Recommendations][1].
435
462
  #
436
463
  # When using this parameter, be sure the filter resource is `ACTIVE`.
437
464
  #
438
465
  #
439
466
  #
440
- # [1]: https://docs.aws.amazon.com/personalize/latest/dg/filters.html
467
+ # [1]: https://docs.aws.amazon.com/personalize/latest/dg/filter.html
468
+ #
469
+ # @option params [Hash<String,String>] :filter_values
470
+ # The values to use when filtering recommendations. For each placeholder
471
+ # parameter in your filter expression, provide the parameter name (in
472
+ # matching case) as a key and the filter value(s) as the corresponding
473
+ # value. Separate multiple values for one parameter with a comma.
474
+ #
475
+ # For filter expressions that use an `INCLUDE` element to include items,
476
+ # you must provide values for all parameters that are defined in the
477
+ # expression. For filters with expressions that use an `EXCLUDE` element
478
+ # to exclude items, you can omit the `filter-values`.In this case,
479
+ # Amazon Personalize doesn't use that portion of the expression to
480
+ # filter recommendations.
481
+ #
482
+ # For more information, see [Filtering Recommendations][1].
483
+ #
484
+ #
485
+ #
486
+ # [1]: https://docs.aws.amazon.com/personalize/latest/dg/filter.html
441
487
  #
442
488
  # @return [Types::GetRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
443
489
  #
@@ -455,6 +501,9 @@ module Aws::PersonalizeRuntime
455
501
  # "AttributeName" => "AttributeValue",
456
502
  # },
457
503
  # filter_arn: "Arn",
504
+ # filter_values: {
505
+ # "FilterAttributeName" => "FilterAttributeValue",
506
+ # },
458
507
  # })
459
508
  #
460
509
  # @example Response structure
@@ -486,7 +535,7 @@ module Aws::PersonalizeRuntime
486
535
  params: params,
487
536
  config: config)
488
537
  context[:gem_name] = 'aws-sdk-personalizeruntime'
489
- context[:gem_version] = '1.16.0'
538
+ context[:gem_version] = '1.21.0'
490
539
  Seahorse::Client::Request.new(handlers, context)
491
540
  end
492
541
 
@@ -18,6 +18,9 @@ module Aws::PersonalizeRuntime
18
18
  AttributeValue = Shapes::StringShape.new(name: 'AttributeValue')
19
19
  Context = Shapes::MapShape.new(name: 'Context')
20
20
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
21
+ FilterAttributeName = Shapes::StringShape.new(name: 'FilterAttributeName')
22
+ FilterAttributeValue = Shapes::StringShape.new(name: 'FilterAttributeValue')
23
+ FilterValues = Shapes::MapShape.new(name: 'FilterValues')
21
24
  GetPersonalizedRankingRequest = Shapes::StructureShape.new(name: 'GetPersonalizedRankingRequest')
22
25
  GetPersonalizedRankingResponse = Shapes::StructureShape.new(name: 'GetPersonalizedRankingResponse')
23
26
  GetRecommendationsRequest = Shapes::StructureShape.new(name: 'GetRecommendationsRequest')
@@ -36,11 +39,15 @@ module Aws::PersonalizeRuntime
36
39
  Context.key = Shapes::ShapeRef.new(shape: AttributeName)
37
40
  Context.value = Shapes::ShapeRef.new(shape: AttributeValue)
38
41
 
42
+ FilterValues.key = Shapes::ShapeRef.new(shape: FilterAttributeName)
43
+ FilterValues.value = Shapes::ShapeRef.new(shape: FilterAttributeValue)
44
+
39
45
  GetPersonalizedRankingRequest.add_member(:campaign_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "campaignArn"))
40
46
  GetPersonalizedRankingRequest.add_member(:input_list, Shapes::ShapeRef.new(shape: InputList, required: true, location_name: "inputList"))
41
47
  GetPersonalizedRankingRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserID, required: true, location_name: "userId"))
42
48
  GetPersonalizedRankingRequest.add_member(:context, Shapes::ShapeRef.new(shape: Context, location_name: "context"))
43
49
  GetPersonalizedRankingRequest.add_member(:filter_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "filterArn"))
50
+ GetPersonalizedRankingRequest.add_member(:filter_values, Shapes::ShapeRef.new(shape: FilterValues, location_name: "filterValues"))
44
51
  GetPersonalizedRankingRequest.struct_class = Types::GetPersonalizedRankingRequest
45
52
 
46
53
  GetPersonalizedRankingResponse.add_member(:personalized_ranking, Shapes::ShapeRef.new(shape: ItemList, location_name: "personalizedRanking"))
@@ -53,6 +60,7 @@ module Aws::PersonalizeRuntime
53
60
  GetRecommendationsRequest.add_member(:num_results, Shapes::ShapeRef.new(shape: NumResults, location_name: "numResults"))
54
61
  GetRecommendationsRequest.add_member(:context, Shapes::ShapeRef.new(shape: Context, location_name: "context"))
55
62
  GetRecommendationsRequest.add_member(:filter_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "filterArn"))
63
+ GetRecommendationsRequest.add_member(:filter_values, Shapes::ShapeRef.new(shape: FilterValues, location_name: "filterValues"))
56
64
  GetRecommendationsRequest.struct_class = Types::GetRecommendationsRequest
57
65
 
58
66
  GetRecommendationsResponse.add_member(:item_list, Shapes::ShapeRef.new(shape: ItemList, location_name: "itemList"))
@@ -21,6 +21,9 @@ module Aws::PersonalizeRuntime
21
21
  # "AttributeName" => "AttributeValue",
22
22
  # },
23
23
  # filter_arn: "Arn",
24
+ # filter_values: {
25
+ # "FilterAttributeName" => "FilterAttributeValue",
26
+ # },
24
27
  # }
25
28
  #
26
29
  # @!attribute [rw] campaign_arn
@@ -47,10 +50,36 @@ module Aws::PersonalizeRuntime
47
50
  # @return [Hash<String,String>]
48
51
  #
49
52
  # @!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.
53
+ # The Amazon Resource Name (ARN) of a filter you created to include
54
+ # items or exclude items from recommendations for a given user. For
55
+ # more information, see [Filtering Recommendations][1].
56
+ #
57
+ #
58
+ #
59
+ # [1]: https://docs.aws.amazon.com/personalize/latest/dg/filter.html
52
60
  # @return [String]
53
61
  #
62
+ # @!attribute [rw] filter_values
63
+ # The values to use when filtering recommendations. For each
64
+ # placeholder parameter in your filter expression, provide the
65
+ # parameter name (in matching case) as a key and the filter value(s)
66
+ # as the corresponding value. Separate multiple values for one
67
+ # parameter with a comma.
68
+ #
69
+ # For filter expressions that use an `INCLUDE` element to include
70
+ # items, you must provide values for all parameters that are defined
71
+ # in the expression. For filters with expressions that use an
72
+ # `EXCLUDE` element to exclude items, you can omit the
73
+ # `filter-values`.In this case, Amazon Personalize doesn't use that
74
+ # portion of the expression to filter recommendations.
75
+ #
76
+ # For more information, see [Filtering Recommendations][1].
77
+ #
78
+ #
79
+ #
80
+ # [1]: https://docs.aws.amazon.com/personalize/latest/dg/filter.html
81
+ # @return [Hash<String,String>]
82
+ #
54
83
  # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-runtime-2018-05-22/GetPersonalizedRankingRequest AWS API Documentation
55
84
  #
56
85
  class GetPersonalizedRankingRequest < Struct.new(
@@ -58,7 +87,8 @@ module Aws::PersonalizeRuntime
58
87
  :input_list,
59
88
  :user_id,
60
89
  :context,
61
- :filter_arn)
90
+ :filter_arn,
91
+ :filter_values)
62
92
  SENSITIVE = []
63
93
  include Aws::Structure
64
94
  end
@@ -93,6 +123,9 @@ module Aws::PersonalizeRuntime
93
123
  # "AttributeName" => "AttributeValue",
94
124
  # },
95
125
  # filter_arn: "Arn",
126
+ # filter_values: {
127
+ # "FilterAttributeName" => "FilterAttributeValue",
128
+ # },
96
129
  # }
97
130
  #
98
131
  # @!attribute [rw] campaign_arn
@@ -126,15 +159,36 @@ module Aws::PersonalizeRuntime
126
159
  #
127
160
  # @!attribute [rw] filter_arn
128
161
  # The ARN of the filter to apply to the returned recommendations. For
129
- # more information, see [Using Filters with Amazon Personalize][1].
162
+ # more information, see [Filtering Recommendations][1].
130
163
  #
131
164
  # When using this parameter, be sure the filter resource is `ACTIVE`.
132
165
  #
133
166
  #
134
167
  #
135
- # [1]: https://docs.aws.amazon.com/personalize/latest/dg/filters.html
168
+ # [1]: https://docs.aws.amazon.com/personalize/latest/dg/filter.html
136
169
  # @return [String]
137
170
  #
171
+ # @!attribute [rw] filter_values
172
+ # The values to use when filtering recommendations. For each
173
+ # placeholder parameter in your filter expression, provide the
174
+ # parameter name (in matching case) as a key and the filter value(s)
175
+ # as the corresponding value. Separate multiple values for one
176
+ # parameter with a comma.
177
+ #
178
+ # For filter expressions that use an `INCLUDE` element to include
179
+ # items, you must provide values for all parameters that are defined
180
+ # in the expression. For filters with expressions that use an
181
+ # `EXCLUDE` element to exclude items, you can omit the
182
+ # `filter-values`.In this case, Amazon Personalize doesn't use that
183
+ # portion of the expression to filter recommendations.
184
+ #
185
+ # For more information, see [Filtering Recommendations][1].
186
+ #
187
+ #
188
+ #
189
+ # [1]: https://docs.aws.amazon.com/personalize/latest/dg/filter.html
190
+ # @return [Hash<String,String>]
191
+ #
138
192
  # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-runtime-2018-05-22/GetRecommendationsRequest AWS API Documentation
139
193
  #
140
194
  class GetRecommendationsRequest < Struct.new(
@@ -143,7 +197,8 @@ module Aws::PersonalizeRuntime
143
197
  :user_id,
144
198
  :num_results,
145
199
  :context,
146
- :filter_arn)
200
+ :filter_arn,
201
+ :filter_values)
147
202
  SENSITIVE = []
148
203
  include Aws::Structure
149
204
  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.16.0
4
+ version: 1.21.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-08-25 00:00:00.000000000 Z
11
+ date: 2021-02-02 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.99.0
22
+ version: 3.112.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.99.0
32
+ version: 3.112.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement