Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

HoldoutActivity

import type { HoldoutActivity } from "https://aws-api.deno.dev/v0.4/services/pinpoint.ts?docs=full";

Specifies the settings for a holdout activity in a journey. This type of activity stops a journey for a specified percentage of participants.

interface HoldoutActivity {
NextActivity?: string | null;
Percentage: number;
}

§Properties

§
NextActivity?: string | null
[src]

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

§
Percentage: number
[src]

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.