amazonka-pinpoint-1.6.1: Amazon Pinpoint SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Pinpoint.UpdateSegment

Contents

Description

Use to update a segment.

Synopsis

Creating a Request

updateSegment Source #

Creates a value of UpdateSegment with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data UpdateSegment Source #

See: updateSegment smart constructor.

Instances
Eq UpdateSegment Source # 
Instance details

Defined in Network.AWS.Pinpoint.UpdateSegment

Data UpdateSegment Source # 
Instance details

Defined in Network.AWS.Pinpoint.UpdateSegment

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateSegment -> c UpdateSegment #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateSegment #

toConstr :: UpdateSegment -> Constr #

dataTypeOf :: UpdateSegment -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UpdateSegment) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateSegment) #

gmapT :: (forall b. Data b => b -> b) -> UpdateSegment -> UpdateSegment #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateSegment -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateSegment -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateSegment -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateSegment -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateSegment -> m UpdateSegment #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateSegment -> m UpdateSegment #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateSegment -> m UpdateSegment #

Read UpdateSegment Source # 
Instance details

Defined in Network.AWS.Pinpoint.UpdateSegment

Show UpdateSegment Source # 
Instance details

Defined in Network.AWS.Pinpoint.UpdateSegment

Generic UpdateSegment Source # 
Instance details

Defined in Network.AWS.Pinpoint.UpdateSegment

Associated Types

type Rep UpdateSegment :: Type -> Type #

Hashable UpdateSegment Source # 
Instance details

Defined in Network.AWS.Pinpoint.UpdateSegment

ToJSON UpdateSegment Source # 
Instance details

Defined in Network.AWS.Pinpoint.UpdateSegment

AWSRequest UpdateSegment Source # 
Instance details

Defined in Network.AWS.Pinpoint.UpdateSegment

Associated Types

type Rs UpdateSegment :: Type #

ToHeaders UpdateSegment Source # 
Instance details

Defined in Network.AWS.Pinpoint.UpdateSegment

ToPath UpdateSegment Source # 
Instance details

Defined in Network.AWS.Pinpoint.UpdateSegment

ToQuery UpdateSegment Source # 
Instance details

Defined in Network.AWS.Pinpoint.UpdateSegment

NFData UpdateSegment Source # 
Instance details

Defined in Network.AWS.Pinpoint.UpdateSegment

Methods

rnf :: UpdateSegment -> () #

type Rep UpdateSegment Source # 
Instance details

Defined in Network.AWS.Pinpoint.UpdateSegment

type Rep UpdateSegment = D1 (MetaData "UpdateSegment" "Network.AWS.Pinpoint.UpdateSegment" "amazonka-pinpoint-1.6.1-4ftRHSGuITY77Rh0OQCFbU" False) (C1 (MetaCons "UpdateSegment'" PrefixI True) (S1 (MetaSel (Just "_usSegmentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_usApplicationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_usWriteSegmentRequest") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 WriteSegmentRequest))))
type Rs UpdateSegment Source # 
Instance details

Defined in Network.AWS.Pinpoint.UpdateSegment

Request Lenses

usSegmentId :: Lens' UpdateSegment Text Source #

Undocumented member.

Destructuring the Response

updateSegmentResponse Source #

Creates a value of UpdateSegmentResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data UpdateSegmentResponse Source #

See: updateSegmentResponse smart constructor.

Instances
Eq UpdateSegmentResponse Source # 
Instance details

Defined in Network.AWS.Pinpoint.UpdateSegment

Data UpdateSegmentResponse Source # 
Instance details

Defined in Network.AWS.Pinpoint.UpdateSegment

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateSegmentResponse -> c UpdateSegmentResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateSegmentResponse #

toConstr :: UpdateSegmentResponse -> Constr #

dataTypeOf :: UpdateSegmentResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UpdateSegmentResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateSegmentResponse) #

gmapT :: (forall b. Data b => b -> b) -> UpdateSegmentResponse -> UpdateSegmentResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateSegmentResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateSegmentResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateSegmentResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateSegmentResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateSegmentResponse -> m UpdateSegmentResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateSegmentResponse -> m UpdateSegmentResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateSegmentResponse -> m UpdateSegmentResponse #

Read UpdateSegmentResponse Source # 
Instance details

Defined in Network.AWS.Pinpoint.UpdateSegment

Show UpdateSegmentResponse Source # 
Instance details

Defined in Network.AWS.Pinpoint.UpdateSegment

Generic UpdateSegmentResponse Source # 
Instance details

Defined in Network.AWS.Pinpoint.UpdateSegment

Associated Types

type Rep UpdateSegmentResponse :: Type -> Type #

NFData UpdateSegmentResponse Source # 
Instance details

Defined in Network.AWS.Pinpoint.UpdateSegment

Methods

rnf :: UpdateSegmentResponse -> () #

type Rep UpdateSegmentResponse Source # 
Instance details

Defined in Network.AWS.Pinpoint.UpdateSegment

type Rep UpdateSegmentResponse = D1 (MetaData "UpdateSegmentResponse" "Network.AWS.Pinpoint.UpdateSegment" "amazonka-pinpoint-1.6.1-4ftRHSGuITY77Rh0OQCFbU" False) (C1 (MetaCons "UpdateSegmentResponse'" PrefixI True) (S1 (MetaSel (Just "_usrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_usrsSegmentResponse") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SegmentResponse)))

Response Lenses

usrsResponseStatus :: Lens' UpdateSegmentResponse Int Source #

  • - | The response status code.