aws-sdk-personalize 1.9.0 → 1.10.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
  SHA1:
3
- metadata.gz: 8cae2c81510f6686ebc6f3f4880d82cbba4c0912
4
- data.tar.gz: ded804f9b8459845141a1881fa8c77bf419f694c
3
+ metadata.gz: 19c4514c69d5ecfdffa7701f0f58a5ae868fe9e6
4
+ data.tar.gz: 331bfdcccddce53b2519982941e1e7bb59dac8c8
5
5
  SHA512:
6
- metadata.gz: bb5cf5ae10a5a2504caed43b271f715b1d902f73c02b378ab44592cd36526b7ff86945897f678107f62502f457d1bd1b2352ce0a7f294ff2f837234378ae1607
7
- data.tar.gz: ff9af07b1da2f5ced4a9229b73f6fe88433f6b8c008bbbc7a49acf3bb1913c560ac3c9d18791887df8a19871bae798eff1c791473496e5f127309e0aa176df57
6
+ metadata.gz: 305efdac9ebb1d55c202db03369a8455b6c32ef59c5b5984434afc888a7d9b327d30c8a954c04e66c0862d70ecb0c6483a64f2545d5fb8979480b02d83660690
7
+ data.tar.gz: 893c02a4e82b7586abbcb3e77577bf95825b4d679fadb255cf34d6a5b73a831250812c6021201327d68ddba570e573654cea42e9ff4372a729e909325311c108
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:personalize)
32
32
  module Aws::Personalize
33
33
  # An API client for Personalize. To construct a client, you need to configure a `:region` and `:credentials`.
34
34
  #
35
- # client = Aws::Personalize::Client.new(
36
- # region: region_name,
37
- # credentials: credentials,
38
- # # ...
39
- # )
35
+ # client = Aws::Personalize::Client.new(
36
+ # region: region_name,
37
+ # credentials: credentials,
38
+ # # ...
39
+ # )
40
40
  #
41
41
  # For details on configuring region and credentials see
42
42
  # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
@@ -229,15 +229,19 @@ module Aws::Personalize
229
229
  #
230
230
  # @option options [String] :retry_mode ("legacy")
231
231
  # Specifies which retry algorithm to use. Values are:
232
- # * `legacy` - The pre-existing retry behavior. This is default value if
233
- # no retry mode is provided.
234
- # * `standard` - A standardized set of retry rules across the AWS SDKs.
235
- # This includes support for retry quotas, which limit the number of
236
- # unsuccessful retries a client can make.
237
- # * `adaptive` - An experimental retry mode that includes all the
238
- # functionality of `standard` mode along with automatic client side
239
- # throttling. This is a provisional mode that may change behavior
240
- # in the future.
232
+ #
233
+ # * `legacy` - The pre-existing retry behavior. This is default value if
234
+ # no retry mode is provided.
235
+ #
236
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
237
+ # This includes support for retry quotas, which limit the number of
238
+ # unsuccessful retries a client can make.
239
+ #
240
+ # * `adaptive` - An experimental retry mode that includes all the
241
+ # functionality of `standard` mode along with automatic client side
242
+ # throttling. This is a provisional mode that may change behavior
243
+ # in the future.
244
+ #
241
245
  #
242
246
  # @option options [String] :secret_access_key
243
247
  #
@@ -1769,6 +1773,8 @@ module Aws::Personalize
1769
1773
  # resp.solution_version.solution_config.auto_ml_config.recipe_list[0] #=> String
1770
1774
  # resp.solution_version.training_hours #=> Float
1771
1775
  # resp.solution_version.training_mode #=> String, one of "FULL", "UPDATE"
1776
+ # resp.solution_version.tuned_hpo_params.algorithm_hyper_parameters #=> Hash
1777
+ # resp.solution_version.tuned_hpo_params.algorithm_hyper_parameters["ParameterName"] #=> String
1772
1778
  # resp.solution_version.status #=> String
1773
1779
  # resp.solution_version.failure_reason #=> String
1774
1780
  # resp.solution_version.creation_date_time #=> Time
@@ -1851,6 +1857,7 @@ module Aws::Personalize
1851
1857
  # resp.batch_inference_jobs[0].creation_date_time #=> Time
1852
1858
  # resp.batch_inference_jobs[0].last_updated_date_time #=> Time
1853
1859
  # resp.batch_inference_jobs[0].failure_reason #=> String
1860
+ # resp.batch_inference_jobs[0].solution_version_arn #=> String
1854
1861
  # resp.next_token #=> String
1855
1862
  #
1856
1863
  # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListBatchInferenceJobs AWS API Documentation
@@ -2347,7 +2354,7 @@ module Aws::Personalize
2347
2354
  params: params,
2348
2355
  config: config)
2349
2356
  context[:gem_name] = 'aws-sdk-personalize'
2350
- context[:gem_version] = '1.9.0'
2357
+ context[:gem_version] = '1.10.0'
2351
2358
  Seahorse::Client::Request.new(handlers, context)
2352
2359
  end
2353
2360
 
@@ -194,6 +194,7 @@ module Aws::Personalize
194
194
  TrainingMode = Shapes::StringShape.new(name: 'TrainingMode')
195
195
  TransactionsPerSecond = Shapes::IntegerShape.new(name: 'TransactionsPerSecond')
196
196
  Tunable = Shapes::BooleanShape.new(name: 'Tunable')
197
+ TunedHPOParams = Shapes::StructureShape.new(name: 'TunedHPOParams')
197
198
  UpdateCampaignRequest = Shapes::StructureShape.new(name: 'UpdateCampaignRequest')
198
199
  UpdateCampaignResponse = Shapes::StructureShape.new(name: 'UpdateCampaignResponse')
199
200
 
@@ -247,6 +248,7 @@ module Aws::Personalize
247
248
  BatchInferenceJobSummary.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "creationDateTime"))
248
249
  BatchInferenceJobSummary.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "lastUpdatedDateTime"))
249
250
  BatchInferenceJobSummary.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "failureReason"))
251
+ BatchInferenceJobSummary.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "solutionVersionArn"))
250
252
  BatchInferenceJobSummary.struct_class = Types::BatchInferenceJobSummary
251
253
 
252
254
  BatchInferenceJobs.member = Shapes::ShapeRef.new(shape: BatchInferenceJobSummary)
@@ -815,6 +817,7 @@ module Aws::Personalize
815
817
  SolutionVersion.add_member(:solution_config, Shapes::ShapeRef.new(shape: SolutionConfig, location_name: "solutionConfig"))
816
818
  SolutionVersion.add_member(:training_hours, Shapes::ShapeRef.new(shape: TrainingHours, location_name: "trainingHours"))
817
819
  SolutionVersion.add_member(:training_mode, Shapes::ShapeRef.new(shape: TrainingMode, location_name: "trainingMode"))
820
+ SolutionVersion.add_member(:tuned_hpo_params, Shapes::ShapeRef.new(shape: TunedHPOParams, location_name: "tunedHPOParams"))
818
821
  SolutionVersion.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
819
822
  SolutionVersion.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "failureReason"))
820
823
  SolutionVersion.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "creationDateTime"))
@@ -832,6 +835,9 @@ module Aws::Personalize
832
835
 
833
836
  Solutions.member = Shapes::ShapeRef.new(shape: SolutionSummary)
834
837
 
838
+ TunedHPOParams.add_member(:algorithm_hyper_parameters, Shapes::ShapeRef.new(shape: HyperParameters, location_name: "algorithmHyperParameters"))
839
+ TunedHPOParams.struct_class = Types::TunedHPOParams
840
+
835
841
  UpdateCampaignRequest.add_member(:campaign_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "campaignArn"))
836
842
  UpdateCampaignRequest.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "solutionVersionArn"))
837
843
  UpdateCampaignRequest.add_member(:min_provisioned_tps, Shapes::ShapeRef.new(shape: TransactionsPerSecond, location_name: "minProvisionedTPS"))
@@ -296,6 +296,10 @@ module Aws::Personalize
296
296
  # If the batch inference job failed, the reason for the failure.
297
297
  # @return [String]
298
298
  #
299
+ # @!attribute [rw] solution_version_arn
300
+ # The ARN of the solution version used by the batch inference job.
301
+ # @return [String]
302
+ #
299
303
  # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/BatchInferenceJobSummary AWS API Documentation
300
304
  #
301
305
  class BatchInferenceJobSummary < Struct.new(
@@ -304,7 +308,8 @@ module Aws::Personalize
304
308
  :status,
305
309
  :creation_date_time,
306
310
  :last_updated_date_time,
307
- :failure_reason)
311
+ :failure_reason,
312
+ :solution_version_arn)
308
313
  include Aws::Structure
309
314
  end
310
315
 
@@ -2324,7 +2329,7 @@ module Aws::Personalize
2324
2329
  # }
2325
2330
  #
2326
2331
  # @!attribute [rw] type
2327
- # The data type of the metric.
2332
+ # The type of the metric. Valid values are `Maximize` and `Minimize`.
2328
2333
  # @return [String]
2329
2334
  #
2330
2335
  # @!attribute [rw] metric_name
@@ -3394,6 +3399,11 @@ module Aws::Personalize
3394
3399
  # uses the native-recipe-hrnn-coldstart.
3395
3400
  # @return [String]
3396
3401
  #
3402
+ # @!attribute [rw] tuned_hpo_params
3403
+ # If hyperparameter optimization was performed, contains the
3404
+ # hyperparameter values of the best performing model.
3405
+ # @return [Types::TunedHPOParams]
3406
+ #
3397
3407
  # @!attribute [rw] status
3398
3408
  # The status of the solution version.
3399
3409
  #
@@ -3434,6 +3444,7 @@ module Aws::Personalize
3434
3444
  :solution_config,
3435
3445
  :training_hours,
3436
3446
  :training_mode,
3447
+ :tuned_hpo_params,
3437
3448
  :status,
3438
3449
  :failure_reason,
3439
3450
  :creation_date_time,
@@ -3484,6 +3495,20 @@ module Aws::Personalize
3484
3495
  include Aws::Structure
3485
3496
  end
3486
3497
 
3498
+ # If hyperparameter optimization (HPO) was performed, contains the
3499
+ # hyperparameter values of the best performing model.
3500
+ #
3501
+ # @!attribute [rw] algorithm_hyper_parameters
3502
+ # A list of the hyperparameter values of the best performing model.
3503
+ # @return [Hash<String,String>]
3504
+ #
3505
+ # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/TunedHPOParams AWS API Documentation
3506
+ #
3507
+ class TunedHPOParams < Struct.new(
3508
+ :algorithm_hyper_parameters)
3509
+ include Aws::Structure
3510
+ end
3511
+
3487
3512
  # @note When making an API call, you may pass UpdateCampaignRequest
3488
3513
  # data as a hash:
3489
3514
  #
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-personalize/customizations'
45
45
  # @service
46
46
  module Aws::Personalize
47
47
 
48
- GEM_VERSION = '1.9.0'
48
+ GEM_VERSION = '1.10.0'
49
49
 
50
50
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-personalize
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.10.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-03-09 00:00:00.000000000 Z
11
+ date: 2020-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core