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 WriteSegmentRequest = WriteSegmentRequest' {}
- newWriteSegmentRequest :: WriteSegmentRequest
- writeSegmentRequest_segmentGroups :: Lens' WriteSegmentRequest (Maybe SegmentGroupList)
- writeSegmentRequest_name :: Lens' WriteSegmentRequest (Maybe Text)
- writeSegmentRequest_dimensions :: Lens' WriteSegmentRequest (Maybe SegmentDimensions)
- writeSegmentRequest_tags :: Lens' WriteSegmentRequest (Maybe (HashMap Text Text))
Documentation
data WriteSegmentRequest Source #
Specifies the configuration, dimension, and other settings for a segment. A WriteSegmentRequest object can include a Dimensions object or a SegmentGroups object, but not both.
See: newWriteSegmentRequest
smart constructor.
WriteSegmentRequest' | |
|
Instances
newWriteSegmentRequest :: WriteSegmentRequest Source #
Create a value of WriteSegmentRequest
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:segmentGroups:WriteSegmentRequest'
, writeSegmentRequest_segmentGroups
- The segment group to use and the dimensions to apply to the group's
base segments in order to build the segment. A segment group can consist
of zero or more base segments. Your request can include only one segment
group.
$sel:name:WriteSegmentRequest'
, writeSegmentRequest_name
- The name of the segment.
$sel:dimensions:WriteSegmentRequest'
, writeSegmentRequest_dimensions
- The criteria that define the dimensions for the segment.
$sel:tags:WriteSegmentRequest'
, writeSegmentRequest_tags
- A string-to-string map of key-value pairs that defines the tags to
associate with the segment. Each tag consists of a required tag key and
an associated tag value.
writeSegmentRequest_segmentGroups :: Lens' WriteSegmentRequest (Maybe SegmentGroupList) Source #
The segment group to use and the dimensions to apply to the group's base segments in order to build the segment. A segment group can consist of zero or more base segments. Your request can include only one segment group.
writeSegmentRequest_name :: Lens' WriteSegmentRequest (Maybe Text) Source #
The name of the segment.
writeSegmentRequest_dimensions :: Lens' WriteSegmentRequest (Maybe SegmentDimensions) Source #
The criteria that define the dimensions for the segment.
writeSegmentRequest_tags :: Lens' WriteSegmentRequest (Maybe (HashMap Text Text)) Source #
A string-to-string map of key-value pairs that defines the tags to associate with the segment. Each tag consists of a required tag key and an associated tag value.