Skip to content

RecencyDimension

Source code in docs_src/capo_pinpoint/types/recency_dimension.py
class RecencyDimension(TypedDict, closed=True):
    duration: NotRequired["capo_pinpoint.types.duration.Duration"]
    """<p>The duration to use when determining whether an endpoint is active or inactive.</p>"""
    recency_type: NotRequired["capo_pinpoint.types.recency_type.RecencyType"]
    """<p>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.</p>"""

duration instance-attribute

duration: NotRequired[Duration]

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

recency_type instance-attribute

recency_type: NotRequired[RecencyType]

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.