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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-pinpoint/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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#durationString

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

Returns:

  • (String)


13136
13137
13138
13139
13140
13141
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 13136

class RecencyDimension < Struct.new(
  :duration,
  :recency_type)
  SENSITIVE = []
  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)


13136
13137
13138
13139
13140
13141
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 13136

class RecencyDimension < Struct.new(
  :duration,
  :recency_type)
  SENSITIVE = []
  include Aws::Structure
end