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", # 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

Instance Attribute Details

#durationString

The duration to use when determining whether an endpoint is active or inactive.

Returns:

  • (String)


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_typeString

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.

Returns:

  • (String)


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