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

WriteSegmentRequest

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

Specifies the configuration, dimension, and other settings for a segment. A WriteSegmentRequest object can include a Dimensions object or a SegmentGroups object, but not both.

interface WriteSegmentRequest {
Dimensions?: SegmentDimensions | null;
Name?: string | null;
SegmentGroups?: SegmentGroupList | null;
tags?: {
[key: string]: string | null | undefined;
}
| null;
}

§Properties

§
Dimensions?: SegmentDimensions | null
[src]

The criteria that define the dimensions for the segment.

§
Name?: string | null
[src]

The name of the segment.

§
SegmentGroups?: SegmentGroupList | null
[src]

The segment group to use and the dimensions to apply to the group's base segments in order to build the segment. A segment group can consist of zero or more base segments. Your request can include only one segment group.

§
tags?: {
[key: string]: string | null | undefined;
}
| null
[src]

A string-to-string map of key-value pairs that defines the tags to associate with the segment. Each tag consists of a required tag key and an associated tag value.