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", # accepts HR_24, DAY_7, DAY_14, DAY_30
recency_type: "ACTIVE", # accepts ACTIVE, INACTIVE
}
Define how a segment based on recency of use.
Instance Attribute Summary collapse
-
#duration ⇒ String
The length of time during which users have been active or inactive with your app.
-
#recency_type ⇒ String
The recency dimension type: ACTIVE - Users who have used your app within the specified duration are included in the segment.
Instance Attribute Details
#duration ⇒ String
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
5780 5781 5782 5783 5784 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 5780 class RecencyDimension < Struct.new( :duration, :recency_type) include Aws::Structure end |
#recency_type ⇒ String
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.
5780 5781 5782 5783 5784 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 5780 class RecencyDimension < Struct.new( :duration, :recency_type) include Aws::Structure end |