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", # accepts HR_24, DAY_7, DAY_14, DAY_30
  recency_type: "ACTIVE", # accepts ACTIVE, INACTIVE
}

Define how a segment based on recency of use.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#durationString

The length of time during which users have been active or inactive with your app. Valid values: HR_24, DAY_7, DAY_14, DAY_30

Possible values:

  • HR_24
  • DAY_7
  • DAY_14
  • DAY_30

Returns:

  • (String)

    The length of time during which users have been active or inactive with your app.

#recency_typeString

The recency dimension type: ACTIVE - Users who have used your app within the specified duration are included in the segment. INACTIVE - Users who have not used your app within the specified duration are included in the segment.

Possible values:

  • ACTIVE
  • INACTIVE

Returns:

  • (String)

    The recency dimension type: ACTIVE - Users who have used your app within the specified duration are included in the segment.