amazonka-ses-1.5.0: Amazon Simple Email Service 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.SES.GetTemplate

Contents

Description

Displays the template object (which includes the Subject line, HTML part and text part) for the template you specify.

You can execute this operation no more than once per second.

Synopsis

Creating a Request

getTemplate Source #

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

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

data GetTemplate Source #

See: getTemplate smart constructor.

Instances

Eq GetTemplate Source # 
Data GetTemplate Source # 

Methods

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

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

toConstr :: GetTemplate -> Constr #

dataTypeOf :: GetTemplate -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetTemplate Source # 
Show GetTemplate Source # 
Generic GetTemplate Source # 

Associated Types

type Rep GetTemplate :: * -> * #

Hashable GetTemplate Source # 
NFData GetTemplate Source # 

Methods

rnf :: GetTemplate -> () #

AWSRequest GetTemplate Source # 
ToQuery GetTemplate Source # 
ToPath GetTemplate Source # 
ToHeaders GetTemplate Source # 

Methods

toHeaders :: GetTemplate -> [Header] #

type Rep GetTemplate Source # 
type Rep GetTemplate = D1 (MetaData "GetTemplate" "Network.AWS.SES.GetTemplate" "amazonka-ses-1.5.0-IX6fk8AIUZF8NF0Dlao5KP" True) (C1 (MetaCons "GetTemplate'" PrefixI True) (S1 (MetaSel (Just Symbol "_gtTemplateName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetTemplate Source # 

Request Lenses

gtTemplateName :: Lens' GetTemplate Text Source #

The name of the template you want to retrieve.

Destructuring the Response

getTemplateResponse Source #

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

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

data GetTemplateResponse Source #

See: getTemplateResponse smart constructor.

Instances

Eq GetTemplateResponse Source # 
Data GetTemplateResponse Source # 

Methods

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

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

toConstr :: GetTemplateResponse -> Constr #

dataTypeOf :: GetTemplateResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetTemplateResponse Source # 
Show GetTemplateResponse Source # 
Generic GetTemplateResponse Source # 
NFData GetTemplateResponse Source # 

Methods

rnf :: GetTemplateResponse -> () #

type Rep GetTemplateResponse Source # 
type Rep GetTemplateResponse = D1 (MetaData "GetTemplateResponse" "Network.AWS.SES.GetTemplate" "amazonka-ses-1.5.0-IX6fk8AIUZF8NF0Dlao5KP" False) (C1 (MetaCons "GetTemplateResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gtrsTemplate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Template))) (S1 (MetaSel (Just Symbol "_gtrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

gtrsResponseStatus :: Lens' GetTemplateResponse Int Source #

  • - | The response status code.