start_audience_generation_job
async
¶
start_audience_generation_job(
name: NameString,
configured_audience_model_arn: ConfiguredAudienceModelArn,
seed_audience: AudienceGenerationJobDataSource,
*,
config_overrides: Optional[AsyncCleanRoomsMLClientConfig] = None,
include_seed_in_output: Optional[bool] = None,
collaboration_id: Optional[UUID] = None,
description: Optional[ResourceDescription] = None,
tags: Optional[TagMap] = None,
) -> StartAudienceGenerationJobResponse
Information necessary to start the audience generation job.
Parameters:
-
name(NameString) –The name of the audience generation job.
-
configured_audience_model_arn(ConfiguredAudienceModelArn) –The Amazon Resource Name (ARN) of the configured audience model that is used for this audience generation job.
-
seed_audience(AudienceGenerationJobDataSource) –The seed audience that is used to generate the audience.
-
include_seed_in_output(Optional[bool], default:None) –Whether the seed audience is included in the audience generation output.
-
collaboration_id(Optional[UUID], default:None) –The identifier of the collaboration that contains the audience generation job.
-
description(Optional[ResourceDescription], default:None) –The description of the audience generation job.
-
tags(Optional[TagMap], default:None) –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.
The following basic restrictions apply to tags:
-
Maximum number of tags per resource - 50.
-
For each resource, each tag key must be unique, and each tag key can have only one value.
-
Maximum key length - 128 Unicode characters in UTF-8.
-
Maximum value length - 256 Unicode characters in UTF-8.
-
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: + - = . _ : / @.
-
Tag keys and values are case sensitive.
-
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.
-
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–You can't complete this action because another resource depends on this resource.
-
ResourceNotFoundException–The resource you are requesting does not exist.
-
ServiceQuotaExceededException–You have exceeded your service quota.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The request parameters for this request are incorrect.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_cleanroomsml/_services/async_clean_rooms_ml.py
1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 | |