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 |
Documentation
data RecencyDimension Source #
Specifies criteria for including or excluding endpoints from a segment based on how recently an endpoint was active.
See: newRecencyDimension
smart constructor.
RecencyDimension' | |
|
Instances
:: Duration | |
-> RecencyType | |
-> RecencyDimension |
Create a value of RecencyDimension
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:duration:RecencyDimension'
, recencyDimension_duration
- The duration to use when determining whether an endpoint is active or
inactive.
$sel:recencyType:RecencyDimension'
, recencyDimension_recencyType
- The type of recency dimension to use for the segment. Valid values are:
ACTIVE, endpoints that were active within the specified duration are
included in the segment; and, INACTIVE, endpoints that weren't active
within the specified duration are included in the segment.
recencyDimension_duration :: Lens' RecencyDimension Duration Source #
The duration to use when determining whether an endpoint is active or inactive.
recencyDimension_recencyType :: Lens' RecencyDimension RecencyType Source #
The type of recency dimension to use for the segment. Valid values are: ACTIVE, endpoints that were active within the specified duration are included in the segment; and, INACTIVE, endpoints that weren't active within the specified duration are included in the segment.