AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::Pinpoint::Types::SegmentBehaviors

  • Object
show all
Defined in:



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

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

Specifies dimension settings 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


The dimension settings that are based on how recently an endpoint was active.