libZSservicesZSamazonka-pinpointZSamazonka-pinpoint
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Pinpoint.Types.SegmentLocation

Description

 
Synopsis

Documentation

data SegmentLocation Source #

Specifies geographical dimension settings for a segment.

See: newSegmentLocation smart constructor.

Constructors

SegmentLocation' 

Fields

Instances

Instances details
Eq SegmentLocation Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentLocation

Read SegmentLocation Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentLocation

Show SegmentLocation Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentLocation

Generic SegmentLocation Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentLocation

Associated Types

type Rep SegmentLocation :: Type -> Type #

NFData SegmentLocation Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentLocation

Methods

rnf :: SegmentLocation -> () #

Hashable SegmentLocation Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentLocation

ToJSON SegmentLocation Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentLocation

FromJSON SegmentLocation Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentLocation

type Rep SegmentLocation Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentLocation

type Rep SegmentLocation = D1 ('MetaData "SegmentLocation" "Amazonka.Pinpoint.Types.SegmentLocation" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "SegmentLocation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "country") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SetDimension)) :*: S1 ('MetaSel ('Just "gPSPoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GPSPointDimension))))

newSegmentLocation :: SegmentLocation Source #

Create a value of SegmentLocation with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:country:SegmentLocation', segmentLocation_country - The country or region code, in ISO 3166-1 alpha-2 format, for the segment.

$sel:gPSPoint:SegmentLocation', segmentLocation_gPSPoint - The GPS location and range for the segment.

segmentLocation_country :: Lens' SegmentLocation (Maybe SetDimension) Source #

The country or region code, in ISO 3166-1 alpha-2 format, for the segment.

segmentLocation_gPSPoint :: Lens' SegmentLocation (Maybe GPSPointDimension) Source #

The GPS location and range for the segment.