amazonka-pinpoint-1.4.5: Amazon Pinpoint SDK.

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

Network.AWS.Pinpoint.GetSegment

Contents

Description

Returns information about a segment.

Synopsis

Creating a Request

getSegment Source #

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

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

data GetSegment Source #

See: getSegment smart constructor.

Instances

Eq GetSegment Source # 
Data GetSegment Source # 

Methods

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

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

toConstr :: GetSegment -> Constr #

dataTypeOf :: GetSegment -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetSegment Source # 
Show GetSegment Source # 
Generic GetSegment Source # 

Associated Types

type Rep GetSegment :: * -> * #

Hashable GetSegment Source # 
NFData GetSegment Source # 

Methods

rnf :: GetSegment -> () #

AWSRequest GetSegment Source # 
ToPath GetSegment Source # 
ToHeaders GetSegment Source # 

Methods

toHeaders :: GetSegment -> [Header] #

ToQuery GetSegment Source # 
type Rep GetSegment Source # 
type Rep GetSegment = D1 (MetaData "GetSegment" "Network.AWS.Pinpoint.GetSegment" "amazonka-pinpoint-1.4.5-HRFryQyBdxcJKvn2qKzTo3" False) (C1 (MetaCons "GetSegment'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gsSegmentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_gsApplicationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs GetSegment Source # 

Request Lenses

gsSegmentId :: Lens' GetSegment Text Source #

Undocumented member.

gsApplicationId :: Lens' GetSegment Text Source #

Undocumented member.

Destructuring the Response

getSegmentResponse Source #

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

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

data GetSegmentResponse Source #

See: getSegmentResponse smart constructor.

Instances

Eq GetSegmentResponse Source # 
Data GetSegmentResponse Source # 

Methods

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

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

toConstr :: GetSegmentResponse -> Constr #

dataTypeOf :: GetSegmentResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetSegmentResponse Source # 
Show GetSegmentResponse Source # 
Generic GetSegmentResponse Source # 
NFData GetSegmentResponse Source # 

Methods

rnf :: GetSegmentResponse -> () #

type Rep GetSegmentResponse Source # 
type Rep GetSegmentResponse = D1 (MetaData "GetSegmentResponse" "Network.AWS.Pinpoint.GetSegment" "amazonka-pinpoint-1.4.5-HRFryQyBdxcJKvn2qKzTo3" False) (C1 (MetaCons "GetSegmentResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_getrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_getrsSegmentResponse") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SegmentResponse))))

Response Lenses

getrsResponseStatus :: Lens' GetSegmentResponse Int Source #

  • - | The response status code.