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

Description

Retrieves information about the configuration, dimension, and other settings for a specific segment that's associated with an application.

Synopsis

Creating a Request

data GetSegment Source #

See: newGetSegment smart constructor.

Constructors

GetSegment' 

Fields

  • segmentId :: Text

    The unique identifier for the segment.

  • applicationId :: Text

    The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

Instances

Instances details
Eq GetSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.GetSegment

Read GetSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.GetSegment

Show GetSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.GetSegment

Generic GetSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.GetSegment

Associated Types

type Rep GetSegment :: Type -> Type #

NFData GetSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.GetSegment

Methods

rnf :: GetSegment -> () #

Hashable GetSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.GetSegment

AWSRequest GetSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.GetSegment

Associated Types

type AWSResponse GetSegment #

ToHeaders GetSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.GetSegment

Methods

toHeaders :: GetSegment -> [Header] #

ToPath GetSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.GetSegment

ToQuery GetSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.GetSegment

type Rep GetSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.GetSegment

type Rep GetSegment = D1 ('MetaData "GetSegment" "Amazonka.Pinpoint.GetSegment" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "GetSegment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "segmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.GetSegment

newGetSegment Source #

Create a value of GetSegment 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:GetSegment', getSegment_segmentId - The unique identifier for the segment.

$sel:applicationId:GetSegment', getSegment_applicationId - The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

Request Lenses

getSegment_segmentId :: Lens' GetSegment Text Source #

The unique identifier for the segment.

getSegment_applicationId :: Lens' GetSegment Text Source #

The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

Destructuring the Response

data GetSegmentResponse Source #

See: newGetSegmentResponse smart constructor.

Constructors

GetSegmentResponse' 

Fields

Instances

Instances details
Eq GetSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.GetSegment

Read GetSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.GetSegment

Show GetSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.GetSegment

Generic GetSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.GetSegment

Associated Types

type Rep GetSegmentResponse :: Type -> Type #

NFData GetSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.GetSegment

Methods

rnf :: GetSegmentResponse -> () #

type Rep GetSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.GetSegment

type Rep GetSegmentResponse = D1 ('MetaData "GetSegmentResponse" "Amazonka.Pinpoint.GetSegment" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "GetSegmentResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "segmentResponse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SegmentResponse)))

newGetSegmentResponse Source #

Create a value of GetSegmentResponse 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:httpStatus:GetSegmentResponse', getSegmentResponse_httpStatus - The response's http status code.

$sel:segmentResponse:GetSegmentResponse', getSegmentResponse_segmentResponse - Undocumented member.

Response Lenses