libZSservicesZSamazonka-pinpointZSamazonka-pinpoint
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Pinpoint.Types.RandomSplitEntry

Description

 
Synopsis

Documentation

data RandomSplitEntry Source #

Specifies the settings for a path in a random split activity in a journey.

See: newRandomSplitEntry smart constructor.

Constructors

RandomSplitEntry' 

Fields

  • nextActivity :: Maybe Text

    The unique identifier for the next activity to perform, after completing the activity for the path.

  • percentage :: Maybe Int

    The percentage of participants to send down the activity path.

    To determine which participants are sent down each path, Amazon Pinpoint applies a probability-based algorithm to the percentages that you specify for the paths. Therefore, the actual percentage of participants who are sent down a path may not be equal to the percentage that you specify.

Instances

Instances details
Eq RandomSplitEntry Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.RandomSplitEntry

Read RandomSplitEntry Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.RandomSplitEntry

Show RandomSplitEntry Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.RandomSplitEntry

Generic RandomSplitEntry Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.RandomSplitEntry

Associated Types

type Rep RandomSplitEntry :: Type -> Type #

NFData RandomSplitEntry Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.RandomSplitEntry

Methods

rnf :: RandomSplitEntry -> () #

Hashable RandomSplitEntry Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.RandomSplitEntry

ToJSON RandomSplitEntry Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.RandomSplitEntry

FromJSON RandomSplitEntry Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.RandomSplitEntry

type Rep RandomSplitEntry Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.RandomSplitEntry

type Rep RandomSplitEntry = D1 ('MetaData "RandomSplitEntry" "Amazonka.Pinpoint.Types.RandomSplitEntry" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "RandomSplitEntry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextActivity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "percentage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

newRandomSplitEntry :: RandomSplitEntry Source #

Create a value of RandomSplitEntry with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextActivity:RandomSplitEntry', randomSplitEntry_nextActivity - The unique identifier for the next activity to perform, after completing the activity for the path.

$sel:percentage:RandomSplitEntry', randomSplitEntry_percentage - The percentage of participants to send down the activity path.

To determine which participants are sent down each path, Amazon Pinpoint applies a probability-based algorithm to the percentages that you specify for the paths. Therefore, the actual percentage of participants who are sent down a path may not be equal to the percentage that you specify.

randomSplitEntry_nextActivity :: Lens' RandomSplitEntry (Maybe Text) Source #

The unique identifier for the next activity to perform, after completing the activity for the path.

randomSplitEntry_percentage :: Lens' RandomSplitEntry (Maybe Int) Source #

The percentage of participants to send down the activity path.

To determine which participants are sent down each path, Amazon Pinpoint applies a probability-based algorithm to the percentages that you specify for the paths. Therefore, the actual percentage of participants who are sent down a path may not be equal to the percentage that you specify.