amazonka-pinpoint-1.5.0: Amazon Pinpoint SDK.

Copyright(c) 2013-2017 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.GetCampaign

Contents

Description

Returns information about a campaign.

Synopsis

Creating a Request

getCampaign Source #

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

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

data GetCampaign Source #

See: getCampaign smart constructor.

Instances

Eq GetCampaign Source # 
Data GetCampaign Source # 

Methods

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

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

toConstr :: GetCampaign -> Constr #

dataTypeOf :: GetCampaign -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetCampaign Source # 
Show GetCampaign Source # 
Generic GetCampaign Source # 

Associated Types

type Rep GetCampaign :: * -> * #

Hashable GetCampaign Source # 
NFData GetCampaign Source # 

Methods

rnf :: GetCampaign -> () #

AWSRequest GetCampaign Source # 
ToQuery GetCampaign Source # 
ToPath GetCampaign Source # 
ToHeaders GetCampaign Source # 

Methods

toHeaders :: GetCampaign -> [Header] #

type Rep GetCampaign Source # 
type Rep GetCampaign = D1 (MetaData "GetCampaign" "Network.AWS.Pinpoint.GetCampaign" "amazonka-pinpoint-1.5.0-JLpgkZ2NlnfGDtlP1u3vKU" False) (C1 (MetaCons "GetCampaign'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_getCampaignId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_getApplicationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs GetCampaign Source # 

Request Lenses

getCampaignId :: Lens' GetCampaign Text Source #

Undocumented member.

Destructuring the Response

getCampaignResponse Source #

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

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

data GetCampaignResponse Source #

See: getCampaignResponse smart constructor.

Instances

Eq GetCampaignResponse Source # 
Data GetCampaignResponse Source # 

Methods

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

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

toConstr :: GetCampaignResponse -> Constr #

dataTypeOf :: GetCampaignResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetCampaignResponse Source # 
Show GetCampaignResponse Source # 
Generic GetCampaignResponse Source # 
NFData GetCampaignResponse Source # 

Methods

rnf :: GetCampaignResponse -> () #

type Rep GetCampaignResponse Source # 
type Rep GetCampaignResponse = D1 (MetaData "GetCampaignResponse" "Network.AWS.Pinpoint.GetCampaign" "amazonka-pinpoint-1.5.0-JLpgkZ2NlnfGDtlP1u3vKU" False) (C1 (MetaCons "GetCampaignResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_gcrsCampaignResponse") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CampaignResponse))))

Response Lenses

gcrsResponseStatus :: Lens' GetCampaignResponse Int Source #

  • - | The response status code.