Class: Aws::Pinpoint::Types::HoldoutActivity

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-pinpoint/types.rb

Overview

Note:

When making an API call, you may pass HoldoutActivity data as a hash:

{
  next_activity: "__string",
  percentage: 1, # required
}

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

Instance Attribute Summary collapse

Instance Attribute Details

#next_activityString

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



9489
9490
9491
9492
9493
# File 'lib/aws-sdk-pinpoint/types.rb', line 9489

class HoldoutActivity < Struct.new(
  :next_activity,
  :percentage)
  include Aws::Structure
end

#percentageInteger

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.



9489
9490
9491
9492
9493
# File 'lib/aws-sdk-pinpoint/types.rb', line 9489

class HoldoutActivity < Struct.new(
  :next_activity,
  :percentage)
  include Aws::Structure
end