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.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
ToJSON UpdateSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.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

AWSRequest UpdateSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateSegment

Associated Types

type AWSResponse UpdateSegment #

Generic UpdateSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateSegment

Associated Types

type Rep UpdateSegment :: Type -> Type #

Read UpdateSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateSegment

Show UpdateSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateSegment

NFData UpdateSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateSegment

Methods

rnf :: UpdateSegment -> () #

Eq UpdateSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateSegment

Hashable UpdateSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateSegment

type AWSResponse 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" "amazonka-pinpoint-2.0-GBFs9S7wa7bFiDe66NqAzt" '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))))

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:

UpdateSegment, updateSegment_segmentId - The unique identifier for the segment.

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

Defined in Amazonka.Pinpoint.UpdateSegment

Associated Types

type Rep UpdateSegmentResponse :: Type -> Type #

Read UpdateSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateSegment

Show UpdateSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateSegment

NFData UpdateSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateSegment

Methods

rnf :: UpdateSegmentResponse -> () #

Eq UpdateSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateSegment

type Rep UpdateSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateSegment

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