aws-sdk-cleanroomsml 1.1.0 → 1.3.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: 76e1292a880d2c074eb608a7f61fb39b69ab3c7da4ab58556b40b2084c38a211
4
- data.tar.gz: cbc11aa2b7cf94b2e6d3fb47446962ff21f3cc6ddb2c951da485abaa20b3efb3
3
+ metadata.gz: 20d07ae0b5fec9b1c5cb41ec4fc068a026185cca22a69dbb4c46b77fa5b9547b
4
+ data.tar.gz: eed75c6adb6b07b0d59d330cc1f15b8787b86a048c15d6a9e0c04b68970aa7de
5
5
  SHA512:
6
- metadata.gz: af240f38cffe7e854a03735e602bce5baea1199f7ec51d88a4f0a72631bddb4935f02917df1b11d5171fa5dda958426f2ade7751ca4d5ef5ffd65819fce68673
7
- data.tar.gz: 796dd1f39471fba79d4ec8b399a168926480a4ce0795e2a5b147c4fa32ccb005f01accc9b5c47b29106972a9e1cec98b89290344838a5769c814525651e8fc20
6
+ metadata.gz: 4350a15a82a36e2f7c84cb241c3ba5113f0255223461d2f181a308d266ec68796cf066c07331ee42ed8274ec0c3c65b90e3396b930b9eb427f2018dfa6b505be
7
+ data.tar.gz: 6a3c062339d480d88611870bde84ed39d64b2e64446c7efe8b604ab0cea911cab8c650e9f133e56f30164d2fc4cdcc4ab0bb1a418a65fe15f2f158d7a5aeba71
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.3.0 (2024-04-03)
5
+ ------------------
6
+
7
+ * Feature - The release includes a public SDK for AWS Clean Rooms ML APIs, making them globally available to developers worldwide.
8
+
9
+ 1.2.0 (2024-01-26)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.1.0 (2023-12-05)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.3.0
@@ -432,8 +432,8 @@ module Aws::CleanRoomsML
432
432
  # * Do not use aws:, AWS:, or any upper or lowercase combination of such
433
433
  # as a prefix for keys as it is reserved for AWS use. You cannot edit
434
434
  # or delete tag keys with this prefix. Values can have this prefix. If
435
- # a tag value has aws as its prefix but the key does not, then
436
- # Forecast considers it to be a user tag and will count against the
435
+ # a tag value has aws as its prefix but the key does not, then Clean
436
+ # Rooms ML considers it to be a user tag and will count against the
437
437
  # limit of 50 tags. Tags with only the key prefix of aws do not count
438
438
  # against your tags per resource limit.
439
439
  #
@@ -512,7 +512,8 @@ module Aws::CleanRoomsML
512
512
  #
513
513
  # @option params [Integer] :min_matching_seed_size
514
514
  # The minimum number of users from the seed audience that must match
515
- # with users in the training data of the audience model.
515
+ # with users in the training data of the audience model. The default
516
+ # value is 500.
516
517
  #
517
518
  # @option params [required, String] :name
518
519
  # The name of the configured audience model.
@@ -555,8 +556,8 @@ module Aws::CleanRoomsML
555
556
  # * Do not use aws:, AWS:, or any upper or lowercase combination of such
556
557
  # as a prefix for keys as it is reserved for AWS use. You cannot edit
557
558
  # or delete tag keys with this prefix. Values can have this prefix. If
558
- # a tag value has aws as its prefix but the key does not, then
559
- # Forecast considers it to be a user tag and will count against the
559
+ # a tag value has aws as its prefix but the key does not, then Clean
560
+ # Rooms ML considers it to be a user tag and will count against the
560
561
  # limit of 50 tags. Tags with only the key prefix of aws do not count
561
562
  # against your tags per resource limit.
562
563
  #
@@ -603,10 +604,9 @@ module Aws::CleanRoomsML
603
604
  req.send_request(options)
604
605
  end
605
606
 
606
- # Defines the information necessary to create a training dataset, or
607
- # seed audience. In Clean Rooms ML, the `TrainingDataset` is metadata
608
- # that points to a Glue table, which is read only during `AudienceModel`
609
- # creation.
607
+ # Defines the information necessary to create a training dataset. In
608
+ # Clean Rooms ML, the `TrainingDataset` is metadata that points to a
609
+ # Glue table, which is read only during `AudienceModel` creation.
610
610
  #
611
611
  # @option params [String] :description
612
612
  # The description of the training dataset.
@@ -870,6 +870,7 @@ module Aws::CleanRoomsML
870
870
  # resp.create_time #=> Time
871
871
  # resp.description #=> String
872
872
  # resp.include_seed_in_output #=> Boolean
873
+ # resp.metrics.recall_metric #=> Float
873
874
  # resp.metrics.relevance_metrics #=> Array
874
875
  # resp.metrics.relevance_metrics[0].audience_size.type #=> String, one of "ABSOLUTE", "PERCENTAGE"
875
876
  # resp.metrics.relevance_metrics[0].audience_size.value #=> Integer
@@ -906,7 +907,6 @@ module Aws::CleanRoomsML
906
907
  # * {Types::GetAudienceModelResponse#create_time #create_time} => Time
907
908
  # * {Types::GetAudienceModelResponse#description #description} => String
908
909
  # * {Types::GetAudienceModelResponse#kms_key_arn #kms_key_arn} => String
909
- # * {Types::GetAudienceModelResponse#metrics #metrics} => Array<Types::AudienceModelMetric>
910
910
  # * {Types::GetAudienceModelResponse#name #name} => String
911
911
  # * {Types::GetAudienceModelResponse#status #status} => String
912
912
  # * {Types::GetAudienceModelResponse#status_details #status_details} => Types::StatusDetails
@@ -928,10 +928,6 @@ module Aws::CleanRoomsML
928
928
  # resp.create_time #=> Time
929
929
  # resp.description #=> String
930
930
  # resp.kms_key_arn #=> String
931
- # resp.metrics #=> Array
932
- # resp.metrics[0].for_top_k_item_predictions #=> Integer
933
- # resp.metrics[0].type #=> String, one of "NORMALIZED_DISCOUNTED_CUMULATIVE_GAIN", "MEAN_RECIPROCAL_RANK", "PRECISION", "RECALL"
934
- # resp.metrics[0].value #=> Float
935
931
  # resp.name #=> String
936
932
  # resp.status #=> String, one of "CREATE_PENDING", "CREATE_IN_PROGRESS", "CREATE_FAILED", "ACTIVE", "DELETE_PENDING", "DELETE_IN_PROGRESS", "DELETE_FAILED"
937
933
  # resp.status_details.message #=> String
@@ -1503,8 +1499,8 @@ module Aws::CleanRoomsML
1503
1499
  # * Do not use aws:, AWS:, or any upper or lowercase combination of such
1504
1500
  # as a prefix for keys as it is reserved for AWS use. You cannot edit
1505
1501
  # or delete tag keys with this prefix. Values can have this prefix. If
1506
- # a tag value has aws as its prefix but the key does not, then
1507
- # Forecast considers it to be a user tag and will count against the
1502
+ # a tag value has aws as its prefix but the key does not, then Clean
1503
+ # Rooms ML considers it to be a user tag and will count against the
1508
1504
  # limit of 50 tags. Tags with only the key prefix of aws do not count
1509
1505
  # against your tags per resource limit.
1510
1506
  #
@@ -1577,9 +1573,9 @@ module Aws::CleanRoomsML
1577
1573
  # * Do not use aws:, AWS:, or any upper or lowercase combination of such
1578
1574
  # as a prefix for keys as it is reserved for AWS use. You cannot edit
1579
1575
  # or delete tag keys with this prefix. Values can have this prefix. If
1580
- # a tag value has aws as its prefix but the key does not, then
1581
- # Forecast considers it to be a user tag and will count against the
1582
- # limit of 50 tags. Tags with only the key prefix of aws do not count
1576
+ # a tag value has aws as its prefix but the key does not, then Clean
1577
+ # Rooms considers it to be a user tag and will count against the limit
1578
+ # of 50 tags. Tags with only the key prefix of aws do not count
1583
1579
  # against your tags per resource limit.
1584
1580
  #
1585
1581
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
@@ -1709,7 +1705,7 @@ module Aws::CleanRoomsML
1709
1705
  params: params,
1710
1706
  config: config)
1711
1707
  context[:gem_name] = 'aws-sdk-cleanroomsml'
1712
- context[:gem_version] = '1.1.0'
1708
+ context[:gem_version] = '1.3.0'
1713
1709
  Seahorse::Client::Request.new(handlers, context)
1714
1710
  end
1715
1711
 
@@ -26,9 +26,6 @@ module Aws::CleanRoomsML
26
26
  AudienceGenerationJobSummary = Shapes::StructureShape.new(name: 'AudienceGenerationJobSummary')
27
27
  AudienceModelArn = Shapes::StringShape.new(name: 'AudienceModelArn')
28
28
  AudienceModelList = Shapes::ListShape.new(name: 'AudienceModelList')
29
- AudienceModelMetric = Shapes::StructureShape.new(name: 'AudienceModelMetric')
30
- AudienceModelMetricType = Shapes::StringShape.new(name: 'AudienceModelMetricType')
31
- AudienceModelMetrics = Shapes::ListShape.new(name: 'AudienceModelMetrics')
32
29
  AudienceModelStatus = Shapes::StringShape.new(name: 'AudienceModelStatus')
33
30
  AudienceModelSummary = Shapes::StructureShape.new(name: 'AudienceModelSummary')
34
31
  AudienceQualityMetrics = Shapes::StructureShape.new(name: 'AudienceQualityMetrics')
@@ -82,7 +79,6 @@ module Aws::CleanRoomsML
82
79
  GlueTableName = Shapes::StringShape.new(name: 'GlueTableName')
83
80
  Hash = Shapes::StringShape.new(name: 'Hash')
84
81
  IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
85
- Integer = Shapes::IntegerShape.new(name: 'Integer')
86
82
  KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
87
83
  ListAudienceExportJobsRequest = Shapes::StructureShape.new(name: 'ListAudienceExportJobsRequest')
88
84
  ListAudienceExportJobsResponse = Shapes::StructureShape.new(name: 'ListAudienceExportJobsResponse')
@@ -176,13 +172,6 @@ module Aws::CleanRoomsML
176
172
 
177
173
  AudienceModelList.member = Shapes::ShapeRef.new(shape: AudienceModelSummary)
178
174
 
179
- AudienceModelMetric.add_member(:for_top_k_item_predictions, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "forTopKItemPredictions"))
180
- AudienceModelMetric.add_member(:type, Shapes::ShapeRef.new(shape: AudienceModelMetricType, required: true, location_name: "type"))
181
- AudienceModelMetric.add_member(:value, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "value"))
182
- AudienceModelMetric.struct_class = Types::AudienceModelMetric
183
-
184
- AudienceModelMetrics.member = Shapes::ShapeRef.new(shape: AudienceModelMetric)
185
-
186
175
  AudienceModelSummary.add_member(:audience_model_arn, Shapes::ShapeRef.new(shape: AudienceModelArn, required: true, location_name: "audienceModelArn"))
187
176
  AudienceModelSummary.add_member(:create_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createTime"))
188
177
  AudienceModelSummary.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "description"))
@@ -192,6 +181,7 @@ module Aws::CleanRoomsML
192
181
  AudienceModelSummary.add_member(:update_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "updateTime"))
193
182
  AudienceModelSummary.struct_class = Types::AudienceModelSummary
194
183
 
184
+ AudienceQualityMetrics.add_member(:recall_metric, Shapes::ShapeRef.new(shape: Double, location_name: "recallMetric"))
195
185
  AudienceQualityMetrics.add_member(:relevance_metrics, Shapes::ShapeRef.new(shape: RelevanceMetrics, required: true, location_name: "relevanceMetrics"))
196
186
  AudienceQualityMetrics.struct_class = Types::AudienceQualityMetrics
197
187
 
@@ -324,7 +314,6 @@ module Aws::CleanRoomsML
324
314
  GetAudienceModelResponse.add_member(:create_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createTime"))
325
315
  GetAudienceModelResponse.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "description"))
326
316
  GetAudienceModelResponse.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
327
- GetAudienceModelResponse.add_member(:metrics, Shapes::ShapeRef.new(shape: AudienceModelMetrics, location_name: "metrics"))
328
317
  GetAudienceModelResponse.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "name"))
329
318
  GetAudienceModelResponse.add_member(:status, Shapes::ShapeRef.new(shape: AudienceModelStatus, required: true, location_name: "status"))
330
319
  GetAudienceModelResponse.add_member(:status_details, Shapes::ShapeRef.new(shape: StatusDetails, location_name: "statusDetails"))
@@ -14,6 +14,7 @@ module Aws::CleanRoomsML
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::CleanRoomsML::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -93,12 +93,19 @@ module Aws::CleanRoomsML
93
93
  include Aws::Structure
94
94
  end
95
95
 
96
- # Defines the Amazon S3 bucket where the training data for the
97
- # configured audience is stored.
96
+ # Defines the Amazon S3 bucket where the seed audience for the
97
+ # generating audience is stored.
98
98
  #
99
99
  # @!attribute [rw] data_source
100
- # The Amazon S3 bucket where the training data for the configured
101
- # audience is stored.
100
+ # Defines the Amazon S3 bucket where the seed audience for the
101
+ # generating audience is stored. A valid data source is a JSON line
102
+ # file in the following format:
103
+ #
104
+ # `\{"user_id": "111111"\}`
105
+ #
106
+ # `\{"user_id": "222222"\}`
107
+ #
108
+ # `...`
102
109
  # @return [Types::S3ConfigMap]
103
110
  #
104
111
  # @!attribute [rw] role_arn
@@ -172,30 +179,6 @@ module Aws::CleanRoomsML
172
179
  include Aws::Structure
173
180
  end
174
181
 
175
- # The audience model metrics.
176
- #
177
- # @!attribute [rw] for_top_k_item_predictions
178
- # The number of users that were used to generate these model metrics.
179
- # @return [Integer]
180
- #
181
- # @!attribute [rw] type
182
- # The audience model metric.
183
- # @return [String]
184
- #
185
- # @!attribute [rw] value
186
- # The value of the audience model metric
187
- # @return [Float]
188
- #
189
- # @see http://docs.aws.amazon.com/goto/WebAPI/cleanroomsml-2023-09-06/AudienceModelMetric AWS API Documentation
190
- #
191
- class AudienceModelMetric < Struct.new(
192
- :for_top_k_item_predictions,
193
- :type,
194
- :value)
195
- SENSITIVE = []
196
- include Aws::Structure
197
- end
198
-
199
182
  # Information about the audience model.
200
183
  #
201
184
  # @!attribute [rw] audience_model_arn
@@ -243,6 +226,16 @@ module Aws::CleanRoomsML
243
226
 
244
227
  # Metrics that describe the quality of the generated audience.
245
228
  #
229
+ # @!attribute [rw] recall_metric
230
+ # The recall score of the generated audience. Recall is the percentage
231
+ # of the most similar users (by default, the most similar 20%) from a
232
+ # sample of the training data that are included in the seed audience
233
+ # by the audience generation job. Values range from 0-1, larger values
234
+ # indicate a better audience. A recall value approximately equal to
235
+ # the maximum bin size indicates that the audience model is equivalent
236
+ # to random selection.
237
+ # @return [Float]
238
+ #
246
239
  # @!attribute [rw] relevance_metrics
247
240
  # The relevance scores of the generated audience.
248
241
  # @return [Array<Types::RelevanceMetric>]
@@ -250,6 +243,7 @@ module Aws::CleanRoomsML
250
243
  # @see http://docs.aws.amazon.com/goto/WebAPI/cleanroomsml-2023-09-06/AudienceQualityMetrics AWS API Documentation
251
244
  #
252
245
  class AudienceQualityMetrics < Struct.new(
246
+ :recall_metric,
253
247
  :relevance_metrics)
254
248
  SENSITIVE = []
255
249
  include Aws::Structure
@@ -397,7 +391,8 @@ module Aws::CleanRoomsML
397
391
  include Aws::Structure
398
392
  end
399
393
 
400
- # A resource with that name already exists in this region.
394
+ # You can't complete this action because another resource depends on
395
+ # this resource.
401
396
  #
402
397
  # @!attribute [rw] message
403
398
  # @return [String]
@@ -452,9 +447,9 @@ module Aws::CleanRoomsML
452
447
  # such as a prefix for keys as it is reserved for AWS use. You
453
448
  # cannot edit or delete tag keys with this prefix. Values can have
454
449
  # this prefix. If a tag value has aws as its prefix but the key does
455
- # not, then Forecast considers it to be a user tag and will count
456
- # against the limit of 50 tags. Tags with only the key prefix of aws
457
- # do not count against your tags per resource limit.
450
+ # not, then Clean Rooms ML considers it to be a user tag and will
451
+ # count against the limit of 50 tags. Tags with only the key prefix
452
+ # of aws do not count against your tags per resource limit.
458
453
  # @return [Hash<String,String>]
459
454
  #
460
455
  # @!attribute [rw] training_data_end_time
@@ -531,7 +526,8 @@ module Aws::CleanRoomsML
531
526
  #
532
527
  # @!attribute [rw] min_matching_seed_size
533
528
  # The minimum number of users from the seed audience that must match
534
- # with users in the training data of the audience model.
529
+ # with users in the training data of the audience model. The default
530
+ # value is 500.
535
531
  # @return [Integer]
536
532
  #
537
533
  # @!attribute [rw] name
@@ -579,9 +575,9 @@ module Aws::CleanRoomsML
579
575
  # such as a prefix for keys as it is reserved for AWS use. You
580
576
  # cannot edit or delete tag keys with this prefix. Values can have
581
577
  # this prefix. If a tag value has aws as its prefix but the key does
582
- # not, then Forecast considers it to be a user tag and will count
583
- # against the limit of 50 tags. Tags with only the key prefix of aws
584
- # do not count against your tags per resource limit.
578
+ # not, then Clean Rooms ML considers it to be a user tag and will
579
+ # count against the limit of 50 tags. Tags with only the key prefix
580
+ # of aws do not count against your tags per resource limit.
585
581
  # @return [Hash<String,String>]
586
582
  #
587
583
  # @see http://docs.aws.amazon.com/goto/WebAPI/cleanroomsml-2023-09-06/CreateConfiguredAudienceModelRequest AWS API Documentation
@@ -861,7 +857,8 @@ module Aws::CleanRoomsML
861
857
  # @return [Boolean]
862
858
  #
863
859
  # @!attribute [rw] metrics
864
- # The relevance scores for different audience sizes.
860
+ # The relevance scores for different audience sizes and the recall
861
+ # score of the generated audience.
865
862
  # @return [Types::AudienceQualityMetrics]
866
863
  #
867
864
  # @!attribute [rw] name
@@ -945,10 +942,6 @@ module Aws::CleanRoomsML
945
942
  # The KMS key ARN used for the audience model.
946
943
  # @return [String]
947
944
  #
948
- # @!attribute [rw] metrics
949
- # Accuracy metrics for the model.
950
- # @return [Array<Types::AudienceModelMetric>]
951
- #
952
945
  # @!attribute [rw] name
953
946
  # The name of the audience model.
954
947
  # @return [String]
@@ -989,7 +982,6 @@ module Aws::CleanRoomsML
989
982
  :create_time,
990
983
  :description,
991
984
  :kms_key_arn,
992
- :metrics,
993
985
  :name,
994
986
  :status,
995
987
  :status_details,
@@ -1639,9 +1631,9 @@ module Aws::CleanRoomsML
1639
1631
  # such as a prefix for keys as it is reserved for AWS use. You
1640
1632
  # cannot edit or delete tag keys with this prefix. Values can have
1641
1633
  # this prefix. If a tag value has aws as its prefix but the key does
1642
- # not, then Forecast considers it to be a user tag and will count
1643
- # against the limit of 50 tags. Tags with only the key prefix of aws
1644
- # do not count against your tags per resource limit.
1634
+ # not, then Clean Rooms ML considers it to be a user tag and will
1635
+ # count against the limit of 50 tags. Tags with only the key prefix
1636
+ # of aws do not count against your tags per resource limit.
1645
1637
  # @return [Hash<String,String>]
1646
1638
  #
1647
1639
  # @see http://docs.aws.amazon.com/goto/WebAPI/cleanroomsml-2023-09-06/StartAudienceGenerationJobRequest AWS API Documentation
@@ -1726,7 +1718,7 @@ module Aws::CleanRoomsML
1726
1718
  # such as a prefix for keys as it is reserved for AWS use. You
1727
1719
  # cannot edit or delete tag keys with this prefix. Values can have
1728
1720
  # this prefix. If a tag value has aws as its prefix but the key does
1729
- # not, then Forecast considers it to be a user tag and will count
1721
+ # not, then Clean Rooms considers it to be a user tag and will count
1730
1722
  # against the limit of 50 tags. Tags with only the key prefix of aws
1731
1723
  # do not count against your tags per resource limit.
1732
1724
  # @return [Hash<String,String>]
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-cleanroomsml/customizations'
52
52
  # @!group service
53
53
  module Aws::CleanRoomsML
54
54
 
55
- GEM_VERSION = '1.1.0'
55
+ GEM_VERSION = '1.3.0'
56
56
 
57
57
  end