libZSservicesZSamazonka-pinpointZSamazonka-pinpoint
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Pinpoint.Types.RecencyDimension

Description

 
Synopsis

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

  • duration :: Duration

    The duration to use when determining whether an endpoint is active or inactive.

  • recencyType :: 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.

Instances

Instances details
Eq RecencyDimension Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.RecencyDimension

Read RecencyDimension Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.RecencyDimension

Show RecencyDimension Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.RecencyDimension

Generic RecencyDimension Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.RecencyDimension

Associated Types

type Rep RecencyDimension :: Type -> Type #

NFData RecencyDimension Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.RecencyDimension

Methods

rnf :: RecencyDimension -> () #

Hashable RecencyDimension Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.RecencyDimension

ToJSON RecencyDimension Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.RecencyDimension

FromJSON RecencyDimension Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.RecencyDimension

type Rep RecencyDimension Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.RecencyDimension

type Rep RecencyDimension = D1 ('MetaData "RecencyDimension" "Amazonka.Pinpoint.Types.RecencyDimension" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "RecencyDimension'" 'PrefixI 'True) (S1 ('MetaSel ('Just "duration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Duration) :*: S1 ('MetaSel ('Just "recencyType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RecencyType)))

newRecencyDimension Source #

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.