aws-sdk-personalize 1.79.0 → 1.80.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: ccde37a1846e44b941c5c1365e7f7cfa2066906b03cb5e3eb546560050eddb46
4
- data.tar.gz: 862795db6e148698597d37f8482b77950012c1cd7fba4a282aaa0c12bcf0b404
3
+ metadata.gz: c0bcb5d3d3fea0384d2fd07194e367ae52e713060d39d8d1eff58fc460610b51
4
+ data.tar.gz: d256a4fe1c74237bd8e82b53766ec06c6681b1a67111f6f25335dcc475090001
5
5
  SHA512:
6
- metadata.gz: 2c5b79172a5c49791278649554bef9ff117e13168b85ab2e1d3cd28a8b0582a452fec0ca78211e55367c775b4120bd8a7685611b4e4ba6a857c9cb01ae8aabe1
7
- data.tar.gz: ed20d66e4952f7e4fd37cfd4e68c4046c0c199d2a0b63ad0b98289d54452ac897c7e5a75aa1ba7226758ad903f8b7596640d1ed36756bc02aaf17eb30dd63a4d
6
+ metadata.gz: 9c77f3c9f452a857b3122496618235a948fb7a3f68d14b2a4e5ff8cc35fa323756723b2d6fea1b364a8357a8a0ebaba18e95a32e6f72aa95becb76344f47901e
7
+ data.tar.gz: bc4ca147516b798002f8d8ab2c86bf3dbcdaf60296f57cec81cd51f6c57807ef4711c2b7e01b591b54c7ea30c9a48a890f78dfc5a1742254547c49f74153c979
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.80.0 (2025-04-07)
5
+ ------------------
6
+
7
+ * Feature - Add support for eventsConfig for CreateSolution, UpdateSolution, DescribeSolution, DescribeSolutionVersion. Add support for GetSolutionMetrics to return weighted NDCG metrics when eventsConfig is enabled for the solution.
8
+
4
9
  1.79.0 (2025-02-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.79.0
1
+ 1.80.0
@@ -2097,6 +2097,15 @@ module Aws::Personalize
2097
2097
  # metric_name: "MetricName",
2098
2098
  # recipe_list: ["Arn"],
2099
2099
  # },
2100
+ # events_config: {
2101
+ # event_parameters_list: [
2102
+ # {
2103
+ # event_type: "EventType",
2104
+ # event_value_threshold: 1.0,
2105
+ # weight: 1.0,
2106
+ # },
2107
+ # ],
2108
+ # },
2100
2109
  # optimization_objective: {
2101
2110
  # item_attribute: "ItemAttribute",
2102
2111
  # objective_sensitivity: "LOW", # accepts LOW, MEDIUM, HIGH, OFF
@@ -2286,12 +2295,12 @@ module Aws::Personalize
2286
2295
 
2287
2296
  # Deletes a dataset. You can't delete a dataset if an associated
2288
2297
  # `DatasetImportJob` or `SolutionVersion` is in the CREATE PENDING or IN
2289
- # PROGRESS state. For more information on datasets, see
2290
- # [CreateDataset][1].
2298
+ # PROGRESS state. For more information about deleting datasets, see
2299
+ # [Deleting a dataset][1].
2291
2300
  #
2292
2301
  #
2293
2302
  #
2294
- # [1]: https://docs.aws.amazon.com/personalize/latest/dg/API_CreateDataset.html
2303
+ # [1]: https://docs.aws.amazon.com/personalize/latest/dg/delete-dataset.html
2295
2304
  #
2296
2305
  # @option params [required, String] :dataset_arn
2297
2306
  # The Amazon Resource Name (ARN) of the dataset to delete.
@@ -3301,6 +3310,10 @@ module Aws::Personalize
3301
3310
  # resp.solution.solution_config.auto_ml_config.metric_name #=> String
3302
3311
  # resp.solution.solution_config.auto_ml_config.recipe_list #=> Array
3303
3312
  # resp.solution.solution_config.auto_ml_config.recipe_list[0] #=> String
3313
+ # resp.solution.solution_config.events_config.event_parameters_list #=> Array
3314
+ # resp.solution.solution_config.events_config.event_parameters_list[0].event_type #=> String
3315
+ # resp.solution.solution_config.events_config.event_parameters_list[0].event_value_threshold #=> Float
3316
+ # resp.solution.solution_config.events_config.event_parameters_list[0].weight #=> Float
3304
3317
  # resp.solution.solution_config.optimization_objective.item_attribute #=> String
3305
3318
  # resp.solution.solution_config.optimization_objective.objective_sensitivity #=> String, one of "LOW", "MEDIUM", "HIGH", "OFF"
3306
3319
  # resp.solution.solution_config.training_data_config.excluded_dataset_columns #=> Hash
@@ -3319,6 +3332,10 @@ module Aws::Personalize
3319
3332
  # resp.solution.latest_solution_version.last_updated_date_time #=> Time
3320
3333
  # resp.solution.latest_solution_version.failure_reason #=> String
3321
3334
  # resp.solution.latest_solution_update.solution_update_config.auto_training_config.scheduling_expression #=> String
3335
+ # resp.solution.latest_solution_update.solution_update_config.events_config.event_parameters_list #=> Array
3336
+ # resp.solution.latest_solution_update.solution_update_config.events_config.event_parameters_list[0].event_type #=> String
3337
+ # resp.solution.latest_solution_update.solution_update_config.events_config.event_parameters_list[0].event_value_threshold #=> Float
3338
+ # resp.solution.latest_solution_update.solution_update_config.events_config.event_parameters_list[0].weight #=> Float
3322
3339
  # resp.solution.latest_solution_update.status #=> String
3323
3340
  # resp.solution.latest_solution_update.perform_auto_training #=> Boolean
3324
3341
  # resp.solution.latest_solution_update.creation_date_time #=> Time
@@ -3389,6 +3406,10 @@ module Aws::Personalize
3389
3406
  # resp.solution_version.solution_config.auto_ml_config.metric_name #=> String
3390
3407
  # resp.solution_version.solution_config.auto_ml_config.recipe_list #=> Array
3391
3408
  # resp.solution_version.solution_config.auto_ml_config.recipe_list[0] #=> String
3409
+ # resp.solution_version.solution_config.events_config.event_parameters_list #=> Array
3410
+ # resp.solution_version.solution_config.events_config.event_parameters_list[0].event_type #=> String
3411
+ # resp.solution_version.solution_config.events_config.event_parameters_list[0].event_value_threshold #=> Float
3412
+ # resp.solution_version.solution_config.events_config.event_parameters_list[0].weight #=> Float
3392
3413
  # resp.solution_version.solution_config.optimization_objective.item_attribute #=> String
3393
3414
  # resp.solution_version.solution_config.optimization_objective.objective_sensitivity #=> String, one of "LOW", "MEDIUM", "HIGH", "OFF"
3394
3415
  # resp.solution_version.solution_config.training_data_config.excluded_dataset_columns #=> Hash
@@ -4855,6 +4876,15 @@ module Aws::Personalize
4855
4876
  # auto_training_config: {
4856
4877
  # scheduling_expression: "SchedulingExpression",
4857
4878
  # },
4879
+ # events_config: {
4880
+ # event_parameters_list: [
4881
+ # {
4882
+ # event_type: "EventType",
4883
+ # event_value_threshold: 1.0,
4884
+ # weight: 1.0,
4885
+ # },
4886
+ # ],
4887
+ # },
4858
4888
  # },
4859
4889
  # })
4860
4890
  #
@@ -4889,7 +4919,7 @@ module Aws::Personalize
4889
4919
  tracer: tracer
4890
4920
  )
4891
4921
  context[:gem_name] = 'aws-sdk-personalize'
4892
- context[:gem_version] = '1.79.0'
4922
+ context[:gem_version] = '1.80.0'
4893
4923
  Seahorse::Client::Request.new(handlers, context)
4894
4924
  end
4895
4925
 
@@ -159,11 +159,16 @@ module Aws::Personalize
159
159
  DockerURI = Shapes::StringShape.new(name: 'DockerURI')
160
160
  Domain = Shapes::StringShape.new(name: 'Domain')
161
161
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
162
+ EventParameters = Shapes::StructureShape.new(name: 'EventParameters')
163
+ EventParametersList = Shapes::ListShape.new(name: 'EventParametersList')
162
164
  EventTracker = Shapes::StructureShape.new(name: 'EventTracker')
163
165
  EventTrackerSummary = Shapes::StructureShape.new(name: 'EventTrackerSummary')
164
166
  EventTrackers = Shapes::ListShape.new(name: 'EventTrackers')
165
167
  EventType = Shapes::StringShape.new(name: 'EventType')
168
+ EventTypeThresholdValue = Shapes::FloatShape.new(name: 'EventTypeThresholdValue')
169
+ EventTypeWeight = Shapes::FloatShape.new(name: 'EventTypeWeight')
166
170
  EventValueThreshold = Shapes::StringShape.new(name: 'EventValueThreshold')
171
+ EventsConfig = Shapes::StructureShape.new(name: 'EventsConfig')
167
172
  ExcludedDatasetColumns = Shapes::MapShape.new(name: 'ExcludedDatasetColumns')
168
173
  FailureReason = Shapes::StringShape.new(name: 'FailureReason')
169
174
  FeatureTransformation = Shapes::StructureShape.new(name: 'FeatureTransformation')
@@ -935,6 +940,13 @@ module Aws::Personalize
935
940
  DescribeSolutionVersionResponse.add_member(:solution_version, Shapes::ShapeRef.new(shape: SolutionVersion, location_name: "solutionVersion"))
936
941
  DescribeSolutionVersionResponse.struct_class = Types::DescribeSolutionVersionResponse
937
942
 
943
+ EventParameters.add_member(:event_type, Shapes::ShapeRef.new(shape: EventType, location_name: "eventType"))
944
+ EventParameters.add_member(:event_value_threshold, Shapes::ShapeRef.new(shape: EventTypeThresholdValue, location_name: "eventValueThreshold"))
945
+ EventParameters.add_member(:weight, Shapes::ShapeRef.new(shape: EventTypeWeight, location_name: "weight"))
946
+ EventParameters.struct_class = Types::EventParameters
947
+
948
+ EventParametersList.member = Shapes::ShapeRef.new(shape: EventParameters)
949
+
938
950
  EventTracker.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
939
951
  EventTracker.add_member(:event_tracker_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "eventTrackerArn"))
940
952
  EventTracker.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
@@ -954,6 +966,9 @@ module Aws::Personalize
954
966
 
955
967
  EventTrackers.member = Shapes::ShapeRef.new(shape: EventTrackerSummary)
956
968
 
969
+ EventsConfig.add_member(:event_parameters_list, Shapes::ShapeRef.new(shape: EventParametersList, location_name: "eventParametersList"))
970
+ EventsConfig.struct_class = Types::EventsConfig
971
+
957
972
  ExcludedDatasetColumns.key = Shapes::ShapeRef.new(shape: DatasetType)
958
973
  ExcludedDatasetColumns.value = Shapes::ShapeRef.new(shape: ColumnNamesList)
959
974
 
@@ -1337,6 +1352,7 @@ module Aws::Personalize
1337
1352
  SolutionConfig.add_member(:algorithm_hyper_parameters, Shapes::ShapeRef.new(shape: HyperParameters, location_name: "algorithmHyperParameters"))
1338
1353
  SolutionConfig.add_member(:feature_transformation_parameters, Shapes::ShapeRef.new(shape: FeatureTransformationParameters, location_name: "featureTransformationParameters"))
1339
1354
  SolutionConfig.add_member(:auto_ml_config, Shapes::ShapeRef.new(shape: AutoMLConfig, location_name: "autoMLConfig"))
1355
+ SolutionConfig.add_member(:events_config, Shapes::ShapeRef.new(shape: EventsConfig, location_name: "eventsConfig"))
1340
1356
  SolutionConfig.add_member(:optimization_objective, Shapes::ShapeRef.new(shape: OptimizationObjective, location_name: "optimizationObjective"))
1341
1357
  SolutionConfig.add_member(:training_data_config, Shapes::ShapeRef.new(shape: TrainingDataConfig, location_name: "trainingDataConfig"))
1342
1358
  SolutionConfig.add_member(:auto_training_config, Shapes::ShapeRef.new(shape: AutoTrainingConfig, location_name: "autoTrainingConfig"))
@@ -1351,6 +1367,7 @@ module Aws::Personalize
1351
1367
  SolutionSummary.struct_class = Types::SolutionSummary
1352
1368
 
1353
1369
  SolutionUpdateConfig.add_member(:auto_training_config, Shapes::ShapeRef.new(shape: AutoTrainingConfig, location_name: "autoTrainingConfig"))
1370
+ SolutionUpdateConfig.add_member(:events_config, Shapes::ShapeRef.new(shape: EventsConfig, location_name: "eventsConfig"))
1354
1371
  SolutionUpdateConfig.struct_class = Types::SolutionUpdateConfig
1355
1372
 
1356
1373
  SolutionUpdateSummary.add_member(:solution_update_config, Shapes::ShapeRef.new(shape: SolutionUpdateConfig, location_name: "solutionUpdateConfig"))
@@ -3379,6 +3379,33 @@ module Aws::Personalize
3379
3379
  include Aws::Structure
3380
3380
  end
3381
3381
 
3382
+ # Describes the parameters of events, which are used in solution
3383
+ # creation.
3384
+ #
3385
+ # @!attribute [rw] event_type
3386
+ # The name of the event type to be considered for solution creation.
3387
+ # @return [String]
3388
+ #
3389
+ # @!attribute [rw] event_value_threshold
3390
+ # The threshold of the event type. Only events with a value greater or
3391
+ # equal to this threshold will be considered for solution creation.
3392
+ # @return [Float]
3393
+ #
3394
+ # @!attribute [rw] weight
3395
+ # The weight of the event type. A higher weight means higher
3396
+ # importance of the event type for the created solution.
3397
+ # @return [Float]
3398
+ #
3399
+ # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/EventParameters AWS API Documentation
3400
+ #
3401
+ class EventParameters < Struct.new(
3402
+ :event_type,
3403
+ :event_value_threshold,
3404
+ :weight)
3405
+ SENSITIVE = []
3406
+ include Aws::Structure
3407
+ end
3408
+
3382
3409
  # Provides information about an event tracker.
3383
3410
  #
3384
3411
  # @!attribute [rw] name
@@ -3490,6 +3517,22 @@ module Aws::Personalize
3490
3517
  include Aws::Structure
3491
3518
  end
3492
3519
 
3520
+ # Describes the configuration of events, which are used in solution
3521
+ # creation.
3522
+ #
3523
+ # @!attribute [rw] event_parameters_list
3524
+ # A list of event parameters, which includes event types and their
3525
+ # event value thresholds and weights.
3526
+ # @return [Array<Types::EventParameters>]
3527
+ #
3528
+ # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/EventsConfig AWS API Documentation
3529
+ #
3530
+ class EventsConfig < Struct.new(
3531
+ :event_parameters_list)
3532
+ SENSITIVE = []
3533
+ include Aws::Structure
3534
+ end
3535
+
3493
3536
  # Provides feature transformation information. Feature transformation is
3494
3537
  # the process of modifying raw input data into a form more suitable for
3495
3538
  # model training.
@@ -5364,6 +5407,12 @@ module Aws::Personalize
5364
5407
  # [1]: https://docs.aws.amazon.com/personalize/latest/dg/API_AutoMLConfig.html
5365
5408
  # @return [Types::AutoMLConfig]
5366
5409
  #
5410
+ # @!attribute [rw] events_config
5411
+ # Describes the configuration of an event, which includes a list of
5412
+ # event parameters. You can specify up to 10 event parameters. Events
5413
+ # are used in solution creation.
5414
+ # @return [Types::EventsConfig]
5415
+ #
5367
5416
  # @!attribute [rw] optimization_objective
5368
5417
  # Describes the additional objective for the solution, such as
5369
5418
  # maximizing streaming minutes or increasing revenue. For more
@@ -5391,6 +5440,7 @@ module Aws::Personalize
5391
5440
  :algorithm_hyper_parameters,
5392
5441
  :feature_transformation_parameters,
5393
5442
  :auto_ml_config,
5443
+ :events_config,
5394
5444
  :optimization_objective,
5395
5445
  :training_data_config,
5396
5446
  :auto_training_config)
@@ -5456,10 +5506,17 @@ module Aws::Personalize
5456
5506
  # `performAutoTraining` is true.
5457
5507
  # @return [Types::AutoTrainingConfig]
5458
5508
  #
5509
+ # @!attribute [rw] events_config
5510
+ # Describes the configuration of an event, which includes a list of
5511
+ # event parameters. You can specify up to 10 event parameters. Events
5512
+ # are used in solution creation.
5513
+ # @return [Types::EventsConfig]
5514
+ #
5459
5515
  # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/SolutionUpdateConfig AWS API Documentation
5460
5516
  #
5461
5517
  class SolutionUpdateConfig < Struct.new(
5462
- :auto_training_config)
5518
+ :auto_training_config,
5519
+ :events_config)
5463
5520
  SENSITIVE = []
5464
5521
  include Aws::Structure
5465
5522
  end
@@ -5787,7 +5844,7 @@ module Aws::Personalize
5787
5844
  class Tag < Struct.new(
5788
5845
  :tag_key,
5789
5846
  :tag_value)
5790
- SENSITIVE = []
5847
+ SENSITIVE = [:tag_key, :tag_value]
5791
5848
  include Aws::Structure
5792
5849
  end
5793
5850
 
@@ -5911,7 +5968,7 @@ module Aws::Personalize
5911
5968
  class UntagResourceRequest < Struct.new(
5912
5969
  :resource_arn,
5913
5970
  :tag_keys)
5914
- SENSITIVE = []
5971
+ SENSITIVE = [:tag_keys]
5915
5972
  include Aws::Structure
5916
5973
  end
5917
5974
 
@@ -54,7 +54,7 @@ module Aws::Personalize
54
54
  autoload :EndpointProvider, 'aws-sdk-personalize/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-personalize/endpoints'
56
56
 
57
- GEM_VERSION = '1.79.0'
57
+ GEM_VERSION = '1.80.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -435,6 +435,15 @@ module Aws
435
435
  metric_name: ::String?,
436
436
  recipe_list: Array[::String]?
437
437
  }?,
438
+ events_config: {
439
+ event_parameters_list: Array[
440
+ {
441
+ event_type: ::String?,
442
+ event_value_threshold: ::Float?,
443
+ weight: ::Float?
444
+ },
445
+ ]?
446
+ }?,
438
447
  optimization_objective: {
439
448
  item_attribute: ::String?,
440
449
  objective_sensitivity: ("LOW" | "MEDIUM" | "HIGH" | "OFF")?
@@ -1081,6 +1090,15 @@ module Aws
1081
1090
  ?solution_update_config: {
1082
1091
  auto_training_config: {
1083
1092
  scheduling_expression: ::String?
1093
+ }?,
1094
+ events_config: {
1095
+ event_parameters_list: Array[
1096
+ {
1097
+ event_type: ::String?,
1098
+ event_value_threshold: ::Float?,
1099
+ weight: ::Float?
1100
+ },
1101
+ ]?
1084
1102
  }?
1085
1103
  }
1086
1104
  ) -> _UpdateSolutionResponseSuccess
data/sig/types.rbs CHANGED
@@ -819,6 +819,13 @@ module Aws::Personalize
819
819
  SENSITIVE: []
820
820
  end
821
821
 
822
+ class EventParameters
823
+ attr_accessor event_type: ::String
824
+ attr_accessor event_value_threshold: ::Float
825
+ attr_accessor weight: ::Float
826
+ SENSITIVE: []
827
+ end
828
+
822
829
  class EventTracker
823
830
  attr_accessor name: ::String
824
831
  attr_accessor event_tracker_arn: ::String
@@ -840,6 +847,11 @@ module Aws::Personalize
840
847
  SENSITIVE: []
841
848
  end
842
849
 
850
+ class EventsConfig
851
+ attr_accessor event_parameters_list: ::Array[Types::EventParameters]
852
+ SENSITIVE: []
853
+ end
854
+
843
855
  class FeatureTransformation
844
856
  attr_accessor name: ::String
845
857
  attr_accessor feature_transformation_arn: ::String
@@ -1322,6 +1334,7 @@ module Aws::Personalize
1322
1334
  attr_accessor algorithm_hyper_parameters: ::Hash[::String, ::String]
1323
1335
  attr_accessor feature_transformation_parameters: ::Hash[::String, ::String]
1324
1336
  attr_accessor auto_ml_config: Types::AutoMLConfig
1337
+ attr_accessor events_config: Types::EventsConfig
1325
1338
  attr_accessor optimization_objective: Types::OptimizationObjective
1326
1339
  attr_accessor training_data_config: Types::TrainingDataConfig
1327
1340
  attr_accessor auto_training_config: Types::AutoTrainingConfig
@@ -1340,6 +1353,7 @@ module Aws::Personalize
1340
1353
 
1341
1354
  class SolutionUpdateConfig
1342
1355
  attr_accessor auto_training_config: Types::AutoTrainingConfig
1356
+ attr_accessor events_config: Types::EventsConfig
1343
1357
  SENSITIVE: []
1344
1358
  end
1345
1359
 
@@ -1413,7 +1427,7 @@ module Aws::Personalize
1413
1427
  class Tag
1414
1428
  attr_accessor tag_key: ::String
1415
1429
  attr_accessor tag_value: ::String
1416
- SENSITIVE: []
1430
+ SENSITIVE: [:tag_key, :tag_value]
1417
1431
  end
1418
1432
 
1419
1433
  class TagResourceRequest
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.79.0
4
+ version: 1.80.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: 2025-02-18 00:00:00.000000000 Z
11
+ date: 2025-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core