get_segment_membership
async
¶
get_segment_membership(
domain_name: name,
segment_definition_name: name,
profile_ids: ProfileIds,
*,
config_overrides: Optional[AsyncCustomerProfilesClientConfig] = 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/async_customer_profiles.py
4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 | |