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
- Struct
- Aws::Pinpoint::Types::RecencyDimension
- Defined in:
- (unknown)
Overview
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
-
#duration ⇒ String
The duration to use when determining whether an endpoint is active or inactive.
-
#recency_type ⇒ String
The type of recency dimension to use for the segment.
Instance Attribute Details
#duration ⇒ String
The duration to use when determining whether an endpoint is active or inactive.
Possible values:
- HR_24
- DAY_7
- DAY_14
- DAY_30
#recency_type ⇒ String
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