/* eslint-disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ /** * Resource Type definition for AWS::Pinpoint::Segment */ export interface AwsPinpointSegment { SegmentId?: string; Arn?: string; SegmentGroups?: SegmentGroups; Dimensions?: SegmentDimensions; ApplicationId: string; Tags?: { [k: string]: unknown; }; Name: string; } export interface SegmentGroups { Groups?: Groups[]; Include?: string; } export interface Groups { Type?: string; SourceType?: string; Dimensions?: SegmentDimensions[]; SourceSegments?: SourceSegments[]; } export interface SegmentDimensions { Demographic?: Demographic; Metrics?: { [k: string]: unknown; }; Attributes?: { [k: string]: unknown; }; Behavior?: Behavior; UserAttributes?: { [k: string]: unknown; }; Location?: Location; } export interface Demographic { AppVersion?: SetDimension; DeviceType?: SetDimension; Platform?: SetDimension; Channel?: SetDimension; Model?: SetDimension; Make?: SetDimension; } export interface SetDimension { DimensionType?: string; Values?: string[]; } export interface Behavior { Recency?: Recency; } export interface Recency { Duration: string; RecencyType: string; } export interface Location { GPSPoint?: GPSPoint; Country?: SetDimension; } export interface GPSPoint { RangeInKilometers: number; Coordinates: Coordinates; } export interface Coordinates { Latitude: number; Longitude: number; } export interface SourceSegments { Version?: number; Id: string; }