aws-sdk-personalize 1.24.0 → 1.28.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-personalize.rb +1 -1
- data/lib/aws-sdk-personalize/client.rb +87 -35
- data/lib/aws-sdk-personalize/client_api.rb +24 -1
- data/lib/aws-sdk-personalize/types.rb +98 -20
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57a383694a16ae01f97412337513cc45ff6f8665a623ef621a1d903c6246f665
|
4
|
+
data.tar.gz: b42efa722a78b920622e0d8e5522cb9850ce8ef79c7db0417d06d74a367af937
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afaeb1205cf34e975f8622b4de1da25bdf01328325f85fd0a81c347cb6d0257f7bcc9e5e5cd9d0982032f0a55b74fa59234d1d83d76dd995099f4a4db0cafe04
|
7
|
+
data.tar.gz: c1b98937f631c0d63c66ab34b0ebe26c7d6f1be048ae4c49d5e808a492ffce27dae41846a7c6dd079b0739a36cb3445fbcf00ee986784fcd34221aa8f0b46943
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.28.0 (2021-07-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - My AWS Service (placeholder) - Making minProvisionedTPS an optional parameter when creating a campaign. If not provided, it defaults to 1.
|
8
|
+
|
9
|
+
1.27.0 (2021-06-07)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Update regex validation in kmsKeyArn and s3 path API parameters for AWS Personalize APIs
|
13
|
+
|
14
|
+
1.26.0 (2021-05-20)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Added new API to stop a solution version creation that is pending or in progress for Amazon Personalize
|
18
|
+
|
19
|
+
1.25.0 (2021-05-18)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Amazon Personalize now supports the ability to optimize a solution for a custom objective in addition to maximizing relevance.
|
23
|
+
|
4
24
|
1.24.0 (2021-04-30)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.28.0
|
data/lib/aws-sdk-personalize.rb
CHANGED
@@ -482,7 +482,7 @@ module Aws::Personalize
|
|
482
482
|
# @option params [required, String] :solution_version_arn
|
483
483
|
# The Amazon Resource Name (ARN) of the solution version to deploy.
|
484
484
|
#
|
485
|
-
# @option params [
|
485
|
+
# @option params [Integer] :min_provisioned_tps
|
486
486
|
# Specifies the requested minimum provisioned transactions
|
487
487
|
# (recommendations) per second that Amazon Personalize will support.
|
488
488
|
#
|
@@ -498,7 +498,7 @@ module Aws::Personalize
|
|
498
498
|
# resp = client.create_campaign({
|
499
499
|
# name: "Name", # required
|
500
500
|
# solution_version_arn: "Arn", # required
|
501
|
-
# min_provisioned_tps: 1,
|
501
|
+
# min_provisioned_tps: 1,
|
502
502
|
# campaign_config: {
|
503
503
|
# item_exploration_config: {
|
504
504
|
# "ParameterName" => "ParameterValue",
|
@@ -603,10 +603,10 @@ module Aws::Personalize
|
|
603
603
|
|
604
604
|
# Creates a job that exports data from your dataset to an Amazon S3
|
605
605
|
# bucket. To allow Amazon Personalize to export the training data, you
|
606
|
-
# must specify an service-linked
|
607
|
-
#
|
608
|
-
#
|
609
|
-
#
|
606
|
+
# must specify an service-linked IAM role that gives Amazon Personalize
|
607
|
+
# `PutObject` permissions for your Amazon S3 bucket. For information,
|
608
|
+
# see [Exporting a dataset][1] in the Amazon Personalize developer
|
609
|
+
# guide.
|
610
610
|
#
|
611
611
|
# **Status**
|
612
612
|
#
|
@@ -642,9 +642,8 @@ module Aws::Personalize
|
|
642
642
|
# both types. The default value is `PUT`.
|
643
643
|
#
|
644
644
|
# @option params [required, String] :role_arn
|
645
|
-
# The Amazon Resource Name (ARN) of the
|
646
|
-
#
|
647
|
-
# output Amazon S3 bucket.
|
645
|
+
# The Amazon Resource Name (ARN) of the IAM service role that has
|
646
|
+
# permissions to add data to your output Amazon S3 bucket.
|
648
647
|
#
|
649
648
|
# @option params [required, Types::DatasetExportJobOutput] :job_output
|
650
649
|
# The path to the Amazon S3 bucket where the job's output is stored.
|
@@ -711,10 +710,10 @@ module Aws::Personalize
|
|
711
710
|
#
|
712
711
|
# </note>
|
713
712
|
#
|
714
|
-
# You can specify an
|
713
|
+
# You can specify an Key Management Service (KMS) key to encrypt the
|
715
714
|
# datasets in the group. If you specify a KMS key, you must also include
|
716
|
-
# an
|
717
|
-
#
|
715
|
+
# an Identity and Access Management (IAM) role that has permission to
|
716
|
+
# access the key.
|
718
717
|
#
|
719
718
|
# **APIs that require a dataset group ARN in the request**
|
720
719
|
#
|
@@ -736,12 +735,13 @@ module Aws::Personalize
|
|
736
735
|
# The name for the new dataset group.
|
737
736
|
#
|
738
737
|
# @option params [String] :role_arn
|
739
|
-
# The ARN of the IAM role that has
|
740
|
-
#
|
738
|
+
# The ARN of the Identity and Access Management (IAM) role that has
|
739
|
+
# permissions to access the Key Management Service (KMS) key. Supplying
|
740
|
+
# an IAM role is only valid when also specifying a KMS key.
|
741
741
|
#
|
742
742
|
# @option params [String] :kms_key_arn
|
743
|
-
# The Amazon Resource Name (ARN) of a
|
744
|
-
# datasets.
|
743
|
+
# The Amazon Resource Name (ARN) of a Key Management Service (KMS) key
|
744
|
+
# used to encrypt the datasets.
|
745
745
|
#
|
746
746
|
# @return [Types::CreateDatasetGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
747
747
|
#
|
@@ -770,12 +770,12 @@ module Aws::Personalize
|
|
770
770
|
|
771
771
|
# Creates a job that imports training data from your data source (an
|
772
772
|
# Amazon S3 bucket) to an Amazon Personalize dataset. To allow Amazon
|
773
|
-
# Personalize to import the training data, you must specify an
|
774
|
-
#
|
775
|
-
#
|
776
|
-
#
|
777
|
-
#
|
778
|
-
#
|
773
|
+
# Personalize to import the training data, you must specify an IAM
|
774
|
+
# service role that has permission to read from the data source, as
|
775
|
+
# Amazon Personalize makes a copy of your data and processes it
|
776
|
+
# internally. For information on granting access to your Amazon S3
|
777
|
+
# bucket, see [Giving Amazon Personalize Access to Amazon S3
|
778
|
+
# Resources][1].
|
779
779
|
#
|
780
780
|
# The dataset import job replaces any existing data in the dataset that
|
781
781
|
# you imported in bulk.
|
@@ -1169,6 +1169,10 @@ module Aws::Personalize
|
|
1169
1169
|
# metric_name: "MetricName",
|
1170
1170
|
# recipe_list: ["Arn"],
|
1171
1171
|
# },
|
1172
|
+
# optimization_objective: {
|
1173
|
+
# item_attribute: "ItemAttribute",
|
1174
|
+
# objective_sensitivity: "LOW", # accepts LOW, MEDIUM, HIGH, OFF
|
1175
|
+
# },
|
1172
1176
|
# },
|
1173
1177
|
# })
|
1174
1178
|
#
|
@@ -1194,10 +1198,17 @@ module Aws::Personalize
|
|
1194
1198
|
#
|
1195
1199
|
# A solution version can be in one of the following states:
|
1196
1200
|
#
|
1197
|
-
# * CREATE PENDING
|
1198
|
-
# FAILED
|
1201
|
+
# * CREATE PENDING
|
1199
1202
|
#
|
1200
|
-
#
|
1203
|
+
# * CREATE IN\_PROGRESS
|
1204
|
+
#
|
1205
|
+
# * ACTIVE
|
1206
|
+
#
|
1207
|
+
# * CREATE FAILED
|
1208
|
+
#
|
1209
|
+
# * CREATE STOPPING
|
1210
|
+
#
|
1211
|
+
# * CREATE STOPPED
|
1201
1212
|
#
|
1202
1213
|
# To get the status of the version, call DescribeSolutionVersion. Wait
|
1203
1214
|
# until the status shows as ACTIVE before calling `CreateCampaign`.
|
@@ -1830,7 +1841,7 @@ module Aws::Personalize
|
|
1830
1841
|
#
|
1831
1842
|
# @return [Types::DescribeFilterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1832
1843
|
#
|
1833
|
-
# * {Types::DescribeFilterResponse#filter #filter} => Types::Filter
|
1844
|
+
# * {Types::DescribeFilterResponse#filter #data.filter} => Types::Filter (This method conflicts with a method on Response, call it through the data member)
|
1834
1845
|
#
|
1835
1846
|
# @example Request syntax with placeholder values
|
1836
1847
|
#
|
@@ -1840,14 +1851,14 @@ module Aws::Personalize
|
|
1840
1851
|
#
|
1841
1852
|
# @example Response structure
|
1842
1853
|
#
|
1843
|
-
# resp.filter.name #=> String
|
1844
|
-
# resp.filter.filter_arn #=> String
|
1845
|
-
# resp.filter.creation_date_time #=> Time
|
1846
|
-
# resp.filter.last_updated_date_time #=> Time
|
1847
|
-
# resp.filter.dataset_group_arn #=> String
|
1848
|
-
# resp.filter.failure_reason #=> String
|
1849
|
-
# resp.filter.filter_expression #=> String
|
1850
|
-
# resp.filter.status #=> String
|
1854
|
+
# resp.data.filter.name #=> String
|
1855
|
+
# resp.data.filter.filter_arn #=> String
|
1856
|
+
# resp.data.filter.creation_date_time #=> Time
|
1857
|
+
# resp.data.filter.last_updated_date_time #=> Time
|
1858
|
+
# resp.data.filter.dataset_group_arn #=> String
|
1859
|
+
# resp.data.filter.failure_reason #=> String
|
1860
|
+
# resp.data.filter.filter_expression #=> String
|
1861
|
+
# resp.data.filter.status #=> String
|
1851
1862
|
#
|
1852
1863
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeFilter AWS API Documentation
|
1853
1864
|
#
|
@@ -1996,6 +2007,8 @@ module Aws::Personalize
|
|
1996
2007
|
# resp.solution.solution_config.auto_ml_config.metric_name #=> String
|
1997
2008
|
# resp.solution.solution_config.auto_ml_config.recipe_list #=> Array
|
1998
2009
|
# resp.solution.solution_config.auto_ml_config.recipe_list[0] #=> String
|
2010
|
+
# resp.solution.solution_config.optimization_objective.item_attribute #=> String
|
2011
|
+
# resp.solution.solution_config.optimization_objective.objective_sensitivity #=> String, one of "LOW", "MEDIUM", "HIGH", "OFF"
|
1999
2012
|
# resp.solution.auto_ml_result.best_recipe_arn #=> String
|
2000
2013
|
# resp.solution.status #=> String
|
2001
2014
|
# resp.solution.creation_date_time #=> Time
|
@@ -2065,6 +2078,8 @@ module Aws::Personalize
|
|
2065
2078
|
# resp.solution_version.solution_config.auto_ml_config.metric_name #=> String
|
2066
2079
|
# resp.solution_version.solution_config.auto_ml_config.recipe_list #=> Array
|
2067
2080
|
# resp.solution_version.solution_config.auto_ml_config.recipe_list[0] #=> String
|
2081
|
+
# resp.solution_version.solution_config.optimization_objective.item_attribute #=> String
|
2082
|
+
# resp.solution_version.solution_config.optimization_objective.objective_sensitivity #=> String, one of "LOW", "MEDIUM", "HIGH", "OFF"
|
2068
2083
|
# resp.solution_version.training_hours #=> Float
|
2069
2084
|
# resp.solution_version.training_mode #=> String, one of "FULL", "UPDATE"
|
2070
2085
|
# resp.solution_version.tuned_hpo_params.algorithm_hyper_parameters #=> Hash
|
@@ -2708,6 +2723,43 @@ module Aws::Personalize
|
|
2708
2723
|
req.send_request(options)
|
2709
2724
|
end
|
2710
2725
|
|
2726
|
+
# Stops creating a solution version that is in a state of
|
2727
|
+
# CREATE\_PENDING or CREATE IN\_PROGRESS.
|
2728
|
+
#
|
2729
|
+
# Depending on the current state of the solution version, the solution
|
2730
|
+
# version state changes as follows:
|
2731
|
+
#
|
2732
|
+
# * CREATE\_PENDING > CREATE\_STOPPED
|
2733
|
+
#
|
2734
|
+
# or
|
2735
|
+
#
|
2736
|
+
# * CREATE\_IN\_PROGRESS > CREATE\_STOPPING > CREATE\_STOPPED
|
2737
|
+
#
|
2738
|
+
# You are billed for all of the training completed up until you stop the
|
2739
|
+
# solution version creation. You cannot resume creating a solution
|
2740
|
+
# version once it has been stopped.
|
2741
|
+
#
|
2742
|
+
# @option params [required, String] :solution_version_arn
|
2743
|
+
# The Amazon Resource Name (ARN) of the solution version you want to
|
2744
|
+
# stop creating.
|
2745
|
+
#
|
2746
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2747
|
+
#
|
2748
|
+
# @example Request syntax with placeholder values
|
2749
|
+
#
|
2750
|
+
# resp = client.stop_solution_version_creation({
|
2751
|
+
# solution_version_arn: "Arn", # required
|
2752
|
+
# })
|
2753
|
+
#
|
2754
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/StopSolutionVersionCreation AWS API Documentation
|
2755
|
+
#
|
2756
|
+
# @overload stop_solution_version_creation(params = {})
|
2757
|
+
# @param [Hash] params ({})
|
2758
|
+
def stop_solution_version_creation(params = {}, options = {})
|
2759
|
+
req = build_request(:stop_solution_version_creation, params)
|
2760
|
+
req.send_request(options)
|
2761
|
+
end
|
2762
|
+
|
2711
2763
|
# Updates a campaign by either deploying a new solution or changing the
|
2712
2764
|
# value of the campaign's `minProvisionedTPS` parameter.
|
2713
2765
|
#
|
@@ -2777,7 +2829,7 @@ module Aws::Personalize
|
|
2777
2829
|
params: params,
|
2778
2830
|
config: config)
|
2779
2831
|
context[:gem_name] = 'aws-sdk-personalize'
|
2780
|
-
context[:gem_version] = '1.
|
2832
|
+
context[:gem_version] = '1.28.0'
|
2781
2833
|
Seahorse::Client::Request.new(handlers, context)
|
2782
2834
|
end
|
2783
2835
|
|
@@ -155,6 +155,7 @@ module Aws::Personalize
|
|
155
155
|
IntegerMinValue = Shapes::IntegerShape.new(name: 'IntegerMinValue')
|
156
156
|
InvalidInputException = Shapes::StructureShape.new(name: 'InvalidInputException')
|
157
157
|
InvalidNextTokenException = Shapes::StructureShape.new(name: 'InvalidNextTokenException')
|
158
|
+
ItemAttribute = Shapes::StringShape.new(name: 'ItemAttribute')
|
158
159
|
KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
|
159
160
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
160
161
|
ListBatchInferenceJobsRequest = Shapes::StructureShape.new(name: 'ListBatchInferenceJobsRequest')
|
@@ -189,6 +190,8 @@ module Aws::Personalize
|
|
189
190
|
Name = Shapes::StringShape.new(name: 'Name')
|
190
191
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
191
192
|
NumBatchResults = Shapes::IntegerShape.new(name: 'NumBatchResults')
|
193
|
+
ObjectiveSensitivity = Shapes::StringShape.new(name: 'ObjectiveSensitivity')
|
194
|
+
OptimizationObjective = Shapes::StructureShape.new(name: 'OptimizationObjective')
|
192
195
|
ParameterName = Shapes::StringShape.new(name: 'ParameterName')
|
193
196
|
ParameterValue = Shapes::StringShape.new(name: 'ParameterValue')
|
194
197
|
PerformAutoML = Shapes::BooleanShape.new(name: 'PerformAutoML')
|
@@ -214,6 +217,7 @@ module Aws::Personalize
|
|
214
217
|
SolutionVersions = Shapes::ListShape.new(name: 'SolutionVersions')
|
215
218
|
Solutions = Shapes::ListShape.new(name: 'Solutions')
|
216
219
|
Status = Shapes::StringShape.new(name: 'Status')
|
220
|
+
StopSolutionVersionCreationRequest = Shapes::StructureShape.new(name: 'StopSolutionVersionCreationRequest')
|
217
221
|
TrackingId = Shapes::StringShape.new(name: 'TrackingId')
|
218
222
|
TrainingHours = Shapes::FloatShape.new(name: 'TrainingHours')
|
219
223
|
TrainingInputMode = Shapes::StringShape.new(name: 'TrainingInputMode')
|
@@ -348,7 +352,7 @@ module Aws::Personalize
|
|
348
352
|
|
349
353
|
CreateCampaignRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
350
354
|
CreateCampaignRequest.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "solutionVersionArn"))
|
351
|
-
CreateCampaignRequest.add_member(:min_provisioned_tps, Shapes::ShapeRef.new(shape: TransactionsPerSecond,
|
355
|
+
CreateCampaignRequest.add_member(:min_provisioned_tps, Shapes::ShapeRef.new(shape: TransactionsPerSecond, location_name: "minProvisionedTPS"))
|
352
356
|
CreateCampaignRequest.add_member(:campaign_config, Shapes::ShapeRef.new(shape: CampaignConfig, location_name: "campaignConfig"))
|
353
357
|
CreateCampaignRequest.struct_class = Types::CreateCampaignRequest
|
354
358
|
|
@@ -876,6 +880,10 @@ module Aws::Personalize
|
|
876
880
|
Metrics.key = Shapes::ShapeRef.new(shape: MetricName)
|
877
881
|
Metrics.value = Shapes::ShapeRef.new(shape: MetricValue)
|
878
882
|
|
883
|
+
OptimizationObjective.add_member(:item_attribute, Shapes::ShapeRef.new(shape: ItemAttribute, location_name: "itemAttribute"))
|
884
|
+
OptimizationObjective.add_member(:objective_sensitivity, Shapes::ShapeRef.new(shape: ObjectiveSensitivity, location_name: "objectiveSensitivity"))
|
885
|
+
OptimizationObjective.struct_class = Types::OptimizationObjective
|
886
|
+
|
879
887
|
Recipe.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
880
888
|
Recipe.add_member(:recipe_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "recipeArn"))
|
881
889
|
Recipe.add_member(:algorithm_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "algorithmArn"))
|
@@ -934,6 +942,7 @@ module Aws::Personalize
|
|
934
942
|
SolutionConfig.add_member(:algorithm_hyper_parameters, Shapes::ShapeRef.new(shape: HyperParameters, location_name: "algorithmHyperParameters"))
|
935
943
|
SolutionConfig.add_member(:feature_transformation_parameters, Shapes::ShapeRef.new(shape: FeatureTransformationParameters, location_name: "featureTransformationParameters"))
|
936
944
|
SolutionConfig.add_member(:auto_ml_config, Shapes::ShapeRef.new(shape: AutoMLConfig, location_name: "autoMLConfig"))
|
945
|
+
SolutionConfig.add_member(:optimization_objective, Shapes::ShapeRef.new(shape: OptimizationObjective, location_name: "optimizationObjective"))
|
937
946
|
SolutionConfig.struct_class = Types::SolutionConfig
|
938
947
|
|
939
948
|
SolutionSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
@@ -971,6 +980,9 @@ module Aws::Personalize
|
|
971
980
|
|
972
981
|
Solutions.member = Shapes::ShapeRef.new(shape: SolutionSummary)
|
973
982
|
|
983
|
+
StopSolutionVersionCreationRequest.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "solutionVersionArn"))
|
984
|
+
StopSolutionVersionCreationRequest.struct_class = Types::StopSolutionVersionCreationRequest
|
985
|
+
|
974
986
|
TunedHPOParams.add_member(:algorithm_hyper_parameters, Shapes::ShapeRef.new(shape: HyperParameters, location_name: "algorithmHyperParameters"))
|
975
987
|
TunedHPOParams.struct_class = Types::TunedHPOParams
|
976
988
|
|
@@ -1557,6 +1569,17 @@ module Aws::Personalize
|
|
1557
1569
|
)
|
1558
1570
|
end)
|
1559
1571
|
|
1572
|
+
api.add_operation(:stop_solution_version_creation, Seahorse::Model::Operation.new.tap do |o|
|
1573
|
+
o.name = "StopSolutionVersionCreation"
|
1574
|
+
o.http_method = "POST"
|
1575
|
+
o.http_request_uri = "/"
|
1576
|
+
o.input = Shapes::ShapeRef.new(shape: StopSolutionVersionCreationRequest)
|
1577
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1578
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1579
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1580
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1581
|
+
end)
|
1582
|
+
|
1560
1583
|
api.add_operation(:update_campaign, Seahorse::Model::Operation.new.tap do |o|
|
1561
1584
|
o.name = "UpdateCampaign"
|
1562
1585
|
o.http_method = "POST"
|
@@ -734,7 +734,7 @@ module Aws::Personalize
|
|
734
734
|
# {
|
735
735
|
# name: "Name", # required
|
736
736
|
# solution_version_arn: "Arn", # required
|
737
|
-
# min_provisioned_tps: 1,
|
737
|
+
# min_provisioned_tps: 1,
|
738
738
|
# campaign_config: {
|
739
739
|
# item_exploration_config: {
|
740
740
|
# "ParameterName" => "ParameterValue",
|
@@ -817,9 +817,8 @@ module Aws::Personalize
|
|
817
817
|
# @return [String]
|
818
818
|
#
|
819
819
|
# @!attribute [rw] role_arn
|
820
|
-
# The Amazon Resource Name (ARN) of the
|
821
|
-
#
|
822
|
-
# output Amazon S3 bucket.
|
820
|
+
# The Amazon Resource Name (ARN) of the IAM service role that has
|
821
|
+
# permissions to add data to your output Amazon S3 bucket.
|
823
822
|
# @return [String]
|
824
823
|
#
|
825
824
|
# @!attribute [rw] job_output
|
@@ -864,13 +863,14 @@ module Aws::Personalize
|
|
864
863
|
# @return [String]
|
865
864
|
#
|
866
865
|
# @!attribute [rw] role_arn
|
867
|
-
# The ARN of the IAM role that has
|
866
|
+
# The ARN of the Identity and Access Management (IAM) role that has
|
867
|
+
# permissions to access the Key Management Service (KMS) key.
|
868
868
|
# Supplying an IAM role is only valid when also specifying a KMS key.
|
869
869
|
# @return [String]
|
870
870
|
#
|
871
871
|
# @!attribute [rw] kms_key_arn
|
872
|
-
# The Amazon Resource Name (ARN) of a
|
873
|
-
# datasets.
|
872
|
+
# The Amazon Resource Name (ARN) of a Key Management Service (KMS) key
|
873
|
+
# used to encrypt the datasets.
|
874
874
|
# @return [String]
|
875
875
|
#
|
876
876
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateDatasetGroupRequest AWS API Documentation
|
@@ -1192,6 +1192,10 @@ module Aws::Personalize
|
|
1192
1192
|
# metric_name: "MetricName",
|
1193
1193
|
# recipe_list: ["Arn"],
|
1194
1194
|
# },
|
1195
|
+
# optimization_objective: {
|
1196
|
+
# item_attribute: "ItemAttribute",
|
1197
|
+
# objective_sensitivity: "LOW", # accepts LOW, MEDIUM, HIGH, OFF
|
1198
|
+
# },
|
1195
1199
|
# },
|
1196
1200
|
# }
|
1197
1201
|
#
|
@@ -1448,9 +1452,8 @@ module Aws::Personalize
|
|
1448
1452
|
# @return [String]
|
1449
1453
|
#
|
1450
1454
|
# @!attribute [rw] role_arn
|
1451
|
-
# The Amazon Resource Name (ARN) of the
|
1452
|
-
#
|
1453
|
-
# output Amazon S3 bucket.
|
1455
|
+
# The Amazon Resource Name (ARN) of the IAM service role that has
|
1456
|
+
# permissions to add data to your output Amazon S3 bucket.
|
1454
1457
|
# @return [String]
|
1455
1458
|
#
|
1456
1459
|
# @!attribute [rw] status
|
@@ -1581,7 +1584,7 @@ module Aws::Personalize
|
|
1581
1584
|
# and train a solution by calling CreateSolution. A dataset group can
|
1582
1585
|
# contain only one of each type of dataset.
|
1583
1586
|
#
|
1584
|
-
# You can specify an
|
1587
|
+
# You can specify an Key Management Service (KMS) key to encrypt the
|
1585
1588
|
# datasets in the group.
|
1586
1589
|
#
|
1587
1590
|
# @!attribute [rw] name
|
@@ -1609,8 +1612,8 @@ module Aws::Personalize
|
|
1609
1612
|
# @return [String]
|
1610
1613
|
#
|
1611
1614
|
# @!attribute [rw] kms_key_arn
|
1612
|
-
# The Amazon Resource Name (ARN) of the
|
1613
|
-
# datasets.
|
1615
|
+
# The Amazon Resource Name (ARN) of the Key Management Service (KMS)
|
1616
|
+
# key used to encrypt the datasets.
|
1614
1617
|
# @return [String]
|
1615
1618
|
#
|
1616
1619
|
# @!attribute [rw] creation_date_time
|
@@ -1717,8 +1720,8 @@ module Aws::Personalize
|
|
1717
1720
|
# @return [Types::DataSource]
|
1718
1721
|
#
|
1719
1722
|
# @!attribute [rw] role_arn
|
1720
|
-
# The ARN of the
|
1721
|
-
#
|
1723
|
+
# The ARN of the IAM role that has permissions to read from the Amazon
|
1724
|
+
# S3 data source.
|
1722
1725
|
# @return [String]
|
1723
1726
|
#
|
1724
1727
|
# @!attribute [rw] status
|
@@ -2645,7 +2648,7 @@ module Aws::Personalize
|
|
2645
2648
|
# @return [String]
|
2646
2649
|
#
|
2647
2650
|
# @!attribute [rw] account_id
|
2648
|
-
# The Amazon
|
2651
|
+
# The Amazon Web Services account that owns the event tracker.
|
2649
2652
|
# @return [String]
|
2650
2653
|
#
|
2651
2654
|
# @!attribute [rw] tracking_id
|
@@ -3771,6 +3774,42 @@ module Aws::Personalize
|
|
3771
3774
|
include Aws::Structure
|
3772
3775
|
end
|
3773
3776
|
|
3777
|
+
# Describes the additional objective for the solution, such as
|
3778
|
+
# maximizing streaming minutes or increasing revenue. For more
|
3779
|
+
# information see [Optimizing a solution][1].
|
3780
|
+
#
|
3781
|
+
#
|
3782
|
+
#
|
3783
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/optimizing-solution-for-objective.html
|
3784
|
+
#
|
3785
|
+
# @note When making an API call, you may pass OptimizationObjective
|
3786
|
+
# data as a hash:
|
3787
|
+
#
|
3788
|
+
# {
|
3789
|
+
# item_attribute: "ItemAttribute",
|
3790
|
+
# objective_sensitivity: "LOW", # accepts LOW, MEDIUM, HIGH, OFF
|
3791
|
+
# }
|
3792
|
+
#
|
3793
|
+
# @!attribute [rw] item_attribute
|
3794
|
+
# The numerical metadata column in an Items dataset related to the
|
3795
|
+
# optimization objective. For example, VIDEO\_LENGTH (to maximize
|
3796
|
+
# streaming minutes), or PRICE (to maximize revenue).
|
3797
|
+
# @return [String]
|
3798
|
+
#
|
3799
|
+
# @!attribute [rw] objective_sensitivity
|
3800
|
+
# Specifies how Amazon Personalize balances the importance of your
|
3801
|
+
# optimization objective versus relevance.
|
3802
|
+
# @return [String]
|
3803
|
+
#
|
3804
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/OptimizationObjective AWS API Documentation
|
3805
|
+
#
|
3806
|
+
class OptimizationObjective < Struct.new(
|
3807
|
+
:item_attribute,
|
3808
|
+
:objective_sensitivity)
|
3809
|
+
SENSITIVE = []
|
3810
|
+
include Aws::Structure
|
3811
|
+
end
|
3812
|
+
|
3774
3813
|
# Provides information about a recipe. Each recipe provides an algorithm
|
3775
3814
|
# that Amazon Personalize uses in model training when you use the
|
3776
3815
|
# CreateSolution operation.
|
@@ -3923,9 +3962,9 @@ module Aws::Personalize
|
|
3923
3962
|
# @return [String]
|
3924
3963
|
#
|
3925
3964
|
# @!attribute [rw] kms_key_arn
|
3926
|
-
# The Amazon Resource Name (ARN) of the
|
3927
|
-
#
|
3928
|
-
#
|
3965
|
+
# The Amazon Resource Name (ARN) of the Key Management Service (KMS)
|
3966
|
+
# key that Amazon Personalize uses to encrypt or decrypt the input and
|
3967
|
+
# output files of a batch inference job.
|
3929
3968
|
# @return [String]
|
3930
3969
|
#
|
3931
3970
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/S3DataConfig AWS API Documentation
|
@@ -4078,6 +4117,10 @@ module Aws::Personalize
|
|
4078
4117
|
# metric_name: "MetricName",
|
4079
4118
|
# recipe_list: ["Arn"],
|
4080
4119
|
# },
|
4120
|
+
# optimization_objective: {
|
4121
|
+
# item_attribute: "ItemAttribute",
|
4122
|
+
# objective_sensitivity: "LOW", # accepts LOW, MEDIUM, HIGH, OFF
|
4123
|
+
# },
|
4081
4124
|
# }
|
4082
4125
|
#
|
4083
4126
|
# @!attribute [rw] event_value_threshold
|
@@ -4102,6 +4145,16 @@ module Aws::Personalize
|
|
4102
4145
|
# AutoML is performed.
|
4103
4146
|
# @return [Types::AutoMLConfig]
|
4104
4147
|
#
|
4148
|
+
# @!attribute [rw] optimization_objective
|
4149
|
+
# Describes the additional objective for the solution, such as
|
4150
|
+
# maximizing streaming minutes or increasing revenue. For more
|
4151
|
+
# information see [Optimizing a solution][1].
|
4152
|
+
#
|
4153
|
+
#
|
4154
|
+
#
|
4155
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/optimizing-solution-for-objective.html
|
4156
|
+
# @return [Types::OptimizationObjective]
|
4157
|
+
#
|
4105
4158
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/SolutionConfig AWS API Documentation
|
4106
4159
|
#
|
4107
4160
|
class SolutionConfig < Struct.new(
|
@@ -4109,7 +4162,8 @@ module Aws::Personalize
|
|
4109
4162
|
:hpo_config,
|
4110
4163
|
:algorithm_hyper_parameters,
|
4111
4164
|
:feature_transformation_parameters,
|
4112
|
-
:auto_ml_config
|
4165
|
+
:auto_ml_config,
|
4166
|
+
:optimization_objective)
|
4113
4167
|
SENSITIVE = []
|
4114
4168
|
include Aws::Structure
|
4115
4169
|
end
|
@@ -4239,6 +4293,10 @@ module Aws::Personalize
|
|
4239
4293
|
# * ACTIVE
|
4240
4294
|
#
|
4241
4295
|
# * CREATE FAILED
|
4296
|
+
#
|
4297
|
+
# * CREATE STOPPING
|
4298
|
+
#
|
4299
|
+
# * CREATE STOPPED
|
4242
4300
|
# @return [String]
|
4243
4301
|
#
|
4244
4302
|
# @!attribute [rw] failure_reason
|
@@ -4320,6 +4378,26 @@ module Aws::Personalize
|
|
4320
4378
|
include Aws::Structure
|
4321
4379
|
end
|
4322
4380
|
|
4381
|
+
# @note When making an API call, you may pass StopSolutionVersionCreationRequest
|
4382
|
+
# data as a hash:
|
4383
|
+
#
|
4384
|
+
# {
|
4385
|
+
# solution_version_arn: "Arn", # required
|
4386
|
+
# }
|
4387
|
+
#
|
4388
|
+
# @!attribute [rw] solution_version_arn
|
4389
|
+
# The Amazon Resource Name (ARN) of the solution version you want to
|
4390
|
+
# stop creating.
|
4391
|
+
# @return [String]
|
4392
|
+
#
|
4393
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/StopSolutionVersionCreationRequest AWS API Documentation
|
4394
|
+
#
|
4395
|
+
class StopSolutionVersionCreationRequest < Struct.new(
|
4396
|
+
:solution_version_arn)
|
4397
|
+
SENSITIVE = []
|
4398
|
+
include Aws::Structure
|
4399
|
+
end
|
4400
|
+
|
4323
4401
|
# If hyperparameter optimization (HPO) was performed, contains the
|
4324
4402
|
# hyperparameter values of the best performing model.
|
4325
4403
|
#
|
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.
|
4
|
+
version: 1.28.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-
|
11
|
+
date: 2021-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|