Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data OnlineAbDefinition Source #
A structure that contains the configuration of which variation to use as the "control" version. The "control" version is used for comparison with other variations. This structure also specifies how much experiment traffic is allocated to each variation.
See: newOnlineAbDefinition
smart constructor.
OnlineAbDefinition' | |
|
Instances
newOnlineAbDefinition :: OnlineAbDefinition Source #
Create a value of OnlineAbDefinition
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:controlTreatmentName:OnlineAbDefinition'
, onlineAbDefinition_controlTreatmentName
- The name of the variation that is the default variation that the other
variations are compared to.
$sel:treatmentWeights:OnlineAbDefinition'
, onlineAbDefinition_treatmentWeights
- A set of key-value pairs. The keys are variation names, and the values
are the portion of experiment traffic to be assigned to that variation.
The traffic portion is specified in thousandths of a percent, so 20,000
for a variation would allocate 20% of the experiment traffic to that
variation.
onlineAbDefinition_controlTreatmentName :: Lens' OnlineAbDefinition (Maybe Text) Source #
The name of the variation that is the default variation that the other variations are compared to.
onlineAbDefinition_treatmentWeights :: Lens' OnlineAbDefinition (Maybe (HashMap Text Natural)) Source #
A set of key-value pairs. The keys are variation names, and the values are the portion of experiment traffic to be assigned to that variation. The traffic portion is specified in thousandths of a percent, so 20,000 for a variation would allocate 20% of the experiment traffic to that variation.