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.SegmentReference

Description

 
Synopsis

Documentation

data SegmentReference Source #

Specifies the segment identifier and version of a segment.

See: newSegmentReference smart constructor.

Constructors

SegmentReference' 

Fields

Instances

Instances details
Eq SegmentReference Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentReference

Read SegmentReference Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentReference

Show SegmentReference Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentReference

Generic SegmentReference Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentReference

Associated Types

type Rep SegmentReference :: Type -> Type #

NFData SegmentReference Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentReference

Methods

rnf :: SegmentReference -> () #

Hashable SegmentReference Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentReference

ToJSON SegmentReference Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentReference

FromJSON SegmentReference Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentReference

type Rep SegmentReference Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentReference

type Rep SegmentReference = D1 ('MetaData "SegmentReference" "Amazonka.Pinpoint.Types.SegmentReference" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "SegmentReference'" 'PrefixI 'True) (S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newSegmentReference Source #

Create a value of SegmentReference 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:version:SegmentReference', segmentReference_version - The version number of the segment.

$sel:id:SegmentReference', segmentReference_id - The unique identifier for the segment.

segmentReference_version :: Lens' SegmentReference (Maybe Int) Source #

The version number of the segment.

segmentReference_id :: Lens' SegmentReference Text Source #

The unique identifier for the segment.