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

Description

Creates a new segment for an application or updates the configuration, dimension, and other settings for an existing segment that's associated with an application.

Synopsis

Creating a Request

data CreateSegment Source #

See: newCreateSegment smart constructor.

Constructors

CreateSegment' 

Fields

Instances

Instances details
Eq CreateSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateSegment

Read CreateSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateSegment

Show CreateSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateSegment

Generic CreateSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateSegment

Associated Types

type Rep CreateSegment :: Type -> Type #

NFData CreateSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateSegment

Methods

rnf :: CreateSegment -> () #

Hashable CreateSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateSegment

ToJSON CreateSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateSegment

AWSRequest CreateSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateSegment

Associated Types

type AWSResponse CreateSegment #

ToHeaders CreateSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateSegment

ToPath CreateSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateSegment

ToQuery CreateSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateSegment

type Rep CreateSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateSegment

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

Defined in Amazonka.Pinpoint.CreateSegment

newCreateSegment Source #

Create a value of CreateSegment 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:applicationId:CreateSegment', createSegment_applicationId - The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

$sel:writeSegmentRequest:CreateSegment', createSegment_writeSegmentRequest - Undocumented member.

Request Lenses

createSegment_applicationId :: Lens' CreateSegment 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 CreateSegmentResponse Source #

See: newCreateSegmentResponse smart constructor.

Constructors

CreateSegmentResponse' 

Fields

Instances

Instances details
Eq CreateSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateSegment

Read CreateSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateSegment

Show CreateSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateSegment

Generic CreateSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateSegment

Associated Types

type Rep CreateSegmentResponse :: Type -> Type #

NFData CreateSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateSegment

Methods

rnf :: CreateSegmentResponse -> () #

type Rep CreateSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateSegment

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

newCreateSegmentResponse Source #

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

$sel:segmentResponse:CreateSegmentResponse', createSegmentResponse_segmentResponse - Undocumented member.

Response Lenses