You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Pinpoint::Types::RandomSplitActivity

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing RandomSplitActivity as input to an Aws::Client method, you can use a vanilla Hash:

{
  branches: [
    {
      next_activity: "__string",
      percentage: 1,
    },
  ],
}

Specifies the settings for a random split activity in a journey. This type of activity randomly sends specified percentages of participants down one of as many as five paths in a journey, based on conditions that you specify.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#branchesArray<Types::RandomSplitEntry>

The paths for the activity, including the percentage of participants to enter each path and the activity to perform for each path.

Returns:

  • (Array<Types::RandomSplitEntry>)

    The paths for the activity, including the percentage of participants to enter each path and the activity to perform for each path.