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

SegmentGroup

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

Specifies the base segments and dimensions for a segment, and the relationships between these base segments and dimensions.

interface SegmentGroup {
Dimensions?: SegmentDimensions[] | null;
SourceSegments?: SegmentReference[] | null;
SourceType?: SourceType | null;
Type?: Type | null;
}

§Properties

§
Dimensions?: SegmentDimensions[] | null
[src]

An array that defines the dimensions for the segment.

§
SourceSegments?: SegmentReference[] | null
[src]

The base segment to build the segment on. A base segment, also referred to as a source segment, defines the initial population of endpoints for a segment. When you add dimensions to a segment, Amazon Pinpoint filters the base segment by using the dimensions that you specify.

You can specify more than one dimensional segment or only one imported segment. If you specify an imported segment, the Amazon Pinpoint console displays a segment size estimate that indicates the size of the imported segment without any filters applied to it.

§
SourceType?: SourceType | null
[src]

Specifies how to handle multiple base segments for the segment. For example, if you specify three base segments for the segment, whether the resulting segment is based on all, any, or none of the base segments.

§
Type?: Type | null
[src]

Specifies how to handle multiple dimensions for the segment. For example, if you specify three dimensions for the segment, whether the resulting segment includes endpoints that match all, any, or none of the dimensions.