aws-sdk-personalize 1.16.0 → 1.21.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 669524793bd1b6a04445ab1cde1a76c5c258131593f7fb9363c315d86cc494a8
4
- data.tar.gz: f195623424a4baf1cc0238725dfb39485671dad471a6f7919e25361c860f604b
3
+ metadata.gz: 49b4b511cf2f4253b8bba808b4cefb56bcfa33cc5e0291e125749d8c5a129e6b
4
+ data.tar.gz: 849188f744079e86f732866dac04b99f8ac1b7b8839a9cda4da2bc1c2dfa01e0
5
5
  SHA512:
6
- metadata.gz: c8ececc45489015b8ef2b4f51ae8445449b49c0edd8f0d4993047934009a0be5790a3a0bcbb5f2ead4d29627fd01eb2cb31cd39cc818278f937721324431e711
7
- data.tar.gz: d5280a68a2625a4d9aebce4de648f2a303afe9909dd1d4bd4aaab21d67e2cf680d6625a25fba25c8659f6a40e0b3cc2facf4a90af96a4dd7552e87f488ea793e
6
+ metadata.gz: e9307b65504c54c54466aff32c2423730ac7b7f51c22908a8fe8f902b2d26a23771d67d118c6745ab98aee261bbc8e35d56ab48531310a1e8abcffec0279cc96
7
+ data.tar.gz: b241d1eb81b5da38f708662ab8afd1a4055768f6fe947b082cf18b3303d6f769ee55d38d64b43019229fb49ca0214179db46fece4807e7c0c2b84b66b0e9d3d4
@@ -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
 
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-personalize/customizations'
44
45
  #
45
46
  # See {Errors} for more information.
46
47
  #
47
- # @service
48
+ # @!group service
48
49
  module Aws::Personalize
49
50
 
50
- GEM_VERSION = '1.16.0'
51
+ GEM_VERSION = '1.21.0'
51
52
 
52
53
  end
@@ -85,13 +85,28 @@ module Aws::Personalize
85
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
86
86
  # credentials.
87
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
88
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
89
103
  # from an EC2 IMDS on an EC2 instance.
90
104
  #
91
- # * `Aws::SharedCredentials` - Used for loading credentials from a
92
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
93
107
  #
94
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
95
110
  #
96
111
  # When `:credentials` are not configured directly, the following
97
112
  # locations will be searched for credentials:
@@ -101,10 +116,10 @@ module Aws::Personalize
101
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
102
117
  # * `~/.aws/credentials`
103
118
  # * `~/.aws/config`
104
- # * EC2 IMDS instance profile - When used by default, the timeouts are
105
- # very aggressive. Construct and pass an instance of
106
- # `Aws::InstanceProfileCredentails` to enable retries and extended
107
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
108
123
  #
109
124
  # @option options [required, String] :region
110
125
  # The AWS region to connect to. The configured `:region` is
@@ -412,11 +427,16 @@ module Aws::Personalize
412
427
  # throughput and unit of billing for Amazon Personalize. The minimum
413
428
  # provisioned TPS (`minProvisionedTPS`) specifies the baseline
414
429
  # throughput provisioned by Amazon Personalize, and thus, the minimum
415
- # billing charge. If your TPS increases beyond `minProvisionedTPS`,
416
- # Amazon Personalize auto-scales the provisioned capacity up and down,
417
- # but never below `minProvisionedTPS`, to maintain a 70% utilization.
418
- # There's a short time delay while the capacity is increased that might
419
- # cause loss of transactions. It's recommended to start with a low
430
+ # billing charge.
431
+ #
432
+ # If your TPS increases beyond `minProvisionedTPS`, Amazon Personalize
433
+ # auto-scales the provisioned capacity up and down, but never below
434
+ # `minProvisionedTPS`. There's a short time delay while the capacity is
435
+ # increased that might cause loss of transactions.
436
+ #
437
+ # The actual TPS used is calculated as the average requests/second
438
+ # within a 5-minute window. You pay for maximum of either the minimum
439
+ # provisioned TPS or the actual TPS. We recommend starting with a low
420
440
  # `minProvisionedTPS`, track your usage using Amazon CloudWatch metrics,
421
441
  # and then increase the `minProvisionedTPS` as necessary.
422
442
  #
@@ -671,7 +691,8 @@ module Aws::Personalize
671
691
  # from the data source, as Amazon Personalize makes a copy of your data
672
692
  # and processes it in an internal AWS system.
673
693
  #
674
- # The dataset import job replaces any previous data in the dataset.
694
+ # The dataset import job replaces any existing data in the dataset that
695
+ # you imported in bulk.
675
696
  #
676
697
  # **Status**
677
698
  #
@@ -740,23 +761,20 @@ module Aws::Personalize
740
761
  req.send_request(options)
741
762
  end
742
763
 
743
- # Creates an event tracker that you use when sending event data to the
764
+ # Creates an event tracker that you use when adding event data to a
744
765
  # specified dataset group using the [PutEvents][1] API.
745
766
  #
746
- # When Amazon Personalize creates an event tracker, it also creates an
747
- # *event-interactions* dataset in the dataset group associated with the
748
- # event tracker. The event-interactions dataset stores the event data
749
- # from the `PutEvents` call. The contents of this dataset are not
750
- # available to the user.
751
- #
752
767
  # <note markdown="1"> Only one event tracker can be associated with a dataset group. You
753
768
  # will get an error if you call `CreateEventTracker` using the same
754
769
  # dataset group as an existing event tracker.
755
770
  #
756
771
  # </note>
757
772
  #
758
- # When you send event data you include your tracking ID. The tracking ID
759
- # identifies the customer and authorizes the customer to send the data.
773
+ # When you create an event tracker, the response includes a tracking ID,
774
+ # which you pass as a parameter when you use the [PutEvents][1]
775
+ # operation. Amazon Personalize then appends the event data to the
776
+ # Interactions dataset of the dataset group you specify in your event
777
+ # tracker.
760
778
  #
761
779
  # The event tracker can be in one of the following states:
762
780
  #
@@ -817,12 +835,7 @@ module Aws::Personalize
817
835
  req.send_request(options)
818
836
  end
819
837
 
820
- # Creates a recommendation filter. For more information, see [Using
821
- # Filters with Amazon Personalize][1].
822
- #
823
- #
824
- #
825
- # [1]: https://docs.aws.amazon.com/personalize/latest/dg/filters.html
838
+ # Creates a recommendation filter. For more information, see filter.
826
839
  #
827
840
  # @option params [required, String] :name
828
841
  # The name of the filter to create.
@@ -831,20 +844,10 @@ module Aws::Personalize
831
844
  # The ARN of the dataset group that the filter will belong to.
832
845
  #
833
846
  # @option params [required, String] :filter_expression
834
- # The filter expression that designates the interaction types that the
835
- # filter will filter out. A filter expression must follow the following
836
- # format:
837
- #
838
- # `EXCLUDE itemId WHERE INTERACTIONS.event_type in ("EVENT_TYPE")`
839
- #
840
- # Where "EVENT\_TYPE" is the type of event to filter out. To filter
841
- # out all items with any interactions history, set `"*"` as the
842
- # EVENT\_TYPE. For more information, see [Using Filters with Amazon
843
- # Personalize][1].
844
- #
845
- #
846
- #
847
- # [1]: https://docs.aws.amazon.com/personalize/latest/dg/filters.html
847
+ # The filter expression defines which items are included or excluded
848
+ # from recommendations. Filter expression must follow specific format
849
+ # rules. For information about filter expression structure and syntax,
850
+ # see filter-expressions.
848
851
  #
849
852
  # @return [Types::CreateFilterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
850
853
  #
@@ -935,6 +938,11 @@ module Aws::Personalize
935
938
  # `performAutoML` and Amazon Personalize will analyze your data and
936
939
  # select the optimum USER\_PERSONALIZATION recipe for you.
937
940
  #
941
+ # <note markdown="1"> Amazon Personalize doesn't support configuring the `hpoObjective` for
942
+ # solution hyperparameter optimization at this time.
943
+ #
944
+ # </note>
945
+ #
938
946
  # **Status**
939
947
  #
940
948
  # A solution can be in one of the following states:
@@ -1000,11 +1008,19 @@ module Aws::Personalize
1000
1008
  # field), this parameter specifies which event type (for example,
1001
1009
  # 'click' or 'like') is used for training the model.
1002
1010
  #
1011
+ # If you do not provide an `eventType`, Amazon Personalize will use all
1012
+ # interactions for training with equal weight regardless of type.
1013
+ #
1003
1014
  # @option params [Types::SolutionConfig] :solution_config
1004
1015
  # The configuration to use with the solution. When `performAutoML` is
1005
1016
  # set to true, Amazon Personalize only evaluates the `autoMLConfig`
1006
1017
  # section of the solution configuration.
1007
1018
  #
1019
+ # <note markdown="1"> Amazon Personalize doesn't support configuring the `hpoObjective` at
1020
+ # this time.
1021
+ #
1022
+ # </note>
1023
+ #
1008
1024
  # @return [Types::CreateSolutionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1009
1025
  #
1010
1026
  # * {Types::CreateSolutionResponse#solution_arn #solution_arn} => String
@@ -1129,7 +1145,12 @@ module Aws::Personalize
1129
1145
  # The `UPDATE` option can only be used when you already have an active
1130
1146
  # solution version created from the input solution using the `FULL`
1131
1147
  # option and the input solution was trained with the
1132
- # native-recipe-hrnn-coldstart recipe.
1148
+ # [User-Personalization][1] recipe or the [HRNN-Coldstart][2] recipe.
1149
+ #
1150
+ #
1151
+ #
1152
+ # [1]: https://docs.aws.amazon.com/personalize/latest/dg/native-recipe-new-item-USER_PERSONALIZATION.html
1153
+ # [2]: https://docs.aws.amazon.com/personalize/latest/dg/native-recipe-hrnn-coldstart.html
1133
1154
  #
1134
1155
  # @return [Types::CreateSolutionVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1135
1156
  #
@@ -2572,7 +2593,7 @@ module Aws::Personalize
2572
2593
  params: params,
2573
2594
  config: config)
2574
2595
  context[:gem_name] = 'aws-sdk-personalize'
2575
- context[:gem_version] = '1.16.0'
2596
+ context[:gem_version] = '1.21.0'
2576
2597
  Seahorse::Client::Request.new(handlers, context)
2577
2598
  end
2578
2599
 
@@ -240,9 +240,11 @@ module Aws::Personalize
240
240
  # }
241
241
  #
242
242
  # @!attribute [rw] item_exploration_config
243
- # A string to string map specifying the inference hyperparameters you
244
- # wish to use for hyperparameter optimization. See
245
- # customizing-solution-config-hpo.
243
+ # A string to string map specifying the exploration configuration
244
+ # hyperparameters, including `explorationWeight` and
245
+ # `explorationItemAgeCutOff`, you want to use to configure the amount
246
+ # of item exploration Amazon Personalize uses when recommending items.
247
+ # See native-recipe-new-item-USER\_PERSONALIZATION.
246
248
  # @return [Hash<String,String>]
247
249
  #
248
250
  # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/BatchInferenceJobConfig AWS API Documentation
@@ -442,9 +444,16 @@ module Aws::Personalize
442
444
  # }
443
445
  #
444
446
  # @!attribute [rw] item_exploration_config
445
- # A string to string map specifying the inference hyperparameters you
446
- # wish to use for hyperparameter optimization. See
447
- # customizing-solution-config-hpo.
447
+ # A string to string map specifying the exploration configuration
448
+ # hyperparameters, including `explorationWeight` and
449
+ # `explorationItemAgeCutOff`, you want to use to configure the amount
450
+ # of item exploration Amazon Personalize uses when recommending items.
451
+ # Provide `itemExplorationConfig` data only if your solution uses the
452
+ # [User-Personalization][1] recipe.
453
+ #
454
+ #
455
+ #
456
+ # [1]: https://docs.aws.amazon.com/personalize/latest/dg/native-recipe-new-item-USER_PERSONALIZATION.html
448
457
  # @return [Hash<String,String>]
449
458
  #
450
459
  # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CampaignConfig AWS API Documentation
@@ -988,20 +997,10 @@ module Aws::Personalize
988
997
  # @return [String]
989
998
  #
990
999
  # @!attribute [rw] filter_expression
991
- # The filter expression that designates the interaction types that the
992
- # filter will filter out. A filter expression must follow the
993
- # following format:
994
- #
995
- # `EXCLUDE itemId WHERE INTERACTIONS.event_type in ("EVENT_TYPE")`
996
- #
997
- # Where "EVENT\_TYPE" is the type of event to filter out. To filter
998
- # out all items with any interactions history, set `"*"` as the
999
- # EVENT\_TYPE. For more information, see [Using Filters with Amazon
1000
- # Personalize][1].
1001
- #
1002
- #
1003
- #
1004
- # [1]: https://docs.aws.amazon.com/personalize/latest/dg/filters.html
1000
+ # The filter expression defines which items are included or excluded
1001
+ # from recommendations. Filter expression must follow specific format
1002
+ # rules. For information about filter expression structure and syntax,
1003
+ # see filter-expressions.
1005
1004
  # @return [String]
1006
1005
  #
1007
1006
  # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateFilterRequest AWS API Documentation
@@ -1159,12 +1158,20 @@ module Aws::Personalize
1159
1158
  # When your have multiple event types (using an `EVENT_TYPE` schema
1160
1159
  # field), this parameter specifies which event type (for example,
1161
1160
  # 'click' or 'like') is used for training the model.
1161
+ #
1162
+ # If you do not provide an `eventType`, Amazon Personalize will use
1163
+ # all interactions for training with equal weight regardless of type.
1162
1164
  # @return [String]
1163
1165
  #
1164
1166
  # @!attribute [rw] solution_config
1165
1167
  # The configuration to use with the solution. When `performAutoML` is
1166
1168
  # set to true, Amazon Personalize only evaluates the `autoMLConfig`
1167
1169
  # section of the solution configuration.
1170
+ #
1171
+ # <note markdown="1"> Amazon Personalize doesn't support configuring the `hpoObjective`
1172
+ # at this time.
1173
+ #
1174
+ # </note>
1168
1175
  # @return [Types::SolutionConfig]
1169
1176
  #
1170
1177
  # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateSolutionRequest AWS API Documentation
@@ -1218,7 +1225,12 @@ module Aws::Personalize
1218
1225
  # The `UPDATE` option can only be used when you already have an active
1219
1226
  # solution version created from the input solution using the `FULL`
1220
1227
  # option and the input solution was trained with the
1221
- # native-recipe-hrnn-coldstart recipe.
1228
+ # [User-Personalization][1] recipe or the [HRNN-Coldstart][2] recipe.
1229
+ #
1230
+ #
1231
+ #
1232
+ # [1]: https://docs.aws.amazon.com/personalize/latest/dg/native-recipe-new-item-USER_PERSONALIZATION.html
1233
+ # [2]: https://docs.aws.amazon.com/personalize/latest/dg/native-recipe-hrnn-coldstart.html
1222
1234
  # @return [String]
1223
1235
  #
1224
1236
  # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateSolutionVersionRequest AWS API Documentation
@@ -2533,17 +2545,9 @@ module Aws::Personalize
2533
2545
  #
2534
2546
  # @!attribute [rw] filter_expression
2535
2547
  # Specifies the type of item interactions to filter out of
2536
- # recommendation results. The filter expression must follow the
2537
- # following format:
2538
- #
2539
- # `EXCLUDE itemId WHERE INTERACTIONS.event_type in ("EVENT_TYPE")`
2540
- #
2541
- # Where "EVENT\_TYPE" is the type of event to filter out. For more
2542
- # information, see [Using Filters with Amazon Personalize][1].
2543
- #
2544
- #
2545
- #
2546
- # [1]: https://docs.aws.amazon.com/personalize/latest/dg/filters.html
2548
+ # recommendation results. The filter expression must follow specific
2549
+ # format rules. For information about filter expression structure and
2550
+ # syntax, see filter-expressions.
2547
2551
  # @return [String]
2548
2552
  #
2549
2553
  # @!attribute [rw] status
@@ -2646,9 +2650,7 @@ module Aws::Personalize
2646
2650
  include Aws::Structure
2647
2651
  end
2648
2652
 
2649
- # Describes the properties for hyperparameter optimization (HPO). For
2650
- # use with the bring-your-own-recipe feature. Do not use for Amazon
2651
- # Personalize native recipes.
2653
+ # Describes the properties for hyperparameter optimization (HPO).
2652
2654
  #
2653
2655
  # @note When making an API call, you may pass HPOConfig
2654
2656
  # data as a hash:
@@ -2689,6 +2691,11 @@ module Aws::Personalize
2689
2691
  #
2690
2692
  # @!attribute [rw] hpo_objective
2691
2693
  # The metric to optimize during HPO.
2694
+ #
2695
+ # <note markdown="1"> Amazon Personalize doesn't support configuring the `hpoObjective`
2696
+ # at this time.
2697
+ #
2698
+ # </note>
2692
2699
  # @return [Types::HPOObjective]
2693
2700
  #
2694
2701
  # @!attribute [rw] hpo_resource_config
@@ -2711,6 +2718,11 @@ module Aws::Personalize
2711
2718
 
2712
2719
  # The metric to optimize during hyperparameter optimization (HPO).
2713
2720
  #
2721
+ # <note markdown="1"> Amazon Personalize doesn't support configuring the `hpoObjective` at
2722
+ # this time.
2723
+ #
2724
+ # </note>
2725
+ #
2714
2726
  # @note When making an API call, you may pass HPOObjective
2715
2727
  # data as a hash:
2716
2728
  #
@@ -3633,7 +3645,9 @@ module Aws::Personalize
3633
3645
  #
3634
3646
  # @!attribute [rw] event_type
3635
3647
  # The event type (for example, 'click' or 'like') that is used for
3636
- # training the model.
3648
+ # training the model. If no `eventType` is provided, Amazon
3649
+ # Personalize uses all interactions for training with equal weight
3650
+ # regardless of type.
3637
3651
  # @return [String]
3638
3652
  #
3639
3653
  # @!attribute [rw] solution_config
@@ -3863,17 +3877,23 @@ module Aws::Personalize
3863
3877
  # @return [Float]
3864
3878
  #
3865
3879
  # @!attribute [rw] training_mode
3866
- # The scope of training used to create the solution version. The
3867
- # `FULL` option trains the solution version based on the entirety of
3868
- # the input solution's training data, while the `UPDATE` option
3869
- # processes only the training data that has changed since the creation
3870
- # of the last solution version. Choose `UPDATE` when you want to start
3871
- # recommending items added to the dataset without retraining the
3872
- # model.
3873
- #
3874
- # The `UPDATE` option can only be used after you've created a
3875
- # solution version with the `FULL` option and the training solution
3876
- # uses the native-recipe-hrnn-coldstart.
3880
+ # The scope of training to be performed when creating the solution
3881
+ # version. The `FULL` option trains the solution version based on the
3882
+ # entirety of the input solution's training data, while the `UPDATE`
3883
+ # option processes only the data that has changed in comparison to the
3884
+ # input solution. Choose `UPDATE` when you want to incrementally
3885
+ # update your solution version instead of creating an entirely new
3886
+ # one.
3887
+ #
3888
+ # The `UPDATE` option can only be used when you already have an active
3889
+ # solution version created from the input solution using the `FULL`
3890
+ # option and the input solution was trained with the
3891
+ # [User-Personalization][1] recipe or the [HRNN-Coldstart][2] recipe.
3892
+ #
3893
+ #
3894
+ #
3895
+ # [1]: https://docs.aws.amazon.com/personalize/latest/dg/native-recipe-new-item-USER_PERSONALIZATION.html
3896
+ # [2]: https://docs.aws.amazon.com/personalize/latest/dg/native-recipe-hrnn-coldstart.html
3877
3897
  # @return [String]
3878
3898
  #
3879
3899
  # @!attribute [rw] tuned_hpo_params
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.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-06 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