Skip to content

Commit 5cdcdaa

Browse files
author
AWS
committed
AWS Clean Rooms ML Update: The release includes a public SDK for AWS Clean Rooms ML APIs, making them globally available to developers worldwide.
1 parent 487efdf commit 5cdcdaa

File tree

2 files changed

+21
-56
lines changed

2 files changed

+21
-56
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Clean Rooms ML",
4+
"contributor": "",
5+
"description": "The release includes a public SDK for AWS Clean Rooms ML APIs, making them globally available to developers worldwide."
6+
}

services/cleanroomsml/src/main/resources/codegen-resources/service-2.json

Lines changed: 15 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
{"shape":"ValidationException"},
6565
{"shape":"AccessDeniedException"}
6666
],
67-
"documentation":"<p>Defines the information necessary to create a training dataset, or seed audience. In Clean Rooms ML, the <code>TrainingDataset</code> is metadata that points to a Glue table, which is read only during <code>AudienceModel</code> creation.</p>",
67+
"documentation":"<p>Defines the information necessary to create a training dataset. In Clean Rooms ML, the <code>TrainingDataset</code> is metadata that points to a Glue table, which is read only during <code>AudienceModel</code> creation.</p>",
6868
"idempotent":true
6969
},
7070
"DeleteAudienceGenerationJob":{
@@ -531,14 +531,14 @@
531531
"members":{
532532
"dataSource":{
533533
"shape":"S3ConfigMap",
534-
"documentation":"<p>The Amazon S3 bucket where the training data for the configured audience is stored.</p>"
534+
"documentation":"<p>Defines the Amazon S3 bucket where the seed audience for the generating audience is stored. A valid data source is a JSON line file in the following format:</p> <p> <code>{\"user_id\": \"111111\"}</code> </p> <p> <code>{\"user_id\": \"222222\"}</code> </p> <p> <code>...</code> </p>"
535535
},
536536
"roleArn":{
537537
"shape":"IamRoleArn",
538538
"documentation":"<p>The ARN of the IAM role that can read the Amazon S3 bucket where the training data is stored.</p>"
539539
}
540540
},
541-
"documentation":"<p>Defines the Amazon S3 bucket where the training data for the configured audience is stored.</p>"
541+
"documentation":"<p>Defines the Amazon S3 bucket where the seed audience for the generating audience is stored.</p>"
542542
},
543543
"AudienceGenerationJobList":{
544544
"type":"list",
@@ -616,42 +616,6 @@
616616
"type":"list",
617617
"member":{"shape":"AudienceModelSummary"}
618618
},
619-
"AudienceModelMetric":{
620-
"type":"structure",
621-
"required":[
622-
"forTopKItemPredictions",
623-
"type",
624-
"value"
625-
],
626-
"members":{
627-
"forTopKItemPredictions":{
628-
"shape":"Integer",
629-
"documentation":"<p>The number of users that were used to generate these model metrics.</p>"
630-
},
631-
"type":{
632-
"shape":"AudienceModelMetricType",
633-
"documentation":"<p>The audience model metric.</p>"
634-
},
635-
"value":{
636-
"shape":"Double",
637-
"documentation":"<p>The value of the audience model metric</p>"
638-
}
639-
},
640-
"documentation":"<p>The audience model metrics.</p>"
641-
},
642-
"AudienceModelMetricType":{
643-
"type":"string",
644-
"enum":[
645-
"NORMALIZED_DISCOUNTED_CUMULATIVE_GAIN",
646-
"MEAN_RECIPROCAL_RANK",
647-
"PRECISION",
648-
"RECALL"
649-
]
650-
},
651-
"AudienceModelMetrics":{
652-
"type":"list",
653-
"member":{"shape":"AudienceModelMetric"}
654-
},
655619
"AudienceModelStatus":{
656620
"type":"string",
657621
"enum":[
@@ -710,6 +674,10 @@
710674
"type":"structure",
711675
"required":["relevanceMetrics"],
712676
"members":{
677+
"recallMetric":{
678+
"shape":"Double",
679+
"documentation":"<p>The recall score of the generated audience. Recall is the percentage of the most similar users (by default, the most similar 20%) from a sample of the training data that are included in the seed audience by the audience generation job. Values range from 0-1, larger values indicate a better audience. A recall value approximately equal to the maximum bin size indicates that the audience model is equivalent to random selection. </p>"
680+
},
713681
"relevanceMetrics":{
714682
"shape":"RelevanceMetrics",
715683
"documentation":"<p>The relevance scores of the generated audience.</p>"
@@ -898,7 +866,7 @@
898866
"members":{
899867
"message":{"shape":"String"}
900868
},
901-
"documentation":"<p>A resource with that name already exists in this region.</p>",
869+
"documentation":"<p>You can't complete this action because another resource depends on this resource.</p>",
902870
"error":{
903871
"httpStatusCode":409,
904872
"senderFault":true
@@ -926,7 +894,7 @@
926894
},
927895
"tags":{
928896
"shape":"TagMap",
929-
"documentation":"<p>The optional metadata that you apply to the resource to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.</p> <p>The following basic restrictions apply to tags:</p> <ul> <li> <p>Maximum number of tags per resource - 50.</p> </li> <li> <p>For each resource, each tag key must be unique, and each tag key can have only one value.</p> </li> <li> <p>Maximum key length - 128 Unicode characters in UTF-8.</p> </li> <li> <p>Maximum value length - 256 Unicode characters in UTF-8.</p> </li> <li> <p>If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.</p> </li> <li> <p>Tag keys and values are case sensitive.</p> </li> <li> <p>Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for keys as it is reserved for AWS use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value has aws as its prefix but the key does not, then Forecast considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix of aws do not count against your tags per resource limit.</p> </li> </ul>"
897+
"documentation":"<p>The optional metadata that you apply to the resource to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.</p> <p>The following basic restrictions apply to tags:</p> <ul> <li> <p>Maximum number of tags per resource - 50.</p> </li> <li> <p>For each resource, each tag key must be unique, and each tag key can have only one value.</p> </li> <li> <p>Maximum key length - 128 Unicode characters in UTF-8.</p> </li> <li> <p>Maximum value length - 256 Unicode characters in UTF-8.</p> </li> <li> <p>If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.</p> </li> <li> <p>Tag keys and values are case sensitive.</p> </li> <li> <p>Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for keys as it is reserved for AWS use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value has aws as its prefix but the key does not, then Clean Rooms ML considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix of aws do not count against your tags per resource limit.</p> </li> </ul>"
930898
},
931899
"trainingDataEndTime":{
932900
"shape":"SyntheticTimestamp_date_time",
@@ -979,7 +947,7 @@
979947
},
980948
"minMatchingSeedSize":{
981949
"shape":"MinMatchingSeedSize",
982-
"documentation":"<p>The minimum number of users from the seed audience that must match with users in the training data of the audience model.</p>"
950+
"documentation":"<p>The minimum number of users from the seed audience that must match with users in the training data of the audience model. The default value is 500.</p>"
983951
},
984952
"name":{
985953
"shape":"NameString",
@@ -995,7 +963,7 @@
995963
},
996964
"tags":{
997965
"shape":"TagMap",
998-
"documentation":"<p>The optional metadata that you apply to the resource to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.</p> <p>The following basic restrictions apply to tags:</p> <ul> <li> <p>Maximum number of tags per resource - 50.</p> </li> <li> <p>For each resource, each tag key must be unique, and each tag key can have only one value.</p> </li> <li> <p>Maximum key length - 128 Unicode characters in UTF-8.</p> </li> <li> <p>Maximum value length - 256 Unicode characters in UTF-8.</p> </li> <li> <p>If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.</p> </li> <li> <p>Tag keys and values are case sensitive.</p> </li> <li> <p>Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for keys as it is reserved for AWS use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value has aws as its prefix but the key does not, then Forecast considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix of aws do not count against your tags per resource limit.</p> </li> </ul>"
966+
"documentation":"<p>The optional metadata that you apply to the resource to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.</p> <p>The following basic restrictions apply to tags:</p> <ul> <li> <p>Maximum number of tags per resource - 50.</p> </li> <li> <p>For each resource, each tag key must be unique, and each tag key can have only one value.</p> </li> <li> <p>Maximum key length - 128 Unicode characters in UTF-8.</p> </li> <li> <p>Maximum value length - 256 Unicode characters in UTF-8.</p> </li> <li> <p>If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.</p> </li> <li> <p>Tag keys and values are case sensitive.</p> </li> <li> <p>Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for keys as it is reserved for AWS use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value has aws as its prefix but the key does not, then Clean Rooms ML considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix of aws do not count against your tags per resource limit.</p> </li> </ul>"
999967
}
1000968
}
1001969
},
@@ -1229,7 +1197,7 @@
12291197
},
12301198
"metrics":{
12311199
"shape":"AudienceQualityMetrics",
1232-
"documentation":"<p>The relevance scores for different audience sizes. </p>"
1200+
"documentation":"<p>The relevance scores for different audience sizes and the recall score of the generated audience. </p>"
12331201
},
12341202
"name":{
12351203
"shape":"NameString",
@@ -1300,10 +1268,6 @@
13001268
"shape":"KmsKeyArn",
13011269
"documentation":"<p>The KMS key ARN used for the audience model.</p>"
13021270
},
1303-
"metrics":{
1304-
"shape":"AudienceModelMetrics",
1305-
"documentation":"<p>Accuracy metrics for the model.</p>"
1306-
},
13071271
"name":{
13081272
"shape":"NameString",
13091273
"documentation":"<p>The name of the audience model.</p>"
@@ -1559,10 +1523,6 @@
15591523
"min":20,
15601524
"pattern":"^arn:aws[-a-z]*:iam::[0-9]{12}:role/.+$"
15611525
},
1562-
"Integer":{
1563-
"type":"integer",
1564-
"box":true
1565-
},
15661526
"KmsKeyArn":{
15671527
"type":"string",
15681528
"max":2048,
@@ -1978,7 +1938,7 @@
19781938
},
19791939
"tags":{
19801940
"shape":"TagMap",
1981-
"documentation":"<p>The optional metadata that you apply to the resource to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.</p> <p>The following basic restrictions apply to tags:</p> <ul> <li> <p>Maximum number of tags per resource - 50.</p> </li> <li> <p>For each resource, each tag key must be unique, and each tag key can have only one value.</p> </li> <li> <p>Maximum key length - 128 Unicode characters in UTF-8.</p> </li> <li> <p>Maximum value length - 256 Unicode characters in UTF-8.</p> </li> <li> <p>If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.</p> </li> <li> <p>Tag keys and values are case sensitive.</p> </li> <li> <p>Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for keys as it is reserved for AWS use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value has aws as its prefix but the key does not, then Forecast considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix of aws do not count against your tags per resource limit.</p> </li> </ul>"
1941+
"documentation":"<p>The optional metadata that you apply to the resource to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.</p> <p>The following basic restrictions apply to tags:</p> <ul> <li> <p>Maximum number of tags per resource - 50.</p> </li> <li> <p>For each resource, each tag key must be unique, and each tag key can have only one value.</p> </li> <li> <p>Maximum key length - 128 Unicode characters in UTF-8.</p> </li> <li> <p>Maximum value length - 256 Unicode characters in UTF-8.</p> </li> <li> <p>If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.</p> </li> <li> <p>Tag keys and values are case sensitive.</p> </li> <li> <p>Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for keys as it is reserved for AWS use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value has aws as its prefix but the key does not, then Clean Rooms ML considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix of aws do not count against your tags per resource limit.</p> </li> </ul>"
19821942
}
19831943
}
19841944
},
@@ -2014,8 +1974,7 @@
20141974
"TagKey":{
20151975
"type":"string",
20161976
"max":128,
2017-
"min":1,
2018-
"pattern":"^(?!aws:).{1,128}$"
1977+
"min":1
20191978
},
20201979
"TagKeys":{
20211980
"type":"list",
@@ -2052,7 +2011,7 @@
20522011
},
20532012
"tags":{
20542013
"shape":"TagMap",
2055-
"documentation":"<p>The optional metadata that you apply to the resource to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.</p> <p>The following basic restrictions apply to tags:</p> <ul> <li> <p>Maximum number of tags per resource - 50.</p> </li> <li> <p>For each resource, each tag key must be unique, and each tag key can have only one value.</p> </li> <li> <p>Maximum key length - 128 Unicode characters in UTF-8.</p> </li> <li> <p>Maximum value length - 256 Unicode characters in UTF-8.</p> </li> <li> <p>If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.</p> </li> <li> <p>Tag keys and values are case sensitive.</p> </li> <li> <p>Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for keys as it is reserved for AWS use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value has aws as its prefix but the key does not, then Forecast considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix of aws do not count against your tags per resource limit.</p> </li> </ul>"
2014+
"documentation":"<p>The optional metadata that you apply to the resource to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.</p> <p>The following basic restrictions apply to tags:</p> <ul> <li> <p>Maximum number of tags per resource - 50.</p> </li> <li> <p>For each resource, each tag key must be unique, and each tag key can have only one value.</p> </li> <li> <p>Maximum key length - 128 Unicode characters in UTF-8.</p> </li> <li> <p>Maximum value length - 256 Unicode characters in UTF-8.</p> </li> <li> <p>If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.</p> </li> <li> <p>Tag keys and values are case sensitive.</p> </li> <li> <p>Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for keys as it is reserved for AWS use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value has aws as its prefix but the key does not, then Clean Rooms considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix of aws do not count against your tags per resource limit.</p> </li> </ul>"
20562015
}
20572016
}
20582017
},

0 commit comments

Comments
 (0)