create_event_trigger
¶
create_event_trigger(
domain_name: name,
event_trigger_name: name,
object_type_name: typeName,
event_trigger_conditions: EventTriggerConditions,
*,
config_overrides: Optional[CustomerProfilesClientConfig] = None,
description: Optional[sensitiveText] = None,
segment_filter: Optional[name] = None,
event_trigger_limits: Optional[EventTriggerLimits] = None,
tags: Optional[TagMap] = None,
) -> CreateEventTriggerResponse
Creates an event trigger, which specifies the rules when to perform action based on customer's ingested data.
Each event stream can be associated with only one integration in the same region and AWS account as the event stream.
Parameters:
-
domain_name(name) –The unique name of the domain.
-
event_trigger_name(name) –The unique name of the event trigger.
-
object_type_name(typeName) –The unique name of the object type.
-
description(Optional[sensitiveText], default:None) –The description of the event trigger.
-
event_trigger_conditions(EventTriggerConditions) –A list of conditions that determine when an event should trigger the destination.
-
segment_filter(Optional[name], default:None) –The destination is triggered only for profiles that meet the criteria of a segment definition.
-
event_trigger_limits(Optional[EventTriggerLimits], default:None) –Defines limits controlling whether an event triggers the destination, based on ingestion latency and the number of invocations per profile over specific time periods.
-
tags(Optional[TagMap], default:None) –An array of key-value pairs to apply to this resource.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
BadRequestException–The input you provided is invalid.
-
InternalServerException–An internal service error occurred.
-
ResourceNotFoundException–The requested resource does not exist, or access was denied.
-
ThrottlingException–You exceeded the maximum number of requests.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_customer_profiles/_services/customer_profiles.py
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 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 | |