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

Description

 
Synopsis

Documentation

data SegmentsResponse Source #

Provides information about all the segments that are associated with an application.

See: newSegmentsResponse smart constructor.

Constructors

SegmentsResponse' 

Fields

  • nextToken :: Maybe Text

    The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

  • item :: [SegmentResponse]

    An array of responses, one for each segment that's associated with the application (Segments resource) or each version of a segment that's associated with the application (Segment Versions resource).

Instances

Instances details
Eq SegmentsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentsResponse

Read SegmentsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentsResponse

Show SegmentsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentsResponse

Generic SegmentsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentsResponse

Associated Types

type Rep SegmentsResponse :: Type -> Type #

NFData SegmentsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentsResponse

Methods

rnf :: SegmentsResponse -> () #

Hashable SegmentsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentsResponse

FromJSON SegmentsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentsResponse

type Rep SegmentsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SegmentsResponse

type Rep SegmentsResponse = D1 ('MetaData "SegmentsResponse" "Amazonka.Pinpoint.Types.SegmentsResponse" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "SegmentsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "item") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [SegmentResponse])))

newSegmentsResponse :: SegmentsResponse Source #

Create a value of SegmentsResponse 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:nextToken:SegmentsResponse', segmentsResponse_nextToken - The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

$sel:item:SegmentsResponse', segmentsResponse_item - An array of responses, one for each segment that's associated with the application (Segments resource) or each version of a segment that's associated with the application (Segment Versions resource).

segmentsResponse_nextToken :: Lens' SegmentsResponse (Maybe Text) Source #

The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

segmentsResponse_item :: Lens' SegmentsResponse [SegmentResponse] Source #

An array of responses, one for each segment that's associated with the application (Segments resource) or each version of a segment that's associated with the application (Segment Versions resource).