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

Contents

Description

Updates a receipt rule.

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

This action is throttled at one request per second.

Synopsis

Creating a Request

updateReceiptRule #

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 to which the receipt rule belongs.
  • urrRule - A data structure that contains the updated receipt rule information.

data UpdateReceiptRule #

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 # 
Data UpdateReceiptRule # 

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 # 
Show UpdateReceiptRule # 
Generic UpdateReceiptRule # 
Hashable UpdateReceiptRule # 
NFData UpdateReceiptRule # 

Methods

rnf :: UpdateReceiptRule -> () #

AWSRequest UpdateReceiptRule # 
ToQuery UpdateReceiptRule # 
ToPath UpdateReceiptRule # 
ToHeaders UpdateReceiptRule # 
type Rep UpdateReceiptRule # 
type Rep UpdateReceiptRule = D1 (MetaData "UpdateReceiptRule" "Network.AWS.SES.UpdateReceiptRule" "amazonka-ses-1.4.5-3falpmOnSQqGxdmHFkoFDA" 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 # 

Request Lenses

urrRuleSetName :: Lens' UpdateReceiptRule Text #

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

urrRule :: Lens' UpdateReceiptRule ReceiptRule #

A data structure that contains the updated receipt rule information.

Destructuring the Response

updateReceiptRuleResponse #

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 #

An empty element returned on a successful request.

See: updateReceiptRuleResponse smart constructor.

Instances

Eq UpdateReceiptRuleResponse # 
Data UpdateReceiptRuleResponse # 

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 # 
Show UpdateReceiptRuleResponse # 
Generic UpdateReceiptRuleResponse # 
NFData UpdateReceiptRuleResponse # 
type Rep UpdateReceiptRuleResponse # 
type Rep UpdateReceiptRuleResponse = D1 (MetaData "UpdateReceiptRuleResponse" "Network.AWS.SES.UpdateReceiptRule" "amazonka-ses-1.4.5-3falpmOnSQqGxdmHFkoFDA" True) (C1 (MetaCons "UpdateReceiptRuleResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_urrrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses

urrrsResponseStatus :: Lens' UpdateReceiptRuleResponse Int #

  • - | The response status code.