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

Description

 
Synopsis

Documentation

data SegmentCondition Source #

Specifies a segment to associate with an activity in a journey.

See: newSegmentCondition smart constructor.

Constructors

SegmentCondition' 

Fields

  • segmentId :: Text

    The unique identifier for the segment to associate with the activity.

Instances

Instances details
Eq SegmentCondition Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentCondition

Read SegmentCondition Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentCondition

Show SegmentCondition Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentCondition

Generic SegmentCondition Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentCondition

Associated Types

type Rep SegmentCondition :: Type -> Type #

NFData SegmentCondition Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentCondition

Methods

rnf :: SegmentCondition -> () #

Hashable SegmentCondition Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentCondition

ToJSON SegmentCondition Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentCondition

FromJSON SegmentCondition Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentCondition

type Rep SegmentCondition Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentCondition

type Rep SegmentCondition = D1 ('MetaData "SegmentCondition" "Amazonka.Pinpoint.Types.SegmentCondition" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "SegmentCondition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "segmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newSegmentCondition Source #

Create a value of SegmentCondition 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:segmentId:SegmentCondition', segmentCondition_segmentId - The unique identifier for the segment to associate with the activity.

segmentCondition_segmentId :: Lens' SegmentCondition Text Source #

The unique identifier for the segment to associate with the activity.