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 SegmentGroup = SegmentGroup' {}
- newSegmentGroup :: SegmentGroup
- segmentGroup_sourceSegments :: Lens' SegmentGroup (Maybe [SegmentReference])
- segmentGroup_sourceType :: Lens' SegmentGroup (Maybe SourceType)
- segmentGroup_type :: Lens' SegmentGroup (Maybe Type)
- segmentGroup_dimensions :: Lens' SegmentGroup (Maybe [SegmentDimensions])
Documentation
data SegmentGroup Source #
Specifies the base segments and dimensions for a segment, and the relationships between these base segments and dimensions.
See: newSegmentGroup
smart constructor.
SegmentGroup' | |
|
Instances
newSegmentGroup :: SegmentGroup Source #
Create a value of SegmentGroup
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:sourceSegments:SegmentGroup'
, segmentGroup_sourceSegments
- The base segment to build the segment on. A base segment, also referred
to as a source segment, defines the initial population of endpoints
for a segment. When you add dimensions to a segment, Amazon Pinpoint
filters the base segment by using the dimensions that you specify.
You can specify more than one dimensional segment or only one imported segment. If you specify an imported segment, the Amazon Pinpoint console displays a segment size estimate that indicates the size of the imported segment without any filters applied to it.
$sel:sourceType:SegmentGroup'
, segmentGroup_sourceType
- Specifies how to handle multiple base segments for the segment. For
example, if you specify three base segments for the segment, whether the
resulting segment is based on all, any, or none of the base segments.
$sel:type':SegmentGroup'
, segmentGroup_type
- Specifies how to handle multiple dimensions for the segment. For
example, if you specify three dimensions for the segment, whether the
resulting segment includes endpoints that match all, any, or none of the
dimensions.
$sel:dimensions:SegmentGroup'
, segmentGroup_dimensions
- An array that defines the dimensions for the segment.
segmentGroup_sourceSegments :: Lens' SegmentGroup (Maybe [SegmentReference]) Source #
The base segment to build the segment on. A base segment, also referred to as a source segment, defines the initial population of endpoints for a segment. When you add dimensions to a segment, Amazon Pinpoint filters the base segment by using the dimensions that you specify.
You can specify more than one dimensional segment or only one imported segment. If you specify an imported segment, the Amazon Pinpoint console displays a segment size estimate that indicates the size of the imported segment without any filters applied to it.
segmentGroup_sourceType :: Lens' SegmentGroup (Maybe SourceType) Source #
Specifies how to handle multiple base segments for the segment. For example, if you specify three base segments for the segment, whether the resulting segment is based on all, any, or none of the base segments.
segmentGroup_type :: Lens' SegmentGroup (Maybe Type) Source #
Specifies how to handle multiple dimensions for the segment. For example, if you specify three dimensions for the segment, whether the resulting segment includes endpoints that match all, any, or none of the dimensions.
segmentGroup_dimensions :: Lens' SegmentGroup (Maybe [SegmentDimensions]) Source #
An array that defines the dimensions for the segment.