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

Contents

Description

Returns information about your campaigns.

Synopsis

Creating a Request

getCampaigns Source #

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

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

data GetCampaigns Source #

See: getCampaigns smart constructor.

Instances

Eq GetCampaigns Source # 
Data GetCampaigns Source # 

Methods

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

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

toConstr :: GetCampaigns -> Constr #

dataTypeOf :: GetCampaigns -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetCampaigns Source # 
Show GetCampaigns Source # 
Generic GetCampaigns Source # 

Associated Types

type Rep GetCampaigns :: * -> * #

Hashable GetCampaigns Source # 
NFData GetCampaigns Source # 

Methods

rnf :: GetCampaigns -> () #

AWSRequest GetCampaigns Source # 
ToPath GetCampaigns Source # 
ToHeaders GetCampaigns Source # 
ToQuery GetCampaigns Source # 
type Rep GetCampaigns Source # 
type Rep GetCampaigns = D1 (MetaData "GetCampaigns" "Network.AWS.Pinpoint.GetCampaigns" "amazonka-pinpoint-1.4.5-HRFryQyBdxcJKvn2qKzTo3" False) (C1 (MetaCons "GetCampaigns'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gcsToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_gcsPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gcsApplicationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs GetCampaigns Source # 

Request Lenses

gcsToken :: Lens' GetCampaigns (Maybe Text) Source #

Undocumented member.

gcsPageSize :: Lens' GetCampaigns (Maybe Text) Source #

Undocumented member.

Destructuring the Response

getCampaignsResponse Source #

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

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

data GetCampaignsResponse Source #

See: getCampaignsResponse smart constructor.

Instances

Eq GetCampaignsResponse Source # 
Data GetCampaignsResponse Source # 

Methods

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

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

toConstr :: GetCampaignsResponse -> Constr #

dataTypeOf :: GetCampaignsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetCampaignsResponse Source # 
Show GetCampaignsResponse Source # 
Generic GetCampaignsResponse Source # 
NFData GetCampaignsResponse Source # 

Methods

rnf :: GetCampaignsResponse -> () #

type Rep GetCampaignsResponse Source # 
type Rep GetCampaignsResponse = D1 (MetaData "GetCampaignsResponse" "Network.AWS.Pinpoint.GetCampaigns" "amazonka-pinpoint-1.4.5-HRFryQyBdxcJKvn2qKzTo3" False) (C1 (MetaCons "GetCampaignsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gcsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_gcsrsCampaignsResponse") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CampaignsResponse))))

Response Lenses

gcsrsResponseStatus :: Lens' GetCampaignsResponse Int Source #

  • - | The response status code.