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

Contents

Description

Updates a receipt rule.

For information about managing receipt rules, see the Amazon SES Developer Guide .

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

Synopsis

Creating a Request

updateReceiptRule Source #

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

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

  • urrRuleSetName - The name of the receipt rule set that the receipt rule belongs to.
  • urrRule - A data structure that contains the updated receipt rule information.

data UpdateReceiptRule Source #

Represents a request to update a receipt rule. You use receipt rules to receive email with Amazon SES. For more information, see the Amazon SES Developer Guide .

See: updateReceiptRule smart constructor.

Instances

Eq UpdateReceiptRule Source # 
Data UpdateReceiptRule Source # 

Methods

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

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

toConstr :: UpdateReceiptRule -> Constr #

dataTypeOf :: UpdateReceiptRule -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateReceiptRule Source # 
Show UpdateReceiptRule Source # 
Generic UpdateReceiptRule Source # 
Hashable UpdateReceiptRule Source # 
NFData UpdateReceiptRule Source # 

Methods

rnf :: UpdateReceiptRule -> () #

AWSRequest UpdateReceiptRule Source # 
ToHeaders UpdateReceiptRule Source # 
ToPath UpdateReceiptRule Source # 
ToQuery UpdateReceiptRule Source # 
type Rep UpdateReceiptRule Source # 
type Rep UpdateReceiptRule = D1 * (MetaData "UpdateReceiptRule" "Network.AWS.SES.UpdateReceiptRule" "amazonka-ses-1.6.0-Gb8e1E6FgybCfuSzgoBDRc" False) (C1 * (MetaCons "UpdateReceiptRule'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_urrRuleSetName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_urrRule") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * ReceiptRule))))
type Rs UpdateReceiptRule Source # 

Request Lenses

urrRuleSetName :: Lens' UpdateReceiptRule Text Source #

The name of the receipt rule set that the receipt rule belongs to.

urrRule :: Lens' UpdateReceiptRule ReceiptRule Source #

A data structure that contains the updated receipt rule information.

Destructuring the Response

updateReceiptRuleResponse Source #

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

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

data UpdateReceiptRuleResponse Source #

An empty element returned on a successful request.

See: updateReceiptRuleResponse smart constructor.

Instances

Eq UpdateReceiptRuleResponse Source # 
Data UpdateReceiptRuleResponse Source # 

Methods

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

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

toConstr :: UpdateReceiptRuleResponse -> Constr #

dataTypeOf :: UpdateReceiptRuleResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateReceiptRuleResponse Source # 
Show UpdateReceiptRuleResponse Source # 
Generic UpdateReceiptRuleResponse Source # 
NFData UpdateReceiptRuleResponse Source # 
type Rep UpdateReceiptRuleResponse Source # 
type Rep UpdateReceiptRuleResponse = D1 * (MetaData "UpdateReceiptRuleResponse" "Network.AWS.SES.UpdateReceiptRule" "amazonka-ses-1.6.0-Gb8e1E6FgybCfuSzgoBDRc" True) (C1 * (MetaCons "UpdateReceiptRuleResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_urrrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses