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

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 UpdateSegment Source #

See: newUpdateSegment smart constructor.

Constructors

UpdateSegment' 

Fields

Instances

Instances details
Eq UpdateSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateSegment

Read UpdateSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateSegment

Show UpdateSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateSegment

Generic UpdateSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateSegment

Associated Types

type Rep UpdateSegment :: Type -> Type #

NFData UpdateSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateSegment

Methods

rnf :: UpdateSegment -> () #

Hashable UpdateSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateSegment

ToJSON UpdateSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateSegment

AWSRequest UpdateSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateSegment

Associated Types

type AWSResponse UpdateSegment #

ToHeaders UpdateSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateSegment

ToPath UpdateSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateSegment

ToQuery UpdateSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateSegment

type Rep UpdateSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateSegment

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

Defined in Amazonka.Pinpoint.UpdateSegment

newUpdateSegment Source #

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

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

$sel:writeSegmentRequest:UpdateSegment', updateSegment_writeSegmentRequest - Undocumented member.

Request Lenses

updateSegment_segmentId :: Lens' UpdateSegment Text Source #

The unique identifier for the segment.

updateSegment_applicationId :: Lens' UpdateSegment 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 UpdateSegmentResponse Source #

See: newUpdateSegmentResponse smart constructor.

Constructors

UpdateSegmentResponse' 

Fields

Instances

Instances details
Eq UpdateSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateSegment

Read UpdateSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateSegment

Show UpdateSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateSegment

Generic UpdateSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateSegment

Associated Types

type Rep UpdateSegmentResponse :: Type -> Type #

NFData UpdateSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateSegment

Methods

rnf :: UpdateSegmentResponse -> () #

type Rep UpdateSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateSegment

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

newUpdateSegmentResponse Source #

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

$sel:segmentResponse:UpdateSegmentResponse', updateSegmentResponse_segmentResponse - Undocumented member.

Response Lenses