get_segment_membership
¶
get_segment_membership(
domain_name: name,
segment_definition_name: name,
profile_ids: ProfileIds,
*,
config_overrides: Optional[CustomerProfilesClientConfig] = None,
) -> GetSegmentMembershipResponse
Determines if the given profiles are within a segment.
Parameters:
-
domain_name(name) –The unique name of the domain.
-
segment_definition_name(name) –The Id of the wanted segment. Needs to be a valid, and existing segment Id.
-
profile_ids(ProfileIds) –The list of profile IDs to query for.
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
4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 | |