You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Pinpoint::Types::RecencyDimension

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing RecencyDimension as input to an Aws::Client method, you can use a vanilla Hash:

{
  duration: "HR_24", # required, accepts HR_24, DAY_7, DAY_14, DAY_30
  recency_type: "ACTIVE", # required, accepts ACTIVE, INACTIVE
}

Specifies criteria for including or excluding endpoints from a segment based on how recently an endpoint was active.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#durationString

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

Possible values:

  • HR_24
  • DAY_7
  • DAY_14
  • DAY_30

Returns:

  • (String)

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

#recency_typeString

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.

Possible values:

  • ACTIVE
  • INACTIVE

Returns:

  • (String)

    The type of recency dimension to use for the segment.