| 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.Pinpoint.Types.RecencyDimension
Description
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.
Constructors
| RecencyDimension' | |
Fields 
  | |
Instances
Arguments
| :: 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.