amazonka-pinpoint-2.0: Amazon Pinpoint SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
FromJSON SegmentReference Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentReference

ToJSON 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 #

Read SegmentReference Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentReference

Show SegmentReference Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentReference

NFData SegmentReference Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentReference

Methods

rnf :: SegmentReference -> () #

Eq SegmentReference Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentReference

Hashable 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" "amazonka-pinpoint-2.0-GBFs9S7wa7bFiDe66NqAzt" '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.