Class: Aws::Pinpoint::Types::RecencyDimension
- Inherits:
-
Struct
- Object
- Struct
- Aws::Pinpoint::Types::RecencyDimension
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-pinpoint/types.rb
Overview
Note:
When making an API call, you may pass RecencyDimension data as a 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.
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.
12235 12236 12237 12238 12239 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 12235 class RecencyDimension < Struct.new( :duration, :recency_type) include Aws::Structure end |
#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.
12235 12236 12237 12238 12239 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 12235 class RecencyDimension < Struct.new( :duration, :recency_type) include Aws::Structure end |