amazonka-pinpoint-1.6.0: 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 # 
Data UpdateSegment Source # 

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

Associated Types

type Rep UpdateSegment :: * -> * #

Hashable UpdateSegment Source # 
ToJSON UpdateSegment Source # 
NFData UpdateSegment Source # 

Methods

rnf :: UpdateSegment -> () #

AWSRequest UpdateSegment Source # 
ToHeaders UpdateSegment Source # 
ToPath UpdateSegment Source # 
ToQuery UpdateSegment Source # 
type Rep UpdateSegment Source # 
type Rep UpdateSegment = D1 * (MetaData "UpdateSegment" "Network.AWS.Pinpoint.UpdateSegment" "amazonka-pinpoint-1.6.0-7oUik9Pbw4H6Ztde19v7pU" False) (C1 * (MetaCons "UpdateSegment'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_usSegmentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) ((:*:) * (S1 * (MetaSel (Just Symbol "_usApplicationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_usWriteSegmentRequest") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * WriteSegmentRequest)))))
type Rs UpdateSegment Source # 

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 # 
Data UpdateSegmentResponse Source # 

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 # 
Show UpdateSegmentResponse Source # 
Generic UpdateSegmentResponse Source # 
NFData UpdateSegmentResponse Source # 

Methods

rnf :: UpdateSegmentResponse -> () #

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

Response Lenses

usrsResponseStatus :: Lens' UpdateSegmentResponse Int Source #

  • - | The response status code.