Skip to content

HoldoutActivity

Source code in docs_src/capo_pinpoint/types/holdout_activity.py
class HoldoutActivity(TypedDict, closed=True):
    next_activity: NotRequired["capo_pinpoint.types.__string.__string"]
    """<p>The unique identifier for the next activity to perform, after performing the holdout activity.</p>"""
    percentage: NotRequired["capo_pinpoint.types.__integer.__integer"]
    """<p>The percentage of participants who shouldn't continue the journey.</p> <p>To determine which participants are held out, Amazon Pinpoint applies a probability-based algorithm to the percentage that you specify. Therefore, the actual percentage of participants who are held out may not be equal to the percentage that you specify.</p>"""

next_activity instance-attribute

next_activity: NotRequired[__string]

The unique identifier for the next activity to perform, after performing the holdout activity.

percentage instance-attribute

percentage: NotRequired[__integer]

The percentage of participants who shouldn't continue the journey.

To determine which participants are held out, Amazon Pinpoint applies a probability-based algorithm to the percentage that you specify. Therefore, the actual percentage of participants who are held out may not be equal to the percentage that you specify.