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

AWSRequest GetSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.GetSegment

Associated Types

type AWSResponse GetSegment #

Generic GetSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.GetSegment

Associated Types

type Rep GetSegment :: Type -> Type #

Read GetSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.GetSegment

Show GetSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.GetSegment

NFData GetSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.GetSegment

Methods

rnf :: GetSegment -> () #

Eq GetSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.GetSegment

Hashable GetSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.GetSegment

type AWSResponse 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" "amazonka-pinpoint-2.0-GBFs9S7wa7bFiDe66NqAzt" 'False) (C1 ('MetaCons "GetSegment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "segmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

GetSegment, getSegment_segmentId - The unique identifier for the segment.

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
Generic GetSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.GetSegment

Associated Types

type Rep GetSegmentResponse :: Type -> Type #

Read GetSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.GetSegment

Show GetSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.GetSegment

NFData GetSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.GetSegment

Methods

rnf :: GetSegmentResponse -> () #

Eq GetSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.GetSegment

type Rep GetSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.GetSegment

type Rep GetSegmentResponse = D1 ('MetaData "GetSegmentResponse" "Amazonka.Pinpoint.GetSegment" "amazonka-pinpoint-2.0-GBFs9S7wa7bFiDe66NqAzt" '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