Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

RecencyDimension

import type { RecencyDimension } from "https://aws-api.deno.dev/v0.4/services/pinpoint.ts?docs=full";

Specifies criteria for including or excluding endpoints from a segment based on how recently an endpoint was active.

interface RecencyDimension {
Duration: Duration;
RecencyType: RecencyType;
}

§Properties

§
Duration: Duration
[src]

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

§
RecencyType: RecencyType
[src]

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.