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 |
Amazonka.Evidently.Types.SegmentOverride
Description
Documentation
data SegmentOverride Source #
This structure specifies a segment that you have already created, and defines the traffic split for that segment to be used in a launch.
See: newSegmentOverride
smart constructor.
Constructors
SegmentOverride' | |
Fields
|
Instances
Arguments
:: Integer | |
-> Text | |
-> SegmentOverride |
Create a value of SegmentOverride
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:evaluationOrder:SegmentOverride'
, segmentOverride_evaluationOrder
- A number indicating the order to use to evaluate segment overrides, if
there are more than one. Segment overrides with lower numbers are
evaluated first.
$sel:segment:SegmentOverride'
, segmentOverride_segment
- The ARN of the segment to use.
$sel:weights:SegmentOverride'
, segmentOverride_weights
- The traffic allocation percentages among the feature variations to
assign to this segment. This is a set of key-value pairs. The keys are
variation names. The values represent the amount of traffic to allocate
to that variation for this segment. This is expressed in thousandths of
a percent, so a weight of 50000 represents 50% of traffic.
segmentOverride_evaluationOrder :: Lens' SegmentOverride Integer Source #
A number indicating the order to use to evaluate segment overrides, if there are more than one. Segment overrides with lower numbers are evaluated first.
segmentOverride_segment :: Lens' SegmentOverride Text Source #
The ARN of the segment to use.
segmentOverride_weights :: Lens' SegmentOverride (HashMap Text Natural) Source #
The traffic allocation percentages among the feature variations to assign to this segment. This is a set of key-value pairs. The keys are variation names. The values represent the amount of traffic to allocate to that variation for this segment. This is expressed in thousandths of a percent, so a weight of 50000 represents 50% of traffic.