aws-sdk-personalizeruntime 1.25.0 → 1.29.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: 06e007c39401713abedb073793e043adf3bb22a3bb9dec0871a7f9f1fb7539a0
4
- data.tar.gz: 6652cbc7d79a0e168f95efdefe8ecc5b98317923123310870a79dd0058d27266
3
+ metadata.gz: c6b8915fe05b0aed1b385a30faa2543173db011f49c24ae4b61042692c243f5f
4
+ data.tar.gz: 935dc699a7cdb7fde7721dcf1110cfafe37011e3d97dcd22edc04ad9602fb8cb
5
5
  SHA512:
6
- metadata.gz: 738fd433dc2a540d7d8afbfb8dc4658baf31b2949c34d7b2890a473527f61116990c48fb0f53271f5f506bc0fc184e1e94170924305351f38d8f0bc7832c4b06
7
- data.tar.gz: 4adae78090f27c91f61410c1fdfae9e896af99ca70fc1f2c2c1a2e3a6e602455e12a49a268d160c0cb2c29452200b5ae66c21c0865950b44b33224951ba99654
6
+ metadata.gz: 7f8ad4b13cd8aefbc9f148ba311ab402ae1f1d395e7645fab066d1a5e160df4d648401c1b44011d844465d86c8e355f9b16ba22732f67099f45ba4cec55fa33a
7
+ data.tar.gz: 164576f6c719556751a0825516398921619ddfd075f362d25f7ed354fea0566e80c9667c98d38ddf0b42e51fe837380b80c26b80b7339b117f7c61cc2f08aeef
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.29.0 (2021-11-30)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.28.0 (2021-11-29)
10
+ ------------------
11
+
12
+ * Feature - This release adds inference support for Recommenders.
13
+
14
+ 1.27.0 (2021-11-04)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.26.0 (2021-10-18)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.25.0 (2021-09-01)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.25.0
1
+ 1.29.0
@@ -119,7 +119,9 @@ module Aws::PersonalizeRuntime
119
119
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
120
  # are very aggressive. Construct and pass an instance of
121
121
  # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
- # enable retries and extended timeouts.
122
+ # enable retries and extended timeouts. Instance profile credential
123
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
124
+ # to true.
123
125
  #
124
126
  # @option options [required, String] :region
125
127
  # The AWS region to connect to. The configured `:region` is
@@ -275,6 +277,15 @@ module Aws::PersonalizeRuntime
275
277
  # ** Please note ** When response stubbing is enabled, no HTTP
276
278
  # requests are made, and retries are disabled.
277
279
  #
280
+ # @option options [Boolean] :use_dualstack_endpoint
281
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
282
+ # will be used if available.
283
+ #
284
+ # @option options [Boolean] :use_fips_endpoint
285
+ # When set to `true`, fips compatible endpoints will be used if available.
286
+ # When a `fips` region is used, the region is normalized and this config
287
+ # is set to `true`.
288
+ #
278
289
  # @option options [Boolean] :validate_params (true)
279
290
  # When `true`, request parameters are validated before
280
291
  # sending the request.
@@ -419,20 +430,30 @@ module Aws::PersonalizeRuntime
419
430
  req.send_request(options)
420
431
  end
421
432
 
422
- # Returns a list of recommended items. The required input depends on the
423
- # recipe type used to create the solution backing the campaign, as
424
- # follows:
433
+ # Returns a list of recommended items. For campaigns, the campaign's
434
+ # Amazon Resource Name (ARN) is required and the required user and item
435
+ # input depends on the recipe type used to create the solution backing
436
+ # the campaign as follows:
425
437
  #
426
- # * RELATED\_ITEMS - `itemId` required, `userId` not used
438
+ # * USER\_PERSONALIZATION - `userId` required, `itemId` not used
427
439
  #
428
- # * USER\_PERSONALIZATION - `itemId` optional, `userId` required
440
+ # * RELATED\_ITEMS - `itemId` required, `userId` not used
429
441
  #
430
442
  # <note markdown="1"> Campaigns that are backed by a solution created using a recipe of type
431
443
  # PERSONALIZED\_RANKING use the API.
432
444
  #
433
445
  # </note>
434
446
  #
435
- # @option params [required, String] :campaign_arn
447
+ # For recommenders, the recommender's ARN is required and the required
448
+ # item and user input depends on the use case (domain-based recipe)
449
+ # backing the recommender. For information on use case requirements see
450
+ # [Choosing recommender use cases][1].
451
+ #
452
+ #
453
+ #
454
+ # [1]: https://docs.aws.amazon.com/personalize/latest/dg/domain-use-cases.html
455
+ #
456
+ # @option params [String] :campaign_arn
436
457
  # The Amazon Resource Name (ARN) of the campaign to use for getting
437
458
  # recommendations.
438
459
  #
@@ -485,6 +506,11 @@ module Aws::PersonalizeRuntime
485
506
  #
486
507
  # [1]: https://docs.aws.amazon.com/personalize/latest/dg/filter.html
487
508
  #
509
+ # @option params [String] :recommender_arn
510
+ # The Amazon Resource Name (ARN) of the recommender to use to get
511
+ # recommendations. Provide a recommender ARN if you created a Domain
512
+ # dataset group with a recommender for a domain use case.
513
+ #
488
514
  # @return [Types::GetRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
489
515
  #
490
516
  # * {Types::GetRecommendationsResponse#item_list #item_list} => Array&lt;Types::PredictedItem&gt;
@@ -493,7 +519,7 @@ module Aws::PersonalizeRuntime
493
519
  # @example Request syntax with placeholder values
494
520
  #
495
521
  # resp = client.get_recommendations({
496
- # campaign_arn: "Arn", # required
522
+ # campaign_arn: "Arn",
497
523
  # item_id: "ItemID",
498
524
  # user_id: "UserID",
499
525
  # num_results: 1,
@@ -504,6 +530,7 @@ module Aws::PersonalizeRuntime
504
530
  # filter_values: {
505
531
  # "FilterAttributeName" => "FilterAttributeValue",
506
532
  # },
533
+ # recommender_arn: "Arn",
507
534
  # })
508
535
  #
509
536
  # @example Response structure
@@ -535,7 +562,7 @@ module Aws::PersonalizeRuntime
535
562
  params: params,
536
563
  config: config)
537
564
  context[:gem_name] = 'aws-sdk-personalizeruntime'
538
- context[:gem_version] = '1.25.0'
565
+ context[:gem_version] = '1.29.0'
539
566
  Seahorse::Client::Request.new(handlers, context)
540
567
  end
541
568
 
@@ -54,13 +54,14 @@ module Aws::PersonalizeRuntime
54
54
  GetPersonalizedRankingResponse.add_member(:recommendation_id, Shapes::ShapeRef.new(shape: RecommendationID, location_name: "recommendationId"))
55
55
  GetPersonalizedRankingResponse.struct_class = Types::GetPersonalizedRankingResponse
56
56
 
57
- GetRecommendationsRequest.add_member(:campaign_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "campaignArn"))
57
+ GetRecommendationsRequest.add_member(:campaign_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "campaignArn"))
58
58
  GetRecommendationsRequest.add_member(:item_id, Shapes::ShapeRef.new(shape: ItemID, location_name: "itemId"))
59
59
  GetRecommendationsRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserID, location_name: "userId"))
60
60
  GetRecommendationsRequest.add_member(:num_results, Shapes::ShapeRef.new(shape: NumResults, location_name: "numResults"))
61
61
  GetRecommendationsRequest.add_member(:context, Shapes::ShapeRef.new(shape: Context, location_name: "context"))
62
62
  GetRecommendationsRequest.add_member(:filter_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "filterArn"))
63
63
  GetRecommendationsRequest.add_member(:filter_values, Shapes::ShapeRef.new(shape: FilterValues, location_name: "filterValues"))
64
+ GetRecommendationsRequest.add_member(:recommender_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "recommenderArn"))
64
65
  GetRecommendationsRequest.struct_class = Types::GetRecommendationsRequest
65
66
 
66
67
  GetRecommendationsResponse.add_member(:item_list, Shapes::ShapeRef.new(shape: ItemList, location_name: "itemList"))
@@ -115,7 +115,7 @@ module Aws::PersonalizeRuntime
115
115
  # data as a hash:
116
116
  #
117
117
  # {
118
- # campaign_arn: "Arn", # required
118
+ # campaign_arn: "Arn",
119
119
  # item_id: "ItemID",
120
120
  # user_id: "UserID",
121
121
  # num_results: 1,
@@ -126,6 +126,7 @@ module Aws::PersonalizeRuntime
126
126
  # filter_values: {
127
127
  # "FilterAttributeName" => "FilterAttributeValue",
128
128
  # },
129
+ # recommender_arn: "Arn",
129
130
  # }
130
131
  #
131
132
  # @!attribute [rw] campaign_arn
@@ -189,6 +190,12 @@ module Aws::PersonalizeRuntime
189
190
  # [1]: https://docs.aws.amazon.com/personalize/latest/dg/filter.html
190
191
  # @return [Hash<String,String>]
191
192
  #
193
+ # @!attribute [rw] recommender_arn
194
+ # The Amazon Resource Name (ARN) of the recommender to use to get
195
+ # recommendations. Provide a recommender ARN if you created a Domain
196
+ # dataset group with a recommender for a domain use case.
197
+ # @return [String]
198
+ #
192
199
  # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-runtime-2018-05-22/GetRecommendationsRequest AWS API Documentation
193
200
  #
194
201
  class GetRecommendationsRequest < Struct.new(
@@ -198,13 +205,14 @@ module Aws::PersonalizeRuntime
198
205
  :num_results,
199
206
  :context,
200
207
  :filter_arn,
201
- :filter_values)
208
+ :filter_values,
209
+ :recommender_arn)
202
210
  SENSITIVE = []
203
211
  include Aws::Structure
204
212
  end
205
213
 
206
214
  # @!attribute [rw] item_list
207
- # A list of recommendations sorted in ascending order by prediction
215
+ # A list of recommendations sorted in descending order by prediction
208
216
  # score. There can be a maximum of 500 items in the list.
209
217
  # @return [Array<Types::PredictedItem>]
210
218
  #
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-personalizeruntime/customizations'
48
48
  # @!group service
49
49
  module Aws::PersonalizeRuntime
50
50
 
51
- GEM_VERSION = '1.25.0'
51
+ GEM_VERSION = '1.29.0'
52
52
 
53
53
  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.25.0
4
+ version: 1.29.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: 2021-09-01 00:00:00.000000000 Z
11
+ date: 2021-11-30 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.120.0
22
+ version: 3.122.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.120.0
32
+ version: 3.122.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement