Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data SegmentDimensions = SegmentDimensions' {}
- newSegmentDimensions :: SegmentDimensions
- segmentDimensions_metrics :: Lens' SegmentDimensions (Maybe (HashMap Text MetricDimension))
- segmentDimensions_location :: Lens' SegmentDimensions (Maybe SegmentLocation)
- segmentDimensions_demographic :: Lens' SegmentDimensions (Maybe SegmentDemographics)
- segmentDimensions_userAttributes :: Lens' SegmentDimensions (Maybe (HashMap Text AttributeDimension))
- segmentDimensions_behavior :: Lens' SegmentDimensions (Maybe SegmentBehaviors)
- segmentDimensions_attributes :: Lens' SegmentDimensions (Maybe (HashMap Text AttributeDimension))
Documentation
data SegmentDimensions Source #
Specifies the dimension settings for a segment.
See: newSegmentDimensions
smart constructor.
SegmentDimensions' | |
|
Instances
newSegmentDimensions :: SegmentDimensions Source #
Create a value of SegmentDimensions
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:metrics:SegmentDimensions'
, segmentDimensions_metrics
- One or more custom metrics to use as criteria for the segment.
$sel:location:SegmentDimensions'
, segmentDimensions_location
- The location-based criteria, such as region or GPS coordinates, for the
segment.
$sel:demographic:SegmentDimensions'
, segmentDimensions_demographic
- The demographic-based criteria, such as device platform, for the
segment.
$sel:userAttributes:SegmentDimensions'
, segmentDimensions_userAttributes
- One or more custom user attributes to use as criteria for the segment.
$sel:behavior:SegmentDimensions'
, segmentDimensions_behavior
- The behavior-based criteria, such as how recently users have used your
app, for the segment.
$sel:attributes:SegmentDimensions'
, segmentDimensions_attributes
- One or more custom attributes to use as criteria for the segment.
segmentDimensions_metrics :: Lens' SegmentDimensions (Maybe (HashMap Text MetricDimension)) Source #
One or more custom metrics to use as criteria for the segment.
segmentDimensions_location :: Lens' SegmentDimensions (Maybe SegmentLocation) Source #
The location-based criteria, such as region or GPS coordinates, for the segment.
segmentDimensions_demographic :: Lens' SegmentDimensions (Maybe SegmentDemographics) Source #
The demographic-based criteria, such as device platform, for the segment.
segmentDimensions_userAttributes :: Lens' SegmentDimensions (Maybe (HashMap Text AttributeDimension)) Source #
One or more custom user attributes to use as criteria for the segment.
segmentDimensions_behavior :: Lens' SegmentDimensions (Maybe SegmentBehaviors) Source #
The behavior-based criteria, such as how recently users have used your app, for the segment.
segmentDimensions_attributes :: Lens' SegmentDimensions (Maybe (HashMap Text AttributeDimension)) Source #
One or more custom attributes to use as criteria for the segment.