Class: Aws::Pinpoint::Types::RecencyDimension

Inherits:
Struct
  • Object
show all
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

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

Returns:

  • (String)


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_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.

Returns:

  • (String)


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