aws-sdk-personalize 1.5.0 → 1.6.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: c8ebc8e7085c1c3ff1fdf7a29f5e44d731134b23
4
- data.tar.gz: 427399a89faeff0056d9e6e7db261ce180730b3b
3
+ metadata.gz: bc518dd537b5eb4960ab6485709ab4f7368cbbdb
4
+ data.tar.gz: 4115fd3793519fdfe641751c8de214de31c4f2d2
5
5
  SHA512:
6
- metadata.gz: 9c61e649193dced5e5aace5167484d00373f1d9757d4e94c96fa7528126337dab50bd1987e6d1c2749e181d8fbec7ed73a3c2f2b8315114b55d1ea9948d8a79f
7
- data.tar.gz: '0787b28c2eafffe69d88eaa3ef5b02d081e4cb0116ed193d0441923f59d1e788124c72f2d84271ecff76f74fb4f7c518d89a8cfaca7dee7a899cd58a1a8e1061'
6
+ metadata.gz: 8186d417d9a095835beab99493413b068fe61ea90e15bd7fdca35c7ccab85772996ce161411fb9e08453522d895a90b54428396272fd0c5d751d70768b6f6cad
7
+ data.tar.gz: 71276cf837b1ad70a8eb09afb4a31a502962539a48d45060cac636a5fc8900bc027a095bc5e6b395a2a01333d5ab90b1e7eeb4e21dcd821dcbd0aa669d6f3dfe
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-personalize/customizations'
42
42
  # @service
43
43
  module Aws::Personalize
44
44
 
45
- GEM_VERSION = '1.5.0'
45
+ GEM_VERSION = '1.6.0'
46
46
 
47
47
  end
@@ -918,6 +918,19 @@ module Aws::Personalize
918
918
  # The Amazon Resource Name (ARN) of the solution containing the training
919
919
  # configuration information.
920
920
  #
921
+ # @option params [String] :training_mode
922
+ # The scope of training to be performed when creating the solution
923
+ # version. The `FULL` option trains the solution version based on the
924
+ # entirety of the input solution's training data, while the `UPDATE`
925
+ # option processes only the data that has changed in comparison to the
926
+ # input solution. Choose `UPDATE` when you want to incrementally update
927
+ # your solution version instead of creating an entirely new one.
928
+ #
929
+ # The `UPDATE` option can only be used when you already have an active
930
+ # solution version created from the input solution using the `FULL`
931
+ # option and the input solution was trained with the
932
+ # native-recipe-hrnn-coldstart recipe.
933
+ #
921
934
  # @return [Types::CreateSolutionVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
922
935
  #
923
936
  # * {Types::CreateSolutionVersionResponse#solution_version_arn #solution_version_arn} => String
@@ -926,6 +939,7 @@ module Aws::Personalize
926
939
  #
927
940
  # resp = client.create_solution_version({
928
941
  # solution_arn: "Arn", # required
942
+ # training_mode: "FULL", # accepts FULL, UPDATE
929
943
  # })
930
944
  #
931
945
  # @example Response structure
@@ -1596,6 +1610,7 @@ module Aws::Personalize
1596
1610
  # resp.solution_version.solution_config.auto_ml_config.recipe_list #=> Array
1597
1611
  # resp.solution_version.solution_config.auto_ml_config.recipe_list[0] #=> String
1598
1612
  # resp.solution_version.training_hours #=> Float
1613
+ # resp.solution_version.training_mode #=> String, one of "FULL", "UPDATE"
1599
1614
  # resp.solution_version.status #=> String
1600
1615
  # resp.solution_version.failure_reason #=> String
1601
1616
  # resp.solution_version.creation_date_time #=> Time
@@ -2127,7 +2142,7 @@ module Aws::Personalize
2127
2142
  params: params,
2128
2143
  config: config)
2129
2144
  context[:gem_name] = 'aws-sdk-personalize'
2130
- context[:gem_version] = '1.5.0'
2145
+ context[:gem_version] = '1.6.0'
2131
2146
  Seahorse::Client::Request.new(handlers, context)
2132
2147
  end
2133
2148
 
@@ -178,6 +178,7 @@ module Aws::Personalize
178
178
  TrackingId = Shapes::StringShape.new(name: 'TrackingId')
179
179
  TrainingHours = Shapes::FloatShape.new(name: 'TrainingHours')
180
180
  TrainingInputMode = Shapes::StringShape.new(name: 'TrainingInputMode')
181
+ TrainingMode = Shapes::StringShape.new(name: 'TrainingMode')
181
182
  TransactionsPerSecond = Shapes::IntegerShape.new(name: 'TransactionsPerSecond')
182
183
  Tunable = Shapes::BooleanShape.new(name: 'Tunable')
183
184
  UpdateCampaignRequest = Shapes::StructureShape.new(name: 'UpdateCampaignRequest')
@@ -314,6 +315,7 @@ module Aws::Personalize
314
315
  CreateSolutionResponse.struct_class = Types::CreateSolutionResponse
315
316
 
316
317
  CreateSolutionVersionRequest.add_member(:solution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "solutionArn"))
318
+ CreateSolutionVersionRequest.add_member(:training_mode, Shapes::ShapeRef.new(shape: TrainingMode, location_name: "trainingMode"))
317
319
  CreateSolutionVersionRequest.struct_class = Types::CreateSolutionVersionRequest
318
320
 
319
321
  CreateSolutionVersionResponse.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "solutionVersionArn"))
@@ -740,6 +742,7 @@ module Aws::Personalize
740
742
  SolutionVersion.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "datasetGroupArn"))
741
743
  SolutionVersion.add_member(:solution_config, Shapes::ShapeRef.new(shape: SolutionConfig, location_name: "solutionConfig"))
742
744
  SolutionVersion.add_member(:training_hours, Shapes::ShapeRef.new(shape: TrainingHours, location_name: "trainingHours"))
745
+ SolutionVersion.add_member(:training_mode, Shapes::ShapeRef.new(shape: TrainingMode, location_name: "trainingMode"))
743
746
  SolutionVersion.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
744
747
  SolutionVersion.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "failureReason"))
745
748
  SolutionVersion.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "creationDateTime"))
@@ -757,6 +757,7 @@ module Aws::Personalize
757
757
  #
758
758
  # {
759
759
  # solution_arn: "Arn", # required
760
+ # training_mode: "FULL", # accepts FULL, UPDATE
760
761
  # }
761
762
  #
762
763
  # @!attribute [rw] solution_arn
@@ -764,10 +765,26 @@ module Aws::Personalize
764
765
  # training configuration information.
765
766
  # @return [String]
766
767
  #
768
+ # @!attribute [rw] training_mode
769
+ # The scope of training to be performed when creating the solution
770
+ # version. The `FULL` option trains the solution version based on the
771
+ # entirety of the input solution's training data, while the `UPDATE`
772
+ # option processes only the data that has changed in comparison to the
773
+ # input solution. Choose `UPDATE` when you want to incrementally
774
+ # update your solution version instead of creating an entirely new
775
+ # one.
776
+ #
777
+ # The `UPDATE` option can only be used when you already have an active
778
+ # solution version created from the input solution using the `FULL`
779
+ # option and the input solution was trained with the
780
+ # native-recipe-hrnn-coldstart recipe.
781
+ # @return [String]
782
+ #
767
783
  # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateSolutionVersionRequest AWS API Documentation
768
784
  #
769
785
  class CreateSolutionVersionRequest < Struct.new(
770
- :solution_arn)
786
+ :solution_arn,
787
+ :training_mode)
771
788
  include Aws::Structure
772
789
  end
773
790
 
@@ -2061,11 +2078,14 @@ module Aws::Personalize
2061
2078
  # }
2062
2079
  #
2063
2080
  # @!attribute [rw] max_number_of_training_jobs
2064
- # The maximum number of training jobs.
2081
+ # The maximum number of training jobs when you create a solution
2082
+ # version. The maximum value for `maxNumberOfTrainingJobs` is `40`.
2065
2083
  # @return [String]
2066
2084
  #
2067
2085
  # @!attribute [rw] max_parallel_training_jobs
2068
- # The maximum number of parallel training jobs.
2086
+ # The maximum number of parallel training jobs when you create a
2087
+ # solution version. The maximum value for `maxParallelTrainingJobs` is
2088
+ # `10`.
2069
2089
  # @return [String]
2070
2090
  #
2071
2091
  # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/HPOResourceConfig AWS API Documentation
@@ -2977,9 +2997,9 @@ module Aws::Personalize
2977
2997
  # @return [Boolean]
2978
2998
  #
2979
2999
  # @!attribute [rw] perform_auto_ml
2980
- # When true, Amazon Personalize performs a search for the most optimal
2981
- # recipe according to the solution configuration. When false (the
2982
- # default), Amazon Personalize uses `recipeArn`.
3000
+ # When true, Amazon Personalize searches for the most optimal recipe
3001
+ # according to the solution configuration. When false (the default),
3002
+ # Amazon Personalize uses `recipeArn`.
2983
3003
  # @return [Boolean]
2984
3004
  #
2985
3005
  # @!attribute [rw] recipe_arn
@@ -3001,22 +3021,41 @@ module Aws::Personalize
3001
3021
  # @return [Types::SolutionConfig]
3002
3022
  #
3003
3023
  # @!attribute [rw] training_hours
3004
- # The time used to train the model.
3024
+ # The time used to train the model. You are billed for the time it
3025
+ # takes to train a model. This field is visible only after Amazon
3026
+ # Personalize successfully trains a model.
3005
3027
  # @return [Float]
3006
3028
  #
3029
+ # @!attribute [rw] training_mode
3030
+ # The scope of training used to create the solution version. The
3031
+ # `FULL` option trains the solution version based on the entirety of
3032
+ # the input solution's training data, while the `UPDATE` option
3033
+ # processes only the training data that has changed since the creation
3034
+ # of the last solution version. Choose `UPDATE` when you want to start
3035
+ # recommending items added to the dataset without retraining the
3036
+ # model.
3037
+ #
3038
+ # The `UPDATE` option can only be used after you've created a
3039
+ # solution version with the `FULL` option and the training solution
3040
+ # uses the native-recipe-hrnn-coldstart.
3041
+ # @return [String]
3042
+ #
3007
3043
  # @!attribute [rw] status
3008
3044
  # The status of the solution version.
3009
3045
  #
3010
3046
  # A solution version can be in one of the following states:
3011
3047
  #
3012
- # * CREATE PENDING &gt; CREATE IN\_PROGRESS &gt; ACTIVE -or- CREATE
3013
- # FAILED
3048
+ # * CREATE PENDING
3014
3049
  #
3015
- # ^
3050
+ # * CREATE IN\_PROGRESS
3051
+ #
3052
+ # * ACTIVE
3053
+ #
3054
+ # * CREATE FAILED
3016
3055
  # @return [String]
3017
3056
  #
3018
3057
  # @!attribute [rw] failure_reason
3019
- # If training a solution version fails, the reason behind the failure.
3058
+ # If training a solution version fails, the reason for the failure.
3020
3059
  # @return [String]
3021
3060
  #
3022
3061
  # @!attribute [rw] creation_date_time
@@ -3040,6 +3079,7 @@ module Aws::Personalize
3040
3079
  :dataset_group_arn,
3041
3080
  :solution_config,
3042
3081
  :training_hours,
3082
+ :training_mode,
3043
3083
  :status,
3044
3084
  :failure_reason,
3045
3085
  :creation_date_time,
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.5.0
4
+ version: 1.6.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: 2019-09-17 00:00:00.000000000 Z
11
+ date: 2019-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core