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

Contents

Description

Creates or updates a campaign.

Synopsis

Creating a Request

createCampaign Source #

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

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

data CreateCampaign Source #

See: createCampaign smart constructor.

Instances
Eq CreateCampaign Source # 
Instance details

Defined in Network.AWS.Pinpoint.CreateCampaign

Data CreateCampaign Source # 
Instance details

Defined in Network.AWS.Pinpoint.CreateCampaign

Methods

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

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

toConstr :: CreateCampaign -> Constr #

dataTypeOf :: CreateCampaign -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateCampaign Source # 
Instance details

Defined in Network.AWS.Pinpoint.CreateCampaign

Show CreateCampaign Source # 
Instance details

Defined in Network.AWS.Pinpoint.CreateCampaign

Generic CreateCampaign Source # 
Instance details

Defined in Network.AWS.Pinpoint.CreateCampaign

Associated Types

type Rep CreateCampaign :: Type -> Type #

Hashable CreateCampaign Source # 
Instance details

Defined in Network.AWS.Pinpoint.CreateCampaign

ToJSON CreateCampaign Source # 
Instance details

Defined in Network.AWS.Pinpoint.CreateCampaign

AWSRequest CreateCampaign Source # 
Instance details

Defined in Network.AWS.Pinpoint.CreateCampaign

Associated Types

type Rs CreateCampaign :: Type #

ToHeaders CreateCampaign Source # 
Instance details

Defined in Network.AWS.Pinpoint.CreateCampaign

ToPath CreateCampaign Source # 
Instance details

Defined in Network.AWS.Pinpoint.CreateCampaign

ToQuery CreateCampaign Source # 
Instance details

Defined in Network.AWS.Pinpoint.CreateCampaign

NFData CreateCampaign Source # 
Instance details

Defined in Network.AWS.Pinpoint.CreateCampaign

Methods

rnf :: CreateCampaign -> () #

type Rep CreateCampaign Source # 
Instance details

Defined in Network.AWS.Pinpoint.CreateCampaign

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

Defined in Network.AWS.Pinpoint.CreateCampaign

Request Lenses

Destructuring the Response

createCampaignResponse Source #

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

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

data CreateCampaignResponse Source #

See: createCampaignResponse smart constructor.

Instances
Eq CreateCampaignResponse Source # 
Instance details

Defined in Network.AWS.Pinpoint.CreateCampaign

Data CreateCampaignResponse Source # 
Instance details

Defined in Network.AWS.Pinpoint.CreateCampaign

Methods

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

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

toConstr :: CreateCampaignResponse -> Constr #

dataTypeOf :: CreateCampaignResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateCampaignResponse Source # 
Instance details

Defined in Network.AWS.Pinpoint.CreateCampaign

Show CreateCampaignResponse Source # 
Instance details

Defined in Network.AWS.Pinpoint.CreateCampaign

Generic CreateCampaignResponse Source # 
Instance details

Defined in Network.AWS.Pinpoint.CreateCampaign

Associated Types

type Rep CreateCampaignResponse :: Type -> Type #

NFData CreateCampaignResponse Source # 
Instance details

Defined in Network.AWS.Pinpoint.CreateCampaign

Methods

rnf :: CreateCampaignResponse -> () #

type Rep CreateCampaignResponse Source # 
Instance details

Defined in Network.AWS.Pinpoint.CreateCampaign

type Rep CreateCampaignResponse = D1 (MetaData "CreateCampaignResponse" "Network.AWS.Pinpoint.CreateCampaign" "amazonka-pinpoint-1.6.1-4ftRHSGuITY77Rh0OQCFbU" False) (C1 (MetaCons "CreateCampaignResponse'" PrefixI True) (S1 (MetaSel (Just "_ccrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_ccrsCampaignResponse") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CampaignResponse)))

Response Lenses

ccrsResponseStatus :: Lens' CreateCampaignResponse Int Source #

  • - | The response status code.