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.HoldoutActivity

Description

 
Synopsis

Documentation

data HoldoutActivity Source #

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

See: newHoldoutActivity smart constructor.

Constructors

HoldoutActivity' 

Fields

  • nextActivity :: Maybe Text

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

  • percentage :: Int

    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.

Instances

Instances details
Eq HoldoutActivity Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.HoldoutActivity

Read HoldoutActivity Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.HoldoutActivity

Show HoldoutActivity Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.HoldoutActivity

Generic HoldoutActivity Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.HoldoutActivity

Associated Types

type Rep HoldoutActivity :: Type -> Type #

NFData HoldoutActivity Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.HoldoutActivity

Methods

rnf :: HoldoutActivity -> () #

Hashable HoldoutActivity Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.HoldoutActivity

ToJSON HoldoutActivity Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.HoldoutActivity

FromJSON HoldoutActivity Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.HoldoutActivity

type Rep HoldoutActivity Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.HoldoutActivity

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

newHoldoutActivity Source #

Create a value of HoldoutActivity 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:HoldoutActivity', holdoutActivity_nextActivity - The unique identifier for the next activity to perform, after performing the holdout activity.

$sel:percentage:HoldoutActivity', holdoutActivity_percentage - 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.

holdoutActivity_nextActivity :: Lens' HoldoutActivity (Maybe Text) Source #

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

holdoutActivity_percentage :: Lens' HoldoutActivity Int Source #

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.